Google Cloud Discovery Engine V1 Client - Class UpdateLicenseConfigRequest (1.17.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class UpdateLicenseConfigRequest.

Request message for LicenseConfigService.UpdateLicenseConfig method.

Generated from protobuf message google.cloud.discoveryengine.v1.UpdateLicenseConfigRequest

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ license_config LicenseConfig

Required. The LicenseConfig to update.

↳ update_mask Google\Protobuf\FieldMask

Optional. Indicates which fields in the provided LicenseConfig to update. If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

getLicenseConfig

Required. The LicenseConfig to update.

Returns
Type Description
LicenseConfig|null

hasLicenseConfig

clearLicenseConfig

setLicenseConfig

Required. The LicenseConfig to update.

Parameter
Name Description
var LicenseConfig
Returns
Type Description
$this

getUpdateMask

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

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

static::build

Parameters
Name Description
licenseConfig LicenseConfig

Required. The LicenseConfig to update.

updateMask Google\Protobuf\FieldMask

Optional. Indicates which fields in the provided LicenseConfig to update.

If an unsupported or unknown field is provided, an INVALID_ARGUMENT error is returned.

Returns
Type Description
UpdateLicenseConfigRequest