Class PubsubConfig
Configuration to publish a Cloud Pub/Sub message.
Implements
Inherited Members
Namespace: Google.Apis.CloudSourceRepositories.v1.Data
Assembly: Google.Apis.CloudSourceRepositories.v1.dll
Syntax
public class PubsubConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MessageFormat
The format of the Cloud Pub/Sub messages.
Declaration
[JsonProperty("messageFormat")]
public virtual string MessageFormat { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccountEmail
Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.
Declaration
[JsonProperty("serviceAccountEmail")]
public virtual string ServiceAccountEmail { get; set; }
Property Value
Type | Description |
---|---|
string |
Topic
A topic of Cloud Pub/Sub. Values are of the form projects//topics/
. The project needs to be the same
project as this config is in.
Declaration
[JsonProperty("topic")]
public virtual string Topic { get; set; }
Property Value
Type | Description |
---|---|
string |