public sealed class CreateApiOperationRequest : IMessage<CreateApiOperationRequest>, IEquatable<CreateApiOperationRequest>, IDeepCloneable<CreateApiOperationRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the API hub v1 API class CreateApiOperationRequest.
The [CreateApiOperation][google.cloud.apihub.v1.ApiHub.CreateApiOperation] method's request.
Implements
IMessageCreateApiOperationRequest, IEquatableCreateApiOperationRequest, IDeepCloneableCreateApiOperationRequest, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
CreateApiOperationRequest()
public CreateApiOperationRequest()
CreateApiOperationRequest(CreateApiOperationRequest)
public CreateApiOperationRequest(CreateApiOperationRequest other)
Parameter | |
---|---|
Name | Description |
other |
CreateApiOperationRequest |
Properties
ApiOperation
public ApiOperation ApiOperation { get; set; }
Required. The operation resource to create.
Property Value | |
---|---|
Type | Description |
ApiOperation |
ApiOperationId
public string ApiOperationId { get; set; }
Optional. The ID to use for the operation resource, which will become the final component of the operation'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 operation resource in the API hub.
- If not provided, a system generated id will be used.
This value should be 4-500 characters, overall resource name which
will be of format
projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}
,
its length is limited to 700 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 operation resource.
Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}
Property Value | |
---|---|
Type | Description |
string |
ParentAsVersionName
public VersionName ParentAsVersionName { get; set; }
VersionName-typed view over the Parent resource name property.
Property Value | |
---|---|
Type | Description |
VersionName |