pub struct Destination {
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub endpoints: Option<Vec<DestinationEndpoint>>,
pub etag: Option<String>,
pub ip_prefix: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub state_timeline: Option<StateTimeline>,
pub uid: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}Expand description
The Destination resource. It specifies the IP prefix and the associated autonomous system numbers (ASN) that you want to include in a MulticloudDataTransferConfig resource.
§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).
Fields§
§create_time: Option<DateTime<Utc>>Output only. Time when the Destination resource was created.
description: Option<String>Optional. A description of this resource.
endpoints: Option<Vec<DestinationEndpoint>>Required. Unordered list. The list of DestinationEndpoint resources configured for the IP prefix.
etag: Option<String>The etag is computed by the server, and might be sent with update and delete requests so that the client has an up-to-date value before proceeding.
ip_prefix: Option<String>Required. Immutable. The IP prefix that represents your workload on another CSP.
labels: Option<HashMap<String, String>>Optional. User-defined labels.
name: Option<String>Identifier. The name of the Destination resource. Format: projects/{project}/locations/{location}/multicloudDataTransferConfigs/{multicloud_data_transfer_config}/destinations/{destination}.
state_timeline: Option<StateTimeline>Output only. The timeline of the expected Destination states or the current rest state. If a state change is expected, the value is ADDING, DELETING or SUSPENDING, depending on the action specified. Example: “state_timeline”: { “states”: [ { // The time when the Destination resource will be activated. “effectiveTime”: “2024-12-01T08:00:00Z”, “state”: “ADDING” }, { // The time when the Destination resource will be suspended. “effectiveTime”: “2024-12-01T20:00:00Z”, “state”: “SUSPENDING” } ] }
uid: Option<String>Output only. The Google-generated unique ID for the Destination resource. This value is unique across all Destination resources. If a resource is deleted and another with the same name is created, the new resource is assigned a different and unique ID.
update_time: Option<DateTime<Utc>>Output only. Time when the Destination resource was updated.
Trait Implementations§
Source§impl Clone for Destination
impl Clone for Destination
Source§fn clone(&self) -> Destination
fn clone(&self) -> Destination
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more