Class: Google::Cloud::Compute::V1::License

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 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.

Instance Attribute Summary collapse

Instance Attribute Details

#allowed_replacement_licenses::Array<::String>

Returns Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false.

Returns:

  • (::Array<::String>)

    Specifies licenseCodes of licenses that can replace this license. Note: such replacements are allowed even if removable_from_disk is false.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#appendable_to_disk::Boolean

Returns If true, this license can be appended to an existing disk's set of licenses.

Returns:

  • (::Boolean)

    If true, this license can be appended to an existing disk's set of licenses.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#charges_use_fee::Boolean

Returns [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.

Returns:

  • (::Boolean)

    [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#creation_timestamp::String

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

Returns:

  • (::String)

    [Output Only] Creation timestamp in RFC3339 text format.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#description::String

Returns An optional textual description of the resource; provided by the client when the resource is created.

Returns:

  • (::String)

    An optional textual description of the resource; provided by the client when the resource is created.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
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.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#incompatible_licenses::Array<::String>

Returns Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image.

Returns:

  • (::Array<::String>)

    Specifies licenseCodes of licenses that are incompatible with this license. If a license is incompatible with this license, it cannot be attached to the same disk or image.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#kind::String

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

Returns:

  • (::String)

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



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#license_code::Integer

Returns [Output Only] The unique code used to attach this license to images, snapshots, and disks.

Returns:

  • (::Integer)

    [Output Only] The unique code used to attach this license to images, snapshots, and disks.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#minimum_retention::Google::Cloud::Compute::V1::Duration

Returns If set, this license will be unable to be removed or replaced once attached to a disk until the minimum_retention period has passed.

Returns:



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#multi_tenant_only::Boolean

Returns If true, this license can only be used on VMs on multi tenant nodes.

Returns:

  • (::Boolean)

    If true, this license can only be used on VMs on multi tenant nodes.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#name::String

Returns Name of the resource. The name must be 1-63 characters long and comply with RFC1035.

Returns:

  • (::String)

    Name of the resource. The name must be 1-63 characters long and comply with RFC1035.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#os_license::Boolean

Returns If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time.

Returns:

  • (::Boolean)

    If true, indicates this is an OS license. Only one OS license can be attached to a disk or image at a time.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#removable_from_disk::Boolean

Returns If true, this license can be removed from a disk's set of licenses, with no replacement license needed.

Returns:

  • (::Boolean)

    If true, this license can be removed from a disk's set of licenses, with no replacement license needed.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#required_coattached_licenses::Array<::String>

Returns Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license.

Returns:

  • (::Array<::String>)

    Specifies the set of permissible coattached licenseCodes of licenses that satisfy the coattachment requirement of this license. At least one license from the set must be attached to the same disk or image as this license.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#resource_requirements::Google::Cloud::Compute::V1::LicenseResourceRequirements

Returns [Input Only] Deprecated.

Returns:



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

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

Returns:

  • (::String)

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



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

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

Returns:

  • (::String)

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



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#sole_tenant_only::Boolean

Returns If true, this license can only be used on VMs on sole tenant nodes.

Returns:

  • (::Boolean)

    If true, this license can only be used on VMs on sole tenant nodes.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#transferable::Boolean

Returns 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.

Returns:

  • (::Boolean)

    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.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#update_timestamp::String

Returns [Output Only] Last update timestamp in RFC3339 text format.

Returns:

  • (::String)

    [Output Only] Last update timestamp in RFC3339 text format.



18700
18701
18702
18703
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 18700

class License
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end