Class: Google::Apis::IntegrationsV1alpha::GoogleCloudConnectorsV1Secret

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudConnectorsV1Secret

Returns a new instance of GoogleCloudConnectorsV1Secret.



5541
5542
5543
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5541

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

Instance Attribute Details

#secret_versionString

The resource name of the secret version in the format, format as: projects/*/ secrets/*/versions/*. Corresponds to the JSON property secretVersion

Returns:

  • (String)


5539
5540
5541
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5539

def secret_version
  @secret_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5546
5547
5548
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 5546

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