Class: Google::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret
- Inherits:
-
Object
- Object
- Google::Apis::BigqueryconnectionV1::ConnectorConfigurationSecret
- 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
-
#plaintext ⇒ String
Input only.
-
#secret_type ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ConnectorConfigurationSecret
constructor
A new instance of ConnectorConfigurationSecret.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ConnectorConfigurationSecret
Returns a new instance of ConnectorConfigurationSecret.
749 750 751 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 749 def initialize(**args) update!(**args) end |
Instance Attribute Details
#plaintext ⇒ String
Input only. Secret as plaintext.
Corresponds to the JSON property plaintext
741 742 743 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 741 def plaintext @plaintext end |
#secret_type ⇒ String
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
747 748 749 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 747 def secret_type @secret_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
754 755 756 757 |
# File 'lib/google/apis/bigqueryconnection_v1/classes.rb', line 754 def update!(**args) @plaintext = args[:plaintext] if args.key?(:plaintext) @secret_type = args[:secret_type] if args.key?(:secret_type) end |