Class OsConfigZonalService.OsConfigZonalServiceClient

public class OsConfigZonalServiceClient : ClientBase<OsConfigZonalService.OsConfigZonalServiceClient>

Client for OsConfigZonalService

Inheritance

Object > ClientBase > ClientBase<OsConfigZonalService.OsConfigZonalServiceClient> > OsConfigZonalService.OsConfigZonalServiceClient

Namespace

Google.Cloud.OsConfig.V1Alpha

Assembly

Google.Cloud.OsConfig.V1Alpha.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
TypeNameDescription
CallInvokercallInvoker

The callInvoker to use to make remote calls.

OsConfigZonalServiceClient(ChannelBase)

public OsConfigZonalServiceClient(ChannelBase channel)

Creates a new client for OsConfigZonalService

Parameter
TypeNameDescription
ChannelBasechannel

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
TypeNameDescription
ClientBase.ClientBaseConfigurationconfiguration

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
TypeDescription
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
TypeNameDescription
CreateOSPolicyAssignmentRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation CreateOSPolicyAssignment(CreateOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
CreateOSPolicyAssignmentRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
CreateOSPolicyAssignmentRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> CreateOSPolicyAssignmentAsync(CreateOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
CreateOSPolicyAssignmentRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
DeleteOSPolicyAssignmentRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation DeleteOSPolicyAssignment(DeleteOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
DeleteOSPolicyAssignmentRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
DeleteOSPolicyAssignmentRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> DeleteOSPolicyAssignmentAsync(DeleteOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
DeleteOSPolicyAssignmentRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

GetInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest, CallOptions)

public virtual InstanceOSPoliciesCompliance GetInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request, CallOptions options)

Get OS policies compliance data for the specified Compute Engine VM instance.

Parameters
TypeNameDescription
GetInstanceOSPoliciesComplianceRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
InstanceOSPoliciesCompliance

The response received from the server.

GetInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual InstanceOSPoliciesCompliance GetInstanceOSPoliciesCompliance(GetInstanceOSPoliciesComplianceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Get OS policies compliance data for the specified Compute Engine VM instance.

Parameters
TypeNameDescription
GetInstanceOSPoliciesComplianceRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
InstanceOSPoliciesCompliance

The response received from the server.

GetInstanceOSPoliciesComplianceAsync(GetInstanceOSPoliciesComplianceRequest, CallOptions)

public virtual AsyncUnaryCall<InstanceOSPoliciesCompliance> GetInstanceOSPoliciesComplianceAsync(GetInstanceOSPoliciesComplianceRequest request, CallOptions options)

Get OS policies compliance data for the specified Compute Engine VM instance.

Parameters
TypeNameDescription
GetInstanceOSPoliciesComplianceRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<InstanceOSPoliciesCompliance>

The call object.

GetInstanceOSPoliciesComplianceAsync(GetInstanceOSPoliciesComplianceRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<InstanceOSPoliciesCompliance> GetInstanceOSPoliciesComplianceAsync(GetInstanceOSPoliciesComplianceRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Get OS policies compliance data for the specified Compute Engine VM instance.

Parameters
TypeNameDescription
GetInstanceOSPoliciesComplianceRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<InstanceOSPoliciesCompliance>

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
TypeNameDescription
GetInventoryRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
Inventory

The response received from the server.

GetInventory(GetInventoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Inventory GetInventory(GetInventoryRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
GetInventoryRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
GetInventoryRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Inventory>

The call object.

GetInventoryAsync(GetInventoryRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Inventory> GetInventoryAsync(GetInventoryRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
GetInventoryRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
GetOSPolicyAssignmentRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
OSPolicyAssignment

The response received from the server.

GetOSPolicyAssignment(GetOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual OSPolicyAssignment GetOSPolicyAssignment(GetOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
GetOSPolicyAssignmentRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
GetOSPolicyAssignmentRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<OSPolicyAssignment>

The call object.

GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<OSPolicyAssignment> GetOSPolicyAssignmentAsync(GetOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
GetOSPolicyAssignmentRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<OSPolicyAssignment>

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
TypeNameDescription
GetVulnerabilityReportRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
VulnerabilityReport

The response received from the server.

GetVulnerabilityReport(GetVulnerabilityReportRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual VulnerabilityReport GetVulnerabilityReport(GetVulnerabilityReportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
GetVulnerabilityReportRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
GetVulnerabilityReportRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<VulnerabilityReport>

The call object.

GetVulnerabilityReportAsync(GetVulnerabilityReportRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<VulnerabilityReport> GetVulnerabilityReportAsync(GetVulnerabilityReportRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
GetVulnerabilityReportRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<VulnerabilityReport>

The call object.

ListInstanceOSPoliciesCompliances(ListInstanceOSPoliciesCompliancesRequest, CallOptions)

public virtual ListInstanceOSPoliciesCompliancesResponse ListInstanceOSPoliciesCompliances(ListInstanceOSPoliciesCompliancesRequest request, CallOptions options)

List OS policies compliance data for all Compute Engine VM instances in the specified zone.

Parameters
TypeNameDescription
ListInstanceOSPoliciesCompliancesRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
ListInstanceOSPoliciesCompliancesResponse

The response received from the server.

ListInstanceOSPoliciesCompliances(ListInstanceOSPoliciesCompliancesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListInstanceOSPoliciesCompliancesResponse ListInstanceOSPoliciesCompliances(ListInstanceOSPoliciesCompliancesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List OS policies compliance data for all Compute Engine VM instances in the specified zone.

Parameters
TypeNameDescription
ListInstanceOSPoliciesCompliancesRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListInstanceOSPoliciesCompliancesResponse

The response received from the server.

ListInstanceOSPoliciesCompliancesAsync(ListInstanceOSPoliciesCompliancesRequest, CallOptions)

public virtual AsyncUnaryCall<ListInstanceOSPoliciesCompliancesResponse> ListInstanceOSPoliciesCompliancesAsync(ListInstanceOSPoliciesCompliancesRequest request, CallOptions options)

List OS policies compliance data for all Compute Engine VM instances in the specified zone.

Parameters
TypeNameDescription
ListInstanceOSPoliciesCompliancesRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListInstanceOSPoliciesCompliancesResponse>

The call object.

ListInstanceOSPoliciesCompliancesAsync(ListInstanceOSPoliciesCompliancesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListInstanceOSPoliciesCompliancesResponse> ListInstanceOSPoliciesCompliancesAsync(ListInstanceOSPoliciesCompliancesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List OS policies compliance data for all Compute Engine VM instances in the specified zone.

Parameters
TypeNameDescription
ListInstanceOSPoliciesCompliancesRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListInstanceOSPoliciesCompliancesResponse>

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
TypeNameDescription
ListInventoriesRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
ListInventoriesResponse

The response received from the server.

ListInventories(ListInventoriesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListInventoriesResponse ListInventories(ListInventoriesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List inventory data for all VM instances in the specified zone.

Parameters
TypeNameDescription
ListInventoriesRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
ListInventoriesRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListInventoriesResponse>

The call object.

ListInventoriesAsync(ListInventoriesRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListInventoriesResponse> ListInventoriesAsync(ListInventoriesRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List inventory data for all VM instances in the specified zone.

Parameters
TypeNameDescription
ListInventoriesRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListInventoriesResponse>

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
TypeNameDescription
ListOSPolicyAssignmentRevisionsRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
ListOSPolicyAssignmentRevisionsResponse

The response received from the server.

ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListOSPolicyAssignmentRevisionsResponse ListOSPolicyAssignmentRevisions(ListOSPolicyAssignmentRevisionsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List the OS policy assignment revisions for a given OS policy assignment.

Parameters
TypeNameDescription
ListOSPolicyAssignmentRevisionsRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
ListOSPolicyAssignmentRevisionsRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListOSPolicyAssignmentRevisionsResponse>

The call object.

ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListOSPolicyAssignmentRevisionsResponse> ListOSPolicyAssignmentRevisionsAsync(ListOSPolicyAssignmentRevisionsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List the OS policy assignment revisions for a given OS policy assignment.

Parameters
TypeNameDescription
ListOSPolicyAssignmentRevisionsRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
ListOSPolicyAssignmentsRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
ListOSPolicyAssignmentsResponse

The response received from the server.

ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListOSPolicyAssignmentsResponse ListOSPolicyAssignments(ListOSPolicyAssignmentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List the OS policy assignments under the parent resource.

For each OS policy assignment, the latest revision is returned.

Parameters
TypeNameDescription
ListOSPolicyAssignmentsRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
ListOSPolicyAssignmentsRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListOSPolicyAssignmentsResponse>

The call object.

ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListOSPolicyAssignmentsResponse> ListOSPolicyAssignmentsAsync(ListOSPolicyAssignmentsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List the OS policy assignments under the parent resource.

For each OS policy assignment, the latest revision is returned.

Parameters
TypeNameDescription
ListOSPolicyAssignmentsRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
ListVulnerabilityReportsRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
ListVulnerabilityReportsResponse

The response received from the server.

ListVulnerabilityReports(ListVulnerabilityReportsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListVulnerabilityReportsResponse ListVulnerabilityReports(ListVulnerabilityReportsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List vulnerability reports for all VM instances in the specified zone.

Parameters
TypeNameDescription
ListVulnerabilityReportsRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
ListVulnerabilityReportsRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListVulnerabilityReportsResponse>

The call object.

ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListVulnerabilityReportsResponse> ListVulnerabilityReportsAsync(ListVulnerabilityReportsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

List vulnerability reports for all VM instances in the specified zone.

Parameters
TypeNameDescription
ListVulnerabilityReportsRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
ClientBase.ClientBaseConfigurationconfiguration
Returns
TypeDescription
OsConfigZonalService.OsConfigZonalServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.OsConfig.V1Alpha.OsConfigZonalService.OsConfigZonalServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

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
TypeNameDescription
UpdateOSPolicyAssignmentRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
Operation

The response received from the server.

UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Operation UpdateOSPolicyAssignment(UpdateOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
UpdateOSPolicyAssignmentRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
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
TypeNameDescription
UpdateOSPolicyAssignmentRequestrequest

The request to send to the server.

CallOptionsoptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.

UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Operation> UpdateOSPolicyAssignmentAsync(UpdateOSPolicyAssignmentRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), 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
TypeNameDescription
UpdateOSPolicyAssignmentRequestrequest

The request to send to the server.

Metadataheaders

The initial metadata to send with the call. This parameter is optional.

Nullable<DateTime>deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationTokencancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Operation>

The call object.