Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1ConnectionErrorDetails

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

Overview

The error details of Sip Trunk connection authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1ConnectionErrorDetails

Returns a new instance of GoogleCloudDialogflowV2beta1ConnectionErrorDetails.



13708
13709
13710
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13708

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)


13701
13702
13703
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13701

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)


13706
13707
13708
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13706

def error_message
  @error_message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13713
13714
13715
13716
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 13713

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