v1

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

Create a new MessageBus in a particular project and location.

post/v1/{+parent}/messageBuses

Path parameters

parentstring required

Required. The parent collection in which to add this message bus.

Query parameters

messageBusIdstring

Required. The user-provided ID to be assigned to the MessageBus. 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

updateTimestring google-datetime

Output only. The last-modified time.

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}/messageBuses/{message_bus}

displayNamestring

Optional. Resource display name.

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.

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.

labelsobject

Optional. Resource labels.

annotationsobject

Optional. Resource annotations.

Response

Successful response