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.



4116
4117
4118
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4116

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)


4098
4099
4100
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4098

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)


4103
4104
4105
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4103

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)


4108
4109
4110
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4108

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)


4114
4115
4116
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4114

def public_key
  @public_key
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4121
4122
4123
4124
4125
4126
# File 'lib/google/apis/chromemanagement_v1/classes.rb', line 4121

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