Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue

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) ⇒ GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue

Returns a new instance of GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceSecretVersionHeaderValue.



14619
14620
14621
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14619

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)


14617
14618
14619
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14617

def secret_version
  @secret_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14624
14625
14626
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 14624

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