Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue

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

Overview

Represents the value of an HTTP header stored in a SecretManager secret version.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue

Returns a new instance of GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue.



10664
10665
10666
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10664

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

Instance Attribute Details

#secret_versionString

Required. The SecretManager secret version resource storing the header value. Format: projects/project/secrets/secret/versions/version` Corresponds to the JSON propertysecretVersion`

Returns:

  • (String)


10662
10663
10664
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10662

def secret_version
  @secret_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10669
10670
10671
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 10669

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