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

Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. Caution This resource is intended for use only by third-party partners who are creating Cloud Marketplace images.


  • creationTimestamp (type: String.t, default: nil) - [Output Only] Creation timestamp in RFC3339 text format.
  • description (type: String.t, default: nil) - [Output Only] Description of this License Code.
  • 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#licenseCode) - [Output Only] Type of resource. Always compute#licenseCode for licenses.
  • licenseAlias (type: list(GoogleApi.Compute.V1.Model.LicenseCodeLicenseAlias.t), default: nil) - [Output Only] URL and description aliases of Licenses with the same License Code.
  • name (type: String.t, default: nil) - [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.
  • selfLink (type: String.t, default: nil) - [Output Only] Server-defined URL for the resource.
  • state (type: String.t, default: nil) - [Output Only] Current state of this License Code.
  • transferable (type: boolean(), default: nil) - [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Compute.V1.Model.LicenseCode{
  creationTimestamp: String.t() | nil,
  description: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  licenseAlias: [GoogleApi.Compute.V1.Model.LicenseCodeLicenseAlias.t()] | nil,
  name: String.t() | nil,
  selfLink: String.t() | nil,
  state: String.t() | nil,
  transferable: boolean() | nil

Link to this section Functions


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

Unwrap a decoded JSON object into its complex fields.