Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::CreateChannelRequest.
The request message for the CreateChannel method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#channel
def channel() -> ::Google::Cloud::Eventarc::V1::Channel
Returns
- (::Google::Cloud::Eventarc::V1::Channel) — Required. The channel to create.
#channel=
def channel=(value) -> ::Google::Cloud::Eventarc::V1::Channel
Parameter
- value (::Google::Cloud::Eventarc::V1::Channel) — Required. The channel to create.
Returns
- (::Google::Cloud::Eventarc::V1::Channel) — Required. The channel to create.
#channel_id
def channel_id() -> ::String
Returns
- (::String) — Required. The user-provided ID to be assigned to the channel.
#channel_id=
def channel_id=(value) -> ::String
Parameter
- value (::String) — Required. The user-provided ID to be assigned to the channel.
Returns
- (::String) — Required. The user-provided ID to be assigned to the channel.
#parent
def parent() -> ::String
Returns
- (::String) — Required. The parent collection in which to add this channel.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The parent collection in which to add this channel.
Returns
- (::String) — Required. The parent collection in which to add this channel.
#validate_only
def validate_only() -> ::Boolean
Returns
- (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.
#validate_only=
def validate_only=(value) -> ::Boolean
Parameter
- value (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.
Returns
- (::Boolean) — Required. If set, validate the request and preview the review, but do not post it.