google-cloud-eventarc-v1 0.9.2 → 1.0.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: 454f1b848aa6b4703a52f69b0868bfd7a788ab6f565cc79c5fe6965673e5907b
4
- data.tar.gz: 38989ef2cb02f5985620b9a21dab01aaf5d62b9afa51c39a82dcb036fb849d33
3
+ metadata.gz: 264506146bb9f1504605a4cddddc5848ff3db5fd86176c25bee0ef98a47925c1
4
+ data.tar.gz: 8bc48e50ffa0895ad0c84a99e8cbe52df58aea934bb46e86a3a5157d8ee2d329
5
5
  SHA512:
6
- metadata.gz: a15b3a324fe468fd4941db2ff68da11c98f00bfc491361a322f726319c14e50d895f3ca81ee25a917541d10615f2b1e2d9b0ab8dc9d386ac9be404ea9148cf11
7
- data.tar.gz: fb3547b55ca8af1b1a1dc9d73cd69ffae9cfb53159582c153963dc0d56d2179d9b64b6a7cdd5b0953ac270fffdf470e686f43dd13adc7a615463217222a0def9
6
+ metadata.gz: 2632a1e7b705c127376f03083bb340480e76457cb3337b3c025c58caa5f7189a7446e50d8b56e5c312d153beba6ad3c4d2186520da115d1f1b2c7775eef32e6f
7
+ data.tar.gz: dbc3016a6caf6e00891ea401cee9d10db638b4e09fa4b222d6d620fc2ebc9b6e4ae7b63457a5cf17d436d42143af967551e38e79db73e7162fe217beded73d89
data/README.md CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
76
76
 
77
77
  ## Supported Ruby Versions
78
78
 
79
- This library is supported on Ruby 2.6+.
79
+ This library is supported on Ruby 2.7+.
80
80
 
81
81
  Google provides official support for Ruby versions that are actively supported
82
82
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n1google/cloud/eventarc/v1/channel_connection.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xad\x03\n\x11\x43hannelConnection\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x39\n\x07\x63hannel\x18\x05 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\x12\x35\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x1e\n\x10\x61\x63tivation_token\x18\x08 \x01(\tB\x04\xe2\x41\x01\x04:\xa7\x01\xea\x41\xa3\x01\n)eventarc.googleapis.com/ChannelConnection\x12Oprojects/{project}/locations/{location}/channelConnections/{channel_connection}*\x12\x63hannelConnections2\x11\x63hannelConnectionB\xc6\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x16\x43hannelConnectionProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
12
+ descriptor_data = "\n1google/cloud/eventarc/v1/channel_connection.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa7\x03\n\x11\x43hannelConnection\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x38\n\x07\x63hannel\x18\x05 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\x12\x34\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x1d\n\x10\x61\x63tivation_token\x18\x08 \x01(\tB\x03\xe0\x41\x04:\xa7\x01\xea\x41\xa3\x01\n)eventarc.googleapis.com/ChannelConnection\x12Oprojects/{project}/locations/{location}/channelConnections/{channel_connection}*\x12\x63hannelConnections2\x11\x63hannelConnectionB\xc6\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x16\x43hannelConnectionProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n&google/cloud/eventarc/v1/channel.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x04\n\x07\x43hannel\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x10\n\x08provider\x18\x07 \x01(\t\x12\x1c\n\x0cpubsub_topic\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03H\x00\x12<\n\x05state\x18\t \x01(\x0e\x32\'.google.cloud.eventarc.v1.Channel.StateB\x04\xe2\x41\x01\x03\x12\x1e\n\x10\x61\x63tivation_token\x18\n \x01(\tB\x04\xe2\x41\x01\x03\x12\x43\n\x0f\x63rypto_key_name\x18\x0b \x01(\tB*\xe2\x41\x01\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03:s\xea\x41p\n\x1f\x65ventarc.googleapis.com/Channel\x12:projects/{project}/locations/{location}/channels/{channel}*\x08\x63hannels2\x07\x63hannelB\x0b\n\ttransportB\xbc\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x0c\x43hannelProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
12
+ descriptor_data = "\n&google/cloud/eventarc/v1/channel.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x04\n\x07\x43hannel\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x10\n\x08provider\x18\x07 \x01(\t\x12\x1b\n\x0cpubsub_topic\x18\x08 \x01(\tB\x03\xe0\x41\x03H\x00\x12;\n\x05state\x18\t \x01(\x0e\x32\'.google.cloud.eventarc.v1.Channel.StateB\x03\xe0\x41\x03\x12\x1d\n\x10\x61\x63tivation_token\x18\n \x01(\tB\x03\xe0\x41\x03\x12\x42\n\x0f\x63rypto_key_name\x18\x0b \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\"E\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03:s\xea\x41p\n\x1f\x65ventarc.googleapis.com/Channel\x12:projects/{project}/locations/{location}/channels/{channel}*\x08\x63hannels2\x07\x63hannelB\x0b\n\ttransportB\xbc\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x0c\x43hannelProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n(google/cloud/eventarc/v1/discovery.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xf4\x01\n\x08Provider\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12>\n\x0b\x65vent_types\x18\x03 \x03(\x0b\x32#.google.cloud.eventarc.v1.EventTypeB\x04\xe2\x41\x01\x03:x\xea\x41u\n eventarc.googleapis.com/Provider\x12<projects/{project}/locations/{location}/providers/{provider}*\tproviders2\x08provider\"\xac\x01\n\tEventType\x12\x12\n\x04type\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12P\n\x14\x66iltering_attributes\x18\x03 \x03(\x0b\x32,.google.cloud.eventarc.v1.FilteringAttributeB\x04\xe2\x41\x01\x03\x12\x1e\n\x10\x65vent_schema_uri\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\"\x86\x01\n\x12\x46ilteringAttribute\x12\x17\n\tattribute\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x16\n\x08required\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12$\n\x16path_pattern_supported\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x03\x42j\n\x1c\x63om.google.cloud.eventarc.v1B\x0e\x44iscoveryProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpbb\x06proto3"
11
+ descriptor_data = "\n(google/cloud/eventarc/v1/discovery.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\xf1\x01\n\x08Provider\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12=\n\x0b\x65vent_types\x18\x03 \x03(\x0b\x32#.google.cloud.eventarc.v1.EventTypeB\x03\xe0\x41\x03:x\xea\x41u\n eventarc.googleapis.com/Provider\x12<projects/{project}/locations/{location}/providers/{provider}*\tproviders2\x08provider\"\xa8\x01\n\tEventType\x12\x11\n\x04type\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12O\n\x14\x66iltering_attributes\x18\x03 \x03(\x0b\x32,.google.cloud.eventarc.v1.FilteringAttributeB\x03\xe0\x41\x03\x12\x1d\n\x10\x65vent_schema_uri\x18\x04 \x01(\tB\x03\xe0\x41\x03\"\x82\x01\n\x12\x46ilteringAttribute\x12\x16\n\tattribute\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x15\n\x08required\x18\x03 \x01(\x08\x42\x03\xe0\x41\x03\x12#\n\x16path_pattern_supported\x18\x04 \x01(\x08\x42\x03\xe0\x41\x03\x42j\n\x1c\x63om.google.cloud.eventarc.v1B\x0e\x44iscoveryProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpbb\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -33,6 +33,9 @@ module Google
33
33
  # Google Cloud services and forward them to supported destinations.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "eventarc.$UNIVERSE_DOMAIN$"
38
41
 
@@ -260,10 +263,11 @@ module Google
260
263
  # Customize the options with defaults
261
264
  metadata = @config.rpcs.get_trigger.metadata.to_h
262
265
 
263
- # Set x-goog-api-client and x-goog-user-project headers
266
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
264
267
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
265
268
  lib_name: @config.lib_name, lib_version: @config.lib_version,
266
269
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
270
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
267
271
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
268
272
 
269
273
  header_params = {}
@@ -368,10 +372,11 @@ module Google
368
372
  # Customize the options with defaults
369
373
  metadata = @config.rpcs.list_triggers.metadata.to_h
370
374
 
371
- # Set x-goog-api-client and x-goog-user-project headers
375
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
372
376
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
373
377
  lib_name: @config.lib_name, lib_version: @config.lib_version,
374
378
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
379
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
375
380
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
376
381
 
377
382
  header_params = {}
@@ -468,10 +473,11 @@ module Google
468
473
  # Customize the options with defaults
469
474
  metadata = @config.rpcs.create_trigger.metadata.to_h
470
475
 
471
- # Set x-goog-api-client and x-goog-user-project headers
476
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
472
477
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
473
478
  lib_name: @config.lib_name, lib_version: @config.lib_version,
474
479
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
480
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
475
481
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
476
482
 
477
483
  header_params = {}
@@ -571,10 +577,11 @@ module Google
571
577
  # Customize the options with defaults
572
578
  metadata = @config.rpcs.update_trigger.metadata.to_h
573
579
 
574
- # Set x-goog-api-client and x-goog-user-project headers
580
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
575
581
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
576
582
  lib_name: @config.lib_name, lib_version: @config.lib_version,
577
583
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
584
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
578
585
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
579
586
 
580
587
  header_params = {}
@@ -673,10 +680,11 @@ module Google
673
680
  # Customize the options with defaults
674
681
  metadata = @config.rpcs.delete_trigger.metadata.to_h
675
682
 
676
- # Set x-goog-api-client and x-goog-user-project headers
683
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
677
684
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
678
685
  lib_name: @config.lib_name, lib_version: @config.lib_version,
679
686
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
687
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
680
688
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
681
689
 
682
690
  header_params = {}
@@ -759,10 +767,11 @@ module Google
759
767
  # Customize the options with defaults
760
768
  metadata = @config.rpcs.get_channel.metadata.to_h
761
769
 
762
- # Set x-goog-api-client and x-goog-user-project headers
770
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
763
771
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
764
772
  lib_name: @config.lib_name, lib_version: @config.lib_version,
765
773
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
774
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
766
775
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
767
776
 
768
777
  header_params = {}
@@ -863,10 +872,11 @@ module Google
863
872
  # Customize the options with defaults
864
873
  metadata = @config.rpcs.list_channels.metadata.to_h
865
874
 
866
- # Set x-goog-api-client and x-goog-user-project headers
875
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
867
876
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
868
877
  lib_name: @config.lib_name, lib_version: @config.lib_version,
869
878
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
879
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
870
880
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
871
881
 
872
882
  header_params = {}
@@ -963,10 +973,11 @@ module Google
963
973
  # Customize the options with defaults
964
974
  metadata = @config.rpcs.create_channel.metadata.to_h
965
975
 
966
- # Set x-goog-api-client and x-goog-user-project headers
976
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
967
977
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
968
978
  lib_name: @config.lib_name, lib_version: @config.lib_version,
969
979
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
980
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
970
981
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
971
982
 
972
983
  header_params = {}
@@ -1063,10 +1074,11 @@ module Google
1063
1074
  # Customize the options with defaults
1064
1075
  metadata = @config.rpcs.update_channel.metadata.to_h
1065
1076
 
1066
- # Set x-goog-api-client and x-goog-user-project headers
1077
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1067
1078
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1068
1079
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1069
1080
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1081
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1070
1082
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1071
1083
 
1072
1084
  header_params = {}
@@ -1159,10 +1171,11 @@ module Google
1159
1171
  # Customize the options with defaults
1160
1172
  metadata = @config.rpcs.delete_channel.metadata.to_h
1161
1173
 
1162
- # Set x-goog-api-client and x-goog-user-project headers
1174
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1163
1175
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1164
1176
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1165
1177
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1178
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1166
1179
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1167
1180
 
1168
1181
  header_params = {}
@@ -1245,10 +1258,11 @@ module Google
1245
1258
  # Customize the options with defaults
1246
1259
  metadata = @config.rpcs.get_provider.metadata.to_h
1247
1260
 
1248
- # Set x-goog-api-client and x-goog-user-project headers
1261
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1249
1262
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1250
1263
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1251
1264
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1265
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1252
1266
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1253
1267
 
1254
1268
  header_params = {}
@@ -1349,10 +1363,11 @@ module Google
1349
1363
  # Customize the options with defaults
1350
1364
  metadata = @config.rpcs.list_providers.metadata.to_h
1351
1365
 
1352
- # Set x-goog-api-client and x-goog-user-project headers
1366
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1353
1367
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1354
1368
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1355
1369
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1370
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1356
1371
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1357
1372
 
1358
1373
  header_params = {}
@@ -1435,10 +1450,11 @@ module Google
1435
1450
  # Customize the options with defaults
1436
1451
  metadata = @config.rpcs.get_channel_connection.metadata.to_h
1437
1452
 
1438
- # Set x-goog-api-client and x-goog-user-project headers
1453
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1439
1454
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1440
1455
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1441
1456
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1457
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1442
1458
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1443
1459
 
1444
1460
  header_params = {}
@@ -1534,10 +1550,11 @@ module Google
1534
1550
  # Customize the options with defaults
1535
1551
  metadata = @config.rpcs.list_channel_connections.metadata.to_h
1536
1552
 
1537
- # Set x-goog-api-client and x-goog-user-project headers
1553
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1538
1554
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1539
1555
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1540
1556
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1557
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1541
1558
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1542
1559
 
1543
1560
  header_params = {}
@@ -1631,10 +1648,11 @@ module Google
1631
1648
  # Customize the options with defaults
1632
1649
  metadata = @config.rpcs.create_channel_connection.metadata.to_h
1633
1650
 
1634
- # Set x-goog-api-client and x-goog-user-project headers
1651
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1635
1652
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1636
1653
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1637
1654
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1655
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1638
1656
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1639
1657
 
1640
1658
  header_params = {}
@@ -1724,10 +1742,11 @@ module Google
1724
1742
  # Customize the options with defaults
1725
1743
  metadata = @config.rpcs.delete_channel_connection.metadata.to_h
1726
1744
 
1727
- # Set x-goog-api-client and x-goog-user-project headers
1745
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1728
1746
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1729
1747
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1730
1748
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1749
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1731
1750
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1732
1751
 
1733
1752
  header_params = {}
@@ -1810,10 +1829,11 @@ module Google
1810
1829
  # Customize the options with defaults
1811
1830
  metadata = @config.rpcs.get_google_channel_config.metadata.to_h
1812
1831
 
1813
- # Set x-goog-api-client and x-goog-user-project headers
1832
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1814
1833
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1815
1834
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1816
1835
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1836
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1817
1837
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1818
1838
 
1819
1839
  header_params = {}
@@ -1899,10 +1919,11 @@ module Google
1899
1919
  # Customize the options with defaults
1900
1920
  metadata = @config.rpcs.update_google_channel_config.metadata.to_h
1901
1921
 
1902
- # Set x-goog-api-client and x-goog-user-project headers
1922
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1903
1923
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1904
1924
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1905
1925
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
1926
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1906
1927
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1907
1928
 
1908
1929
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module Eventarc
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "eventarc.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -35,6 +35,9 @@ module Google
35
35
  # Google Cloud services and forward them to supported destinations.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "eventarc.$UNIVERSE_DOMAIN$"
40
43
 
@@ -254,12 +257,13 @@ module Google
254
257
  # Customize the options with defaults
255
258
  call_metadata = @config.rpcs.get_trigger.metadata.to_h
256
259
 
257
- # Set x-goog-api-client and x-goog-user-project headers
260
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
258
261
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
259
262
  lib_name: @config.lib_name, lib_version: @config.lib_version,
260
263
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
261
264
  transports_version_send: [:rest]
262
265
 
266
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
263
267
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
264
268
 
265
269
  options.apply_defaults timeout: @config.rpcs.get_trigger.timeout,
@@ -355,12 +359,13 @@ module Google
355
359
  # Customize the options with defaults
356
360
  call_metadata = @config.rpcs.list_triggers.metadata.to_h
357
361
 
358
- # Set x-goog-api-client and x-goog-user-project headers
362
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
359
363
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
360
364
  lib_name: @config.lib_name, lib_version: @config.lib_version,
361
365
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
362
366
  transports_version_send: [:rest]
363
367
 
368
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
364
369
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
365
370
 
366
371
  options.apply_defaults timeout: @config.rpcs.list_triggers.timeout,
@@ -447,12 +452,13 @@ module Google
447
452
  # Customize the options with defaults
448
453
  call_metadata = @config.rpcs.create_trigger.metadata.to_h
449
454
 
450
- # Set x-goog-api-client and x-goog-user-project headers
455
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
451
456
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
452
457
  lib_name: @config.lib_name, lib_version: @config.lib_version,
453
458
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
454
459
  transports_version_send: [:rest]
455
460
 
461
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
456
462
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
457
463
 
458
464
  options.apply_defaults timeout: @config.rpcs.create_trigger.timeout,
@@ -543,12 +549,13 @@ module Google
543
549
  # Customize the options with defaults
544
550
  call_metadata = @config.rpcs.update_trigger.metadata.to_h
545
551
 
546
- # Set x-goog-api-client and x-goog-user-project headers
552
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
547
553
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
548
554
  lib_name: @config.lib_name, lib_version: @config.lib_version,
549
555
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
550
556
  transports_version_send: [:rest]
551
557
 
558
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
552
559
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
553
560
 
554
561
  options.apply_defaults timeout: @config.rpcs.update_trigger.timeout,
@@ -638,12 +645,13 @@ module Google
638
645
  # Customize the options with defaults
639
646
  call_metadata = @config.rpcs.delete_trigger.metadata.to_h
640
647
 
641
- # Set x-goog-api-client and x-goog-user-project headers
648
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
642
649
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
643
650
  lib_name: @config.lib_name, lib_version: @config.lib_version,
644
651
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
645
652
  transports_version_send: [:rest]
646
653
 
654
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
647
655
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
648
656
 
649
657
  options.apply_defaults timeout: @config.rpcs.delete_trigger.timeout,
@@ -717,12 +725,13 @@ module Google
717
725
  # Customize the options with defaults
718
726
  call_metadata = @config.rpcs.get_channel.metadata.to_h
719
727
 
720
- # Set x-goog-api-client and x-goog-user-project headers
728
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
721
729
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
722
730
  lib_name: @config.lib_name, lib_version: @config.lib_version,
723
731
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
724
732
  transports_version_send: [:rest]
725
733
 
734
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
726
735
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
727
736
 
728
737
  options.apply_defaults timeout: @config.rpcs.get_channel.timeout,
@@ -814,12 +823,13 @@ module Google
814
823
  # Customize the options with defaults
815
824
  call_metadata = @config.rpcs.list_channels.metadata.to_h
816
825
 
817
- # Set x-goog-api-client and x-goog-user-project headers
826
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
818
827
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
819
828
  lib_name: @config.lib_name, lib_version: @config.lib_version,
820
829
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
821
830
  transports_version_send: [:rest]
822
831
 
832
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
823
833
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
824
834
 
825
835
  options.apply_defaults timeout: @config.rpcs.list_channels.timeout,
@@ -906,12 +916,13 @@ module Google
906
916
  # Customize the options with defaults
907
917
  call_metadata = @config.rpcs.create_channel.metadata.to_h
908
918
 
909
- # Set x-goog-api-client and x-goog-user-project headers
919
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
910
920
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
911
921
  lib_name: @config.lib_name, lib_version: @config.lib_version,
912
922
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
913
923
  transports_version_send: [:rest]
914
924
 
925
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
915
926
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
916
927
 
917
928
  options.apply_defaults timeout: @config.rpcs.create_channel.timeout,
@@ -999,12 +1010,13 @@ module Google
999
1010
  # Customize the options with defaults
1000
1011
  call_metadata = @config.rpcs.update_channel.metadata.to_h
1001
1012
 
1002
- # Set x-goog-api-client and x-goog-user-project headers
1013
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1003
1014
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1004
1015
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1005
1016
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1006
1017
  transports_version_send: [:rest]
1007
1018
 
1019
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1008
1020
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1009
1021
 
1010
1022
  options.apply_defaults timeout: @config.rpcs.update_channel.timeout,
@@ -1088,12 +1100,13 @@ module Google
1088
1100
  # Customize the options with defaults
1089
1101
  call_metadata = @config.rpcs.delete_channel.metadata.to_h
1090
1102
 
1091
- # Set x-goog-api-client and x-goog-user-project headers
1103
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1092
1104
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1093
1105
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1094
1106
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1095
1107
  transports_version_send: [:rest]
1096
1108
 
1109
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1097
1110
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1098
1111
 
1099
1112
  options.apply_defaults timeout: @config.rpcs.delete_channel.timeout,
@@ -1167,12 +1180,13 @@ module Google
1167
1180
  # Customize the options with defaults
1168
1181
  call_metadata = @config.rpcs.get_provider.metadata.to_h
1169
1182
 
1170
- # Set x-goog-api-client and x-goog-user-project headers
1183
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1171
1184
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1172
1185
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1173
1186
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1174
1187
  transports_version_send: [:rest]
1175
1188
 
1189
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1176
1190
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1177
1191
 
1178
1192
  options.apply_defaults timeout: @config.rpcs.get_provider.timeout,
@@ -1264,12 +1278,13 @@ module Google
1264
1278
  # Customize the options with defaults
1265
1279
  call_metadata = @config.rpcs.list_providers.metadata.to_h
1266
1280
 
1267
- # Set x-goog-api-client and x-goog-user-project headers
1281
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1268
1282
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1269
1283
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1270
1284
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1271
1285
  transports_version_send: [:rest]
1272
1286
 
1287
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1273
1288
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1274
1289
 
1275
1290
  options.apply_defaults timeout: @config.rpcs.list_providers.timeout,
@@ -1342,12 +1357,13 @@ module Google
1342
1357
  # Customize the options with defaults
1343
1358
  call_metadata = @config.rpcs.get_channel_connection.metadata.to_h
1344
1359
 
1345
- # Set x-goog-api-client and x-goog-user-project headers
1360
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1346
1361
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1347
1362
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1348
1363
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1349
1364
  transports_version_send: [:rest]
1350
1365
 
1366
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1351
1367
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1352
1368
 
1353
1369
  options.apply_defaults timeout: @config.rpcs.get_channel_connection.timeout,
@@ -1434,12 +1450,13 @@ module Google
1434
1450
  # Customize the options with defaults
1435
1451
  call_metadata = @config.rpcs.list_channel_connections.metadata.to_h
1436
1452
 
1437
- # Set x-goog-api-client and x-goog-user-project headers
1453
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1438
1454
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1439
1455
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1440
1456
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1441
1457
  transports_version_send: [:rest]
1442
1458
 
1459
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1443
1460
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1444
1461
 
1445
1462
  options.apply_defaults timeout: @config.rpcs.list_channel_connections.timeout,
@@ -1523,12 +1540,13 @@ module Google
1523
1540
  # Customize the options with defaults
1524
1541
  call_metadata = @config.rpcs.create_channel_connection.metadata.to_h
1525
1542
 
1526
- # Set x-goog-api-client and x-goog-user-project headers
1543
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1527
1544
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1528
1545
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1529
1546
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1530
1547
  transports_version_send: [:rest]
1531
1548
 
1549
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1532
1550
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1533
1551
 
1534
1552
  options.apply_defaults timeout: @config.rpcs.create_channel_connection.timeout,
@@ -1609,12 +1627,13 @@ module Google
1609
1627
  # Customize the options with defaults
1610
1628
  call_metadata = @config.rpcs.delete_channel_connection.metadata.to_h
1611
1629
 
1612
- # Set x-goog-api-client and x-goog-user-project headers
1630
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1613
1631
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1614
1632
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1615
1633
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1616
1634
  transports_version_send: [:rest]
1617
1635
 
1636
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1618
1637
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1619
1638
 
1620
1639
  options.apply_defaults timeout: @config.rpcs.delete_channel_connection.timeout,
@@ -1688,12 +1707,13 @@ module Google
1688
1707
  # Customize the options with defaults
1689
1708
  call_metadata = @config.rpcs.get_google_channel_config.metadata.to_h
1690
1709
 
1691
- # Set x-goog-api-client and x-goog-user-project headers
1710
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1692
1711
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1693
1712
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1694
1713
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1695
1714
  transports_version_send: [:rest]
1696
1715
 
1716
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1697
1717
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1698
1718
 
1699
1719
  options.apply_defaults timeout: @config.rpcs.get_google_channel_config.timeout,
@@ -1770,12 +1790,13 @@ module Google
1770
1790
  # Customize the options with defaults
1771
1791
  call_metadata = @config.rpcs.update_google_channel_config.metadata.to_h
1772
1792
 
1773
- # Set x-goog-api-client and x-goog-user-project headers
1793
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1774
1794
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1775
1795
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1776
1796
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
1777
1797
  transports_version_send: [:rest]
1778
1798
 
1799
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1779
1800
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1780
1801
 
1781
1802
  options.apply_defaults timeout: @config.rpcs.update_google_channel_config.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "eventarc.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::Eventarc::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -18,7 +18,7 @@ require 'google/protobuf/field_mask_pb'
18
18
  require 'google/protobuf/timestamp_pb'
19
19
 
20
20
 
21
- descriptor_data = "\n\'google/cloud/eventarc/v1/eventarc.proto\x12\x18google.cloud.eventarc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/eventarc/v1/channel.proto\x1a\x31google/cloud/eventarc/v1/channel_connection.proto\x1a(google/cloud/eventarc/v1/discovery.proto\x1a\x34google/cloud/eventarc/v1/google_channel_config.proto\x1a&google/cloud/eventarc/v1/trigger.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"K\n\x11GetTriggerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Trigger\"\x98\x01\n\x13ListTriggersRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1f\x65ventarc.googleapis.com/Trigger\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"y\n\x14ListTriggersResponse\x12\x33\n\x08triggers\x18\x01 \x03(\x0b\x32!.google.cloud.eventarc.v1.Trigger\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xc1\x01\n\x14\x43reateTriggerRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1f\x65ventarc.googleapis.com/Trigger\x12\x38\n\x07trigger\x18\x02 \x01(\x0b\x32!.google.cloud.eventarc.v1.TriggerB\x04\xe2\x41\x01\x02\x12\x18\n\ntrigger_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rvalidate_only\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x02\"\xaf\x01\n\x14UpdateTriggerRequest\x12\x32\n\x07trigger\x18\x01 \x01(\x0b\x32!.google.cloud.eventarc.v1.Trigger\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x1b\n\rvalidate_only\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x02\"\x90\x01\n\x14\x44\x65leteTriggerRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Trigger\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x1b\n\rvalidate_only\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x02\"K\n\x11GetChannelRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\"\x88\x01\n\x13ListChannelsRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1f\x65ventarc.googleapis.com/Channel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\"y\n\x14ListChannelsResponse\x12\x33\n\x08\x63hannels\x18\x01 \x03(\x0b\x32!.google.cloud.eventarc.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xc1\x01\n\x14\x43reateChannelRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\x12\x1f\x65ventarc.googleapis.com/Channel\x12\x38\n\x07\x63hannel\x18\x02 \x01(\x0b\x32!.google.cloud.eventarc.v1.ChannelB\x04\xe2\x41\x01\x02\x12\x18\n\nchannel_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x1b\n\rvalidate_only\x18\x04 \x01(\x08\x42\x04\xe2\x41\x01\x02\"\x98\x01\n\x14UpdateChannelRequest\x12\x32\n\x07\x63hannel\x18\x01 \x01(\x0b\x32!.google.cloud.eventarc.v1.Channel\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x1b\n\rvalidate_only\x18\x03 \x01(\x08\x42\x04\xe2\x41\x01\x02\"k\n\x14\x44\x65leteChannelRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe2\x41\x01\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\x12\x1b\n\rvalidate_only\x18\x02 \x01(\x08\x42\x04\xe2\x41\x01\x02\"M\n\x12GetProviderRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\n eventarc.googleapis.com/Provider\"\x9a\x01\n\x14ListProvidersRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe2\x41\x01\x02\xfa\x41\"\x12 eventarc.googleapis.com/Provider\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"|\n\x15ListProvidersResponse\x12\x35\n\tproviders\x18\x01 \x03(\x0b\x32\".google.cloud.eventarc.v1.Provider\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"_\n\x1bGetChannelConnectionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)eventarc.googleapis.com/ChannelConnection\"\x8a\x01\n\x1dListChannelConnectionsRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\x12)eventarc.googleapis.com/ChannelConnection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x98\x01\n\x1eListChannelConnectionsResponse\x12H\n\x13\x63hannel_connections\x18\x01 \x03(\x0b\x32+.google.cloud.eventarc.v1.ChannelConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xd8\x01\n\x1e\x43reateChannelConnectionRequest\x12\x42\n\x06parent\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\x12)eventarc.googleapis.com/ChannelConnection\x12M\n\x12\x63hannel_connection\x18\x02 \x01(\x0b\x32+.google.cloud.eventarc.v1.ChannelConnectionB\x04\xe2\x41\x01\x02\x12#\n\x15\x63hannel_connection_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"b\n\x1e\x44\x65leteChannelConnectionRequest\x12@\n\x04name\x18\x01 \x01(\tB2\xe2\x41\x01\x02\xfa\x41+\n)eventarc.googleapis.com/ChannelConnection\"\xa7\x01\n UpdateGoogleChannelConfigRequest\x12R\n\x15google_channel_config\x18\x01 \x01(\x0b\x32-.google.cloud.eventarc.v1.GoogleChannelConfigB\x04\xe2\x41\x01\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"c\n\x1dGetGoogleChannelConfigRequest\x12\x42\n\x04name\x18\x01 \x01(\tB4\xe2\x41\x01\x02\xfa\x41-\n+eventarc.googleapis.com/GoogleChannelConfig\"\x87\x02\n\x11OperationMetadata\x12\x35\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x32\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x14\n\x06target\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04verb\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12\x1c\n\x0estatus_message\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12$\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0b\x61pi_version\x18\x07 \x01(\tB\x04\xe2\x41\x01\x03\x32\xcf\x1d\n\x08\x45ventarc\x12\x99\x01\n\nGetTrigger\x12+.google.cloud.eventarc.v1.GetTriggerRequest\x1a!.google.cloud.eventarc.v1.Trigger\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/triggers/*}\x12\xac\x01\n\x0cListTriggers\x12-.google.cloud.eventarc.v1.ListTriggersRequest\x1a..google.cloud.eventarc.v1.ListTriggersResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/triggers\x12\xd8\x01\n\rCreateTrigger\x12..google.cloud.eventarc.v1.CreateTriggerRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41\x19parent,trigger,trigger_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/triggers:\x07trigger\x12\xe9\x01\n\rUpdateTrigger\x12..google.cloud.eventarc.v1.UpdateTriggerRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41!trigger,update_mask,allow_missing\x82\xd3\xe4\x93\x02?24/v1/{trigger.name=projects/*/locations/*/triggers/*}:\x07trigger\x12\xc8\x01\n\rDeleteTrigger\x12..google.cloud.eventarc.v1.DeleteTriggerRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41\x12name,allow_missing\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/triggers/*}\x12\x99\x01\n\nGetChannel\x12+.google.cloud.eventarc.v1.GetChannelRequest\x1a!.google.cloud.eventarc.v1.Channel\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/channels/*}\x12\xac\x01\n\x0cListChannels\x12-.google.cloud.eventarc.v1.ListChannelsRequest\x1a..google.cloud.eventarc.v1.ListChannelsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/channels\x12\xd8\x01\n\rCreateChannel\x12..google.cloud.eventarc.v1.CreateChannelRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x19parent,channel,channel_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/channels:\x07\x63hannel\x12\xda\x01\n\rUpdateChannel\x12..google.cloud.eventarc.v1.UpdateChannelRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x13\x63hannel,update_mask\x82\xd3\xe4\x93\x02?24/v1/{channel.name=projects/*/locations/*/channels/*}:\x07\x63hannel\x12\xba\x01\n\rDeleteChannel\x12..google.cloud.eventarc.v1.DeleteChannelRequest\x1a\x1d.google.longrunning.Operation\"Z\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/channels/*}\x12\x9d\x01\n\x0bGetProvider\x12,.google.cloud.eventarc.v1.GetProviderRequest\x1a\".google.cloud.eventarc.v1.Provider\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/providers/*}\x12\xb0\x01\n\rListProviders\x12..google.cloud.eventarc.v1.ListProvidersRequest\x1a/.google.cloud.eventarc.v1.ListProvidersResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/providers\x12\xc1\x01\n\x14GetChannelConnection\x12\x35.google.cloud.eventarc.v1.GetChannelConnectionRequest\x1a+.google.cloud.eventarc.v1.ChannelConnection\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/channelConnections/*}\x12\xd4\x01\n\x16ListChannelConnections\x12\x37.google.cloud.eventarc.v1.ListChannelConnectionsRequest\x1a\x38.google.cloud.eventarc.v1.ListChannelConnectionsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/channelConnections\x12\xa2\x02\n\x17\x43reateChannelConnection\x12\x38.google.cloud.eventarc.v1.CreateChannelConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41&\n\x11\x43hannelConnection\x12\x11OperationMetadata\xda\x41/parent,channel_connection,channel_connection_id\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/channelConnections:\x12\x63hannel_connection\x12\xe2\x01\n\x17\x44\x65leteChannelConnection\x12\x38.google.cloud.eventarc.v1.DeleteChannelConnectionRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41&\n\x11\x43hannelConnection\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/channelConnections/*}\x12\xc6\x01\n\x16GetGoogleChannelConfig\x12\x37.google.cloud.eventarc.v1.GetGoogleChannelConfigRequest\x1a-.google.cloud.eventarc.v1.GoogleChannelConfig\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/googleChannelConfig}\x12\x97\x02\n\x19UpdateGoogleChannelConfig\x12:.google.cloud.eventarc.v1.UpdateGoogleChannelConfigRequest\x1a-.google.cloud.eventarc.v1.GoogleChannelConfig\"\x8e\x01\xda\x41!google_channel_config,update_mask\x82\xd3\xe4\x93\x02\x64\x32K/v1/{google_channel_config.name=projects/*/locations/*/googleChannelConfig}:\x15google_channel_config\x1aK\xca\x41\x17\x65ventarc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x01\n\x1c\x63om.google.cloud.eventarc.v1B\rEventarcProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
21
+ descriptor_data = "\n\'google/cloud/eventarc/v1/eventarc.proto\x12\x18google.cloud.eventarc.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a&google/cloud/eventarc/v1/channel.proto\x1a\x31google/cloud/eventarc/v1/channel_connection.proto\x1a(google/cloud/eventarc/v1/discovery.proto\x1a\x34google/cloud/eventarc/v1/google_channel_config.proto\x1a&google/cloud/eventarc/v1/trigger.proto\x1a#google/longrunning/operations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"J\n\x11GetTriggerRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Trigger\"\x97\x01\n\x13ListTriggersRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x65ventarc.googleapis.com/Trigger\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"y\n\x14ListTriggersResponse\x12\x33\n\x08triggers\x18\x01 \x03(\x0b\x32!.google.cloud.eventarc.v1.Trigger\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xbd\x01\n\x14\x43reateTriggerRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x65ventarc.googleapis.com/Trigger\x12\x37\n\x07trigger\x18\x02 \x01(\x0b\x32!.google.cloud.eventarc.v1.TriggerB\x03\xe0\x41\x02\x12\x17\n\ntrigger_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\"\xae\x01\n\x14UpdateTriggerRequest\x12\x32\n\x07trigger\x18\x01 \x01(\x0b\x32!.google.cloud.eventarc.v1.Trigger\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\"\x8e\x01\n\x14\x44\x65leteTriggerRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Trigger\x12\x0c\n\x04\x65tag\x18\x02 \x01(\t\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\"J\n\x11GetChannelRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\"\x87\x01\n\x13ListChannelsRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x65ventarc.googleapis.com/Channel\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\"y\n\x14ListChannelsResponse\x12\x33\n\x08\x63hannels\x18\x01 \x03(\x0b\x32!.google.cloud.eventarc.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xbd\x01\n\x14\x43reateChannelRequest\x12\x37\n\x06parent\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\x12\x1f\x65ventarc.googleapis.com/Channel\x12\x37\n\x07\x63hannel\x18\x02 \x01(\x0b\x32!.google.cloud.eventarc.v1.ChannelB\x03\xe0\x41\x02\x12\x17\n\nchannel_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x1a\n\rvalidate_only\x18\x04 \x01(\x08\x42\x03\xe0\x41\x02\"\x97\x01\n\x14UpdateChannelRequest\x12\x32\n\x07\x63hannel\x18\x01 \x01(\x0b\x32!.google.cloud.eventarc.v1.Channel\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x1a\n\rvalidate_only\x18\x03 \x01(\x08\x42\x03\xe0\x41\x02\"i\n\x14\x44\x65leteChannelRequest\x12\x35\n\x04name\x18\x01 \x01(\tB\'\xe0\x41\x02\xfa\x41!\n\x1f\x65ventarc.googleapis.com/Channel\x12\x1a\n\rvalidate_only\x18\x02 \x01(\x08\x42\x03\xe0\x41\x02\"L\n\x12GetProviderRequest\x12\x36\n\x04name\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\n eventarc.googleapis.com/Provider\"\x99\x01\n\x14ListProvidersRequest\x12\x38\n\x06parent\x18\x01 \x01(\tB(\xe0\x41\x02\xfa\x41\"\x12 eventarc.googleapis.com/Provider\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x10\n\x08order_by\x18\x04 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x05 \x01(\t\"|\n\x15ListProvidersResponse\x12\x35\n\tproviders\x18\x01 \x03(\x0b\x32\".google.cloud.eventarc.v1.Provider\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"^\n\x1bGetChannelConnectionRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)eventarc.googleapis.com/ChannelConnection\"\x89\x01\n\x1dListChannelConnectionsRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)eventarc.googleapis.com/ChannelConnection\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x98\x01\n\x1eListChannelConnectionsResponse\x12H\n\x13\x63hannel_connections\x18\x01 \x03(\x0b\x32+.google.cloud.eventarc.v1.ChannelConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x13\n\x0bunreachable\x18\x03 \x03(\t\"\xd5\x01\n\x1e\x43reateChannelConnectionRequest\x12\x41\n\x06parent\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\x12)eventarc.googleapis.com/ChannelConnection\x12L\n\x12\x63hannel_connection\x18\x02 \x01(\x0b\x32+.google.cloud.eventarc.v1.ChannelConnectionB\x03\xe0\x41\x02\x12\"\n\x15\x63hannel_connection_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\"a\n\x1e\x44\x65leteChannelConnectionRequest\x12?\n\x04name\x18\x01 \x01(\tB1\xe0\x41\x02\xfa\x41+\n)eventarc.googleapis.com/ChannelConnection\"\xa6\x01\n UpdateGoogleChannelConfigRequest\x12Q\n\x15google_channel_config\x18\x01 \x01(\x0b\x32-.google.cloud.eventarc.v1.GoogleChannelConfigB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"b\n\x1dGetGoogleChannelConfigRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+eventarc.googleapis.com/GoogleChannelConfig\"\x80\x02\n\x11OperationMetadata\x12\x34\n\x0b\x63reate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x31\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x06target\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x11\n\x04verb\x18\x04 \x01(\tB\x03\xe0\x41\x03\x12\x1b\n\x0estatus_message\x18\x05 \x01(\tB\x03\xe0\x41\x03\x12#\n\x16requested_cancellation\x18\x06 \x01(\x08\x42\x03\xe0\x41\x03\x12\x18\n\x0b\x61pi_version\x18\x07 \x01(\tB\x03\xe0\x41\x03\x32\xcf\x1d\n\x08\x45ventarc\x12\x99\x01\n\nGetTrigger\x12+.google.cloud.eventarc.v1.GetTriggerRequest\x1a!.google.cloud.eventarc.v1.Trigger\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/triggers/*}\x12\xac\x01\n\x0cListTriggers\x12-.google.cloud.eventarc.v1.ListTriggersRequest\x1a..google.cloud.eventarc.v1.ListTriggersResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/triggers\x12\xd8\x01\n\rCreateTrigger\x12..google.cloud.eventarc.v1.CreateTriggerRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41\x19parent,trigger,trigger_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/triggers:\x07trigger\x12\xe9\x01\n\rUpdateTrigger\x12..google.cloud.eventarc.v1.UpdateTriggerRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41!trigger,update_mask,allow_missing\x82\xd3\xe4\x93\x02?24/v1/{trigger.name=projects/*/locations/*/triggers/*}:\x07trigger\x12\xc8\x01\n\rDeleteTrigger\x12..google.cloud.eventarc.v1.DeleteTriggerRequest\x1a\x1d.google.longrunning.Operation\"h\xca\x41\x1c\n\x07Trigger\x12\x11OperationMetadata\xda\x41\x12name,allow_missing\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/triggers/*}\x12\x99\x01\n\nGetChannel\x12+.google.cloud.eventarc.v1.GetChannelRequest\x1a!.google.cloud.eventarc.v1.Channel\";\xda\x41\x04name\x82\xd3\xe4\x93\x02.\x12,/v1/{name=projects/*/locations/*/channels/*}\x12\xac\x01\n\x0cListChannels\x12-.google.cloud.eventarc.v1.ListChannelsRequest\x1a..google.cloud.eventarc.v1.ListChannelsResponse\"=\xda\x41\x06parent\x82\xd3\xe4\x93\x02.\x12,/v1/{parent=projects/*/locations/*}/channels\x12\xd8\x01\n\rCreateChannel\x12..google.cloud.eventarc.v1.CreateChannelRequest\x1a\x1d.google.longrunning.Operation\"x\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x19parent,channel,channel_id\x82\xd3\xe4\x93\x02\x37\",/v1/{parent=projects/*/locations/*}/channels:\x07\x63hannel\x12\xda\x01\n\rUpdateChannel\x12..google.cloud.eventarc.v1.UpdateChannelRequest\x1a\x1d.google.longrunning.Operation\"z\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x13\x63hannel,update_mask\x82\xd3\xe4\x93\x02?24/v1/{channel.name=projects/*/locations/*/channels/*}:\x07\x63hannel\x12\xba\x01\n\rDeleteChannel\x12..google.cloud.eventarc.v1.DeleteChannelRequest\x1a\x1d.google.longrunning.Operation\"Z\xca\x41\x1c\n\x07\x43hannel\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02.*,/v1/{name=projects/*/locations/*/channels/*}\x12\x9d\x01\n\x0bGetProvider\x12,.google.cloud.eventarc.v1.GetProviderRequest\x1a\".google.cloud.eventarc.v1.Provider\"<\xda\x41\x04name\x82\xd3\xe4\x93\x02/\x12-/v1/{name=projects/*/locations/*/providers/*}\x12\xb0\x01\n\rListProviders\x12..google.cloud.eventarc.v1.ListProvidersRequest\x1a/.google.cloud.eventarc.v1.ListProvidersResponse\">\xda\x41\x06parent\x82\xd3\xe4\x93\x02/\x12-/v1/{parent=projects/*/locations/*}/providers\x12\xc1\x01\n\x14GetChannelConnection\x12\x35.google.cloud.eventarc.v1.GetChannelConnectionRequest\x1a+.google.cloud.eventarc.v1.ChannelConnection\"E\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{name=projects/*/locations/*/channelConnections/*}\x12\xd4\x01\n\x16ListChannelConnections\x12\x37.google.cloud.eventarc.v1.ListChannelConnectionsRequest\x1a\x38.google.cloud.eventarc.v1.ListChannelConnectionsResponse\"G\xda\x41\x06parent\x82\xd3\xe4\x93\x02\x38\x12\x36/v1/{parent=projects/*/locations/*}/channelConnections\x12\xa2\x02\n\x17\x43reateChannelConnection\x12\x38.google.cloud.eventarc.v1.CreateChannelConnectionRequest\x1a\x1d.google.longrunning.Operation\"\xad\x01\xca\x41&\n\x11\x43hannelConnection\x12\x11OperationMetadata\xda\x41/parent,channel_connection,channel_connection_id\x82\xd3\xe4\x93\x02L\"6/v1/{parent=projects/*/locations/*}/channelConnections:\x12\x63hannel_connection\x12\xe2\x01\n\x17\x44\x65leteChannelConnection\x12\x38.google.cloud.eventarc.v1.DeleteChannelConnectionRequest\x1a\x1d.google.longrunning.Operation\"n\xca\x41&\n\x11\x43hannelConnection\x12\x11OperationMetadata\xda\x41\x04name\x82\xd3\xe4\x93\x02\x38*6/v1/{name=projects/*/locations/*/channelConnections/*}\x12\xc6\x01\n\x16GetGoogleChannelConfig\x12\x37.google.cloud.eventarc.v1.GetGoogleChannelConfigRequest\x1a-.google.cloud.eventarc.v1.GoogleChannelConfig\"D\xda\x41\x04name\x82\xd3\xe4\x93\x02\x37\x12\x35/v1/{name=projects/*/locations/*/googleChannelConfig}\x12\x97\x02\n\x19UpdateGoogleChannelConfig\x12:.google.cloud.eventarc.v1.UpdateGoogleChannelConfigRequest\x1a-.google.cloud.eventarc.v1.GoogleChannelConfig\"\x8e\x01\xda\x41!google_channel_config,update_mask\x82\xd3\xe4\x93\x02\x64\x32K/v1/{google_channel_config.name=projects/*/locations/*/googleChannelConfig}:\x15google_channel_config\x1aK\xca\x41\x17\x65ventarc.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xbd\x01\n\x1c\x63om.google.cloud.eventarc.v1B\rEventarcProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1b\x06proto3"
22
22
 
23
23
  pool = Google::Protobuf::DescriptorPool.generated_pool
24
24
 
@@ -9,7 +9,7 @@ require 'google/api/resource_pb'
9
9
  require 'google/protobuf/timestamp_pb'
10
10
 
11
11
 
12
- descriptor_data = "\n4google/cloud/eventarc/v1/google_channel_config.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xaa\x02\n\x13GoogleChannelConfig\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x43\n\x0f\x63rypto_key_name\x18\x07 \x01(\tB*\xe2\x41\x01\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey:\x82\x01\xea\x41\x7f\n+eventarc.googleapis.com/GoogleChannelConfig\x12;projects/{project}/locations/{location}/googleChannelConfig2\x13googleChannelConfigB\xc3\x02\n\x1c\x63om.google.cloud.eventarc.v1B\x18GoogleChannelConfigProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
12
+ descriptor_data = "\n4google/cloud/eventarc/v1/google_channel_config.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xa7\x02\n\x13GoogleChannelConfig\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x42\n\x0f\x63rypto_key_name\x18\x07 \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey:\x82\x01\xea\x41\x7f\n+eventarc.googleapis.com/GoogleChannelConfig\x12;projects/{project}/locations/{location}/googleChannelConfig2\x13googleChannelConfigB\xc3\x02\n\x1c\x63om.google.cloud.eventarc.v1B\x18GoogleChannelConfigProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xaa\x02\x18Google.Cloud.Eventarc.V1\xca\x02\x18Google\\Cloud\\Eventarc\\V1\xea\x02\x1bGoogle::Cloud::Eventarc::V1\xea\x41x\n!cloudkms.googleapis.com/CryptoKey\x12Sprojects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}b\x06proto3"
13
13
 
14
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
15
15
 
@@ -10,7 +10,7 @@ require 'google/protobuf/timestamp_pb'
10
10
  require 'google/rpc/code_pb'
11
11
 
12
12
 
13
- descriptor_data = "\n&google/cloud/eventarc/v1/trigger.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\xe6\x06\n\x07Trigger\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x11\n\x03uid\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x35\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x43\n\revent_filters\x18\x08 \x03(\x0b\x32%.google.cloud.eventarc.v1.EventFilterB\x05\xe2\x41\x02\x06\x02\x12\x43\n\x0fservice_account\x18\t \x01(\tB*\xe2\x41\x01\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12@\n\x0b\x64\x65stination\x18\n \x01(\x0b\x32%.google.cloud.eventarc.v1.DestinationB\x04\xe2\x41\x01\x02\x12<\n\ttransport\x18\x0b \x01(\x0b\x32#.google.cloud.eventarc.v1.TransportB\x04\xe2\x41\x01\x01\x12\x43\n\x06labels\x18\x0c \x03(\x0b\x32-.google.cloud.eventarc.v1.Trigger.LabelsEntryB\x04\xe2\x41\x01\x01\x12\x15\n\x07\x63hannel\x18\r \x01(\tB\x04\xe2\x41\x01\x01\x12K\n\nconditions\x18\x0f \x03(\x0b\x32\x31.google.cloud.eventarc.v1.Trigger.ConditionsEntryB\x04\xe2\x41\x01\x03\x12\x12\n\x04\x65tag\x18\x63 \x01(\tB\x04\xe2\x41\x01\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a[\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.eventarc.v1.StateCondition:\x02\x38\x01:s\xea\x41p\n\x1f\x65ventarc.googleapis.com/Trigger\x12:projects/{project}/locations/{location}/triggers/{trigger}*\x08triggers2\x07trigger\"S\n\x0b\x45ventFilter\x12\x17\n\tattribute\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x13\n\x05value\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08operator\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\"A\n\x0eStateCondition\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x8a\x02\n\x0b\x44\x65stination\x12\x37\n\tcloud_run\x18\x01 \x01(\x0b\x32\".google.cloud.eventarc.v1.CloudRunH\x00\x12J\n\x0e\x63loud_function\x18\x02 \x01(\tB0\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunctionH\x00\x12,\n\x03gke\x18\x03 \x01(\x0b\x32\x1d.google.cloud.eventarc.v1.GKEH\x00\x12:\n\x08workflow\x18\x04 \x01(\tB&\xfa\x41#\n!workflows.googleapis.com/WorkflowH\x00\x42\x0c\n\ndescriptor\"O\n\tTransport\x12\x32\n\x06pubsub\x18\x01 \x01(\x0b\x32 .google.cloud.eventarc.v1.PubsubH\x00\x42\x0e\n\x0cintermediary\"j\n\x08\x43loudRun\x12\x34\n\x07service\x18\x01 \x01(\tB#\xe2\x41\x01\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x14\n\x06region\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"x\n\x03GKE\x12\x15\n\x07\x63luster\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x16\n\x08location\x18\x02 \x01(\tB\x04\xe2\x41\x01\x02\x12\x17\n\tnamespace\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\x12\x15\n\x07service\x18\x04 \x01(\tB\x04\xe2\x41\x01\x02\x12\x12\n\x04path\x18\x05 \x01(\tB\x04\xe2\x41\x01\x01\"9\n\x06Pubsub\x12\x13\n\x05topic\x18\x01 \x01(\tB\x04\xe2\x41\x01\x01\x12\x1a\n\x0csubscription\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x42\xb8\x03\n\x1c\x63om.google.cloud.eventarc.v1B\x0cTriggerProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xea\x41k\n+cloudfunctions.googleapis.com/CloudFunction\x12<projects/{project}/locations/{location}/functions/{function}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41\x1f\n\x1arun.googleapis.com/Service\x12\x01*\xea\x41\x61\n!workflows.googleapis.com/Workflow\x12<projects/{project}/locations/{location}/workflows/{workflow}b\x06proto3"
13
+ descriptor_data = "\n&google/cloud/eventarc/v1/trigger.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\xdc\x06\n\x07Trigger\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03uid\x18\x02 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x44\n\revent_filters\x18\x08 \x03(\x0b\x32%.google.cloud.eventarc.v1.EventFilterB\x06\xe0\x41\x06\xe0\x41\x02\x12\x42\n\x0fservice_account\x18\t \x01(\tB)\xe0\x41\x01\xfa\x41#\n!iam.googleapis.com/ServiceAccount\x12?\n\x0b\x64\x65stination\x18\n \x01(\x0b\x32%.google.cloud.eventarc.v1.DestinationB\x03\xe0\x41\x02\x12;\n\ttransport\x18\x0b \x01(\x0b\x32#.google.cloud.eventarc.v1.TransportB\x03\xe0\x41\x01\x12\x42\n\x06labels\x18\x0c \x03(\x0b\x32-.google.cloud.eventarc.v1.Trigger.LabelsEntryB\x03\xe0\x41\x01\x12\x14\n\x07\x63hannel\x18\r \x01(\tB\x03\xe0\x41\x01\x12J\n\nconditions\x18\x0f \x03(\x0b\x32\x31.google.cloud.eventarc.v1.Trigger.ConditionsEntryB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a[\n\x0f\x43onditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.eventarc.v1.StateCondition:\x02\x38\x01:s\xea\x41p\n\x1f\x65ventarc.googleapis.com/Trigger\x12:projects/{project}/locations/{location}/triggers/{trigger}*\x08triggers2\x07trigger\"P\n\x0b\x45ventFilter\x12\x16\n\tattribute\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05value\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08operator\x18\x03 \x01(\tB\x03\xe0\x41\x01\"A\n\x0eStateCondition\x12\x1e\n\x04\x63ode\x18\x01 \x01(\x0e\x32\x10.google.rpc.Code\x12\x0f\n\x07message\x18\x02 \x01(\t\"\x8a\x02\n\x0b\x44\x65stination\x12\x37\n\tcloud_run\x18\x01 \x01(\x0b\x32\".google.cloud.eventarc.v1.CloudRunH\x00\x12J\n\x0e\x63loud_function\x18\x02 \x01(\tB0\xfa\x41-\n+cloudfunctions.googleapis.com/CloudFunctionH\x00\x12,\n\x03gke\x18\x03 \x01(\x0b\x32\x1d.google.cloud.eventarc.v1.GKEH\x00\x12:\n\x08workflow\x18\x04 \x01(\tB&\xfa\x41#\n!workflows.googleapis.com/WorkflowH\x00\x42\x0c\n\ndescriptor\"O\n\tTransport\x12\x32\n\x06pubsub\x18\x01 \x01(\x0b\x32 .google.cloud.eventarc.v1.PubsubH\x00\x42\x0e\n\x0cintermediary\"g\n\x08\x43loudRun\x12\x33\n\x07service\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1arun.googleapis.com/Service\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x13\n\x06region\x18\x03 \x01(\tB\x03\xe0\x41\x02\"s\n\x03GKE\x12\x14\n\x07\x63luster\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x15\n\x08location\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\tnamespace\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x07service\x18\x04 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x05 \x01(\tB\x03\xe0\x41\x01\"7\n\x06Pubsub\x12\x12\n\x05topic\x18\x01 \x01(\tB\x03\xe0\x41\x01\x12\x19\n\x0csubscription\x18\x02 \x01(\tB\x03\xe0\x41\x03\x42\xb8\x03\n\x1c\x63om.google.cloud.eventarc.v1B\x0cTriggerProtoP\x01Z8cloud.google.com/go/eventarc/apiv1/eventarcpb;eventarcpb\xea\x41k\n+cloudfunctions.googleapis.com/CloudFunction\x12<projects/{project}/locations/{location}/functions/{function}\xea\x41Y\n!iam.googleapis.com/ServiceAccount\x12\x34projects/{project}/serviceAccounts/{service_account}\xea\x41\x1f\n\x1arun.googleapis.com/Service\x12\x01*\xea\x41\x61\n!workflows.googleapis.com/Workflow\x12<projects/{project}/locations/{location}/workflows/{workflow}b\x06proto3"
14
14
 
15
15
  pool = Google::Protobuf::DescriptorPool.generated_pool
16
16
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Eventarc
23
23
  module V1
24
- VERSION = "0.9.2"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-eventarc-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 1.0.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: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -84,118 +84,6 @@ dependencies:
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
86
  version: 2.a
87
- - !ruby/object:Gem::Dependency
88
- name: google-style
89
- requirement: !ruby/object:Gem::Requirement
90
- requirements:
91
- - - "~>"
92
- - !ruby/object:Gem::Version
93
- version: 1.26.3
94
- type: :development
95
- prerelease: false
96
- version_requirements: !ruby/object:Gem::Requirement
97
- requirements:
98
- - - "~>"
99
- - !ruby/object:Gem::Version
100
- version: 1.26.3
101
- - !ruby/object:Gem::Dependency
102
- name: minitest
103
- requirement: !ruby/object:Gem::Requirement
104
- requirements:
105
- - - "~>"
106
- - !ruby/object:Gem::Version
107
- version: '5.16'
108
- type: :development
109
- prerelease: false
110
- version_requirements: !ruby/object:Gem::Requirement
111
- requirements:
112
- - - "~>"
113
- - !ruby/object:Gem::Version
114
- version: '5.16'
115
- - !ruby/object:Gem::Dependency
116
- name: minitest-focus
117
- requirement: !ruby/object:Gem::Requirement
118
- requirements:
119
- - - "~>"
120
- - !ruby/object:Gem::Version
121
- version: '1.1'
122
- type: :development
123
- prerelease: false
124
- version_requirements: !ruby/object:Gem::Requirement
125
- requirements:
126
- - - "~>"
127
- - !ruby/object:Gem::Version
128
- version: '1.1'
129
- - !ruby/object:Gem::Dependency
130
- name: minitest-rg
131
- requirement: !ruby/object:Gem::Requirement
132
- requirements:
133
- - - "~>"
134
- - !ruby/object:Gem::Version
135
- version: '5.2'
136
- type: :development
137
- prerelease: false
138
- version_requirements: !ruby/object:Gem::Requirement
139
- requirements:
140
- - - "~>"
141
- - !ruby/object:Gem::Version
142
- version: '5.2'
143
- - !ruby/object:Gem::Dependency
144
- name: rake
145
- requirement: !ruby/object:Gem::Requirement
146
- requirements:
147
- - - ">="
148
- - !ruby/object:Gem::Version
149
- version: '13.0'
150
- type: :development
151
- prerelease: false
152
- version_requirements: !ruby/object:Gem::Requirement
153
- requirements:
154
- - - ">="
155
- - !ruby/object:Gem::Version
156
- version: '13.0'
157
- - !ruby/object:Gem::Dependency
158
- name: redcarpet
159
- requirement: !ruby/object:Gem::Requirement
160
- requirements:
161
- - - "~>"
162
- - !ruby/object:Gem::Version
163
- version: '3.0'
164
- type: :development
165
- prerelease: false
166
- version_requirements: !ruby/object:Gem::Requirement
167
- requirements:
168
- - - "~>"
169
- - !ruby/object:Gem::Version
170
- version: '3.0'
171
- - !ruby/object:Gem::Dependency
172
- name: simplecov
173
- requirement: !ruby/object:Gem::Requirement
174
- requirements:
175
- - - "~>"
176
- - !ruby/object:Gem::Version
177
- version: '0.18'
178
- type: :development
179
- prerelease: false
180
- version_requirements: !ruby/object:Gem::Requirement
181
- requirements:
182
- - - "~>"
183
- - !ruby/object:Gem::Version
184
- version: '0.18'
185
- - !ruby/object:Gem::Dependency
186
- name: yard
187
- requirement: !ruby/object:Gem::Requirement
188
- requirements:
189
- - - "~>"
190
- - !ruby/object:Gem::Version
191
- version: '0.9'
192
- type: :development
193
- prerelease: false
194
- version_requirements: !ruby/object:Gem::Requirement
195
- requirements:
196
- - - "~>"
197
- - !ruby/object:Gem::Version
198
- version: '0.9'
199
87
  description: Eventarc lets you asynchronously deliver events from Google services,
200
88
  SaaS, and your own apps using loosely coupled services that react to state changes.
201
89
  Eventarc requires no infrastructure management — you can optimize productivity and
@@ -264,14 +152,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
264
152
  requirements:
265
153
  - - ">="
266
154
  - !ruby/object:Gem::Version
267
- version: '2.6'
155
+ version: '2.7'
268
156
  required_rubygems_version: !ruby/object:Gem::Requirement
269
157
  requirements:
270
158
  - - ">="
271
159
  - !ruby/object:Gem::Version
272
160
  version: '0'
273
161
  requirements: []
274
- rubygems_version: 3.5.3
162
+ rubygems_version: 3.5.6
275
163
  signing_key:
276
164
  specification_version: 4
277
165
  summary: Build event-driven applications on Google Cloud Platform.