google-apis-pubsub_v1 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: 7805a4763f6d1484db7eafc94a29bae8aa98007fae112945ce497094f692ee7a
4
- data.tar.gz: 6e99d1771b7049ddc720f45e62f7b42ae88da950dcf533a6f3e3ff48685f64ce
3
+ metadata.gz: 7221fbdb8d3734af80016069d6160c557d6ff2aa818889387c38d6fb23dda66b
4
+ data.tar.gz: a517229870ff5b517a040a6d6120c578a5fbdfa3d8146866550f252be4c73f6d
5
5
  SHA512:
6
- metadata.gz: 657f4e1dcb4df3293e01e22df75918f9092510d599824fdd63ca858cddeb4d48c512979a314284d09491c17913e1d2ca74e6506e8aac5772da96212b4234f8bb
7
- data.tar.gz: 6a6b091640fec5667a6c71198adbfb0dc4a7941cea6722d4d2a58bed4f7c018ff01368b614e228fc12f9a0ede76b414346c36bb78887ab1b19dd62644e2625b9
6
+ metadata.gz: 74eb89878d6550f124cfdecf82745c083dcb8e6de5f9192e5e193d27b78eccd20981a34289ee83223dbaeb6c2248549640eab2d349b2843aea9e5401c2850822
7
+ data.tar.gz: 8b5cd49a80d28ad57badd2791f5fe5dd60d0463546d79ab7c85b805118953ee86a7842ff93f8585954823bb726c5499fa88c0c45573f89e371369570238ad661
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-pubsub_v1
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
+
11
+ ### v0.8.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210816
14
+
15
+ ### v0.7.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.6.0 (2021-06-24)
4
20
 
5
21
  * Regenerated using generator version 0.3.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::PubsubV1::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
@@ -561,37 +561,42 @@ module Google
561
561
 
562
562
  # An Identity and Access Management (IAM) policy, which specifies access
563
563
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
564
- # A `binding` binds one or more `members` to a single `role`. Members can be
565
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
566
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
567
- # role or a user-created custom role. For some types of Google Cloud resources,
568
- # a `binding` can also specify a `condition`, which is a logical expression that
569
- # allows access to a resource only if the expression evaluates to `true`. A
570
- # condition can add constraints based on attributes of the request, the resource,
571
- # or both. To learn which resources support conditions in their IAM policies,
572
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
573
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
574
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
575
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
576
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
577
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
578
- # title": "expirable access", "description": "Does not grant access after Sep
579
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
580
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
581
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
582
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
583
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
584
- # roles/resourcemanager.organizationViewer condition: title: expirable access
585
- # description: Does not grant access after Sep 2020 expression: request.time <
586
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
587
- # description of IAM and its features, see the [IAM documentation](https://cloud.
588
- # google.com/iam/docs/).
564
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
565
+ # Principals can be user accounts, service accounts, Google groups, and domains (
566
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
567
+ # an IAM predefined role or a user-created custom role. For some types of Google
568
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
569
+ # logical expression that allows access to a resource only if the expression
570
+ # evaluates to `true`. A condition can add constraints based on attributes of
571
+ # the request, the resource, or both. To learn which resources support
572
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
573
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
574
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
575
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
576
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
577
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
578
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
579
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
580
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
581
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
582
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
583
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
584
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
585
+ # access description: Does not grant access after Sep 2020 expression: request.
586
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
587
+ # a description of IAM and its features, see the [IAM documentation](https://
588
+ # cloud.google.com/iam/docs/).
589
589
  class Policy
590
590
  include Google::Apis::Core::Hashable
591
591
 
592
- # Associates a list of `members` to a `role`. Optionally, may specify a `
593
- # condition` that determines how and when the `bindings` are applied. Each of
594
- # the `bindings` must contain at least one member.
592
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
593
+ # specify a `condition` that determines how and when the `bindings` are applied.
594
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
595
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
596
+ # can be Google groups. Each occurrence of a principal counts towards these
597
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
598
+ # example.com`, and not to any other principal, then you can add another 1,450
599
+ # principals to the `bindings` in the `Policy`.
595
600
  # Corresponds to the JSON property `bindings`
596
601
  # @return [Array<Google::Apis::PubsubV1::Binding>]
597
602
  attr_accessor :bindings
@@ -1037,31 +1042,31 @@ module Google
1037
1042
 
1038
1043
  # An Identity and Access Management (IAM) policy, which specifies access
1039
1044
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
1040
- # A `binding` binds one or more `members` to a single `role`. Members can be
1041
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
1042
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
1043
- # role or a user-created custom role. For some types of Google Cloud resources,
1044
- # a `binding` can also specify a `condition`, which is a logical expression that
1045
- # allows access to a resource only if the expression evaluates to `true`. A
1046
- # condition can add constraints based on attributes of the request, the resource,
1047
- # or both. To learn which resources support conditions in their IAM policies,
1048
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1049
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
1050
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
1051
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
1052
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
1053
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
1054
- # title": "expirable access", "description": "Does not grant access after Sep
1055
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
1056
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
1057
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
1058
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
1059
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
1060
- # roles/resourcemanager.organizationViewer condition: title: expirable access
1061
- # description: Does not grant access after Sep 2020 expression: request.time <
1062
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
1063
- # description of IAM and its features, see the [IAM documentation](https://cloud.
1064
- # google.com/iam/docs/).
1045
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
1046
+ # Principals can be user accounts, service accounts, Google groups, and domains (
1047
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
1048
+ # an IAM predefined role or a user-created custom role. For some types of Google
1049
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
1050
+ # logical expression that allows access to a resource only if the expression
1051
+ # evaluates to `true`. A condition can add constraints based on attributes of
1052
+ # the request, the resource, or both. To learn which resources support
1053
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1054
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
1055
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
1056
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
1057
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
1058
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
1059
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
1060
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
1061
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
1062
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
1063
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
1064
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
1065
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
1066
+ # access description: Does not grant access after Sep 2020 expression: request.
1067
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
1068
+ # a description of IAM and its features, see the [IAM documentation](https://
1069
+ # cloud.google.com/iam/docs/).
1065
1070
  # Corresponds to the JSON property `policy`
1066
1071
  # @return [Google::Apis::PubsubV1::Policy]
1067
1072
  attr_accessor :policy
@@ -1247,6 +1252,16 @@ module Google
1247
1252
  # @return [String]
1248
1253
  attr_accessor :topic
1249
1254
 
1255
+ # Output only. Indicates the minimum duration for which a message is retained
1256
+ # after it is published to the subscription's topic. If this field is set,
1257
+ # messages published to the subscription's topic in the last `
1258
+ # topic_message_retention_duration` are always available to subscribers. See the
1259
+ # `message_retention_duration` field in `Topic`. This field is set only in
1260
+ # responses from the server; it is ignored if it is set in any requests.
1261
+ # Corresponds to the JSON property `topicMessageRetentionDuration`
1262
+ # @return [String]
1263
+ attr_accessor :topic_message_retention_duration
1264
+
1250
1265
  def initialize(**args)
1251
1266
  update!(**args)
1252
1267
  end
@@ -1266,6 +1281,7 @@ module Google
1266
1281
  @retain_acked_messages = args[:retain_acked_messages] if args.key?(:retain_acked_messages)
1267
1282
  @retry_policy = args[:retry_policy] if args.key?(:retry_policy)
1268
1283
  @topic = args[:topic] if args.key?(:topic)
1284
+ @topic_message_retention_duration = args[:topic_message_retention_duration] if args.key?(:topic_message_retention_duration)
1269
1285
  end
1270
1286
  end
1271
1287
 
@@ -1326,6 +1342,18 @@ module Google
1326
1342
  # @return [Hash<String,String>]
1327
1343
  attr_accessor :labels
1328
1344
 
1345
+ # Indicates the minimum duration to retain a message after it is published to
1346
+ # the topic. If this field is set, messages published to the topic in the last `
1347
+ # message_retention_duration` are always available to subscribers. For instance,
1348
+ # it allows any attached subscription to [seek to a timestamp](https://cloud.
1349
+ # google.com/pubsub/docs/replay-overview#seek_to_a_time) that is up to `
1350
+ # message_retention_duration` in the past. If this field is not set, message
1351
+ # retention is controlled by settings on individual subscriptions. Cannot be
1352
+ # more than 7 days or less than 10 minutes.
1353
+ # Corresponds to the JSON property `messageRetentionDuration`
1354
+ # @return [String]
1355
+ attr_accessor :message_retention_duration
1356
+
1329
1357
  # A policy constraining the storage of messages published to the topic.
1330
1358
  # Corresponds to the JSON property `messageStoragePolicy`
1331
1359
  # @return [Google::Apis::PubsubV1::MessageStoragePolicy]
@@ -1360,6 +1388,7 @@ module Google
1360
1388
  def update!(**args)
1361
1389
  @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
1362
1390
  @labels = args[:labels] if args.key?(:labels)
1391
+ @message_retention_duration = args[:message_retention_duration] if args.key?(:message_retention_duration)
1363
1392
  @message_storage_policy = args[:message_storage_policy] if args.key?(:message_storage_policy)
1364
1393
  @name = args[:name] if args.key?(:name)
1365
1394
  @satisfies_pzs = args[:satisfies_pzs] if args.key?(:satisfies_pzs)
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module PubsubV1
18
18
  # Version of the google-apis-pubsub_v1 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
- GENERATOR_VERSION = "0.3.0"
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
@@ -580,6 +580,7 @@ module Google
580
580
  property :retry_policy, as: 'retryPolicy', class: Google::Apis::PubsubV1::RetryPolicy, decorator: Google::Apis::PubsubV1::RetryPolicy::Representation
581
581
 
582
582
  property :topic, as: 'topic'
583
+ property :topic_message_retention_duration, as: 'topicMessageRetentionDuration'
583
584
  end
584
585
  end
585
586
 
@@ -602,6 +603,7 @@ module Google
602
603
  class Representation < Google::Apis::Core::JsonRepresentation
603
604
  property :kms_key_name, as: 'kmsKeyName'
604
605
  hash :labels, as: 'labels'
606
+ property :message_retention_duration, as: 'messageRetentionDuration'
605
607
  property :message_storage_policy, as: 'messageStoragePolicy', class: Google::Apis::PubsubV1::MessageStoragePolicy, decorator: Google::Apis::PubsubV1::MessageStoragePolicy::Representation
606
608
 
607
609
  property :name, as: 'name'
@@ -125,7 +125,7 @@ module Google
125
125
  # `schema``.
126
126
  # @param [String] view
127
127
  # The set of fields to return in the response. If not set, returns a Schema with
128
- # `name` and `type`, but not `definition`. Set to `FULL` to retrieve all fields.
128
+ # all fields filled out. Set to `BASIC` to omit the `definition`.
129
129
  # @param [String] fields
130
130
  # Selector specifying which fields to include in a partial response.
131
131
  # @param [String] quota_user
@@ -160,13 +160,16 @@ module Google
160
160
  # REQUIRED: The resource for which the policy is being requested. See the
161
161
  # operation documentation for the appropriate value for this field.
162
162
  # @param [Fixnum] options_requested_policy_version
163
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
164
- # 3. Requests specifying an invalid value will be rejected. Requests for
165
- # policies with any conditional bindings must specify version 3. Policies
166
- # without any conditional bindings may specify any valid value or leave the
167
- # field unset. To learn which resources support conditions in their IAM policies,
168
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
169
- # resource-policies).
163
+ # Optional. The maximum policy version that will be used to format the policy.
164
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
165
+ # rejected. Requests for policies with any conditional role bindings must
166
+ # specify version 3. Policies with no conditional role bindings may specify any
167
+ # valid value or leave the field unset. The policy in the response might use the
168
+ # policy version that you specified, or it might use a lower policy version. For
169
+ # example, if you specify version 3, but the policy has no conditional role
170
+ # bindings, the response uses version 1. To learn which resources support
171
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
172
+ # google.com/iam/help/conditions/resource-policies).
170
173
  # @param [String] fields
171
174
  # Selector specifying which fields to include in a partial response.
172
175
  # @param [String] quota_user
@@ -509,13 +512,16 @@ module Google
509
512
  # REQUIRED: The resource for which the policy is being requested. See the
510
513
  # operation documentation for the appropriate value for this field.
511
514
  # @param [Fixnum] options_requested_policy_version
512
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
513
- # 3. Requests specifying an invalid value will be rejected. Requests for
514
- # policies with any conditional bindings must specify version 3. Policies
515
- # without any conditional bindings may specify any valid value or leave the
516
- # field unset. To learn which resources support conditions in their IAM policies,
517
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
518
- # resource-policies).
515
+ # Optional. The maximum policy version that will be used to format the policy.
516
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
517
+ # rejected. Requests for policies with any conditional role bindings must
518
+ # specify version 3. Policies with no conditional role bindings may specify any
519
+ # valid value or leave the field unset. The policy in the response might use the
520
+ # policy version that you specified, or it might use a lower policy version. For
521
+ # example, if you specify version 3, but the policy has no conditional role
522
+ # bindings, the response uses version 1. To learn which resources support
523
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
524
+ # google.com/iam/help/conditions/resource-policies).
519
525
  # @param [String] fields
520
526
  # Selector specifying which fields to include in a partial response.
521
527
  # @param [String] quota_user
@@ -886,13 +892,16 @@ module Google
886
892
  # REQUIRED: The resource for which the policy is being requested. See the
887
893
  # operation documentation for the appropriate value for this field.
888
894
  # @param [Fixnum] options_requested_policy_version
889
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
890
- # 3. Requests specifying an invalid value will be rejected. Requests for
891
- # policies with any conditional bindings must specify version 3. Policies
892
- # without any conditional bindings may specify any valid value or leave the
893
- # field unset. To learn which resources support conditions in their IAM policies,
894
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
895
- # resource-policies).
895
+ # Optional. The maximum policy version that will be used to format the policy.
896
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
897
+ # rejected. Requests for policies with any conditional role bindings must
898
+ # specify version 3. Policies with no conditional role bindings may specify any
899
+ # valid value or leave the field unset. The policy in the response might use the
900
+ # policy version that you specified, or it might use a lower policy version. For
901
+ # example, if you specify version 3, but the policy has no conditional role
902
+ # bindings, the response uses version 1. To learn which resources support
903
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
904
+ # google.com/iam/help/conditions/resource-policies).
896
905
  # @param [String] fields
897
906
  # Selector specifying which fields to include in a partial response.
898
907
  # @param [String] quota_user
@@ -1333,13 +1342,16 @@ module Google
1333
1342
  # REQUIRED: The resource for which the policy is being requested. See the
1334
1343
  # operation documentation for the appropriate value for this field.
1335
1344
  # @param [Fixnum] options_requested_policy_version
1336
- # Optional. The policy format version to be returned. Valid values are 0, 1, and
1337
- # 3. Requests specifying an invalid value will be rejected. Requests for
1338
- # policies with any conditional bindings must specify version 3. Policies
1339
- # without any conditional bindings may specify any valid value or leave the
1340
- # field unset. To learn which resources support conditions in their IAM policies,
1341
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
1342
- # resource-policies).
1345
+ # Optional. The maximum policy version that will be used to format the policy.
1346
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
1347
+ # rejected. Requests for policies with any conditional role bindings must
1348
+ # specify version 3. Policies with no conditional role bindings may specify any
1349
+ # valid value or leave the field unset. The policy in the response might use the
1350
+ # policy version that you specified, or it might use a lower policy version. For
1351
+ # example, if you specify version 3, but the policy has no conditional role
1352
+ # bindings, the response uses version 1. To learn which resources support
1353
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
1354
+ # google.com/iam/help/conditions/resource-policies).
1343
1355
  # @param [String] fields
1344
1356
  # Selector specifying which fields to include in a partial response.
1345
1357
  # @param [String] quota_user
@@ -29,7 +29,7 @@ module Google
29
29
  # This is NOT the gem version.
30
30
  VERSION = 'V1'
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_v1
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-06-28 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.6.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-pubsub_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-pubsub_v1/v0.10.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-pubsub_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: