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.

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.



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  end
end

#description::String

Returns [Output Only] Description of this License Code.

Returns:

  • (::String)

    [Output Only] Description of this License Code.



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  end
end

#id::Integer

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

Returns:

  • (::Integer)

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



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  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.



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  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:



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  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.



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  end
end

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

Returns:

  • (::String)

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



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  end
end

#state::String

Returns [Output Only] Current state of this License Code. Check the State enum for the list of possible values.

Returns:

  • (::String)

    [Output Only] Current state of this License Code. Check the State enum for the list of possible values.



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  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.



16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 16919

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

    # Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected.
    DISABLED = 516_696_700

    # Use is allowed for anyone with USE_READ_ONLY access to this License Code.
    ENABLED = 182_130_465

    # Use of this license is limited to a project whitelist.
    RESTRICTED = 261_551_195

    STATE_UNSPECIFIED = 470_755_401

    # Reserved state.
    TERMINATED = 250_018_339
  end
end