API hub v1 API - Class ApiHubInstance (1.0.0)

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

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

An ApiHubInstance represents the instance resources of the API Hub. Currently, only one ApiHub instance is allowed for each project.

Inheritance

object > ApiHubInstance

Namespace

Google.Cloud.ApiHub.V1

Assembly

Google.Cloud.ApiHub.V1.dll

Constructors

ApiHubInstance()

public ApiHubInstance()

ApiHubInstance(ApiHubInstance)

public ApiHubInstance(ApiHubInstance other)
Parameter
Name Description
other ApiHubInstance

Properties

ApiHubInstanceName

public ApiHubInstanceName ApiHubInstanceName { get; set; }

ApiHubInstanceName-typed view over the Name resource name property.

Property Value
Type Description
ApiHubInstanceName

Config

public ApiHubInstance.Types.Config Config { get; set; }

Required. Config of the ApiHub instance.

Property Value
Type Description
ApiHubInstanceTypesConfig

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Creation timestamp.

Property Value
Type Description
Timestamp

Description

public string Description { get; set; }

Optional. Description of the ApiHub instance.

Property Value
Type Description
string

Labels

public MapField<string, string> Labels { get; }

Optional. Instance labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources

Property Value
Type Description
MapFieldstringstring

Name

public string Name { get; set; }

Identifier. Format: projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}.

Property Value
Type Description
string

State

public ApiHubInstance.Types.State State { get; set; }

Output only. The current state of the ApiHub instance.

Property Value
Type Description
ApiHubInstanceTypesState

StateMessage

public string StateMessage { get; set; }

Output only. Extra information about ApiHub instance state. Currently the message would be populated when state is FAILED.

Property Value
Type Description
string

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Last update timestamp.

Property Value
Type Description
Timestamp