Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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) ⇒ GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
constructor
A new instance of GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue
Returns a new instance of GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue.
3619 3620 3621 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3619 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`
3617 3618 3619 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3617 def secret_version @secret_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3624 3625 3626 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 3624 def update!(**args) @secret_version = args[:secret_version] if args.key?(:secret_version) end |