| Modifier and Type | Class and Description |
|---|---|
class |
Compute.LicenseCodes.Get |
class |
Compute.LicenseCodes.TestIamPermissions |
| Constructor and Description |
|---|
LicenseCodes() |
| Modifier and Type | Method and Description |
|---|---|
Compute.LicenseCodes.Get |
get(String project,
String licenseCode)
Return a specified license code.
|
Compute.LicenseCodes.TestIamPermissions |
testIamPermissions(String project,
String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.LicenseCodes.Get get(String project, String licenseCode) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.licenseCode - Number corresponding to the License code resource to return.IOExceptionpublic Compute.LicenseCodes.TestIamPermissions testIamPermissions(String project, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionCopyright © 2011–2019 Google. All rights reserved.