google-apis-pubsub_v1beta2 0.7.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +17 -0
- data/OVERVIEW.md +3 -3
- data/lib/google/apis/pubsub_v1beta2/classes.rb +62 -57
- data/lib/google/apis/pubsub_v1beta2/gem_version.rb +2 -2
- data/lib/google/apis/pubsub_v1beta2/service.rb +20 -14
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7def23d33595a7056091cdae305e3f3fe4e66b9f87dc74c32a55f639ea7c61eb
|
4
|
+
data.tar.gz: afb8df89ba0ff71d998e2447f5fc67987ac30aff6fcc237b2085f408d4ab7d8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 177854cf7b985e94b8de79bb11ac3f2acf1bcb8d18c7da2dd0aff7003e28d6969c8cbaf1af3db21dc3ef3ac8a18f5864effc585b99067c630867bd51c185e9b6
|
7
|
+
data.tar.gz: 4693cc5f7779b12ef2d77025d7ff3649f1d736cc049807e9841e263e56c4e11db4e8d3eb151287d6a865587766538e2cec86063a058c6ade84cad6cc2232364b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Release history for google-apis-pubsub_v1beta2
|
2
2
|
|
3
|
+
### v0.11.0 (2021-12-14)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.10.0 (2021-11-19)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20211108
|
10
|
+
|
11
|
+
### v0.9.0 (2021-10-22)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20211012
|
14
|
+
* Unspecified changes
|
15
|
+
|
16
|
+
### v0.8.0 (2021-08-27)
|
17
|
+
|
18
|
+
* Regenerated from discovery document revision 20210816
|
19
|
+
|
3
20
|
### v0.7.0 (2021-08-20)
|
4
21
|
|
5
22
|
* Regenerated from discovery document revision 20210809
|
data/OVERVIEW.md
CHANGED
@@ -51,7 +51,7 @@ require "google/apis/pubsub_v1beta2"
|
|
51
51
|
client = Google::Apis::PubsubV1beta2::PubsubService.new
|
52
52
|
|
53
53
|
# Authenticate calls
|
54
|
-
client.
|
54
|
+
client.authorization = # ... use the googleauth gem to create credentials
|
55
55
|
```
|
56
56
|
|
57
57
|
See the class reference docs for information on the methods you can call from a client.
|
@@ -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/
|
64
|
-
* The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/
|
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
|
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
|
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
|
99
|
-
#
|
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
|
358
|
-
# user accounts, service accounts, Google groups, and domains (
|
359
|
-
# A `role` is a named list of permissions; each `role` can be
|
360
|
-
# role or a user-created custom role. For some types of Google
|
361
|
-
# a `binding` can also specify a `condition`, which is a
|
362
|
-
# allows access to a resource only if the expression
|
363
|
-
# condition can add constraints based on attributes of
|
364
|
-
# or both. To learn which resources support
|
365
|
-
# see the [IAM documentation](https://cloud.
|
366
|
-
# resource-policies). **JSON example:** ` "
|
367
|
-
# resourcemanager.organizationAdmin", "members": [
|
368
|
-
# group:admins@example.com", "domain:google.com", "
|
369
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
370
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
371
|
-
# title": "expirable access", "description": "Does not grant
|
372
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
373
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
374
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
375
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
376
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
377
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
378
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
379
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
380
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
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
|
386
|
-
# condition` that determines how and when the `bindings` are applied.
|
387
|
-
# the `bindings` must contain at least one
|
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
|
657
|
-
# user accounts, service accounts, Google groups, and domains (
|
658
|
-
# A `role` is a named list of permissions; each `role` can be
|
659
|
-
# role or a user-created custom role. For some types of Google
|
660
|
-
# a `binding` can also specify a `condition`, which is a
|
661
|
-
# allows access to a resource only if the expression
|
662
|
-
# condition can add constraints based on attributes of
|
663
|
-
# or both. To learn which resources support
|
664
|
-
# see the [IAM documentation](https://cloud.
|
665
|
-
# resource-policies). **JSON example:** ` "
|
666
|
-
# resourcemanager.organizationAdmin", "members": [
|
667
|
-
# group:admins@example.com", "domain:google.com", "
|
668
|
-
# appspot.gserviceaccount.com" ] `, ` "role": "
|
669
|
-
# organizationViewer", "members": [ "user:eve@example.com"
|
670
|
-
# title": "expirable access", "description": "Does not grant
|
671
|
-
# 2020", "expression": "request.time < timestamp('2020-10-01T00:
|
672
|
-
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
|
673
|
-
# members: - user:mike@example.com - group:admins@example.com -
|
674
|
-
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
675
|
-
# resourcemanager.organizationAdmin - members: - user:eve@example.
|
676
|
-
# roles/resourcemanager.organizationViewer condition: title: expirable
|
677
|
-
# description: Does not grant access after Sep 2020 expression: request.
|
678
|
-
# timestamp('2020-10-01T00:00:00.000Z')
|
679
|
-
# description of IAM and its features, see the [IAM documentation](https://
|
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.
|
19
|
+
GEM_VERSION = "0.11.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 = "
|
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
|
202
|
-
# 3. Requests specifying an invalid value will be
|
203
|
-
# policies with any conditional bindings must
|
204
|
-
#
|
205
|
-
# field unset.
|
206
|
-
#
|
207
|
-
#
|
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
|
565
|
-
# 3. Requests specifying an invalid value will be
|
566
|
-
# policies with any conditional bindings must
|
567
|
-
#
|
568
|
-
# field unset.
|
569
|
-
#
|
570
|
-
#
|
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
|
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.
|
4
|
+
version: 0.11.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:
|
11
|
+
date: 2022-01-10 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/
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1beta2/v0.
|
62
|
-
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/
|
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.11.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:
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
78
|
+
rubygems_version: 3.3.4
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Cloud Pub/Sub API V1beta2
|