GoogleApi.Compute.V1.Model.License (google_api_compute v0.41.0) View Source

Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.


  • chargesUseFee (type: boolean(), default: nil) - [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.
  • creationTimestamp (type: String.t, default: nil) - [Output Only] Creation timestamp in RFC3339 text format.
  • description (type: String.t, default: nil) - An optional textual description of the resource; provided by the client when the resource is created.
  • id (type: String.t, default: nil) - [Output Only] The unique identifier for the resource. This identifier is defined by the server.
  • kind (type: String.t, default: compute#license) - [Output Only] Type of resource. Always compute#license for licenses.
  • licenseCode (type: String.t, default: nil) - [Output Only] The unique code used to attach this license to images, snapshots, and disks.
  • name (type: String.t, default: nil) - Name of the resource. The name must be 1-63 characters long and comply with RFC1035.
  • resourceRequirements (type: GoogleApi.Compute.V1.Model.LicenseResourceRequirements.t, default: nil) -
  • selfLink (type: String.t, default: nil) - [Output Only] Server-defined URL for the resource.
  • transferable (type: boolean(), default: nil) - If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Compute.V1.Model.License{
  chargesUseFee: boolean() | nil,
  creationTimestamp: String.t() | nil,
  description: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  licenseCode: String.t() | nil,
  name: String.t() | nil,
    GoogleApi.Compute.V1.Model.LicenseResourceRequirements.t() | nil,
  selfLink: String.t() | nil,
  transferable: boolean() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.