public sealed class CreateEnrollmentRequest : IMessage<CreateEnrollmentRequest>, IEquatable<CreateEnrollmentRequest>, IDeepCloneable<CreateEnrollmentRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Eventarc v1 API class CreateEnrollmentRequest.
The request message for the CreateEnrollment method.
Implements
IMessageCreateEnrollmentRequest, IEquatableCreateEnrollmentRequest, IDeepCloneableCreateEnrollmentRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Eventarc.V1Assembly
Google.Cloud.Eventarc.V1.dll
Constructors
CreateEnrollmentRequest()
public CreateEnrollmentRequest()
CreateEnrollmentRequest(CreateEnrollmentRequest)
public CreateEnrollmentRequest(CreateEnrollmentRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateEnrollmentRequest |
Properties
Enrollment
public Enrollment Enrollment { get; set; }
Required. The enrollment to create.
Property Value | |
---|---|
Type | Description |
Enrollment |
EnrollmentId
public string EnrollmentId { get; set; }
Required. The user-provided ID to be assigned to the Enrollment. It should match the format (^a-z?$).
Property Value | |
---|---|
Type | Description |
string |
Parent
public string Parent { get; set; }
Required. The parent collection in which to add this enrollment.
Property Value | |
---|---|
Type | Description |
string |
ParentAsLocationName
public LocationName ParentAsLocationName { get; set; }
LocationName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
LocationName |
ValidateOnly
public bool ValidateOnly { get; set; }
Optional. If set, validate the request and preview the review, but do not post it.
Property Value | |
---|---|
Type | Description |
bool |