Reference documentation and code samples for the Google Cloud Eventarc V1 Client class MessageBus.
MessageBus for the messages flowing through the system. The admin has visibility and control over the messages being published and consumed and can restrict publishers and subscribers to only a subset of data available in the system by defining authorization policies.
Generated from protobuf message google.cloud.eventarc.v1.MessageBus
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}
↳ uid
string
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
string
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.
↳ create_time
↳ update_time
↳ labels
↳ annotations
↳ display_name
string
Optional. Resource display name.
↳ crypto_key_name
string
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/*
.
↳ logging_config
LoggingConfig
Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
getName
Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}
string
setName
Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}
var
string
$this
getUid
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.
string
setUid
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.
var
string
$this
getEtag
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.
string
setEtag
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.
var
string
$this
getCreateTime
Output only. The creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time.
$this
getUpdateTime
Output only. The last-modified time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last-modified time.
$this
getLabels
Optional. Resource labels.
setLabels
Optional. Resource labels.
$this
getAnnotations
Optional. Resource annotations.
setAnnotations
Optional. Resource annotations.
$this
getDisplayName
Optional. Resource display name.
string
setDisplayName
Optional. Resource display name.
var
string
$this
getCryptoKeyName
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/*
.
string
setCryptoKeyName
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/*
.
var
string
$this
getLoggingConfig
Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
hasLoggingConfig
clearLoggingConfig
setLoggingConfig
Optional. Config to control Platform logging for the Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.
$this

