Google Cloud Commerce Consumer Procurement V1 Client - Class AssignmentProtocol (1.1.0)

Reference documentation and code samples for the Google Cloud Commerce Consumer Procurement V1 Client class AssignmentProtocol.

Assignment protocol for a license pool.

Generated from protobuf message google.cloud.commerce.consumer.procurement.v1.AssignmentProtocol

Namespace

Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ manual_assignment_type Google\Cloud\Commerce\Consumer\Procurement\V1\AssignmentProtocol\ManualAssignmentType

Allow manual assignments triggered by administrative operations only.

↳ auto_assignment_type Google\Cloud\Commerce\Consumer\Procurement\V1\AssignmentProtocol\AutoAssignmentType

Allow automatic assignments triggered by data plane operations.

getManualAssignmentType

Allow manual assignments triggered by administrative operations only.

Returns
Type Description
Google\Cloud\Commerce\Consumer\Procurement\V1\AssignmentProtocol\ManualAssignmentType|null

hasManualAssignmentType

setManualAssignmentType

Allow manual assignments triggered by administrative operations only.

Parameter
Name Description
var Google\Cloud\Commerce\Consumer\Procurement\V1\AssignmentProtocol\ManualAssignmentType
Returns
Type Description
$this

getAutoAssignmentType

Allow automatic assignments triggered by data plane operations.

Returns
Type Description
Google\Cloud\Commerce\Consumer\Procurement\V1\AssignmentProtocol\AutoAssignmentType|null

hasAutoAssignmentType

setAutoAssignmentType

Allow automatic assignments triggered by data plane operations.

Parameter
Name Description
var Google\Cloud\Commerce\Consumer\Procurement\V1\AssignmentProtocol\AutoAssignmentType
Returns
Type Description
$this

getAssignmentType

Returns
Type Description
string