google-apis-eventarc_v1 0.56.0 → 0.57.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: ad3d14ff96c115544d2bc9389de8b80e5fc055e2c54bc017d469798847d8c763
4
- data.tar.gz: c76823d8b05c894b622c951292993e7273ebca1c0982e74480c7991c9c7e0f2f
3
+ metadata.gz: 4e18e157b72f74ef163088300a5215e0ea4e3f408df2bee3d40811401f683ca6
4
+ data.tar.gz: dd08f9ca7108d5ac27ab68f6dfc835284e7c385b1b9d8ac43c36137b900c3d4b
5
5
  SHA512:
6
- metadata.gz: b59f416a0c69a467d14e3c726a50ac1444a8e96f75d123a4e47d0eb28c39bf52c0ad8efe2ee9e51e5d9eca2374a36d081962738d14b0ddcfcd23135a908b875f
7
- data.tar.gz: 560efaee3e41fb09df73de71db0c9b355efe29efb623c0ee1280e50de4af7fafea7ee8fa928f1b9b48e498d6d48e7fab233e57f4905fc96cac4a551ba9b7b680
6
+ metadata.gz: 9ad79e08478d4718bff144e591141a35e6c365d956da2f0e5e52b181e4130601e6ff5a63550730bfdfd0630249edf9e89b5ffbc1afdb9117f6796424624d2f76
7
+ data.tar.gz: 60903ab2fbb1d7f6740e95c8943becaab69bb9b32723549865f345fef8596dfef848d3bb59ee5b7c6ed4f4eb8aaac7ef8527b53c971fc837c4a411edb4e95f5c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-eventarc_v1
2
2
 
3
+ ### v0.57.0 (2024-12-08)
4
+
5
+ * Regenerated from discovery document revision 20241119
6
+
3
7
  ### v0.56.0 (2024-11-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20241029
@@ -219,6 +219,11 @@ module Google
219
219
  # @return [String]
220
220
  attr_accessor :crypto_key_name
221
221
 
222
+ # Optional. Resource labels.
223
+ # Corresponds to the JSON property `labels`
224
+ # @return [Hash<String,String>]
225
+ attr_accessor :labels
226
+
222
227
  # Required. The resource name of the channel. Must be unique within the location
223
228
  # on the project and must be in `projects/`project`/locations/`location`/
224
229
  # channels/`channel_id`` format.
@@ -273,6 +278,7 @@ module Google
273
278
  @activation_token = args[:activation_token] if args.key?(:activation_token)
274
279
  @create_time = args[:create_time] if args.key?(:create_time)
275
280
  @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name)
281
+ @labels = args[:labels] if args.key?(:labels)
276
282
  @name = args[:name] if args.key?(:name)
277
283
  @provider = args[:provider] if args.key?(:provider)
278
284
  @pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
@@ -308,6 +314,11 @@ module Google
308
314
  # @return [String]
309
315
  attr_accessor :create_time
310
316
 
317
+ # Optional. Resource labels.
318
+ # Corresponds to the JSON property `labels`
319
+ # @return [Hash<String,String>]
320
+ attr_accessor :labels
321
+
311
322
  # Required. The name of the connection.
312
323
  # Corresponds to the JSON property `name`
313
324
  # @return [String]
@@ -333,6 +344,7 @@ module Google
333
344
  @activation_token = args[:activation_token] if args.key?(:activation_token)
334
345
  @channel = args[:channel] if args.key?(:channel)
335
346
  @create_time = args[:create_time] if args.key?(:create_time)
347
+ @labels = args[:labels] if args.key?(:labels)
336
348
  @name = args[:name] if args.key?(:name)
337
349
  @uid = args[:uid] if args.key?(:uid)
338
350
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -806,7 +818,7 @@ module Google
806
818
  # @return [Hash<String,String>]
807
819
  attr_accessor :labels
808
820
 
809
- # The configuration for Platform Telemetry logging for Eventarc Avdvanced
821
+ # The configuration for Platform Telemetry logging for Eventarc Advanced
810
822
  # resources.
811
823
  # Corresponds to the JSON property `loggingConfig`
812
824
  # @return [Google::Apis::EventarcV1::LoggingConfig]
@@ -1105,47 +1117,47 @@ module Google
1105
1117
  # by adding an additional header to the HTTP headers of the CloudEvent HTTP
1106
1118
  # Binding Binary Content Mode representation of the final message and by
1107
1119
  # overwriting the body of the request: ``` ` "headers": headers.merge(`"new-
1108
- # header-key": "new-header-value"`), "body": "new-body" ` ``` Additionally, the
1109
- # following CEL extension functions are provided for use in this CEL expression:
1110
- # - toBase64Url: map.toBase64Url() -> string - Converts a CelValue to a
1111
- # base64url encoded string - toJsonString: map.toJsonString() -> string -
1112
- # Converts a CelValue to a JSON string - merge: map1.merge(map2) -> map3 -
1113
- # Merges the passed CEL map with the existing CEL map the function is applied to.
1114
- # - If the same key exists in both maps, if the key's value is type map both
1115
- # maps are merged else the value from the passed map is used. - denormalize: map.
1116
- # denormalize() -> map - Denormalizes a CEL map such that every value of type
1117
- # map or key in the map is expanded to return a single level map. - The
1118
- # resulting keys are "." separated indices of the map keys. - For example: ` "a":
1119
- # 1, "b": ` "c": 2, "d": 3 ` "e": [4, 5] ` .denormalize() -> ` "a": 1, "b.c": 2,
1120
- # "b.d": 3, "e.0": 4, "e.1": 5 ` - setField: map.setField(key, value) ->
1121
- # message - Sets the field of the message with the given key to the given value.
1122
- # - If the field is not present it will be added. - If the field is present it
1123
- # will be overwritten. - The key can be a dot separated path to set a field in a
1124
- # nested message. - Key must be of type string. - Value may be any valid type. -
1125
- # removeFields: map.removeFields([key1, key2, ...]) -> message - Removes the
1126
- # fields of the map with the given keys. - The keys can be a dot separated path
1127
- # to remove a field in a nested message. - If a key is not found it will be
1128
- # ignored. - Keys must be of type string. - toMap: [map1, map2, ...].toMap() ->
1129
- # map - Converts a CEL list of CEL maps to a single CEL map -
1130
- # toDestinationPayloadFormat(): message.data.toDestinationPayloadFormat() ->
1131
- # string or bytes - Converts the message data to the destination payload format
1132
- # specified in Pipeline.Destination.output_payload_format - This function is
1133
- # meant to be applied to the message.data field. - If the destination payload
1134
- # format is not set, the function will return the message data unchanged. -
1120
+ # header-key": "new-header-value"`), "body": "new-body" ` ``` - The default
1121
+ # binding for the message payload can be accessed using the `body` variable. It
1122
+ # conatins a string representation of the message payload in the format
1123
+ # specified by the `output_payload_format` field. If the `input_payload_format`
1124
+ # field is not set, the `body` variable contains the same message payload bytes
1125
+ # that were published. Additionally, the following CEL extension functions are
1126
+ # provided for use in this CEL expression: - toBase64Url: map.toBase64Url() ->
1127
+ # string - Converts a CelValue to a base64url encoded string - toJsonString: map.
1128
+ # toJsonString() -> string - Converts a CelValue to a JSON string - merge: map1.
1129
+ # merge(map2) -> map3 - Merges the passed CEL map with the existing CEL map the
1130
+ # function is applied to. - If the same key exists in both maps, if the key's
1131
+ # value is type map both maps are merged else the value from the passed map is
1132
+ # used. - denormalize: map.denormalize() -> map - Denormalizes a CEL map such
1133
+ # that every value of type map or key in the map is expanded to return a single
1134
+ # level map. - The resulting keys are "." separated indices of the map keys. -
1135
+ # For example: ` "a": 1, "b": ` "c": 2, "d": 3 ` "e": [4, 5] ` .denormalize() ->
1136
+ # ` "a": 1, "b.c": 2, "b.d": 3, "e.0": 4, "e.1": 5 ` - setField: map.setField(
1137
+ # key, value) -> message - Sets the field of the message with the given key to
1138
+ # the given value. - If the field is not present it will be added. - If the
1139
+ # field is present it will be overwritten. - The key can be a dot separated path
1140
+ # to set a field in a nested message. - Key must be of type string. - Value may
1141
+ # be any valid type. - removeFields: map.removeFields([key1, key2, ...]) ->
1142
+ # message - Removes the fields of the map with the given keys. - The keys can be
1143
+ # a dot separated path to remove a field in a nested message. - If a key is not
1144
+ # found it will be ignored. - Keys must be of type string. - toMap: [map1, map2,
1145
+ # ...].toMap() -> map - Converts a CEL list of CEL maps to a single CEL map -
1135
1146
  # toCloudEventJsonWithPayloadFormat: message.toCloudEventJsonWithPayloadFormat()
1136
1147
  # -> map - Converts a message to the corresponding structure of JSON format for
1137
- # CloudEvents - This function applies toDestinationPayloadFormat() to the
1138
- # message data. It also sets the corresponding datacontenttype of the CloudEvent,
1139
- # as indicated by Pipeline.Destination.output_payload_format. If no
1140
- # output_payload_format is set it will use the existing datacontenttype on the
1141
- # CloudEvent if present, else leave datacontenttype absent. - This function
1142
- # expects that the content of the message will adhere to the standard CloudEvent
1143
- # format. If it doesn't then this function will fail. - The result is a CEL map
1144
- # that corresponds to the JSON representation of the CloudEvent. To convert that
1145
- # data to a JSON string it can be chained with the toJsonString function. The
1146
- # Pipeline expects that the message it receives adheres to the standard
1147
- # CloudEvent format. If it doesn't then the outgoing message request may fail
1148
- # with a persistent error.
1148
+ # CloudEvents. - It converts `data` to destination payload format specified in `
1149
+ # output_payload_format`. If `output_payload_format` is not set, the data will
1150
+ # remain unchanged. - It also sets the corresponding datacontenttype of the
1151
+ # CloudEvent, as indicated by `output_payload_format`. If no `
1152
+ # output_payload_format` is set it will use the value of the "datacontenttype"
1153
+ # attribute on the CloudEvent if present, else remove "datacontenttype"
1154
+ # attribute. - This function expects that the content of the message will adhere
1155
+ # to the standard CloudEvent format. If it doesn't then this function will fail.
1156
+ # - The result is a CEL map that corresponds to the JSON representation of the
1157
+ # CloudEvent. To convert that data to a JSON string it can be chained with the
1158
+ # toJsonString function. The Pipeline expects that the message it receives
1159
+ # adheres to the standard CloudEvent format. If it doesn't then the outgoing
1160
+ # message request may fail with a persistent error.
1149
1161
  # Corresponds to the JSON property `messageBindingTemplate`
1150
1162
  # @return [String]
1151
1163
  attr_accessor :message_binding_template
@@ -1907,7 +1919,7 @@ module Google
1907
1919
  end
1908
1920
  end
1909
1921
 
1910
- # The configuration for Platform Telemetry logging for Eventarc Avdvanced
1922
+ # The configuration for Platform Telemetry logging for Eventarc Advanced
1911
1923
  # resources.
1912
1924
  class LoggingConfig
1913
1925
  include Google::Apis::Core::Hashable
@@ -1970,7 +1982,7 @@ module Google
1970
1982
  # @return [Hash<String,String>]
1971
1983
  attr_accessor :labels
1972
1984
 
1973
- # The configuration for Platform Telemetry logging for Eventarc Avdvanced
1985
+ # The configuration for Platform Telemetry logging for Eventarc Advanced
1974
1986
  # resources.
1975
1987
  # Corresponds to the JSON property `loggingConfig`
1976
1988
  # @return [Google::Apis::EventarcV1::LoggingConfig]
@@ -2146,7 +2158,7 @@ module Google
2146
2158
  # @return [Hash<String,String>]
2147
2159
  attr_accessor :labels
2148
2160
 
2149
- # The configuration for Platform Telemetry logging for Eventarc Avdvanced
2161
+ # The configuration for Platform Telemetry logging for Eventarc Advanced
2150
2162
  # resources.
2151
2163
  # Corresponds to the JSON property `loggingConfig`
2152
2164
  # @return [Google::Apis::EventarcV1::LoggingConfig]
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module EventarcV1
18
18
  # Version of the google-apis-eventarc_v1 gem
19
- GEM_VERSION = "0.56.0"
19
+ GEM_VERSION = "0.57.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20241029"
25
+ REVISION = "20241119"
26
26
  end
27
27
  end
28
28
  end
@@ -409,6 +409,7 @@ module Google
409
409
  property :activation_token, as: 'activationToken'
410
410
  property :create_time, as: 'createTime'
411
411
  property :crypto_key_name, as: 'cryptoKeyName'
412
+ hash :labels, as: 'labels'
412
413
  property :name, as: 'name'
413
414
  property :provider, as: 'provider'
414
415
  property :pubsub_topic, as: 'pubsubTopic'
@@ -425,6 +426,7 @@ module Google
425
426
  property :activation_token, as: 'activationToken'
426
427
  property :channel, as: 'channel'
427
428
  property :create_time, as: 'createTime'
429
+ hash :labels, as: 'labels'
428
430
  property :name, as: 'name'
429
431
  property :uid, as: 'uid'
430
432
  property :update_time, as: 'updateTime'
@@ -771,7 +771,7 @@ module Google
771
771
  # @param [Google::Apis::EventarcV1::Enrollment] enrollment_object
772
772
  # @param [String] enrollment_id
773
773
  # Required. The user-provided ID to be assigned to the Enrollment. It should
774
- # match the format (^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$).
774
+ # match the format `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
775
775
  # @param [Boolean] validate_only
776
776
  # Optional. If set, validate the request and preview the review, but do not post
777
777
  # it.
@@ -1101,7 +1101,7 @@ module Google
1101
1101
  # @param [Google::Apis::EventarcV1::GoogleApiSource] google_api_source_object
1102
1102
  # @param [String] google_api_source_id
1103
1103
  # Required. The user-provided ID to be assigned to the GoogleApiSource. It
1104
- # should match the format (^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$).
1104
+ # should match the format `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
1105
1105
  # @param [Boolean] validate_only
1106
1106
  # Optional. If set, validate the request and preview the review, but do not post
1107
1107
  # it.
@@ -1431,7 +1431,7 @@ module Google
1431
1431
  # @param [Google::Apis::EventarcV1::MessageBus] message_bus_object
1432
1432
  # @param [String] message_bus_id
1433
1433
  # Required. The user-provided ID to be assigned to the MessageBus. It should
1434
- # match the format (^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$)
1434
+ # match the format `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
1435
1435
  # @param [Boolean] validate_only
1436
1436
  # Optional. If set, validate the request and preview the review, but do not post
1437
1437
  # it.
@@ -1800,8 +1800,8 @@ module Google
1800
1800
  # Clients can use Operations.GetOperation or other methods to check whether the
1801
1801
  # cancellation succeeded or whether the operation completed despite cancellation.
1802
1802
  # On successful cancellation, the operation is not deleted; instead, it becomes
1803
- # an operation with an Operation.error value with a google.rpc.Status.code of 1,
1804
- # corresponding to `Code.CANCELLED`.
1803
+ # an operation with an Operation.error value with a google.rpc.Status.code of `1`
1804
+ # , corresponding to `Code.CANCELLED`.
1805
1805
  # @param [String] name
1806
1806
  # The name of the operation resource to be cancelled.
1807
1807
  # @param [Google::Apis::EventarcV1::GoogleLongrunningCancelOperationRequest] google_longrunning_cancel_operation_request_object
@@ -1943,7 +1943,8 @@ module Google
1943
1943
  # Required. The parent collection in which to add this pipeline.
1944
1944
  # @param [Google::Apis::EventarcV1::Pipeline] pipeline_object
1945
1945
  # @param [String] pipeline_id
1946
- # Required. The user-provided ID to be assigned to the Pipeline.
1946
+ # Required. The user-provided ID to be assigned to the Pipeline. It should match
1947
+ # the format `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
1947
1948
  # @param [Boolean] validate_only
1948
1949
  # Optional. If set, validate the request and preview the review, but do not post
1949
1950
  # it.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-eventarc_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.56.0
4
+ version: 0.57.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-11-17 00:00:00.000000000 Z
11
+ date: 2024-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.56.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-eventarc_v1/v0.57.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-eventarc_v1
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.22
78
+ rubygems_version: 3.5.23
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Eventarc API V1