#[non_exhaustive]pub struct GetAutoscalingPolicyRequest {
pub name: String,
/* private fields */
}Expand description
A request to fetch an autoscaling policy.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringRequired. The “resource name” of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names.
-
For
projects.regions.autoscalingPolicies.get, the resource name of the policy has the following format:projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} -
For
projects.locations.autoscalingPolicies.get, the resource name of the policy has the following format:projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
Implementations§
Trait Implementations§
Source§impl Clone for GetAutoscalingPolicyRequest
impl Clone for GetAutoscalingPolicyRequest
Source§fn clone(&self) -> GetAutoscalingPolicyRequest
fn clone(&self) -> GetAutoscalingPolicyRequest
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 Debug for GetAutoscalingPolicyRequest
impl Debug for GetAutoscalingPolicyRequest
Source§impl Default for GetAutoscalingPolicyRequest
impl Default for GetAutoscalingPolicyRequest
Source§fn default() -> GetAutoscalingPolicyRequest
fn default() -> GetAutoscalingPolicyRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for GetAutoscalingPolicyRequest
Auto Trait Implementations§
impl Freeze for GetAutoscalingPolicyRequest
impl RefUnwindSafe for GetAutoscalingPolicyRequest
impl Send for GetAutoscalingPolicyRequest
impl Sync for GetAutoscalingPolicyRequest
impl Unpin for GetAutoscalingPolicyRequest
impl UnwindSafe for GetAutoscalingPolicyRequest
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