Reference documentation and code samples for the Google Cloud Eventarc V1 Client class GoogleApiSource.
A GoogleApiSource represents a subscription of 1P events from a MessageBus.
Generated from protobuf message google.cloud.eventarc.v1.GoogleApiSource
Namespace
Google \ Cloud \ Eventarc \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
↳ uid
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.
↳ etag
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.
↳ create_time
↳ update_time
↳ labels
↳ annotations
↳ display_name
string
Optional. Resource display name.
↳ destination
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)
↳ crypto_key_name
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/*
.
↳ logging_config
getName
Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
string
setName
Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
var
string
$this
getUid
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.
string
setUid
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.
var
string
$this
getEtag
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.
string
setEtag
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.
var
string
$this
getCreateTime
Output only. The creation time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The creation time.
$this
getUpdateTime
Output only. The last-modified time.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The last-modified time.
$this
getLabels
Optional. Resource labels.
setLabels
Optional. Resource labels.
$this
getAnnotations
Optional. Resource annotations.
setAnnotations
Optional. Resource annotations.
$this
getDisplayName
Optional. Resource display name.
string
setDisplayName
Optional. Resource display name.
var
string
$this
getDestination
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
setDestination
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)
var
string
$this
getCryptoKeyName
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
setCryptoKeyName
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/*
.
var
string
$this
getLoggingConfig
Optional. Config to control Platform logging for the GoogleApiSource.
hasLoggingConfig
clearLoggingConfig
setLoggingConfig
Optional. Config to control Platform logging for the GoogleApiSource.
$this