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.
Parameters | |
---|---|
Name | Description |
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\Cloud\Eventarc\V1\GoogleApiSource
Required. The google api source to create. |
↳ 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.
Returns | |
---|---|
Type | Description |
string |
setParent
Required. The parent collection in which to add this google api source.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getGoogleApiSource
Required. The google api source to create.
Returns | |
---|---|
Type | Description |
Google\Cloud\Eventarc\V1\GoogleApiSource|null |
hasGoogleApiSource
clearGoogleApiSource
setGoogleApiSource
Required. The google api source to create.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Eventarc\V1\GoogleApiSource
|
Returns | |
---|---|
Type | Description |
$this |
getGoogleApiSourceId
Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^a-z?$).
Returns | |
---|---|
Type | Description |
string |
setGoogleApiSourceId
Required. The user-provided ID to be assigned to the GoogleApiSource. 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 google api source. Please see Google\Cloud\Eventarc\V1\EventarcClient::locationName() for help formatting this field. |
googleApiSource |
Google\Cloud\Eventarc\V1\GoogleApiSource
Required. The google api source to create. |
googleApiSourceId |
string
Required. The user-provided ID to be assigned to the GoogleApiSource. It should match the format (^a-z?$). |
Returns | |
---|---|
Type | Description |
Google\Cloud\Eventarc\V1\CreateGoogleApiSourceRequest |