Eventarc v1 API - Class MessageBus (2.6.0)

public sealed class MessageBus : IMessage<MessageBus>, IEquatable<MessageBus>, IDeepCloneable<MessageBus>, IBufferMessage, IMessage

Reference documentation and code samples for the Eventarc v1 API class MessageBus.

MessageBus for the messages flowing through the system. The admin has visibility and control over the messages being published and consumed and can restrict publishers and subscribers to only a subset of data available in the system by defining authorization policies.

Inheritance

object > MessageBus

Namespace

Google.Cloud.Eventarc.V1

Assembly

Google.Cloud.Eventarc.V1.dll

Constructors

MessageBus()

public MessageBus()

MessageBus(MessageBus)

public MessageBus(MessageBus other)
Parameter
Name Description
other MessageBus

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

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

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 Message Bus. This log configuration is applied to the Message Bus itself, and all the Enrollments attached to it.

Property Value
Type Description
LoggingConfig

MessageBusName

public MessageBusName MessageBusName { get; set; }

MessageBusName-typed view over the Name resource name property.

Property Value
Type Description
MessageBusName

Name

public string Name { get; set; }

Identifier. Resource name of the form projects/{project}/locations/{location}/messageBuses/{message_bus}

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