public sealed class CreateCurationRequest : IMessage<CreateCurationRequest>, IEquatable<CreateCurationRequest>, IDeepCloneable<CreateCurationRequest>, IBufferMessage, IMessageReference documentation and code samples for the API hub v1 API class CreateCurationRequest.
The [CreateCuration][ApiHub.CreateCuration] method's request.
Implements
IMessageCreateCurationRequest, IEquatableCreateCurationRequest, IDeepCloneableCreateCurationRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
CreateCurationRequest()
public CreateCurationRequest()CreateCurationRequest(CreateCurationRequest)
public CreateCurationRequest(CreateCurationRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateCurationRequest |
Properties
Curation
public Curation Curation { get; set; }Required. The curation resource to create.
| Property Value | |
|---|---|
| Type | Description |
Curation |
|
CurationId
public string CurationId { get; set; }Optional. The ID to use for the curation resource, which will become the final component of the curations's resource name. This field is optional.
- If provided, the same will be used. The service will throw an error if the specified ID is already used by another curation resource in the API hub.
- If not provided, a system generated ID will be used.
This value should be 4-500 characters, and valid characters are /[a-z][A-Z][0-9]-_/.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Parent
public string Parent { get; set; }Required. The parent resource for the curation resource.
Format: projects/{project}/locations/{location}
| 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 |
|