Method: projects.locations.licenseConfigs.patch

Updates the LicenseConfig

HTTP request

PATCH https://discoveryengine.googleapis.com/v1beta/{licenseConfig.name=projects/*/locations/*/licenseConfigs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
licenseConfig.name

string

Immutable. Identifier. The fully qualified resource name of the license config. Format: projects/{project}/locations/{location}/licenseConfigs/{licenseConfig}

Query parameters

Parameters
updateMask

string (FieldMask format)

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

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

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of LicenseConfig.

Response body

If successful, the response body contains an instance of LicenseConfig.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/discoveryengine.readwrite

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • discoveryengine.licenseConfigs.update

For more information, see the IAM documentation.