public sealed class OsConfigZonalServiceClientImpl : OsConfigZonalServiceClient
OsConfigZonalService client wrapper implementation, for convenient use.
Namespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Remarks
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.
Constructors
OsConfigZonalServiceClientImpl(OsConfigZonalService.OsConfigZonalServiceClient, OsConfigZonalServiceSettings)
public OsConfigZonalServiceClientImpl(OsConfigZonalService.OsConfigZonalServiceClient grpcClient, OsConfigZonalServiceSettings settings)
Constructs a client wrapper for the OsConfigZonalService service, with the specified gRPC client and settings.
Parameters | |
---|---|
Name | Description |
grpcClient | OsConfigZonalService.OsConfigZonalServiceClient The underlying gRPC client. |
settings | OsConfigZonalServiceSettings The base OsConfigZonalServiceSettings used within this client. |
Properties
GrpcClient
public override OsConfigZonalService.OsConfigZonalServiceClient GrpcClient { get; }
The underlying gRPC OsConfigZonalService client
Property Value | |
---|---|
Type | Description |
OsConfigZonalService.OsConfigZonalServiceClient |
Methods
GetInventory(GetInventoryRequest, CallSettings)
public override Inventory GetInventory(GetInventoryRequest request, CallSettings callSettings = null)
Get inventory data for the specified VM instance. If the VM has no
associated inventory, the message NOT_FOUND
is returned.
Parameters | |
---|---|
Name | Description |
request | GetInventoryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
Inventory | The RPC response. |
GetInventoryAsync(GetInventoryRequest, CallSettings)
public override Task<Inventory> GetInventoryAsync(GetInventoryRequest request, CallSettings callSettings = null)
Get inventory data for the specified VM instance. If the VM has no
associated inventory, the message NOT_FOUND
is returned.
Parameters | |
---|---|
Name | Description |
request | GetInventoryRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<Inventory> | A Task containing the RPC response. |
GetVulnerabilityReport(GetVulnerabilityReportRequest, CallSettings)
public override VulnerabilityReport GetVulnerabilityReport(GetVulnerabilityReportRequest request, CallSettings callSettings = null)
Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.
Parameters | |
---|---|
Name | Description |
request | GetVulnerabilityReportRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport | The RPC response. |
GetVulnerabilityReportAsync(GetVulnerabilityReportRequest, CallSettings)
public override Task<VulnerabilityReport> GetVulnerabilityReportAsync(GetVulnerabilityReportRequest request, CallSettings callSettings = null)
Gets the vulnerability report for the specified VM instance. Only VMs with inventory data have vulnerability reports associated with them.
Parameters | |
---|---|
Name | Description |
request | GetVulnerabilityReportRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
System.Threading.Tasks.Task<VulnerabilityReport> | A Task containing the RPC response. |
ListInventories(ListInventoriesRequest, CallSettings)
public override PagedEnumerable<ListInventoriesResponse, Inventory> ListInventories(ListInventoriesRequest request, CallSettings callSettings = null)
List inventory data for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInventoriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListInventoriesResponse, Inventory> | A pageable sequence of Inventory resources. |
ListInventoriesAsync(ListInventoriesRequest, CallSettings)
public override PagedAsyncEnumerable<ListInventoriesResponse, Inventory> ListInventoriesAsync(ListInventoriesRequest request, CallSettings callSettings = null)
List inventory data for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInventoriesRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListInventoriesResponse, Inventory> | A pageable asynchronous sequence of Inventory resources. |
ListVulnerabilityReports(ListVulnerabilityReportsRequest, CallSettings)
public override PagedEnumerable<ListVulnerabilityReportsResponse, VulnerabilityReport> ListVulnerabilityReports(ListVulnerabilityReportsRequest request, CallSettings callSettings = null)
List vulnerability reports for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListVulnerabilityReportsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedEnumerable<ListVulnerabilityReportsResponse, VulnerabilityReport> | A pageable sequence of VulnerabilityReport resources. |
ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest, CallSettings)
public override PagedAsyncEnumerable<ListVulnerabilityReportsResponse, VulnerabilityReport> ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest request, CallSettings callSettings = null)
List vulnerability reports for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListVulnerabilityReportsRequest The request object containing all of the parameters for the API call. |
callSettings | CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
PagedAsyncEnumerable<ListVulnerabilityReportsResponse, VulnerabilityReport> | A pageable asynchronous sequence of VulnerabilityReport resources. |