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.



3974
3975
3976
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3974

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


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

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


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

def display_name
  @display_name
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


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

def name
  @name
end

#test_cases_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentTestCasesConfig

Corresponds to the JSON property testCasesConfig



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

def test_cases_config
  @test_cases_config
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


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

def update_time
  @update_time
end

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

Corresponds to the JSON property versionConfigs



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

def version_configs
  @version_configs
end

#webhook_configGoogle::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3beta1EnvironmentWebhookConfig

Corresponds to the JSON property webhookConfig



3972
3973
3974
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3972

def webhook_config
  @webhook_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3979
3980
3981
3982
3983
3984
3985
3986
3987
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 3979

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