v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-132562112.4 KB
projects

Create a new GoogleApiSource in a particular project and location.

post/v1/{+parent}/googleApiSources

Path parameters

parentstring required

Required. The parent collection in which to add this google api source.

Query parameters

googleApiSourceIdstring

Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format ^[a-z]([a-z0-9-]{0,61}[a-z0-9])?$.

validateOnlyboolean

Optional. If set, validate the request and preview the review, but do not post it.

Request body

labelsobject

Optional. Resource labels.

displayNamestring

Optional. Resource display name.

destinationstring

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)

uidstring

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.

createTimestring google-datetime

Output only. The creation time.

updateTimestring google-datetime

Output only. The last-modified time.

etagstring

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.

annotationsobject

Optional. Resource annotations.

cryptoKeyNamestring

Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data. It must match the pattern projects/*/locations/*/keyRings/*/cryptoKeys/*.

namestring

Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}

Response

Successful response