Resource: ProducerExtension
ProducerExtension is a resource that represents a producer-defined configuration for its service extension.
| JSON representation |
|---|
{ "name": string, "createTime": string, "updateTime": string, "description": string, "labels": { string: string, ... }, "etag": string, "phase": enum ( |
| Fields | |
|---|---|
name |
Identifier. Name of the |
createTime |
Output only. The timestamp when the resource was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
updateTime |
Output only. The timestamp when the resource was updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
description |
Optional. A human-readable description of the resource. |
labels |
Optional. Set of labels associated with the The format must comply with the following requirements. An object containing a list of |
etag |
Optional. ETag of the resource. If this is provided, it must match the server's ETag. If the provided ETag doesn't match the server's ETag, then the request fails with a |
phase |
Required. The phase in which this |
extensionSettings |
Required. The configuration for the service that this |
Phase
The phase of a ProducerExtension determines when it runs.
| Enums | |
|---|---|
PHASE_UNSPECIFIED |
Unspecified phase. |
TRAFFIC |
Not supported. |
AUTHZ |
The ProducerExtension will be executed during the authorization phase. |
ExtensionSettings
The configuration for the service that this ProducerExtension offers.
| JSON representation |
|---|
{
"service": string,
"authority": string,
"supportedEvents": [
enum ( |
| Fields | |
|---|---|
service |
Required. The URI of the Private Service Connect (PSC) attachment. |
authority |
Optional. The |
supportedEvents[] |
Required. The event types supported by the extension. |
Methods |
|
|---|---|
|
Creates a new ProducerExtension resource in a given project and location. |
|
Deletes the specified ProducerExtension resource. |
|
Gets details of the specified ProducerExtension resource. |
|
Lists ProducerExtension resources in a given project and location. |