Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CloudStorage

import type { CloudStorage } from "https://googleapis.deno.dev/v1/pubsub:v1.ts";

Ingestion settings for Cloud Storage.

interface CloudStorage {
avroFormat?: AvroFormat;
bucket?: string;
matchGlob?: string;
minimumObjectCreateTime?: Date;
pubsubAvroFormat?: PubSubAvroFormat;
readonly state?:
| "STATE_UNSPECIFIED"
| "ACTIVE"
| "CLOUD_STORAGE_PERMISSION_DENIED"
| "PUBLISH_PERMISSION_DENIED"
| "BUCKET_NOT_FOUND"
| "TOO_MANY_OBJECTS";
textFormat?: TextFormat;
}

§Properties

§
avroFormat?: AvroFormat
[src]

Optional. Data from Cloud Storage will be interpreted in Avro format.

§
bucket?: string
[src]

Optional. Cloud Storage bucket. The bucket name must be without any prefix like "gs://". See the [bucket naming requirements] (https://cloud.google.com/storage/docs/buckets#naming).

§
matchGlob?: string
[src]

Optional. Glob pattern used to match objects that will be ingested. If unset, all objects will be ingested. See the supported patterns.

§
minimumObjectCreateTime?: Date
[src]

Optional. Only objects with a larger or equal creation timestamp will be ingested.

§
pubsubAvroFormat?: PubSubAvroFormat
[src]

Optional. It will be assumed data from Cloud Storage was written via Cloud Storage subscriptions.

§
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "CLOUD_STORAGE_PERMISSION_DENIED" | "PUBLISH_PERMISSION_DENIED" | "BUCKET_NOT_FOUND" | "TOO_MANY_OBJECTS"
[src]

Output only. An output-only field that indicates the state of the Cloud Storage ingestion source.

§
textFormat?: TextFormat
[src]

Optional. Data from Cloud Storage will be interpreted as text.