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.



17495
17496
17497
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17495

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)


17488
17489
17490
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17488

def cert
  @cert
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


17493
17494
17495
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17493

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17500
17501
17502
17503
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17500

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