API hub v1 API - Class ApiOperation (1.0.0)

public sealed class ApiOperation : IMessage<ApiOperation>, IEquatable<ApiOperation>, IDeepCloneable<ApiOperation>, IBufferMessage, IMessage

Reference documentation and code samples for the API hub v1 API class ApiOperation.

Represents an operation contained in an API version in the API Hub. An operation is added/updated/deleted in an API version when a new spec is added or an existing spec is updated/deleted in a version. Currently, an operation will be created only corresponding to OpenAPI spec as parsing is supported for OpenAPI spec.

Inheritance

object > ApiOperation

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

ApiOperation()

public ApiOperation()

ApiOperation(ApiOperation)

public ApiOperation(ApiOperation other)
Parameter
Name Description
other ApiOperation

Properties

ApiOperationName

public ApiOperationName ApiOperationName { get; set; }

ApiOperationName-typed view over the Name resource name property.

Property Value
Type Description
ApiOperationName

Attributes

public MapField<string, AttributeValues> Attributes { get; }

Optional. The list of user defined attributes associated with the API operation resource. The key is the attribute name. It will be of the format: projects/{project}/locations/{location}/attributes/{attribute}. The value is the attribute values associated with the resource.

Property Value
Type Description
MapFieldstringAttributeValues

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time at which the operation was created.

Property Value
Type Description
Timestamp

Details

public OperationDetails Details { get; set; }

Output only. Operation details.

Property Value
Type Description
OperationDetails

Name

public string Name { get; set; }

Identifier. The name of the operation.

Format: projects/{project}/locations/{location}/apis/{api}/versions/{version}/operations/{operation}

Property Value
Type Description
string

Spec

public string Spec { get; set; }

Output only. The name of the spec from where the operation was parsed. Format is 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

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time at which the operation was last updated.

Property Value
Type Description
Timestamp