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 \ V1Methods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
COLLECTION_TYPE_UNSPECIFIED
Value: 0The default value. This value is used if the collection type is omitted.
Generated from protobuf enum COLLECTION_TYPE_UNSPECIFIED = 0;
COLLECTION_TYPE_UPSERT
Value: 1The 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: 2The collection type is delete. This should be used when an API is deleted at the source.
Generated from protobuf enum COLLECTION_TYPE_DELETE = 2;