Class: Google::Apis::CloudsearchV1::SigningKeyPossessorProto

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SigningKeyPossessorProto

Returns a new instance of SigningKeyPossessorProto.



18973
18974
18975
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18973

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

Instance Attribute Details

#keymaster_key_typeFixnum

This value must be from the KeyMetadata.Type enum in keymaster.proto. Corresponds to the JSON property keymasterKeyType

Returns:

  • (Fixnum)


18956
18957
18958
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18956

def keymaster_key_type
  @keymaster_key_type
end

#serialized_verification_keyString

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.

Returns:

  • (String)


18962
18963
18964
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18962

def serialized_verification_key
  @serialized_verification_key
end

#serialized_verification_keysetString

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.

Returns:

  • (String)


18971
18972
18973
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18971

def serialized_verification_keyset
  @serialized_verification_keyset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18978
18979
18980
18981
18982
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18978

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