Show / Hide Table of Contents

Class CloudStorageSourceSpec

The desired state of the CloudStorageSource.

Inheritance
System.Object
CloudStorageSourceSpec
Implements
IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRun.v1alpha1.Data
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class CloudStorageSourceSpec : IDirectResponseSchema

Properties

Bucket

Bucket to subscribe to.

Declaration
[JsonProperty("bucket")]
public virtual string Bucket { get; set; }
Property Value
Type Description
System.String

CeOverrides

CloudEventOverrides defines overrides to control the output format and modifications of the event sent to the sink.

Declaration
[JsonProperty("ceOverrides")]
public virtual CloudEventOverrides CeOverrides { get; set; }
Property Value
Type Description
CloudEventOverrides

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.String

EventTypes

EventTypes to subscribe to. If unspecified, then subscribe to all events.

Declaration
[JsonProperty("eventTypes")]
public virtual IList<string> EventTypes { get; set; }
Property Value
Type Description
System.Collections.Generic.IList<System.String>

ObjectNamePrefix

ObjectNamePrefix limits the notifications to objects with this prefix.

Declaration
[JsonProperty("objectNamePrefix")]
public virtual string ObjectNamePrefix { get; set; }
Property Value
Type Description
System.String

PayloadFormat

PayloadFormat specifies the contents of the message payload. See https://cloud.google.com/storage/docs/pubsub-notifications#payload.

Declaration
[JsonProperty("payloadFormat")]
public virtual string PayloadFormat { get; set; }
Property Value
Type Description
System.String

Project

Project is the ID of the Google Cloud Project that the PubSub Topic exists in. If omitted, defaults to same as the cluster.

Declaration
[JsonProperty("project")]
public virtual string Project { get; set; }
Property Value
Type Description
System.String

PubsubSecret

PubSubSecret is the credential to use to create Topic / PullSubscription resources. If omitted, uses Secret.

Declaration
[JsonProperty("pubsubSecret")]
public virtual SecretKeySelector PubsubSecret { get; set; }
Property Value
Type Description
SecretKeySelector

Secret

Secret is the credential to use to create the Scheduler Job. If not specified, defaults to: Name: google-cloud-key Key: key.json

Declaration
[JsonProperty("secret")]
public virtual SecretKeySelector Secret { get; set; }
Property Value
Type Description
SecretKeySelector

ServiceAccountName

ServiceAccountName holds the name of the Kubernetes service account as which the underlying K8s resources should be run. If unspecified this will default to the "default" service account for the namespace in which the GCS exists.

Declaration
[JsonProperty("serviceAccountName")]
public virtual string ServiceAccountName { get; set; }
Property Value
Type Description
System.String

Sink

Sink is a reference to an object that will resolve to a domain name or a URI directly to use as the sink.

Declaration
[JsonProperty("sink")]
public virtual Destination Sink { get; set; }
Property Value
Type Description
Destination

Implements

IDirectResponseSchema
Back to top