Package | Description |
---|---|
com.google.api.services.compute | |
com.google.api.services.compute.model |
Modifier and Type | Method and Description |
---|---|
Compute.Licenses.Insert |
Compute.Licenses.insert(String project,
License content)
Create a License resource in the specified project.
|
Compute.Licenses.Update |
Compute.Licenses.update(String project,
String license,
License content)
Updates a License resource in the specified project.
|
Constructor and Description |
---|
Insert(String project,
License content)
Create a License resource in the specified project.
|
Update(String project,
String license,
License content)
Updates a License resource in the specified project.
|
Modifier and Type | Method and Description |
---|---|
License |
License.clone() |
License |
License.set(String fieldName,
Object value) |
License |
License.setAllowedReplacementLicenses(List<String> allowedReplacementLicenses)
Specifies licenseCodes of licenses that can replace this license.
|
License |
License.setAppendableToDisk(Boolean appendableToDisk)
If true, this license can be appended to an existing disk's set of licenses.
|
License |
License.setChargesUseFee(Boolean chargesUseFee)
[Output Only] Deprecated.
|
License |
License.setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
License |
License.setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
created.
|
License |
License.setId(BigInteger id)
[Output Only] The unique identifier for the resource.
|
License |
License.setIncompatibleLicenses(List<String> incompatibleLicenses)
Specifies licenseCodes of licenses that are incompatible with this license.
|
License |
License.setKind(String kind)
[Output Only] Type of resource.
|
License |
License.setLicenseCode(BigInteger licenseCode)
[Output Only] The unique code used to attach this license to images, snapshots, and disks.
|
License |
License.setMinimumRetention(Duration minimumRetention)
If set, this license will be unable to be removed or replaced once attached to a disk until the
minimum_retention period has passed.
|
License |
License.setMultiTenantOnly(Boolean multiTenantOnly)
If true, this license can only be used on VMs on multi tenant nodes.
|
License |
License.setName(String name)
Name of the resource.
|
License |
License.setOsLicense(Boolean osLicense)
If true, indicates this is an OS license.
|
License |
License.setRemovableFromDisk(Boolean removableFromDisk)
If true, this license can be removed from a disk's set of licenses, with no replacement license
needed.
|
License |
License.setRequiredCoattachedLicenses(List<String> requiredCoattachedLicenses)
Specifies the set of permissible coattached licenseCodes of licenses that satisfy the
coattachment requirement of this license.
|
License |
License.setResourceRequirements(LicenseResourceRequirements resourceRequirements)
[Input Only] Deprecated.
|
License |
License.setSelfLink(String selfLink)
[Output Only] Server-defined URL for the resource.
|
License |
License.setSelfLinkWithId(String selfLinkWithId)
[Output Only] Server-defined URL for this resource with the resource id.
|
License |
License.setSoleTenantOnly(Boolean soleTenantOnly)
If true, this license can only be used on VMs on sole tenant nodes.
|
License |
License.setTransferable(Boolean transferable)
If false, licenses will not be copied from the source resource when creating an image from a
disk, disk from snapshot, or snapshot from disk.
|
License |
License.setUpdateTimestamp(String updateTimestamp)
[Output Only] Last update timestamp in RFC3339 text format.
|
Modifier and Type | Method and Description |
---|---|
List<License> |
LicensesListResponse.getItems()
A list of License resources.
|
Modifier and Type | Method and Description |
---|---|
LicensesListResponse |
LicensesListResponse.setItems(List<License> items)
A list of License resources.
|
Copyright © 2011–2025 Google. All rights reserved.