Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings

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

Overview

Settings for custom client certificates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings

Returns a new instance of GoogleCloudDialogflowCxV3beta1AgentClientCertificateSettings.



4204
4205
4206
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4204

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

Instance Attribute Details

#passphraseString

Optional. The name of the SecretManager secret version resource storing the passphrase. 'passphrase' should be left unset if the private key is not encrypted. Format: projects/project/secrets/secret/versions/version` Corresponds to the JSON propertypassphrase`

Returns:

  • (String)


4189
4190
4191
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4189

def passphrase
  @passphrase
end

#private_keyString

Required. The name of the SecretManager secret version resource storing the private key encoded in PEM format. Format: projects/project/secrets/secret /versions/version` Corresponds to the JSON propertyprivateKey`

Returns:

  • (String)


4196
4197
4198
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4196

def private_key
  @private_key
end

#ssl_certificateString

Required. The ssl certificate encoded in PEM format. This string must include the begin header and end footer lines. Corresponds to the JSON property sslCertificate

Returns:

  • (String)


4202
4203
4204
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4202

def ssl_certificate
  @ssl_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4209
4210
4211
4212
4213
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 4209

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