Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Overview
Secret provides a reference to entries in Secret Manager.
Instance Attribute Summary collapse
-
#secret_version ⇒ String
The resource name of the secret version in the format, format as:
projects/*/ secrets/*/versions/*.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudConnectorsV1Secret
constructor
A new instance of GoogleCloudConnectorsV1Secret.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudConnectorsV1Secret
Returns a new instance of GoogleCloudConnectorsV1Secret.
5283 5284 5285 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5283 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_version ⇒ String
The resource name of the secret version in the format, format as: projects/*/
secrets/*/versions/*.
Corresponds to the JSON property secretVersion
5281 5282 5283 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5281 def secret_version @secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5288 5289 5290 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5288 def update!(**args) @secret_version = args[:secret_version] if args.key?(:secret_version) end |