Class: Google::Apis::ChromemanagementV1::GoogleChromeManagementVersionsV1AttestationCredential

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

Overview

Information of public key associated with a Chrome browser profile.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleChromeManagementVersionsV1AttestationCredential

Returns a new instance of GoogleChromeManagementVersionsV1AttestationCredential.



4517
4518
4519
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4517

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

Instance Attribute Details

#key_rotation_timeString

Output only. Latest rotation timestamp of the public key rotation. Corresponds to the JSON property keyRotationTime

Returns:

  • (String)


4499
4500
4501
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4499

def key_rotation_time
  @key_rotation_time
end

#key_trust_levelString

Output only. Trust level of the public key. Corresponds to the JSON property keyTrustLevel

Returns:

  • (String)


4504
4505
4506
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4504

def key_trust_level
  @key_trust_level
end

#key_typeString

Output only. Type of the public key. Corresponds to the JSON property keyType

Returns:

  • (String)


4509
4510
4511
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4509

def key_type
  @key_type
end

#public_keyString

Output only. Value of the public key. Corresponds to the JSON property publicKey NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


4515
4516
4517
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4515

def public_key
  @public_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4522
4523
4524
4525
4526
4527
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4522

def update!(**args)
  @key_rotation_time = args[:key_rotation_time] if args.key?(:key_rotation_time)
  @key_trust_level = args[:key_trust_level] if args.key?(:key_trust_level)
  @key_type = args[:key_type] if args.key?(:key_type)
  @public_key = args[:public_key] if args.key?(:public_key)
end