Reference documentation and code samples for the Google Cloud Eventarc V1 Client class CreateGoogleApiSourceRequest.
The request message for the CreateGoogleApiSource method.
Generated from protobuf message google.cloud.eventarc.v1.CreateGoogleApiSourceRequest
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ parent
string
Required. The parent collection in which to add this google api source.
↳ google_api_source
↳ google_api_source_id
string
Required. The user-provided ID to be assigned to the GoogleApiSource. 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 google api source.
string
setParent
Required. The parent collection in which to add this google api source.
var
string
$this
getGoogleApiSource
Required. The google api source to create.
hasGoogleApiSource
clearGoogleApiSource
setGoogleApiSource
Required. The google api source to create.
$this
getGoogleApiSourceId
Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^ a-z ?$).
string
setGoogleApiSourceId
Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^ a-z ?$).
var
string
$this
getValidateOnly
Optional. If set, validate the request and preview the review, but do not post it.
bool
setValidateOnly
Optional. If set, validate the request and preview the review, but do not post it.
var
bool
$this
static::build
parent
string
Required. The parent collection in which to add this google api source. Please see EventarcClient::locationName() for help formatting this field.
googleApiSource
googleApiSourceId
string
Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^ a-z ?$).