google-api-client 0.36.0 → 0.36.1
Sign up to get free protection for your applications and to get access to all the features.
- 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://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191025'
|
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'
|
@@ -1548,12 +1548,13 @@ module Google
|
|
1548
1548
|
attr_accessor :self_link
|
1549
1549
|
|
1550
1550
|
# [Output Only] The status of the autoscaler configuration. Current set of
|
1551
|
-
# possible values:
|
1552
|
-
#
|
1553
|
-
#
|
1554
|
-
#
|
1555
|
-
#
|
1556
|
-
#
|
1551
|
+
# possible values:
|
1552
|
+
# - PENDING: Autoscaler backend hasn't read new/updated configuration.
|
1553
|
+
# - DELETING: Configuration is being deleted.
|
1554
|
+
# - ACTIVE: Configuration is acknowledged to be effective. Some warnings might
|
1555
|
+
# be present in the statusDetails field.
|
1556
|
+
# - ERROR: Configuration has errors. Actionable for users. Details are present
|
1557
|
+
# in the statusDetails field. New values might be added in the future.
|
1557
1558
|
# Corresponds to the JSON property `status`
|
1558
1559
|
# @return [String]
|
1559
1560
|
attr_accessor :status
|
@@ -1842,38 +1843,45 @@ module Google
|
|
1842
1843
|
# @return [String]
|
1843
1844
|
attr_accessor :message
|
1844
1845
|
|
1845
|
-
# The type of error, warning or notice returned. Current set of possible values:
|
1846
|
-
#
|
1847
|
-
#
|
1848
|
-
#
|
1849
|
-
#
|
1850
|
-
#
|
1851
|
-
#
|
1852
|
-
#
|
1853
|
-
#
|
1854
|
-
#
|
1855
|
-
#
|
1856
|
-
#
|
1846
|
+
# The type of error, warning, or notice returned. Current set of possible values:
|
1847
|
+
#
|
1848
|
+
# - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are
|
1849
|
+
# unhealthy (not in RUNNING state).
|
1850
|
+
# - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached
|
1851
|
+
# to the instance group.
|
1852
|
+
# - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater
|
1853
|
+
# than maxNumReplicas.
|
1854
|
+
# - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples
|
1855
|
+
# are not exported often enough to be a credible base for autoscaling.
|
1856
|
+
# - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not
|
1857
|
+
# exist or does not have the necessary labels.
|
1858
|
+
# - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas.
|
1859
|
+
# This means the autoscaler cannot add or remove instances from the instance
|
1860
|
+
# group.
|
1861
|
+
# - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive
|
1857
1862
|
# any data from the custom metric configured for autoscaling.
|
1858
|
-
# MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured
|
1859
|
-
# scale based on a load balancing signal but the instance group has not
|
1860
|
-
# any requests from the load balancer.
|
1861
|
-
# off. The number of instances in
|
1862
|
-
#
|
1863
|
-
#
|
1864
|
-
#
|
1865
|
-
#
|
1866
|
-
#
|
1867
|
-
#
|
1868
|
-
#
|
1869
|
-
#
|
1870
|
-
#
|
1871
|
-
#
|
1872
|
-
#
|
1873
|
-
#
|
1874
|
-
#
|
1875
|
-
#
|
1876
|
-
#
|
1863
|
+
# - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured
|
1864
|
+
# to scale based on a load balancing signal but the instance group has not
|
1865
|
+
# received any requests from the load balancer.
|
1866
|
+
# - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in
|
1867
|
+
# the group won't change automatically. The autoscaling configuration is
|
1868
|
+
# preserved.
|
1869
|
+
# - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only up" mode. The
|
1870
|
+
# autoscaler can add instances but not remove any.
|
1871
|
+
# - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be
|
1872
|
+
# autoscaled because it has more than one backend service attached to it.
|
1873
|
+
# - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the
|
1874
|
+
# necessary resources, such as CPU or number of instances.
|
1875
|
+
# - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there
|
1876
|
+
# is a resource stockout in the chosen region.
|
1877
|
+
# - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not
|
1878
|
+
# exist.
|
1879
|
+
# - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does
|
1880
|
+
# not work with an HTTP/S load balancer that has been configured for maxRate.
|
1881
|
+
# - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource
|
1882
|
+
# stockout in the chosen zone. For regional autoscalers: in at least one of the
|
1883
|
+
# zones you're using there is a resource stockout. New values might be added in
|
1884
|
+
# the future. Some of the values might not be available in all API versions.
|
1877
1885
|
# Corresponds to the JSON property `type`
|
1878
1886
|
# @return [String]
|
1879
1887
|
attr_accessor :type
|
@@ -9123,6 +9131,12 @@ module Google
|
|
9123
9131
|
# @return [String]
|
9124
9132
|
attr_accessor :status
|
9125
9133
|
|
9134
|
+
# Cloud Storage bucket storage location of the image (regional or multi-regional)
|
9135
|
+
# .
|
9136
|
+
# Corresponds to the JSON property `storageLocations`
|
9137
|
+
# @return [Array<String>]
|
9138
|
+
attr_accessor :storage_locations
|
9139
|
+
|
9126
9140
|
def initialize(**args)
|
9127
9141
|
update!(**args)
|
9128
9142
|
end
|
@@ -9157,6 +9171,7 @@ module Google
|
|
9157
9171
|
@source_snapshot_id = args[:source_snapshot_id] if args.key?(:source_snapshot_id)
|
9158
9172
|
@source_type = args[:source_type] if args.key?(:source_type)
|
9159
9173
|
@status = args[:status] if args.key?(:status)
|
9174
|
+
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
9160
9175
|
end
|
9161
9176
|
|
9162
9177
|
# The parameters of the raw disk image.
|
@@ -23429,8 +23444,8 @@ module Google
|
|
23429
23444
|
class Snapshot
|
23430
23445
|
include Google::Apis::Core::Hashable
|
23431
23446
|
|
23432
|
-
# [Output Only] Set to true if snapshots are automatically by applying
|
23433
|
-
# policy on the target disk.
|
23447
|
+
# [Output Only] Set to true if snapshots are automatically created by applying
|
23448
|
+
# resource policy on the target disk.
|
23434
23449
|
# Corresponds to the JSON property `autoCreated`
|
23435
23450
|
# @return [Boolean]
|
23436
23451
|
attr_accessor :auto_created
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
27
27
|
module ContaineranalysisV1alpha1
|
28
28
|
VERSION = 'V1alpha1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191209'
|
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'
|
@@ -210,6 +210,23 @@ module Google
|
|
210
210
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
211
211
|
# * `group:`emailid``: An email address that represents a Google group.
|
212
212
|
# For example, `admins@example.com`.
|
213
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
214
|
+
# identifier) representing a user that has been recently deleted. For
|
215
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
216
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
217
|
+
# retains the role in the binding.
|
218
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
219
|
+
# unique identifier) representing a service account that has been recently
|
220
|
+
# deleted. For example,
|
221
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
222
|
+
# If the service account is undeleted, this value reverts to
|
223
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
224
|
+
# role in the binding.
|
225
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
226
|
+
# identifier) representing a Google group that has been recently
|
227
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
228
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
229
|
+
# recovered group retains the role in the binding.
|
213
230
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
214
231
|
# users of that domain. For example, `google.com` or `example.com`.
|
215
232
|
# Corresponds to the JSON property `members`
|
@@ -1937,16 +1954,18 @@ module Google
|
|
1937
1954
|
end
|
1938
1955
|
end
|
1939
1956
|
|
1940
|
-
#
|
1941
|
-
#
|
1957
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
1958
|
+
# controls for Google Cloud resources.
|
1942
1959
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
1943
1960
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
1944
1961
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1945
|
-
# permissions
|
1946
|
-
#
|
1947
|
-
#
|
1948
|
-
#
|
1949
|
-
#
|
1962
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
1963
|
+
# custom role.
|
1964
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
1965
|
+
# expression that allows access to a resource only if the expression evaluates
|
1966
|
+
# to `true`. A condition can add constraints based on attributes of the
|
1967
|
+
# request, the resource, or both.
|
1968
|
+
# **JSON example:**
|
1950
1969
|
# `
|
1951
1970
|
# "bindings": [
|
1952
1971
|
# `
|
@@ -1964,13 +1983,15 @@ module Google
|
|
1964
1983
|
# "condition": `
|
1965
1984
|
# "title": "expirable access",
|
1966
1985
|
# "description": "Does not grant access after Sep 2020",
|
1967
|
-
# "expression": "request.time <
|
1968
|
-
#
|
1986
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1987
|
+
# ",
|
1969
1988
|
# `
|
1970
1989
|
# `
|
1971
|
-
# ]
|
1990
|
+
# ],
|
1991
|
+
# "etag": "BwWWja0YfJA=",
|
1992
|
+
# "version": 3
|
1972
1993
|
# `
|
1973
|
-
# **YAML
|
1994
|
+
# **YAML example:**
|
1974
1995
|
# bindings:
|
1975
1996
|
# - members:
|
1976
1997
|
# - user:mike@example.com
|
@@ -1985,14 +2006,16 @@ module Google
|
|
1985
2006
|
# title: expirable access
|
1986
2007
|
# description: Does not grant access after Sep 2020
|
1987
2008
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2009
|
+
# - etag: BwWWja0YfJA=
|
2010
|
+
# - version: 3
|
1988
2011
|
# For a description of IAM and its features, see the
|
1989
|
-
# [IAM
|
2012
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1990
2013
|
class Policy
|
1991
2014
|
include Google::Apis::Core::Hashable
|
1992
2015
|
|
1993
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
1994
|
-
# `condition` that determines when
|
1995
|
-
# `bindings`
|
2016
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
2017
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
2018
|
+
# of the `bindings` must contain at least one member.
|
1996
2019
|
# Corresponds to the JSON property `bindings`
|
1997
2020
|
# @return [Array<Google::Apis::ContaineranalysisV1alpha1::Binding>]
|
1998
2021
|
attr_accessor :bindings
|
@@ -2004,26 +2027,31 @@ module Google
|
|
2004
2027
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
2005
2028
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
2006
2029
|
# ensure that their change will be applied to the same version of the policy.
|
2007
|
-
# If
|
2008
|
-
#
|
2009
|
-
#
|
2010
|
-
#
|
2030
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
2031
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
2032
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
2033
|
+
# the conditions in the version `3` policy are lost.
|
2011
2034
|
# Corresponds to the JSON property `etag`
|
2012
2035
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2013
2036
|
# @return [String]
|
2014
2037
|
attr_accessor :etag
|
2015
2038
|
|
2016
2039
|
# Specifies the format of the policy.
|
2017
|
-
# Valid values are 0
|
2018
|
-
# rejected.
|
2019
|
-
#
|
2020
|
-
#
|
2021
|
-
#
|
2022
|
-
# conditional policy
|
2023
|
-
#
|
2024
|
-
#
|
2025
|
-
#
|
2026
|
-
#
|
2040
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
2041
|
+
# are rejected.
|
2042
|
+
# Any operation that affects conditional role bindings must specify version
|
2043
|
+
# `3`. This requirement applies to the following operations:
|
2044
|
+
# * Getting a policy that includes a conditional role binding
|
2045
|
+
# * Adding a conditional role binding to a policy
|
2046
|
+
# * Changing a conditional role binding in a policy
|
2047
|
+
# * Removing any role binding, with or without a condition, from a policy
|
2048
|
+
# that includes conditions
|
2049
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
2050
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
2051
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
2052
|
+
# the conditions in the version `3` policy are lost.
|
2053
|
+
# If a policy does not include any conditions, operations on that policy may
|
2054
|
+
# specify any valid version or leave the field unset.
|
2027
2055
|
# Corresponds to the JSON property `version`
|
2028
2056
|
# @return [Fixnum]
|
2029
2057
|
attr_accessor :version
|
@@ -2190,16 +2218,18 @@ module Google
|
|
2190
2218
|
class SetIamPolicyRequest
|
2191
2219
|
include Google::Apis::Core::Hashable
|
2192
2220
|
|
2193
|
-
#
|
2194
|
-
#
|
2221
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
2222
|
+
# controls for Google Cloud resources.
|
2195
2223
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
2196
2224
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
2197
2225
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
2198
|
-
# permissions
|
2199
|
-
#
|
2200
|
-
#
|
2201
|
-
#
|
2202
|
-
#
|
2226
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
2227
|
+
# custom role.
|
2228
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
2229
|
+
# expression that allows access to a resource only if the expression evaluates
|
2230
|
+
# to `true`. A condition can add constraints based on attributes of the
|
2231
|
+
# request, the resource, or both.
|
2232
|
+
# **JSON example:**
|
2203
2233
|
# `
|
2204
2234
|
# "bindings": [
|
2205
2235
|
# `
|
@@ -2217,13 +2247,15 @@ module Google
|
|
2217
2247
|
# "condition": `
|
2218
2248
|
# "title": "expirable access",
|
2219
2249
|
# "description": "Does not grant access after Sep 2020",
|
2220
|
-
# "expression": "request.time <
|
2221
|
-
#
|
2250
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2251
|
+
# ",
|
2222
2252
|
# `
|
2223
2253
|
# `
|
2224
|
-
# ]
|
2254
|
+
# ],
|
2255
|
+
# "etag": "BwWWja0YfJA=",
|
2256
|
+
# "version": 3
|
2225
2257
|
# `
|
2226
|
-
# **YAML
|
2258
|
+
# **YAML example:**
|
2227
2259
|
# bindings:
|
2228
2260
|
# - members:
|
2229
2261
|
# - user:mike@example.com
|
@@ -2238,8 +2270,10 @@ module Google
|
|
2238
2270
|
# title: expirable access
|
2239
2271
|
# description: Does not grant access after Sep 2020
|
2240
2272
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2273
|
+
# - etag: BwWWja0YfJA=
|
2274
|
+
# - version: 3
|
2241
2275
|
# For a description of IAM and its features, see the
|
2242
|
-
# [IAM
|
2276
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
2243
2277
|
# Corresponds to the JSON property `policy`
|
2244
2278
|
# @return [Google::Apis::ContaineranalysisV1alpha1::Policy]
|
2245
2279
|
attr_accessor :policy
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-analysis/api/reference/rest/
|
27
27
|
module ContaineranalysisV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191209'
|
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'
|
@@ -187,7 +187,7 @@ module Google
|
|
187
187
|
class BatchCreateNotesRequest
|
188
188
|
include Google::Apis::Core::Hashable
|
189
189
|
|
190
|
-
# The notes to create. Max allowed length is 1000.
|
190
|
+
# Required. The notes to create. Max allowed length is 1000.
|
191
191
|
# Corresponds to the JSON property `notes`
|
192
192
|
# @return [Hash<String,Google::Apis::ContaineranalysisV1beta1::Note>]
|
193
193
|
attr_accessor :notes
|
@@ -225,7 +225,7 @@ module Google
|
|
225
225
|
class BatchCreateOccurrencesRequest
|
226
226
|
include Google::Apis::Core::Hashable
|
227
227
|
|
228
|
-
# The occurrences to create. Max allowed length is 1000.
|
228
|
+
# Required. The occurrences to create. Max allowed length is 1000.
|
229
229
|
# Corresponds to the JSON property `occurrences`
|
230
230
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Occurrence>]
|
231
231
|
attr_accessor :occurrences
|
@@ -283,6 +283,23 @@ module Google
|
|
283
283
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
284
284
|
# * `group:`emailid``: An email address that represents a Google group.
|
285
285
|
# For example, `admins@example.com`.
|
286
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
287
|
+
# identifier) representing a user that has been recently deleted. For
|
288
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
289
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
290
|
+
# retains the role in the binding.
|
291
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
292
|
+
# unique identifier) representing a service account that has been recently
|
293
|
+
# deleted. For example,
|
294
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
295
|
+
# If the service account is undeleted, this value reverts to
|
296
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
297
|
+
# role in the binding.
|
298
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
299
|
+
# identifier) representing a Google group that has been recently
|
300
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
301
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
302
|
+
# recovered group retains the role in the binding.
|
286
303
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
287
304
|
# users of that domain. For example, `google.com` or `example.com`.
|
288
305
|
# Corresponds to the JSON property `members`
|
@@ -2125,16 +2142,18 @@ module Google
|
|
2125
2142
|
end
|
2126
2143
|
end
|
2127
2144
|
|
2128
|
-
#
|
2129
|
-
#
|
2145
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
2146
|
+
# controls for Google Cloud resources.
|
2130
2147
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
2131
2148
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
2132
2149
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
2133
|
-
# permissions
|
2134
|
-
#
|
2135
|
-
#
|
2136
|
-
#
|
2137
|
-
#
|
2150
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
2151
|
+
# custom role.
|
2152
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
2153
|
+
# expression that allows access to a resource only if the expression evaluates
|
2154
|
+
# to `true`. A condition can add constraints based on attributes of the
|
2155
|
+
# request, the resource, or both.
|
2156
|
+
# **JSON example:**
|
2138
2157
|
# `
|
2139
2158
|
# "bindings": [
|
2140
2159
|
# `
|
@@ -2152,13 +2171,15 @@ module Google
|
|
2152
2171
|
# "condition": `
|
2153
2172
|
# "title": "expirable access",
|
2154
2173
|
# "description": "Does not grant access after Sep 2020",
|
2155
|
-
# "expression": "request.time <
|
2156
|
-
#
|
2174
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2175
|
+
# ",
|
2157
2176
|
# `
|
2158
2177
|
# `
|
2159
|
-
# ]
|
2178
|
+
# ],
|
2179
|
+
# "etag": "BwWWja0YfJA=",
|
2180
|
+
# "version": 3
|
2160
2181
|
# `
|
2161
|
-
# **YAML
|
2182
|
+
# **YAML example:**
|
2162
2183
|
# bindings:
|
2163
2184
|
# - members:
|
2164
2185
|
# - user:mike@example.com
|
@@ -2173,14 +2194,16 @@ module Google
|
|
2173
2194
|
# title: expirable access
|
2174
2195
|
# description: Does not grant access after Sep 2020
|
2175
2196
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2197
|
+
# - etag: BwWWja0YfJA=
|
2198
|
+
# - version: 3
|
2176
2199
|
# For a description of IAM and its features, see the
|
2177
|
-
# [IAM
|
2200
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
2178
2201
|
class Policy
|
2179
2202
|
include Google::Apis::Core::Hashable
|
2180
2203
|
|
2181
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
2182
|
-
# `condition` that determines when
|
2183
|
-
# `bindings`
|
2204
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
2205
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
2206
|
+
# of the `bindings` must contain at least one member.
|
2184
2207
|
# Corresponds to the JSON property `bindings`
|
2185
2208
|
# @return [Array<Google::Apis::ContaineranalysisV1beta1::Binding>]
|
2186
2209
|
attr_accessor :bindings
|
@@ -2192,26 +2215,31 @@ module Google
|
|
2192
2215
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
2193
2216
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
2194
2217
|
# ensure that their change will be applied to the same version of the policy.
|
2195
|
-
# If
|
2196
|
-
#
|
2197
|
-
#
|
2198
|
-
#
|
2218
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
2219
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
2220
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
2221
|
+
# the conditions in the version `3` policy are lost.
|
2199
2222
|
# Corresponds to the JSON property `etag`
|
2200
2223
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2201
2224
|
# @return [String]
|
2202
2225
|
attr_accessor :etag
|
2203
2226
|
|
2204
2227
|
# Specifies the format of the policy.
|
2205
|
-
# Valid values are 0
|
2206
|
-
# rejected.
|
2207
|
-
#
|
2208
|
-
#
|
2209
|
-
#
|
2210
|
-
# conditional policy
|
2211
|
-
#
|
2212
|
-
#
|
2213
|
-
#
|
2214
|
-
#
|
2228
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
2229
|
+
# are rejected.
|
2230
|
+
# Any operation that affects conditional role bindings must specify version
|
2231
|
+
# `3`. This requirement applies to the following operations:
|
2232
|
+
# * Getting a policy that includes a conditional role binding
|
2233
|
+
# * Adding a conditional role binding to a policy
|
2234
|
+
# * Changing a conditional role binding in a policy
|
2235
|
+
# * Removing any role binding, with or without a condition, from a policy
|
2236
|
+
# that includes conditions
|
2237
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
2238
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
2239
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
2240
|
+
# the conditions in the version `3` policy are lost.
|
2241
|
+
# If a policy does not include any conditions, operations on that policy may
|
2242
|
+
# specify any valid version or leave the field unset.
|
2215
2243
|
# Corresponds to the JSON property `version`
|
2216
2244
|
# @return [Fixnum]
|
2217
2245
|
attr_accessor :version
|
@@ -2391,16 +2419,18 @@ module Google
|
|
2391
2419
|
class SetIamPolicyRequest
|
2392
2420
|
include Google::Apis::Core::Hashable
|
2393
2421
|
|
2394
|
-
#
|
2395
|
-
#
|
2422
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
2423
|
+
# controls for Google Cloud resources.
|
2396
2424
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
2397
2425
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
2398
2426
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
2399
|
-
# permissions
|
2400
|
-
#
|
2401
|
-
#
|
2402
|
-
#
|
2403
|
-
#
|
2427
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
2428
|
+
# custom role.
|
2429
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
2430
|
+
# expression that allows access to a resource only if the expression evaluates
|
2431
|
+
# to `true`. A condition can add constraints based on attributes of the
|
2432
|
+
# request, the resource, or both.
|
2433
|
+
# **JSON example:**
|
2404
2434
|
# `
|
2405
2435
|
# "bindings": [
|
2406
2436
|
# `
|
@@ -2418,13 +2448,15 @@ module Google
|
|
2418
2448
|
# "condition": `
|
2419
2449
|
# "title": "expirable access",
|
2420
2450
|
# "description": "Does not grant access after Sep 2020",
|
2421
|
-
# "expression": "request.time <
|
2422
|
-
#
|
2451
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2452
|
+
# ",
|
2423
2453
|
# `
|
2424
2454
|
# `
|
2425
|
-
# ]
|
2455
|
+
# ],
|
2456
|
+
# "etag": "BwWWja0YfJA=",
|
2457
|
+
# "version": 3
|
2426
2458
|
# `
|
2427
|
-
# **YAML
|
2459
|
+
# **YAML example:**
|
2428
2460
|
# bindings:
|
2429
2461
|
# - members:
|
2430
2462
|
# - user:mike@example.com
|
@@ -2439,8 +2471,10 @@ module Google
|
|
2439
2471
|
# title: expirable access
|
2440
2472
|
# description: Does not grant access after Sep 2020
|
2441
2473
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
2474
|
+
# - etag: BwWWja0YfJA=
|
2475
|
+
# - version: 3
|
2442
2476
|
# For a description of IAM and its features, see the
|
2443
|
-
# [IAM
|
2477
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
2444
2478
|
# Corresponds to the JSON property `policy`
|
2445
2479
|
# @return [Google::Apis::ContaineranalysisV1beta1::Policy]
|
2446
2480
|
attr_accessor :policy
|