Class: Google::Apis::CloudsearchV1::SigningKeyPossessorProto
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SigningKeyPossessorProto
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Overview
Represents a principal who possesses a signing key corresponding to the verification key or keyset described here.
Instance Attribute Summary collapse
-
#keymaster_key_type ⇒ Fixnum
This value must be from the KeyMetadata.Type enum in keymaster.proto.
-
#serialized_verification_key ⇒ String
The actual verification key bytes corresponding to the above type.
-
#serialized_verification_keyset ⇒ String
The binary serialized Keymaster SerializedReader of a public keyset.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SigningKeyPossessorProto
constructor
A new instance of SigningKeyPossessorProto.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SigningKeyPossessorProto
Returns a new instance of SigningKeyPossessorProto.
18811 18812 18813 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18811 def initialize(**args) update!(**args) end |
Instance Attribute Details
#keymaster_key_type ⇒ Fixnum
This value must be from the KeyMetadata.Type enum in keymaster.proto.
Corresponds to the JSON property keymasterKeyType
18794 18795 18796 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18794 def keymaster_key_type @keymaster_key_type end |
#serialized_verification_key ⇒ String
The actual verification key bytes corresponding to the above type.
Corresponds to the JSON property serializedVerificationKey
NOTE: Values are automatically base64 encoded/decoded in the client library.
18800 18801 18802 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18800 def serialized_verification_key @serialized_verification_key end |
#serialized_verification_keyset ⇒ String
The binary serialized Keymaster SerializedReader of a public keyset. The
keyset must contain exactly one key. N.B.: If this field is populated,
serialized_verification_key should be set to the empty string and
keymaster_key_type should be set to zero.
Corresponds to the JSON property serializedVerificationKeyset
NOTE: Values are automatically base64 encoded/decoded in the client library.
18809 18810 18811 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18809 def serialized_verification_keyset @serialized_verification_keyset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18816 18817 18818 18819 18820 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18816 def update!(**args) @keymaster_key_type = args[:keymaster_key_type] if args.key?(:keymaster_key_type) @serialized_verification_key = args[:serialized_verification_key] if args.key?(:serialized_verification_key) @serialized_verification_keyset = args[:serialized_verification_keyset] if args.key?(:serialized_verification_keyset) end |