Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::CreateMessageBusRequest.
The request message for the CreateMessageBus method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#message_bus
def message_bus() -> ::Google::Cloud::Eventarc::V1::MessageBus
Returns
- (::Google::Cloud::Eventarc::V1::MessageBus) — Required. The message bus to create.
#message_bus=
def message_bus=(value) -> ::Google::Cloud::Eventarc::V1::MessageBus
Parameter
- value (::Google::Cloud::Eventarc::V1::MessageBus) — Required. The message bus to create.
Returns
- (::Google::Cloud::Eventarc::V1::MessageBus) — Required. The message bus to create.
#message_bus_id
def message_bus_id() -> ::String
Returns
- (::String) — Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$)
#message_bus_id=
def message_bus_id=(value) -> ::String
Parameter
- value (::String) — Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$)
Returns
- (::String) — Required. The user-provided ID to be assigned to the MessageBus. It should match the format (^a-z?$)
#parent
def parent() -> ::String
Returns
- (::String) — Required. The parent collection in which to add this message bus.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The parent collection in which to add this message bus.
Returns
- (::String) — Required. The parent collection in which to add this message bus.
#validate_only
def validate_only() -> ::Boolean
Returns
- (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.
#validate_only=
def validate_only=(value) -> ::Boolean
Parameter
- value (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.
Returns
- (::Boolean) — Optional. If set, validate the request and preview the review, but do not post it.