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.



17673
17674
17675
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17673

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)


17666
17667
17668
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17666

def cert
  @cert
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


17671
17672
17673
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17671

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17678
17679
17680
17681
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 17678

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