public interface CreateCurationRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCuration()
public abstract Curation getCuration()Required. The curation resource to create.
 .google.cloud.apihub.v1.Curation curation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
Curation | 
        The curation.  | 
      
getCurationId()
public abstract String getCurationId()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[0-9]-_/.
 string curation_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
String | 
        The curationId.  | 
      
getCurationIdBytes()
public abstract ByteString getCurationIdBytes()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[0-9]-_/.
 string curation_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for curationId.  | 
      
getCurationOrBuilder()
public abstract CurationOrBuilder getCurationOrBuilder()Required. The curation resource to create.
 .google.cloud.apihub.v1.Curation curation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
CurationOrBuilder | 
        |
getParent()
public abstract String getParent() Required. The parent resource for the curation resource.
 Format: projects/{project}/locations/{location}
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
String | 
        The parent.  | 
      
getParentBytes()
public abstract ByteString getParentBytes() Required. The parent resource for the curation resource.
 Format: projects/{project}/locations/{location}
 
 string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
ByteString | 
        The bytes for parent.  | 
      
hasCuration()
public abstract boolean hasCuration()Required. The curation resource to create.
 .google.cloud.apihub.v1.Curation curation = 3 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
boolean | 
        Whether the curation field is set.  |