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.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#descriptionString

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

Returns:

  • (String)


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