google-apis-pubsub_v1beta2 0.6.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b4d01b2f423f717ae9c0551461deeac676a6c1bfe494ae64a3d361b2d03bc7a6
4
- data.tar.gz: 32109c57d5842642d21cf5af0dc274205ad379bfc4331c3a85010dc56ab4da0c
3
+ metadata.gz: f0f8c08a14273c1eb776b7c08100a7eeb4c8c15673ba3a0437d17ce66e7a7255
4
+ data.tar.gz: a4150dbb3a8102b9fb3a748ecac30dc7389f6792bbc4ca42df50bf94a6cb8753
5
5
  SHA512:
6
- metadata.gz: 0bbb311110c102c834b0589a213fd4e49d2c32a0b41fb8ed67721ace2c2c451e0a3d8b69a4e4a4ed3ed6cfd52d5b31470a632539e4a320f8e933082ccd5f8f55
7
- data.tar.gz: 11cc0b92afd19b6326863105fef9d6ef6a31b6d5cb1d8f8602fb415f4427b2d03dacc566da2680e61fc93b66dcf3dd6cc7e91e8c2b587c78c1c1c8dfe3a9817f
6
+ metadata.gz: 549dea3dab3374a41d5668f297cc66462acd7f33d7f01bbcf87714fc7432afcca574db6216d5a388fead355dc521a5ee286aa1e6d0427ee0a4e265c954a2698a
7
+ data.tar.gz: c6126af67ccd52a9a2ede8e611cf1c4f28b3e13e16dc48fdaa38985490816f79cf8b66b764def87d890f6f556c5608a645cca98e7b236584872dae44a9d8d1be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Release history for google-apis-pubsub_v1beta2
2
2
 
3
+ ### v0.10.0 (2021-11-19)
4
+
5
+ * Regenerated from discovery document revision 20211108
6
+
7
+ ### v0.9.0 (2021-10-22)
8
+
9
+ * Regenerated from discovery document revision 20211012
10
+ * Unspecified changes
11
+
12
+ ### v0.8.0 (2021-08-27)
13
+
14
+ * Regenerated from discovery document revision 20210816
15
+
16
+ ### v0.7.0 (2021-08-20)
17
+
18
+ * Regenerated from discovery document revision 20210809
19
+
3
20
  ### v0.6.0 (2021-06-29)
4
21
 
5
22
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Pubsub service in particular.)
67
67
 
@@ -42,7 +42,7 @@ module Google
42
42
  end
43
43
  end
44
44
 
45
- # Associates `members` with a `role`.
45
+ # Associates `members`, or principals, with a `role`.
46
46
  class Binding
47
47
  include Google::Apis::Core::Hashable
48
48
 
@@ -65,7 +65,7 @@ module Google
65
65
  # @return [Google::Apis::PubsubV1beta2::Expr]
66
66
  attr_accessor :condition
67
67
 
68
- # Specifies the identities requesting access for a Cloud Platform resource. `
68
+ # Specifies the principals requesting access for a Cloud Platform resource. `
69
69
  # members` can have the following values: * `allUsers`: A special identifier
70
70
  # that represents anyone who is on the internet; with or without a Google
71
71
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -95,8 +95,8 @@ module Google
95
95
  # @return [Array<String>]
96
96
  attr_accessor :members
97
97
 
98
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
99
- # , or `roles/owner`.
98
+ # Role that is assigned to the list of `members`, or principals. For example, `
99
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
100
100
  # Corresponds to the JSON property `role`
101
101
  # @return [String]
102
102
  attr_accessor :role
@@ -354,37 +354,42 @@ module Google
354
354
 
355
355
  # An Identity and Access Management (IAM) policy, which specifies access
356
356
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
357
- # A `binding` binds one or more `members` to a single `role`. Members can be
358
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
359
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
360
- # role or a user-created custom role. For some types of Google Cloud resources,
361
- # a `binding` can also specify a `condition`, which is a logical expression that
362
- # allows access to a resource only if the expression evaluates to `true`. A
363
- # condition can add constraints based on attributes of the request, the resource,
364
- # or both. To learn which resources support conditions in their IAM policies,
365
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
366
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
367
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
368
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
369
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
370
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
371
- # title": "expirable access", "description": "Does not grant access after Sep
372
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
373
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
374
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
375
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
376
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
377
- # roles/resourcemanager.organizationViewer condition: title: expirable access
378
- # description: Does not grant access after Sep 2020 expression: request.time <
379
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
380
- # description of IAM and its features, see the [IAM documentation](https://cloud.
381
- # google.com/iam/docs/).
357
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
358
+ # Principals can be user accounts, service accounts, Google groups, and domains (
359
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
360
+ # an IAM predefined role or a user-created custom role. For some types of Google
361
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
362
+ # logical expression that allows access to a resource only if the expression
363
+ # evaluates to `true`. A condition can add constraints based on attributes of
364
+ # the request, the resource, or both. To learn which resources support
365
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
366
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
367
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
368
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
369
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
370
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
371
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
372
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
373
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
374
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
375
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
376
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
377
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
378
+ # access description: Does not grant access after Sep 2020 expression: request.
379
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
380
+ # a description of IAM and its features, see the [IAM documentation](https://
381
+ # cloud.google.com/iam/docs/).
382
382
  class Policy
383
383
  include Google::Apis::Core::Hashable
384
384
 
385
- # Associates a list of `members` to a `role`. Optionally, may specify a `
386
- # condition` that determines how and when the `bindings` are applied. Each of
387
- # the `bindings` must contain at least one member.
385
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
386
+ # specify a `condition` that determines how and when the `bindings` are applied.
387
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
388
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
389
+ # can be Google groups. Each occurrence of a principal counts towards these
390
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
391
+ # example.com`, and not to any other principal, then you can add another 1,450
392
+ # principals to the `bindings` in the `Policy`.
388
393
  # Corresponds to the JSON property `bindings`
389
394
  # @return [Array<Google::Apis::PubsubV1beta2::Binding>]
390
395
  attr_accessor :bindings
@@ -653,31 +658,31 @@ module Google
653
658
 
654
659
  # An Identity and Access Management (IAM) policy, which specifies access
655
660
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
656
- # A `binding` binds one or more `members` to a single `role`. Members can be
657
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
658
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
659
- # role or a user-created custom role. For some types of Google Cloud resources,
660
- # a `binding` can also specify a `condition`, which is a logical expression that
661
- # allows access to a resource only if the expression evaluates to `true`. A
662
- # condition can add constraints based on attributes of the request, the resource,
663
- # or both. To learn which resources support conditions in their IAM policies,
664
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
665
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
666
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
667
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
668
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
669
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
670
- # title": "expirable access", "description": "Does not grant access after Sep
671
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
672
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
673
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
674
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
675
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
676
- # roles/resourcemanager.organizationViewer condition: title: expirable access
677
- # description: Does not grant access after Sep 2020 expression: request.time <
678
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
679
- # description of IAM and its features, see the [IAM documentation](https://cloud.
680
- # google.com/iam/docs/).
661
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
662
+ # Principals can be user accounts, service accounts, Google groups, and domains (
663
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
664
+ # an IAM predefined role or a user-created custom role. For some types of Google
665
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
666
+ # logical expression that allows access to a resource only if the expression
667
+ # evaluates to `true`. A condition can add constraints based on attributes of
668
+ # the request, the resource, or both. To learn which resources support
669
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
670
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
671
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
672
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
673
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
674
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
675
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
676
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
677
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
678
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
679
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
680
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
681
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
682
+ # access description: Does not grant access after Sep 2020 expression: request.
683
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
684
+ # a description of IAM and its features, see the [IAM documentation](https://
685
+ # cloud.google.com/iam/docs/).
681
686
  # Corresponds to the JSON property `policy`
682
687
  # @return [Google::Apis::PubsubV1beta2::Policy]
683
688
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PubsubV1beta2
18
18
  # Version of the google-apis-pubsub_v1beta2 gem
19
- GEM_VERSION = "0.6.0"
19
+ GEM_VERSION = "0.10.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210322"
25
+ REVISION = "20211108"
26
26
  end
27
27
  end
28
28
  end
@@ -198,13 +198,16 @@ module Google
198
198
  # REQUIRED: The resource for which the policy is being requested. See the
199
199
  # operation documentation for the appropriate value for this field.
200
200
  # @param [Fixnum] options_requested_policy_version
201
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
202
- # 3. Requests specifying an invalid value will be rejected. Requests for
203
- # policies with any conditional bindings must specify version 3. Policies
204
- # without any conditional bindings may specify any valid value or leave the
205
- # field unset. To learn which resources support conditions in their IAM policies,
206
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
207
- # resource-policies).
201
+ # Optional. The maximum policy version that will be used to format the policy.
202
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
203
+ # rejected. Requests for policies with any conditional role bindings must
204
+ # specify version 3. Policies with no conditional role bindings may specify any
205
+ # valid value or leave the field unset. The policy in the response might use the
206
+ # policy version that you specified, or it might use a lower policy version. For
207
+ # example, if you specify version 3, but the policy has no conditional role
208
+ # bindings, the response uses version 1. To learn which resources support
209
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
210
+ # google.com/iam/help/conditions/resource-policies).
208
211
  # @param [String] fields
209
212
  # Selector specifying which fields to include in a partial response.
210
213
  # @param [String] quota_user
@@ -561,13 +564,16 @@ module Google
561
564
  # REQUIRED: The resource for which the policy is being requested. See the
562
565
  # operation documentation for the appropriate value for this field.
563
566
  # @param [Fixnum] options_requested_policy_version
564
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
565
- # 3. Requests specifying an invalid value will be rejected. Requests for
566
- # policies with any conditional bindings must specify version 3. Policies
567
- # without any conditional bindings may specify any valid value or leave the
568
- # field unset. To learn which resources support conditions in their IAM policies,
569
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
570
- # resource-policies).
567
+ # Optional. The maximum policy version that will be used to format the policy.
568
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
569
+ # rejected. Requests for policies with any conditional role bindings must
570
+ # specify version 3. Policies with no conditional role bindings may specify any
571
+ # valid value or leave the field unset. The policy in the response might use the
572
+ # policy version that you specified, or it might use a lower policy version. For
573
+ # example, if you specify version 3, but the policy has no conditional role
574
+ # bindings, the response uses version 1. To learn which resources support
575
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
576
+ # google.com/iam/help/conditions/resource-policies).
571
577
  # @param [String] fields
572
578
  # Selector specifying which fields to include in a partial response.
573
579
  # @param [String] quota_user
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1beta2'
31
31
 
32
- # See, edit, configure, and delete your Google Cloud Platform data
32
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
34
34
 
35
35
  # View and manage Pub/Sub topics and subscriptions
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-pubsub_v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-05 00:00:00.000000000 Z
11
+ date: 2021-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-pubsub_v1beta2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1beta2/v0.6.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-pubsub_v1beta2
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1beta2/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1beta2/v0.10.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1beta2
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: