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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +69 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +7 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +32 -32
- data/generated/google/apis/androidpublisher_v3/representations.rb +17 -17
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +2 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +81 -41
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +8 -8
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +60 -30
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +75 -40
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +75 -41
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +75 -41
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +206 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +174 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +59 -41
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +9 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +75 -41
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +75 -41
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +104 -41
- data/generated/google/apis/cloudkms_v1/representations.rb +15 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +75 -41
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +75 -41
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +3 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +81 -47
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +75 -41
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +81 -47
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +5 -3
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +68 -47
- data/generated/google/apis/compute_alpha/representations.rb +2 -1
- data/generated/google/apis/compute_alpha/service.rb +54 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +597 -40
- data/generated/google/apis/compute_beta/representations.rb +164 -0
- data/generated/google/apis/compute_beta/service.rb +343 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +54 -39
- data/generated/google/apis/compute_v1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +75 -41
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +77 -43
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +46 -42
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +46 -42
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +75 -41
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +16 -22
- data/generated/google/apis/datastore_v1/service.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +5 -4
- data/generated/google/apis/datastore_v1beta3/service.rb +8 -8
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +88 -88
- data/generated/google/apis/dfareporting_v3_4/representations.rb +39 -39
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1 -1
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +77 -0
- data/generated/google/apis/dlp_v2/representations.rb +42 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +59 -12
- data/generated/google/apis/file_v1/representations.rb +19 -2
- data/generated/google/apis/file_v1/service.rb +8 -4
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +59 -12
- data/generated/google/apis/file_v1beta1/representations.rb +19 -2
- data/generated/google/apis/file_v1beta1/service.rb +8 -4
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +75 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +35 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +7 -4
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +225 -40
- data/generated/google/apis/iap_v1/representations.rb +84 -0
- data/generated/google/apis/iap_v1/service.rb +292 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +75 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +29 -41
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +14 -21
- data/generated/google/apis/ml_v1/service.rb +15 -18
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +15 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +6 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/{fusiontables_v1.rb → policytroubleshooter_v1.rb} +10 -13
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +700 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +75 -41
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +75 -41
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +75 -41
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +82 -41
- data/generated/google/apis/run_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/{fusiontables_v2.rb → secretmanager_v1beta1.rb} +11 -14
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +936 -0
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +388 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +674 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +85 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +4 -3
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +38 -1
- data/generated/google/apis/servicenetworking_v1/representations.rb +14 -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 +16 -1
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +16 -1
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/service.rb +4 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +374 -2
- data/generated/google/apis/toolresults_v1beta3/representations.rb +109 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +98 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
|
26
26
|
module PubsubV1beta2
|
|
27
27
|
VERSION = 'V1beta2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191203'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -66,6 +66,23 @@ module Google
|
|
|
66
66
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
67
67
|
# * `group:`emailid``: An email address that represents a Google group.
|
|
68
68
|
# For example, `admins@example.com`.
|
|
69
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
70
|
+
# identifier) representing a user that has been recently deleted. For
|
|
71
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
|
72
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
|
73
|
+
# retains the role in the binding.
|
|
74
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
|
75
|
+
# unique identifier) representing a service account that has been recently
|
|
76
|
+
# deleted. For example,
|
|
77
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
78
|
+
# If the service account is undeleted, this value reverts to
|
|
79
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
|
80
|
+
# role in the binding.
|
|
81
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
82
|
+
# identifier) representing a Google group that has been recently
|
|
83
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
84
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
85
|
+
# recovered group retains the role in the binding.
|
|
69
86
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
70
87
|
# users of that domain. For example, `google.com` or `example.com`.
|
|
71
88
|
# Corresponds to the JSON property `members`
|
|
@@ -327,16 +344,18 @@ module Google
|
|
|
327
344
|
end
|
|
328
345
|
end
|
|
329
346
|
|
|
330
|
-
#
|
|
331
|
-
#
|
|
347
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
348
|
+
# controls for Google Cloud resources.
|
|
332
349
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
333
350
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
334
351
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
335
|
-
# permissions
|
|
336
|
-
#
|
|
337
|
-
#
|
|
338
|
-
#
|
|
339
|
-
#
|
|
352
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
353
|
+
# custom role.
|
|
354
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
355
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
356
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
357
|
+
# request, the resource, or both.
|
|
358
|
+
# **JSON example:**
|
|
340
359
|
# `
|
|
341
360
|
# "bindings": [
|
|
342
361
|
# `
|
|
@@ -354,13 +373,15 @@ module Google
|
|
|
354
373
|
# "condition": `
|
|
355
374
|
# "title": "expirable access",
|
|
356
375
|
# "description": "Does not grant access after Sep 2020",
|
|
357
|
-
# "expression": "request.time <
|
|
358
|
-
#
|
|
376
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
377
|
+
# ",
|
|
359
378
|
# `
|
|
360
379
|
# `
|
|
361
|
-
# ]
|
|
380
|
+
# ],
|
|
381
|
+
# "etag": "BwWWja0YfJA=",
|
|
382
|
+
# "version": 3
|
|
362
383
|
# `
|
|
363
|
-
# **YAML
|
|
384
|
+
# **YAML example:**
|
|
364
385
|
# bindings:
|
|
365
386
|
# - members:
|
|
366
387
|
# - user:mike@example.com
|
|
@@ -375,14 +396,16 @@ module Google
|
|
|
375
396
|
# title: expirable access
|
|
376
397
|
# description: Does not grant access after Sep 2020
|
|
377
398
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
399
|
+
# - etag: BwWWja0YfJA=
|
|
400
|
+
# - version: 3
|
|
378
401
|
# For a description of IAM and its features, see the
|
|
379
|
-
# [IAM
|
|
402
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
380
403
|
class Policy
|
|
381
404
|
include Google::Apis::Core::Hashable
|
|
382
405
|
|
|
383
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
|
384
|
-
# `condition` that determines when
|
|
385
|
-
# `bindings`
|
|
406
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
407
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
|
408
|
+
# of the `bindings` must contain at least one member.
|
|
386
409
|
# Corresponds to the JSON property `bindings`
|
|
387
410
|
# @return [Array<Google::Apis::PubsubV1beta2::Binding>]
|
|
388
411
|
attr_accessor :bindings
|
|
@@ -394,26 +417,31 @@ module Google
|
|
|
394
417
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
|
395
418
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
|
396
419
|
# ensure that their change will be applied to the same version of the policy.
|
|
397
|
-
# If
|
|
398
|
-
#
|
|
399
|
-
#
|
|
400
|
-
#
|
|
420
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
421
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
422
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
423
|
+
# the conditions in the version `3` policy are lost.
|
|
401
424
|
# Corresponds to the JSON property `etag`
|
|
402
425
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
403
426
|
# @return [String]
|
|
404
427
|
attr_accessor :etag
|
|
405
428
|
|
|
406
429
|
# Specifies the format of the policy.
|
|
407
|
-
# Valid values are 0
|
|
408
|
-
# rejected.
|
|
409
|
-
#
|
|
410
|
-
#
|
|
411
|
-
#
|
|
412
|
-
# conditional policy
|
|
413
|
-
#
|
|
414
|
-
#
|
|
415
|
-
#
|
|
416
|
-
#
|
|
430
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
|
431
|
+
# are rejected.
|
|
432
|
+
# Any operation that affects conditional role bindings must specify version
|
|
433
|
+
# `3`. This requirement applies to the following operations:
|
|
434
|
+
# * Getting a policy that includes a conditional role binding
|
|
435
|
+
# * Adding a conditional role binding to a policy
|
|
436
|
+
# * Changing a conditional role binding in a policy
|
|
437
|
+
# * Removing any role binding, with or without a condition, from a policy
|
|
438
|
+
# that includes conditions
|
|
439
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
440
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
441
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
442
|
+
# the conditions in the version `3` policy are lost.
|
|
443
|
+
# If a policy does not include any conditions, operations on that policy may
|
|
444
|
+
# specify any valid version or leave the field unset.
|
|
417
445
|
# Corresponds to the JSON property `version`
|
|
418
446
|
# @return [Fixnum]
|
|
419
447
|
attr_accessor :version
|
|
@@ -648,16 +676,18 @@ module Google
|
|
|
648
676
|
class SetIamPolicyRequest
|
|
649
677
|
include Google::Apis::Core::Hashable
|
|
650
678
|
|
|
651
|
-
#
|
|
652
|
-
#
|
|
679
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
680
|
+
# controls for Google Cloud resources.
|
|
653
681
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
654
682
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
655
683
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
656
|
-
# permissions
|
|
657
|
-
#
|
|
658
|
-
#
|
|
659
|
-
#
|
|
660
|
-
#
|
|
684
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
685
|
+
# custom role.
|
|
686
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
687
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
688
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
689
|
+
# request, the resource, or both.
|
|
690
|
+
# **JSON example:**
|
|
661
691
|
# `
|
|
662
692
|
# "bindings": [
|
|
663
693
|
# `
|
|
@@ -675,13 +705,15 @@ module Google
|
|
|
675
705
|
# "condition": `
|
|
676
706
|
# "title": "expirable access",
|
|
677
707
|
# "description": "Does not grant access after Sep 2020",
|
|
678
|
-
# "expression": "request.time <
|
|
679
|
-
#
|
|
708
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
709
|
+
# ",
|
|
680
710
|
# `
|
|
681
711
|
# `
|
|
682
|
-
# ]
|
|
712
|
+
# ],
|
|
713
|
+
# "etag": "BwWWja0YfJA=",
|
|
714
|
+
# "version": 3
|
|
683
715
|
# `
|
|
684
|
-
# **YAML
|
|
716
|
+
# **YAML example:**
|
|
685
717
|
# bindings:
|
|
686
718
|
# - members:
|
|
687
719
|
# - user:mike@example.com
|
|
@@ -696,8 +728,10 @@ module Google
|
|
|
696
728
|
# title: expirable access
|
|
697
729
|
# description: Does not grant access after Sep 2020
|
|
698
730
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
731
|
+
# - etag: BwWWja0YfJA=
|
|
732
|
+
# - version: 3
|
|
699
733
|
# For a description of IAM and its features, see the
|
|
700
|
-
# [IAM
|
|
734
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
701
735
|
# Corresponds to the JSON property `policy`
|
|
702
736
|
# @return [Google::Apis::PubsubV1beta2::Policy]
|
|
703
737
|
attr_accessor :policy
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
|
26
26
|
module RemotebuildexecutionV1alpha
|
|
27
27
|
VERSION = 'V1alpha'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191211'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -2073,7 +2073,7 @@ module Google
|
|
|
2073
2073
|
# Required. Disk Type to use for the worker.
|
|
2074
2074
|
# See [Storage
|
|
2075
2075
|
# options](https://cloud.google.com/compute/docs/disks/#introduction).
|
|
2076
|
-
# Currently only `pd-standard`
|
|
2076
|
+
# Currently only `pd-standard` and `pd-ssd` are supported.
|
|
2077
2077
|
# Corresponds to the JSON property `diskType`
|
|
2078
2078
|
# @return [String]
|
|
2079
2079
|
attr_accessor :disk_type
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
|
26
26
|
module RemotebuildexecutionV2
|
|
27
27
|
VERSION = 'V2'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191211'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -2770,7 +2770,7 @@ module Google
|
|
|
2770
2770
|
# Required. Disk Type to use for the worker.
|
|
2771
2771
|
# See [Storage
|
|
2772
2772
|
# options](https://cloud.google.com/compute/docs/disks/#introduction).
|
|
2773
|
-
# Currently only `pd-standard`
|
|
2773
|
+
# Currently only `pd-standard` and `pd-ssd` are supported.
|
|
2774
2774
|
# Corresponds to the JSON property `diskType`
|
|
2775
2775
|
# @return [String]
|
|
2776
2776
|
attr_accessor :disk_type
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/run/
|
|
27
27
|
module RunV1
|
|
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'
|
|
@@ -209,6 +209,23 @@ module Google
|
|
|
209
209
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
210
210
|
# * `group:`emailid``: An email address that represents a Google group.
|
|
211
211
|
# For example, `admins@example.com`.
|
|
212
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
213
|
+
# identifier) representing a user that has been recently deleted. For
|
|
214
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
|
215
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
|
216
|
+
# retains the role in the binding.
|
|
217
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
|
218
|
+
# unique identifier) representing a service account that has been recently
|
|
219
|
+
# deleted. For example,
|
|
220
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
221
|
+
# If the service account is undeleted, this value reverts to
|
|
222
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
|
223
|
+
# role in the binding.
|
|
224
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
225
|
+
# identifier) representing a Google group that has been recently
|
|
226
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
227
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
228
|
+
# recovered group retains the role in the binding.
|
|
212
229
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
213
230
|
# users of that domain. For example, `google.com` or `example.com`.
|
|
214
231
|
# Corresponds to the JSON property `members`
|
|
@@ -2005,16 +2022,18 @@ module Google
|
|
|
2005
2022
|
end
|
|
2006
2023
|
end
|
|
2007
2024
|
|
|
2008
|
-
#
|
|
2009
|
-
#
|
|
2025
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
2026
|
+
# controls for Google Cloud resources.
|
|
2010
2027
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
2011
2028
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
2012
2029
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
2013
|
-
# permissions
|
|
2014
|
-
#
|
|
2015
|
-
#
|
|
2016
|
-
#
|
|
2017
|
-
#
|
|
2030
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
2031
|
+
# custom role.
|
|
2032
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
2033
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
2034
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
2035
|
+
# request, the resource, or both.
|
|
2036
|
+
# **JSON example:**
|
|
2018
2037
|
# `
|
|
2019
2038
|
# "bindings": [
|
|
2020
2039
|
# `
|
|
@@ -2032,13 +2051,15 @@ module Google
|
|
|
2032
2051
|
# "condition": `
|
|
2033
2052
|
# "title": "expirable access",
|
|
2034
2053
|
# "description": "Does not grant access after Sep 2020",
|
|
2035
|
-
# "expression": "request.time <
|
|
2036
|
-
#
|
|
2054
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
2055
|
+
# ",
|
|
2037
2056
|
# `
|
|
2038
2057
|
# `
|
|
2039
|
-
# ]
|
|
2058
|
+
# ],
|
|
2059
|
+
# "etag": "BwWWja0YfJA=",
|
|
2060
|
+
# "version": 3
|
|
2040
2061
|
# `
|
|
2041
|
-
# **YAML
|
|
2062
|
+
# **YAML example:**
|
|
2042
2063
|
# bindings:
|
|
2043
2064
|
# - members:
|
|
2044
2065
|
# - user:mike@example.com
|
|
@@ -2053,8 +2074,10 @@ module Google
|
|
|
2053
2074
|
# title: expirable access
|
|
2054
2075
|
# description: Does not grant access after Sep 2020
|
|
2055
2076
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
2077
|
+
# - etag: BwWWja0YfJA=
|
|
2078
|
+
# - version: 3
|
|
2056
2079
|
# For a description of IAM and its features, see the
|
|
2057
|
-
# [IAM
|
|
2080
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
2058
2081
|
class Policy
|
|
2059
2082
|
include Google::Apis::Core::Hashable
|
|
2060
2083
|
|
|
@@ -2063,9 +2086,9 @@ module Google
|
|
|
2063
2086
|
# @return [Array<Google::Apis::RunV1::AuditConfig>]
|
|
2064
2087
|
attr_accessor :audit_configs
|
|
2065
2088
|
|
|
2066
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
|
2067
|
-
# `condition` that determines when
|
|
2068
|
-
# `bindings`
|
|
2089
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
2090
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
|
2091
|
+
# of the `bindings` must contain at least one member.
|
|
2069
2092
|
# Corresponds to the JSON property `bindings`
|
|
2070
2093
|
# @return [Array<Google::Apis::RunV1::Binding>]
|
|
2071
2094
|
attr_accessor :bindings
|
|
@@ -2077,26 +2100,31 @@ module Google
|
|
|
2077
2100
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
|
2078
2101
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
|
2079
2102
|
# ensure that their change will be applied to the same version of the policy.
|
|
2080
|
-
# If
|
|
2081
|
-
#
|
|
2082
|
-
#
|
|
2083
|
-
#
|
|
2103
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
2104
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
2105
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
2106
|
+
# the conditions in the version `3` policy are lost.
|
|
2084
2107
|
# Corresponds to the JSON property `etag`
|
|
2085
2108
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
2086
2109
|
# @return [String]
|
|
2087
2110
|
attr_accessor :etag
|
|
2088
2111
|
|
|
2089
2112
|
# Specifies the format of the policy.
|
|
2090
|
-
# Valid values are 0
|
|
2091
|
-
# rejected.
|
|
2092
|
-
#
|
|
2093
|
-
#
|
|
2094
|
-
#
|
|
2095
|
-
# conditional policy
|
|
2096
|
-
#
|
|
2097
|
-
#
|
|
2098
|
-
#
|
|
2099
|
-
#
|
|
2113
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
|
2114
|
+
# are rejected.
|
|
2115
|
+
# Any operation that affects conditional role bindings must specify version
|
|
2116
|
+
# `3`. This requirement applies to the following operations:
|
|
2117
|
+
# * Getting a policy that includes a conditional role binding
|
|
2118
|
+
# * Adding a conditional role binding to a policy
|
|
2119
|
+
# * Changing a conditional role binding in a policy
|
|
2120
|
+
# * Removing any role binding, with or without a condition, from a policy
|
|
2121
|
+
# that includes conditions
|
|
2122
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
2123
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
2124
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
2125
|
+
# the conditions in the version `3` policy are lost.
|
|
2126
|
+
# If a policy does not include any conditions, operations on that policy may
|
|
2127
|
+
# specify any valid version or leave the field unset.
|
|
2100
2128
|
# Corresponds to the JSON property `version`
|
|
2101
2129
|
# @return [Fixnum]
|
|
2102
2130
|
attr_accessor :version
|
|
@@ -2951,16 +2979,18 @@ module Google
|
|
|
2951
2979
|
class SetIamPolicyRequest
|
|
2952
2980
|
include Google::Apis::Core::Hashable
|
|
2953
2981
|
|
|
2954
|
-
#
|
|
2955
|
-
#
|
|
2982
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
2983
|
+
# controls for Google Cloud resources.
|
|
2956
2984
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
2957
2985
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
2958
2986
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
2959
|
-
# permissions
|
|
2960
|
-
#
|
|
2961
|
-
#
|
|
2962
|
-
#
|
|
2963
|
-
#
|
|
2987
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
2988
|
+
# custom role.
|
|
2989
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
2990
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
2991
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
2992
|
+
# request, the resource, or both.
|
|
2993
|
+
# **JSON example:**
|
|
2964
2994
|
# `
|
|
2965
2995
|
# "bindings": [
|
|
2966
2996
|
# `
|
|
@@ -2978,13 +3008,15 @@ module Google
|
|
|
2978
3008
|
# "condition": `
|
|
2979
3009
|
# "title": "expirable access",
|
|
2980
3010
|
# "description": "Does not grant access after Sep 2020",
|
|
2981
|
-
# "expression": "request.time <
|
|
2982
|
-
#
|
|
3011
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
3012
|
+
# ",
|
|
2983
3013
|
# `
|
|
2984
3014
|
# `
|
|
2985
|
-
# ]
|
|
3015
|
+
# ],
|
|
3016
|
+
# "etag": "BwWWja0YfJA=",
|
|
3017
|
+
# "version": 3
|
|
2986
3018
|
# `
|
|
2987
|
-
# **YAML
|
|
3019
|
+
# **YAML example:**
|
|
2988
3020
|
# bindings:
|
|
2989
3021
|
# - members:
|
|
2990
3022
|
# - user:mike@example.com
|
|
@@ -2999,8 +3031,10 @@ module Google
|
|
|
2999
3031
|
# title: expirable access
|
|
3000
3032
|
# description: Does not grant access after Sep 2020
|
|
3001
3033
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
3034
|
+
# - etag: BwWWja0YfJA=
|
|
3035
|
+
# - version: 3
|
|
3002
3036
|
# For a description of IAM and its features, see the
|
|
3003
|
-
# [IAM
|
|
3037
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
3004
3038
|
# Corresponds to the JSON property `policy`
|
|
3005
3039
|
# @return [Google::Apis::RunV1::Policy]
|
|
3006
3040
|
attr_accessor :policy
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/run/
|
|
27
27
|
module RunV1alpha1
|
|
28
28
|
VERSION = 'V1alpha1'
|
|
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'
|