Class: Google::Apis::GmailV1::CsePrivateKeyMetadata

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gmail_v1/classes.rb,
lib/google/apis/gmail_v1/representations.rb,
lib/google/apis/gmail_v1/representations.rb

Overview

Metadata for a private key instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CsePrivateKeyMetadata

Returns a new instance of CsePrivateKeyMetadata.



224
225
226
# File 'lib/google/apis/gmail_v1/classes.rb', line 224

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#kacls_key_metadataGoogle::Apis::GmailV1::KaclsKeyMetadata

Metadata for private keys managed by an external key access control list service. For details about managing key access, see Google Workspace CSE API Reference. Corresponds to the JSON property kaclsKeyMetadata



211
212
213
# File 'lib/google/apis/gmail_v1/classes.rb', line 211

def 
  @kacls_key_metadata
end

#piv_key_metadataGoogle::Apis::GmailV1::PivKeyMetadata

Metadata for a personal identity verification (PIV) private key that requires a card reader for access. Corresponds to the JSON property pivKeyMetadata



217
218
219
# File 'lib/google/apis/gmail_v1/classes.rb', line 217

def 
  @piv_key_metadata
end

#private_key_metadata_idString

Output only. The immutable ID for the private key metadata instance. Corresponds to the JSON property privateKeyMetadataId

Returns:

  • (String)


222
223
224
# File 'lib/google/apis/gmail_v1/classes.rb', line 222

def 
  @private_key_metadata_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



229
230
231
232
233
# File 'lib/google/apis/gmail_v1/classes.rb', line 229

def update!(**args)
  @kacls_key_metadata = args[:kacls_key_metadata] if args.key?(:kacls_key_metadata)
  @piv_key_metadata = args[:piv_key_metadata] if args.key?(:piv_key_metadata)
  @private_key_metadata_id = args[:private_key_metadata_id] if args.key?(:private_key_metadata_id)
end