Class: Google::Cloud::Compute::V1::LicenseCode

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/compute/v1/compute.rb

Overview

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. (== resource_for {$api_version}.licenseCodes ==)

Defined Under Namespace

Modules: State

Instance Attribute Summary collapse

Instance Attribute Details

#creation_timestamp::String

Returns [Output Only] Creation timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end

#description::String

Returns [Output Only] Description of this License Code.

Returns:

  • (::String)

    [Output Only] Description of this License Code.



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end

#id::String

Returns [Output Only] The unique identifier for the resource. This identifier is defined by the server.

Returns:

  • (::String)

    [Output Only] The unique identifier for the resource. This identifier is defined by the server.



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end

#kind::String

Returns [Output Only] Type of resource. Always compute#licenseCode for licenses.

Returns:

  • (::String)

    [Output Only] Type of resource. Always compute#licenseCode for licenses.



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end

#license_alias::Array<::Google::Cloud::Compute::V1::LicenseCodeLicenseAlias>

Returns [Output Only] URL and description aliases of Licenses with the same License Code.

Returns:



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end

#name::String

Returns [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.

Returns:

  • (::String)

    [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer.



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end

Returns [Output Only] Server-defined URL for the resource.

Returns:

  • (::String)

    [Output Only] Server-defined URL for the resource.



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end

#state::Google::Cloud::Compute::V1::LicenseCode::State

Returns [Output Only] Current state of this License Code.

Returns:



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end

#transferable::Boolean

Returns [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.

Returns:

  • (::Boolean)

    [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred.



7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 7842

class LicenseCode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # [Output Only] Current state of this License Code.
  module State
    # A value indicating that the enum field is not set.
    UNDEFINED_STATE = 0

    DISABLED = 516696700

    ENABLED = 182130465

    RESTRICTED = 261551195

    STATE_UNSPECIFIED = 470755401

    TERMINATED = 250018339
  end
end