class

GoogleCloudStorage::HmacKeyMetadata

Inherits OpenApi::Json < OpenApi::Validatable < JSON::Serializable::Unmapped < JSON::Serializable < Reference < Object

JSON template to produce a JSON-style HMAC Key metadata resource.

Constructors

new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

==(other : self)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

access_id

The ID of the HMAC Key.

Source
access_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] access_id Object to be assigned

Source
etag

HTTP 1.1 Entity tag for the HMAC key.

Source
etag=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] etag Object to be assigned

Source
hash(hasher)

Generates #hash and #== methods from all fields #== @return [Bool] #hash calculates hash code according to all attributes. #hash @return [UInt64] Hash code

id

The ID of the HMAC key, including the Project ID and the Access ID.

Source
id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] id Object to be assigned

Source
kind

The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.

Source
kind=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] kind Object to be assigned

Source
list_invalid_properties

Show invalid properties with the reasons. Usually used together with valid? @return Array for valid properties with the reasons

Source
project_id

Project ID owning the service account to which the key authenticates.

Source
project_id=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] project_id Object to be assigned

Source
service_account_email

The email address of the key's associated service account.

Source
service_account_email=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] service_account_email Object to be assigned

Source
state

The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.

Source
state=(new_value : String | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] state Object to be assigned

Source
time_created

The creation time of the HMAC key in RFC 3339 format.

Source
time_created=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] time_created Object to be assigned

Source
updated

The last modification time of the HMAC key metadata in RFC 3339 format.

Source
updated=(new_value : Time | Nil)

Custom attribute writer method checking allowed values (enum). @param [Object] updated Object to be assigned

Source
valid?

Check to see if the all the properties in the model are valid @return true if the model is valid

Source