public sealed class OperationConfig.Types.HttpOperationConfig : IMessage<OperationConfig.Types.HttpOperationConfig>, IEquatable<OperationConfig.Types.HttpOperationConfig>, IDeepCloneable<OperationConfig.Types.HttpOperationConfig>, IBufferMessage, IMessageReference documentation and code samples for the API hub v1 API class OperationConfig.Types.HttpOperationConfig.
Identifies a single API Hub operation by spec resource name + HTTP path + HTTP method.
Implements
IMessageOperationConfigTypesHttpOperationConfig, IEquatableOperationConfigTypesHttpOperationConfig, IDeepCloneableOperationConfigTypesHttpOperationConfig, IBufferMessage, IMessageNamespace
Google.Cloud.ApiHub.V1Assembly
Google.Cloud.ApiHub.V1.dll
Constructors
HttpOperationConfig()
public HttpOperationConfig()HttpOperationConfig(HttpOperationConfig)
public HttpOperationConfig(OperationConfig.Types.HttpOperationConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
OperationConfigTypesHttpOperationConfig |
Properties
Method
public HttpOperation.Types.Method Method { get; set; }Required. HTTP method of the operation within the referenced spec. (GET / PUT / POST / DELETE / OPTIONS / HEAD / PATCH / TRACE).
| Property Value | |
|---|---|
| Type | Description |
HttpOperationTypesMethod |
|
Path
public string Path { get; set; }Required. HTTP path of the operation within the referenced spec. Match is exact (no template substitution): the path here must appear verbatim on an APIOperationRevision belonging to the spec.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Spec
public string Spec { get; set; }Required. Spec resource name:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}
| Property Value | |
|---|---|
| Type | Description |
string |
|
SpecAsSpecName
public SpecName SpecAsSpecName { get; set; }| Property Value | |
|---|---|
| Type | Description |
SpecName |
|