API hub v1 API - Class ApiHubResource (1.0.0-beta01)

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

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

ApiHubResource is one of the resources such as Api, Operation, Deployment, Definition, Spec and Version resources stored in API-Hub.

Inheritance

object > ApiHubResource

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

ApiHubResource()

public ApiHubResource()

ApiHubResource(ApiHubResource)

public ApiHubResource(ApiHubResource other)
Parameter
Name Description
other ApiHubResource

Properties

Api

public Api Api { get; set; }

This represents Api resource in search results. Only name, display_name, description and owner fields are populated in search results.

Property Value
Type Description
Api

Definition

public Definition Definition { get; set; }

This represents Definition resource in search results. Only name field is populated in search results.

Property Value
Type Description
Definition

Deployment

public Deployment Deployment { get; set; }

This represents Deployment resource in search results. Only name, display_name and description fields are populated in search results.

Property Value
Type Description
Deployment

Operation

public ApiOperation Operation { get; set; }

This represents ApiOperation resource in search results. Only name, and description fields are populated in search results.

Property Value
Type Description
ApiOperation

ResourceCase

public ApiHubResource.ResourceOneofCase ResourceCase { get; }
Property Value
Type Description
ApiHubResourceResourceOneofCase

Spec

public Spec Spec { get; set; }

This represents Spec resource in search results. Only name, display_name and description fields are populated in search results.

Property Value
Type Description
Spec

Version

public Version Version { get; set; }

This represents Version resource in search results. Only name, display_name and description fields are populated in search results.

Property Value
Type Description
Version