google-api-client 0.40.0 → 0.40.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +53 -0
  3. data/generated/google/apis/admob_v1.rb +1 -1
  4. data/generated/google/apis/admob_v1/classes.rb +5 -6
  5. data/generated/google/apis/androidenterprise_v1.rb +2 -2
  6. data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
  7. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
  8. data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
  9. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  10. data/generated/google/apis/androidpublisher_v3/classes.rb +21 -2
  11. data/generated/google/apis/androidpublisher_v3/representations.rb +2 -0
  12. data/generated/google/apis/appsmarket_v2.rb +3 -3
  13. data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
  14. data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
  15. data/generated/google/apis/appsmarket_v2/service.rb +24 -39
  16. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  17. data/generated/google/apis/cloudbuild_v1/classes.rb +14 -2
  18. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  19. data/generated/google/apis/cloudbuild_v1/service.rb +42 -0
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +12 -0
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
  23. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  24. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +12 -0
  25. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
  26. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  27. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  28. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  29. data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
  30. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  31. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
  32. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
  33. data/generated/google/apis/compute_alpha.rb +1 -1
  34. data/generated/google/apis/compute_alpha/classes.rb +63 -99
  35. data/generated/google/apis/compute_alpha/representations.rb +14 -32
  36. data/generated/google/apis/compute_alpha/service.rb +37 -0
  37. data/generated/google/apis/compute_beta.rb +1 -1
  38. data/generated/google/apis/compute_beta/classes.rb +51 -26
  39. data/generated/google/apis/compute_beta/representations.rb +3 -0
  40. data/generated/google/apis/compute_v1.rb +1 -1
  41. data/generated/google/apis/compute_v1/classes.rb +5 -5
  42. data/generated/google/apis/content_v2.rb +1 -1
  43. data/generated/google/apis/content_v2/classes.rb +34 -0
  44. data/generated/google/apis/content_v2/representations.rb +16 -0
  45. data/generated/google/apis/content_v2/service.rb +5 -1
  46. data/generated/google/apis/content_v2_1.rb +1 -1
  47. data/generated/google/apis/content_v2_1/classes.rb +357 -5
  48. data/generated/google/apis/content_v2_1/representations.rb +135 -0
  49. data/generated/google/apis/content_v2_1/service.rb +85 -1
  50. data/generated/google/apis/dataproc_v1.rb +1 -1
  51. data/generated/google/apis/dataproc_v1/classes.rb +22 -22
  52. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  53. data/generated/google/apis/dataproc_v1beta2/classes.rb +23 -23
  54. data/generated/google/apis/dialogflow_v2.rb +1 -1
  55. data/generated/google/apis/dialogflow_v2/classes.rb +9 -29
  56. data/generated/google/apis/dialogflow_v2/representations.rb +0 -4
  57. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  58. data/generated/google/apis/dialogflow_v2beta1/classes.rb +0 -28
  59. data/generated/google/apis/dialogflow_v2beta1/representations.rb +0 -4
  60. data/generated/google/apis/displayvideo_v1.rb +1 -1
  61. data/generated/google/apis/displayvideo_v1/classes.rb +463 -0
  62. data/generated/google/apis/displayvideo_v1/representations.rb +238 -0
  63. data/generated/google/apis/displayvideo_v1/service.rb +1718 -376
  64. data/generated/google/apis/file_v1.rb +1 -1
  65. data/generated/google/apis/file_v1/classes.rb +0 -1156
  66. data/generated/google/apis/file_v1/representations.rb +0 -381
  67. data/generated/google/apis/file_v1beta1.rb +1 -1
  68. data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
  69. data/generated/google/apis/file_v1beta1/representations.rb +14 -376
  70. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  71. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
  72. data/generated/google/apis/fitness_v1.rb +1 -1
  73. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  74. data/generated/google/apis/games_v1.rb +1 -1
  75. data/generated/google/apis/healthcare_v1.rb +1 -1
  76. data/generated/google/apis/healthcare_v1/classes.rb +3 -3
  77. data/generated/google/apis/healthcare_v1/service.rb +3 -3
  78. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  79. data/generated/google/apis/healthcare_v1beta1/classes.rb +3 -3
  80. data/generated/google/apis/healthcare_v1beta1/service.rb +3 -3
  81. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  82. data/generated/google/apis/memcache_v1beta2/classes.rb +36 -5
  83. data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
  84. data/generated/google/apis/people_v1.rb +1 -1
  85. data/generated/google/apis/people_v1/classes.rb +100 -0
  86. data/generated/google/apis/people_v1/representations.rb +31 -0
  87. data/generated/google/apis/people_v1/service.rb +95 -2
  88. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  89. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
  90. data/generated/google/apis/pubsub_v1.rb +1 -1
  91. data/generated/google/apis/pubsub_v1/classes.rb +15 -1
  92. data/generated/google/apis/pubsub_v1/representations.rb +12 -0
  93. data/generated/google/apis/pubsub_v1/service.rb +35 -1
  94. data/generated/google/apis/{dialogflow_v3alpha1.rb → recommender_v1.rb} +9 -13
  95. data/generated/google/apis/recommender_v1/classes.rb +505 -0
  96. data/generated/google/apis/recommender_v1/representations.rb +232 -0
  97. data/generated/google/apis/recommender_v1/service.rb +266 -0
  98. data/generated/google/apis/run_v1.rb +1 -1
  99. data/generated/google/apis/run_v1/classes.rb +9 -0
  100. data/generated/google/apis/run_v1/representations.rb +1 -0
  101. data/generated/google/apis/run_v1alpha1.rb +1 -1
  102. data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
  103. data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
  104. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  105. data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
  106. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  107. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +97 -0
  108. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
  109. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  110. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +97 -0
  111. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +32 -0
  112. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  113. data/generated/google/apis/servicecontrol_v1/classes.rb +3 -3
  114. data/generated/google/apis/serviceusage_v1.rb +1 -1
  115. data/generated/google/apis/serviceusage_v1/classes.rb +89 -0
  116. data/generated/google/apis/serviceusage_v1/representations.rb +32 -0
  117. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  118. data/generated/google/apis/serviceusage_v1beta1/classes.rb +89 -0
  119. data/generated/google/apis/serviceusage_v1beta1/representations.rb +32 -0
  120. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  121. data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
  122. data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
  123. data/generated/google/apis/spanner_v1.rb +1 -1
  124. data/generated/google/apis/spanner_v1/classes.rb +1 -2
  125. data/generated/google/apis/spanner_v1/service.rb +8 -8
  126. data/generated/google/apis/sql_v1beta4.rb +1 -1
  127. data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
  128. data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
  129. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  130. data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
  131. data/generated/google/apis/testing_v1.rb +1 -1
  132. data/generated/google/apis/testing_v1/classes.rb +2 -1
  133. data/generated/google/apis/videointelligence_v1.rb +1 -1
  134. data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
  135. data/generated/google/apis/videointelligence_v1/service.rb +32 -0
  136. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  137. data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
  138. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  139. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
  140. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  141. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
  142. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  143. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
  144. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  145. data/lib/google/apis/core/api_command.rb +12 -7
  146. data/lib/google/apis/options.rb +5 -1
  147. data/lib/google/apis/version.rb +1 -1
  148. metadata +7 -7
  149. data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
  150. data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
  151. data/generated/google/apis/dialogflow_v3alpha1/service.rb +0 -296
@@ -1,296 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'google/apis/core/base_service'
16
- require 'google/apis/core/json_representation'
17
- require 'google/apis/core/hashable'
18
- require 'google/apis/errors'
19
-
20
- module Google
21
- module Apis
22
- module DialogflowV3alpha1
23
- # Dialogflow API
24
- #
25
- # Builds conversational interfaces (for example, chatbots, and voice-powered
26
- # apps and devices).
27
- #
28
- # @example
29
- # require 'google/apis/dialogflow_v3alpha1'
30
- #
31
- # Dialogflow = Google::Apis::DialogflowV3alpha1 # Alias the module
32
- # service = Dialogflow::DialogflowService.new
33
- #
34
- # @see https://cloud.google.com/dialogflow/
35
- class DialogflowService < Google::Apis::Core::BaseService
36
- # @return [String]
37
- # API key. Your API key identifies your project and provides you with API access,
38
- # quota, and reports. Required unless you provide an OAuth 2.0 token.
39
- attr_accessor :key
40
-
41
- # @return [String]
42
- # Available to use for quota purposes for server-side applications. Can be any
43
- # arbitrary string assigned to a user, but should not exceed 40 characters.
44
- attr_accessor :quota_user
45
-
46
- def initialize
47
- super('https://dialogflow.googleapis.com/', '')
48
- @batch_path = 'batch'
49
- end
50
-
51
- # Starts asynchronous cancellation on a long-running operation. The server
52
- # makes a best effort to cancel the operation, but success is not
53
- # guaranteed. If the server doesn't support this method, it returns
54
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
55
- # Operations.GetOperation or
56
- # other methods to check whether the cancellation succeeded or whether the
57
- # operation completed despite cancellation. On successful cancellation,
58
- # the operation is not deleted; instead, it becomes an operation with
59
- # an Operation.error value with a google.rpc.Status.code of 1,
60
- # corresponding to `Code.CANCELLED`.
61
- # @param [String] name
62
- # The name of the operation resource to be cancelled.
63
- # @param [String] fields
64
- # Selector specifying which fields to include in a partial response.
65
- # @param [String] quota_user
66
- # Available to use for quota purposes for server-side applications. Can be any
67
- # arbitrary string assigned to a user, but should not exceed 40 characters.
68
- # @param [Google::Apis::RequestOptions] options
69
- # Request-specific options
70
- #
71
- # @yield [result, err] Result & error if block supplied
72
- # @yieldparam result [Google::Apis::DialogflowV3alpha1::GoogleProtobufEmpty] parsed result object
73
- # @yieldparam err [StandardError] error object if request failed
74
- #
75
- # @return [Google::Apis::DialogflowV3alpha1::GoogleProtobufEmpty]
76
- #
77
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
78
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
79
- # @raise [Google::Apis::AuthorizationError] Authorization is required
80
- def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
81
- command = make_simple_command(:post, 'v3alpha1/{+name}:cancel', options)
82
- command.response_representation = Google::Apis::DialogflowV3alpha1::GoogleProtobufEmpty::Representation
83
- command.response_class = Google::Apis::DialogflowV3alpha1::GoogleProtobufEmpty
84
- command.params['name'] = name unless name.nil?
85
- command.query['fields'] = fields unless fields.nil?
86
- command.query['quotaUser'] = quota_user unless quota_user.nil?
87
- execute_or_queue_command(command, &block)
88
- end
89
-
90
- # Gets the latest state of a long-running operation. Clients can use this
91
- # method to poll the operation result at intervals as recommended by the API
92
- # service.
93
- # @param [String] name
94
- # The name of the operation resource.
95
- # @param [String] fields
96
- # Selector specifying which fields to include in a partial response.
97
- # @param [String] quota_user
98
- # Available to use for quota purposes for server-side applications. Can be any
99
- # arbitrary string assigned to a user, but should not exceed 40 characters.
100
- # @param [Google::Apis::RequestOptions] options
101
- # Request-specific options
102
- #
103
- # @yield [result, err] Result & error if block supplied
104
- # @yieldparam result [Google::Apis::DialogflowV3alpha1::GoogleLongrunningOperation] parsed result object
105
- # @yieldparam err [StandardError] error object if request failed
106
- #
107
- # @return [Google::Apis::DialogflowV3alpha1::GoogleLongrunningOperation]
108
- #
109
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
110
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
111
- # @raise [Google::Apis::AuthorizationError] Authorization is required
112
- def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
113
- command = make_simple_command(:get, 'v3alpha1/{+name}', options)
114
- command.response_representation = Google::Apis::DialogflowV3alpha1::GoogleLongrunningOperation::Representation
115
- command.response_class = Google::Apis::DialogflowV3alpha1::GoogleLongrunningOperation
116
- command.params['name'] = name unless name.nil?
117
- command.query['fields'] = fields unless fields.nil?
118
- command.query['quotaUser'] = quota_user unless quota_user.nil?
119
- execute_or_queue_command(command, &block)
120
- end
121
-
122
- # Lists operations that match the specified filter in the request. If the
123
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
124
- # NOTE: the `name` binding allows API services to override the binding
125
- # to use different resource name schemes, such as `users/*/operations`. To
126
- # override the binding, API services can add a binding such as
127
- # `"/v1/`name=users/*`/operations"` to their service configuration.
128
- # For backwards compatibility, the default name includes the operations
129
- # collection id, however overriding users must ensure the name binding
130
- # is the parent resource, without the operations collection id.
131
- # @param [String] name
132
- # The name of the operation's parent resource.
133
- # @param [String] filter
134
- # The standard list filter.
135
- # @param [Fixnum] page_size
136
- # The standard list page size.
137
- # @param [String] page_token
138
- # The standard list page token.
139
- # @param [String] fields
140
- # Selector specifying which fields to include in a partial response.
141
- # @param [String] quota_user
142
- # Available to use for quota purposes for server-side applications. Can be any
143
- # arbitrary string assigned to a user, but should not exceed 40 characters.
144
- # @param [Google::Apis::RequestOptions] options
145
- # Request-specific options
146
- #
147
- # @yield [result, err] Result & error if block supplied
148
- # @yieldparam result [Google::Apis::DialogflowV3alpha1::GoogleLongrunningListOperationsResponse] parsed result object
149
- # @yieldparam err [StandardError] error object if request failed
150
- #
151
- # @return [Google::Apis::DialogflowV3alpha1::GoogleLongrunningListOperationsResponse]
152
- #
153
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
154
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
155
- # @raise [Google::Apis::AuthorizationError] Authorization is required
156
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
157
- command = make_simple_command(:get, 'v3alpha1/{+name}/operations', options)
158
- command.response_representation = Google::Apis::DialogflowV3alpha1::GoogleLongrunningListOperationsResponse::Representation
159
- command.response_class = Google::Apis::DialogflowV3alpha1::GoogleLongrunningListOperationsResponse
160
- command.params['name'] = name unless name.nil?
161
- command.query['filter'] = filter unless filter.nil?
162
- command.query['pageSize'] = page_size unless page_size.nil?
163
- command.query['pageToken'] = page_token unless page_token.nil?
164
- command.query['fields'] = fields unless fields.nil?
165
- command.query['quotaUser'] = quota_user unless quota_user.nil?
166
- execute_or_queue_command(command, &block)
167
- end
168
-
169
- # Starts asynchronous cancellation on a long-running operation. The server
170
- # makes a best effort to cancel the operation, but success is not
171
- # guaranteed. If the server doesn't support this method, it returns
172
- # `google.rpc.Code.UNIMPLEMENTED`. Clients can use
173
- # Operations.GetOperation or
174
- # other methods to check whether the cancellation succeeded or whether the
175
- # operation completed despite cancellation. On successful cancellation,
176
- # the operation is not deleted; instead, it becomes an operation with
177
- # an Operation.error value with a google.rpc.Status.code of 1,
178
- # corresponding to `Code.CANCELLED`.
179
- # @param [String] name
180
- # The name of the operation resource to be cancelled.
181
- # @param [String] fields
182
- # Selector specifying which fields to include in a partial response.
183
- # @param [String] quota_user
184
- # Available to use for quota purposes for server-side applications. Can be any
185
- # arbitrary string assigned to a user, but should not exceed 40 characters.
186
- # @param [Google::Apis::RequestOptions] options
187
- # Request-specific options
188
- #
189
- # @yield [result, err] Result & error if block supplied
190
- # @yieldparam result [Google::Apis::DialogflowV3alpha1::GoogleProtobufEmpty] parsed result object
191
- # @yieldparam err [StandardError] error object if request failed
192
- #
193
- # @return [Google::Apis::DialogflowV3alpha1::GoogleProtobufEmpty]
194
- #
195
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
196
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
197
- # @raise [Google::Apis::AuthorizationError] Authorization is required
198
- def cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
199
- command = make_simple_command(:post, 'v3alpha1/{+name}:cancel', options)
200
- command.response_representation = Google::Apis::DialogflowV3alpha1::GoogleProtobufEmpty::Representation
201
- command.response_class = Google::Apis::DialogflowV3alpha1::GoogleProtobufEmpty
202
- command.params['name'] = name unless name.nil?
203
- command.query['fields'] = fields unless fields.nil?
204
- command.query['quotaUser'] = quota_user unless quota_user.nil?
205
- execute_or_queue_command(command, &block)
206
- end
207
-
208
- # Gets the latest state of a long-running operation. Clients can use this
209
- # method to poll the operation result at intervals as recommended by the API
210
- # service.
211
- # @param [String] name
212
- # The name of the operation resource.
213
- # @param [String] fields
214
- # Selector specifying which fields to include in a partial response.
215
- # @param [String] quota_user
216
- # Available to use for quota purposes for server-side applications. Can be any
217
- # arbitrary string assigned to a user, but should not exceed 40 characters.
218
- # @param [Google::Apis::RequestOptions] options
219
- # Request-specific options
220
- #
221
- # @yield [result, err] Result & error if block supplied
222
- # @yieldparam result [Google::Apis::DialogflowV3alpha1::GoogleLongrunningOperation] parsed result object
223
- # @yieldparam err [StandardError] error object if request failed
224
- #
225
- # @return [Google::Apis::DialogflowV3alpha1::GoogleLongrunningOperation]
226
- #
227
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
228
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
229
- # @raise [Google::Apis::AuthorizationError] Authorization is required
230
- def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
231
- command = make_simple_command(:get, 'v3alpha1/{+name}', options)
232
- command.response_representation = Google::Apis::DialogflowV3alpha1::GoogleLongrunningOperation::Representation
233
- command.response_class = Google::Apis::DialogflowV3alpha1::GoogleLongrunningOperation
234
- command.params['name'] = name unless name.nil?
235
- command.query['fields'] = fields unless fields.nil?
236
- command.query['quotaUser'] = quota_user unless quota_user.nil?
237
- execute_or_queue_command(command, &block)
238
- end
239
-
240
- # Lists operations that match the specified filter in the request. If the
241
- # server doesn't support this method, it returns `UNIMPLEMENTED`.
242
- # NOTE: the `name` binding allows API services to override the binding
243
- # to use different resource name schemes, such as `users/*/operations`. To
244
- # override the binding, API services can add a binding such as
245
- # `"/v1/`name=users/*`/operations"` to their service configuration.
246
- # For backwards compatibility, the default name includes the operations
247
- # collection id, however overriding users must ensure the name binding
248
- # is the parent resource, without the operations collection id.
249
- # @param [String] name
250
- # The name of the operation's parent resource.
251
- # @param [String] filter
252
- # The standard list filter.
253
- # @param [Fixnum] page_size
254
- # The standard list page size.
255
- # @param [String] page_token
256
- # The standard list page token.
257
- # @param [String] fields
258
- # Selector specifying which fields to include in a partial response.
259
- # @param [String] quota_user
260
- # Available to use for quota purposes for server-side applications. Can be any
261
- # arbitrary string assigned to a user, but should not exceed 40 characters.
262
- # @param [Google::Apis::RequestOptions] options
263
- # Request-specific options
264
- #
265
- # @yield [result, err] Result & error if block supplied
266
- # @yieldparam result [Google::Apis::DialogflowV3alpha1::GoogleLongrunningListOperationsResponse] parsed result object
267
- # @yieldparam err [StandardError] error object if request failed
268
- #
269
- # @return [Google::Apis::DialogflowV3alpha1::GoogleLongrunningListOperationsResponse]
270
- #
271
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
272
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
273
- # @raise [Google::Apis::AuthorizationError] Authorization is required
274
- def list_project_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
275
- command = make_simple_command(:get, 'v3alpha1/{+name}/operations', options)
276
- command.response_representation = Google::Apis::DialogflowV3alpha1::GoogleLongrunningListOperationsResponse::Representation
277
- command.response_class = Google::Apis::DialogflowV3alpha1::GoogleLongrunningListOperationsResponse
278
- command.params['name'] = name unless name.nil?
279
- command.query['filter'] = filter unless filter.nil?
280
- command.query['pageSize'] = page_size unless page_size.nil?
281
- command.query['pageToken'] = page_token unless page_token.nil?
282
- command.query['fields'] = fields unless fields.nil?
283
- command.query['quotaUser'] = quota_user unless quota_user.nil?
284
- execute_or_queue_command(command, &block)
285
- end
286
-
287
- protected
288
-
289
- def apply_command_defaults(command)
290
- command.query['key'] = key unless key.nil?
291
- command.query['quotaUser'] = quota_user unless quota_user.nil?
292
- end
293
- end
294
- end
295
- end
296
- end