Class: Google::Apis::GmailV1::HardwareKeyMetadata
- Inherits:
-
Object
- Object
- Google::Apis::GmailV1::HardwareKeyMetadata
- 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.
Instance Attribute Summary collapse
-
#description ⇒ String
Description about the hardware key.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HardwareKeyMetadata
constructor
A new instance of HardwareKeyMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HardwareKeyMetadata
Returns a new instance of HardwareKeyMetadata.
497 498 499 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description about the hardware key.
Corresponds to the JSON property description
495 496 497 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 495 def description @description end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
502 503 504 |
# File 'lib/google/apis/gmail_v1/classes.rb', line 502 def update!(**args) @description = args[:description] if args.key?(:description) end |