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 \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ manual_assignment_type |
AssignmentProtocol\ManualAssignmentType
Allow manual assignments triggered by administrative operations only. |
↳ auto_assignment_type |
AssignmentProtocol\AutoAssignmentType
Allow automatic assignments triggered by data plane operations. |
getManualAssignmentType
Allow manual assignments triggered by administrative operations only.
| Returns | |
|---|---|
| Type | Description |
AssignmentProtocol\ManualAssignmentType|null |
|
hasManualAssignmentType
setManualAssignmentType
Allow manual assignments triggered by administrative operations only.
| Parameter | |
|---|---|
| Name | Description |
var |
AssignmentProtocol\ManualAssignmentType
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAutoAssignmentType
Allow automatic assignments triggered by data plane operations.
| Returns | |
|---|---|
| Type | Description |
AssignmentProtocol\AutoAssignmentType|null |
|
hasAutoAssignmentType
setAutoAssignmentType
Allow automatic assignments triggered by data plane operations.
| Parameter | |
|---|---|
| Name | Description |
var |
AssignmentProtocol\AutoAssignmentType
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getAssignmentType
| Returns | |
|---|---|
| Type | Description |
string |
|