Struct gapi_grpc::google::cloud::osconfig::v1alpha::os_config_zonal_service_client::OsConfigZonalServiceClient [−][src]
Zonal OS Config API
The OS Config service is the server-side component that allows users to manage package installations and patch jobs for Compute Engine VM instances.
Implementations
impl OsConfigZonalServiceClient<Channel>
[src]
pub async fn connect<D>(dst: D) -> Result<Self, Error> where
D: TryInto<Endpoint>,
D::Error: Into<StdError>,
[src]
D: TryInto<Endpoint>,
D::Error: Into<StdError>,
Attempt to create a new client by connecting to a given endpoint.
impl<T> OsConfigZonalServiceClient<T> where
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
[src]
T: GrpcService<BoxBody>,
T::ResponseBody: Body + HttpBody + Send + 'static,
T::Error: Into<StdError>,
<T::ResponseBody as HttpBody>::Error: Into<StdError> + Send,
pub fn new(inner: T) -> Self
[src]
pub fn with_interceptor(inner: T, interceptor: impl Into<Interceptor>) -> Self
[src]
pub async fn create_os_policy_assignment(
&mut self,
request: impl IntoRequest<CreateOsPolicyAssignmentRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<CreateOsPolicyAssignmentRequest>
) -> Result<Response<Operation>, Status>
Create an OS policy assignment.
This method also creates the first revision of the OS policy assignment.
This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO.
For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.
pub async fn update_os_policy_assignment(
&mut self,
request: impl IntoRequest<UpdateOsPolicyAssignmentRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<UpdateOsPolicyAssignmentRequest>
) -> Result<Response<Operation>, Status>
Update an existing OS policy assignment.
This method creates a new revision of the OS policy assignment.
This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO.
For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.
pub async fn get_os_policy_assignment(
&mut self,
request: impl IntoRequest<GetOsPolicyAssignmentRequest>
) -> Result<Response<OsPolicyAssignment>, Status>
[src]
&mut self,
request: impl IntoRequest<GetOsPolicyAssignmentRequest>
) -> Result<Response<OsPolicyAssignment>, Status>
Retrieve an existing OS policy assignment.
This method always returns the latest revision. In order to retrieve a
previous revision of the assignment, also provide the revision ID in the
name
parameter.
pub async fn list_os_policy_assignments(
&mut self,
request: impl IntoRequest<ListOsPolicyAssignmentsRequest>
) -> Result<Response<ListOsPolicyAssignmentsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListOsPolicyAssignmentsRequest>
) -> Result<Response<ListOsPolicyAssignmentsResponse>, Status>
List the OS policy assignments under the parent resource.
For each OS policy assignment, the latest revision is returned.
pub async fn list_os_policy_assignment_revisions(
&mut self,
request: impl IntoRequest<ListOsPolicyAssignmentRevisionsRequest>
) -> Result<Response<ListOsPolicyAssignmentRevisionsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListOsPolicyAssignmentRevisionsRequest>
) -> Result<Response<ListOsPolicyAssignmentRevisionsResponse>, Status>
List the OS policy assignment revisions for a given OS policy assignment.
pub async fn delete_os_policy_assignment(
&mut self,
request: impl IntoRequest<DeleteOsPolicyAssignmentRequest>
) -> Result<Response<Operation>, Status>
[src]
&mut self,
request: impl IntoRequest<DeleteOsPolicyAssignmentRequest>
) -> Result<Response<Operation>, Status>
Delete the OS policy assignment.
This method creates a new revision of the OS policy assignment.
This method returns a long running operation (LRO) that contains the rollout details. The rollout can be cancelled by cancelling the LRO.
If the LRO completes and is not cancelled, all revisions associated with the OS policy assignment are deleted.
For more information, see Method: projects.locations.osPolicyAssignments.operations.cancel.
pub async fn get_instance_os_policies_compliance(
&mut self,
request: impl IntoRequest<GetInstanceOsPoliciesComplianceRequest>
) -> Result<Response<InstanceOsPoliciesCompliance>, Status>
[src]
&mut self,
request: impl IntoRequest<GetInstanceOsPoliciesComplianceRequest>
) -> Result<Response<InstanceOsPoliciesCompliance>, Status>
Get OS policies compliance data for the specified Compute Engine VM instance.
pub async fn list_instance_os_policies_compliances(
&mut self,
request: impl IntoRequest<ListInstanceOsPoliciesCompliancesRequest>
) -> Result<Response<ListInstanceOsPoliciesCompliancesResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListInstanceOsPoliciesCompliancesRequest>
) -> Result<Response<ListInstanceOsPoliciesCompliancesResponse>, Status>
List OS policies compliance data for all Compute Engine VM instances in the specified zone.
pub async fn get_inventory(
&mut self,
request: impl IntoRequest<GetInventoryRequest>
) -> Result<Response<Inventory>, Status>
[src]
&mut self,
request: impl IntoRequest<GetInventoryRequest>
) -> Result<Response<Inventory>, Status>
Get inventory data for the specified VM instance. If the VM has no
associated inventory, the message NOT_FOUND
is returned.
pub async fn list_inventories(
&mut self,
request: impl IntoRequest<ListInventoriesRequest>
) -> Result<Response<ListInventoriesResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListInventoriesRequest>
) -> Result<Response<ListInventoriesResponse>, Status>
List inventory data for all VM instances in the specified zone.
pub async fn get_vulnerability_report(
&mut self,
request: impl IntoRequest<GetVulnerabilityReportRequest>
) -> Result<Response<VulnerabilityReport>, Status>
[src]
&mut self,
request: impl IntoRequest<GetVulnerabilityReportRequest>
) -> Result<Response<VulnerabilityReport>, Status>
Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.
pub async fn list_vulnerability_reports(
&mut self,
request: impl IntoRequest<ListVulnerabilityReportsRequest>
) -> Result<Response<ListVulnerabilityReportsResponse>, Status>
[src]
&mut self,
request: impl IntoRequest<ListVulnerabilityReportsRequest>
) -> Result<Response<ListVulnerabilityReportsResponse>, Status>
List vulnerability reports for all VM instances in the specified zone.
Trait Implementations
impl<T: Clone> Clone for OsConfigZonalServiceClient<T>
[src]
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<T> Debug for OsConfigZonalServiceClient<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for OsConfigZonalServiceClient<T>
impl<T> Send for OsConfigZonalServiceClient<T> where
T: Send,
T: Send,
impl<T> Sync for OsConfigZonalServiceClient<T> where
T: Sync,
T: Sync,
impl<T> Unpin for OsConfigZonalServiceClient<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for OsConfigZonalServiceClient<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,