Struct googapis::google::cloud::compute::v1::ListPublicDelegatedPrefixesRequest [−][src]
pub struct ListPublicDelegatedPrefixesRequest {
pub filter: Option<String>,
pub max_results: Option<u32>,
pub order_by: Option<String>,
pub page_token: Option<String>,
pub project: String,
pub region: String,
pub return_partial_success: Option<bool>,
}
Expand description
A request message for PublicDelegatedPrefixes.List. See the method description for details.
Fields
filter: Option<String>
A filter expression that filters resources listed 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 either =
, !=
, >
, or <
. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance
by specifying name != example-instance
. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false
to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake")
By default, each expression is an AND
expression. However, you can include AND
and OR
expressions explicitly. For example: (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true)
max_results: Option<u32>
The maximum number of results per page that should be returned. If the number of available results is larger than maxResults
, Compute Engine returns a nextPageToken
that can be used to get the next page of results in subsequent list requests. Acceptable values are 0
to 500
, inclusive. (Default: 500
)
order_by: Option<String>
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc"
. This sorts results based on the creationTimestamp
field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name
or creationTimestamp desc
is supported.
page_token: Option<String>
Specifies a page token to use. Set pageToken
to the nextPageToken
returned by a previous list request to get the next page of results.
project: String
Project ID for this request.
region: String
Name of the region of this request.
return_partial_success: Option<bool>
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
Implementations
Returns the value of page_token
, or the default value if page_token
is unset.
Returns the value of max_results
, or the default value if max_results
is unset.
Returns the value of order_by
, or the default value if order_by
is unset.
Returns the value of filter
, or the default value if filter
is unset.
Returns the value of return_partial_success
, or the default value if return_partial_success
is unset.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ListPublicDelegatedPrefixesRequest
impl Sync for ListPublicDelegatedPrefixesRequest
impl Unpin for ListPublicDelegatedPrefixesRequest
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more