API hub v1 API - Class OperationConfig.Types.HttpOperationConfig (1.3.0)

public sealed class OperationConfig.Types.HttpOperationConfig : IMessage<OperationConfig.Types.HttpOperationConfig>, IEquatable<OperationConfig.Types.HttpOperationConfig>, IDeepCloneable<OperationConfig.Types.HttpOperationConfig>, IBufferMessage, IMessage

Reference 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.

Inheritance

object > OperationConfig.Types.HttpOperationConfig

Namespace

Google.Cloud.ApiHub.V1

Assembly

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; }

SpecName-typed view over the Spec resource name property.

Property Value
Type Description
SpecName