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

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



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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.



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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.



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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.



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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.



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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.



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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.



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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

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



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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.



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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.



12931
12932
12933
12934
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 12931

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