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.



4480
4481
4482
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4480

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)


4462
4463
4464
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4462

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)


4467
4468
4469
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4467

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)


4472
4473
4474
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4472

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)


4478
4479
4480
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4478

def public_key
  @public_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4485
4486
4487
4488
4489
4490
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4485

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