Class: Google::Apis::EventarcV1::Pipeline
- Inherits:
-
Object
- Object
- Google::Apis::EventarcV1::Pipeline
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/eventarc_v1/classes.rb,
lib/google/apis/eventarc_v1/representations.rb,
lib/google/apis/eventarc_v1/representations.rb
Overview
A representation of the Pipeline resource.
Instance Attribute Summary collapse
-
#annotations ⇒ Hash<String,String>
Optional.
-
#create_time ⇒ String
Output only.
-
#crypto_key_name ⇒ String
Optional.
-
#destinations ⇒ Array<Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestination>
Required.
-
#display_name ⇒ String
Optional.
-
#etag ⇒ String
Output only.
-
#input_payload_format ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormat
Represents the format of message data.
-
#labels ⇒ Hash<String,String>
Optional.
-
#logging_config ⇒ Google::Apis::EventarcV1::LoggingConfig
The configuration for Platform Telemetry logging for Eventarc Avdvanced resources.
-
#mediations ⇒ Array<Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMediation>
Optional.
-
#name ⇒ String
Identifier.
-
#retry_policy ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineRetryPolicy
The retry policy configuration for the Pipeline.
-
#uid ⇒ String
Output only.
-
#update_time ⇒ String
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Pipeline
constructor
A new instance of Pipeline.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Pipeline
Returns a new instance of Pipeline.
2193 2194 2195 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2193 def initialize(**args) update!(**args) end |
Instance Attribute Details
#annotations ⇒ Hash<String,String>
Optional. User-defined annotations. See https://google.aip.dev/128#annotations.
Corresponds to the JSON property annotations
2102 2103 2104 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2102 def annotations @annotations end |
#create_time ⇒ String
Output only. The creation time. A timestamp in RFC3339 UTC "Zulu" format, with
nanosecond resolution and up to nine fractional digits. Examples: "2014-10-
02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Corresponds to the JSON property createTime
2109 2110 2111 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2109 def create_time @create_time end |
#crypto_key_name ⇒ String
Optional. Resource name of a KMS crypto key (managed by the user) used to
encrypt/decrypt the event data. If not set, an internal Google-owned key will
be used to encrypt messages. It must match the pattern "projects/project
/
locations/location
/keyRings/keyring
/cryptoKeys/key
".
Corresponds to the JSON property cryptoKeyName
2117 2118 2119 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2117 def crypto_key_name @crypto_key_name end |
#destinations ⇒ Array<Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineDestination>
Required. List of destinations to which messages will be forwarded. Currently,
exactly one destination is supported per Pipeline.
Corresponds to the JSON property destinations
2123 2124 2125 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2123 def destinations @destinations end |
#display_name ⇒ String
Optional. Display name of resource.
Corresponds to the JSON property displayName
2128 2129 2130 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2128 def display_name @display_name end |
#etag ⇒ String
Output only. This checksum is computed by the server based on the value of
other fields, and might be sent only on create requests to ensure that the
client has an up-to-date value before proceeding.
Corresponds to the JSON property etag
2135 2136 2137 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2135 def etag @etag end |
#input_payload_format ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMessagePayloadFormat
Represents the format of message data.
Corresponds to the JSON property inputPayloadFormat
2140 2141 2142 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2140 def input_payload_format @input_payload_format end |
#labels ⇒ Hash<String,String>
Optional. User labels attached to the Pipeline that can be used to group
resources. An object containing a list of "key": value pairs. Example: "name"
: "wrench", "mass": "1.3kg", "count": "3"
.
Corresponds to the JSON property labels
2147 2148 2149 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2147 def labels @labels end |
#logging_config ⇒ Google::Apis::EventarcV1::LoggingConfig
The configuration for Platform Telemetry logging for Eventarc Avdvanced
resources.
Corresponds to the JSON property loggingConfig
2153 2154 2155 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2153 def logging_config @logging_config end |
#mediations ⇒ Array<Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineMediation>
Optional. List of mediation operations to be performed on the message.
Currently, only one Transformation operation is allowed in each Pipeline.
Corresponds to the JSON property mediations
2159 2160 2161 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2159 def mediations @mediations end |
#name ⇒ String
Identifier. The resource name of the Pipeline. Must be unique within the
location of the project and must be in projects/
project/locations/
location
/pipelines/
pipeline`format.
Corresponds to the JSON property
name`
2166 2167 2168 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2166 def name @name end |
#retry_policy ⇒ Google::Apis::EventarcV1::GoogleCloudEventarcV1PipelineRetryPolicy
The retry policy configuration for the Pipeline. The pipeline exponentially
backs off in case the destination is non responsive or returns a retryable
error code. The default semantics are as follows: The backoff starts with a 5
second delay and doubles the delay after each failed attempt (10 seconds, 20
seconds, 40 seconds, etc.). The delay is capped at 60 seconds by default.
Please note that if you set the min_retry_delay and max_retry_delay fields to
the same value this will make the duration between retries constant.
Corresponds to the JSON property retryPolicy
2177 2178 2179 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2177 def retry_policy @retry_policy end |
#uid ⇒ String
Output only. Server-assigned unique identifier for the Pipeline. The value is
a UUID4 string and guaranteed to remain unchanged until the resource is
deleted.
Corresponds to the JSON property uid
2184 2185 2186 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2184 def uid @uid end |
#update_time ⇒ String
Output only. The last-modified time. A timestamp in RFC3339 UTC "Zulu" format,
with nanosecond resolution and up to nine fractional digits. Examples: "2014-
10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Corresponds to the JSON property updateTime
2191 2192 2193 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2191 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 |
# File 'lib/google/apis/eventarc_v1/classes.rb', line 2198 def update!(**args) @annotations = args[:annotations] if args.key?(:annotations) @create_time = args[:create_time] if args.key?(:create_time) @crypto_key_name = args[:crypto_key_name] if args.key?(:crypto_key_name) @destinations = args[:destinations] if args.key?(:destinations) @display_name = args[:display_name] if args.key?(:display_name) @etag = args[:etag] if args.key?(:etag) @input_payload_format = args[:input_payload_format] if args.key?(:input_payload_format) @labels = args[:labels] if args.key?(:labels) @logging_config = args[:logging_config] if args.key?(:logging_config) @mediations = args[:mediations] if args.key?(:mediations) @name = args[:name] if args.key?(:name) @retry_policy = args[:retry_policy] if args.key?(:retry_policy) @uid = args[:uid] if args.key?(:uid) @update_time = args[:update_time] if args.key?(:update_time) end |