pub async fn list_assignments(
            &mut self,
            request: impl tonic::IntoRequest<super::ListAssignmentsRequest>,
        ) -> Result<tonic::Response<super::ListAssignmentsResponse>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.bigquery.reservation.v1.ReservationService/ListAssignments",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
/// Lists assignments.
///
/// Only explicitly created assignments will be returned.
///
/// Example:
///
/// * Organization `organizationA` contains two projects, `project1` and
///   `project2`.
/// * Reservation `res1` exists and was created previously.
/// * CreateAssignment was used previously to define the following
///   associations between entities and reservations: `<organizationA, res1>`
///   and `<project1, res1>`
///
/// In this example, ListAssignments will just return the above two assignments
/// for reservation `res1`, and no expansion/merge will happen.
///
/// The wildcard "-" can be used for
/// reservations in the request. In that case all assignments belongs to the
/// specified project and location will be listed.
///
/// **Note** "-" cannot be used for projects nor locations.
Lists assignments.
Only explicitly created assignments will be returned.





In this example, ListAssignments will just return the above two assignments
for reservation `res1`, and no expansion/merge will happen.

The wildcard "-" can be used for
reservations in the request. In that case all assignments belongs to the
specified project and location will be listed.

Note** "-" cannot be used for projects nor locations.
Lists assignments . Only explicitly created assignments will be returned . In this example ListAssignments will just return the above two assignments for reservation ` res1 ` and no expansion / merge will happen . The wildcard " - " can be used for reservations in the request . In that case all assignments belongs to the specified project and location will be listed . Note ** " - " cannot be used for projects nor locations .
pub async fn list_assignments(
            &mut self,
            request: impl tonic::IntoRequest<super::ListAssignmentsRequest>,
        ) -> Result<tonic::Response<super::ListAssignmentsResponse>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.bigquery.reservation.v1.ReservationService/ListAssignments",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn list_assignments ( & mut self , request : impl tonic :: IntoRequest < super :: ListAssignmentsRequest > , ) -> Result < tonic :: Response < super :: ListAssignmentsResponse > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Lists assignments.
Lists assignments .
&mut self
request
impl tonic::IntoRequest<super::ListAssignmentsRequest>
&mut self
request
impl tonic::IntoRequest<super::ListAssignmentsRequest>