class Google::Apis::ClouduseraccountsBeta::PublicKey

A public key for authenticating to guests.

Attributes

creation_timestamp[RW]
Output Only

Creation timestamp in RFC3339 text format.

Corresponds to the JSON property `creationTimestamp` @return [String]

description[RW]

An optional textual description of the resource; provided by the client when the resource is created. Corresponds to the JSON property `description` @return [String]

expiration_timestamp[RW]

Optional expiration timestamp. If provided, the timestamp must be in RFC3339 text format. If not provided, the public key never expires. Corresponds to the JSON property `expirationTimestamp` @return [String]

fingerprint[RW]
Output Only

The fingerprint of the key is defined by RFC4716 to be the MD5

digest of the public key. Corresponds to the JSON property `fingerprint` @return [String]

key[RW]

Public key text in SSH format, defined by RFC4253 section 6.6. Corresponds to the JSON property `key` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/clouduseraccounts_beta/classes.rb, line 715
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/clouduseraccounts_beta/classes.rb, line 720
def update!(**args)
  @creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
  @description = args[:description] if args.key?(:description)
  @expiration_timestamp = args[:expiration_timestamp] if args.key?(:expiration_timestamp)
  @fingerprint = args[:fingerprint] if args.key?(:fingerprint)
  @key = args[:key] if args.key?(:key)
end