Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2ToolTlsConfigCaCert

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2ToolTlsConfigCaCert

Returns a new instance of GoogleCloudDialogflowV2ToolTlsConfigCaCert.



17692
17693
17694
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17692

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

Instance Attribute Details

#certString

Corresponds to the JSON property cert NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


17685
17686
17687
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17685

def cert
  @cert
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


17690
17691
17692
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17690

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17697
17698
17699
17700
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17697

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