GoogleApiSource(mapping=None, *, ignore_unknown_fields=False, **kwargs)A GoogleApiSource represents a subscription of 1P events from a MessageBus.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source} |
uid |
str
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 |
str
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 |
google.protobuf.timestamp_pb2.Timestamp
Output only. The creation time. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The last-modified time. |
labels |
MutableMapping[str, str]
Optional. Resource labels. |
annotations |
MutableMapping[str, str]
Optional. Resource annotations. |
display_name |
str
Optional. Resource display name. |
destination |
str
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 |
str
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 |
google.cloud.eventarc_v1.types.LoggingConfig
Optional. Config to control Platform logging for the GoogleApiSource. |
organization_subscription |
google.cloud.eventarc_v1.types.GoogleApiSource.OrganizationSubscription
Optional. Config to enable subscribing to events from all projects in the GoogleApiSource's org. This field is a member of oneof_ wide_scope_subscription.
|
project_subscriptions |
google.cloud.eventarc_v1.types.GoogleApiSource.ProjectSubscriptions
Optional. Config to enable subscribing to all events from a list of projects. All the projects must be in the same org as the GoogleApiSource. This field is a member of oneof_ wide_scope_subscription.
|
Classes
AnnotationsEntry
AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
OrganizationSubscription
OrganizationSubscription(mapping=None, *, ignore_unknown_fields=False, **kwargs)Config to enabled subscribing to events from other projects in the org.
ProjectSubscriptions
ProjectSubscriptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)Config to enable subscribing to all events from a list of projects.