Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ConnectionErrorDetails

Inherits:
Object
  • Object
show all
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

The error details of Sip Trunk connection authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ConnectionErrorDetails

Returns a new instance of GoogleCloudDialogflowV2ConnectionErrorDetails.



9429
9430
9431
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9429

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

Instance Attribute Details

#certificate_stateString

Output only. The status of the certificate authentication. Corresponds to the JSON property certificateState

Returns:

  • (String)


9422
9423
9424
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9422

def certificate_state
  @certificate_state
end

#error_messageString

The error message provided from SIP trunking auth service Corresponds to the JSON property errorMessage

Returns:

  • (String)


9427
9428
9429
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9427

def error_message
  @error_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9434
9435
9436
9437
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 9434

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