[][src]Struct gcp_client::google::cloud::osconfig::agentendpoint::v1beta::agent_endpoint_service_client::AgentEndpointServiceClient

pub struct AgentEndpointServiceClient<T> { /* fields omitted */ }

OS Config agent endpoint API.

Implementations

impl<T> AgentEndpointServiceClient<T> where
    T: GrpcService<BoxBody>,
    T::ResponseBody: Body + HttpBody + Send + 'static,
    T::Error: Into<StdError>,
    <T::ResponseBody as HttpBody>::Error: Into<StdError> + Send
[src]

pub fn new(inner: T) -> Self[src]

pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self[src]

pub async fn receive_task_notification<'_>(
    &'_ mut self,
    request: impl IntoRequest<ReceiveTaskNotificationRequest>
) -> Result<Response<Streaming<ReceiveTaskNotificationResponse>>, Status>
[src]

Stream established by client to receive Task notifications.

pub async fn start_next_task<'_>(
    &'_ mut self,
    request: impl IntoRequest<StartNextTaskRequest>
) -> Result<Response<StartNextTaskResponse>, Status>
[src]

Signals the start of a task execution and returns the task info.

pub async fn report_task_progress<'_>(
    &'_ mut self,
    request: impl IntoRequest<ReportTaskProgressRequest>
) -> Result<Response<ReportTaskProgressResponse>, Status>
[src]

Signals an intermediary progress checkpoint in task execution.

pub async fn report_task_complete<'_>(
    &'_ mut self,
    request: impl IntoRequest<ReportTaskCompleteRequest>
) -> Result<Response<ReportTaskCompleteResponse>, Status>
[src]

Signals that the task execution is complete and optionally returns the next task.

pub async fn lookup_effective_guest_policy<'_>(
    &'_ mut self,
    request: impl IntoRequest<LookupEffectiveGuestPolicyRequest>
) -> Result<Response<EffectiveGuestPolicy>, Status>
[src]

Lookup the effective guest policy that applies to a VM instance. This lookup merges all policies that are assigned to the instance ancestry.

pub async fn register_agent<'_>(
    &'_ mut self,
    request: impl IntoRequest<RegisterAgentRequest>
) -> Result<Response<RegisterAgentResponse>, Status>
[src]

Registers the agent running on the VM.

Trait Implementations

impl<T: Clone> Clone for AgentEndpointServiceClient<T>[src]

impl<T> Debug for AgentEndpointServiceClient<T>[src]

Auto Trait Implementations

impl<T> !RefUnwindSafe for AgentEndpointServiceClient<T>

impl<T> Send for AgentEndpointServiceClient<T> where
    T: Send

impl<T> Sync for AgentEndpointServiceClient<T> where
    T: Sync

impl<T> Unpin for AgentEndpointServiceClient<T> where
    T: Unpin

impl<T> !UnwindSafe for AgentEndpointServiceClient<T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]