Class: Google::Apis::GmailV1::KaclsKeyMetadata

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 private keys managed by an external key access control list service. For details about managing key access, see Google Workspace CSE API Reference.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ KaclsKeyMetadata

Returns a new instance of KaclsKeyMetadata.



790
791
792
# File 'lib/google/apis/gmail_v1/classes.rb', line 790

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

Instance Attribute Details

#kacls_dataString

Opaque data generated and used by the key access control list service. Maximum size: 8 KiB. Corresponds to the JSON property kaclsData

Returns:

  • (String)


783
784
785
# File 'lib/google/apis/gmail_v1/classes.rb', line 783

def kacls_data
  @kacls_data
end

#kacls_uriString

The URI of the key access control list service that manages the private key. Corresponds to the JSON property kaclsUri

Returns:

  • (String)


788
789
790
# File 'lib/google/apis/gmail_v1/classes.rb', line 788

def kacls_uri
  @kacls_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



795
796
797
798
# File 'lib/google/apis/gmail_v1/classes.rb', line 795

def update!(**args)
  @kacls_data = args[:kacls_data] if args.key?(:kacls_data)
  @kacls_uri = args[:kacls_uri] if args.key?(:kacls_uri)
end