pub struct GoogleCloudAssuredworkloadsV1WorkloadResourceSettings {
pub display_name: Option<String>,
pub resource_id: Option<String>,
pub resource_type: Option<String>,
}Expand description
Represent the custom settings for the resources to be created.
This type is not used in any activity, and only used as part of another schema.
Fields§
§display_name: Option<String>User-assigned resource display name. If not empty it will be used to create a resource with the specified name.
resource_id: Option<String>Resource identifier. For a project this represents project_id. If the project is already taken, the workload creation will fail. For KeyRing, this represents the keyring_id. For a folder, don’t set this value as folder_id is assigned by Google.
resource_type: Option<String>Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)
Trait Implementations§
Source§impl Clone for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
impl Clone for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
Source§fn clone(&self) -> GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
fn clone(&self) -> GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
impl Default for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
Source§fn default() -> GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
fn default() -> GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
impl<'de> Deserialize<'de> for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
Auto Trait Implementations§
impl Freeze for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
impl RefUnwindSafe for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
impl Send for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
impl Sync for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
impl Unpin for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
impl UnwindSafe for GoogleCloudAssuredworkloadsV1WorkloadResourceSettings
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more