google-api-client 0.52.0 → 0.53.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.
Files changed (264) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +0 -14
  3. data/CHANGELOG.md +6 -0
  4. data/OVERVIEW.md +36 -27
  5. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  6. data/generated/google/apis/accesscontextmanager_v1/classes.rb +326 -0
  7. data/generated/google/apis/accesscontextmanager_v1/representations.rb +139 -0
  8. data/generated/google/apis/admin_directory_v1.rb +1 -1
  9. data/generated/google/apis/admin_directory_v1/service.rb +2 -2
  10. data/generated/google/apis/analyticsadmin_v1alpha.rb +2 -2
  11. data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +8 -0
  12. data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +1 -0
  13. data/generated/google/apis/analyticsadmin_v1alpha/service.rb +12 -1
  14. data/{lib/google/apis/core/logging.rb → generated/google/apis/apigateway_v1.rb} +14 -10
  15. data/generated/google/apis/apigateway_v1/classes.rb +1116 -0
  16. data/generated/google/apis/apigateway_v1/representations.rb +442 -0
  17. data/generated/google/apis/apigateway_v1/service.rb +1172 -0
  18. data/generated/google/apis/apigateway_v1beta.rb +1 -1
  19. data/generated/google/apis/apigateway_v1beta/classes.rb +19 -8
  20. data/generated/google/apis/apigateway_v1beta/representations.rb +1 -0
  21. data/generated/google/apis/apigee_v1.rb +1 -1
  22. data/generated/google/apis/apigee_v1/classes.rb +24 -22
  23. data/generated/google/apis/apigee_v1/service.rb +50 -48
  24. data/generated/google/apis/artifactregistry_v1.rb +38 -0
  25. data/generated/google/apis/artifactregistry_v1/classes.rb +242 -0
  26. data/generated/google/apis/artifactregistry_v1/representations.rb +116 -0
  27. data/generated/google/apis/artifactregistry_v1/service.rb +210 -0
  28. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  29. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +0 -120
  30. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +0 -62
  31. data/generated/google/apis/artifactregistry_v1beta2.rb +1 -1
  32. data/generated/google/apis/artifactregistry_v1beta2/classes.rb +0 -120
  33. data/generated/google/apis/artifactregistry_v1beta2/representations.rb +0 -62
  34. data/generated/google/apis/chat_v1.rb +1 -1
  35. data/generated/google/apis/chat_v1/service.rb +132 -0
  36. data/generated/google/apis/cloudasset_v1.rb +1 -1
  37. data/generated/google/apis/cloudasset_v1/classes.rb +326 -0
  38. data/generated/google/apis/cloudasset_v1/representations.rb +139 -0
  39. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  40. data/generated/google/apis/cloudasset_v1beta1/classes.rb +326 -0
  41. data/generated/google/apis/cloudasset_v1beta1/representations.rb +139 -0
  42. data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
  43. data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +326 -0
  44. data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +139 -0
  45. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  46. data/generated/google/apis/cloudbuild_v1/classes.rb +3 -3
  47. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  48. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +3 -3
  49. data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
  50. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +3 -3
  51. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  52. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  53. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  54. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +0 -26
  55. data/generated/google/apis/cloudresourcemanager_v1/representations.rb +0 -24
  56. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  57. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +0 -26
  58. data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +0 -24
  59. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  60. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +0 -26
  61. data/generated/google/apis/cloudresourcemanager_v2/representations.rb +0 -24
  62. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  63. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +0 -26
  64. data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +0 -24
  65. data/generated/google/apis/container_v1.rb +1 -1
  66. data/generated/google/apis/container_v1/classes.rb +7 -7
  67. data/generated/google/apis/container_v1beta1.rb +1 -1
  68. data/generated/google/apis/container_v1beta1/classes.rb +7 -7
  69. data/generated/google/apis/content_v2_1.rb +1 -1
  70. data/generated/google/apis/content_v2_1/classes.rb +434 -0
  71. data/generated/google/apis/content_v2_1/representations.rb +187 -0
  72. data/generated/google/apis/content_v2_1/service.rb +116 -0
  73. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  74. data/generated/google/apis/datacatalog_v1beta1/classes.rb +6 -0
  75. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  76. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  77. data/generated/google/apis/datalabeling_v1beta1.rb +1 -1
  78. data/generated/google/apis/dataproc_v1.rb +1 -1
  79. data/generated/google/apis/dataproc_v1/classes.rb +29 -1
  80. data/generated/google/apis/dataproc_v1/representations.rb +14 -0
  81. data/generated/google/apis/dataproc_v1/service.rb +42 -0
  82. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  83. data/generated/google/apis/dataproc_v1beta2/classes.rb +29 -1
  84. data/generated/google/apis/dataproc_v1beta2/representations.rb +14 -0
  85. data/generated/google/apis/dataproc_v1beta2/service.rb +42 -0
  86. data/generated/google/apis/dialogflow_v2.rb +1 -1
  87. data/generated/google/apis/dialogflow_v2/classes.rb +4041 -678
  88. data/generated/google/apis/dialogflow_v2/representations.rb +1851 -298
  89. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  90. data/generated/google/apis/dialogflow_v2beta1/classes.rb +4047 -684
  91. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1862 -309
  92. data/generated/google/apis/dialogflow_v3.rb +1 -1
  93. data/generated/google/apis/dialogflow_v3/classes.rb +3120 -311
  94. data/generated/google/apis/dialogflow_v3/representations.rb +2002 -617
  95. data/generated/google/apis/dialogflow_v3/service.rb +408 -0
  96. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  97. data/generated/google/apis/dialogflow_v3beta1/classes.rb +5145 -2336
  98. data/generated/google/apis/dialogflow_v3beta1/representations.rb +1729 -344
  99. data/generated/google/apis/dialogflow_v3beta1/service.rb +408 -0
  100. data/generated/google/apis/dlp_v2.rb +1 -1
  101. data/generated/google/apis/dlp_v2/service.rb +3 -9
  102. data/generated/google/apis/documentai_v1beta2.rb +1 -1
  103. data/generated/google/apis/documentai_v1beta2/classes.rb +5 -92
  104. data/generated/google/apis/documentai_v1beta2/representations.rb +2 -15
  105. data/generated/google/apis/documentai_v1beta3.rb +1 -1
  106. data/generated/google/apis/documentai_v1beta3/classes.rb +5 -92
  107. data/generated/google/apis/documentai_v1beta3/representations.rb +2 -15
  108. data/generated/google/apis/gameservices_v1.rb +1 -1
  109. data/generated/google/apis/gameservices_v1/service.rb +14 -14
  110. data/generated/google/apis/gameservices_v1beta.rb +1 -1
  111. data/generated/google/apis/gameservices_v1beta/service.rb +14 -14
  112. data/generated/google/apis/localservices_v1.rb +4 -1
  113. data/generated/google/apis/manufacturers_v1.rb +1 -1
  114. data/generated/google/apis/manufacturers_v1/classes.rb +2 -2
  115. data/generated/google/apis/monitoring_v3.rb +1 -1
  116. data/generated/google/apis/monitoring_v3/classes.rb +2 -2
  117. data/generated/google/apis/notebooks_v1.rb +1 -1
  118. data/generated/google/apis/notebooks_v1/classes.rb +13 -0
  119. data/generated/google/apis/notebooks_v1/representations.rb +12 -0
  120. data/generated/google/apis/notebooks_v1/service.rb +34 -0
  121. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  122. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +0 -37
  123. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +0 -18
  124. data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
  125. data/generated/google/apis/recommendationengine_v1beta1/service.rb +2 -1
  126. data/generated/google/apis/securitycenter_v1.rb +1 -1
  127. data/generated/google/apis/securitycenter_v1/classes.rb +18 -10
  128. data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
  129. data/generated/google/apis/securitycenter_v1/service.rb +30 -30
  130. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  131. data/generated/google/apis/securitycenter_v1beta1/classes.rb +7 -0
  132. data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
  133. data/generated/google/apis/securitycenter_v1beta2.rb +1 -1
  134. data/generated/google/apis/securitycenter_v1beta2/classes.rb +7 -0
  135. data/generated/google/apis/securitycenter_v1beta2/representations.rb +1 -0
  136. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  137. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -10
  138. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  139. data/generated/google/apis/sqladmin_v1beta4/classes.rb +7 -7
  140. data/generated/google/apis/sqladmin_v1beta4/service.rb +4 -1
  141. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  142. data/generated/google/apis/storagetransfer_v1/classes.rb +25 -0
  143. data/generated/google/apis/storagetransfer_v1/representations.rb +3 -0
  144. data/generated/google/apis/webmasters_v3/classes.rb +8 -0
  145. data/generated/google/apis/webmasters_v3/representations.rb +1 -0
  146. data/generated/google/apis/youtube_v3.rb +1 -1
  147. data/generated/google/apis/youtube_v3/classes.rb +18 -143
  148. data/generated/google/apis/youtube_v3/representations.rb +0 -57
  149. data/generated/google/apis/youtube_v3/service.rb +0 -43
  150. data/lib/google/apis/version.rb +1 -23
  151. metadata +27 -263
  152. data/.github/CONTRIBUTING.md +0 -31
  153. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -36
  154. data/.github/ISSUE_TEMPLATE/feature_request.md +0 -21
  155. data/.github/ISSUE_TEMPLATE/support_request.md +0 -7
  156. data/.github/workflows/autoapprove.yml +0 -49
  157. data/.github/workflows/release-please.yml +0 -57
  158. data/.gitignore +0 -23
  159. data/.kokoro/build.bat +0 -11
  160. data/.kokoro/build.sh +0 -4
  161. data/.kokoro/continuous/common.cfg +0 -25
  162. data/.kokoro/continuous/linux.cfg +0 -25
  163. data/.kokoro/continuous/osx.cfg +0 -8
  164. data/.kokoro/continuous/post.cfg +0 -30
  165. data/.kokoro/continuous/windows.cfg +0 -29
  166. data/.kokoro/osx.sh +0 -4
  167. data/.kokoro/presubmit/common.cfg +0 -24
  168. data/.kokoro/presubmit/linux.cfg +0 -24
  169. data/.kokoro/presubmit/osx.cfg +0 -8
  170. data/.kokoro/presubmit/windows.cfg +0 -29
  171. data/.kokoro/release.cfg +0 -94
  172. data/.kokoro/trampoline.bat +0 -10
  173. data/.kokoro/trampoline.sh +0 -4
  174. data/.repo-metadata.json +0 -5
  175. data/.rspec +0 -2
  176. data/.rubocop.yml +0 -12
  177. data/.rubocop_todo.yml +0 -63
  178. data/CODE_OF_CONDUCT.md +0 -43
  179. data/Gemfile +0 -55
  180. data/MIGRATING.md +0 -215
  181. data/README.md +0 -402
  182. data/Rakefile +0 -131
  183. data/api_list_config.yaml +0 -9
  184. data/api_names.yaml +0 -1082
  185. data/bin/generate-api +0 -194
  186. data/docs/api-keys.md +0 -20
  187. data/docs/auth.md +0 -53
  188. data/docs/client-secrets.md +0 -69
  189. data/docs/getting-started.md +0 -340
  190. data/docs/installation.md +0 -0
  191. data/docs/logging.md +0 -34
  192. data/docs/media-upload.md +0 -25
  193. data/docs/oauth-installed.md +0 -191
  194. data/docs/oauth-server.md +0 -133
  195. data/docs/oauth-web.md +0 -280
  196. data/docs/oauth.md +0 -268
  197. data/docs/pagination.md +0 -29
  198. data/docs/performance.md +0 -25
  199. data/google-api-client.gemspec +0 -36
  200. data/lib/google/api_client/auth/installed_app.rb +0 -143
  201. data/lib/google/api_client/auth/key_utils.rb +0 -94
  202. data/lib/google/api_client/auth/storage.rb +0 -104
  203. data/lib/google/api_client/auth/storages/file_store.rb +0 -57
  204. data/lib/google/api_client/auth/storages/redis_store.rb +0 -59
  205. data/lib/google/api_client/client_secrets.rb +0 -176
  206. data/lib/google/apis.rb +0 -58
  207. data/lib/google/apis/core/api_command.rb +0 -209
  208. data/lib/google/apis/core/base_service.rb +0 -447
  209. data/lib/google/apis/core/batch.rb +0 -236
  210. data/lib/google/apis/core/composite_io.rb +0 -97
  211. data/lib/google/apis/core/download.rb +0 -118
  212. data/lib/google/apis/core/hashable.rb +0 -44
  213. data/lib/google/apis/core/http_command.rb +0 -447
  214. data/lib/google/apis/core/json_representation.rb +0 -153
  215. data/lib/google/apis/core/multipart.rb +0 -135
  216. data/lib/google/apis/core/upload.rb +0 -273
  217. data/lib/google/apis/errors.rb +0 -89
  218. data/lib/google/apis/generator.rb +0 -71
  219. data/lib/google/apis/generator/annotator.rb +0 -339
  220. data/lib/google/apis/generator/helpers.rb +0 -76
  221. data/lib/google/apis/generator/model.rb +0 -187
  222. data/lib/google/apis/generator/template.rb +0 -124
  223. data/lib/google/apis/generator/templates/_class.tmpl +0 -43
  224. data/lib/google/apis/generator/templates/_method.tmpl +0 -92
  225. data/lib/google/apis/generator/templates/_representation.tmpl +0 -51
  226. data/lib/google/apis/generator/templates/_representation_stub.tmpl +0 -17
  227. data/lib/google/apis/generator/templates/_representation_type.tmpl +0 -10
  228. data/lib/google/apis/generator/templates/classes.rb.tmpl +0 -29
  229. data/lib/google/apis/generator/templates/module.rb.tmpl +0 -40
  230. data/lib/google/apis/generator/templates/representations.rb.tmpl +0 -32
  231. data/lib/google/apis/generator/templates/service.rb.tmpl +0 -61
  232. data/lib/google/apis/options.rb +0 -116
  233. data/rakelib/devsite/devsite_builder.rb +0 -126
  234. data/rakelib/devsite/link_checker.rb +0 -64
  235. data/rakelib/devsite/repo_metadata.rb +0 -56
  236. data/rakelib/metrics.rake +0 -22
  237. data/rakelib/rubocop.rake +0 -10
  238. data/rakelib/spec.rake +0 -11
  239. data/rakelib/yard.rake +0 -11
  240. data/samples/cli/.env +0 -4
  241. data/samples/cli/Gemfile +0 -7
  242. data/samples/cli/README.md +0 -51
  243. data/samples/cli/google-api-samples +0 -32
  244. data/samples/cli/lib/base_cli.rb +0 -95
  245. data/samples/cli/lib/samples/adsense.rb +0 -99
  246. data/samples/cli/lib/samples/analytics.rb +0 -80
  247. data/samples/cli/lib/samples/androidpublisher.rb +0 -47
  248. data/samples/cli/lib/samples/bigquery.rb +0 -101
  249. data/samples/cli/lib/samples/calendar.rb +0 -83
  250. data/samples/cli/lib/samples/drive.rb +0 -82
  251. data/samples/cli/lib/samples/gmail.rb +0 -157
  252. data/samples/cli/lib/samples/pubsub.rb +0 -114
  253. data/samples/cli/lib/samples/sheets.rb +0 -61
  254. data/samples/cli/lib/samples/translate.rb +0 -44
  255. data/samples/cli/lib/samples/vision.rb +0 -69
  256. data/samples/cli/lib/samples/you_tube.rb +0 -47
  257. data/samples/web/Gemfile +0 -9
  258. data/samples/web/README.md +0 -44
  259. data/samples/web/app.rb +0 -120
  260. data/samples/web/views/calendar.erb +0 -34
  261. data/samples/web/views/drive.erb +0 -33
  262. data/samples/web/views/home.erb +0 -34
  263. data/samples/web/views/layout.erb +0 -40
  264. data/synth.py +0 -40
@@ -46,30 +46,6 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class GoogleDevtoolsArtifactregistryV1alpha1Package
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
49
  class HashProp
74
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
51
 
@@ -223,44 +199,6 @@ module Google
223
199
  end
224
200
  end
225
201
 
226
- class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
227
- # @private
228
- class Representation < Google::Apis::Core::JsonRepresentation
229
- property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta1::Status, decorator: Google::Apis::ArtifactregistryV1beta1::Status::Representation
230
-
231
- property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1GcsSource::Representation
232
-
233
- end
234
- end
235
-
236
- class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
237
- # @private
238
- class Representation < Google::Apis::Core::JsonRepresentation
239
- collection :uris, as: 'uris'
240
- property :use_wildcards, as: 'useWildcards'
241
- end
242
- end
243
-
244
- class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
245
- # @private
246
- class Representation < Google::Apis::Core::JsonRepresentation
247
- collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo::Representation
248
-
249
- collection :packages, as: 'packages', class: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1Package, decorator: Google::Apis::ArtifactregistryV1beta1::GoogleDevtoolsArtifactregistryV1alpha1Package::Representation
250
-
251
- end
252
- end
253
-
254
- class GoogleDevtoolsArtifactregistryV1alpha1Package
255
- # @private
256
- class Representation < Google::Apis::Core::JsonRepresentation
257
- property :create_time, as: 'createTime'
258
- property :display_name, as: 'displayName'
259
- property :name, as: 'name'
260
- property :update_time, as: 'updateTime'
261
- end
262
- end
263
-
264
202
  class HashProp
265
203
  # @private
266
204
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/artifacts/docs/
27
27
  module ArtifactregistryV1beta2
28
28
  VERSION = 'V1beta2'
29
- REVISION = '20201203'
29
+ REVISION = '20201215'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -214,126 +214,6 @@ module Google
214
214
  end
215
215
  end
216
216
 
217
- # Error information explaining why a package was not imported.
218
- class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
219
- include Google::Apis::Core::Hashable
220
-
221
- # The `Status` type defines a logical error model that is suitable for different
222
- # programming environments, including REST APIs and RPC APIs. It is used by [
223
- # gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
224
- # data: error code, error message, and error details. You can find out more
225
- # about this error model and how to work with it in the [API Design Guide](https:
226
- # //cloud.google.com/apis/design/errors).
227
- # Corresponds to the JSON property `error`
228
- # @return [Google::Apis::ArtifactregistryV1beta2::Status]
229
- attr_accessor :error
230
-
231
- # Google Cloud Storage location where the artifacts currently reside.
232
- # Corresponds to the JSON property `gcsSource`
233
- # @return [Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1GcsSource]
234
- attr_accessor :gcs_source
235
-
236
- def initialize(**args)
237
- update!(**args)
238
- end
239
-
240
- # Update properties of this object
241
- def update!(**args)
242
- @error = args[:error] if args.key?(:error)
243
- @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
244
- end
245
- end
246
-
247
- # Google Cloud Storage location where the artifacts currently reside.
248
- class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
249
- include Google::Apis::Core::Hashable
250
-
251
- # Cloud Storage paths URI (e.g., gs://my_bucket//my_object).
252
- # Corresponds to the JSON property `uris`
253
- # @return [Array<String>]
254
- attr_accessor :uris
255
-
256
- # Supports URI wildcards for matching multiple objects from a single URI.
257
- # Corresponds to the JSON property `useWildcards`
258
- # @return [Boolean]
259
- attr_accessor :use_wildcards
260
- alias_method :use_wildcards?, :use_wildcards
261
-
262
- def initialize(**args)
263
- update!(**args)
264
- end
265
-
266
- # Update properties of this object
267
- def update!(**args)
268
- @uris = args[:uris] if args.key?(:uris)
269
- @use_wildcards = args[:use_wildcards] if args.key?(:use_wildcards)
270
- end
271
- end
272
-
273
- # The response message from importing artifacts.
274
- class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
275
- include Google::Apis::Core::Hashable
276
-
277
- # Detailed error info for packages that were not imported.
278
- # Corresponds to the JSON property `errors`
279
- # @return [Array<Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo>]
280
- attr_accessor :errors
281
-
282
- # The packages updated.
283
- # Corresponds to the JSON property `packages`
284
- # @return [Array<Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1Package>]
285
- attr_accessor :packages
286
-
287
- def initialize(**args)
288
- update!(**args)
289
- end
290
-
291
- # Update properties of this object
292
- def update!(**args)
293
- @errors = args[:errors] if args.key?(:errors)
294
- @packages = args[:packages] if args.key?(:packages)
295
- end
296
- end
297
-
298
- # Packages are named collections of versions.
299
- class GoogleDevtoolsArtifactregistryV1alpha1Package
300
- include Google::Apis::Core::Hashable
301
-
302
- # The time when the package was created.
303
- # Corresponds to the JSON property `createTime`
304
- # @return [String]
305
- attr_accessor :create_time
306
-
307
- # The display name of the package.
308
- # Corresponds to the JSON property `displayName`
309
- # @return [String]
310
- attr_accessor :display_name
311
-
312
- # The name of the package, for example: "projects/p1/locations/us-central1/
313
- # repositories/repo1/packages/pkg1".
314
- # Corresponds to the JSON property `name`
315
- # @return [String]
316
- attr_accessor :name
317
-
318
- # The time when the package was last updated. This includes publishing a new
319
- # version of the package.
320
- # Corresponds to the JSON property `updateTime`
321
- # @return [String]
322
- attr_accessor :update_time
323
-
324
- def initialize(**args)
325
- update!(**args)
326
- end
327
-
328
- # Update properties of this object
329
- def update!(**args)
330
- @create_time = args[:create_time] if args.key?(:create_time)
331
- @display_name = args[:display_name] if args.key?(:display_name)
332
- @name = args[:name] if args.key?(:name)
333
- @update_time = args[:update_time] if args.key?(:update_time)
334
- end
335
- end
336
-
337
217
  # A hash of file content.
338
218
  class HashProp
339
219
  include Google::Apis::Core::Hashable
@@ -46,30 +46,6 @@ module Google
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
50
- class Representation < Google::Apis::Core::JsonRepresentation; end
51
-
52
- include Google::Apis::Core::JsonObjectSupport
53
- end
54
-
55
- class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
56
- class Representation < Google::Apis::Core::JsonRepresentation; end
57
-
58
- include Google::Apis::Core::JsonObjectSupport
59
- end
60
-
61
- class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
62
- class Representation < Google::Apis::Core::JsonRepresentation; end
63
-
64
- include Google::Apis::Core::JsonObjectSupport
65
- end
66
-
67
- class GoogleDevtoolsArtifactregistryV1alpha1Package
68
- class Representation < Google::Apis::Core::JsonRepresentation; end
69
-
70
- include Google::Apis::Core::JsonObjectSupport
71
- end
72
-
73
49
  class HashProp
74
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
51
 
@@ -223,44 +199,6 @@ module Google
223
199
  end
224
200
  end
225
201
 
226
- class GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo
227
- # @private
228
- class Representation < Google::Apis::Core::JsonRepresentation
229
- property :error, as: 'error', class: Google::Apis::ArtifactregistryV1beta2::Status, decorator: Google::Apis::ArtifactregistryV1beta2::Status::Representation
230
-
231
- property :gcs_source, as: 'gcsSource', class: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1GcsSource, decorator: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1GcsSource::Representation
232
-
233
- end
234
- end
235
-
236
- class GoogleDevtoolsArtifactregistryV1alpha1GcsSource
237
- # @private
238
- class Representation < Google::Apis::Core::JsonRepresentation
239
- collection :uris, as: 'uris'
240
- property :use_wildcards, as: 'useWildcards'
241
- end
242
- end
243
-
244
- class GoogleDevtoolsArtifactregistryV1alpha1ImportArtifactsResponse
245
- # @private
246
- class Representation < Google::Apis::Core::JsonRepresentation
247
- collection :errors, as: 'errors', class: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo, decorator: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1ErrorInfo::Representation
248
-
249
- collection :packages, as: 'packages', class: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1Package, decorator: Google::Apis::ArtifactregistryV1beta2::GoogleDevtoolsArtifactregistryV1alpha1Package::Representation
250
-
251
- end
252
- end
253
-
254
- class GoogleDevtoolsArtifactregistryV1alpha1Package
255
- # @private
256
- class Representation < Google::Apis::Core::JsonRepresentation
257
- property :create_time, as: 'createTime'
258
- property :display_name, as: 'displayName'
259
- property :name, as: 'name'
260
- property :update_time, as: 'updateTime'
261
- end
262
- end
263
-
264
202
  class HashProp
265
203
  # @private
266
204
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/hangouts/chat
26
26
  module ChatV1
27
27
  VERSION = 'V1'
28
- REVISION = '20201127'
28
+ REVISION = '20201211'
29
29
  end
30
30
  end
31
31
  end
@@ -91,6 +91,50 @@ module Google
91
91
  execute_or_queue_command(command, &block)
92
92
  end
93
93
 
94
+ # Legacy path for creating message. Calling these will result in a BadRequest
95
+ # response.
96
+ # @param [String] parent
97
+ # Required. Space resource name, in the form "spaces/*". Example: spaces/
98
+ # AAAAMpdlehY
99
+ # @param [Google::Apis::ChatV1::Message] message_object
100
+ # @param [String] thread_key
101
+ # Opaque thread identifier string that can be specified to group messages into a
102
+ # single thread. If this is the first message with a given thread identifier, a
103
+ # new thread is created. Subsequent messages with the same thread identifier
104
+ # will be posted into the same thread. This relieves bots and webhooks from
105
+ # having to store the Hangouts Chat thread ID of a thread (created earlier by
106
+ # them) to post further updates to it. Has no effect if thread field,
107
+ # corresponding to an existing thread, is set in message.
108
+ # @param [String] fields
109
+ # Selector specifying which fields to include in a partial response.
110
+ # @param [String] quota_user
111
+ # Available to use for quota purposes for server-side applications. Can be any
112
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
113
+ # @param [Google::Apis::RequestOptions] options
114
+ # Request-specific options
115
+ #
116
+ # @yield [result, err] Result & error if block supplied
117
+ # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
118
+ # @yieldparam err [StandardError] error object if request failed
119
+ #
120
+ # @return [Google::Apis::ChatV1::Message]
121
+ #
122
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
123
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
124
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
125
+ def webhooks_dm(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
126
+ command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
127
+ command.request_representation = Google::Apis::ChatV1::Message::Representation
128
+ command.request_object = message_object
129
+ command.response_representation = Google::Apis::ChatV1::Message::Representation
130
+ command.response_class = Google::Apis::ChatV1::Message
131
+ command.params['parent'] = parent unless parent.nil?
132
+ command.query['threadKey'] = thread_key unless thread_key.nil?
133
+ command.query['fields'] = fields unless fields.nil?
134
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
135
+ execute_or_queue_command(command, &block)
136
+ end
137
+
94
138
  # Legacy path for creating message. Calling these will result in a BadRequest
95
139
  # response.
96
140
  # @param [String] parent
@@ -217,6 +261,50 @@ module Google
217
261
  execute_or_queue_command(command, &block)
218
262
  end
219
263
 
264
+ # Legacy path for creating message. Calling these will result in a BadRequest
265
+ # response.
266
+ # @param [String] parent
267
+ # Required. Space resource name, in the form "spaces/*". Example: spaces/
268
+ # AAAAMpdlehY
269
+ # @param [Google::Apis::ChatV1::Message] message_object
270
+ # @param [String] thread_key
271
+ # Opaque thread identifier string that can be specified to group messages into a
272
+ # single thread. If this is the first message with a given thread identifier, a
273
+ # new thread is created. Subsequent messages with the same thread identifier
274
+ # will be posted into the same thread. This relieves bots and webhooks from
275
+ # having to store the Hangouts Chat thread ID of a thread (created earlier by
276
+ # them) to post further updates to it. Has no effect if thread field,
277
+ # corresponding to an existing thread, is set in message.
278
+ # @param [String] fields
279
+ # Selector specifying which fields to include in a partial response.
280
+ # @param [String] quota_user
281
+ # Available to use for quota purposes for server-side applications. Can be any
282
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
283
+ # @param [Google::Apis::RequestOptions] options
284
+ # Request-specific options
285
+ #
286
+ # @yield [result, err] Result & error if block supplied
287
+ # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
288
+ # @yieldparam err [StandardError] error object if request failed
289
+ #
290
+ # @return [Google::Apis::ChatV1::Message]
291
+ #
292
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
293
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
294
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
295
+ def webhooks_room(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
296
+ command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
297
+ command.request_representation = Google::Apis::ChatV1::Message::Representation
298
+ command.request_object = message_object
299
+ command.response_representation = Google::Apis::ChatV1::Message::Representation
300
+ command.response_class = Google::Apis::ChatV1::Message
301
+ command.params['parent'] = parent unless parent.nil?
302
+ command.query['threadKey'] = thread_key unless thread_key.nil?
303
+ command.query['fields'] = fields unless fields.nil?
304
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
305
+ execute_or_queue_command(command, &block)
306
+ end
307
+
220
308
  # Legacy path for creating message. Calling these will result in a BadRequest
221
309
  # response.
222
310
  # @param [String] parent
@@ -326,6 +414,50 @@ module Google
326
414
  execute_or_queue_command(command, &block)
327
415
  end
328
416
 
417
+ # Legacy path for creating message. Calling these will result in a BadRequest
418
+ # response.
419
+ # @param [String] parent
420
+ # Required. Space resource name, in the form "spaces/*". Example: spaces/
421
+ # AAAAMpdlehY
422
+ # @param [Google::Apis::ChatV1::Message] message_object
423
+ # @param [String] thread_key
424
+ # Opaque thread identifier string that can be specified to group messages into a
425
+ # single thread. If this is the first message with a given thread identifier, a
426
+ # new thread is created. Subsequent messages with the same thread identifier
427
+ # will be posted into the same thread. This relieves bots and webhooks from
428
+ # having to store the Hangouts Chat thread ID of a thread (created earlier by
429
+ # them) to post further updates to it. Has no effect if thread field,
430
+ # corresponding to an existing thread, is set in message.
431
+ # @param [String] fields
432
+ # Selector specifying which fields to include in a partial response.
433
+ # @param [String] quota_user
434
+ # Available to use for quota purposes for server-side applications. Can be any
435
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
436
+ # @param [Google::Apis::RequestOptions] options
437
+ # Request-specific options
438
+ #
439
+ # @yield [result, err] Result & error if block supplied
440
+ # @yieldparam result [Google::Apis::ChatV1::Message] parsed result object
441
+ # @yieldparam err [StandardError] error object if request failed
442
+ #
443
+ # @return [Google::Apis::ChatV1::Message]
444
+ #
445
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
446
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
447
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
448
+ def webhooks_space(parent, message_object = nil, thread_key: nil, fields: nil, quota_user: nil, options: nil, &block)
449
+ command = make_simple_command(:post, 'v1/{+parent}/webhooks', options)
450
+ command.request_representation = Google::Apis::ChatV1::Message::Representation
451
+ command.request_object = message_object
452
+ command.response_representation = Google::Apis::ChatV1::Message::Representation
453
+ command.response_class = Google::Apis::ChatV1::Message
454
+ command.params['parent'] = parent unless parent.nil?
455
+ command.query['threadKey'] = thread_key unless thread_key.nil?
456
+ command.query['fields'] = fields unless fields.nil?
457
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
458
+ execute_or_queue_command(command, &block)
459
+ end
460
+
329
461
  # Returns a membership.
330
462
  # @param [String] name
331
463
  # Required. Resource name of the membership to be retrieved, in the form "spaces/