Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::CreateGoogleApiSourceRequest.
The request message for the CreateGoogleApiSource method.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#google_api_source
def google_api_source() -> ::Google::Cloud::Eventarc::V1::GoogleApiSource
Returns
- (::Google::Cloud::Eventarc::V1::GoogleApiSource) — Required. The google api source to create.
#google_api_source=
def google_api_source=(value) -> ::Google::Cloud::Eventarc::V1::GoogleApiSource
Parameter
- value (::Google::Cloud::Eventarc::V1::GoogleApiSource) — Required. The google api source to create.
Returns
- (::Google::Cloud::Eventarc::V1::GoogleApiSource) — Required. The google api source to create.
#google_api_source_id
def google_api_source_id() -> ::String
Returns
- (::String) — Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^a-z?$).
#google_api_source_id=
def google_api_source_id=(value) -> ::String
Parameter
- value (::String) — Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^a-z?$).
Returns
- (::String) — Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^a-z?$).
#parent
def parent() -> ::String
Returns
- (::String) — Required. The parent collection in which to add this google api source.
#parent=
def parent=(value) -> ::String
Parameter
- value (::String) — Required. The parent collection in which to add this google api source.
Returns
- (::String) — Required. The parent collection in which to add this google api source.
#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.