google-cloud-eventarc-v1 0.1.4 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/lib/google/cloud/eventarc/v1/channel_connection_pb.rb +31 -0
- data/lib/google/cloud/eventarc/v1/channel_pb.rb +42 -0
- data/lib/google/cloud/eventarc/v1/discovery_pb.rb +41 -0
- data/lib/google/cloud/eventarc/v1/eventarc/client.rb +1140 -8
- data/lib/google/cloud/eventarc/v1/eventarc/paths.rb +76 -0
- data/lib/google/cloud/eventarc/v1/eventarc_pb.rb +84 -1
- data/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb +22 -0
- data/lib/google/cloud/eventarc/v1/trigger_pb.rb +14 -2
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/lib/google/cloud/eventarc/v1.rb +2 -0
- data/proto_docs/google/cloud/eventarc/v1/channel.rb +94 -0
- data/proto_docs/google/cloud/eventarc/v1/channel_connection.rb +59 -0
- data/proto_docs/google/cloud/eventarc/v1/discovery.rb +89 -0
- data/proto_docs/google/cloud/eventarc/v1/eventarc.rb +234 -9
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +78 -35
- data/proto_docs/google/protobuf/any.rb +3 -3
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 174823041dfb1522bf6208bd502faf24036c8a46a5e42a18c73285bc5ecaaa0e
|
4
|
+
data.tar.gz: a4edea07b4df9247bee37f1df42f1b9a1b9f278304e224aa96ab79ca3ca93487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed1332136194d8752dc090ab4590a8cec6a2cf016b74660c91fe736ec84e7d5a317383c4520957dbc3cb6f7b288ad58a47c0704fd20a27b30a0ce59c66ad92d0
|
7
|
+
data.tar.gz: bfd3f0fc230f85ac58c0e4dae90683d9c9cdf436990da5d4025f730f01b3204b482dc5e844c25459f8185190d0616cb0da6914cb6b3e470f0dab199783e1fa01
|
data/README.md
CHANGED
@@ -37,7 +37,7 @@ request = ::Google::Cloud::Eventarc::V1::GetTriggerRequest.new # (request fields
|
|
37
37
|
response = client.get_trigger request
|
38
38
|
```
|
39
39
|
|
40
|
-
View the [Client Library Documentation](https://
|
40
|
+
View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-cloud-eventarc-v1/latest)
|
41
41
|
for class and method documentation.
|
42
42
|
|
43
43
|
See also the [Product Documentation](https://cloud.google.com/eventarc/)
|
@@ -69,6 +69,11 @@ module GRPC
|
|
69
69
|
end
|
70
70
|
```
|
71
71
|
|
72
|
+
|
73
|
+
## Google Cloud Samples
|
74
|
+
|
75
|
+
To browse ready to use code samples check [Google Cloud Samples](https://cloud.google.com/docs/samples).
|
76
|
+
|
72
77
|
## Supported Ruby Versions
|
73
78
|
|
74
79
|
This library is supported on Ruby 2.5+.
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/eventarc/v1/channel_connection.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/cloud/eventarc/v1/channel_connection.proto", :syntax => :proto3) do
|
12
|
+
add_message "google.cloud.eventarc.v1.ChannelConnection" do
|
13
|
+
optional :name, :string, 1
|
14
|
+
optional :uid, :string, 2
|
15
|
+
optional :channel, :string, 5
|
16
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
17
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
18
|
+
optional :activation_token, :string, 8
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
module Google
|
24
|
+
module Cloud
|
25
|
+
module Eventarc
|
26
|
+
module V1
|
27
|
+
ChannelConnection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.ChannelConnection").msgclass
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/eventarc/v1/channel.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/cloud/eventarc/v1/channel.proto", :syntax => :proto3) do
|
12
|
+
add_message "google.cloud.eventarc.v1.Channel" do
|
13
|
+
optional :name, :string, 1
|
14
|
+
optional :uid, :string, 2
|
15
|
+
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
16
|
+
optional :update_time, :message, 6, "google.protobuf.Timestamp"
|
17
|
+
optional :provider, :string, 7
|
18
|
+
optional :state, :enum, 9, "google.cloud.eventarc.v1.Channel.State"
|
19
|
+
optional :activation_token, :string, 10
|
20
|
+
oneof :transport do
|
21
|
+
optional :pubsub_topic, :string, 8
|
22
|
+
end
|
23
|
+
end
|
24
|
+
add_enum "google.cloud.eventarc.v1.Channel.State" do
|
25
|
+
value :STATE_UNSPECIFIED, 0
|
26
|
+
value :PENDING, 1
|
27
|
+
value :ACTIVE, 2
|
28
|
+
value :INACTIVE, 3
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
module Google
|
34
|
+
module Cloud
|
35
|
+
module Eventarc
|
36
|
+
module V1
|
37
|
+
Channel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Channel").msgclass
|
38
|
+
Channel::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Channel.State").enummodule
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/eventarc/v1/discovery.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
|
9
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
10
|
+
add_file("google/cloud/eventarc/v1/discovery.proto", :syntax => :proto3) do
|
11
|
+
add_message "google.cloud.eventarc.v1.Provider" do
|
12
|
+
optional :name, :string, 1
|
13
|
+
optional :display_name, :string, 2
|
14
|
+
repeated :event_types, :message, 3, "google.cloud.eventarc.v1.EventType"
|
15
|
+
end
|
16
|
+
add_message "google.cloud.eventarc.v1.EventType" do
|
17
|
+
optional :type, :string, 1
|
18
|
+
optional :description, :string, 2
|
19
|
+
repeated :filtering_attributes, :message, 3, "google.cloud.eventarc.v1.FilteringAttribute"
|
20
|
+
optional :event_schema_uri, :string, 4
|
21
|
+
end
|
22
|
+
add_message "google.cloud.eventarc.v1.FilteringAttribute" do
|
23
|
+
optional :attribute, :string, 1
|
24
|
+
optional :description, :string, 2
|
25
|
+
optional :required, :bool, 3
|
26
|
+
optional :path_pattern_supported, :bool, 4
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
module Google
|
32
|
+
module Cloud
|
33
|
+
module Eventarc
|
34
|
+
module V1
|
35
|
+
Provider = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Provider").msgclass
|
36
|
+
EventType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.EventType").msgclass
|
37
|
+
FilteringAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.FilteringAttribute").msgclass
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|