Reference documentation and code samples for the Google Cloud Eventarc V1 Client class CreateEnrollmentRequest.
The request message for the CreateEnrollment method.
Generated from protobuf message google.cloud.eventarc.v1.CreateEnrollmentRequest
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 enrollment.
↳ enrollment
↳ enrollment_id
string
Required. The user-provided ID to be assigned to the Enrollment. 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 enrollment.
string
setParent
Required. The parent collection in which to add this enrollment.
var
string
$this
getEnrollment
Required. The enrollment to create.
hasEnrollment
clearEnrollment
setEnrollment
Required. The enrollment to create.
$this
getEnrollmentId
Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^ a-z ?$).
string
setEnrollmentId
Required. The user-provided ID to be assigned to the Enrollment. 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 enrollment. Please see EventarcClient::locationName() for help formatting this field.
enrollment
enrollmentId
string
Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^ a-z ?$).