Struct google_dns1::api::ResponsePolicy
source · pub struct ResponsePolicy {
pub description: Option<String>,
pub gke_clusters: Option<Vec<ResponsePolicyGKECluster>>,
pub id: Option<i64>,
pub kind: Option<String>,
pub labels: Option<HashMap<String, String>>,
pub networks: Option<Vec<ResponsePolicyNetwork>>,
pub response_policy_name: Option<String>,
}
Expand description
A Response Policy is a collection of selectors that apply to queries made against one or more Virtual Private Cloud networks.
§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).
- create response policies (request|response)
- get response policies (response)
- patch response policies (request)
- update response policies (request)
Fields§
§description: Option<String>
User-provided description for this Response Policy.
gke_clusters: Option<Vec<ResponsePolicyGKECluster>>
The list of Google Kubernetes Engine clusters to which this response policy is applied.
id: Option<i64>
Unique identifier for the resource; defined by the server (output only).
kind: Option<String>
no description provided
labels: Option<HashMap<String, String>>
User labels.
networks: Option<Vec<ResponsePolicyNetwork>>
List of network names specifying networks to which this policy is applied.
response_policy_name: Option<String>
User assigned name for this Response Policy.
Trait Implementations§
source§impl Clone for ResponsePolicy
impl Clone for ResponsePolicy
source§fn clone(&self) -> ResponsePolicy
fn clone(&self) -> ResponsePolicy
Returns a copy 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 ResponsePolicy
impl Debug for ResponsePolicy
source§impl Default for ResponsePolicy
impl Default for ResponsePolicy
source§fn default() -> ResponsePolicy
fn default() -> ResponsePolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResponsePolicy
impl<'de> Deserialize<'de> for ResponsePolicy
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
source§impl Serialize for ResponsePolicy
impl Serialize for ResponsePolicy
impl RequestValue for ResponsePolicy
impl ResponseResult for ResponsePolicy
Auto Trait Implementations§
impl RefUnwindSafe for ResponsePolicy
impl Send for ResponsePolicy
impl Sync for ResponsePolicy
impl Unpin for ResponsePolicy
impl UnwindSafe for ResponsePolicy
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