Google Cloud Api Hub V1 Client - Class CollectionType (0.3.0)

Reference documentation and code samples for the Google Cloud Api Hub V1 Client class CollectionType.

The type of the collect request.

Protobuf type google.cloud.apihub.v1.CollectionType

Namespace

Google \ Cloud \ ApiHub \ V1

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

COLLECTION_TYPE_UNSPECIFIED

Value: 0

The default value. This value is used if the collection type is omitted.

Generated from protobuf enum COLLECTION_TYPE_UNSPECIFIED = 0;

COLLECTION_TYPE_UPSERT

Value: 1

The collection type is upsert. This should be used when an API is created or updated at the source.

Generated from protobuf enum COLLECTION_TYPE_UPSERT = 1;

COLLECTION_TYPE_DELETE

Value: 2

The collection type is delete. This should be used when an API is deleted at the source.

Generated from protobuf enum COLLECTION_TYPE_DELETE = 2;