Google Cloud OsConfig V1 Client - Class DeleteOSPolicyAssignmentRequest (1.1.1)

Reference documentation and code samples for the Google Cloud OsConfig V1 Client class DeleteOSPolicyAssignmentRequest.

A request message for deleting a OS policy assignment.

Generated from protobuf message google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest

Namespace

Google \ Cloud \ OsConfig \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The name of the OS policy assignment to be deleted

getName

Required. The name of the OS policy assignment to be deleted

Returns
TypeDescription
string

setName

Required. The name of the OS policy assignment to be deleted

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
name string

Required. The name of the OS policy assignment to be deleted Please see Google\Cloud\OsConfig\V1\OsConfigZonalServiceClient::oSPolicyAssignmentName() for help formatting this field.

Returns
TypeDescription
Google\Cloud\OsConfig\V1\DeleteOSPolicyAssignmentRequest