public class OsConfigZonalServiceClient : ClientBase<OsConfigZonalService.OsConfigZonalServiceClient>
Reference documentation and code samples for the Google Cloud OS Config v1 API class OsConfigZonalService.OsConfigZonalServiceClient.
Client for OsConfigZonalService
Inheritance
Object > ClientBase > ClientBase<OsConfigZonalService.OsConfigZonalServiceClient> > OsConfigZonalService.OsConfigZonalServiceClientNamespace
Google.Cloud.OsConfig.V1Assembly
Google.Cloud.OsConfig.V1.dll
Constructors
OsConfigZonalServiceClient()
protected OsConfigZonalServiceClient()
Protected parameterless constructor to allow creation of test doubles.
OsConfigZonalServiceClient(CallInvoker)
public OsConfigZonalServiceClient(CallInvoker callInvoker)
Creates a new client for OsConfigZonalService that uses a custom CallInvoker
.
Parameter | |
---|---|
Name | Description |
callInvoker | CallInvoker The callInvoker to use to make remote calls. |
OsConfigZonalServiceClient(ChannelBase)
public OsConfigZonalServiceClient(ChannelBase channel)
Creates a new client for OsConfigZonalService
Parameter | |
---|---|
Name | Description |
channel | ChannelBase The channel to use to make remote calls. |
OsConfigZonalServiceClient(ClientBase.ClientBaseConfiguration)
protected OsConfigZonalServiceClient(ClientBase.ClientBaseConfiguration configuration)
Protected constructor to allow creation of configured clients.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration The client configuration. |
Methods
CreateOperationsClient()
public virtual Operations.OperationsClient CreateOperationsClient()
Creates a new instance of Operations.OperationsClient using the same call invoker as this client.
Returns | |
---|---|
Type | Description |
Operations.OperationsClient | A new Operations client for the same target as this client. |
CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest, CallOptions)
public virtual Operation CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | CreateOSPolicyAssignmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | CreateOSPolicyAssignmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | CreateOSPolicyAssignmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | CreateOSPolicyAssignmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest, CallOptions)
public virtual Operation DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | DeleteOSPolicyAssignmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | DeleteOSPolicyAssignmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | DeleteOSPolicyAssignmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | DeleteOSPolicyAssignmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
GetInventory(GetInventoryRequest, CallOptions)
public virtual Inventory GetInventory(GetInventoryRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Inventory | The response received from the server. |
GetInventory(GetInventoryRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Inventory GetInventory(GetInventoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Inventory | The response received from the server. |
GetInventoryAsync(GetInventoryRequest, CallOptions)
public virtual AsyncUnaryCall<Inventory> GetInventoryAsync(GetInventoryRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Inventory> | The call object. |
GetInventoryAsync(GetInventoryRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Inventory> GetInventoryAsync(GetInventoryRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Inventory> | The call object. |
GetOSPolicyAssignment(GetOSPolicyAssignmentRequest, CallOptions)
public virtual OSPolicyAssignment GetOSPolicyAssignment(GetOSPolicyAssignmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignment | The response received from the server. |
GetOSPolicyAssignment(GetOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual OSPolicyAssignment GetOSPolicyAssignment(GetOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignment | The response received from the server. |
GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest, CallOptions)
public virtual AsyncUnaryCall<OSPolicyAssignment> GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<OSPolicyAssignment> | The call object. |
GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<OSPolicyAssignment> GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<OSPolicyAssignment> | The call object. |
GetOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest, CallOptions)
public virtual OSPolicyAssignmentReport GetOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request, CallOptions options)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentReportRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport | The response received from the server. |
GetOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual OSPolicyAssignmentReport GetOSPolicyAssignmentReport(GetOSPolicyAssignmentReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Get the OS policy asssignment report for the specified Compute Engine VM instance.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentReportRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
OSPolicyAssignmentReport | The response received from the server. |
GetOSPolicyAssignmentReportAsync(GetOSPolicyAssignmentReportRequest, CallOptions)
public virtual AsyncUnaryCall<OSPolicyAssignmentReport> GetOSPolicyAssignmentReportAsync(GetOSPolicyAssignmentReportRequest request, CallOptions options)
Get the OS policy asssignment report for the specified Compute Engine VM instance.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentReportRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<OSPolicyAssignmentReport> | The call object. |
GetOSPolicyAssignmentReportAsync(GetOSPolicyAssignmentReportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<OSPolicyAssignmentReport> GetOSPolicyAssignmentReportAsync(GetOSPolicyAssignmentReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
Get the OS policy asssignment report for the specified Compute Engine VM instance.
Parameters | |
---|---|
Name | Description |
request | GetOSPolicyAssignmentReportRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<OSPolicyAssignmentReport> | The call object. |
GetVulnerabilityReport(GetVulnerabilityReportRequest, CallOptions)
public virtual VulnerabilityReport GetVulnerabilityReport(GetVulnerabilityReportRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport | The response received from the server. |
GetVulnerabilityReport(GetVulnerabilityReportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual VulnerabilityReport GetVulnerabilityReport(GetVulnerabilityReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
VulnerabilityReport | The response received from the server. |
GetVulnerabilityReportAsync(GetVulnerabilityReportRequest, CallOptions)
public virtual AsyncUnaryCall<VulnerabilityReport> GetVulnerabilityReportAsync(GetVulnerabilityReportRequest request, CallOptions options)
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 to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<VulnerabilityReport> | The call object. |
GetVulnerabilityReportAsync(GetVulnerabilityReportRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<VulnerabilityReport> GetVulnerabilityReportAsync(GetVulnerabilityReportRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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 to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<VulnerabilityReport> | The call object. |
ListInventories(ListInventoriesRequest, CallOptions)
public virtual ListInventoriesResponse ListInventories(ListInventoriesRequest request, CallOptions options)
List inventory data for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInventoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListInventoriesResponse | The response received from the server. |
ListInventories(ListInventoriesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListInventoriesResponse ListInventories(ListInventoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List inventory data for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInventoriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListInventoriesResponse | The response received from the server. |
ListInventoriesAsync(ListInventoriesRequest, CallOptions)
public virtual AsyncUnaryCall<ListInventoriesResponse> ListInventoriesAsync(ListInventoriesRequest request, CallOptions options)
List inventory data for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInventoriesRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListInventoriesResponse> | The call object. |
ListInventoriesAsync(ListInventoriesRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListInventoriesResponse> ListInventoriesAsync(ListInventoriesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List inventory data for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListInventoriesRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListInventoriesResponse> | The call object. |
ListOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest, CallOptions)
public virtual ListOSPolicyAssignmentReportsResponse ListOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request, CallOptions options)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentReportsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListOSPolicyAssignmentReportsResponse | The response received from the server. |
ListOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListOSPolicyAssignmentReportsResponse ListOSPolicyAssignmentReports(ListOSPolicyAssignmentReportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentReportsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListOSPolicyAssignmentReportsResponse | The response received from the server. |
ListOSPolicyAssignmentReportsAsync(ListOSPolicyAssignmentReportsRequest, CallOptions)
public virtual AsyncUnaryCall<ListOSPolicyAssignmentReportsResponse> ListOSPolicyAssignmentReportsAsync(ListOSPolicyAssignmentReportsRequest request, CallOptions options)
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentReportsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListOSPolicyAssignmentReportsResponse> | The call object. |
ListOSPolicyAssignmentReportsAsync(ListOSPolicyAssignmentReportsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListOSPolicyAssignmentReportsResponse> ListOSPolicyAssignmentReportsAsync(ListOSPolicyAssignmentReportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List OS policy asssignment reports for all Compute Engine VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentReportsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListOSPolicyAssignmentReportsResponse> | The call object. |
ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest, CallOptions)
public virtual ListOSPolicyAssignmentRevisionsResponse ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request, CallOptions options)
List the OS policy assignment revisions for a given OS policy assignment.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentRevisionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListOSPolicyAssignmentRevisionsResponse | The response received from the server. |
ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListOSPolicyAssignmentRevisionsResponse ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List the OS policy assignment revisions for a given OS policy assignment.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentRevisionsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListOSPolicyAssignmentRevisionsResponse | The response received from the server. |
ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest, CallOptions)
public virtual AsyncUnaryCall<ListOSPolicyAssignmentRevisionsResponse> ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest request, CallOptions options)
List the OS policy assignment revisions for a given OS policy assignment.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentRevisionsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListOSPolicyAssignmentRevisionsResponse> | The call object. |
ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListOSPolicyAssignmentRevisionsResponse> ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List the OS policy assignment revisions for a given OS policy assignment.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentRevisionsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListOSPolicyAssignmentRevisionsResponse> | The call object. |
ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest, CallOptions)
public virtual ListOSPolicyAssignmentsResponse ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest request, CallOptions options)
List the OS policy assignments under the parent resource.
For each OS policy assignment, the latest revision is returned.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListOSPolicyAssignmentsResponse | The response received from the server. |
ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListOSPolicyAssignmentsResponse ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List the OS policy assignments under the parent resource.
For each OS policy assignment, the latest revision is returned.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListOSPolicyAssignmentsResponse | The response received from the server. |
ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest, CallOptions)
public virtual AsyncUnaryCall<ListOSPolicyAssignmentsResponse> ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest request, CallOptions options)
List the OS policy assignments under the parent resource.
For each OS policy assignment, the latest revision is returned.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListOSPolicyAssignmentsResponse> | The call object. |
ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListOSPolicyAssignmentsResponse> ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List the OS policy assignments under the parent resource.
For each OS policy assignment, the latest revision is returned.
Parameters | |
---|---|
Name | Description |
request | ListOSPolicyAssignmentsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListOSPolicyAssignmentsResponse> | The call object. |
ListVulnerabilityReports(ListVulnerabilityReportsRequest, CallOptions)
public virtual ListVulnerabilityReportsResponse ListVulnerabilityReports(ListVulnerabilityReportsRequest request, CallOptions options)
List vulnerability reports for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListVulnerabilityReportsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
ListVulnerabilityReportsResponse | The response received from the server. |
ListVulnerabilityReports(ListVulnerabilityReportsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual ListVulnerabilityReportsResponse ListVulnerabilityReports(ListVulnerabilityReportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List vulnerability reports for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListVulnerabilityReportsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
ListVulnerabilityReportsResponse | The response received from the server. |
ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest, CallOptions)
public virtual AsyncUnaryCall<ListVulnerabilityReportsResponse> ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest request, CallOptions options)
List vulnerability reports for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListVulnerabilityReportsRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListVulnerabilityReportsResponse> | The call object. |
ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<ListVulnerabilityReportsResponse> ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
List vulnerability reports for all VM instances in the specified zone.
Parameters | |
---|---|
Name | Description |
request | ListVulnerabilityReportsRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<ListVulnerabilityReportsResponse> | The call object. |
NewInstance(ClientBase.ClientBaseConfiguration)
protected override OsConfigZonalService.OsConfigZonalServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Creates a new instance of client from given ClientBaseConfiguration
.
Parameter | |
---|---|
Name | Description |
configuration | ClientBase.ClientBaseConfiguration |
Returns | |
---|---|
Type | Description |
OsConfigZonalService.OsConfigZonalServiceClient |
UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest, CallOptions)
public virtual Operation UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | UpdateOSPolicyAssignmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual Operation UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | UpdateOSPolicyAssignmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
Operation | The response received from the server. |
UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest, CallOptions)
public virtual AsyncUnaryCall<Operation> UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest request, CallOptions options)
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.
Parameters | |
---|---|
Name | Description |
request | UpdateOSPolicyAssignmentRequest The request to send to the server. |
options | CallOptions The options for the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |
UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)
public virtual AsyncUnaryCall<Operation> UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default(CancellationToken))
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.
Parameters | |
---|---|
Name | Description |
request | UpdateOSPolicyAssignmentRequest The request to send to the server. |
headers | Metadata The initial metadata to send with the call. This parameter is optional. |
deadline | Nullable<DateTime> An optional deadline for the call. The call will be cancelled if deadline is hit. |
cancellationToken | CancellationToken An optional token for canceling the call. |
Returns | |
---|---|
Type | Description |
AsyncUnaryCall<Operation> | The call object. |