Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1Environment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1Environment

Returns a new instance of GoogleCloudDialogflowCxV3beta1Environment.



3968
3969
3970
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3968

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


3936
3937
3938
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3936

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


3941
3942
3943
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3941

def display_name
  @display_name
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


3946
3947
3948
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3946

def name
  @name
end

#test_cases_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig

Corresponds to the JSON property testCasesConfig



3951
3952
3953
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3951

def test_cases_config
  @test_cases_config
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


3956
3957
3958
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3956

def update_time
  @update_time
end

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

Corresponds to the JSON property versionConfigs



3961
3962
3963
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3961

def version_configs
  @version_configs
end

#webhook_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig

Corresponds to the JSON property webhookConfig



3966
3967
3968
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3966

def webhook_config
  @webhook_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3973
3974
3975
3976
3977
3978
3979
3980
3981
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3973

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