google-api-client 0.36.0 → 0.36.1

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 (187) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +69 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +2 -1
  12. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  13. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
  14. data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
  16. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  17. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
  18. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  19. data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
  20. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  21. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  22. data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
  23. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  24. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
  25. data/generated/google/apis/chat_v1.rb +1 -1
  26. data/generated/google/apis/chat_v1/service.rb +5 -2
  27. data/generated/google/apis/cloudasset_v1.rb +1 -1
  28. data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
  29. data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
  30. data/generated/google/apis/cloudasset_v1/service.rb +174 -0
  31. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  32. data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
  33. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  34. data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
  35. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  36. data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
  37. data/generated/google/apis/cloudiot_v1.rb +1 -1
  38. data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
  39. data/generated/google/apis/cloudkms_v1.rb +1 -1
  40. data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
  41. data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
  42. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  43. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
  44. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  45. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
  46. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
  47. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  48. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
  49. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  50. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
  51. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  52. data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
  53. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  54. data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
  55. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  56. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
  57. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  58. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
  59. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  60. data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
  61. data/generated/google/apis/compute_alpha.rb +1 -1
  62. data/generated/google/apis/compute_alpha/classes.rb +68 -47
  63. data/generated/google/apis/compute_alpha/representations.rb +2 -1
  64. data/generated/google/apis/compute_alpha/service.rb +54 -0
  65. data/generated/google/apis/compute_beta.rb +1 -1
  66. data/generated/google/apis/compute_beta/classes.rb +597 -40
  67. data/generated/google/apis/compute_beta/representations.rb +164 -0
  68. data/generated/google/apis/compute_beta/service.rb +343 -1
  69. data/generated/google/apis/compute_v1.rb +1 -1
  70. data/generated/google/apis/compute_v1/classes.rb +54 -39
  71. data/generated/google/apis/compute_v1/representations.rb +1 -0
  72. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  73. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
  74. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  75. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
  76. data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
  77. data/generated/google/apis/content_v2.rb +1 -1
  78. data/generated/google/apis/content_v2/classes.rb +46 -42
  79. data/generated/google/apis/content_v2_1.rb +1 -1
  80. data/generated/google/apis/content_v2_1/classes.rb +46 -42
  81. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  82. data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
  83. data/generated/google/apis/datastore_v1.rb +1 -1
  84. data/generated/google/apis/datastore_v1/classes.rb +16 -22
  85. data/generated/google/apis/datastore_v1/service.rb +10 -10
  86. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  87. data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
  88. data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
  89. data/generated/google/apis/dfareporting_v3_4.rb +1 -1
  90. data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
  91. data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
  92. data/generated/google/apis/dialogflow_v2.rb +1 -1
  93. data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
  94. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  95. data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
  96. data/generated/google/apis/dlp_v2.rb +1 -1
  97. data/generated/google/apis/dlp_v2/classes.rb +77 -0
  98. data/generated/google/apis/dlp_v2/representations.rb +42 -0
  99. data/generated/google/apis/file_v1.rb +1 -1
  100. data/generated/google/apis/file_v1/classes.rb +59 -12
  101. data/generated/google/apis/file_v1/representations.rb +19 -2
  102. data/generated/google/apis/file_v1/service.rb +8 -4
  103. data/generated/google/apis/file_v1beta1.rb +1 -1
  104. data/generated/google/apis/file_v1beta1/classes.rb +59 -12
  105. data/generated/google/apis/file_v1beta1/representations.rb +19 -2
  106. data/generated/google/apis/file_v1beta1/service.rb +8 -4
  107. data/generated/google/apis/firebaserules_v1.rb +1 -1
  108. data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
  109. data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
  110. data/generated/google/apis/gmail_v1.rb +1 -1
  111. data/generated/google/apis/gmail_v1/classes.rb +6 -2
  112. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  113. data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
  114. data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
  115. data/generated/google/apis/iap_v1.rb +1 -1
  116. data/generated/google/apis/iap_v1/classes.rb +225 -40
  117. data/generated/google/apis/iap_v1/representations.rb +84 -0
  118. data/generated/google/apis/iap_v1/service.rb +292 -0
  119. data/generated/google/apis/iap_v1beta1.rb +1 -1
  120. data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
  121. data/generated/google/apis/logging_v2.rb +1 -1
  122. data/generated/google/apis/logging_v2/classes.rb +29 -41
  123. data/generated/google/apis/ml_v1.rb +1 -1
  124. data/generated/google/apis/ml_v1/classes.rb +14 -21
  125. data/generated/google/apis/ml_v1/service.rb +15 -18
  126. data/generated/google/apis/monitoring_v1.rb +1 -1
  127. data/generated/google/apis/monitoring_v1/classes.rb +15 -11
  128. data/generated/google/apis/monitoring_v3.rb +1 -1
  129. data/generated/google/apis/monitoring_v3/classes.rb +6 -10
  130. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  131. data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
  132. data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
  133. data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
  134. data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
  135. data/generated/google/apis/pubsub_v1.rb +1 -1
  136. data/generated/google/apis/pubsub_v1/classes.rb +75 -41
  137. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  138. data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
  139. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  140. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  141. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  142. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  143. data/generated/google/apis/run_v1.rb +1 -1
  144. data/generated/google/apis/run_v1/classes.rb +75 -41
  145. data/generated/google/apis/run_v1alpha1.rb +1 -1
  146. data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
  147. data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
  148. data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
  149. data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
  150. data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
  151. data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
  152. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  153. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
  154. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
  155. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  156. data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
  157. data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
  158. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  159. data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
  160. data/generated/google/apis/servicenetworking_v1/representations.rb +14 -0
  161. data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
  162. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  163. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -1
  164. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  165. data/generated/google/apis/serviceusage_v1.rb +1 -1
  166. data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
  167. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  168. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  169. data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
  170. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  171. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  172. data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
  173. data/generated/google/apis/testing_v1.rb +1 -1
  174. data/generated/google/apis/testing_v1/classes.rb +2 -2
  175. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  176. data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
  177. data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
  178. data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
  179. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  180. data/lib/google/apis/version.rb +1 -1
  181. metadata +11 -11
  182. data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
  183. data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
  184. data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
  185. data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
  186. data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
  187. data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
@@ -156,6 +156,8 @@ module Google
156
156
  class CloudSqlProperties
157
157
  # @private
158
158
  class Representation < Google::Apis::Core::JsonRepresentation
159
+ property :credential, as: 'credential', class: Google::Apis::BigqueryconnectionV1beta1::CloudSqlCredential, decorator: Google::Apis::BigqueryconnectionV1beta1::CloudSqlCredential::Representation
160
+
159
161
  property :database, as: 'database'
160
162
  property :instance_id, as: 'instanceId'
161
163
  property :type, as: 'type'
@@ -49,7 +49,7 @@ module Google
49
49
 
50
50
  # Creates a new connection.
51
51
  # @param [String] parent
52
- # Parent resource name.
52
+ # Required. Parent resource name.
53
53
  # Must be in the format `projects/`project_id`/locations/`location_id``
54
54
  # @param [Google::Apis::BigqueryconnectionV1beta1::Connection] connection_object
55
55
  # @param [String] connection_id
@@ -86,7 +86,7 @@ module Google
86
86
 
87
87
  # Deletes connection and associated credential.
88
88
  # @param [String] name
89
- # Name of the deleted connection, for example:
89
+ # Required. Name of the deleted connection, for example:
90
90
  # `projects/`project_id`/locations/`location_id`/connections/`connection_id``
91
91
  # @param [String] fields
92
92
  # Selector specifying which fields to include in a partial response.
@@ -117,7 +117,7 @@ module Google
117
117
 
118
118
  # Returns specified connection.
119
119
  # @param [String] name
120
- # Name of the requested connection, for example:
120
+ # Required. Name of the requested connection, for example:
121
121
  # `projects/`project_id`/locations/`location_id`/connections/`connection_id``
122
122
  # @param [String] fields
123
123
  # Selector specifying which fields to include in a partial response.
@@ -184,10 +184,10 @@ module Google
184
184
 
185
185
  # Returns a list of connections in the given project.
186
186
  # @param [String] parent
187
- # Parent resource name.
187
+ # Required. Parent resource name.
188
188
  # Must be in the form: `projects/`project_id`/locations/`location_id``
189
189
  # @param [Fixnum] max_results
190
- # Maximum number of results per page.
190
+ # Required. Maximum number of results per page.
191
191
  # @param [String] page_token
192
192
  # Page token.
193
193
  # @param [String] fields
@@ -222,11 +222,11 @@ module Google
222
222
  # Updates the specified connection. For security reasons, also resets
223
223
  # credential if connection properties are in the update field mask.
224
224
  # @param [String] name
225
- # Name of the connection to update, for example:
225
+ # Required. Name of the connection to update, for example:
226
226
  # `projects/`project_id`/locations/`location_id`/connections/`connection_id``
227
227
  # @param [Google::Apis::BigqueryconnectionV1beta1::Connection] connection_object
228
228
  # @param [String] update_mask
229
- # Update mask for the connection fields to be updated.
229
+ # Required. Update mask for the connection fields to be updated.
230
230
  # @param [String] fields
231
231
  # Selector specifying which fields to include in a partial response.
232
232
  # @param [String] quota_user
@@ -334,7 +334,7 @@ module Google
334
334
 
335
335
  # Sets the credential for the specified connection.
336
336
  # @param [String] name
337
- # Name of the connection, for example:
337
+ # Required. Name of the connection, for example:
338
338
  # `projects/`project_id`/locations/`location_id`/connections/`connection_id`/
339
339
  # credential`
340
340
  # @param [Google::Apis::BigqueryconnectionV1beta1::ConnectionCredential] connection_credential_object
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/bigquery/
27
27
  module BigquerydatatransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191103'
29
+ REVISION = '20191206'
30
30
 
31
31
  # View and manage your data in Google BigQuery
32
32
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -56,7 +56,8 @@ module Google
56
56
  # create a transfer config.
57
57
  # @param [String] name
58
58
  # Required. The data source in the form:
59
- # `projects/`project_id`/dataSources/`data_source_id``
59
+ # `projects/`project_id`/dataSources/`data_source_id`` or
60
+ # `projects/`project_id`/locations/`location_id`/dataSources/`data_source_id``.
60
61
  # @param [Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest] check_valid_creds_request_object
61
62
  # @param [String] fields
62
63
  # Selector specifying which fields to include in a partial response.
@@ -91,7 +92,8 @@ module Google
91
92
  # which can be used for UI rendering.
92
93
  # @param [String] name
93
94
  # Required. The field will contain name of the resource requested, for example:
94
- # `projects/`project_id`/dataSources/`data_source_id``
95
+ # `projects/`project_id`/dataSources/`data_source_id`` or
96
+ # `projects/`project_id`/locations/`location_id`/dataSources/`data_source_id``
95
97
  # @param [String] fields
96
98
  # Selector specifying which fields to include in a partial response.
97
99
  # @param [String] quota_user
@@ -123,7 +125,8 @@ module Google
123
125
  # which can be used for UI rendering.
124
126
  # @param [String] parent
125
127
  # Required. The BigQuery project id for which data sources should be returned.
126
- # Must be in the form: `projects/`project_id``
128
+ # Must be in the form: `projects/`project_id`` or
129
+ # `projects/`project_id`/locations/`location_id`
127
130
  # @param [Fixnum] page_size
128
131
  # Page size. The default page size is the maximum value of 1000 results.
129
132
  # @param [String] page_token
@@ -238,7 +241,8 @@ module Google
238
241
  # create a transfer config.
239
242
  # @param [String] name
240
243
  # Required. The data source in the form:
241
- # `projects/`project_id`/dataSources/`data_source_id``
244
+ # `projects/`project_id`/dataSources/`data_source_id`` or
245
+ # `projects/`project_id`/locations/`location_id`/dataSources/`data_source_id``.
242
246
  # @param [Google::Apis::BigquerydatatransferV1::CheckValidCredsRequest] check_valid_creds_request_object
243
247
  # @param [String] fields
244
248
  # Selector specifying which fields to include in a partial response.
@@ -273,7 +277,8 @@ module Google
273
277
  # which can be used for UI rendering.
274
278
  # @param [String] name
275
279
  # Required. The field will contain name of the resource requested, for example:
276
- # `projects/`project_id`/dataSources/`data_source_id``
280
+ # `projects/`project_id`/dataSources/`data_source_id`` or
281
+ # `projects/`project_id`/locations/`location_id`/dataSources/`data_source_id``
277
282
  # @param [String] fields
278
283
  # Selector specifying which fields to include in a partial response.
279
284
  # @param [String] quota_user
@@ -305,7 +310,8 @@ module Google
305
310
  # which can be used for UI rendering.
306
311
  # @param [String] parent
307
312
  # Required. The BigQuery project id for which data sources should be returned.
308
- # Must be in the form: `projects/`project_id``
313
+ # Must be in the form: `projects/`project_id`` or
314
+ # `projects/`project_id`/locations/`location_id`
309
315
  # @param [Fixnum] page_size
310
316
  # Page size. The default page size is the maximum value of 1000 results.
311
317
  # @param [String] page_token
@@ -347,9 +353,9 @@ module Google
347
353
  # @param [String] parent
348
354
  # Required. The BigQuery project id where the transfer configuration should be
349
355
  # created.
350
- # Must be in the format projects/`project_id`/locations/`location_id`
351
- # If specified location and location of the destination bigquery dataset
352
- # do not match - the request will fail.
356
+ # Must be in the format projects/`project_id`/locations/`location_id` or
357
+ # projects/`project_id`. If specified location and location of the
358
+ # destination bigquery dataset do not match - the request will fail.
353
359
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
354
360
  # @param [String] authorization_code
355
361
  # Optional OAuth2 authorization code to use with this transfer configuration.
@@ -416,7 +422,8 @@ module Google
416
422
  # including any associated transfer runs and logs.
417
423
  # @param [String] name
418
424
  # Required. The field will contain name of the resource requested, for example:
419
- # `projects/`project_id`/transferConfigs/`config_id``
425
+ # `projects/`project_id`/transferConfigs/`config_id`` or
426
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``
420
427
  # @param [String] fields
421
428
  # Selector specifying which fields to include in a partial response.
422
429
  # @param [String] quota_user
@@ -447,7 +454,8 @@ module Google
447
454
  # Returns information about a data transfer config.
448
455
  # @param [String] name
449
456
  # Required. The field will contain name of the resource requested, for example:
450
- # `projects/`project_id`/transferConfigs/`config_id``
457
+ # `projects/`project_id`/transferConfigs/`config_id`` or
458
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``
451
459
  # @param [String] fields
452
460
  # Selector specifying which fields to include in a partial response.
453
461
  # @param [String] quota_user
@@ -478,7 +486,8 @@ module Google
478
486
  # Returns information about all data transfers in the project.
479
487
  # @param [String] parent
480
488
  # Required. The BigQuery project id for which data sources
481
- # should be returned: `projects/`project_id``.
489
+ # should be returned: `projects/`project_id`` or
490
+ # `projects/`project_id`/locations/`location_id``
482
491
  # @param [Array<String>, String] data_source_ids
483
492
  # When specified, only configurations of requested data sources are returned.
484
493
  # @param [Fixnum] page_size
@@ -602,7 +611,8 @@ module Google
602
611
  # DEPRECATED: use StartManualTransferRuns instead.
603
612
  # @param [String] parent
604
613
  # Required. Transfer configuration name in the form:
605
- # `projects/`project_id`/transferConfigs/`config_id``.
614
+ # `projects/`project_id`/transferConfigs/`config_id`` or
615
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
606
616
  # @param [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest] schedule_transfer_runs_request_object
607
617
  # @param [String] fields
608
618
  # Selector specifying which fields to include in a partial response.
@@ -639,7 +649,8 @@ module Google
639
649
  # a specific run_time.
640
650
  # @param [String] parent
641
651
  # Transfer configuration name in the form:
642
- # `projects/`project_id`/transferConfigs/`config_id``.
652
+ # `projects/`project_id`/transferConfigs/`config_id`` or
653
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
643
654
  # @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
644
655
  # @param [String] fields
645
656
  # Selector specifying which fields to include in a partial response.
@@ -673,7 +684,9 @@ module Google
673
684
  # Deletes the specified transfer run.
674
685
  # @param [String] name
675
686
  # Required. The field will contain name of the resource requested, for example:
676
- # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id``
687
+ # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
688
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
689
+ # runs/`run_id``
677
690
  # @param [String] fields
678
691
  # Selector specifying which fields to include in a partial response.
679
692
  # @param [String] quota_user
@@ -704,7 +717,9 @@ module Google
704
717
  # Returns information about the particular transfer run.
705
718
  # @param [String] name
706
719
  # Required. The field will contain name of the resource requested, for example:
707
- # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id``
720
+ # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
721
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
722
+ # runs/`run_id``
708
723
  # @param [String] fields
709
724
  # Selector specifying which fields to include in a partial response.
710
725
  # @param [String] quota_user
@@ -737,7 +752,8 @@ module Google
737
752
  # Required. Name of transfer configuration for which transfer runs should be
738
753
  # retrieved.
739
754
  # Format of transfer configuration resource name is:
740
- # `projects/`project_id`/transferConfigs/`config_id``.
755
+ # `projects/`project_id`/transferConfigs/`config_id`` or
756
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
741
757
  # @param [Fixnum] page_size
742
758
  # Page size. The default page size is the maximum value of 1000 results.
743
759
  # @param [String] page_token
@@ -784,7 +800,9 @@ module Google
784
800
  # Returns user facing log messages for the data transfer run.
785
801
  # @param [String] parent
786
802
  # Required. Transfer run name in the form:
787
- # `projects/`project_id`/transferConfigs/`config_Id`/runs/`run_id``.
803
+ # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
804
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
805
+ # runs/`run_id``
788
806
  # @param [Array<String>, String] message_types
789
807
  # Message types to return. If not populated - INFO, WARNING and ERROR
790
808
  # messages are returned.
@@ -830,9 +848,9 @@ module Google
830
848
  # @param [String] parent
831
849
  # Required. The BigQuery project id where the transfer configuration should be
832
850
  # created.
833
- # Must be in the format projects/`project_id`/locations/`location_id`
834
- # If specified location and location of the destination bigquery dataset
835
- # do not match - the request will fail.
851
+ # Must be in the format projects/`project_id`/locations/`location_id` or
852
+ # projects/`project_id`. If specified location and location of the
853
+ # destination bigquery dataset do not match - the request will fail.
836
854
  # @param [Google::Apis::BigquerydatatransferV1::TransferConfig] transfer_config_object
837
855
  # @param [String] authorization_code
838
856
  # Optional OAuth2 authorization code to use with this transfer configuration.
@@ -899,7 +917,8 @@ module Google
899
917
  # including any associated transfer runs and logs.
900
918
  # @param [String] name
901
919
  # Required. The field will contain name of the resource requested, for example:
902
- # `projects/`project_id`/transferConfigs/`config_id``
920
+ # `projects/`project_id`/transferConfigs/`config_id`` or
921
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``
903
922
  # @param [String] fields
904
923
  # Selector specifying which fields to include in a partial response.
905
924
  # @param [String] quota_user
@@ -930,7 +949,8 @@ module Google
930
949
  # Returns information about a data transfer config.
931
950
  # @param [String] name
932
951
  # Required. The field will contain name of the resource requested, for example:
933
- # `projects/`project_id`/transferConfigs/`config_id``
952
+ # `projects/`project_id`/transferConfigs/`config_id`` or
953
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``
934
954
  # @param [String] fields
935
955
  # Selector specifying which fields to include in a partial response.
936
956
  # @param [String] quota_user
@@ -961,7 +981,8 @@ module Google
961
981
  # Returns information about all data transfers in the project.
962
982
  # @param [String] parent
963
983
  # Required. The BigQuery project id for which data sources
964
- # should be returned: `projects/`project_id``.
984
+ # should be returned: `projects/`project_id`` or
985
+ # `projects/`project_id`/locations/`location_id``
965
986
  # @param [Array<String>, String] data_source_ids
966
987
  # When specified, only configurations of requested data sources are returned.
967
988
  # @param [Fixnum] page_size
@@ -1085,7 +1106,8 @@ module Google
1085
1106
  # DEPRECATED: use StartManualTransferRuns instead.
1086
1107
  # @param [String] parent
1087
1108
  # Required. Transfer configuration name in the form:
1088
- # `projects/`project_id`/transferConfigs/`config_id``.
1109
+ # `projects/`project_id`/transferConfigs/`config_id`` or
1110
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
1089
1111
  # @param [Google::Apis::BigquerydatatransferV1::ScheduleTransferRunsRequest] schedule_transfer_runs_request_object
1090
1112
  # @param [String] fields
1091
1113
  # Selector specifying which fields to include in a partial response.
@@ -1122,7 +1144,8 @@ module Google
1122
1144
  # a specific run_time.
1123
1145
  # @param [String] parent
1124
1146
  # Transfer configuration name in the form:
1125
- # `projects/`project_id`/transferConfigs/`config_id``.
1147
+ # `projects/`project_id`/transferConfigs/`config_id`` or
1148
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
1126
1149
  # @param [Google::Apis::BigquerydatatransferV1::StartManualTransferRunsRequest] start_manual_transfer_runs_request_object
1127
1150
  # @param [String] fields
1128
1151
  # Selector specifying which fields to include in a partial response.
@@ -1156,7 +1179,9 @@ module Google
1156
1179
  # Deletes the specified transfer run.
1157
1180
  # @param [String] name
1158
1181
  # Required. The field will contain name of the resource requested, for example:
1159
- # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id``
1182
+ # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
1183
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
1184
+ # runs/`run_id``
1160
1185
  # @param [String] fields
1161
1186
  # Selector specifying which fields to include in a partial response.
1162
1187
  # @param [String] quota_user
@@ -1187,7 +1212,9 @@ module Google
1187
1212
  # Returns information about the particular transfer run.
1188
1213
  # @param [String] name
1189
1214
  # Required. The field will contain name of the resource requested, for example:
1190
- # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id``
1215
+ # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
1216
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
1217
+ # runs/`run_id``
1191
1218
  # @param [String] fields
1192
1219
  # Selector specifying which fields to include in a partial response.
1193
1220
  # @param [String] quota_user
@@ -1220,7 +1247,8 @@ module Google
1220
1247
  # Required. Name of transfer configuration for which transfer runs should be
1221
1248
  # retrieved.
1222
1249
  # Format of transfer configuration resource name is:
1223
- # `projects/`project_id`/transferConfigs/`config_id``.
1250
+ # `projects/`project_id`/transferConfigs/`config_id`` or
1251
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id``.
1224
1252
  # @param [Fixnum] page_size
1225
1253
  # Page size. The default page size is the maximum value of 1000 results.
1226
1254
  # @param [String] page_token
@@ -1267,7 +1295,9 @@ module Google
1267
1295
  # Returns user facing log messages for the data transfer run.
1268
1296
  # @param [String] parent
1269
1297
  # Required. Transfer run name in the form:
1270
- # `projects/`project_id`/transferConfigs/`config_Id`/runs/`run_id``.
1298
+ # `projects/`project_id`/transferConfigs/`config_id`/runs/`run_id`` or
1299
+ # `projects/`project_id`/locations/`location_id`/transferConfigs/`config_id`/
1300
+ # runs/`run_id``
1271
1301
  # @param [Array<String>, String] message_types
1272
1302
  # Message types to return. If not populated - INFO, WARNING and ERROR
1273
1303
  # messages are returned.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/bigtable/
26
26
  module BigtableadminV2
27
27
  VERSION = 'V2'
28
- REVISION = '20191102'
28
+ REVISION = '20191202'
29
29
 
30
30
  # Administer your Cloud Bigtable tables and clusters
31
31
  AUTH_BIGTABLE_ADMIN = 'https://www.googleapis.com/auth/bigtable.admin'
@@ -221,6 +221,23 @@ module Google
221
221
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
222
222
  # * `group:`emailid``: An email address that represents a Google group.
223
223
  # For example, `admins@example.com`.
224
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
225
+ # identifier) representing a user that has been recently deleted. For
226
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
227
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
228
+ # retains the role in the binding.
229
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
230
+ # unique identifier) representing a service account that has been recently
231
+ # deleted. For example,
232
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
233
+ # If the service account is undeleted, this value reverts to
234
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
235
+ # role in the binding.
236
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
237
+ # identifier) representing a Google group that has been recently
238
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
239
+ # the group is recovered, this value reverts to `group:`emailid`` and the
240
+ # recovered group retains the role in the binding.
224
241
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
225
242
  # users of that domain. For example, `google.com` or `example.com`.
226
243
  # Corresponds to the JSON property `members`
@@ -1280,16 +1297,18 @@ module Google
1280
1297
  end
1281
1298
  end
1282
1299
 
1283
- # Defines an Identity and Access Management (IAM) policy. It is used to
1284
- # specify access control policies for Cloud Platform resources.
1300
+ # An Identity and Access Management (IAM) policy, which specifies access
1301
+ # controls for Google Cloud resources.
1285
1302
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1286
1303
  # `members` to a single `role`. Members can be user accounts, service accounts,
1287
1304
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1288
- # permissions (defined by IAM or configured by users). A `binding` can
1289
- # optionally specify a `condition`, which is a logic expression that further
1290
- # constrains the role binding based on attributes about the request and/or
1291
- # target resource.
1292
- # **JSON Example**
1305
+ # permissions; each `role` can be an IAM predefined role or a user-created
1306
+ # custom role.
1307
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1308
+ # expression that allows access to a resource only if the expression evaluates
1309
+ # to `true`. A condition can add constraints based on attributes of the
1310
+ # request, the resource, or both.
1311
+ # **JSON example:**
1293
1312
  # `
1294
1313
  # "bindings": [
1295
1314
  # `
@@ -1307,13 +1326,15 @@ module Google
1307
1326
  # "condition": `
1308
1327
  # "title": "expirable access",
1309
1328
  # "description": "Does not grant access after Sep 2020",
1310
- # "expression": "request.time <
1311
- # timestamp('2020-10-01T00:00:00.000Z')",
1329
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1330
+ # ",
1312
1331
  # `
1313
1332
  # `
1314
- # ]
1333
+ # ],
1334
+ # "etag": "BwWWja0YfJA=",
1335
+ # "version": 3
1315
1336
  # `
1316
- # **YAML Example**
1337
+ # **YAML example:**
1317
1338
  # bindings:
1318
1339
  # - members:
1319
1340
  # - user:mike@example.com
@@ -1328,8 +1349,10 @@ module Google
1328
1349
  # title: expirable access
1329
1350
  # description: Does not grant access after Sep 2020
1330
1351
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1352
+ # - etag: BwWWja0YfJA=
1353
+ # - version: 3
1331
1354
  # For a description of IAM and its features, see the
1332
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1355
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1333
1356
  class Policy
1334
1357
  include Google::Apis::Core::Hashable
1335
1358
 
@@ -1338,9 +1361,9 @@ module Google
1338
1361
  # @return [Array<Google::Apis::BigtableadminV2::AuditConfig>]
1339
1362
  attr_accessor :audit_configs
1340
1363
 
1341
- # Associates a list of `members` to a `role`. Optionally may specify a
1342
- # `condition` that determines when binding is in effect.
1343
- # `bindings` with no members will result in an error.
1364
+ # Associates a list of `members` to a `role`. Optionally, may specify a
1365
+ # `condition` that determines how and when the `bindings` are applied. Each
1366
+ # of the `bindings` must contain at least one member.
1344
1367
  # Corresponds to the JSON property `bindings`
1345
1368
  # @return [Array<Google::Apis::BigtableadminV2::Binding>]
1346
1369
  attr_accessor :bindings
@@ -1352,25 +1375,31 @@ module Google
1352
1375
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
1353
1376
  # systems are expected to put that etag in the request to `setIamPolicy` to
1354
1377
  # ensure that their change will be applied to the same version of the policy.
1355
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
1356
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
1357
- # 'setIamPolicy' will not fail even if either of incoming or stored policy
1358
- # does not meet the version requirements.
1378
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1379
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1380
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1381
+ # the conditions in the version `3` policy are lost.
1359
1382
  # Corresponds to the JSON property `etag`
1360
1383
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
1361
1384
  # @return [String]
1362
1385
  attr_accessor :etag
1363
1386
 
1364
1387
  # Specifies the format of the policy.
1365
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1366
- # rejected.
1367
- # Operations affecting conditional bindings must specify version 3. This can
1368
- # be either setting a conditional policy, modifying a conditional binding,
1369
- # or removing a conditional binding from the stored conditional policy.
1370
- # Operations on non-conditional policies may specify any valid value or
1371
- # leave the field unset.
1372
- # If no etag is provided in the call to `setIamPolicy`, any version
1373
- # compliance checks on the incoming and/or stored policy is skipped.
1388
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
1389
+ # are rejected.
1390
+ # Any operation that affects conditional role bindings must specify version
1391
+ # `3`. This requirement applies to the following operations:
1392
+ # * Getting a policy that includes a conditional role binding
1393
+ # * Adding a conditional role binding to a policy
1394
+ # * Changing a conditional role binding in a policy
1395
+ # * Removing any role binding, with or without a condition, from a policy
1396
+ # that includes conditions
1397
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
1398
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
1399
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
1400
+ # the conditions in the version `3` policy are lost.
1401
+ # If a policy does not include any conditions, operations on that policy may
1402
+ # specify any valid version or leave the field unset.
1374
1403
  # Corresponds to the JSON property `version`
1375
1404
  # @return [Fixnum]
1376
1405
  attr_accessor :version
@@ -1392,16 +1421,18 @@ module Google
1392
1421
  class SetIamPolicyRequest
1393
1422
  include Google::Apis::Core::Hashable
1394
1423
 
1395
- # Defines an Identity and Access Management (IAM) policy. It is used to
1396
- # specify access control policies for Cloud Platform resources.
1424
+ # An Identity and Access Management (IAM) policy, which specifies access
1425
+ # controls for Google Cloud resources.
1397
1426
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1398
1427
  # `members` to a single `role`. Members can be user accounts, service accounts,
1399
1428
  # Google groups, and domains (such as G Suite). A `role` is a named list of
1400
- # permissions (defined by IAM or configured by users). A `binding` can
1401
- # optionally specify a `condition`, which is a logic expression that further
1402
- # constrains the role binding based on attributes about the request and/or
1403
- # target resource.
1404
- # **JSON Example**
1429
+ # permissions; each `role` can be an IAM predefined role or a user-created
1430
+ # custom role.
1431
+ # Optionally, a `binding` can specify a `condition`, which is a logical
1432
+ # expression that allows access to a resource only if the expression evaluates
1433
+ # to `true`. A condition can add constraints based on attributes of the
1434
+ # request, the resource, or both.
1435
+ # **JSON example:**
1405
1436
  # `
1406
1437
  # "bindings": [
1407
1438
  # `
@@ -1419,13 +1450,15 @@ module Google
1419
1450
  # "condition": `
1420
1451
  # "title": "expirable access",
1421
1452
  # "description": "Does not grant access after Sep 2020",
1422
- # "expression": "request.time <
1423
- # timestamp('2020-10-01T00:00:00.000Z')",
1453
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
1454
+ # ",
1424
1455
  # `
1425
1456
  # `
1426
- # ]
1457
+ # ],
1458
+ # "etag": "BwWWja0YfJA=",
1459
+ # "version": 3
1427
1460
  # `
1428
- # **YAML Example**
1461
+ # **YAML example:**
1429
1462
  # bindings:
1430
1463
  # - members:
1431
1464
  # - user:mike@example.com
@@ -1440,8 +1473,10 @@ module Google
1440
1473
  # title: expirable access
1441
1474
  # description: Does not grant access after Sep 2020
1442
1475
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1476
+ # - etag: BwWWja0YfJA=
1477
+ # - version: 3
1443
1478
  # For a description of IAM and its features, see the
1444
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
1479
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
1445
1480
  # Corresponds to the JSON property `policy`
1446
1481
  # @return [Google::Apis::BigtableadminV2::Policy]
1447
1482
  attr_accessor :policy