Enum IngestionDataSourceSettings.CloudStorage.State (1.135.0)

public enum IngestionDataSourceSettings.CloudStorage.State extends Enum<IngestionDataSourceSettings.CloudStorage.State> implements ProtocolMessageEnum

Possible states for ingestion from Cloud Storage.

Protobuf enum google.pubsub.v1.IngestionDataSourceSettings.CloudStorage.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
ACTIVE

Ingestion is active.

ACTIVE = 1;

ACTIVE_VALUE

Ingestion is active.

ACTIVE = 1;

BUCKET_NOT_FOUND

The provided Cloud Storage bucket doesn't exist.

BUCKET_NOT_FOUND = 4;

BUCKET_NOT_FOUND_VALUE

The provided Cloud Storage bucket doesn't exist.

BUCKET_NOT_FOUND = 4;

CLOUD_STORAGE_PERMISSION_DENIED

Permission denied encountered while calling the Cloud Storage API. This can happen if the Pub/Sub SA has not been granted the appropriate permissions:

  • storage.objects.list: to list the objects in a bucket.
  • storage.objects.get: to read the objects in a bucket.
  • storage.buckets.get: to verify the bucket exists.

CLOUD_STORAGE_PERMISSION_DENIED = 2;

CLOUD_STORAGE_PERMISSION_DENIED_VALUE

Permission denied encountered while calling the Cloud Storage API. This can happen if the Pub/Sub SA has not been granted the appropriate permissions:

  • storage.objects.list: to list the objects in a bucket.
  • storage.objects.get: to read the objects in a bucket.
  • storage.buckets.get: to verify the bucket exists.

CLOUD_STORAGE_PERMISSION_DENIED = 2;

PUBLISH_PERMISSION_DENIED

Permission denied encountered while publishing to the topic. This can happen if the Pub/Sub SA has not been granted the appropriate publish permissions

PUBLISH_PERMISSION_DENIED = 3;

PUBLISH_PERMISSION_DENIED_VALUE

Permission denied encountered while publishing to the topic. This can happen if the Pub/Sub SA has not been granted the appropriate publish permissions

PUBLISH_PERMISSION_DENIED = 3;

STATE_UNSPECIFIED

Default value. This value is unused.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Default value. This value is unused.

STATE_UNSPECIFIED = 0;

TOO_MANY_OBJECTS

The Cloud Storage bucket has too many objects, ingestion will be paused.

TOO_MANY_OBJECTS = 5;

TOO_MANY_OBJECTS_VALUE

The Cloud Storage bucket has too many objects, ingestion will be paused.

TOO_MANY_OBJECTS = 5;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()