#[non_exhaustive]pub struct ListRepositoriesRequest {
pub parent: String,
pub page_size: i32,
pub page_token: String,
pub filter: String,
pub instance: String,
/* private fields */
}Expand description
ListRepositoriesRequest is request to list repositories.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.parent: StringRequired. Parent value for ListRepositoriesRequest.
page_size: i32Optional. Requested page size. Server may return fewer items than requested. If unspecified, server will pick an appropriate default.
page_token: StringA token identifying a page of results the server should return.
filter: StringOptional. Filter results.
instance: StringOptional. The name of the instance in which the repository is hosted,
formatted as
projects/{project_number}/locations/{location_id}/instances/{instance_id}.
When listing repositories via securesourcemanager.googleapis.com, this
field is required. When listing repositories via *.sourcemanager.dev, this
field is ignored.
Implementations§
Source§impl ListRepositoriesRequest
impl ListRepositoriesRequest
pub fn new() -> Self
Sourcepub fn set_parent<T: Into<String>>(self, v: T) -> Self
pub fn set_parent<T: Into<String>>(self, v: T) -> Self
Sets the value of parent.
Sourcepub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
pub fn set_page_size<T: Into<i32>>(self, v: T) -> Self
Sets the value of page_size.
Sourcepub fn set_page_token<T: Into<String>>(self, v: T) -> Self
pub fn set_page_token<T: Into<String>>(self, v: T) -> Self
Sets the value of page_token.
Sourcepub fn set_filter<T: Into<String>>(self, v: T) -> Self
pub fn set_filter<T: Into<String>>(self, v: T) -> Self
Sets the value of filter.
Sourcepub fn set_instance<T: Into<String>>(self, v: T) -> Self
pub fn set_instance<T: Into<String>>(self, v: T) -> Self
Sets the value of instance.
Trait Implementations§
Source§impl Clone for ListRepositoriesRequest
impl Clone for ListRepositoriesRequest
Source§fn clone(&self) -> ListRepositoriesRequest
fn clone(&self) -> ListRepositoriesRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more