public sealed class GoogleApiSource : IMessage<GoogleApiSource>, IEquatable<GoogleApiSource>, IDeepCloneable<GoogleApiSource>, IBufferMessage, IMessage
Reference documentation and code samples for the Eventarc v1 API class GoogleApiSource.
A GoogleApiSource represents a subscription of 1P events from a MessageBus.
Implements
IMessageGoogleApiSource, IEquatableGoogleApiSource, IDeepCloneableGoogleApiSource, IBufferMessage, IMessageNamespace
Google.Cloud.Eventarc.V1Assembly
Google.Cloud.Eventarc.V1.dll
Constructors
GoogleApiSource()
public GoogleApiSource()
GoogleApiSource(GoogleApiSource)
public GoogleApiSource(GoogleApiSource other)
Parameter | |
---|---|
Name | Description |
other |
GoogleApiSource |
Properties
Annotations
public MapField<string, string> Annotations { get; }
Optional. Resource annotations.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. The creation time.
Property Value | |
---|---|
Type | Description |
Timestamp |
CryptoKeyName
public string CryptoKeyName { get; set; }
Optional. Resource name of a KMS crypto key (managed by the user) used to encrypt/decrypt their event data.
It must match the pattern
projects/*/locations/*/keyRings/*/cryptoKeys/*
.
Property Value | |
---|---|
Type | Description |
string |
CryptoKeyNameAsCryptoKeyName
public CryptoKeyName CryptoKeyNameAsCryptoKeyName { get; set; }
CryptoKeyName-typed view over the CryptoKeyName resource name property.
Property Value | |
---|---|
Type | Description |
CryptoKeyName |
Destination
public string Destination { get; set; }
Required. Destination is the message bus that the GoogleApiSource is delivering to. It must be point to the full resource name of a MessageBus. Format: "projects/{PROJECT_ID}/locations/{region}/messagesBuses/{MESSAGE_BUS_ID)
Property Value | |
---|---|
Type | Description |
string |
DestinationAsMessageBusName
public MessageBusName DestinationAsMessageBusName { get; set; }
MessageBusName-typed view over the Destination resource name property.
Property Value | |
---|---|
Type | Description |
MessageBusName |
DisplayName
public string DisplayName { get; set; }
Optional. Resource display name.
Property Value | |
---|---|
Type | Description |
string |
Etag
public string Etag { get; set; }
Output only. This checksum is computed by the server based on the value of other fields, and might be sent only on update and delete requests to ensure that the client has an up-to-date value before proceeding.
Property Value | |
---|---|
Type | Description |
string |
GoogleApiSourceName
public GoogleApiSourceName GoogleApiSourceName { get; set; }
GoogleApiSourceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
GoogleApiSourceName |
Labels
public MapField<string, string> Labels { get; }
Optional. Resource labels.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
LoggingConfig
public LoggingConfig LoggingConfig { get; set; }
Optional. Config to control Platform logging for the GoogleApiSource.
Property Value | |
---|---|
Type | Description |
LoggingConfig |
Name
public string Name { get; set; }
Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
Property Value | |
---|---|
Type | Description |
string |
Uid
public string Uid { get; set; }
Output only. Server assigned unique identifier for the channel. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The last-modified time.
Property Value | |
---|---|
Type | Description |
Timestamp |