Struct google_api_proto::google::cloud::vmwareengine::v1::ListNetworkPoliciesRequest
source · pub struct ListNetworkPoliciesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub order_by: String,
}
Expand description
Request message for [VmwareEngine.ListNetworkPolicies][google.cloud.vmwareengine.v1.VmwareEngine.ListNetworkPolicies]
Fields§
§parent: String
Required. The resource name of the location (region) to query for
network policies. Resource names are schemeless URIs that follow the
conventions in https://cloud.google.com/apis/design/resource_names. For
example: projects/my-project/locations/us-central1
page_size: i32
The maximum number of network policies to return in one page. The service may return fewer than this value. The maximum value is coerced to 1000. The default value of this field is 500.
page_token: String
A page token, received from a previous ListNetworkPolicies
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to
ListNetworkPolicies
must match the call that provided the page
token.
filter: String
A filter expression that matches resources returned in the response.
The expression must specify the field name, a comparison
operator, and the value that you want to use for filtering. The value
must be a string, a number, or a boolean. The comparison operator
must be =
, !=
, >
, or <
.
For example, if you are filtering a list of network policies, you can
exclude the ones named example-policy
by specifying
name != "example-policy"
.
To filter on multiple expressions, provide each separate expression within parentheses. For example:
(name = "example-policy")
(createTime > "2021-04-12T08:15:10.40Z")
By default, each expression is an AND
expression. However, you
can include AND
and OR
expressions explicitly.
For example:
(name = "example-policy-1") AND
(createTime > "2021-04-12T08:15:10.40Z") OR
(name = "example-policy-2")
order_by: String
Sorts list results by a certain order. By default, returned results
are ordered by name
in ascending order.
You can also sort results in descending order based on the name
value
using orderBy="name desc"
.
Currently, only ordering by name
is supported.
Trait Implementations§
source§impl Clone for ListNetworkPoliciesRequest
impl Clone for ListNetworkPoliciesRequest
source§fn clone(&self) -> ListNetworkPoliciesRequest
fn clone(&self) -> ListNetworkPoliciesRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListNetworkPoliciesRequest
impl Debug for ListNetworkPoliciesRequest
source§impl Default for ListNetworkPoliciesRequest
impl Default for ListNetworkPoliciesRequest
source§impl Message for ListNetworkPoliciesRequest
impl Message for ListNetworkPoliciesRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for ListNetworkPoliciesRequest
impl PartialEq for ListNetworkPoliciesRequest
source§fn eq(&self, other: &ListNetworkPoliciesRequest) -> bool
fn eq(&self, other: &ListNetworkPoliciesRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListNetworkPoliciesRequest
Auto Trait Implementations§
impl Freeze for ListNetworkPoliciesRequest
impl RefUnwindSafe for ListNetworkPoliciesRequest
impl Send for ListNetworkPoliciesRequest
impl Sync for ListNetworkPoliciesRequest
impl Unpin for ListNetworkPoliciesRequest
impl UnwindSafe for ListNetworkPoliciesRequest
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request