google-apis-dialogflow_v2 0.16.0 → 0.20.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/lib/google/apis/dialogflow_v2/classes.rb +93 -13
- data/lib/google/apis/dialogflow_v2/gem_version.rb +3 -3
- data/lib/google/apis/dialogflow_v2/representations.rb +32 -0
- data/lib/google/apis/dialogflow_v2/service.rb +101 -24
- data/lib/google/apis/dialogflow_v2.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2e5cc9e9db518ab5f932b867aed85fc48776474f76429c81caafadd60c079c0
|
4
|
+
data.tar.gz: 37a738d13794819a646148170bb3278b12d7ddc7df434277a1eeb787baa5755d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96a33b7f4f85f4986079de0e79aaeb96e71a5ecefaeb6ef82bddbd90e688283151bdab003e7f153717540a526a7deb69ea390724377d00c779b8977ea0692f2a
|
7
|
+
data.tar.gz: ebc3d55f32e8e3dca378efb3cd3dc1e07caebaf1f4a7f0504a698e967c66a728ad329a908bf3d925b6629117bb6c052233634ca8e91c63ba84c91b1933b374e5
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-dialogflow_v2
|
2
2
|
|
3
|
+
### v0.20.0 (2021-09-01)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20210830
|
6
|
+
|
7
|
+
### v0.19.0 (2021-07-30)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210727
|
10
|
+
|
11
|
+
### v0.18.0 (2021-07-09)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210706
|
14
|
+
|
15
|
+
### v0.17.0 (2021-06-30)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210625
|
18
|
+
* Regenerated using generator version 0.4.0
|
19
|
+
|
3
20
|
### v0.16.0 (2021-06-24)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210618
|
@@ -221,7 +221,8 @@ module Google
|
|
221
221
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3Page]
|
222
222
|
attr_accessor :current_page
|
223
223
|
|
224
|
-
# Required. Input only. The diagnostic info output for the turn.
|
224
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
225
|
+
# calculate the testing coverage.
|
225
226
|
# Corresponds to the JSON property `diagnosticInfo`
|
226
227
|
# @return [Hash<String,Object>]
|
227
228
|
attr_accessor :diagnostic_info
|
@@ -489,6 +490,7 @@ module Google
|
|
489
490
|
end
|
490
491
|
|
491
492
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
493
|
+
# This message currently has no fields.
|
492
494
|
class GoogleCloudDialogflowCxV3ExportTestCasesMetadata
|
493
495
|
include Google::Apis::Core::Hashable
|
494
496
|
|
@@ -1868,7 +1870,8 @@ module Google
|
|
1868
1870
|
end
|
1869
1871
|
end
|
1870
1872
|
|
1871
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
1873
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
1874
|
+
# message currently has no fields.
|
1872
1875
|
class GoogleCloudDialogflowCxV3RunTestCaseMetadata
|
1873
1876
|
include Google::Apis::Core::Hashable
|
1874
1877
|
|
@@ -2759,7 +2762,8 @@ module Google
|
|
2759
2762
|
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowCxV3beta1Page]
|
2760
2763
|
attr_accessor :current_page
|
2761
2764
|
|
2762
|
-
# Required. Input only. The diagnostic info output for the turn.
|
2765
|
+
# Required. Input only. The diagnostic info output for the turn. Required to
|
2766
|
+
# calculate the testing coverage.
|
2763
2767
|
# Corresponds to the JSON property `diagnosticInfo`
|
2764
2768
|
# @return [Hash<String,Object>]
|
2765
2769
|
attr_accessor :diagnostic_info
|
@@ -3027,6 +3031,7 @@ module Google
|
|
3027
3031
|
end
|
3028
3032
|
|
3029
3033
|
# Metadata returned for the TestCases.ExportTestCases long running operation.
|
3034
|
+
# This message currently has no fields.
|
3030
3035
|
class GoogleCloudDialogflowCxV3beta1ExportTestCasesMetadata
|
3031
3036
|
include Google::Apis::Core::Hashable
|
3032
3037
|
|
@@ -4406,7 +4411,8 @@ module Google
|
|
4406
4411
|
end
|
4407
4412
|
end
|
4408
4413
|
|
4409
|
-
# Metadata returned for the TestCases.RunTestCase long running operation.
|
4414
|
+
# Metadata returned for the TestCases.RunTestCase long running operation. This
|
4415
|
+
# message currently has no fields.
|
4410
4416
|
class GoogleCloudDialogflowCxV3beta1RunTestCaseMetadata
|
4411
4417
|
include Google::Apis::Core::Hashable
|
4412
4418
|
|
@@ -6566,7 +6572,7 @@ module Google
|
|
6566
6572
|
class GoogleCloudDialogflowV2Environment
|
6567
6573
|
include Google::Apis::Core::Hashable
|
6568
6574
|
|
6569
|
-
#
|
6575
|
+
# Optional. The agent version loaded into this environment. Supported formats: -
|
6570
6576
|
# `projects//agent/versions/` - `projects//locations//agent/versions/`
|
6571
6577
|
# Corresponds to the JSON property `agentVersion`
|
6572
6578
|
# @return [String]
|
@@ -6592,7 +6598,7 @@ module Google
|
|
6592
6598
|
|
6593
6599
|
# Output only. The unique identifier of this agent environment. Supported
|
6594
6600
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
6595
|
-
# environments/`
|
6601
|
+
# environments/` The environment ID for the default environment is `-`.
|
6596
6602
|
# Corresponds to the JSON property `name`
|
6597
6603
|
# @return [String]
|
6598
6604
|
attr_accessor :name
|
@@ -6648,7 +6654,7 @@ module Google
|
|
6648
6654
|
|
6649
6655
|
# Output only. The name of the environment this history is for. Supported
|
6650
6656
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
6651
|
-
# environments/`
|
6657
|
+
# environments/` The environment ID for the default environment is `-`.
|
6652
6658
|
# Corresponds to the JSON property `parent`
|
6653
6659
|
# @return [String]
|
6654
6660
|
attr_accessor :parent
|
@@ -7636,8 +7642,9 @@ module Google
|
|
7636
7642
|
# @return [Array<String>]
|
7637
7643
|
attr_accessor :events
|
7638
7644
|
|
7639
|
-
# Read-only. Information about all followup intents that have this
|
7640
|
-
# direct or indirect parent. We populate this field only in the
|
7645
|
+
# Output only. Read-only. Information about all followup intents that have this
|
7646
|
+
# intent as a direct or indirect parent. We populate this field only in the
|
7647
|
+
# output.
|
7641
7648
|
# Corresponds to the JSON property `followupIntentInfo`
|
7642
7649
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentFollowupIntentInfo>]
|
7643
7650
|
attr_accessor :followup_intent_info
|
@@ -7722,9 +7729,10 @@ module Google
|
|
7722
7729
|
attr_accessor :reset_contexts
|
7723
7730
|
alias_method :reset_contexts?, :reset_contexts
|
7724
7731
|
|
7725
|
-
# Read-only. The unique identifier of the root intent in the chain
|
7726
|
-
# intents. It identifies the correct followup intents chain for this
|
7727
|
-
# populate this field only in the output. Format: `projects//agent/
|
7732
|
+
# Output only. Read-only. The unique identifier of the root intent in the chain
|
7733
|
+
# of followup intents. It identifies the correct followup intents chain for this
|
7734
|
+
# intent. We populate this field only in the output. Format: `projects//agent/
|
7735
|
+
# intents/`.
|
7728
7736
|
# Corresponds to the JSON property `rootFollowupIntentName`
|
7729
7737
|
# @return [String]
|
7730
7738
|
attr_accessor :root_followup_intent_name
|
@@ -10420,7 +10428,7 @@ module Google
|
|
10420
10428
|
# @return [Array<String>]
|
10421
10429
|
attr_accessor :entries
|
10422
10430
|
|
10423
|
-
# The detailed error
|
10431
|
+
# The detailed error message.
|
10424
10432
|
# Corresponds to the JSON property `errorMessage`
|
10425
10433
|
# @return [String]
|
10426
10434
|
attr_accessor :error_message
|
@@ -13871,6 +13879,78 @@ module Google
|
|
13871
13879
|
end
|
13872
13880
|
end
|
13873
13881
|
|
13882
|
+
# The response message for Locations.ListLocations.
|
13883
|
+
class GoogleCloudLocationListLocationsResponse
|
13884
|
+
include Google::Apis::Core::Hashable
|
13885
|
+
|
13886
|
+
# A list of locations that matches the specified filter in the request.
|
13887
|
+
# Corresponds to the JSON property `locations`
|
13888
|
+
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudLocationLocation>]
|
13889
|
+
attr_accessor :locations
|
13890
|
+
|
13891
|
+
# The standard List next-page token.
|
13892
|
+
# Corresponds to the JSON property `nextPageToken`
|
13893
|
+
# @return [String]
|
13894
|
+
attr_accessor :next_page_token
|
13895
|
+
|
13896
|
+
def initialize(**args)
|
13897
|
+
update!(**args)
|
13898
|
+
end
|
13899
|
+
|
13900
|
+
# Update properties of this object
|
13901
|
+
def update!(**args)
|
13902
|
+
@locations = args[:locations] if args.key?(:locations)
|
13903
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13904
|
+
end
|
13905
|
+
end
|
13906
|
+
|
13907
|
+
# A resource that represents Google Cloud Platform location.
|
13908
|
+
class GoogleCloudLocationLocation
|
13909
|
+
include Google::Apis::Core::Hashable
|
13910
|
+
|
13911
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
13912
|
+
# "Tokyo".
|
13913
|
+
# Corresponds to the JSON property `displayName`
|
13914
|
+
# @return [String]
|
13915
|
+
attr_accessor :display_name
|
13916
|
+
|
13917
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
13918
|
+
# region": "us-east1"`
|
13919
|
+
# Corresponds to the JSON property `labels`
|
13920
|
+
# @return [Hash<String,String>]
|
13921
|
+
attr_accessor :labels
|
13922
|
+
|
13923
|
+
# The canonical id for this location. For example: `"us-east1"`.
|
13924
|
+
# Corresponds to the JSON property `locationId`
|
13925
|
+
# @return [String]
|
13926
|
+
attr_accessor :location_id
|
13927
|
+
|
13928
|
+
# Service-specific metadata. For example the available capacity at the given
|
13929
|
+
# location.
|
13930
|
+
# Corresponds to the JSON property `metadata`
|
13931
|
+
# @return [Hash<String,Object>]
|
13932
|
+
attr_accessor :metadata
|
13933
|
+
|
13934
|
+
# Resource name for the location, which may vary between implementations. For
|
13935
|
+
# example: `"projects/example-project/locations/us-east1"`
|
13936
|
+
# Corresponds to the JSON property `name`
|
13937
|
+
# @return [String]
|
13938
|
+
attr_accessor :name
|
13939
|
+
|
13940
|
+
def initialize(**args)
|
13941
|
+
update!(**args)
|
13942
|
+
end
|
13943
|
+
|
13944
|
+
# Update properties of this object
|
13945
|
+
def update!(**args)
|
13946
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
13947
|
+
@labels = args[:labels] if args.key?(:labels)
|
13948
|
+
@location_id = args[:location_id] if args.key?(:location_id)
|
13949
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
13950
|
+
@name = args[:name] if args.key?(:name)
|
13951
|
+
end
|
13952
|
+
end
|
13953
|
+
|
13874
13954
|
# The response message for Operations.ListOperations.
|
13875
13955
|
class GoogleLongrunningListOperationsResponse
|
13876
13956
|
include Google::Apis::Core::Hashable
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DialogflowV2
|
18
18
|
# Version of the google-apis-dialogflow_v2 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.20.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210830"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2278,6 +2278,18 @@ module Google
|
|
2278
2278
|
include Google::Apis::Core::JsonObjectSupport
|
2279
2279
|
end
|
2280
2280
|
|
2281
|
+
class GoogleCloudLocationListLocationsResponse
|
2282
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2283
|
+
|
2284
|
+
include Google::Apis::Core::JsonObjectSupport
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
class GoogleCloudLocationLocation
|
2288
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2289
|
+
|
2290
|
+
include Google::Apis::Core::JsonObjectSupport
|
2291
|
+
end
|
2292
|
+
|
2281
2293
|
class GoogleLongrunningListOperationsResponse
|
2282
2294
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2283
2295
|
|
@@ -6118,6 +6130,26 @@ module Google
|
|
6118
6130
|
end
|
6119
6131
|
end
|
6120
6132
|
|
6133
|
+
class GoogleCloudLocationListLocationsResponse
|
6134
|
+
# @private
|
6135
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6136
|
+
collection :locations, as: 'locations', class: Google::Apis::DialogflowV2::GoogleCloudLocationLocation, decorator: Google::Apis::DialogflowV2::GoogleCloudLocationLocation::Representation
|
6137
|
+
|
6138
|
+
property :next_page_token, as: 'nextPageToken'
|
6139
|
+
end
|
6140
|
+
end
|
6141
|
+
|
6142
|
+
class GoogleCloudLocationLocation
|
6143
|
+
# @private
|
6144
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6145
|
+
property :display_name, as: 'displayName'
|
6146
|
+
hash :labels, as: 'labels'
|
6147
|
+
property :location_id, as: 'locationId'
|
6148
|
+
hash :metadata, as: 'metadata'
|
6149
|
+
property :name, as: 'name'
|
6150
|
+
end
|
6151
|
+
end
|
6152
|
+
|
6121
6153
|
class GoogleLongrunningListOperationsResponse
|
6122
6154
|
# @private
|
6123
6155
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -875,7 +875,8 @@ module Google
|
|
875
875
|
# Deletes the specified agent environment.
|
876
876
|
# @param [String] name
|
877
877
|
# Required. The name of the environment to delete. / Format: - `projects//agent/
|
878
|
-
# environments/` - `projects//locations//agent/environments/`
|
878
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
879
|
+
# for the default environment is `-`.
|
879
880
|
# @param [String] fields
|
880
881
|
# Selector specifying which fields to include in a partial response.
|
881
882
|
# @param [String] quota_user
|
@@ -906,7 +907,8 @@ module Google
|
|
906
907
|
# Retrieves the specified agent environment.
|
907
908
|
# @param [String] name
|
908
909
|
# Required. The name of the environment. Supported formats: - `projects//agent/
|
909
|
-
# environments/` - `projects//locations//agent/environments/`
|
910
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
911
|
+
# for the default environment is `-`.
|
910
912
|
# @param [String] fields
|
911
913
|
# Selector specifying which fields to include in a partial response.
|
912
914
|
# @param [String] quota_user
|
@@ -938,7 +940,7 @@ module Google
|
|
938
940
|
# @param [String] parent
|
939
941
|
# Required. The name of the environment to retrieve history for. Supported
|
940
942
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
941
|
-
# environments/`
|
943
|
+
# environments/` The environment ID for the default environment is `-`.
|
942
944
|
# @param [Fixnum] page_size
|
943
945
|
# Optional. The maximum number of items to return in a single page. By default
|
944
946
|
# 100 and at most 1000.
|
@@ -973,7 +975,7 @@ module Google
|
|
973
975
|
execute_or_queue_command(command, &block)
|
974
976
|
end
|
975
977
|
|
976
|
-
# Returns the list of all non-
|
978
|
+
# Returns the list of all non-default environments of the specified agent.
|
977
979
|
# @param [String] parent
|
978
980
|
# Required. The agent to list all environments from. Format: - `projects//agent`
|
979
981
|
# - `projects//locations//agent`
|
@@ -1015,22 +1017,22 @@ module Google
|
|
1015
1017
|
# agent versions into the environment. When an environment is pointed to a new
|
1016
1018
|
# agent version by setting `environment.agent_version`, the environment is
|
1017
1019
|
# temporarily set to the `LOADING` state. During that time, the environment
|
1018
|
-
#
|
1020
|
+
# continues serving the previous version of the agent. After the new agent
|
1019
1021
|
# version is done loading, the environment is set back to the `RUNNING` state.
|
1020
|
-
# You can use "-" as Environment ID in environment name to update
|
1021
|
-
#
|
1022
|
-
# can't be undone. You may want to save the draft
|
1023
|
-
# this
|
1022
|
+
# You can use "-" as Environment ID in environment name to update an agent
|
1023
|
+
# version in the default environment. WARNING: this will negate all recent
|
1024
|
+
# changes to the draft agent and can't be undone. You may want to save the draft
|
1025
|
+
# agent to a version before calling this method.
|
1024
1026
|
# @param [String] name
|
1025
1027
|
# Output only. The unique identifier of this agent environment. Supported
|
1026
1028
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
1027
|
-
# environments/`
|
1029
|
+
# environments/` The environment ID for the default environment is `-`.
|
1028
1030
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
1029
1031
|
# @param [Boolean] allow_load_to_draft_and_discard_changes
|
1030
|
-
# Optional. This field is used to prevent accidental overwrite of the
|
1032
|
+
# Optional. This field is used to prevent accidental overwrite of the default
|
1031
1033
|
# environment, which is an operation that cannot be undone. To confirm that the
|
1032
1034
|
# caller desires this overwrite, this field must be explicitly set to true when
|
1033
|
-
# updating the
|
1035
|
+
# updating the default environment (environment ID = `-`).
|
1034
1036
|
# @param [String] update_mask
|
1035
1037
|
# Required. The mask to control which fields get updated.
|
1036
1038
|
# @param [String] fields
|
@@ -4033,6 +4035,36 @@ module Google
|
|
4033
4035
|
execute_or_queue_command(command, &block)
|
4034
4036
|
end
|
4035
4037
|
|
4038
|
+
# Gets information about a location.
|
4039
|
+
# @param [String] name
|
4040
|
+
# Resource name for the location.
|
4041
|
+
# @param [String] fields
|
4042
|
+
# Selector specifying which fields to include in a partial response.
|
4043
|
+
# @param [String] quota_user
|
4044
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4045
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4046
|
+
# @param [Google::Apis::RequestOptions] options
|
4047
|
+
# Request-specific options
|
4048
|
+
#
|
4049
|
+
# @yield [result, err] Result & error if block supplied
|
4050
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudLocationLocation] parsed result object
|
4051
|
+
# @yieldparam err [StandardError] error object if request failed
|
4052
|
+
#
|
4053
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudLocationLocation]
|
4054
|
+
#
|
4055
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4056
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4057
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4058
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
4059
|
+
command = make_simple_command(:get, 'v2/{+name}', options)
|
4060
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudLocationLocation::Representation
|
4061
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudLocationLocation
|
4062
|
+
command.params['name'] = name unless name.nil?
|
4063
|
+
command.query['fields'] = fields unless fields.nil?
|
4064
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4065
|
+
execute_or_queue_command(command, &block)
|
4066
|
+
end
|
4067
|
+
|
4036
4068
|
# Retrieves the specified agent.
|
4037
4069
|
# @param [String] parent
|
4038
4070
|
# Required. The project that the agent to fetch is associated with. Format: `
|
@@ -4064,6 +4096,49 @@ module Google
|
|
4064
4096
|
execute_or_queue_command(command, &block)
|
4065
4097
|
end
|
4066
4098
|
|
4099
|
+
# Lists information about the supported locations for this service.
|
4100
|
+
# @param [String] name
|
4101
|
+
# The resource that owns the locations collection, if applicable.
|
4102
|
+
# @param [String] filter
|
4103
|
+
# A filter to narrow down results to a preferred subset. The filtering language
|
4104
|
+
# accepts strings like "displayName=tokyo", and is documented in more detail in [
|
4105
|
+
# AIP-160](https://google.aip.dev/160).
|
4106
|
+
# @param [Fixnum] page_size
|
4107
|
+
# The maximum number of results to return. If not set, the service selects a
|
4108
|
+
# default.
|
4109
|
+
# @param [String] page_token
|
4110
|
+
# A page token received from the `next_page_token` field in the response. Send
|
4111
|
+
# that page token to receive the subsequent page.
|
4112
|
+
# @param [String] fields
|
4113
|
+
# Selector specifying which fields to include in a partial response.
|
4114
|
+
# @param [String] quota_user
|
4115
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
4116
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
4117
|
+
# @param [Google::Apis::RequestOptions] options
|
4118
|
+
# Request-specific options
|
4119
|
+
#
|
4120
|
+
# @yield [result, err] Result & error if block supplied
|
4121
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleCloudLocationListLocationsResponse] parsed result object
|
4122
|
+
# @yieldparam err [StandardError] error object if request failed
|
4123
|
+
#
|
4124
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudLocationListLocationsResponse]
|
4125
|
+
#
|
4126
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4127
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4128
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4129
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
4130
|
+
command = make_simple_command(:get, 'v2/{+name}/locations', options)
|
4131
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleCloudLocationListLocationsResponse::Representation
|
4132
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleCloudLocationListLocationsResponse
|
4133
|
+
command.params['name'] = name unless name.nil?
|
4134
|
+
command.query['filter'] = filter unless filter.nil?
|
4135
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
4136
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
4137
|
+
command.query['fields'] = fields unless fields.nil?
|
4138
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4139
|
+
execute_or_queue_command(command, &block)
|
4140
|
+
end
|
4141
|
+
|
4067
4142
|
# Creates/updates the specified agent. Note: You should always train an agent
|
4068
4143
|
# prior to sending it queries. See the [training documentation](https://cloud.
|
4069
4144
|
# google.com/dialogflow/es/docs/training).
|
@@ -4827,7 +4902,8 @@ module Google
|
|
4827
4902
|
# Deletes the specified agent environment.
|
4828
4903
|
# @param [String] name
|
4829
4904
|
# Required. The name of the environment to delete. / Format: - `projects//agent/
|
4830
|
-
# environments/` - `projects//locations//agent/environments/`
|
4905
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
4906
|
+
# for the default environment is `-`.
|
4831
4907
|
# @param [String] fields
|
4832
4908
|
# Selector specifying which fields to include in a partial response.
|
4833
4909
|
# @param [String] quota_user
|
@@ -4858,7 +4934,8 @@ module Google
|
|
4858
4934
|
# Retrieves the specified agent environment.
|
4859
4935
|
# @param [String] name
|
4860
4936
|
# Required. The name of the environment. Supported formats: - `projects//agent/
|
4861
|
-
# environments/` - `projects//locations//agent/environments/`
|
4937
|
+
# environments/` - `projects//locations//agent/environments/` The environment ID
|
4938
|
+
# for the default environment is `-`.
|
4862
4939
|
# @param [String] fields
|
4863
4940
|
# Selector specifying which fields to include in a partial response.
|
4864
4941
|
# @param [String] quota_user
|
@@ -4890,7 +4967,7 @@ module Google
|
|
4890
4967
|
# @param [String] parent
|
4891
4968
|
# Required. The name of the environment to retrieve history for. Supported
|
4892
4969
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
4893
|
-
# environments/`
|
4970
|
+
# environments/` The environment ID for the default environment is `-`.
|
4894
4971
|
# @param [Fixnum] page_size
|
4895
4972
|
# Optional. The maximum number of items to return in a single page. By default
|
4896
4973
|
# 100 and at most 1000.
|
@@ -4925,7 +5002,7 @@ module Google
|
|
4925
5002
|
execute_or_queue_command(command, &block)
|
4926
5003
|
end
|
4927
5004
|
|
4928
|
-
# Returns the list of all non-
|
5005
|
+
# Returns the list of all non-default environments of the specified agent.
|
4929
5006
|
# @param [String] parent
|
4930
5007
|
# Required. The agent to list all environments from. Format: - `projects//agent`
|
4931
5008
|
# - `projects//locations//agent`
|
@@ -4967,22 +5044,22 @@ module Google
|
|
4967
5044
|
# agent versions into the environment. When an environment is pointed to a new
|
4968
5045
|
# agent version by setting `environment.agent_version`, the environment is
|
4969
5046
|
# temporarily set to the `LOADING` state. During that time, the environment
|
4970
|
-
#
|
5047
|
+
# continues serving the previous version of the agent. After the new agent
|
4971
5048
|
# version is done loading, the environment is set back to the `RUNNING` state.
|
4972
|
-
# You can use "-" as Environment ID in environment name to update
|
4973
|
-
#
|
4974
|
-
# can't be undone. You may want to save the draft
|
4975
|
-
# this
|
5049
|
+
# You can use "-" as Environment ID in environment name to update an agent
|
5050
|
+
# version in the default environment. WARNING: this will negate all recent
|
5051
|
+
# changes to the draft agent and can't be undone. You may want to save the draft
|
5052
|
+
# agent to a version before calling this method.
|
4976
5053
|
# @param [String] name
|
4977
5054
|
# Output only. The unique identifier of this agent environment. Supported
|
4978
5055
|
# formats: - `projects//agent/environments/` - `projects//locations//agent/
|
4979
|
-
# environments/`
|
5056
|
+
# environments/` The environment ID for the default environment is `-`.
|
4980
5057
|
# @param [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2Environment] google_cloud_dialogflow_v2_environment_object
|
4981
5058
|
# @param [Boolean] allow_load_to_draft_and_discard_changes
|
4982
|
-
# Optional. This field is used to prevent accidental overwrite of the
|
5059
|
+
# Optional. This field is used to prevent accidental overwrite of the default
|
4983
5060
|
# environment, which is an operation that cannot be undone. To confirm that the
|
4984
5061
|
# caller desires this overwrite, this field must be explicitly set to true when
|
4985
|
-
# updating the
|
5062
|
+
# updating the default environment (environment ID = `-`).
|
4986
5063
|
# @param [String] update_mask
|
4987
5064
|
# Required. The mask to control which fields get updated.
|
4988
5065
|
# @param [String] fields
|
@@ -30,7 +30,7 @@ module Google
|
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V2'
|
32
32
|
|
33
|
-
# See, edit, configure, and delete your Google Cloud
|
33
|
+
# See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
|
36
36
|
# View, manage and query your Dialogflow agents
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-dialogflow_v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06
|
11
|
+
date: 2021-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.4'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-dialogflow_v2/v0.20.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-dialogflow_v2
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|