Reference documentation and code samples for the Google Cloud Eventarc V1 Client class CreateMessageBusRequest.
The request message for the CreateMessageBus method.
Generated from protobuf message google.cloud.eventarc.v1.CreateMessageBusRequest
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Required. The parent collection in which to add this message bus. |
↳ message_bus |
Google\Cloud\Eventarc\V1\MessageBus
Required. The message bus to create. |
↳ message_bus_id |
string
Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$) |
↳ validate_only |
bool
Optional. If set, validate the request and preview the review, but do not post it. |
getParent
Required. The parent collection in which to add this message bus.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent collection in which to add this message bus.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getMessageBus
Required. The message bus to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\Eventarc\V1\MessageBus|null |
hasMessageBus
clearMessageBus
setMessageBus
Required. The message bus to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Eventarc\V1\MessageBus
|
Returns | |
---|---|
Type | Description |
$this |
getMessageBusId
Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$)
Returns | |
---|---|
Type | Description |
string |
setMessageBusId
Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$)
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValidateOnly
Optional. If set, validate the request and preview the review, but do not post it.
Returns | |
---|---|
Type | Description |
bool |
setValidateOnly
Optional. If set, validate the request and preview the review, but do not post it.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
parent |
string
Required. The parent collection in which to add this message bus. Please see Google\Cloud\Eventarc\V1\EventarcClient::locationName() for help formatting this field. |
messageBus |
Google\Cloud\Eventarc\V1\MessageBus
Required. The message bus to create. |
messageBusId |
string
Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$) |
Returns | |
---|---|
Type | Description |
Google\Cloud\Eventarc\V1\CreateMessageBusRequest |