google-api-client 0.39.2 → 0.39.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -0
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +19 -15
- data/generated/google/apis/bigqueryreservation_v1/service.rb +86 -73
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +0 -47
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -16
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +26 -14
- data/generated/google/apis/cloudkms_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +26 -10
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +26 -10
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +3 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +3 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +4 -4
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_management_v1management/classes.rb +50 -90
- data/generated/google/apis/games_management_v1management/representations.rb +0 -17
- data/generated/google/apis/games_management_v1management/service.rb +115 -291
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +73 -60
- data/generated/google/apis/gameservices_v1beta/service.rb +60 -57
- data/generated/google/apis/gmail_v1.rb +2 -3
- data/generated/google/apis/gmail_v1/classes.rb +199 -258
- data/generated/google/apis/gmail_v1/service.rb +744 -552
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +34 -22
- data/generated/google/apis/healthcare_v1/service.rb +46 -111
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +34 -22
- data/generated/google/apis/healthcare_v1beta1/service.rb +63 -113
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +35 -12
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +26 -10
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +29 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +17 -20
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +31 -49
- data/generated/google/apis/run_v1/representations.rb +1 -17
- data/generated/google/apis/run_v1/service.rb +3 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +23 -10
- data/generated/google/apis/run_v1alpha1/service.rb +3 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +3 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +141 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +77 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -3
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryreservationV1alpha2
|
27
27
|
VERSION = 'V1alpha2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200509'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryreservationV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200509'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -62,40 +62,6 @@ module Google
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
# Auto scaling settings and current situation.
|
66
|
-
# System will create a dedicated FLEX capacity commitment to hold the slots
|
67
|
-
# for auto-scale. Users won't be able to manage it,to avoid conflicts.
|
68
|
-
# Scale-up will happen, if there are always pending tasks for the past 10
|
69
|
-
# minutes.
|
70
|
-
# Scale-down will happen, if the system knows that scale-up won't be
|
71
|
-
# triggered again.
|
72
|
-
# Note this is an alpha feature.
|
73
|
-
class Autoscale
|
74
|
-
include Google::Apis::Core::Hashable
|
75
|
-
|
76
|
-
# Output only. The slot capacity added to this reservation when autoscale
|
77
|
-
# happens. Will
|
78
|
-
# be between [0, max_slots].
|
79
|
-
# Corresponds to the JSON property `currentSlots`
|
80
|
-
# @return [Fixnum]
|
81
|
-
attr_accessor :current_slots
|
82
|
-
|
83
|
-
# Number of slots to be scaled when needed.
|
84
|
-
# Corresponds to the JSON property `maxSlots`
|
85
|
-
# @return [Fixnum]
|
86
|
-
attr_accessor :max_slots
|
87
|
-
|
88
|
-
def initialize(**args)
|
89
|
-
update!(**args)
|
90
|
-
end
|
91
|
-
|
92
|
-
# Update properties of this object
|
93
|
-
def update!(**args)
|
94
|
-
@current_slots = args[:current_slots] if args.key?(:current_slots)
|
95
|
-
@max_slots = args[:max_slots] if args.key?(:max_slots)
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
65
|
# Represents a BI Reservation.
|
100
66
|
class BiReservation
|
101
67
|
include Google::Apis::Core::Hashable
|
@@ -368,18 +334,6 @@ module Google
|
|
368
334
|
class Reservation
|
369
335
|
include Google::Apis::Core::Hashable
|
370
336
|
|
371
|
-
# Auto scaling settings and current situation.
|
372
|
-
# System will create a dedicated FLEX capacity commitment to hold the slots
|
373
|
-
# for auto-scale. Users won't be able to manage it,to avoid conflicts.
|
374
|
-
# Scale-up will happen, if there are always pending tasks for the past 10
|
375
|
-
# minutes.
|
376
|
-
# Scale-down will happen, if the system knows that scale-up won't be
|
377
|
-
# triggered again.
|
378
|
-
# Note this is an alpha feature.
|
379
|
-
# Corresponds to the JSON property `autoscale`
|
380
|
-
# @return [Google::Apis::BigqueryreservationV1beta1::Autoscale]
|
381
|
-
attr_accessor :autoscale
|
382
|
-
|
383
337
|
# If false, any query using this reservation will use idle slots from other
|
384
338
|
# reservations within the same admin project. If true, a query using this
|
385
339
|
# reservation will execute with the slot capacity specified above at most.
|
@@ -412,7 +366,6 @@ module Google
|
|
412
366
|
|
413
367
|
# Update properties of this object
|
414
368
|
def update!(**args)
|
415
|
-
@autoscale = args[:autoscale] if args.key?(:autoscale)
|
416
369
|
@ignore_idle_slots = args[:ignore_idle_slots] if args.key?(:ignore_idle_slots)
|
417
370
|
@name = args[:name] if args.key?(:name)
|
418
371
|
@slot_capacity = args[:slot_capacity] if args.key?(:slot_capacity)
|
@@ -28,12 +28,6 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
-
class Autoscale
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
-
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
35
|
-
end
|
36
|
-
|
37
31
|
class BiReservation
|
38
32
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
33
|
|
@@ -128,14 +122,6 @@ module Google
|
|
128
122
|
end
|
129
123
|
end
|
130
124
|
|
131
|
-
class Autoscale
|
132
|
-
# @private
|
133
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
134
|
-
property :current_slots, :numeric_string => true, as: 'currentSlots'
|
135
|
-
property :max_slots, :numeric_string => true, as: 'maxSlots'
|
136
|
-
end
|
137
|
-
end
|
138
|
-
|
139
125
|
class BiReservation
|
140
126
|
# @private
|
141
127
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -216,8 +202,6 @@ module Google
|
|
216
202
|
class Reservation
|
217
203
|
# @private
|
218
204
|
class Representation < Google::Apis::Core::JsonRepresentation
|
219
|
-
property :autoscale, as: 'autoscale', class: Google::Apis::BigqueryreservationV1beta1::Autoscale, decorator: Google::Apis::BigqueryreservationV1beta1::Autoscale::Representation
|
220
|
-
|
221
205
|
property :ignore_idle_slots, as: 'ignoreIdleSlots'
|
222
206
|
property :name, as: 'name'
|
223
207
|
property :slot_capacity, :numeric_string => true, as: 'slotCapacity'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/kms/
|
27
27
|
module CloudkmsV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200509'
|
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'
|
@@ -303,8 +303,8 @@ module Google
|
|
303
303
|
|
304
304
|
# A CryptoKey represents a logical key that can be used for cryptographic
|
305
305
|
# operations.
|
306
|
-
# A CryptoKey is made up of
|
307
|
-
# represent the actual key material used in cryptographic operations.
|
306
|
+
# A CryptoKey is made up of zero or more versions,
|
307
|
+
# which represent the actual key material used in cryptographic operations.
|
308
308
|
class CryptoKey
|
309
309
|
include Google::Apis::Core::Hashable
|
310
310
|
|
@@ -1244,10 +1244,13 @@ module Google
|
|
1244
1244
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1245
1245
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1246
1246
|
# custom role.
|
1247
|
-
#
|
1248
|
-
# expression that allows access to a resource
|
1249
|
-
# to `true`. A condition can add constraints
|
1250
|
-
# request, the resource, or both.
|
1247
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1248
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1249
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1250
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1251
|
+
# resources support conditions in their IAM policies, see the
|
1252
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1253
|
+
# policies).
|
1251
1254
|
# **JSON example:**
|
1252
1255
|
# `
|
1253
1256
|
# "bindings": [
|
@@ -1262,7 +1265,9 @@ module Google
|
|
1262
1265
|
# `,
|
1263
1266
|
# `
|
1264
1267
|
# "role": "roles/resourcemanager.organizationViewer",
|
1265
|
-
# "members": [
|
1268
|
+
# "members": [
|
1269
|
+
# "user:eve@example.com"
|
1270
|
+
# ],
|
1266
1271
|
# "condition": `
|
1267
1272
|
# "title": "expirable access",
|
1268
1273
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1340,6 +1345,9 @@ module Google
|
|
1340
1345
|
# the conditions in the version `3` policy are lost.
|
1341
1346
|
# If a policy does not include any conditions, operations on that policy may
|
1342
1347
|
# specify any valid version or leave the field unset.
|
1348
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1349
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1350
|
+
# policies).
|
1343
1351
|
# Corresponds to the JSON property `version`
|
1344
1352
|
# @return [Fixnum]
|
1345
1353
|
attr_accessor :version
|
@@ -1412,10 +1420,13 @@ module Google
|
|
1412
1420
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1413
1421
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1414
1422
|
# custom role.
|
1415
|
-
#
|
1416
|
-
# expression that allows access to a resource
|
1417
|
-
# to `true`. A condition can add constraints
|
1418
|
-
# request, the resource, or both.
|
1423
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1424
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1425
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1426
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1427
|
+
# resources support conditions in their IAM policies, see the
|
1428
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1429
|
+
# policies).
|
1419
1430
|
# **JSON example:**
|
1420
1431
|
# `
|
1421
1432
|
# "bindings": [
|
@@ -1430,7 +1441,9 @@ module Google
|
|
1430
1441
|
# `,
|
1431
1442
|
# `
|
1432
1443
|
# "role": "roles/resourcemanager.organizationViewer",
|
1433
|
-
# "members": [
|
1444
|
+
# "members": [
|
1445
|
+
# "user:eve@example.com"
|
1446
|
+
# ],
|
1434
1447
|
# "condition": `
|
1435
1448
|
# "title": "expirable access",
|
1436
1449
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1468,8 +1481,7 @@ module Google
|
|
1468
1481
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
1469
1482
|
# the fields in the mask will be modified. If no mask is provided, the
|
1470
1483
|
# following default mask is used:
|
1471
|
-
# paths: "bindings, etag"
|
1472
|
-
# This field is only used by Cloud IAM.
|
1484
|
+
# `paths: "bindings, etag"`
|
1473
1485
|
# Corresponds to the JSON property `updateMask`
|
1474
1486
|
# @return [String]
|
1475
1487
|
attr_accessor :update_mask
|
@@ -198,6 +198,9 @@ module Google
|
|
198
198
|
# Requests for policies with any conditional bindings must specify version 3.
|
199
199
|
# Policies without any conditional bindings may specify any valid value or
|
200
200
|
# leave the field unset.
|
201
|
+
# To learn which resources support conditions in their IAM policies, see the
|
202
|
+
# [IAM
|
203
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
201
204
|
# @param [String] fields
|
202
205
|
# Selector specifying which fields to include in a partial response.
|
203
206
|
# @param [String] quota_user
|
@@ -281,7 +284,7 @@ module Google
|
|
281
284
|
|
282
285
|
# Sets the access control policy on the specified resource. Replaces any
|
283
286
|
# existing policy.
|
284
|
-
# Can return
|
287
|
+
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
285
288
|
# @param [String] resource
|
286
289
|
# REQUIRED: The resource for which the policy is being specified.
|
287
290
|
# See the operation documentation for the appropriate value for this field.
|
@@ -317,7 +320,7 @@ module Google
|
|
317
320
|
|
318
321
|
# Returns permissions that a caller has on the specified resource.
|
319
322
|
# If the resource does not exist, this will return an empty set of
|
320
|
-
# permissions, not a NOT_FOUND error.
|
323
|
+
# permissions, not a `NOT_FOUND` error.
|
321
324
|
# Note: This operation is designed to be used for building permission-aware
|
322
325
|
# UIs and command-line tools, not for authorization checking. This operation
|
323
326
|
# may "fail open" without warning.
|
@@ -519,6 +522,9 @@ module Google
|
|
519
522
|
# Requests for policies with any conditional bindings must specify version 3.
|
520
523
|
# Policies without any conditional bindings may specify any valid value or
|
521
524
|
# leave the field unset.
|
525
|
+
# To learn which resources support conditions in their IAM policies, see the
|
526
|
+
# [IAM
|
527
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
522
528
|
# @param [String] fields
|
523
529
|
# Selector specifying which fields to include in a partial response.
|
524
530
|
# @param [String] quota_user
|
@@ -642,7 +648,7 @@ module Google
|
|
642
648
|
|
643
649
|
# Sets the access control policy on the specified resource. Replaces any
|
644
650
|
# existing policy.
|
645
|
-
# Can return
|
651
|
+
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
646
652
|
# @param [String] resource
|
647
653
|
# REQUIRED: The resource for which the policy is being specified.
|
648
654
|
# See the operation documentation for the appropriate value for this field.
|
@@ -678,7 +684,7 @@ module Google
|
|
678
684
|
|
679
685
|
# Returns permissions that a caller has on the specified resource.
|
680
686
|
# If the resource does not exist, this will return an empty set of
|
681
|
-
# permissions, not a NOT_FOUND error.
|
687
|
+
# permissions, not a `NOT_FOUND` error.
|
682
688
|
# Note: This operation is designed to be used for building permission-aware
|
683
689
|
# UIs and command-line tools, not for authorization checking. This operation
|
684
690
|
# may "fail open" without warning.
|
@@ -1219,6 +1225,9 @@ module Google
|
|
1219
1225
|
# Requests for policies with any conditional bindings must specify version 3.
|
1220
1226
|
# Policies without any conditional bindings may specify any valid value or
|
1221
1227
|
# leave the field unset.
|
1228
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1229
|
+
# [IAM
|
1230
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
1222
1231
|
# @param [String] fields
|
1223
1232
|
# Selector specifying which fields to include in a partial response.
|
1224
1233
|
# @param [String] quota_user
|
@@ -1302,7 +1311,7 @@ module Google
|
|
1302
1311
|
|
1303
1312
|
# Sets the access control policy on the specified resource. Replaces any
|
1304
1313
|
# existing policy.
|
1305
|
-
# Can return
|
1314
|
+
# Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
|
1306
1315
|
# @param [String] resource
|
1307
1316
|
# REQUIRED: The resource for which the policy is being specified.
|
1308
1317
|
# See the operation documentation for the appropriate value for this field.
|
@@ -1338,7 +1347,7 @@ module Google
|
|
1338
1347
|
|
1339
1348
|
# Returns permissions that a caller has on the specified resource.
|
1340
1349
|
# If the resource does not exist, this will return an empty set of
|
1341
|
-
# permissions, not a NOT_FOUND error.
|
1350
|
+
# permissions, not a `NOT_FOUND` error.
|
1342
1351
|
# Note: This operation is designed to be used for building permission-aware
|
1343
1352
|
# UIs and command-line tools, not for authorization checking. This operation
|
1344
1353
|
# may "fail open" without warning.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200504'
|
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'
|
@@ -663,6 +663,9 @@ module Google
|
|
663
663
|
# Requests for policies with any conditional bindings must specify version 3.
|
664
664
|
# Policies without any conditional bindings may specify any valid value or
|
665
665
|
# leave the field unset.
|
666
|
+
# To learn which resources support conditions in their IAM policies, see the
|
667
|
+
# [IAM
|
668
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
666
669
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
667
670
|
# @return [Fixnum]
|
668
671
|
attr_accessor :requested_policy_version
|
@@ -1347,10 +1350,13 @@ module Google
|
|
1347
1350
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1348
1351
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1349
1352
|
# custom role.
|
1350
|
-
#
|
1351
|
-
# expression that allows access to a resource
|
1352
|
-
# to `true`. A condition can add constraints
|
1353
|
-
# request, the resource, or both.
|
1353
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1354
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1355
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1356
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1357
|
+
# resources support conditions in their IAM policies, see the
|
1358
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1359
|
+
# policies).
|
1354
1360
|
# **JSON example:**
|
1355
1361
|
# `
|
1356
1362
|
# "bindings": [
|
@@ -1365,7 +1371,9 @@ module Google
|
|
1365
1371
|
# `,
|
1366
1372
|
# `
|
1367
1373
|
# "role": "roles/resourcemanager.organizationViewer",
|
1368
|
-
# "members": [
|
1374
|
+
# "members": [
|
1375
|
+
# "user:eve@example.com"
|
1376
|
+
# ],
|
1369
1377
|
# "condition": `
|
1370
1378
|
# "title": "expirable access",
|
1371
1379
|
# "description": "Does not grant access after Sep 2020",
|
@@ -1443,6 +1451,9 @@ module Google
|
|
1443
1451
|
# the conditions in the version `3` policy are lost.
|
1444
1452
|
# If a policy does not include any conditions, operations on that policy may
|
1445
1453
|
# specify any valid version or leave the field unset.
|
1454
|
+
# To learn which resources support conditions in their IAM policies, see the
|
1455
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1456
|
+
# policies).
|
1446
1457
|
# Corresponds to the JSON property `version`
|
1447
1458
|
# @return [Fixnum]
|
1448
1459
|
attr_accessor :version
|
@@ -1717,10 +1728,13 @@ module Google
|
|
1717
1728
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1718
1729
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1719
1730
|
# custom role.
|
1720
|
-
#
|
1721
|
-
# expression that allows access to a resource
|
1722
|
-
# to `true`. A condition can add constraints
|
1723
|
-
# request, the resource, or both.
|
1731
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1732
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1733
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1734
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1735
|
+
# resources support conditions in their IAM policies, see the
|
1736
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1737
|
+
# policies).
|
1724
1738
|
# **JSON example:**
|
1725
1739
|
# `
|
1726
1740
|
# "bindings": [
|
@@ -1735,7 +1749,9 @@ module Google
|
|
1735
1749
|
# `,
|
1736
1750
|
# `
|
1737
1751
|
# "role": "roles/resourcemanager.organizationViewer",
|
1738
|
-
# "members": [
|
1752
|
+
# "members": [
|
1753
|
+
# "user:eve@example.com"
|
1754
|
+
# ],
|
1739
1755
|
# "condition": `
|
1740
1756
|
# "title": "expirable access",
|
1741
1757
|
# "description": "Does not grant access after Sep 2020",
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/resource-manager
|
27
27
|
module CloudresourcemanagerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200504'
|
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'
|
@@ -448,6 +448,9 @@ module Google
|
|
448
448
|
# Requests for policies with any conditional bindings must specify version 3.
|
449
449
|
# Policies without any conditional bindings may specify any valid value or
|
450
450
|
# leave the field unset.
|
451
|
+
# To learn which resources support conditions in their IAM policies, see the
|
452
|
+
# [IAM
|
453
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
451
454
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
452
455
|
# @return [Fixnum]
|
453
456
|
attr_accessor :requested_policy_version
|
@@ -618,10 +621,13 @@ module Google
|
|
618
621
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
619
622
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
620
623
|
# custom role.
|
621
|
-
#
|
622
|
-
# expression that allows access to a resource
|
623
|
-
# to `true`. A condition can add constraints
|
624
|
-
# request, the resource, or both.
|
624
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
625
|
+
# `condition`, which is a logical expression that allows access to a resource
|
626
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
627
|
+
# based on attributes of the request, the resource, or both. To learn which
|
628
|
+
# resources support conditions in their IAM policies, see the
|
629
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
630
|
+
# policies).
|
625
631
|
# **JSON example:**
|
626
632
|
# `
|
627
633
|
# "bindings": [
|
@@ -636,7 +642,9 @@ module Google
|
|
636
642
|
# `,
|
637
643
|
# `
|
638
644
|
# "role": "roles/resourcemanager.organizationViewer",
|
639
|
-
# "members": [
|
645
|
+
# "members": [
|
646
|
+
# "user:eve@example.com"
|
647
|
+
# ],
|
640
648
|
# "condition": `
|
641
649
|
# "title": "expirable access",
|
642
650
|
# "description": "Does not grant access after Sep 2020",
|
@@ -714,6 +722,9 @@ module Google
|
|
714
722
|
# the conditions in the version `3` policy are lost.
|
715
723
|
# If a policy does not include any conditions, operations on that policy may
|
716
724
|
# specify any valid version or leave the field unset.
|
725
|
+
# To learn which resources support conditions in their IAM policies, see the
|
726
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
727
|
+
# policies).
|
717
728
|
# Corresponds to the JSON property `version`
|
718
729
|
# @return [Fixnum]
|
719
730
|
attr_accessor :version
|
@@ -893,10 +904,13 @@ module Google
|
|
893
904
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
894
905
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
895
906
|
# custom role.
|
896
|
-
#
|
897
|
-
# expression that allows access to a resource
|
898
|
-
# to `true`. A condition can add constraints
|
899
|
-
# request, the resource, or both.
|
907
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
908
|
+
# `condition`, which is a logical expression that allows access to a resource
|
909
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
910
|
+
# based on attributes of the request, the resource, or both. To learn which
|
911
|
+
# resources support conditions in their IAM policies, see the
|
912
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
913
|
+
# policies).
|
900
914
|
# **JSON example:**
|
901
915
|
# `
|
902
916
|
# "bindings": [
|
@@ -911,7 +925,9 @@ module Google
|
|
911
925
|
# `,
|
912
926
|
# `
|
913
927
|
# "role": "roles/resourcemanager.organizationViewer",
|
914
|
-
# "members": [
|
928
|
+
# "members": [
|
929
|
+
# "user:eve@example.com"
|
930
|
+
# ],
|
915
931
|
# "condition": `
|
916
932
|
# "title": "expirable access",
|
917
933
|
# "description": "Does not grant access after Sep 2020",
|