Resource: GoogleApiSource
A GoogleApiSource represents a subscription of 1P events from a MessageBus.
| JSON representation |
|---|
{ "name": string, "uid": string, "etag": string, "createTime": string, "updateTime": string, "labels": { string: string, ... }, "annotations": { string: string, ... }, "displayName": string, "destination": string, "cryptoKeyName": string, "loggingConfig": { object ( |
| Fields | |
|---|---|
name |
Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{googleApiSource} |
uid |
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted. |
etag |
Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding. |
createTime |
Output only. The creation time. 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 last-modified time. 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: |
labels |
Optional. Resource labels. An object containing a list of |
annotations |
Optional. Resource annotations. An object containing a list of |
displayName |
Optional. Resource display name. |
destination |
Required. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the full resource name of a MessageBus. Format: "projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID) |
cryptoKeyName |
Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern |
loggingConfig |
Optional. Config to control Platform logging for the GoogleApiSource. |
Union field Users need the eventarc.googleApiSource.create permission on the entire org in order to create a resource with these settings. |
|
organizationSubscription |
Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's org. |
projectSubscriptions |
Optional. Config to enable subscribing to all events from a list of projects. All the projects must be in the same org as the GoogleApiSource. |
OrganizationSubscription
Config to enabled subscribing to events from other projects in the org.
| JSON representation |
|---|
{ "enabled": boolean } |
| Fields | |
|---|---|
enabled |
Required. Enable org level subscription. |
ProjectSubscriptions
Config to enable subscribing to all events from a list of projects.
| JSON representation |
|---|
{ "list": [ string ] } |
| Fields | |
|---|---|
list[] |
Required. A list of projects to receive events from. All the projects must be in the same org. The listed projects should have the format project/{identifier} where identifier can be either the project id for project number. A single list may contain both formats. At most 100 projects can be listed. |
Methods |
|
|---|---|
|
Create a new GoogleApiSource in a particular project and location. |
|
Delete a single GoogleApiSource. |
|
Get a single GoogleApiSource. |
|
Gets the access control policy for a resource. |
|
List GoogleApiSources. |
|
Update a single GoogleApiSource. |
|
Sets the access control policy on the specified resource. |
|
Returns permissions that a caller has on the specified resource. |