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
|
@@ -1094,7 +1094,7 @@ module Google
|
|
|
1094
1094
|
execute_or_queue_command(command, &block)
|
|
1095
1095
|
end
|
|
1096
1096
|
|
|
1097
|
-
# Gets the access control policy for
|
|
1097
|
+
# Gets the access control policy for a table resource. Returns an empty
|
|
1098
1098
|
# policy if an table exists but does not have a policy set.
|
|
1099
1099
|
# @param [String] resource
|
|
1100
1100
|
# REQUIRED: The resource for which the policy is being requested.
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/binary-authorization/
|
|
27
27
|
module BinaryauthorizationV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191206'
|
|
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'
|
|
@@ -206,6 +206,23 @@ module Google
|
|
|
206
206
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
207
207
|
# * `group:`emailid``: An email address that represents a Google group.
|
|
208
208
|
# For example, `admins@example.com`.
|
|
209
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
210
|
+
# identifier) representing a user that has been recently deleted. For
|
|
211
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
|
212
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
|
213
|
+
# retains the role in the binding.
|
|
214
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
|
215
|
+
# unique identifier) representing a service account that has been recently
|
|
216
|
+
# deleted. For example,
|
|
217
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
218
|
+
# If the service account is undeleted, this value reverts to
|
|
219
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
|
220
|
+
# role in the binding.
|
|
221
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
222
|
+
# identifier) representing a Google group that has been recently
|
|
223
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
224
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
225
|
+
# recovered group retains the role in the binding.
|
|
209
226
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
210
227
|
# users of that domain. For example, `google.com` or `example.com`.
|
|
211
228
|
# Corresponds to the JSON property `members`
|
|
@@ -296,16 +313,18 @@ module Google
|
|
|
296
313
|
end
|
|
297
314
|
end
|
|
298
315
|
|
|
299
|
-
#
|
|
300
|
-
#
|
|
316
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
317
|
+
# controls for Google Cloud resources.
|
|
301
318
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
302
319
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
303
320
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
304
|
-
# permissions
|
|
305
|
-
#
|
|
306
|
-
#
|
|
307
|
-
#
|
|
308
|
-
#
|
|
321
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
322
|
+
# custom role.
|
|
323
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
324
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
325
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
326
|
+
# request, the resource, or both.
|
|
327
|
+
# **JSON example:**
|
|
309
328
|
# `
|
|
310
329
|
# "bindings": [
|
|
311
330
|
# `
|
|
@@ -323,13 +342,15 @@ module Google
|
|
|
323
342
|
# "condition": `
|
|
324
343
|
# "title": "expirable access",
|
|
325
344
|
# "description": "Does not grant access after Sep 2020",
|
|
326
|
-
# "expression": "request.time <
|
|
327
|
-
#
|
|
345
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
346
|
+
# ",
|
|
328
347
|
# `
|
|
329
348
|
# `
|
|
330
|
-
# ]
|
|
349
|
+
# ],
|
|
350
|
+
# "etag": "BwWWja0YfJA=",
|
|
351
|
+
# "version": 3
|
|
331
352
|
# `
|
|
332
|
-
# **YAML
|
|
353
|
+
# **YAML example:**
|
|
333
354
|
# bindings:
|
|
334
355
|
# - members:
|
|
335
356
|
# - user:mike@example.com
|
|
@@ -344,14 +365,16 @@ module Google
|
|
|
344
365
|
# title: expirable access
|
|
345
366
|
# description: Does not grant access after Sep 2020
|
|
346
367
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
368
|
+
# - etag: BwWWja0YfJA=
|
|
369
|
+
# - version: 3
|
|
347
370
|
# For a description of IAM and its features, see the
|
|
348
|
-
# [IAM
|
|
371
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
349
372
|
class IamPolicy
|
|
350
373
|
include Google::Apis::Core::Hashable
|
|
351
374
|
|
|
352
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
|
353
|
-
# `condition` that determines when
|
|
354
|
-
# `bindings`
|
|
375
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
376
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
|
377
|
+
# of the `bindings` must contain at least one member.
|
|
355
378
|
# Corresponds to the JSON property `bindings`
|
|
356
379
|
# @return [Array<Google::Apis::BinaryauthorizationV1::Binding>]
|
|
357
380
|
attr_accessor :bindings
|
|
@@ -363,26 +386,31 @@ module Google
|
|
|
363
386
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
|
364
387
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
|
365
388
|
# ensure that their change will be applied to the same version of the policy.
|
|
366
|
-
# If
|
|
367
|
-
#
|
|
368
|
-
#
|
|
369
|
-
#
|
|
389
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
390
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
391
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
392
|
+
# the conditions in the version `3` policy are lost.
|
|
370
393
|
# Corresponds to the JSON property `etag`
|
|
371
394
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
372
395
|
# @return [String]
|
|
373
396
|
attr_accessor :etag
|
|
374
397
|
|
|
375
398
|
# Specifies the format of the policy.
|
|
376
|
-
# Valid values are 0
|
|
377
|
-
# rejected.
|
|
378
|
-
#
|
|
379
|
-
#
|
|
380
|
-
#
|
|
381
|
-
# conditional policy
|
|
382
|
-
#
|
|
383
|
-
#
|
|
384
|
-
#
|
|
385
|
-
#
|
|
399
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
|
400
|
+
# are rejected.
|
|
401
|
+
# Any operation that affects conditional role bindings must specify version
|
|
402
|
+
# `3`. This requirement applies to the following operations:
|
|
403
|
+
# * Getting a policy that includes a conditional role binding
|
|
404
|
+
# * Adding a conditional role binding to a policy
|
|
405
|
+
# * Changing a conditional role binding in a policy
|
|
406
|
+
# * Removing any role binding, with or without a condition, from a policy
|
|
407
|
+
# that includes conditions
|
|
408
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
409
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
410
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
411
|
+
# the conditions in the version `3` policy are lost.
|
|
412
|
+
# If a policy does not include any conditions, operations on that policy may
|
|
413
|
+
# specify any valid version or leave the field unset.
|
|
386
414
|
# Corresponds to the JSON property `version`
|
|
387
415
|
# @return [Fixnum]
|
|
388
416
|
attr_accessor :version
|
|
@@ -536,16 +564,18 @@ module Google
|
|
|
536
564
|
class SetIamPolicyRequest
|
|
537
565
|
include Google::Apis::Core::Hashable
|
|
538
566
|
|
|
539
|
-
#
|
|
540
|
-
#
|
|
567
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
568
|
+
# controls for Google Cloud resources.
|
|
541
569
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
542
570
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
543
571
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
544
|
-
# permissions
|
|
545
|
-
#
|
|
546
|
-
#
|
|
547
|
-
#
|
|
548
|
-
#
|
|
572
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
573
|
+
# custom role.
|
|
574
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
575
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
576
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
577
|
+
# request, the resource, or both.
|
|
578
|
+
# **JSON example:**
|
|
549
579
|
# `
|
|
550
580
|
# "bindings": [
|
|
551
581
|
# `
|
|
@@ -563,13 +593,15 @@ module Google
|
|
|
563
593
|
# "condition": `
|
|
564
594
|
# "title": "expirable access",
|
|
565
595
|
# "description": "Does not grant access after Sep 2020",
|
|
566
|
-
# "expression": "request.time <
|
|
567
|
-
#
|
|
596
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
597
|
+
# ",
|
|
568
598
|
# `
|
|
569
599
|
# `
|
|
570
|
-
# ]
|
|
600
|
+
# ],
|
|
601
|
+
# "etag": "BwWWja0YfJA=",
|
|
602
|
+
# "version": 3
|
|
571
603
|
# `
|
|
572
|
-
# **YAML
|
|
604
|
+
# **YAML example:**
|
|
573
605
|
# bindings:
|
|
574
606
|
# - members:
|
|
575
607
|
# - user:mike@example.com
|
|
@@ -584,8 +616,10 @@ module Google
|
|
|
584
616
|
# title: expirable access
|
|
585
617
|
# description: Does not grant access after Sep 2020
|
|
586
618
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
619
|
+
# - etag: BwWWja0YfJA=
|
|
620
|
+
# - version: 3
|
|
587
621
|
# For a description of IAM and its features, see the
|
|
588
|
-
# [IAM
|
|
622
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
589
623
|
# Corresponds to the JSON property `policy`
|
|
590
624
|
# @return [Google::Apis::BinaryauthorizationV1::IamPolicy]
|
|
591
625
|
attr_accessor :policy
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/binary-authorization/
|
|
27
27
|
module BinaryauthorizationV1beta1
|
|
28
28
|
VERSION = 'V1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191206'
|
|
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'
|
|
@@ -206,6 +206,23 @@ module Google
|
|
|
206
206
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
|
207
207
|
# * `group:`emailid``: An email address that represents a Google group.
|
|
208
208
|
# For example, `admins@example.com`.
|
|
209
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
210
|
+
# identifier) representing a user that has been recently deleted. For
|
|
211
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
|
212
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
|
213
|
+
# retains the role in the binding.
|
|
214
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
|
215
|
+
# unique identifier) representing a service account that has been recently
|
|
216
|
+
# deleted. For example,
|
|
217
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
|
218
|
+
# If the service account is undeleted, this value reverts to
|
|
219
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
|
220
|
+
# role in the binding.
|
|
221
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
|
222
|
+
# identifier) representing a Google group that has been recently
|
|
223
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
|
224
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
|
225
|
+
# recovered group retains the role in the binding.
|
|
209
226
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
|
210
227
|
# users of that domain. For example, `google.com` or `example.com`.
|
|
211
228
|
# Corresponds to the JSON property `members`
|
|
@@ -296,16 +313,18 @@ module Google
|
|
|
296
313
|
end
|
|
297
314
|
end
|
|
298
315
|
|
|
299
|
-
#
|
|
300
|
-
#
|
|
316
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
317
|
+
# controls for Google Cloud resources.
|
|
301
318
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
302
319
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
303
320
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
304
|
-
# permissions
|
|
305
|
-
#
|
|
306
|
-
#
|
|
307
|
-
#
|
|
308
|
-
#
|
|
321
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
322
|
+
# custom role.
|
|
323
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
324
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
325
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
326
|
+
# request, the resource, or both.
|
|
327
|
+
# **JSON example:**
|
|
309
328
|
# `
|
|
310
329
|
# "bindings": [
|
|
311
330
|
# `
|
|
@@ -323,13 +342,15 @@ module Google
|
|
|
323
342
|
# "condition": `
|
|
324
343
|
# "title": "expirable access",
|
|
325
344
|
# "description": "Does not grant access after Sep 2020",
|
|
326
|
-
# "expression": "request.time <
|
|
327
|
-
#
|
|
345
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
346
|
+
# ",
|
|
328
347
|
# `
|
|
329
348
|
# `
|
|
330
|
-
# ]
|
|
349
|
+
# ],
|
|
350
|
+
# "etag": "BwWWja0YfJA=",
|
|
351
|
+
# "version": 3
|
|
331
352
|
# `
|
|
332
|
-
# **YAML
|
|
353
|
+
# **YAML example:**
|
|
333
354
|
# bindings:
|
|
334
355
|
# - members:
|
|
335
356
|
# - user:mike@example.com
|
|
@@ -344,14 +365,16 @@ module Google
|
|
|
344
365
|
# title: expirable access
|
|
345
366
|
# description: Does not grant access after Sep 2020
|
|
346
367
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
368
|
+
# - etag: BwWWja0YfJA=
|
|
369
|
+
# - version: 3
|
|
347
370
|
# For a description of IAM and its features, see the
|
|
348
|
-
# [IAM
|
|
371
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
349
372
|
class IamPolicy
|
|
350
373
|
include Google::Apis::Core::Hashable
|
|
351
374
|
|
|
352
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
|
353
|
-
# `condition` that determines when
|
|
354
|
-
# `bindings`
|
|
375
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
|
376
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
|
377
|
+
# of the `bindings` must contain at least one member.
|
|
355
378
|
# Corresponds to the JSON property `bindings`
|
|
356
379
|
# @return [Array<Google::Apis::BinaryauthorizationV1beta1::Binding>]
|
|
357
380
|
attr_accessor :bindings
|
|
@@ -363,26 +386,31 @@ module Google
|
|
|
363
386
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
|
364
387
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
|
365
388
|
# ensure that their change will be applied to the same version of the policy.
|
|
366
|
-
# If
|
|
367
|
-
#
|
|
368
|
-
#
|
|
369
|
-
#
|
|
389
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
390
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
391
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
392
|
+
# the conditions in the version `3` policy are lost.
|
|
370
393
|
# Corresponds to the JSON property `etag`
|
|
371
394
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
|
372
395
|
# @return [String]
|
|
373
396
|
attr_accessor :etag
|
|
374
397
|
|
|
375
398
|
# Specifies the format of the policy.
|
|
376
|
-
# Valid values are 0
|
|
377
|
-
# rejected.
|
|
378
|
-
#
|
|
379
|
-
#
|
|
380
|
-
#
|
|
381
|
-
# conditional policy
|
|
382
|
-
#
|
|
383
|
-
#
|
|
384
|
-
#
|
|
385
|
-
#
|
|
399
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
|
400
|
+
# are rejected.
|
|
401
|
+
# Any operation that affects conditional role bindings must specify version
|
|
402
|
+
# `3`. This requirement applies to the following operations:
|
|
403
|
+
# * Getting a policy that includes a conditional role binding
|
|
404
|
+
# * Adding a conditional role binding to a policy
|
|
405
|
+
# * Changing a conditional role binding in a policy
|
|
406
|
+
# * Removing any role binding, with or without a condition, from a policy
|
|
407
|
+
# that includes conditions
|
|
408
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
|
409
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
|
410
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
|
411
|
+
# the conditions in the version `3` policy are lost.
|
|
412
|
+
# If a policy does not include any conditions, operations on that policy may
|
|
413
|
+
# specify any valid version or leave the field unset.
|
|
386
414
|
# Corresponds to the JSON property `version`
|
|
387
415
|
# @return [Fixnum]
|
|
388
416
|
attr_accessor :version
|
|
@@ -536,16 +564,18 @@ module Google
|
|
|
536
564
|
class SetIamPolicyRequest
|
|
537
565
|
include Google::Apis::Core::Hashable
|
|
538
566
|
|
|
539
|
-
#
|
|
540
|
-
#
|
|
567
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
|
568
|
+
# controls for Google Cloud resources.
|
|
541
569
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
|
542
570
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
|
543
571
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
|
544
|
-
# permissions
|
|
545
|
-
#
|
|
546
|
-
#
|
|
547
|
-
#
|
|
548
|
-
#
|
|
572
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
|
573
|
+
# custom role.
|
|
574
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
|
575
|
+
# expression that allows access to a resource only if the expression evaluates
|
|
576
|
+
# to `true`. A condition can add constraints based on attributes of the
|
|
577
|
+
# request, the resource, or both.
|
|
578
|
+
# **JSON example:**
|
|
549
579
|
# `
|
|
550
580
|
# "bindings": [
|
|
551
581
|
# `
|
|
@@ -563,13 +593,15 @@ module Google
|
|
|
563
593
|
# "condition": `
|
|
564
594
|
# "title": "expirable access",
|
|
565
595
|
# "description": "Does not grant access after Sep 2020",
|
|
566
|
-
# "expression": "request.time <
|
|
567
|
-
#
|
|
596
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
597
|
+
# ",
|
|
568
598
|
# `
|
|
569
599
|
# `
|
|
570
|
-
# ]
|
|
600
|
+
# ],
|
|
601
|
+
# "etag": "BwWWja0YfJA=",
|
|
602
|
+
# "version": 3
|
|
571
603
|
# `
|
|
572
|
-
# **YAML
|
|
604
|
+
# **YAML example:**
|
|
573
605
|
# bindings:
|
|
574
606
|
# - members:
|
|
575
607
|
# - user:mike@example.com
|
|
@@ -584,8 +616,10 @@ module Google
|
|
|
584
616
|
# title: expirable access
|
|
585
617
|
# description: Does not grant access after Sep 2020
|
|
586
618
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
|
619
|
+
# - etag: BwWWja0YfJA=
|
|
620
|
+
# - version: 3
|
|
587
621
|
# For a description of IAM and its features, see the
|
|
588
|
-
# [IAM
|
|
622
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
|
589
623
|
# Corresponds to the JSON property `policy`
|
|
590
624
|
# @return [Google::Apis::BinaryauthorizationV1beta1::IamPolicy]
|
|
591
625
|
attr_accessor :policy
|
|
@@ -300,8 +300,11 @@ module Google
|
|
|
300
300
|
# Example: spaces/AAAAMpdlehY/messages/UMxbHmzDlr4.UMxbHmzDlr4
|
|
301
301
|
# @param [Google::Apis::ChatV1::Message] message_object
|
|
302
302
|
# @param [String] update_mask
|
|
303
|
-
# Required. The field paths to be updated
|
|
304
|
-
#
|
|
303
|
+
# Required. The field paths to be updated, comma separated if there are
|
|
304
|
+
# multiple.
|
|
305
|
+
# Currently supported field paths:
|
|
306
|
+
# * text
|
|
307
|
+
# * cards
|
|
305
308
|
# @param [String] fields
|
|
306
309
|
# Selector specifying which fields to include in a partial response.
|
|
307
310
|
# @param [String] quota_user
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
|
26
26
|
module CloudassetV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191207'
|
|
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'
|
|
@@ -409,6 +409,55 @@ module Google
|
|
|
409
409
|
end
|
|
410
410
|
end
|
|
411
411
|
|
|
412
|
+
# Create asset feed request.
|
|
413
|
+
class CreateFeedRequest
|
|
414
|
+
include Google::Apis::Core::Hashable
|
|
415
|
+
|
|
416
|
+
# An asset feed used to export asset updates to a destinations.
|
|
417
|
+
# An asset feed filter controls what updates are exported.
|
|
418
|
+
# The asset feed must be created within a project, organization, or
|
|
419
|
+
# folder. Supported destinations are:
|
|
420
|
+
# Cloud Pub/Sub topics.
|
|
421
|
+
# Corresponds to the JSON property `feed`
|
|
422
|
+
# @return [Google::Apis::CloudassetV1::Feed]
|
|
423
|
+
attr_accessor :feed
|
|
424
|
+
|
|
425
|
+
# Required. This is the client-assigned asset feed identifier and it needs to
|
|
426
|
+
# be unique under a specific parent project/folder/organization.
|
|
427
|
+
# Corresponds to the JSON property `feedId`
|
|
428
|
+
# @return [String]
|
|
429
|
+
attr_accessor :feed_id
|
|
430
|
+
|
|
431
|
+
def initialize(**args)
|
|
432
|
+
update!(**args)
|
|
433
|
+
end
|
|
434
|
+
|
|
435
|
+
# Update properties of this object
|
|
436
|
+
def update!(**args)
|
|
437
|
+
@feed = args[:feed] if args.key?(:feed)
|
|
438
|
+
@feed_id = args[:feed_id] if args.key?(:feed_id)
|
|
439
|
+
end
|
|
440
|
+
end
|
|
441
|
+
|
|
442
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
|
443
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
|
444
|
+
# or the response type of an API method. For instance:
|
|
445
|
+
# service Foo `
|
|
446
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
|
447
|
+
# `
|
|
448
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
|
449
|
+
class Empty
|
|
450
|
+
include Google::Apis::Core::Hashable
|
|
451
|
+
|
|
452
|
+
def initialize(**args)
|
|
453
|
+
update!(**args)
|
|
454
|
+
end
|
|
455
|
+
|
|
456
|
+
# Update properties of this object
|
|
457
|
+
def update!(**args)
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
412
461
|
# Export asset request.
|
|
413
462
|
class ExportAssetsRequest
|
|
414
463
|
include Google::Apis::Core::Hashable
|
|
@@ -502,6 +551,93 @@ module Google
|
|
|
502
551
|
end
|
|
503
552
|
end
|
|
504
553
|
|
|
554
|
+
# An asset feed used to export asset updates to a destinations.
|
|
555
|
+
# An asset feed filter controls what updates are exported.
|
|
556
|
+
# The asset feed must be created within a project, organization, or
|
|
557
|
+
# folder. Supported destinations are:
|
|
558
|
+
# Cloud Pub/Sub topics.
|
|
559
|
+
class Feed
|
|
560
|
+
include Google::Apis::Core::Hashable
|
|
561
|
+
|
|
562
|
+
# A list of the full names of the assets to receive updates. You must specify
|
|
563
|
+
# either or both of asset_names and asset_types. Only asset updates matching
|
|
564
|
+
# specified asset_names and asset_types are exported to the feed. For
|
|
565
|
+
# example:
|
|
566
|
+
# `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/
|
|
567
|
+
# instance1`.
|
|
568
|
+
# See [Resource
|
|
569
|
+
# Names](https://cloud.google.com/apis/design/resource_names#full_resource_name)
|
|
570
|
+
# for more info.
|
|
571
|
+
# Corresponds to the JSON property `assetNames`
|
|
572
|
+
# @return [Array<String>]
|
|
573
|
+
attr_accessor :asset_names
|
|
574
|
+
|
|
575
|
+
# A list of types of the assets to receive updates. You must specify either
|
|
576
|
+
# or both of asset_names and asset_types. Only asset updates matching
|
|
577
|
+
# specified asset_names and asset_types are exported to the feed.
|
|
578
|
+
# For example:
|
|
579
|
+
# "compute.googleapis.com/Disk" See [Introduction to Cloud Asset
|
|
580
|
+
# Inventory](https://cloud.google.com/resource-manager/docs/cloud-asset-
|
|
581
|
+
# inventory/overview)
|
|
582
|
+
# for all supported asset types.
|
|
583
|
+
# Corresponds to the JSON property `assetTypes`
|
|
584
|
+
# @return [Array<String>]
|
|
585
|
+
attr_accessor :asset_types
|
|
586
|
+
|
|
587
|
+
# Asset content type. If not specified, no content but the asset name and
|
|
588
|
+
# type will be returned.
|
|
589
|
+
# Corresponds to the JSON property `contentType`
|
|
590
|
+
# @return [String]
|
|
591
|
+
attr_accessor :content_type
|
|
592
|
+
|
|
593
|
+
# Output configuration for asset feed destination.
|
|
594
|
+
# Corresponds to the JSON property `feedOutputConfig`
|
|
595
|
+
# @return [Google::Apis::CloudassetV1::FeedOutputConfig]
|
|
596
|
+
attr_accessor :feed_output_config
|
|
597
|
+
|
|
598
|
+
# Required. The format will be
|
|
599
|
+
# projects/`project_number`/feeds/`client-assigned_feed_identifier` or
|
|
600
|
+
# folders/`folder_number`/feeds/`client-assigned_feed_identifier` or
|
|
601
|
+
# organizations/`organization_number`/feeds/`client-assigned_feed_identifier`
|
|
602
|
+
# The client-assigned feed identifier must be unique within the parent
|
|
603
|
+
# project/folder/organization.
|
|
604
|
+
# Corresponds to the JSON property `name`
|
|
605
|
+
# @return [String]
|
|
606
|
+
attr_accessor :name
|
|
607
|
+
|
|
608
|
+
def initialize(**args)
|
|
609
|
+
update!(**args)
|
|
610
|
+
end
|
|
611
|
+
|
|
612
|
+
# Update properties of this object
|
|
613
|
+
def update!(**args)
|
|
614
|
+
@asset_names = args[:asset_names] if args.key?(:asset_names)
|
|
615
|
+
@asset_types = args[:asset_types] if args.key?(:asset_types)
|
|
616
|
+
@content_type = args[:content_type] if args.key?(:content_type)
|
|
617
|
+
@feed_output_config = args[:feed_output_config] if args.key?(:feed_output_config)
|
|
618
|
+
@name = args[:name] if args.key?(:name)
|
|
619
|
+
end
|
|
620
|
+
end
|
|
621
|
+
|
|
622
|
+
# Output configuration for asset feed destination.
|
|
623
|
+
class FeedOutputConfig
|
|
624
|
+
include Google::Apis::Core::Hashable
|
|
625
|
+
|
|
626
|
+
# A Cloud Pubsub destination.
|
|
627
|
+
# Corresponds to the JSON property `pubsubDestination`
|
|
628
|
+
# @return [Google::Apis::CloudassetV1::PubsubDestination]
|
|
629
|
+
attr_accessor :pubsub_destination
|
|
630
|
+
|
|
631
|
+
def initialize(**args)
|
|
632
|
+
update!(**args)
|
|
633
|
+
end
|
|
634
|
+
|
|
635
|
+
# Update properties of this object
|
|
636
|
+
def update!(**args)
|
|
637
|
+
@pubsub_destination = args[:pubsub_destination] if args.key?(:pubsub_destination)
|
|
638
|
+
end
|
|
639
|
+
end
|
|
640
|
+
|
|
505
641
|
# A Cloud Storage location.
|
|
506
642
|
class GcsDestination
|
|
507
643
|
include Google::Apis::Core::Hashable
|
|
@@ -1301,6 +1437,25 @@ module Google
|
|
|
1301
1437
|
end
|
|
1302
1438
|
end
|
|
1303
1439
|
|
|
1440
|
+
#
|
|
1441
|
+
class ListFeedsResponse
|
|
1442
|
+
include Google::Apis::Core::Hashable
|
|
1443
|
+
|
|
1444
|
+
# A list of feeds.
|
|
1445
|
+
# Corresponds to the JSON property `feeds`
|
|
1446
|
+
# @return [Array<Google::Apis::CloudassetV1::Feed>]
|
|
1447
|
+
attr_accessor :feeds
|
|
1448
|
+
|
|
1449
|
+
def initialize(**args)
|
|
1450
|
+
update!(**args)
|
|
1451
|
+
end
|
|
1452
|
+
|
|
1453
|
+
# Update properties of this object
|
|
1454
|
+
def update!(**args)
|
|
1455
|
+
@feeds = args[:feeds] if args.key?(:feeds)
|
|
1456
|
+
end
|
|
1457
|
+
end
|
|
1458
|
+
|
|
1304
1459
|
# This resource represents a long-running operation that is the result of a
|
|
1305
1460
|
# network API call.
|
|
1306
1461
|
class Operation
|
|
@@ -1510,6 +1665,26 @@ module Google
|
|
|
1510
1665
|
end
|
|
1511
1666
|
end
|
|
1512
1667
|
|
|
1668
|
+
# A Cloud Pubsub destination.
|
|
1669
|
+
class PubsubDestination
|
|
1670
|
+
include Google::Apis::Core::Hashable
|
|
1671
|
+
|
|
1672
|
+
# The name of the Cloud Pub/Sub topic to publish to.
|
|
1673
|
+
# For example: `projects/PROJECT_ID/topics/TOPIC_ID`.
|
|
1674
|
+
# Corresponds to the JSON property `topic`
|
|
1675
|
+
# @return [String]
|
|
1676
|
+
attr_accessor :topic
|
|
1677
|
+
|
|
1678
|
+
def initialize(**args)
|
|
1679
|
+
update!(**args)
|
|
1680
|
+
end
|
|
1681
|
+
|
|
1682
|
+
# Update properties of this object
|
|
1683
|
+
def update!(**args)
|
|
1684
|
+
@topic = args[:topic] if args.key?(:topic)
|
|
1685
|
+
end
|
|
1686
|
+
end
|
|
1687
|
+
|
|
1513
1688
|
# Representation of a cloud resource.
|
|
1514
1689
|
class Resource
|
|
1515
1690
|
include Google::Apis::Core::Hashable
|
|
@@ -1676,6 +1851,37 @@ module Google
|
|
|
1676
1851
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1677
1852
|
end
|
|
1678
1853
|
end
|
|
1854
|
+
|
|
1855
|
+
# Update asset feed request.
|
|
1856
|
+
class UpdateFeedRequest
|
|
1857
|
+
include Google::Apis::Core::Hashable
|
|
1858
|
+
|
|
1859
|
+
# An asset feed used to export asset updates to a destinations.
|
|
1860
|
+
# An asset feed filter controls what updates are exported.
|
|
1861
|
+
# The asset feed must be created within a project, organization, or
|
|
1862
|
+
# folder. Supported destinations are:
|
|
1863
|
+
# Cloud Pub/Sub topics.
|
|
1864
|
+
# Corresponds to the JSON property `feed`
|
|
1865
|
+
# @return [Google::Apis::CloudassetV1::Feed]
|
|
1866
|
+
attr_accessor :feed
|
|
1867
|
+
|
|
1868
|
+
# Required. Only updates the `feed` fields indicated by this mask.
|
|
1869
|
+
# The field mask must not be empty, and it must not contain fields that
|
|
1870
|
+
# are immutable or only set by the server.
|
|
1871
|
+
# Corresponds to the JSON property `updateMask`
|
|
1872
|
+
# @return [String]
|
|
1873
|
+
attr_accessor :update_mask
|
|
1874
|
+
|
|
1875
|
+
def initialize(**args)
|
|
1876
|
+
update!(**args)
|
|
1877
|
+
end
|
|
1878
|
+
|
|
1879
|
+
# Update properties of this object
|
|
1880
|
+
def update!(**args)
|
|
1881
|
+
@feed = args[:feed] if args.key?(:feed)
|
|
1882
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
|
1883
|
+
end
|
|
1884
|
+
end
|
|
1679
1885
|
end
|
|
1680
1886
|
end
|
|
1681
1887
|
end
|