public class DiscoveryEngine.Projects.Locations.LicenseConfigs extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
DiscoveryEngine.Projects.Locations.LicenseConfigs.Create |
class |
DiscoveryEngine.Projects.Locations.LicenseConfigs.Get |
class |
DiscoveryEngine.Projects.Locations.LicenseConfigs.Patch |
| Constructor and Description |
|---|
LicenseConfigs() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryEngine.Projects.Locations.LicenseConfigs.Create |
create(String parent,
GoogleCloudDiscoveryengineV1LicenseConfig content)
Creates a LicenseConfig This method should only be used for creating NotebookLm licenses or
Gemini Enterprise free trial licenses.
|
DiscoveryEngine.Projects.Locations.LicenseConfigs.Get |
get(String name)
Gets a LicenseConfig.
|
DiscoveryEngine.Projects.Locations.LicenseConfigs.Patch |
patch(String name,
GoogleCloudDiscoveryengineV1LicenseConfig content)
Updates the LicenseConfig
Create a request for the method "licenseConfigs.patch".
|
public DiscoveryEngine.Projects.Locations.LicenseConfigs.Create create(String parent, GoogleCloudDiscoveryengineV1LicenseConfig content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - Required. The parent resource name, such as `projects/{project}/locations/{location}`.content - the GoogleCloudDiscoveryengineV1LicenseConfigIOExceptionpublic DiscoveryEngine.Projects.Locations.LicenseConfigs.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Full resource name of LicenseConfig, such as
`projects/{project}/locations/{location}/licenseConfigs`. If the caller does not have
permission to access the LicenseConfig, regardless of whether or not it exists, a
PERMISSION_DENIED error is returned. If the requested LicenseConfig does not exist, a
NOT_FOUND error is returned.IOExceptionpublic DiscoveryEngine.Projects.Locations.LicenseConfigs.Patch patch(String name, GoogleCloudDiscoveryengineV1LicenseConfig content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Immutable. Identifier. The fully qualified resource name of the license config. Format:
`projects/{project}/locations/{location}/licenseConfigs/{license_config}`content - the GoogleCloudDiscoveryengineV1LicenseConfigIOExceptionCopyright © 2011–2026 Google. All rights reserved.