google-cloud-eventarc-v1 1.0.1 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (30) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/eventarc/v1/bindings_override.rb +96 -0
  3. data/lib/google/cloud/eventarc/v1/channel_pb.rb +1 -1
  4. data/lib/google/cloud/eventarc/v1/enrollment_pb.rb +47 -0
  5. data/lib/google/cloud/eventarc/v1/eventarc/client.rb +2565 -174
  6. data/lib/google/cloud/eventarc/v1/eventarc/paths.rb +112 -0
  7. data/lib/google/cloud/eventarc/v1/eventarc/rest/client.rb +2420 -180
  8. data/lib/google/cloud/eventarc/v1/eventarc/rest/service_stub.rb +1335 -88
  9. data/lib/google/cloud/eventarc/v1/eventarc_pb.rb +35 -1
  10. data/lib/google/cloud/eventarc/v1/eventarc_services_pb.rb +42 -0
  11. data/lib/google/cloud/eventarc/v1/google_api_source_pb.rb +50 -0
  12. data/lib/google/cloud/eventarc/v1/logging_config_pb.rb +45 -0
  13. data/lib/google/cloud/eventarc/v1/message_bus_pb.rb +49 -0
  14. data/lib/google/cloud/eventarc/v1/network_config_pb.rb +45 -0
  15. data/lib/google/cloud/eventarc/v1/pipeline_pb.rb +65 -0
  16. data/lib/google/cloud/eventarc/v1/trigger_pb.rb +4 -1
  17. data/lib/google/cloud/eventarc/v1/version.rb +1 -1
  18. data/proto_docs/google/api/client.rb +20 -0
  19. data/proto_docs/google/api/field_info.rb +88 -0
  20. data/proto_docs/google/cloud/eventarc/v1/channel.rb +5 -1
  21. data/proto_docs/google/cloud/eventarc/v1/discovery.rb +8 -7
  22. data/proto_docs/google/cloud/eventarc/v1/enrollment.rb +95 -0
  23. data/proto_docs/google/cloud/eventarc/v1/eventarc.rb +522 -8
  24. data/proto_docs/google/cloud/eventarc/v1/google_api_source.rb +95 -0
  25. data/proto_docs/google/cloud/eventarc/v1/logging_config.rb +78 -0
  26. data/proto_docs/google/cloud/eventarc/v1/message_bus.rb +94 -0
  27. data/proto_docs/google/cloud/eventarc/v1/network_config.rb +37 -0
  28. data/proto_docs/google/cloud/eventarc/v1/pipeline.rb +583 -0
  29. data/proto_docs/google/cloud/eventarc/v1/trigger.rb +76 -35
  30. metadata +16 -3
@@ -0,0 +1,78 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Eventarc
23
+ module V1
24
+ # The configuration for Platform Telemetry logging for Eventarc Advanced
25
+ # resources.
26
+ # @!attribute [rw] log_severity
27
+ # @return [::Google::Cloud::Eventarc::V1::LoggingConfig::LogSeverity]
28
+ # Optional. The minimum severity of logs that will be sent to
29
+ # Stackdriver/Platform Telemetry. Logs at severitiy ≥ this value will be
30
+ # sent, unless it is NONE.
31
+ class LoggingConfig
32
+ include ::Google::Protobuf::MessageExts
33
+ extend ::Google::Protobuf::MessageExts::ClassMethods
34
+
35
+ # The different severities for logging supported by Eventarc Advanced
36
+ # resources.
37
+ # This enum is an exhaustive list of log severities and is FROZEN. Do not
38
+ # expect new values to be added.
39
+ module LogSeverity
40
+ # Log severity is not specified. This value is treated the same as NONE,
41
+ # but is used to distinguish between no update and update to NONE in
42
+ # update_masks.
43
+ LOG_SEVERITY_UNSPECIFIED = 0
44
+
45
+ # Default value at resource creation, presence of this value must be
46
+ # treated as no logging/disable logging.
47
+ NONE = 1
48
+
49
+ # Debug or trace level logging.
50
+ DEBUG = 2
51
+
52
+ # Routine information, such as ongoing status or performance.
53
+ INFO = 3
54
+
55
+ # Normal but significant events, such as start up, shut down, or a
56
+ # configuration change.
57
+ NOTICE = 4
58
+
59
+ # Warning events might cause problems.
60
+ WARNING = 5
61
+
62
+ # Error events are likely to cause problems.
63
+ ERROR = 6
64
+
65
+ # Critical events cause more severe problems or outages.
66
+ CRITICAL = 7
67
+
68
+ # A person must take action immediately.
69
+ ALERT = 8
70
+
71
+ # One or more systems are unusable.
72
+ EMERGENCY = 9
73
+ end
74
+ end
75
+ end
76
+ end
77
+ end
78
+ end
@@ -0,0 +1,94 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Eventarc
23
+ module V1
24
+ # MessageBus for the messages flowing through the system. The admin has
25
+ # visibility and control over the messages being published and consumed and can
26
+ # restrict publishers and subscribers to only a subset of data available in the
27
+ # system by defining authorization policies.
28
+ # @!attribute [rw] name
29
+ # @return [::String]
30
+ # Identifier. Resource name of the form
31
+ # projects/\\{project}/locations/\\{location}/messageBuses/\\{message_bus}
32
+ # @!attribute [r] uid
33
+ # @return [::String]
34
+ # Output only. Server assigned unique identifier for the channel. The value
35
+ # is a UUID4 string and guaranteed to remain unchanged until the resource is
36
+ # deleted.
37
+ # @!attribute [r] etag
38
+ # @return [::String]
39
+ # Output only. This checksum is computed by the server based on the value of
40
+ # other fields, and might be sent only on update and delete requests to
41
+ # ensure that the client has an up-to-date value before proceeding.
42
+ # @!attribute [r] create_time
43
+ # @return [::Google::Protobuf::Timestamp]
44
+ # Output only. The creation time.
45
+ # @!attribute [r] update_time
46
+ # @return [::Google::Protobuf::Timestamp]
47
+ # Output only. The last-modified time.
48
+ # @!attribute [rw] labels
49
+ # @return [::Google::Protobuf::Map{::String => ::String}]
50
+ # Optional. Resource labels.
51
+ # @!attribute [rw] annotations
52
+ # @return [::Google::Protobuf::Map{::String => ::String}]
53
+ # Optional. Resource annotations.
54
+ # @!attribute [rw] display_name
55
+ # @return [::String]
56
+ # Optional. Resource display name.
57
+ # @!attribute [rw] crypto_key_name
58
+ # @return [::String]
59
+ # Optional. Resource name of a KMS crypto key (managed by the user) used to
60
+ # encrypt/decrypt their event data.
61
+ #
62
+ # It must match the pattern
63
+ # `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
64
+ # @!attribute [rw] logging_config
65
+ # @return [::Google::Cloud::Eventarc::V1::LoggingConfig]
66
+ # Optional. Config to control Platform logging for the Message Bus. This log
67
+ # configuration is applied to the Message Bus itself, and all the Enrollments
68
+ # attached to it.
69
+ class MessageBus
70
+ include ::Google::Protobuf::MessageExts
71
+ extend ::Google::Protobuf::MessageExts::ClassMethods
72
+
73
+ # @!attribute [rw] key
74
+ # @return [::String]
75
+ # @!attribute [rw] value
76
+ # @return [::String]
77
+ class LabelsEntry
78
+ include ::Google::Protobuf::MessageExts
79
+ extend ::Google::Protobuf::MessageExts::ClassMethods
80
+ end
81
+
82
+ # @!attribute [rw] key
83
+ # @return [::String]
84
+ # @!attribute [rw] value
85
+ # @return [::String]
86
+ class AnnotationsEntry
87
+ include ::Google::Protobuf::MessageExts
88
+ extend ::Google::Protobuf::MessageExts::ClassMethods
89
+ end
90
+ end
91
+ end
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2024 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Eventarc
23
+ module V1
24
+ # Network Configuration that can be inherited by other protos.
25
+ # @!attribute [rw] network_attachment
26
+ # @return [::String]
27
+ # Required. Name of the NetworkAttachment that allows access to the
28
+ # customer's VPC. Format:
29
+ # `projects/{PROJECT_ID}/regions/{REGION}/networkAttachments/{NETWORK_ATTACHMENT_NAME}`
30
+ class NetworkConfig
31
+ include ::Google::Protobuf::MessageExts
32
+ extend ::Google::Protobuf::MessageExts::ClassMethods
33
+ end
34
+ end
35
+ end
36
+ end
37
+ end