class Google::Apis::ClouduseraccountsBeta::PublicKey
A public key for authenticating to guests.
Attributes
- Output Only
-
Creation timestamp in RFC3339 text format.
Corresponds to the JSON property `creationTimestamp` @return [String]
An optional textual description of the resource; provided by the client when the resource is created. Corresponds to the JSON property `description` @return [String]
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]
- 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]
Public key text in SSH format, defined by RFC4253 section 6.6. Corresponds to the JSON property `key` @return [String]
Public Class Methods
# File generated/google/apis/clouduseraccounts_beta/classes.rb, line 715 def initialize(**args) update!(**args) end
Public Instance Methods
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