Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1Environment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Environment

Returns a new instance of GoogleCloudDialogflowCxV3beta1Environment.



6061
6062
6063
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6061

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


6029
6030
6031
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6029

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


6034
6035
6036
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6034

def display_name
  @display_name
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6039
6040
6041
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6039

def name
  @name
end

#test_cases_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig

Corresponds to the JSON property testCasesConfig



6044
6045
6046
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6044

def test_cases_config
  @test_cases_config
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


6049
6050
6051
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6049

def update_time
  @update_time
end

#version_configsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentVersionConfig>

Corresponds to the JSON property versionConfigs



6054
6055
6056
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6054

def version_configs
  @version_configs
end

#webhook_configGoogle::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig

Corresponds to the JSON property webhookConfig



6059
6060
6061
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6059

def webhook_config
  @webhook_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6066
6067
6068
6069
6070
6071
6072
6073
6074
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6066

def update!(**args)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @name = args[:name] if args.key?(:name)
  @test_cases_config = args[:test_cases_config] if args.key?(:test_cases_config)
  @update_time = args[:update_time] if args.key?(:update_time)
  @version_configs = args[:version_configs] if args.key?(:version_configs)
  @webhook_config = args[:webhook_config] if args.key?(:webhook_config)
end