Class ApiHubInstance (0.2.2)

ApiHubInstance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
name str
Identifier. Format: projects/{project}/locations/{location}/apiHubInstances/{apiHubInstance}.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Creation timestamp.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Last update timestamp.
state google.cloud.apihub_v1.types.ApiHubInstance.State
Output only. The current state of the ApiHub instance.
state_message str
Output only. Extra information about ApiHub instance state. Currently the message would be populated when state is FAILED.
config google.cloud.apihub_v1.types.ApiHubInstance.Config
Required. Config of the ApiHub instance.
labels MutableMapping[str, str]
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
description str
Optional. Description of the ApiHub instance.

Classes

Config

Config(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Available configurations to provision an ApiHub Instance.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

State

State(value)

State of the ApiHub Instance.