Class CloudPubSubSourceSpec
The desired state of the CloudPubSubSource.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v1alpha1.Data
Assembly: Google.Apis.CloudRun.v1alpha1.dll
Syntax
public class CloudPubSubSourceSpec : IDirectResponseSchema
Properties
AckDeadline
AckDeadline is the default maximum time after a subscriber receives a message before the subscriber should acknowledge the message. Defaults to 30 seconds ('30s'). +optional
Declaration
[JsonProperty("ackDeadline")]
public virtual string AckDeadline { 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. +optional
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 |
Project
Project is the ID of the Google Cloud Project that the CloudPubSubSource Topic exists in. If omitted, defaults to same as the cluster. +optional
Declaration
[JsonProperty("project")]
public virtual string Project { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
PubsubSecret
CloudPubSubSourceSecret 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 |
RetainAckedMessages
RetainAckedMessages defines whether to retain acknowledged messages. If true, acknowledged messages will not be expunged until they fall out of the RetentionDuration window.
Declaration
[JsonProperty("retainAckedMessages")]
public virtual bool? RetainAckedMessages { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Boolean> |
RetentionDuration
RetentionDuration defines how long to retain messages in backlog, from the time of publish. If RetainAckedMessages is true, this duration affects the retention of acknowledged messages, otherwise only unacknowledged messages are retained. Cannot be longer than 7 days or shorter than 10 minutes. Defaults to 7 days ('7d'). +optional
Declaration
[JsonProperty("retentionDuration")]
public virtual string RetentionDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Secret
Secret is the credential to use to create the Scheduler Job. If not specified, defaults to: Name: google-cloud-key Key: key.json +optional
Declaration
[JsonProperty("secret")]
public virtual SecretKeySelector Secret { get; set; }
Property Value
| Type | Description |
|---|---|
| SecretKeySelector |
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 |
Topic
Topic is the ID of the CloudPubSubSource Topic to Subscribe to. It must be in the form of the unique identifier within the project, not the entire name. E.g. it must be 'laconia', not 'projects/my- proj/topics/laconia'.
Declaration
[JsonProperty("topic")]
public virtual string Topic { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |