Google Cloud Compute V1 API - Class Google::Cloud::Compute::V1::Tags (v1.8.0)

Reference documentation and code samples for the Google Cloud Compute V1 API class Google::Cloud::Compute::V1::Tags.

A set of instance tags.

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 tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.

#fingerprint=

def fingerprint=(value) -> ::String
Parameter
  • value (::String) — Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.
Returns
  • (::String) — Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance.

#items

def items() -> ::Array<::String>
Returns
  • (::Array<::String>) — An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.

#items=

def items=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.
Returns
  • (::Array<::String>) — An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035.