Reference documentation and code samples for the Cloud Commerce Consumer Procurement V1 API class Google::Cloud::Commerce::Consumer::Procurement::V1::LicensePool.
A license pool represents a pool of licenses that can be assigned to users.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#available_license_count
def available_license_count() -> ::Integer
Returns
- (::Integer) — Output only. Licenses count that are available to be assigned.
#license_assignment_protocol
def license_assignment_protocol() -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol) — Required. Assignment protocol for the license pool.
#license_assignment_protocol=
def license_assignment_protocol=(value) -> ::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol
Parameter
- value (::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol) — Required. Assignment protocol for the license pool.
Returns
- (::Google::Cloud::Commerce::Consumer::Procurement::V1::AssignmentProtocol) — Required. Assignment protocol for the license pool.
#name
def name() -> ::String
Returns
-
(::String) — Identifier. Format:
billingAccounts/{billing_account}/orders/{order}/licensePool
#name=
def name=(value) -> ::String
Parameter
-
value (::String) — Identifier. Format:
billingAccounts/{billing_account}/orders/{order}/licensePool
Returns
-
(::String) — Identifier. Format:
billingAccounts/{billing_account}/orders/{order}/licensePool
#total_license_count
def total_license_count() -> ::Integer
Returns
- (::Integer) — Output only. Total number of licenses in the pool.