/// Writes log entries to Logging. This API method is the
/// only way to send log entries to Logging. This method
/// is used, directly or indirectly, by the Logging agent
/// (fluentd) and all logging libraries configured to use Logging.
/// A single request may contain log entries for a maximum of 1000
/// different resources (projects, organizations, billing accounts or
/// folders)
Writes log entries to Logging. This API method is the
only way to send log entries to Logging. This method
is used, directly or indirectly, by the Logging agent
(fluentd) and all logging libraries configured to use Logging.
A single request may contain log entries for a maximum of 1000
different resources (projects, organizations, billing accounts or
folders)
Writes log entries to Logging . This API method is the only way to send log entries to Logging . This method is used directly or indirectly by the Logging agent ( fluentd ) and all logging libraries configured to use Logging . A single request may contain log entries for a maximum of 1000 different resources ( projects organizations billing accounts or folders )
pub async fn write_log_entries(
            &mut self,
            request: impl tonic::IntoRequest<super::WriteLogEntriesRequest>,
        ) -> Result<tonic::Response<super::WriteLogEntriesResponse>, 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.logging.v2.LoggingServiceV2/WriteLogEntries",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn write_log_entries ( & mut self , request : impl tonic :: IntoRequest < super :: WriteLogEntriesRequest > , ) -> Result < tonic :: Response < super :: WriteLogEntriesResponse > , 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 }
Writes log entries to Logging.
Writes log entries to Logging .
&mut self
request
impl tonic::IntoRequest<super::WriteLogEntriesRequest>