google-apis-eventarc_v1 0.12.0 → 0.13.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: 881fca8e65efd5091ab2e73a45e89dbc51952af6847ba10e148a94147951f58b
4
- data.tar.gz: 767829fee2625931707d6634739dfc9135b9f1942a866c28a6174d4d3e3e1508
3
+ metadata.gz: 905a99c96ac92938d0787d0957b133ed1fea0177fe4dfe6f04b9a1cbfc54666d
4
+ data.tar.gz: 5c63a7dc78e45cdc51769922f74b506f6ce3edb09edafc4f4e97e2a98db7ba88
5
5
  SHA512:
6
- metadata.gz: 2206fad28c247dbcd5b0afa5f38ac8c5d4785d57318b93c35bdd1afa787aaa389244173c4f9cc8304a5070fae4d8675acd984cf415e4a68b55f272ae1dc5615c
7
- data.tar.gz: ce5270ad470453bb004261e1b394fc0adf790b60c079982cbac58957c3a35e9c61d297245dde074390558deb0f60eed40c73f1b99a5f1cc1c4b9e694e759bd73
6
+ metadata.gz: bad223eb6dd8fcb8462aa8eb789e0f1d161fd62c593709fc1b93d50486a221dd7deb981ebc10013111bdf992a7deaabec00879acec01bdd26cddd5dc9df0f3ee
7
+ data.tar.gz: a7870fb489c246831d5409c1730ff6a16d5f7485b3059034dc5ae4695c721b23b6bfb1c67d7f74d87424fb66a418336a278d1ec0d6514703ff09236a8323d0c8
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.13.0 (2021-10-23)
4
+
5
+ * Regenerated from discovery document revision 20211015
6
+ * Unspecified changes
7
+
3
8
  ### v0.12.0 (2021-08-21)
4
9
 
5
10
  * Regenerated from discovery document revision 20210813
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 Eventarc service in particular.)
67
67
 
@@ -93,7 +93,7 @@ module Google
93
93
  end
94
94
  end
95
95
 
96
- # Associates `members` with a `role`.
96
+ # Associates `members`, or principals, with a `role`.
97
97
  class Binding
98
98
  include Google::Apis::Core::Hashable
99
99
 
@@ -116,7 +116,7 @@ module Google
116
116
  # @return [Google::Apis::EventarcV1::Expr]
117
117
  attr_accessor :condition
118
118
 
119
- # Specifies the identities requesting access for a Cloud Platform resource. `
119
+ # Specifies the principals requesting access for a Cloud Platform resource. `
120
120
  # members` can have the following values: * `allUsers`: A special identifier
121
121
  # that represents anyone who is on the internet; with or without a Google
122
122
  # account. * `allAuthenticatedUsers`: A special identifier that represents
@@ -146,8 +146,8 @@ module Google
146
146
  # @return [Array<String>]
147
147
  attr_accessor :members
148
148
 
149
- # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
150
- # , or `roles/owner`.
149
+ # Role that is assigned to the list of `members`, or principals. For example, `
150
+ # roles/viewer`, `roles/editor`, or `roles/owner`.
151
151
  # Corresponds to the JSON property `role`
152
152
  # @return [String]
153
153
  attr_accessor :role
@@ -208,6 +208,11 @@ module Google
208
208
  # @return [Google::Apis::EventarcV1::CloudRun]
209
209
  attr_accessor :cloud_run
210
210
 
211
+ # Represents a GKE destination.
212
+ # Corresponds to the JSON property `gke`
213
+ # @return [Google::Apis::EventarcV1::Gke]
214
+ attr_accessor :gke
215
+
211
216
  def initialize(**args)
212
217
  update!(**args)
213
218
  end
@@ -215,6 +220,7 @@ module Google
215
220
  # Update properties of this object
216
221
  def update!(**args)
217
222
  @cloud_run = args[:cloud_run] if args.key?(:cloud_run)
223
+ @gke = args[:gke] if args.key?(:gke)
218
224
  end
219
225
  end
220
226
 
@@ -316,6 +322,54 @@ module Google
316
322
  end
317
323
  end
318
324
 
325
+ # Represents a GKE destination.
326
+ class Gke
327
+ include Google::Apis::Core::Hashable
328
+
329
+ # Required. The name of the cluster the GKE service is running in. The cluster
330
+ # must be running in the same project as the trigger being created.
331
+ # Corresponds to the JSON property `cluster`
332
+ # @return [String]
333
+ attr_accessor :cluster
334
+
335
+ # Required. The name of the Google Compute Engine in which the cluster resides,
336
+ # which can either be compute zone (e.g. us-central1-a) for the zonal clusters
337
+ # or region (e.g. us-central1) for regional clusters.
338
+ # Corresponds to the JSON property `location`
339
+ # @return [String]
340
+ attr_accessor :location
341
+
342
+ # Required. The namespace the GKE service is running in.
343
+ # Corresponds to the JSON property `namespace`
344
+ # @return [String]
345
+ attr_accessor :namespace
346
+
347
+ # Optional. The relative path on the GKE service the events should be sent to.
348
+ # The value must conform to the definition of URI path segment (section 3.3 of
349
+ # RFC2396). Examples: "/route", "route", "route/subroute".
350
+ # Corresponds to the JSON property `path`
351
+ # @return [String]
352
+ attr_accessor :path
353
+
354
+ # Required. Name of the GKE service.
355
+ # Corresponds to the JSON property `service`
356
+ # @return [String]
357
+ attr_accessor :service
358
+
359
+ def initialize(**args)
360
+ update!(**args)
361
+ end
362
+
363
+ # Update properties of this object
364
+ def update!(**args)
365
+ @cluster = args[:cluster] if args.key?(:cluster)
366
+ @location = args[:location] if args.key?(:location)
367
+ @namespace = args[:namespace] if args.key?(:namespace)
368
+ @path = args[:path] if args.key?(:path)
369
+ @service = args[:service] if args.key?(:service)
370
+ end
371
+ end
372
+
319
373
  # The request message for Operations.CancelOperation.
320
374
  class GoogleLongrunningCancelOperationRequest
321
375
  include Google::Apis::Core::Hashable
@@ -620,31 +674,31 @@ module Google
620
674
 
621
675
  # An Identity and Access Management (IAM) policy, which specifies access
622
676
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
623
- # A `binding` binds one or more `members` to a single `role`. Members can be
624
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
625
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
626
- # role or a user-created custom role. For some types of Google Cloud resources,
627
- # a `binding` can also specify a `condition`, which is a logical expression that
628
- # allows access to a resource only if the expression evaluates to `true`. A
629
- # condition can add constraints based on attributes of the request, the resource,
630
- # or both. To learn which resources support conditions in their IAM policies,
631
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
632
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
633
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
634
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
635
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
636
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
637
- # title": "expirable access", "description": "Does not grant access after Sep
638
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
639
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
640
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
641
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
642
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
643
- # roles/resourcemanager.organizationViewer condition: title: expirable access
644
- # description: Does not grant access after Sep 2020 expression: request.time <
645
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
646
- # description of IAM and its features, see the [IAM documentation](https://cloud.
647
- # google.com/iam/docs/).
677
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
678
+ # Principals can be user accounts, service accounts, Google groups, and domains (
679
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
680
+ # an IAM predefined role or a user-created custom role. For some types of Google
681
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
682
+ # logical expression that allows access to a resource only if the expression
683
+ # evaluates to `true`. A condition can add constraints based on attributes of
684
+ # the request, the resource, or both. To learn which resources support
685
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
686
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
687
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
688
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
689
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
690
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
691
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
692
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
693
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
694
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
695
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
696
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
697
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
698
+ # access description: Does not grant access after Sep 2020 expression: request.
699
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
700
+ # a description of IAM and its features, see the [IAM documentation](https://
701
+ # cloud.google.com/iam/docs/).
648
702
  class Policy
649
703
  include Google::Apis::Core::Hashable
650
704
 
@@ -653,9 +707,14 @@ module Google
653
707
  # @return [Array<Google::Apis::EventarcV1::AuditConfig>]
654
708
  attr_accessor :audit_configs
655
709
 
656
- # Associates a list of `members` to a `role`. Optionally, may specify a `
657
- # condition` that determines how and when the `bindings` are applied. Each of
658
- # the `bindings` must contain at least one member.
710
+ # Associates a list of `members`, or principals, with a `role`. Optionally, may
711
+ # specify a `condition` that determines how and when the `bindings` are applied.
712
+ # Each of the `bindings` must contain at least one principal. The `bindings` in
713
+ # a `Policy` can refer to up to 1,500 principals; up to 250 of these principals
714
+ # can be Google groups. Each occurrence of a principal counts towards these
715
+ # limits. For example, if the `bindings` grant 50 different roles to `user:alice@
716
+ # example.com`, and not to any other principal, then you can add another 1,450
717
+ # principals to the `bindings` in the `Policy`.
659
718
  # Corresponds to the JSON property `bindings`
660
719
  # @return [Array<Google::Apis::EventarcV1::Binding>]
661
720
  attr_accessor :bindings
@@ -745,31 +804,31 @@ module Google
745
804
 
746
805
  # An Identity and Access Management (IAM) policy, which specifies access
747
806
  # controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
748
- # A `binding` binds one or more `members` to a single `role`. Members can be
749
- # user accounts, service accounts, Google groups, and domains (such as G Suite).
750
- # A `role` is a named list of permissions; each `role` can be an IAM predefined
751
- # role or a user-created custom role. For some types of Google Cloud resources,
752
- # a `binding` can also specify a `condition`, which is a logical expression that
753
- # allows access to a resource only if the expression evaluates to `true`. A
754
- # condition can add constraints based on attributes of the request, the resource,
755
- # or both. To learn which resources support conditions in their IAM policies,
756
- # see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
757
- # resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
758
- # resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
759
- # group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
760
- # appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
761
- # organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
762
- # title": "expirable access", "description": "Does not grant access after Sep
763
- # 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
764
- # ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
765
- # members: - user:mike@example.com - group:admins@example.com - domain:google.
766
- # com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
767
- # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
768
- # roles/resourcemanager.organizationViewer condition: title: expirable access
769
- # description: Does not grant access after Sep 2020 expression: request.time <
770
- # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
771
- # description of IAM and its features, see the [IAM documentation](https://cloud.
772
- # google.com/iam/docs/).
807
+ # A `binding` binds one or more `members`, or principals, to a single `role`.
808
+ # Principals can be user accounts, service accounts, Google groups, and domains (
809
+ # such as G Suite). A `role` is a named list of permissions; each `role` can be
810
+ # an IAM predefined role or a user-created custom role. For some types of Google
811
+ # Cloud resources, a `binding` can also specify a `condition`, which is a
812
+ # logical expression that allows access to a resource only if the expression
813
+ # evaluates to `true`. A condition can add constraints based on attributes of
814
+ # the request, the resource, or both. To learn which resources support
815
+ # conditions in their IAM policies, see the [IAM documentation](https://cloud.
816
+ # google.com/iam/help/conditions/resource-policies). **JSON example:** ` "
817
+ # bindings": [ ` "role": "roles/resourcemanager.organizationAdmin", "members": [
818
+ # "user:mike@example.com", "group:admins@example.com", "domain:google.com", "
819
+ # serviceAccount:my-project-id@appspot.gserviceaccount.com" ] `, ` "role": "
820
+ # roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com"
821
+ # ], "condition": ` "title": "expirable access", "description": "Does not grant
822
+ # access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:
823
+ # 00:00.000Z')", ` ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:**
824
+ # bindings: - members: - user:mike@example.com - group:admins@example.com -
825
+ # domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com
826
+ # role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.
827
+ # com role: roles/resourcemanager.organizationViewer condition: title: expirable
828
+ # access description: Does not grant access after Sep 2020 expression: request.
829
+ # time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For
830
+ # a description of IAM and its features, see the [IAM documentation](https://
831
+ # cloud.google.com/iam/docs/).
773
832
  # Corresponds to the JSON property `policy`
774
833
  # @return [Google::Apis::EventarcV1::Policy]
775
834
  attr_accessor :policy
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module EventarcV1
18
18
  # Version of the google-apis-eventarc_v1 gem
19
- GEM_VERSION = "0.12.0"
19
+ GEM_VERSION = "0.13.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 = "20210813"
25
+ REVISION = "20211015"
26
26
  end
27
27
  end
28
28
  end
@@ -70,6 +70,12 @@ module Google
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
+ class Gke
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
73
79
  class GoogleLongrunningCancelOperationRequest
74
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
81
 
@@ -201,6 +207,8 @@ module Google
201
207
  class Representation < Google::Apis::Core::JsonRepresentation
202
208
  property :cloud_run, as: 'cloudRun', class: Google::Apis::EventarcV1::CloudRun, decorator: Google::Apis::EventarcV1::CloudRun::Representation
203
209
 
210
+ property :gke, as: 'gke', class: Google::Apis::EventarcV1::Gke, decorator: Google::Apis::EventarcV1::Gke::Representation
211
+
204
212
  end
205
213
  end
206
214
 
@@ -228,6 +236,17 @@ module Google
228
236
  end
229
237
  end
230
238
 
239
+ class Gke
240
+ # @private
241
+ class Representation < Google::Apis::Core::JsonRepresentation
242
+ property :cluster, as: 'cluster'
243
+ property :location, as: 'location'
244
+ property :namespace, as: 'namespace'
245
+ property :path, as: 'path'
246
+ property :service, as: 'service'
247
+ end
248
+ end
249
+
231
250
  class GoogleLongrunningCancelOperationRequest
232
251
  # @private
233
252
  class Representation < Google::Apis::Core::JsonRepresentation
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-eventarc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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-08-23 00:00:00.000000000 Z
11
+ date: 2021-10-27 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-eventarc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.12.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-eventarc_v1
60
+ changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1/CHANGELOG.md
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.13.0
62
+ source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
65
65
  require_paths: