# Cloud Commerce Consumer Procurement V1 API - Class Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.1 1.5.0 1.4.1 1.3.1 1.2.0 1.1.0 1.0.2 0.4.0 0.3.2 0.2.0 0.1.0 Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol.

Assignment protocol for a license pool.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #auto_assignment_type

    def auto_assignment_type() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::AutoAssignmentType

**Returns**

- ([::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::AutoAssignmentType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-AssignmentProtocol-AutoAssignmentType)) --- Allow automatic assignments triggered by data plane operations.


  Note: The following fields are mutually exclusive: `auto_assignment_type`, `manual_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #auto_assignment_type=

    def auto_assignment_type=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::AutoAssignmentType

**Parameter**

- **value** ([::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::AutoAssignmentType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-AssignmentProtocol-AutoAssignmentType)) --- Allow automatic assignments triggered by data plane operations.


  Note: The following fields are mutually exclusive: `auto_assignment_type`, `manual_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::AutoAssignmentType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-AssignmentProtocol-AutoAssignmentType)) --- Allow automatic assignments triggered by data plane operations.


  Note: The following fields are mutually exclusive: `auto_assignment_type`, `manual_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #manual_assignment_type

    def manual_assignment_type() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::ManualAssignmentType

**Returns**

- ([::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::ManualAssignmentType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-AssignmentProtocol-ManualAssignmentType)) --- Allow manual assignments triggered by administrative operations only.


  Note: The following fields are mutually exclusive: `manual_assignment_type`, `auto_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #manual_assignment_type=

    def manual_assignment_type=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::ManualAssignmentType

**Parameter**

- **value** ([::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::ManualAssignmentType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-AssignmentProtocol-ManualAssignmentType)) --- Allow manual assignments triggered by administrative operations only.


  Note: The following fields are mutually exclusive: `manual_assignment_type`, `auto_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol::ManualAssignmentType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-commerce-consumer-procurement-v1/latest/Google-Cloud-Commerce-Consumer-Procurement-V1-AssignmentProtocol-ManualAssignmentType)) --- Allow manual assignments triggered by administrative operations only.


  Note: The following fields are mutually exclusive: `manual_assignment_type`, `auto_assignment_type`. If a field in that set is populated, all other fields in the set will automatically be cleared.