Google Cloud Commerce Consumer Procurement V1 Client - Class UpdateLicensePoolRequest (1.1.1)

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

Request message for updating a license pool.

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

Namespace

Google \ Cloud \ Commerce \ Consumer \ Procurement \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ license_pool LicensePool

Required. The license pool to update. The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

↳ update_mask Google\Protobuf\FieldMask

Required. The list of fields to update.

getLicensePool

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

Returns
Type Description
LicensePool|null

hasLicensePool

clearLicensePool

setLicensePool

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

Parameter
Name Description
var LicensePool
Returns
Type Description
$this

getUpdateMask

Required. The list of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. The list of fields to update.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

static::build

Parameters
Name Description
licensePool LicensePool

Required. The license pool to update.

The license pool's name field is used to identify the license pool to update. Format: billingAccounts/{billing_account}/orders/{order}/licensePool.

updateMask Google\Protobuf\FieldMask

Required. The list of fields to update.

Returns
Type Description
UpdateLicensePoolRequest