google-apis-dialogflow_v2 0.19.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/dialogflow_v2/classes.rb +89 -9
- data/lib/google/apis/dialogflow_v2/gem_version.rb +2 -2
- data/lib/google/apis/dialogflow_v2/representations.rb +32 -0
- data/lib/google/apis/dialogflow_v2/service.rb +73 -0
- data/lib/google/apis/dialogflow_v2.rb +1 -1
- metadata +3 -3
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
|
@@ -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
|
|
|
@@ -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
|
|
@@ -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
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
|
|
@@ -4035,6 +4035,36 @@ module Google
|
|
|
4035
4035
|
execute_or_queue_command(command, &block)
|
|
4036
4036
|
end
|
|
4037
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
|
+
|
|
4038
4068
|
# Retrieves the specified agent.
|
|
4039
4069
|
# @param [String] parent
|
|
4040
4070
|
# Required. The project that the agent to fetch is associated with. Format: `
|
|
@@ -4066,6 +4096,49 @@ module Google
|
|
|
4066
4096
|
execute_or_queue_command(command, &block)
|
|
4067
4097
|
end
|
|
4068
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
|
+
|
|
4069
4142
|
# Creates/updates the specified agent. Note: You should always train an agent
|
|
4070
4143
|
# prior to sending it queries. See the [training documentation](https://cloud.
|
|
4071
4144
|
# google.com/dialogflow/es/docs/training).
|
|
@@ -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-
|
|
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
|
|
@@ -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: []
|