Reference documentation and code samples for the Eventarc V1 API class Google::Cloud::Eventarc::V1::GoogleApiSource.
A GoogleApiSource represents a subscription of 1P events from a MessageBus.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource annotations.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource annotations.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource annotations.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The creation time.
#crypto_key_name
def crypto_key_name() -> ::String
-
(::String) — 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/*
.
#crypto_key_name=
def crypto_key_name=(value) -> ::String
-
value (::String) — 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/*
.
-
(::String) — 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/*
.
#destination
def destination() -> ::String
- (::String) — 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)
#destination=
def destination=(value) -> ::String
- value (::String) — 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)
- (::String) — 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)
#display_name
def display_name() -> ::String
- (::String) — Optional. Resource display name.
#display_name=
def display_name=(value) -> ::String
- value (::String) — Optional. Resource display name.
- (::String) — Optional. Resource display name.
#etag
def etag() -> ::String
- (::String) — 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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels.
#logging_config
def logging_config() -> ::Google::Cloud::Eventarc::V1::LoggingConfig
- (::Google::Cloud::Eventarc::V1::LoggingConfig) — Optional. Config to control Platform logging for the GoogleApiSource.
#logging_config=
def logging_config=(value) -> ::Google::Cloud::Eventarc::V1::LoggingConfig
- value (::Google::Cloud::Eventarc::V1::LoggingConfig) — Optional. Config to control Platform logging for the GoogleApiSource.
- (::Google::Cloud::Eventarc::V1::LoggingConfig) — Optional. Config to control Platform logging for the GoogleApiSource.
#name
def name() -> ::String
- (::String) — Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
#name=
def name=(value) -> ::String
- value (::String) — Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
- (::String) — Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
#uid
def uid() -> ::String
- (::String) — 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.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The last-modified time.