Class: Google::Apis::GmailV1::HardwareKeyMetadata

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 hardware keys. If hardware key encryption is set up for the Google Workspace organization, users can optionally store their private key on their smart card and use it to sign and decrypt email messages in Gmail by inserting their smart card into a reader attached to their Windows device.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HardwareKeyMetadata

Returns a new instance of HardwareKeyMetadata.



579
580
581
# File 'lib/google/apis/gmail_v1/classes.rb', line 579

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

Instance Attribute Details

#descriptionString

Description about the hardware key. Corresponds to the JSON property description

Returns:

  • (String)


577
578
579
# File 'lib/google/apis/gmail_v1/classes.rb', line 577

def description
  @description
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



584
585
586
# File 'lib/google/apis/gmail_v1/classes.rb', line 584

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