A metadata key/value entry.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#fingerprint
def fingerprint() -> ::String
Returns
- (::String) — Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
#fingerprint=
def fingerprint=(value) -> ::String
Parameter
- value (::String) — Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
Returns
- (::String) — Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource.
#items
def items() -> ::Array<::Google::Cloud::Compute::V1::Items>
Returns
- (::Array<::Google::Cloud::Compute::V1::Items>) — Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
#items=
def items=(value) -> ::Array<::Google::Cloud::Compute::V1::Items>
Parameter
- value (::Array<::Google::Cloud::Compute::V1::Items>) — Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
Returns
- (::Array<::Google::Cloud::Compute::V1::Items>) — Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
#kind
def kind() -> ::String
Returns
- (::String) — [Output Only] Type of the resource. Always compute#metadata for metadata.
#kind=
def kind=(value) -> ::String
Parameter
- value (::String) — [Output Only] Type of the resource. Always compute#metadata for metadata.
Returns
- (::String) — [Output Only] Type of the resource. Always compute#metadata for metadata.