google-api-client 0.35.0 → 0.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +36 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +5 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +75 -41
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -41
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -41
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +203 -78
- data/generated/google/apis/container_v1/representations.rb +49 -0
- data/generated/google/apis/container_v1/service.rb +119 -119
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +32 -0
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +44 -7
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +7 -7
- data/generated/google/apis/dataproc_v1beta2/service.rb +12 -12
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -4
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +15 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +20 -23
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +75 -41
- data/generated/google/apis/monitoring_v1.rb +13 -1
- data/generated/google/apis/monitoring_v1/classes.rb +893 -0
- data/generated/google/apis/monitoring_v1/representations.rb +405 -0
- data/generated/google/apis/monitoring_v1/service.rb +182 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +29 -41
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -92
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +31 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +31 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +56 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +31 -0
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -41
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +75 -41
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -41
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -41
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +29 -41
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +104 -82
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +51 -41
- data/generated/google/apis/servicenetworking_v1/representations.rb +13 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +35 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +29 -41
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +29 -41
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +29 -41
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +3 -7
- data/generated/google/apis/cloudbuild_v1alpha1.rb +0 -34
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1174
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -435
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -226
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
27
27
|
module SecuritycenterV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191204'
|
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'
|
@@ -257,6 +257,23 @@ module Google
|
|
257
257
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
258
258
|
# * `group:`emailid``: An email address that represents a Google group.
|
259
259
|
# For example, `admins@example.com`.
|
260
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
261
|
+
# identifier) representing a user that has been recently deleted. For
|
262
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
263
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
264
|
+
# retains the role in the binding.
|
265
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
266
|
+
# unique identifier) representing a service account that has been recently
|
267
|
+
# deleted. For example,
|
268
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
269
|
+
# If the service account is undeleted, this value reverts to
|
270
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
271
|
+
# role in the binding.
|
272
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
273
|
+
# identifier) representing a Google group that has been recently
|
274
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
275
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
276
|
+
# recovered group retains the role in the binding.
|
260
277
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
261
278
|
# users of that domain. For example, `google.com` or `example.com`.
|
262
279
|
# Corresponds to the JSON property `members`
|
@@ -1208,16 +1225,18 @@ module Google
|
|
1208
1225
|
end
|
1209
1226
|
end
|
1210
1227
|
|
1211
|
-
#
|
1212
|
-
#
|
1228
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1229
|
+
# controls for Google Cloud resources.
|
1213
1230
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1214
1231
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1215
1232
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1216
|
-
# permissions
|
1217
|
-
#
|
1218
|
-
#
|
1219
|
-
#
|
1220
|
-
#
|
1233
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1234
|
+
# custom role.
|
1235
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
1236
|
+
# expression that allows access to a resource only if the expression evaluates
|
1237
|
+
# to `true`. A condition can add constraints based on attributes of the
|
1238
|
+
# request, the resource, or both.
|
1239
|
+
# **JSON example:**
|
1221
1240
|
# `
|
1222
1241
|
# "bindings": [
|
1223
1242
|
# `
|
@@ -1235,13 +1254,15 @@ module Google
|
|
1235
1254
|
# "condition": `
|
1236
1255
|
# "title": "expirable access",
|
1237
1256
|
# "description": "Does not grant access after Sep 2020",
|
1238
|
-
# "expression": "request.time <
|
1239
|
-
#
|
1257
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1258
|
+
# ",
|
1240
1259
|
# `
|
1241
1260
|
# `
|
1242
|
-
# ]
|
1261
|
+
# ],
|
1262
|
+
# "etag": "BwWWja0YfJA=",
|
1263
|
+
# "version": 3
|
1243
1264
|
# `
|
1244
|
-
# **YAML
|
1265
|
+
# **YAML example:**
|
1245
1266
|
# bindings:
|
1246
1267
|
# - members:
|
1247
1268
|
# - user:mike@example.com
|
@@ -1256,8 +1277,10 @@ module Google
|
|
1256
1277
|
# title: expirable access
|
1257
1278
|
# description: Does not grant access after Sep 2020
|
1258
1279
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1280
|
+
# - etag: BwWWja0YfJA=
|
1281
|
+
# - version: 3
|
1259
1282
|
# For a description of IAM and its features, see the
|
1260
|
-
# [IAM
|
1283
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1261
1284
|
class Policy
|
1262
1285
|
include Google::Apis::Core::Hashable
|
1263
1286
|
|
@@ -1266,9 +1289,9 @@ module Google
|
|
1266
1289
|
# @return [Array<Google::Apis::SecuritycenterV1::AuditConfig>]
|
1267
1290
|
attr_accessor :audit_configs
|
1268
1291
|
|
1269
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
1270
|
-
# `condition` that determines when
|
1271
|
-
# `bindings`
|
1292
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1293
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
1294
|
+
# of the `bindings` must contain at least one member.
|
1272
1295
|
# Corresponds to the JSON property `bindings`
|
1273
1296
|
# @return [Array<Google::Apis::SecuritycenterV1::Binding>]
|
1274
1297
|
attr_accessor :bindings
|
@@ -1280,26 +1303,31 @@ module Google
|
|
1280
1303
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
1281
1304
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1282
1305
|
# ensure that their change will be applied to the same version of the policy.
|
1283
|
-
# If
|
1284
|
-
#
|
1285
|
-
#
|
1286
|
-
#
|
1306
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1307
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1308
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1309
|
+
# the conditions in the version `3` policy are lost.
|
1287
1310
|
# Corresponds to the JSON property `etag`
|
1288
1311
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1289
1312
|
# @return [String]
|
1290
1313
|
attr_accessor :etag
|
1291
1314
|
|
1292
1315
|
# Specifies the format of the policy.
|
1293
|
-
# Valid values are 0
|
1294
|
-
# rejected.
|
1295
|
-
#
|
1296
|
-
#
|
1297
|
-
#
|
1298
|
-
# conditional policy
|
1299
|
-
#
|
1300
|
-
#
|
1301
|
-
#
|
1302
|
-
#
|
1316
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
1317
|
+
# are rejected.
|
1318
|
+
# Any operation that affects conditional role bindings must specify version
|
1319
|
+
# `3`. This requirement applies to the following operations:
|
1320
|
+
# * Getting a policy that includes a conditional role binding
|
1321
|
+
# * Adding a conditional role binding to a policy
|
1322
|
+
# * Changing a conditional role binding in a policy
|
1323
|
+
# * Removing any role binding, with or without a condition, from a policy
|
1324
|
+
# that includes conditions
|
1325
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1326
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1327
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1328
|
+
# the conditions in the version `3` policy are lost.
|
1329
|
+
# If a policy does not include any conditions, operations on that policy may
|
1330
|
+
# specify any valid version or leave the field unset.
|
1303
1331
|
# Corresponds to the JSON property `version`
|
1304
1332
|
# @return [Fixnum]
|
1305
1333
|
attr_accessor :version
|
@@ -1494,16 +1522,18 @@ module Google
|
|
1494
1522
|
class SetIamPolicyRequest
|
1495
1523
|
include Google::Apis::Core::Hashable
|
1496
1524
|
|
1497
|
-
#
|
1498
|
-
#
|
1525
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1526
|
+
# controls for Google Cloud resources.
|
1499
1527
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1500
1528
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1501
1529
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1502
|
-
# permissions
|
1503
|
-
#
|
1504
|
-
#
|
1505
|
-
#
|
1506
|
-
#
|
1530
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1531
|
+
# custom role.
|
1532
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
1533
|
+
# expression that allows access to a resource only if the expression evaluates
|
1534
|
+
# to `true`. A condition can add constraints based on attributes of the
|
1535
|
+
# request, the resource, or both.
|
1536
|
+
# **JSON example:**
|
1507
1537
|
# `
|
1508
1538
|
# "bindings": [
|
1509
1539
|
# `
|
@@ -1521,13 +1551,15 @@ module Google
|
|
1521
1551
|
# "condition": `
|
1522
1552
|
# "title": "expirable access",
|
1523
1553
|
# "description": "Does not grant access after Sep 2020",
|
1524
|
-
# "expression": "request.time <
|
1525
|
-
#
|
1554
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1555
|
+
# ",
|
1526
1556
|
# `
|
1527
1557
|
# `
|
1528
|
-
# ]
|
1558
|
+
# ],
|
1559
|
+
# "etag": "BwWWja0YfJA=",
|
1560
|
+
# "version": 3
|
1529
1561
|
# `
|
1530
|
-
# **YAML
|
1562
|
+
# **YAML example:**
|
1531
1563
|
# bindings:
|
1532
1564
|
# - members:
|
1533
1565
|
# - user:mike@example.com
|
@@ -1542,8 +1574,10 @@ module Google
|
|
1542
1574
|
# title: expirable access
|
1543
1575
|
# description: Does not grant access after Sep 2020
|
1544
1576
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1577
|
+
# - etag: BwWWja0YfJA=
|
1578
|
+
# - version: 3
|
1545
1579
|
# For a description of IAM and its features, see the
|
1546
|
-
# [IAM
|
1580
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1547
1581
|
# Corresponds to the JSON property `policy`
|
1548
1582
|
# @return [Google::Apis::SecuritycenterV1::Policy]
|
1549
1583
|
attr_accessor :policy
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
27
27
|
module SecuritycenterV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191204'
|
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'
|
@@ -249,6 +249,23 @@ module Google
|
|
249
249
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
250
250
|
# * `group:`emailid``: An email address that represents a Google group.
|
251
251
|
# For example, `admins@example.com`.
|
252
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
253
|
+
# identifier) representing a user that has been recently deleted. For
|
254
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
255
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
256
|
+
# retains the role in the binding.
|
257
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
258
|
+
# unique identifier) representing a service account that has been recently
|
259
|
+
# deleted. For example,
|
260
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
261
|
+
# If the service account is undeleted, this value reverts to
|
262
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
263
|
+
# role in the binding.
|
264
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
265
|
+
# identifier) representing a Google group that has been recently
|
266
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
267
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
268
|
+
# recovered group retains the role in the binding.
|
252
269
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
253
270
|
# users of that domain. For example, `google.com` or `example.com`.
|
254
271
|
# Corresponds to the JSON property `members`
|
@@ -1075,16 +1092,18 @@ module Google
|
|
1075
1092
|
end
|
1076
1093
|
end
|
1077
1094
|
|
1078
|
-
#
|
1079
|
-
#
|
1095
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1096
|
+
# controls for Google Cloud resources.
|
1080
1097
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1081
1098
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1082
1099
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1083
|
-
# permissions
|
1084
|
-
#
|
1085
|
-
#
|
1086
|
-
#
|
1087
|
-
#
|
1100
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1101
|
+
# custom role.
|
1102
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
1103
|
+
# expression that allows access to a resource only if the expression evaluates
|
1104
|
+
# to `true`. A condition can add constraints based on attributes of the
|
1105
|
+
# request, the resource, or both.
|
1106
|
+
# **JSON example:**
|
1088
1107
|
# `
|
1089
1108
|
# "bindings": [
|
1090
1109
|
# `
|
@@ -1102,13 +1121,15 @@ module Google
|
|
1102
1121
|
# "condition": `
|
1103
1122
|
# "title": "expirable access",
|
1104
1123
|
# "description": "Does not grant access after Sep 2020",
|
1105
|
-
# "expression": "request.time <
|
1106
|
-
#
|
1124
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1125
|
+
# ",
|
1107
1126
|
# `
|
1108
1127
|
# `
|
1109
|
-
# ]
|
1128
|
+
# ],
|
1129
|
+
# "etag": "BwWWja0YfJA=",
|
1130
|
+
# "version": 3
|
1110
1131
|
# `
|
1111
|
-
# **YAML
|
1132
|
+
# **YAML example:**
|
1112
1133
|
# bindings:
|
1113
1134
|
# - members:
|
1114
1135
|
# - user:mike@example.com
|
@@ -1123,8 +1144,10 @@ module Google
|
|
1123
1144
|
# title: expirable access
|
1124
1145
|
# description: Does not grant access after Sep 2020
|
1125
1146
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1147
|
+
# - etag: BwWWja0YfJA=
|
1148
|
+
# - version: 3
|
1126
1149
|
# For a description of IAM and its features, see the
|
1127
|
-
# [IAM
|
1150
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1128
1151
|
class Policy
|
1129
1152
|
include Google::Apis::Core::Hashable
|
1130
1153
|
|
@@ -1133,9 +1156,9 @@ module Google
|
|
1133
1156
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::AuditConfig>]
|
1134
1157
|
attr_accessor :audit_configs
|
1135
1158
|
|
1136
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
1137
|
-
# `condition` that determines when
|
1138
|
-
# `bindings`
|
1159
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1160
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
1161
|
+
# of the `bindings` must contain at least one member.
|
1139
1162
|
# Corresponds to the JSON property `bindings`
|
1140
1163
|
# @return [Array<Google::Apis::SecuritycenterV1beta1::Binding>]
|
1141
1164
|
attr_accessor :bindings
|
@@ -1147,26 +1170,31 @@ module Google
|
|
1147
1170
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
1148
1171
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
1149
1172
|
# ensure that their change will be applied to the same version of the policy.
|
1150
|
-
# If
|
1151
|
-
#
|
1152
|
-
#
|
1153
|
-
#
|
1173
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1174
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1175
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1176
|
+
# the conditions in the version `3` policy are lost.
|
1154
1177
|
# Corresponds to the JSON property `etag`
|
1155
1178
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1156
1179
|
# @return [String]
|
1157
1180
|
attr_accessor :etag
|
1158
1181
|
|
1159
1182
|
# Specifies the format of the policy.
|
1160
|
-
# Valid values are 0
|
1161
|
-
# rejected.
|
1162
|
-
#
|
1163
|
-
#
|
1164
|
-
#
|
1165
|
-
# conditional policy
|
1166
|
-
#
|
1167
|
-
#
|
1168
|
-
#
|
1169
|
-
#
|
1183
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
1184
|
+
# are rejected.
|
1185
|
+
# Any operation that affects conditional role bindings must specify version
|
1186
|
+
# `3`. This requirement applies to the following operations:
|
1187
|
+
# * Getting a policy that includes a conditional role binding
|
1188
|
+
# * Adding a conditional role binding to a policy
|
1189
|
+
# * Changing a conditional role binding in a policy
|
1190
|
+
# * Removing any role binding, with or without a condition, from a policy
|
1191
|
+
# that includes conditions
|
1192
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
1193
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
1194
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
1195
|
+
# the conditions in the version `3` policy are lost.
|
1196
|
+
# If a policy does not include any conditions, operations on that policy may
|
1197
|
+
# specify any valid version or leave the field unset.
|
1170
1198
|
# Corresponds to the JSON property `version`
|
1171
1199
|
# @return [Fixnum]
|
1172
1200
|
attr_accessor :version
|
@@ -1316,16 +1344,18 @@ module Google
|
|
1316
1344
|
class SetIamPolicyRequest
|
1317
1345
|
include Google::Apis::Core::Hashable
|
1318
1346
|
|
1319
|
-
#
|
1320
|
-
#
|
1347
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1348
|
+
# controls for Google Cloud resources.
|
1321
1349
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1322
1350
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1323
1351
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1324
|
-
# permissions
|
1325
|
-
#
|
1326
|
-
#
|
1327
|
-
#
|
1328
|
-
#
|
1352
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1353
|
+
# custom role.
|
1354
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
1355
|
+
# expression that allows access to a resource only if the expression evaluates
|
1356
|
+
# to `true`. A condition can add constraints based on attributes of the
|
1357
|
+
# request, the resource, or both.
|
1358
|
+
# **JSON example:**
|
1329
1359
|
# `
|
1330
1360
|
# "bindings": [
|
1331
1361
|
# `
|
@@ -1343,13 +1373,15 @@ module Google
|
|
1343
1373
|
# "condition": `
|
1344
1374
|
# "title": "expirable access",
|
1345
1375
|
# "description": "Does not grant access after Sep 2020",
|
1346
|
-
# "expression": "request.time <
|
1347
|
-
#
|
1376
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1377
|
+
# ",
|
1348
1378
|
# `
|
1349
1379
|
# `
|
1350
|
-
# ]
|
1380
|
+
# ],
|
1381
|
+
# "etag": "BwWWja0YfJA=",
|
1382
|
+
# "version": 3
|
1351
1383
|
# `
|
1352
|
-
# **YAML
|
1384
|
+
# **YAML example:**
|
1353
1385
|
# bindings:
|
1354
1386
|
# - members:
|
1355
1387
|
# - user:mike@example.com
|
@@ -1364,8 +1396,10 @@ module Google
|
|
1364
1396
|
# title: expirable access
|
1365
1397
|
# description: Does not grant access after Sep 2020
|
1366
1398
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1399
|
+
# - etag: BwWWja0YfJA=
|
1400
|
+
# - version: 3
|
1367
1401
|
# For a description of IAM and its features, see the
|
1368
|
-
# [IAM
|
1402
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1369
1403
|
# Corresponds to the JSON property `policy`
|
1370
1404
|
# @return [Google::Apis::SecuritycenterV1beta1::Policy]
|
1371
1405
|
attr_accessor :policy
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
28
28
|
module ServicebrokerV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20191202'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -46,6 +46,23 @@ module Google
|
|
46
46
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
47
47
|
# * `group:`emailid``: An email address that represents a Google group.
|
48
48
|
# For example, `admins@example.com`.
|
49
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
50
|
+
# identifier) representing a user that has been recently deleted. For
|
51
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
52
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
53
|
+
# retains the role in the binding.
|
54
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
55
|
+
# unique identifier) representing a service account that has been recently
|
56
|
+
# deleted. For example,
|
57
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
58
|
+
# If the service account is undeleted, this value reverts to
|
59
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
60
|
+
# role in the binding.
|
61
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
62
|
+
# identifier) representing a Google group that has been recently
|
63
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
64
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
65
|
+
# recovered group retains the role in the binding.
|
49
66
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
50
67
|
# users of that domain. For example, `google.com` or `example.com`.
|
51
68
|
# Corresponds to the JSON property `members`
|
@@ -70,16 +87,18 @@ module Google
|
|
70
87
|
end
|
71
88
|
end
|
72
89
|
|
73
|
-
#
|
74
|
-
#
|
90
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
91
|
+
# controls for Google Cloud resources.
|
75
92
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
76
93
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
77
94
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
78
|
-
# permissions
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
95
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
96
|
+
# custom role.
|
97
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
98
|
+
# expression that allows access to a resource only if the expression evaluates
|
99
|
+
# to `true`. A condition can add constraints based on attributes of the
|
100
|
+
# request, the resource, or both.
|
101
|
+
# **JSON example:**
|
83
102
|
# `
|
84
103
|
# "bindings": [
|
85
104
|
# `
|
@@ -97,13 +116,15 @@ module Google
|
|
97
116
|
# "condition": `
|
98
117
|
# "title": "expirable access",
|
99
118
|
# "description": "Does not grant access after Sep 2020",
|
100
|
-
# "expression": "request.time <
|
101
|
-
#
|
119
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
120
|
+
# ",
|
102
121
|
# `
|
103
122
|
# `
|
104
|
-
# ]
|
123
|
+
# ],
|
124
|
+
# "etag": "BwWWja0YfJA=",
|
125
|
+
# "version": 3
|
105
126
|
# `
|
106
|
-
# **YAML
|
127
|
+
# **YAML example:**
|
107
128
|
# bindings:
|
108
129
|
# - members:
|
109
130
|
# - user:mike@example.com
|
@@ -118,14 +139,16 @@ module Google
|
|
118
139
|
# title: expirable access
|
119
140
|
# description: Does not grant access after Sep 2020
|
120
141
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
142
|
+
# - etag: BwWWja0YfJA=
|
143
|
+
# - version: 3
|
121
144
|
# For a description of IAM and its features, see the
|
122
|
-
# [IAM
|
145
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
123
146
|
class GoogleIamV1Policy
|
124
147
|
include Google::Apis::Core::Hashable
|
125
148
|
|
126
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
127
|
-
# `condition` that determines when
|
128
|
-
# `bindings`
|
149
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
150
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
151
|
+
# of the `bindings` must contain at least one member.
|
129
152
|
# Corresponds to the JSON property `bindings`
|
130
153
|
# @return [Array<Google::Apis::ServicebrokerV1::GoogleIamV1Binding>]
|
131
154
|
attr_accessor :bindings
|
@@ -137,26 +160,31 @@ module Google
|
|
137
160
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
138
161
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
139
162
|
# ensure that their change will be applied to the same version of the policy.
|
140
|
-
# If
|
141
|
-
#
|
142
|
-
#
|
143
|
-
#
|
163
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
164
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
165
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
166
|
+
# the conditions in the version `3` policy are lost.
|
144
167
|
# Corresponds to the JSON property `etag`
|
145
168
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
146
169
|
# @return [String]
|
147
170
|
attr_accessor :etag
|
148
171
|
|
149
172
|
# Specifies the format of the policy.
|
150
|
-
# Valid values are 0
|
151
|
-
# rejected.
|
152
|
-
#
|
153
|
-
#
|
154
|
-
#
|
155
|
-
# conditional policy
|
156
|
-
#
|
157
|
-
#
|
158
|
-
#
|
159
|
-
#
|
173
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
174
|
+
# are rejected.
|
175
|
+
# Any operation that affects conditional role bindings must specify version
|
176
|
+
# `3`. This requirement applies to the following operations:
|
177
|
+
# * Getting a policy that includes a conditional role binding
|
178
|
+
# * Adding a conditional role binding to a policy
|
179
|
+
# * Changing a conditional role binding in a policy
|
180
|
+
# * Removing any role binding, with or without a condition, from a policy
|
181
|
+
# that includes conditions
|
182
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
183
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
184
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
185
|
+
# the conditions in the version `3` policy are lost.
|
186
|
+
# If a policy does not include any conditions, operations on that policy may
|
187
|
+
# specify any valid version or leave the field unset.
|
160
188
|
# Corresponds to the JSON property `version`
|
161
189
|
# @return [Fixnum]
|
162
190
|
attr_accessor :version
|
@@ -177,16 +205,18 @@ module Google
|
|
177
205
|
class GoogleIamV1SetIamPolicyRequest
|
178
206
|
include Google::Apis::Core::Hashable
|
179
207
|
|
180
|
-
#
|
181
|
-
#
|
208
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
209
|
+
# controls for Google Cloud resources.
|
182
210
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
183
211
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
184
212
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
185
|
-
# permissions
|
186
|
-
#
|
187
|
-
#
|
188
|
-
#
|
189
|
-
#
|
213
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
214
|
+
# custom role.
|
215
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
216
|
+
# expression that allows access to a resource only if the expression evaluates
|
217
|
+
# to `true`. A condition can add constraints based on attributes of the
|
218
|
+
# request, the resource, or both.
|
219
|
+
# **JSON example:**
|
190
220
|
# `
|
191
221
|
# "bindings": [
|
192
222
|
# `
|
@@ -204,13 +234,15 @@ module Google
|
|
204
234
|
# "condition": `
|
205
235
|
# "title": "expirable access",
|
206
236
|
# "description": "Does not grant access after Sep 2020",
|
207
|
-
# "expression": "request.time <
|
208
|
-
#
|
237
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
238
|
+
# ",
|
209
239
|
# `
|
210
240
|
# `
|
211
|
-
# ]
|
241
|
+
# ],
|
242
|
+
# "etag": "BwWWja0YfJA=",
|
243
|
+
# "version": 3
|
212
244
|
# `
|
213
|
-
# **YAML
|
245
|
+
# **YAML example:**
|
214
246
|
# bindings:
|
215
247
|
# - members:
|
216
248
|
# - user:mike@example.com
|
@@ -225,8 +257,10 @@ module Google
|
|
225
257
|
# title: expirable access
|
226
258
|
# description: Does not grant access after Sep 2020
|
227
259
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
260
|
+
# - etag: BwWWja0YfJA=
|
261
|
+
# - version: 3
|
228
262
|
# For a description of IAM and its features, see the
|
229
|
-
# [IAM
|
263
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
230
264
|
# Corresponds to the JSON property `policy`
|
231
265
|
# @return [Google::Apis::ServicebrokerV1::GoogleIamV1Policy]
|
232
266
|
attr_accessor :policy
|