Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentClientCertificateSettings

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AgentClientCertificateSettings

Returns a new instance of GoogleCloudDialogflowCxV3AgentClientCertificateSettings.



435
436
437
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 435

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

Instance Attribute Details

#passphraseString

Corresponds to the JSON property passphrase

Returns:

  • (String)


423
424
425
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 423

def passphrase
  @passphrase
end

#private_keyString

Corresponds to the JSON property privateKey

Returns:

  • (String)


428
429
430
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 428

def private_key
  @private_key
end

#ssl_certificateString

Corresponds to the JSON property sslCertificate

Returns:

  • (String)


433
434
435
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 433

def ssl_certificate
  @ssl_certificate
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



440
441
442
443
444
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 440

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