Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Overview
Represents the value of an HTTP header stored in a SecretManager secret version.
Instance Attribute Summary collapse
-
#secret_version ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
constructor
A new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue
Returns a new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue.
7574 7575 7576 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7574 def initialize(**args) update!(**args) end |
Instance Attribute Details
#secret_version ⇒ String
Required. The SecretManager secret version resource storing the header value.
Format: projects/project/secrets/secret/versions/version`
Corresponds to the JSON propertysecretVersion`
7572 7573 7574 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7572 def secret_version @secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7579 7580 7581 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 7579 def update!(**args) @secret_version = args[:secret_version] if args.key?(:secret_version) end |