Class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret

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

Overview

Secret value parameter.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ConnectorConfigurationSecret

Returns a new instance of ConnectorConfigurationSecret.



816
817
818
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 816

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

Instance Attribute Details

#plaintextString

Input only. Secret as plaintext. Corresponds to the JSON property plaintext

Returns:

  • (String)


808
809
810
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 808

def plaintext
  @plaintext
end

#secret_typeString

Output only. Indicates type of secret. Can be used to check type of stored secret value even if it's INPUT_ONLY. Corresponds to the JSON property secretType

Returns:

  • (String)


814
815
816
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 814

def secret_type
  @secret_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



821
822
823
824
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 821

def update!(**args)
  @plaintext = args[:plaintext] if args.key?(:plaintext)
  @secret_type = args[:secret_type] if args.key?(:secret_type)
end