pub struct GoogleApiSource {Show 13 fields
pub annotations: Option<HashMap<String, String>>,
pub create_time: Option<DateTime<Utc>>,
pub crypto_key_name: Option<String>,
pub destination: Option<String>,
pub display_name: Option<String>,
pub etag: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub logging_config: Option<LoggingConfig>,
pub name: Option<String>,
pub organization_subscription: Option<OrganizationSubscription>,
pub project_subscriptions: Option<ProjectSubscriptions>,
pub uid: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
A GoogleApiSource represents a subscription of 1P events from a MessageBus.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations google api sources create projects (request)
- locations google api sources get projects (response)
- locations google api sources patch projects (request)
Fields§
§annotations: Option<HashMap<String, String>>Optional. Resource annotations.
create_time: Option<DateTime<Utc>>Output only. The creation time.
crypto_key_name: Option<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: Option<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: Option<String>Optional. Resource display name.
etag: Option<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: Option<HashMap<String, String>>Optional. Resource labels.
logging_config: Option<LoggingConfig>Optional. Config to control Platform logging for the GoogleApiSource.
name: Option<String>Identifier. Resource name of the form projects/{project}/locations/{location}/googleApiSources/{google_api_source}
organization_subscription: Option<OrganizationSubscription>Optional. Config to enable subscribing to events from all projects in the GoogleApiSource’s org.
project_subscriptions: Option<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.
uid: Option<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: Option<DateTime<Utc>>Output only. The last-modified time.
Trait Implementations§
Source§impl Clone for GoogleApiSource
impl Clone for GoogleApiSource
Source§fn clone(&self) -> GoogleApiSource
fn clone(&self) -> GoogleApiSource
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more