google-api-client 0.32.1 → 0.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +40 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +5 -2
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -6
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +306 -63
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +10 -18
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +65 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +7 -3
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +23 -220
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +57 -18
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +280 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +115 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +280 -0
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +115 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +12 -0
- data/generated/google/apis/logging_v2/representations.rb +2 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +15 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +5 -4
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/service.rb +3 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +4 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +24 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +4 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +2 -2
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +2 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +63 -0
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +33 -7
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +31 -17
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +55 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +389 -0
- data/generated/google/apis/sheets_v4/representations.rb +79 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/apis/version.rb +1 -1
- metadata +10 -21
- data/generated/google/apis/urlshortener_v1.rb +0 -34
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/android-publisher
|
26
26
|
module AndroidpublisherV3
|
27
27
|
VERSION = 'V3'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191009'
|
29
29
|
|
30
30
|
# View and manage your Google Play Developer account
|
31
31
|
AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
|
@@ -1198,6 +1198,11 @@ module Google
|
|
1198
1198
|
# @return [Fixnum]
|
1199
1199
|
attr_accessor :purchase_time_millis
|
1200
1200
|
|
1201
|
+
# The purchase token generated to identify this purchase.
|
1202
|
+
# Corresponds to the JSON property `purchaseToken`
|
1203
|
+
# @return [String]
|
1204
|
+
attr_accessor :purchase_token
|
1205
|
+
|
1201
1206
|
# The type of purchase of the inapp product. This field is only set if this
|
1202
1207
|
# purchase was not made using the standard in-app billing flow. Possible values
|
1203
1208
|
# are:
|
@@ -1221,6 +1226,7 @@ module Google
|
|
1221
1226
|
@order_id = args[:order_id] if args.key?(:order_id)
|
1222
1227
|
@purchase_state = args[:purchase_state] if args.key?(:purchase_state)
|
1223
1228
|
@purchase_time_millis = args[:purchase_time_millis] if args.key?(:purchase_time_millis)
|
1229
|
+
@purchase_token = args[:purchase_token] if args.key?(:purchase_token)
|
1224
1230
|
@purchase_type = args[:purchase_type] if args.key?(:purchase_type)
|
1225
1231
|
end
|
1226
1232
|
end
|
@@ -718,6 +718,7 @@ module Google
|
|
718
718
|
property :order_id, as: 'orderId'
|
719
719
|
property :purchase_state, as: 'purchaseState'
|
720
720
|
property :purchase_time_millis, :numeric_string => true, as: 'purchaseTimeMillis'
|
721
|
+
property :purchase_token, as: 'purchaseToken'
|
721
722
|
property :purchase_type, as: 'purchaseType'
|
722
723
|
end
|
723
724
|
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
26
26
|
module AppengineV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191003'
|
29
29
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -1427,12 +1427,16 @@ module Google
|
|
1427
1427
|
execute_or_queue_command(command, &block)
|
1428
1428
|
end
|
1429
1429
|
|
1430
|
-
# Stops a running instance.The instance
|
1431
|
-
# the scaling settings of the version.
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
#
|
1435
|
-
#
|
1430
|
+
# Stops a running instance.The instance might be automatically recreated based
|
1431
|
+
# on the scaling settings of the version. For more information, see "How
|
1432
|
+
# Instances are Managed" (standard environment (https://cloud.google.com/
|
1433
|
+
# appengine/docs/standard/python/how-instances-are-managed) | flexible
|
1434
|
+
# environment (https://cloud.google.com/appengine/docs/flexible/python/how-
|
1435
|
+
# instances-are-managed)).To ensure that instances are not re-created and avoid
|
1436
|
+
# getting billed, you can stop all instances within the target version by
|
1437
|
+
# changing the serving status of the version to 'STOPPEDwith the
|
1438
|
+
# [apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-
|
1439
|
+
# api/reference/rest/v1/apps.services.versions/patch) method.
|
1436
1440
|
# @param [String] apps_id
|
1437
1441
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
1438
1442
|
# default/versions/v1/instances/instance-1.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/appengine/docs/admin-api/
|
26
26
|
module AppengineV1beta
|
27
27
|
VERSION = 'V1beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191003'
|
29
29
|
|
30
30
|
# View and manage your applications deployed on Google App Engine
|
31
31
|
AUTH_APPENGINE_ADMIN = 'https://www.googleapis.com/auth/appengine.admin'
|
@@ -1427,12 +1427,16 @@ module Google
|
|
1427
1427
|
execute_or_queue_command(command, &block)
|
1428
1428
|
end
|
1429
1429
|
|
1430
|
-
# Stops a running instance.The instance
|
1431
|
-
# the scaling settings of the version.
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
#
|
1435
|
-
#
|
1430
|
+
# Stops a running instance.The instance might be automatically recreated based
|
1431
|
+
# on the scaling settings of the version. For more information, see "How
|
1432
|
+
# Instances are Managed" (standard environment (https://cloud.google.com/
|
1433
|
+
# appengine/docs/standard/python/how-instances-are-managed) | flexible
|
1434
|
+
# environment (https://cloud.google.com/appengine/docs/flexible/python/how-
|
1435
|
+
# instances-are-managed)).To ensure that instances are not re-created and avoid
|
1436
|
+
# getting billed, you can stop all instances within the target version by
|
1437
|
+
# changing the serving status of the version to 'STOPPEDwith the
|
1438
|
+
# [apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-
|
1439
|
+
# api/reference/rest/v1/apps.services.versions/patch) method.
|
1436
1440
|
# @param [String] apps_id
|
1437
1441
|
# Part of `name`. Name of the resource requested. Example: apps/myapp/services/
|
1438
1442
|
# default/versions/v1/instances/instance-1.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191003'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -1772,13 +1772,8 @@ module Google
|
|
1772
1772
|
# @return [Google::Apis::BigqueryV2::GoogleSheetsOptions]
|
1773
1773
|
attr_accessor :google_sheets_options
|
1774
1774
|
|
1775
|
-
# [Optional, Trusted Tester]
|
1776
|
-
#
|
1777
|
-
# type(s). - STRINGS: automatic infer partition key name(s). All types are
|
1778
|
-
# strings. Not all storage formats support hive partitioning -- requesting hive
|
1779
|
-
# partitioning on an unsupported format will lead to an error. Note: this
|
1780
|
-
# setting is in the process of being deprecated in favor of
|
1781
|
-
# hivePartitioningOptions.
|
1775
|
+
# [Optional, Trusted Tester] Deprecated, do not use. Please set
|
1776
|
+
# hivePartitioningOptions instead.
|
1782
1777
|
# Corresponds to the JSON property `hivePartitioningMode`
|
1783
1778
|
# @return [String]
|
1784
1779
|
attr_accessor :hive_partitioning_mode
|
@@ -2472,11 +2467,8 @@ module Google
|
|
2472
2467
|
# @return [String]
|
2473
2468
|
attr_accessor :field_delimiter
|
2474
2469
|
|
2475
|
-
# [Optional, Trusted Tester]
|
2476
|
-
#
|
2477
|
-
# type(s). - STRINGS: automatic infer partition key name(s). All types are
|
2478
|
-
# strings. Not all storage formats support hive partitioning -- requesting hive
|
2479
|
-
# partitioning on an unsupported format will lead to an error.
|
2470
|
+
# [Optional, Trusted Tester] Deprecated, do not use. Please set
|
2471
|
+
# hivePartitioningOptions instead.
|
2480
2472
|
# Corresponds to the JSON property `hivePartitioningMode`
|
2481
2473
|
# @return [String]
|
2482
2474
|
attr_accessor :hive_partitioning_mode
|
@@ -3299,12 +3291,12 @@ module Google
|
|
3299
3291
|
# DELETE query; see https://cloud.google.com/bigquery/docs/reference/standard-
|
3300
3292
|
# sql/data-manipulation-language. "MERGE": MERGE query; see https://cloud.google.
|
3301
3293
|
# com/bigquery/docs/reference/standard-sql/data-manipulation-language. "
|
3302
|
-
# ALTER_TABLE": ALTER TABLE query. "ALTER_VIEW": ALTER VIEW query. "
|
3303
|
-
# CREATE_FUNCTION": CREATE FUNCTION query. "
|
3304
|
-
# MODEL ... AS SELECT ... . "CREATE_PROCEDURE"
|
3305
|
-
# CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS
|
3306
|
-
# CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... .
|
3307
|
-
# CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... . "DROP_FUNCTION" :
|
3294
|
+
# ALTER_TABLE": ALTER TABLE query. "ALTER_VIEW": ALTER VIEW query. "ASSERT":
|
3295
|
+
# ASSERT condition AS 'description'. "CREATE_FUNCTION": CREATE FUNCTION query. "
|
3296
|
+
# CREATE_MODEL": CREATE [OR REPLACE] MODEL ... AS SELECT ... . "CREATE_PROCEDURE"
|
3297
|
+
# : CREATE PROCEDURE query. "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS
|
3298
|
+
# SELECT. "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS SELECT ... .
|
3299
|
+
# "CREATE_VIEW": CREATE [OR REPLACE] VIEW ... AS SELECT ... . "DROP_FUNCTION" :
|
3308
3300
|
# DROP FUNCTION query. "DROP_PROCEDURE": DROP PROCEDURE query. "DROP_TABLE":
|
3309
3301
|
# DROP TABLE query. "DROP_VIEW": DROP VIEW query.
|
3310
3302
|
# Corresponds to the JSON property `statementType`
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/bigquery/
|
26
26
|
module BigqueryconnectionV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191004'
|
29
29
|
|
30
30
|
# View and manage your data in Google BigQuery
|
31
31
|
AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
|
@@ -259,6 +259,7 @@ module Google
|
|
259
259
|
|
260
260
|
# Sets the access control policy on the specified resource. Replaces any
|
261
261
|
# existing policy.
|
262
|
+
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
262
263
|
# @param [String] resource
|
263
264
|
# REQUIRED: The resource for which the policy is being specified.
|
264
265
|
# See the operation documentation for the appropriate value for this field.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/billing/
|
27
27
|
module CloudbillingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191005'
|
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'
|
@@ -155,14 +155,6 @@ module Google
|
|
155
155
|
# @return [Array<String>]
|
156
156
|
attr_accessor :exempted_members
|
157
157
|
|
158
|
-
# Specifies whether principals can be exempted for the same LogType in
|
159
|
-
# lower-level resource policies. If true, any lower-level exemptions will
|
160
|
-
# be ignored.
|
161
|
-
# Corresponds to the JSON property `ignoreChildExemptions`
|
162
|
-
# @return [Boolean]
|
163
|
-
attr_accessor :ignore_child_exemptions
|
164
|
-
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
165
|
-
|
166
158
|
# The log type that this config enables.
|
167
159
|
# Corresponds to the JSON property `logType`
|
168
160
|
# @return [String]
|
@@ -175,7 +167,6 @@ module Google
|
|
175
167
|
# Update properties of this object
|
176
168
|
def update!(**args)
|
177
169
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
178
|
-
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
179
170
|
@log_type = args[:log_type] if args.key?(:log_type)
|
180
171
|
end
|
181
172
|
end
|
@@ -512,25 +503,34 @@ module Google
|
|
512
503
|
|
513
504
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
514
505
|
# specify access control policies for Cloud Platform resources.
|
515
|
-
# A `Policy`
|
516
|
-
# `members` to a `role
|
517
|
-
# Google
|
518
|
-
# defined by IAM.
|
506
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
507
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
508
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
509
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
510
|
+
# optionally specify a `condition`, which is a logic expression that further
|
511
|
+
# constrains the role binding based on attributes about the request and/or
|
512
|
+
# target resource.
|
519
513
|
# **JSON Example**
|
520
514
|
# `
|
521
515
|
# "bindings": [
|
522
516
|
# `
|
523
|
-
# "role": "roles/
|
517
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
524
518
|
# "members": [
|
525
519
|
# "user:mike@example.com",
|
526
520
|
# "group:admins@example.com",
|
527
521
|
# "domain:google.com",
|
528
|
-
# "serviceAccount:my-
|
522
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
529
523
|
# ]
|
530
524
|
# `,
|
531
525
|
# `
|
532
|
-
# "role": "roles/
|
533
|
-
# "members": ["user:
|
526
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
527
|
+
# "members": ["user:eve@example.com"],
|
528
|
+
# "condition": `
|
529
|
+
# "title": "expirable access",
|
530
|
+
# "description": "Does not grant access after Sep 2020",
|
531
|
+
# "expression": "request.time <
|
532
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
533
|
+
# `
|
534
534
|
# `
|
535
535
|
# ]
|
536
536
|
# `
|
@@ -540,11 +540,15 @@ module Google
|
|
540
540
|
# - user:mike@example.com
|
541
541
|
# - group:admins@example.com
|
542
542
|
# - domain:google.com
|
543
|
-
# - serviceAccount:my-
|
544
|
-
# role: roles/
|
543
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
544
|
+
# role: roles/resourcemanager.organizationAdmin
|
545
545
|
# - members:
|
546
|
-
# - user:
|
547
|
-
# role: roles/
|
546
|
+
# - user:eve@example.com
|
547
|
+
# role: roles/resourcemanager.organizationViewer
|
548
|
+
# condition:
|
549
|
+
# title: expirable access
|
550
|
+
# description: Does not grant access after Sep 2020
|
551
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
548
552
|
# For a description of IAM and its features, see the
|
549
553
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
550
554
|
class Policy
|
@@ -555,7 +559,8 @@ module Google
|
|
555
559
|
# @return [Array<Google::Apis::CloudbillingV1::AuditConfig>]
|
556
560
|
attr_accessor :audit_configs
|
557
561
|
|
558
|
-
# Associates a list of `members` to a `role`.
|
562
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
563
|
+
# `condition` that determines when binding is in effect.
|
559
564
|
# `bindings` with no members will result in an error.
|
560
565
|
# Corresponds to the JSON property `bindings`
|
561
566
|
# @return [Array<Google::Apis::CloudbillingV1::Binding>]
|
@@ -569,13 +574,24 @@ module Google
|
|
569
574
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
570
575
|
# ensure that their change will be applied to the same version of the policy.
|
571
576
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
572
|
-
# policy is overwritten.
|
577
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
578
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
579
|
+
# does not meet the version requirements.
|
573
580
|
# Corresponds to the JSON property `etag`
|
574
581
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
575
582
|
# @return [String]
|
576
583
|
attr_accessor :etag
|
577
584
|
|
578
|
-
#
|
585
|
+
# Specifies the format of the policy.
|
586
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
587
|
+
# rejected.
|
588
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
589
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
590
|
+
# or removing a conditional binding from the stored conditional policy.
|
591
|
+
# Operations on non-conditional policies may specify any valid value or
|
592
|
+
# leave the field unset.
|
593
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
594
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
579
595
|
# Corresponds to the JSON property `version`
|
580
596
|
# @return [Fixnum]
|
581
597
|
attr_accessor :version
|
@@ -827,25 +843,34 @@ module Google
|
|
827
843
|
|
828
844
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
829
845
|
# specify access control policies for Cloud Platform resources.
|
830
|
-
# A `Policy`
|
831
|
-
# `members` to a `role
|
832
|
-
# Google
|
833
|
-
# defined by IAM.
|
846
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
847
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
848
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
849
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
850
|
+
# optionally specify a `condition`, which is a logic expression that further
|
851
|
+
# constrains the role binding based on attributes about the request and/or
|
852
|
+
# target resource.
|
834
853
|
# **JSON Example**
|
835
854
|
# `
|
836
855
|
# "bindings": [
|
837
856
|
# `
|
838
|
-
# "role": "roles/
|
857
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
839
858
|
# "members": [
|
840
859
|
# "user:mike@example.com",
|
841
860
|
# "group:admins@example.com",
|
842
861
|
# "domain:google.com",
|
843
|
-
# "serviceAccount:my-
|
862
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
844
863
|
# ]
|
845
864
|
# `,
|
846
865
|
# `
|
847
|
-
# "role": "roles/
|
848
|
-
# "members": ["user:
|
866
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
867
|
+
# "members": ["user:eve@example.com"],
|
868
|
+
# "condition": `
|
869
|
+
# "title": "expirable access",
|
870
|
+
# "description": "Does not grant access after Sep 2020",
|
871
|
+
# "expression": "request.time <
|
872
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
873
|
+
# `
|
849
874
|
# `
|
850
875
|
# ]
|
851
876
|
# `
|
@@ -855,11 +880,15 @@ module Google
|
|
855
880
|
# - user:mike@example.com
|
856
881
|
# - group:admins@example.com
|
857
882
|
# - domain:google.com
|
858
|
-
# - serviceAccount:my-
|
859
|
-
# role: roles/
|
883
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
884
|
+
# role: roles/resourcemanager.organizationAdmin
|
860
885
|
# - members:
|
861
|
-
# - user:
|
862
|
-
# role: roles/
|
886
|
+
# - user:eve@example.com
|
887
|
+
# role: roles/resourcemanager.organizationViewer
|
888
|
+
# condition:
|
889
|
+
# title: expirable access
|
890
|
+
# description: Does not grant access after Sep 2020
|
891
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
863
892
|
# For a description of IAM and its features, see the
|
864
893
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
865
894
|
# Corresponds to the JSON property `policy`
|
@@ -176,7 +176,6 @@ module Google
|
|
176
176
|
# @private
|
177
177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
178
178
|
collection :exempted_members, as: 'exemptedMembers'
|
179
|
-
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
180
179
|
property :log_type, as: 'logType'
|
181
180
|
end
|
182
181
|
end
|
@@ -129,9 +129,11 @@ module Google
|
|
129
129
|
# See the operation documentation for the appropriate value for this field.
|
130
130
|
# @param [Fixnum] options_requested_policy_version
|
131
131
|
# Optional. The policy format version to be returned.
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
132
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
133
|
+
# rejected.
|
134
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
135
|
+
# Policies without any conditional bindings may specify any valid value or
|
136
|
+
# leave the field unset.
|
135
137
|
# @param [String] fields
|
136
138
|
# Selector specifying which fields to include in a partial response.
|
137
139
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/functions
|
26
26
|
module CloudfunctionsV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191003'
|
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'
|
@@ -90,15 +90,19 @@ module Google
|
|
90
90
|
# is the parent resource, without the operations collection id.
|
91
91
|
# @param [String] filter
|
92
92
|
# Required. A filter for matching the requested operations.<br><br> The
|
93
|
-
# supported formats of <b>filter</b> are:<br> To query for specific function: <
|
93
|
+
# supported formats of <b>filter</b> are:<br> To query for a specific function: <
|
94
94
|
# code>project:*,location:*,function:*</code><br> To query for all of the latest
|
95
95
|
# operations for a project: <code>project:*,latest:true</code>
|
96
96
|
# @param [String] name
|
97
97
|
# Must not be set.
|
98
98
|
# @param [Fixnum] page_size
|
99
|
-
# The
|
99
|
+
# The maximum number of records that should be returned.<br> Requested page size
|
100
|
+
# cannot exceed 100. If not set, the default page size is 100.<br><br>
|
101
|
+
# Pagination is only supported when querying for a specific function.
|
100
102
|
# @param [String] page_token
|
101
|
-
#
|
103
|
+
# Token identifying which result to start with, which is returned by a previous
|
104
|
+
# list call.<br><br> Pagination is only supported when querying for a specific
|
105
|
+
# function.
|
102
106
|
# @param [String] fields
|
103
107
|
# Selector specifying which fields to include in a partial response.
|
104
108
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/functions
|
26
26
|
module CloudfunctionsV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191003'
|
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'
|
@@ -452,6 +452,12 @@ module Google
|
|
452
452
|
# @return [String]
|
453
453
|
attr_accessor :next_page_token
|
454
454
|
|
455
|
+
# Locations that could not be reached. The response does not include any
|
456
|
+
# functions from these locations.
|
457
|
+
# Corresponds to the JSON property `unreachable`
|
458
|
+
# @return [Array<String>]
|
459
|
+
attr_accessor :unreachable
|
460
|
+
|
455
461
|
def initialize(**args)
|
456
462
|
update!(**args)
|
457
463
|
end
|
@@ -460,6 +466,7 @@ module Google
|
|
460
466
|
def update!(**args)
|
461
467
|
@functions = args[:functions] if args.key?(:functions)
|
462
468
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
469
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
463
470
|
end
|
464
471
|
end
|
465
472
|
|