Reference documentation and code samples for the Google Cloud Eventarc V1 Client class Pipeline.
A representation of the Pipeline resource.
Generated from protobuf message google.cloud.eventarc.v1.Pipeline
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ 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.
↳ create_time
Google\Protobuf\Timestamp
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".
↳ update_time
Google\Protobuf\Timestamp
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".
↳ labels
array| Google\Protobuf\Internal\MapField
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" }.
↳ 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.
↳ annotations
array| Google\Protobuf\Internal\MapField
Optional. User-defined annotations. See https://google.aip.dev/128#annotations .
↳ display_name
string
Optional. Display name of resource.
↳ destinations
array< Pipeline\Destination
>
Required. List of destinations to which messages will be forwarded. Currently, exactly one destination is supported per Pipeline.
↳ mediations
array< Pipeline\Mediation
>
Optional. List of mediation operations to be performed on the message. Currently, only one Transformation operation is allowed in each Pipeline.
↳ 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}".
↳ input_payload_format
Pipeline\MessagePayloadFormat
Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.
↳ logging_config
↳ retry_policy
↳ 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.
getName
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.
string
setName
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.
var
string
$this
getCreateTime
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".
hasCreateTime
clearCreateTime
setCreateTime
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".
$this
getUpdateTime
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".
hasUpdateTime
clearUpdateTime
setUpdateTime
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".
$this
getLabels
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" }.
setLabels
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" }.
$this
getUid
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.
string
setUid
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.
var
string
$this
getAnnotations
Optional. User-defined annotations. See https://google.aip.dev/128#annotations .
setAnnotations
Optional. User-defined annotations. See https://google.aip.dev/128#annotations .
$this
getDisplayName
Optional. Display name of resource.
string
setDisplayName
Optional. Display name of resource.
var
string
$this
getDestinations
Required. List of destinations to which messages will be forwarded.
Currently, exactly one destination is supported per Pipeline.
setDestinations
Required. List of destinations to which messages will be forwarded.
Currently, exactly one destination is supported per Pipeline.
$this
getMediations
Optional. List of mediation operations to be performed on the message.
Currently, only one Transformation operation is allowed in each Pipeline.
setMediations
Optional. List of mediation operations to be performed on the message.
Currently, only one Transformation operation is allowed in each Pipeline.
$this
getCryptoKeyName
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}".
string
setCryptoKeyName
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}".
var
string
$this
getInputPayloadFormat
Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.
hasInputPayloadFormat
clearInputPayloadFormat
setInputPayloadFormat
Optional. The payload format expected for the messages received by the Pipeline. If input_payload_format is set then any messages not matching this format will be treated as persistent errors. If input_payload_format is not set, then the message data will be treated as an opaque binary and no output format can be set on the Pipeline through the Pipeline.Destination.output_payload_format field. Any Mediations on the Pipeline that involve access to the data field will fail as persistent errors.
$this
getLoggingConfig
Optional. Config to control Platform Logging for Pipelines.
hasLoggingConfig
clearLoggingConfig
setLoggingConfig
Optional. Config to control Platform Logging for Pipelines.
$this
getRetryPolicy
Optional. The retry policy to use in the pipeline.
hasRetryPolicy
clearRetryPolicy
setRetryPolicy
Optional. The retry policy to use in the pipeline.
$this
getEtag
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.
string
setEtag
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.
var
string
$this