google-api-client 0.32.0 → 0.32.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +34 -0
  3. data/generated/google/apis/appengine_v1.rb +1 -1
  4. data/generated/google/apis/appengine_v1/service.rb +6 -1
  5. data/generated/google/apis/appengine_v1beta.rb +1 -1
  6. data/generated/google/apis/appengine_v1beta/service.rb +6 -1
  7. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  8. data/generated/google/apis/binaryauthorization_v1/classes.rb +2 -2
  9. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  10. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
  11. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  12. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +2 -2
  13. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +21 -21
  14. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  15. data/generated/google/apis/cloudfunctions_v1/classes.rb +62 -29
  16. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  17. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +63 -30
  18. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  19. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +62 -29
  20. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  21. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +62 -29
  22. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  23. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +62 -29
  24. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  25. data/generated/google/apis/cloudtasks_v2/classes.rb +62 -29
  26. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +62 -29
  28. data/generated/google/apis/dlp_v2.rb +1 -1
  29. data/generated/google/apis/dlp_v2/classes.rb +0 -28
  30. data/generated/google/apis/dlp_v2/representations.rb +0 -14
  31. data/generated/google/apis/dlp_v2/service.rb +11 -5
  32. data/generated/google/apis/dns_v1.rb +1 -1
  33. data/generated/google/apis/dns_v1/classes.rb +8 -0
  34. data/generated/google/apis/dns_v1/representations.rb +1 -0
  35. data/generated/google/apis/dns_v2beta1.rb +1 -1
  36. data/generated/google/apis/dns_v2beta1/classes.rb +8 -0
  37. data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
  38. data/generated/google/apis/drive_v2.rb +1 -1
  39. data/generated/google/apis/drive_v2/classes.rb +2 -0
  40. data/generated/google/apis/drive_v3.rb +1 -1
  41. data/generated/google/apis/drive_v3/service.rb +9 -3
  42. data/generated/google/apis/logging_v2.rb +1 -1
  43. data/generated/google/apis/logging_v2/classes.rb +11 -3
  44. data/generated/google/apis/logging_v2/representations.rb +1 -0
  45. data/generated/google/apis/monitoring_v3.rb +1 -1
  46. data/generated/google/apis/monitoring_v3/classes.rb +6 -4
  47. data/generated/google/apis/pubsub_v1.rb +1 -1
  48. data/generated/google/apis/pubsub_v1/classes.rb +62 -29
  49. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  50. data/generated/google/apis/pubsub_v1beta2/classes.rb +62 -29
  51. data/generated/google/apis/run_v1.rb +1 -1
  52. data/generated/google/apis/run_v1/classes.rb +7 -5
  53. data/generated/google/apis/run_v1alpha1.rb +1 -1
  54. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  55. data/generated/google/apis/run_v1beta1.rb +1 -4
  56. data/generated/google/apis/run_v1beta1/classes.rb +32 -70
  57. data/generated/google/apis/run_v1beta1/representations.rb +0 -29
  58. data/generated/google/apis/run_v1beta1/service.rb +62 -0
  59. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  60. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -0
  61. data/generated/google/apis/servicebroker_v1.rb +1 -1
  62. data/generated/google/apis/servicebroker_v1/service.rb +1 -0
  63. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  64. data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -0
  65. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  66. data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -0
  67. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  68. data/generated/google/apis/servicecontrol_v1/classes.rb +5 -4
  69. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  70. data/generated/google/apis/servicemanagement_v1/classes.rb +13 -4
  71. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  72. data/generated/google/apis/vault_v1.rb +1 -1
  73. data/generated/google/apis/vault_v1/service.rb +33 -0
  74. data/lib/google/apis/version.rb +1 -1
  75. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 00f3341ab3899ba7a069106344255196fca33762
4
- data.tar.gz: 181bb2c6d4a34c20ffa759c4ddfc84c0c5694ea7
3
+ metadata.gz: 16b2c03e01f37360b7844795e8fc418f7f26f54c
4
+ data.tar.gz: 0de70418bdf660d1c8e73a029a2d56a28cef25fe
5
5
  SHA512:
6
- metadata.gz: 23ef089ce98c111850524d085d9a15308a509773e3f23e2b4f5119145fa373090ddc577de406f65910e7bfaa1f40b5022804463a732b8786c72c0a9ddc34f577
7
- data.tar.gz: 3e2bd17ca25bfababf400a1c9e47c2411c9298551afc1fcb5d4aad9c79e0c65d68c19118b7e3122d32169334c23852ecfea27b16c6f6a4a4568036b535e38f7d
6
+ metadata.gz: 4436a6a063e04588119603033cb96f1b197a8cf8ba4f1e554a3be8a8c2c3f118be650e15f7d1b0e57b336ae8fed59753905d1e167fcf3a6907d735089ede6000
7
+ data.tar.gz: f91c3baec27520bd534d3c47d1fbbb1ad46cd43fd98eb25b8df3a624eb237aee5bbf3f96f6f599fc62ef309f9712f5444820076b2cd956b67fc1b74db4eee221
@@ -1,3 +1,37 @@
1
+ # 0.32.1
2
+ * Backwards compatible changes:
3
+ * Updated `appengine_v1`
4
+ * Updated `appengine_v1beta`
5
+ * Updated `binaryauthorization_v1`
6
+ * Updated `binaryauthorization_v1beta1`
7
+ * Updated `clouderrorreporting_v1beta1`
8
+ * Updated `cloudfunctions_v1`
9
+ * Updated `cloudresourcemanager_v1`
10
+ * Updated `cloudresourcemanager_v1beta1`
11
+ * Updated `cloudresourcemanager_v2`
12
+ * Updated `cloudresourcemanager_v2beta1`
13
+ * Updated `cloudtasks_v2`
14
+ * Updated `cloudtasks_v2beta2`
15
+ * Updated `dlp_v2`
16
+ * Updated `dns_v1`
17
+ * Updated `dns_v2beta1`
18
+ * Updated `drive_v2`
19
+ * Updated `drive_v3`
20
+ * Updated `logging_v2`
21
+ * Updated `monitoring_v3`
22
+ * Updated `pubsub_v1`
23
+ * Updated `pubsub_v1beta2`
24
+ * Updated `run_v1`
25
+ * Updated `run_v1alpha1`
26
+ * Updated `run_v1beta1`
27
+ * Updated `runtimeconfig_v1beta1`
28
+ * Updated `servicebroker_v1`
29
+ * Updated `servicebroker_v1alpha1`
30
+ * Updated `servicebroker_v1beta1`
31
+ * Updated `servicecontrol_v1`
32
+ * Updated `servicemanagement_v1`
33
+ * Updated `vault_v1`
34
+
1
35
  # 0.32.0
2
36
  * Breaking changes:
3
37
  * Deleted `dfareporting_v3_1`
@@ -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 = '20190531'
28
+ REVISION = '20190926'
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,7 +1427,12 @@ module Google
1427
1427
  execute_or_queue_command(command, &block)
1428
1428
  end
1429
1429
 
1430
- # Stops a running instance.
1430
+ # Stops a running instance.The instance will be automatically recreated based on
1431
+ # the scaling settings of the version. If you want to stop all instances without
1432
+ # re-creation (e.g. to avoid getting billed) use the apps.services.versions.
1433
+ # patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/
1434
+ # apps.services.versions/patch) method and change the serving status of the
1435
+ # version to STOPPED.
1431
1436
  # @param [String] apps_id
1432
1437
  # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
1433
1438
  # 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 = '20190531'
28
+ REVISION = '20190926'
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,7 +1427,12 @@ module Google
1427
1427
  execute_or_queue_command(command, &block)
1428
1428
  end
1429
1429
 
1430
- # Stops a running instance.
1430
+ # Stops a running instance.The instance will be automatically recreated based on
1431
+ # the scaling settings of the version. If you want to stop all instances without
1432
+ # re-creation (e.g. to avoid getting billed) use the apps.services.versions.
1433
+ # patch (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/
1434
+ # apps.services.versions/patch) method and change the serving status of the
1435
+ # version to STOPPED.
1431
1436
  # @param [String] apps_id
1432
1437
  # Part of `name`. Name of the resource requested. Example: apps/myapp/services/
1433
1438
  # default/versions/v1/instances/instance-1.
@@ -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 = '20190919'
29
+ REVISION = '20190927'
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'
@@ -309,7 +309,7 @@ module Google
309
309
  # `
310
310
  # "bindings": [
311
311
  # `
312
- # "role": "role/resourcemanager.organizationAdmin",
312
+ # "role": "roles/resourcemanager.organizationAdmin",
313
313
  # "members": [
314
314
  # "user:mike@example.com",
315
315
  # "group:admins@example.com",
@@ -548,7 +548,7 @@ module Google
548
548
  # `
549
549
  # "bindings": [
550
550
  # `
551
- # "role": "role/resourcemanager.organizationAdmin",
551
+ # "role": "roles/resourcemanager.organizationAdmin",
552
552
  # "members": [
553
553
  # "user:mike@example.com",
554
554
  # "group:admins@example.com",
@@ -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 = '20190919'
29
+ REVISION = '20190927'
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'
@@ -309,7 +309,7 @@ module Google
309
309
  # `
310
310
  # "bindings": [
311
311
  # `
312
- # "role": "role/resourcemanager.organizationAdmin",
312
+ # "role": "roles/resourcemanager.organizationAdmin",
313
313
  # "members": [
314
314
  # "user:mike@example.com",
315
315
  # "group:admins@example.com",
@@ -548,7 +548,7 @@ module Google
548
548
  # `
549
549
  # "bindings": [
550
550
  # `
551
- # "role": "role/resourcemanager.organizationAdmin",
551
+ # "role": "roles/resourcemanager.organizationAdmin",
552
552
  # "members": [
553
553
  # "user:mike@example.com",
554
554
  # "group:admins@example.com",
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/error-reporting/
27
27
  module ClouderrorreportingV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20190411'
29
+ REVISION = '20190925'
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'
@@ -406,14 +406,14 @@ module Google
406
406
  # @return [Google::Apis::ClouderrorreportingV1beta1::ErrorContext]
407
407
  attr_accessor :context
408
408
 
409
- # [Optional] Time when the event occurred.
409
+ # Optional. Time when the event occurred.
410
410
  # If not provided, the time when the event was received by the
411
411
  # Error Reporting system will be used.
412
412
  # Corresponds to the JSON property `eventTime`
413
413
  # @return [String]
414
414
  attr_accessor :event_time
415
415
 
416
- # [Required] The error message.
416
+ # Required. The error message.
417
417
  # If no `context.reportLocation` is provided, the message must contain a
418
418
  # header (typically consisting of the exception type name and an error
419
419
  # message) and an exception stack trace in one of the supported programming
@@ -50,7 +50,7 @@ module Google
50
50
 
51
51
  # Deletes all error events of a given project.
52
52
  # @param [String] project_name
53
- # [Required] The resource name of the Google Cloud Platform project. Written
53
+ # Required. The resource name of the Google Cloud Platform project. Written
54
54
  # as `projects/` plus the
55
55
  # [Google Cloud Platform project
56
56
  # ID](https://support.google.com/cloud/answer/6158840).
@@ -84,27 +84,27 @@ module Google
84
84
 
85
85
  # Lists the specified events.
86
86
  # @param [String] project_name
87
- # [Required] The resource name of the Google Cloud Platform project. Written
87
+ # Required. The resource name of the Google Cloud Platform project. Written
88
88
  # as `projects/` plus the
89
89
  # [Google Cloud Platform project
90
90
  # ID](https://support.google.com/cloud/answer/6158840).
91
91
  # Example: `projects/my-project-123`.
92
92
  # @param [String] group_id
93
- # [Required] The group for which events shall be returned.
93
+ # Required. The group for which events shall be returned.
94
94
  # @param [Fixnum] page_size
95
- # [Optional] The maximum number of results to return per response.
95
+ # Optional. The maximum number of results to return per response.
96
96
  # @param [String] page_token
97
- # [Optional] A `next_page_token` provided by a previous response.
97
+ # Optional. A `next_page_token` provided by a previous response.
98
98
  # @param [String] service_filter_resource_type
99
- # [Optional] The exact value to match against
99
+ # Optional. The exact value to match against
100
100
  # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/
101
101
  # ServiceContext#FIELDS.resource_type).
102
102
  # @param [String] service_filter_service
103
- # [Optional] The exact value to match against
103
+ # Optional. The exact value to match against
104
104
  # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/
105
105
  # ServiceContext#FIELDS.service).
106
106
  # @param [String] service_filter_version
107
- # [Optional] The exact value to match against
107
+ # Optional. The exact value to match against
108
108
  # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/
109
109
  # ServiceContext#FIELDS.version).
110
110
  # @param [String] time_range_period
@@ -152,7 +152,7 @@ module Google
152
152
  # https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/
153
153
  # events:report?key=123ABC456`
154
154
  # @param [String] project_name
155
- # [Required] The resource name of the Google Cloud Platform project. Written
155
+ # Required. The resource name of the Google Cloud Platform project. Written
156
156
  # as `projects/` plus the
157
157
  # [Google Cloud Platform project
158
158
  # ID](https://support.google.com/cloud/answer/6158840). Example:
@@ -189,45 +189,45 @@ module Google
189
189
 
190
190
  # Lists the specified groups.
191
191
  # @param [String] project_name
192
- # [Required] The resource name of the Google Cloud Platform project. Written
192
+ # Required. The resource name of the Google Cloud Platform project. Written
193
193
  # as <code>projects/</code> plus the
194
194
  # <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
195
195
  # Platform project ID</a>.
196
196
  # Example: <code>projects/my-project-123</code>.
197
197
  # @param [String] alignment
198
- # [Optional] The alignment of the timed counts to be returned.
198
+ # Optional. The alignment of the timed counts to be returned.
199
199
  # Default is `ALIGNMENT_EQUAL_AT_END`.
200
200
  # @param [String] alignment_time
201
- # [Optional] Time where the timed counts shall be aligned if rounded
201
+ # Optional. Time where the timed counts shall be aligned if rounded
202
202
  # alignment is chosen. Default is 00:00 UTC.
203
203
  # @param [Array<String>, String] group_id
204
- # [Optional] List all <code>ErrorGroupStats</code> with these IDs.
204
+ # Optional. List all <code>ErrorGroupStats</code> with these IDs.
205
205
  # @param [String] order
206
- # [Optional] The sort order in which the results are returned.
206
+ # Optional. The sort order in which the results are returned.
207
207
  # Default is `COUNT_DESC`.
208
208
  # @param [Fixnum] page_size
209
- # [Optional] The maximum number of results to return per response.
209
+ # Optional. The maximum number of results to return per response.
210
210
  # Default is 20.
211
211
  # @param [String] page_token
212
- # [Optional] A `next_page_token` provided by a previous response. To view
212
+ # Optional. A `next_page_token` provided by a previous response. To view
213
213
  # additional results, pass this token along with the identical query
214
214
  # parameters as the first request.
215
215
  # @param [String] service_filter_resource_type
216
- # [Optional] The exact value to match against
216
+ # Optional. The exact value to match against
217
217
  # [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/
218
218
  # ServiceContext#FIELDS.resource_type).
219
219
  # @param [String] service_filter_service
220
- # [Optional] The exact value to match against
220
+ # Optional. The exact value to match against
221
221
  # [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/
222
222
  # ServiceContext#FIELDS.service).
223
223
  # @param [String] service_filter_version
224
- # [Optional] The exact value to match against
224
+ # Optional. The exact value to match against
225
225
  # [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/
226
226
  # ServiceContext#FIELDS.version).
227
227
  # @param [String] time_range_period
228
228
  # Restricts the query to the specified time range.
229
229
  # @param [String] timed_count_duration
230
- # [Optional] The preferred duration for a single returned `TimedCount`.
230
+ # Optional. The preferred duration for a single returned `TimedCount`.
231
231
  # If not set, no timed counts are returned.
232
232
  # @param [String] fields
233
233
  # Selector specifying which fields to include in a partial response.
@@ -269,7 +269,7 @@ module Google
269
269
 
270
270
  # Get the specified group.
271
271
  # @param [String] group_name
272
- # [Required] The group resource name. Written as
272
+ # Required. The group resource name. Written as
273
273
  # <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
274
274
  # Call
275
275
  # <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/functions
26
26
  module CloudfunctionsV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190917'
28
+ REVISION = '20190923'
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'
@@ -923,25 +923,34 @@ module Google
923
923
 
924
924
  # Defines an Identity and Access Management (IAM) policy. It is used to
925
925
  # specify access control policies for Cloud Platform resources.
926
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
927
- # `members` to a `role`, where the members can be user accounts, Google groups,
928
- # Google domains, and service accounts. A `role` is a named list of permissions
929
- # defined by IAM.
926
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
927
+ # `members` to a single `role`. Members can be user accounts, service accounts,
928
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
929
+ # permissions (defined by IAM or configured by users). A `binding` can
930
+ # optionally specify a `condition`, which is a logic expression that further
931
+ # constrains the role binding based on attributes about the request and/or
932
+ # target resource.
930
933
  # **JSON Example**
931
934
  # `
932
935
  # "bindings": [
933
936
  # `
934
- # "role": "roles/owner",
937
+ # "role": "roles/resourcemanager.organizationAdmin",
935
938
  # "members": [
936
939
  # "user:mike@example.com",
937
940
  # "group:admins@example.com",
938
941
  # "domain:google.com",
939
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
942
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
940
943
  # ]
941
944
  # `,
942
945
  # `
943
- # "role": "roles/viewer",
944
- # "members": ["user:sean@example.com"]
946
+ # "role": "roles/resourcemanager.organizationViewer",
947
+ # "members": ["user:eve@example.com"],
948
+ # "condition": `
949
+ # "title": "expirable access",
950
+ # "description": "Does not grant access after Sep 2020",
951
+ # "expression": "request.time <
952
+ # timestamp('2020-10-01T00:00:00.000Z')",
953
+ # `
945
954
  # `
946
955
  # ]
947
956
  # `
@@ -951,11 +960,15 @@ module Google
951
960
  # - user:mike@example.com
952
961
  # - group:admins@example.com
953
962
  # - domain:google.com
954
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
955
- # role: roles/owner
963
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
964
+ # role: roles/resourcemanager.organizationAdmin
956
965
  # - members:
957
- # - user:sean@example.com
958
- # role: roles/viewer
966
+ # - user:eve@example.com
967
+ # role: roles/resourcemanager.organizationViewer
968
+ # condition:
969
+ # title: expirable access
970
+ # description: Does not grant access after Sep 2020
971
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
959
972
  # For a description of IAM and its features, see the
960
973
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
961
974
  class Policy
@@ -966,7 +979,8 @@ module Google
966
979
  # @return [Array<Google::Apis::CloudfunctionsV1::AuditConfig>]
967
980
  attr_accessor :audit_configs
968
981
 
969
- # Associates a list of `members` to a `role`.
982
+ # Associates a list of `members` to a `role`. Optionally may specify a
983
+ # `condition` that determines when binding is in effect.
970
984
  # `bindings` with no members will result in an error.
971
985
  # Corresponds to the JSON property `bindings`
972
986
  # @return [Array<Google::Apis::CloudfunctionsV1::Binding>]
@@ -980,7 +994,9 @@ module Google
980
994
  # systems are expected to put that etag in the request to `setIamPolicy` to
981
995
  # ensure that their change will be applied to the same version of the policy.
982
996
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
983
- # policy is overwritten.
997
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
998
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
999
+ # does not meet the version requirements.
984
1000
  # Corresponds to the JSON property `etag`
985
1001
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
986
1002
  # @return [String]
@@ -989,9 +1005,13 @@ module Google
989
1005
  # Specifies the format of the policy.
990
1006
  # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
991
1007
  # rejected.
992
- # Policies with any conditional bindings must specify version 3. Policies
993
- # without any conditional bindings may specify any valid value or leave the
994
- # field unset.
1008
+ # Operations affecting conditional bindings must specify version 3. This can
1009
+ # be either setting a conditional policy, modifying a conditional binding,
1010
+ # or removing a conditional binding from the stored conditional policy.
1011
+ # Operations on non-conditional policies may specify any valid value or
1012
+ # leave the field unset.
1013
+ # If no etag is provided in the call to `setIamPolicy`, any version
1014
+ # compliance checks on the incoming and/or stored policy is skipped.
995
1015
  # Corresponds to the JSON property `version`
996
1016
  # @return [Fixnum]
997
1017
  attr_accessor :version
@@ -1032,25 +1052,34 @@ module Google
1032
1052
 
1033
1053
  # Defines an Identity and Access Management (IAM) policy. It is used to
1034
1054
  # specify access control policies for Cloud Platform resources.
1035
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1036
- # `members` to a `role`, where the members can be user accounts, Google groups,
1037
- # Google domains, and service accounts. A `role` is a named list of permissions
1038
- # defined by IAM.
1055
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
1056
+ # `members` to a single `role`. Members can be user accounts, service accounts,
1057
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
1058
+ # permissions (defined by IAM or configured by users). A `binding` can
1059
+ # optionally specify a `condition`, which is a logic expression that further
1060
+ # constrains the role binding based on attributes about the request and/or
1061
+ # target resource.
1039
1062
  # **JSON Example**
1040
1063
  # `
1041
1064
  # "bindings": [
1042
1065
  # `
1043
- # "role": "roles/owner",
1066
+ # "role": "roles/resourcemanager.organizationAdmin",
1044
1067
  # "members": [
1045
1068
  # "user:mike@example.com",
1046
1069
  # "group:admins@example.com",
1047
1070
  # "domain:google.com",
1048
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1071
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
1049
1072
  # ]
1050
1073
  # `,
1051
1074
  # `
1052
- # "role": "roles/viewer",
1053
- # "members": ["user:sean@example.com"]
1075
+ # "role": "roles/resourcemanager.organizationViewer",
1076
+ # "members": ["user:eve@example.com"],
1077
+ # "condition": `
1078
+ # "title": "expirable access",
1079
+ # "description": "Does not grant access after Sep 2020",
1080
+ # "expression": "request.time <
1081
+ # timestamp('2020-10-01T00:00:00.000Z')",
1082
+ # `
1054
1083
  # `
1055
1084
  # ]
1056
1085
  # `
@@ -1060,11 +1089,15 @@ module Google
1060
1089
  # - user:mike@example.com
1061
1090
  # - group:admins@example.com
1062
1091
  # - domain:google.com
1063
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1064
- # role: roles/owner
1092
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
1093
+ # role: roles/resourcemanager.organizationAdmin
1065
1094
  # - members:
1066
- # - user:sean@example.com
1067
- # role: roles/viewer
1095
+ # - user:eve@example.com
1096
+ # role: roles/resourcemanager.organizationViewer
1097
+ # condition:
1098
+ # title: expirable access
1099
+ # description: Does not grant access after Sep 2020
1100
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
1068
1101
  # For a description of IAM and its features, see the
1069
1102
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1070
1103
  # Corresponds to the JSON property `policy`