Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3Environment

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3Environment

Returns a new instance of GoogleCloudDialogflowCxV3Environment.



1983
1984
1985
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1983

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

Instance Attribute Details

#descriptionString

Corresponds to the JSON property description

Returns:

  • (String)


1951
1952
1953
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1951

def description
  @description
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


1956
1957
1958
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1956

def display_name
  @display_name
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


1961
1962
1963
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1961

def name
  @name
end

#test_cases_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig

Corresponds to the JSON property testCasesConfig



1966
1967
1968
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1966

def test_cases_config
  @test_cases_config
end

#update_timeString

Corresponds to the JSON property updateTime

Returns:

  • (String)


1971
1972
1973
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1971

def update_time
  @update_time
end

#version_configsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentVersionConfig>

Corresponds to the JSON property versionConfigs



1976
1977
1978
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1976

def version_configs
  @version_configs
end

#webhook_configGoogle::Apis::DialogflowV3::GoogleCloudDialogflowCxV3EnvironmentWebhookConfig

Corresponds to the JSON property webhookConfig



1981
1982
1983
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1981

def webhook_config
  @webhook_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1988
1989
1990
1991
1992
1993
1994
1995
1996
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1988

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