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.



17444
17445
17446
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17444

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)


17437
17438
17439
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17437

def cert
  @cert
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


17442
17443
17444
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17442

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17449
17450
17451
17452
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17449

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