google-cloud-eventarc-v1 2.4.1 → 2.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/eventarc/v1/google_api_source_pb.rb +3 -1
- data/lib/google/cloud/eventarc/v1/trigger_pb.rb +2 -1
- data/lib/google/cloud/eventarc/v1/version.rb +1 -1
- data/proto_docs/google/cloud/eventarc/v1/google_api_source.rb +37 -0
- data/proto_docs/google/cloud/eventarc/v1/trigger.rb +18 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3c473965cfc76d77768a993b81c0cf9de78f9440735c19ce6d5a9ee590f57895
|
|
4
|
+
data.tar.gz: f4b9055eff5862e958c9c9501f0bac406a3999117614d8cc7085ee0a8d2fd9f5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39f533283da193a2a02323d856efef8c9f0112e1772ac1f250826953865a986c94b36843b9668474d429ab25d6fb0d1d8c27d610f8930e43a8db97438a20eb23
|
|
7
|
+
data.tar.gz: e576a114ca16eb21e88e5606373914dc4a03cdf507684c449af9168ce203987fbc81236a0a3c8aa5f5886818e63606c8a082d9854181fe313bcb7377c29bece9
|
|
@@ -11,7 +11,7 @@ require 'google/cloud/eventarc/v1/logging_config_pb'
|
|
|
11
11
|
require 'google/protobuf/timestamp_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
descriptor_data = "\n0google/cloud/eventarc/v1/google_api_source.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/logging_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
14
|
+
descriptor_data = "\n0google/cloud/eventarc/v1/google_api_source.proto\x12\x18google.cloud.eventarc.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/eventarc/v1/logging_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x95\t\n\x0fGoogleApiSource\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x08\x12\x18\n\x03uid\x18\x02 \x01(\tB\x0b\xe0\x41\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12J\n\x06labels\x18\x06 \x03(\x0b\x32\x35.google.cloud.eventarc.v1.GoogleApiSource.LabelsEntryB\x03\xe0\x41\x01\x12T\n\x0b\x61nnotations\x18\x07 \x03(\x0b\x32:.google.cloud.eventarc.v1.GoogleApiSource.AnnotationsEntryB\x03\xe0\x41\x01\x12\x19\n\x0c\x64isplay_name\x18\x08 \x01(\tB\x03\xe0\x41\x01\x12?\n\x0b\x64\x65stination\x18\t \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"eventarc.googleapis.com/MessageBus\x12\x42\n\x0f\x63rypto_key_name\x18\n \x01(\tB)\xe0\x41\x01\xfa\x41#\n!cloudkms.googleapis.com/CryptoKey\x12\x44\n\x0elogging_config\x18\x0b \x01(\x0b\x32\'.google.cloud.eventarc.v1.LoggingConfigB\x03\xe0\x41\x01\x12l\n\x19organization_subscription\x18\x0c \x01(\x0b\x32\x42.google.cloud.eventarc.v1.GoogleApiSource.OrganizationSubscriptionB\x03\xe0\x41\x01H\x00\x12\x64\n\x15project_subscriptions\x18\r \x01(\x0b\x32>.google.cloud.eventarc.v1.GoogleApiSource.ProjectSubscriptionsB\x03\xe0\x41\x01H\x00\x1a)\n\x14ProjectSubscriptions\x12\x11\n\x04list\x18\x01 \x03(\tB\x03\xe0\x41\x02\x1a\x30\n\x18OrganizationSubscription\x12\x14\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x03\xe0\x41\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x32\n\x10\x41nnotationsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:\x9e\x01\xea\x41\x9a\x01\n\'eventarc.googleapis.com/GoogleApiSource\x12Lprojects/{project}/locations/{location}/googleApiSources/{google_api_source}*\x10googleApiSources2\x0fgoogleApiSourceB\x19\n\x17wide_scope_subscriptionB\xc4\x01\n\x1c\x63om.google.cloud.eventarc.v1B\x14GoogleApiSourceProtoP\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"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -44,6 +44,8 @@ module Google
|
|
|
44
44
|
module Eventarc
|
|
45
45
|
module V1
|
|
46
46
|
GoogleApiSource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.GoogleApiSource").msgclass
|
|
47
|
+
GoogleApiSource::ProjectSubscriptions = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.GoogleApiSource.ProjectSubscriptions").msgclass
|
|
48
|
+
GoogleApiSource::OrganizationSubscription = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.GoogleApiSource.OrganizationSubscription").msgclass
|
|
47
49
|
end
|
|
48
50
|
end
|
|
49
51
|
end
|
|
@@ -11,7 +11,7 @@ require 'google/protobuf/timestamp_pb'
|
|
|
11
11
|
require 'google/rpc/code_pb'
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
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-google/cloud/eventarc/v1/network_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\
|
|
14
|
+
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-google/cloud/eventarc/v1/network_config.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x15google/rpc/code.proto\"\x92\x08\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$\n\x17\x65vent_data_content_type\x18\x10 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rsatisfies_pzs\x18\x13 \x01(\x08\x42\x03\xe0\x41\x03\x12H\n\x0cretry_policy\x18\x14 \x01(\x0b\x32-.google.cloud.eventarc.v1.Trigger.RetryPolicyB\x03\xe0\x41\x01\x12\x11\n\x04\x65tag\x18\x63 \x01(\tB\x03\xe0\x41\x03\x1a(\n\x0bRetryPolicy\x12\x19\n\x0cmax_attempts\x18\x01 \x01(\x05\x42\x03\xe0\x41\x01\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\"\x91\x03\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\x12?\n\rhttp_endpoint\x18\x05 \x01(\x0b\x32&.google.cloud.eventarc.v1.HttpEndpointH\x00\x12\x44\n\x0enetwork_config\x18\x06 \x01(\x0b\x32\'.google.cloud.eventarc.v1.NetworkConfigB\x03\xe0\x41\x01\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\" \n\x0cHttpEndpoint\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x42\xa1\x05\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}\xea\x41v\n(compute.googleapis.com/NetworkAttachment\x12Jprojects/{project}/regions/{region}/networkAttachments/{networkattachment}\xea\x41m\n\'integrations.googleapis.com/Integration\x12\x42projects/{project}/locations/{location}/integrations/{integration}b\x06proto3"
|
|
15
15
|
|
|
16
16
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
17
17
|
|
|
@@ -44,6 +44,7 @@ module Google
|
|
|
44
44
|
module Eventarc
|
|
45
45
|
module V1
|
|
46
46
|
Trigger = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Trigger").msgclass
|
|
47
|
+
Trigger::RetryPolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Trigger.RetryPolicy").msgclass
|
|
47
48
|
EventFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.EventFilter").msgclass
|
|
48
49
|
StateCondition = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.StateCondition").msgclass
|
|
49
50
|
Destination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.eventarc.v1.Destination").msgclass
|
|
@@ -67,10 +67,47 @@ module Google
|
|
|
67
67
|
# @!attribute [rw] logging_config
|
|
68
68
|
# @return [::Google::Cloud::Eventarc::V1::LoggingConfig]
|
|
69
69
|
# Optional. Config to control Platform logging for the GoogleApiSource.
|
|
70
|
+
# @!attribute [rw] organization_subscription
|
|
71
|
+
# @return [::Google::Cloud::Eventarc::V1::GoogleApiSource::OrganizationSubscription]
|
|
72
|
+
# Optional. Config to enable subscribing to events from all projects in the
|
|
73
|
+
# GoogleApiSource's org.
|
|
74
|
+
#
|
|
75
|
+
# Note: The following fields are mutually exclusive: `organization_subscription`, `project_subscriptions`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
76
|
+
# @!attribute [rw] project_subscriptions
|
|
77
|
+
# @return [::Google::Cloud::Eventarc::V1::GoogleApiSource::ProjectSubscriptions]
|
|
78
|
+
# Optional. Config to enable subscribing to all events from a list of
|
|
79
|
+
# projects.
|
|
80
|
+
#
|
|
81
|
+
# All the projects must be in the same org as the GoogleApiSource.
|
|
82
|
+
#
|
|
83
|
+
# Note: The following fields are mutually exclusive: `project_subscriptions`, `organization_subscription`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
70
84
|
class GoogleApiSource
|
|
71
85
|
include ::Google::Protobuf::MessageExts
|
|
72
86
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
73
87
|
|
|
88
|
+
# Config to enable subscribing to all events from a list of projects.
|
|
89
|
+
# @!attribute [rw] list
|
|
90
|
+
# @return [::Array<::String>]
|
|
91
|
+
# Required. A list of projects to receive events from.
|
|
92
|
+
#
|
|
93
|
+
# All the projects must be in the same org. The listed projects should have
|
|
94
|
+
# the format project/\\{identifier} where identifier can be either the
|
|
95
|
+
# project id for project number. A single list may contain both formats. At
|
|
96
|
+
# most 100 projects can be listed.
|
|
97
|
+
class ProjectSubscriptions
|
|
98
|
+
include ::Google::Protobuf::MessageExts
|
|
99
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
100
|
+
end
|
|
101
|
+
|
|
102
|
+
# Config to enabled subscribing to events from other projects in the org.
|
|
103
|
+
# @!attribute [rw] enabled
|
|
104
|
+
# @return [::Boolean]
|
|
105
|
+
# Required. Enable org level subscription.
|
|
106
|
+
class OrganizationSubscription
|
|
107
|
+
include ::Google::Protobuf::MessageExts
|
|
108
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
109
|
+
end
|
|
110
|
+
|
|
74
111
|
# @!attribute [rw] key
|
|
75
112
|
# @return [::String]
|
|
76
113
|
# @!attribute [rw] value
|
|
@@ -83,6 +83,12 @@ module Google
|
|
|
83
83
|
# @return [::Boolean]
|
|
84
84
|
# Output only. Whether or not this Trigger satisfies the requirements of
|
|
85
85
|
# physical zone separation
|
|
86
|
+
# @!attribute [rw] retry_policy
|
|
87
|
+
# @return [::Google::Cloud::Eventarc::V1::Trigger::RetryPolicy]
|
|
88
|
+
# Optional. The retry policy to use in the Trigger.
|
|
89
|
+
#
|
|
90
|
+
# If unset, event delivery will be retried for up to 24 hours by default:
|
|
91
|
+
# https://cloud.google.com/eventarc/docs/retry-events
|
|
86
92
|
# @!attribute [r] etag
|
|
87
93
|
# @return [::String]
|
|
88
94
|
# Output only. This checksum is computed by the server based on the value of
|
|
@@ -92,6 +98,18 @@ module Google
|
|
|
92
98
|
include ::Google::Protobuf::MessageExts
|
|
93
99
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
94
100
|
|
|
101
|
+
# The retry policy configuration for the Trigger.
|
|
102
|
+
#
|
|
103
|
+
# Can only be set with Cloud Run destinations.
|
|
104
|
+
# @!attribute [rw] max_attempts
|
|
105
|
+
# @return [::Integer]
|
|
106
|
+
# Optional. The maximum number of delivery attempts for any message. The
|
|
107
|
+
# only valid value is 1.
|
|
108
|
+
class RetryPolicy
|
|
109
|
+
include ::Google::Protobuf::MessageExts
|
|
110
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
111
|
+
end
|
|
112
|
+
|
|
95
113
|
# @!attribute [rw] key
|
|
96
114
|
# @return [::String]
|
|
97
115
|
# @!attribute [rw] value
|