Package | Description |
---|---|
com.google.cloud.compute.deprecated |
A client for Google Compute Engine – High-performance, scalable virtual machines.
|
Modifier and Type | Method and Description |
---|---|
LicenseId |
License.getLicenseId()
Returns the identity of the license.
|
static LicenseId |
LicenseId.of(String license)
Returns a license identity given the license name.
|
static LicenseId |
LicenseId.of(String project,
String license)
Returns a license identity given project and license names.
|
Modifier and Type | Method and Description |
---|---|
List<LicenseId> |
AttachedDisk.getLicenses()
Returns a list of publicly accessible licenses for the attached disk.
|
List<LicenseId> |
SnapshotInfo.getLicenses()
Returns all applicable publicly visible licenses.
|
List<LicenseId> |
DiskInfo.getLicenses()
Returns all applicable publicly visible licenses for the disk.
|
List<LicenseId> |
ImageInfo.getLicenses()
Returns all applicable publicly visible licenses.
|
Modifier and Type | Method and Description |
---|---|
License |
Compute.getLicense(LicenseId license,
Compute.LicenseOption... options)
Returns the requested license or
null if not found. |
Copyright © 2019 Google LLC. All rights reserved.