public class Compute.LicenseCodes
extends java.lang.Object
| 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(java.lang.String project,
java.lang.String licenseCode)
Return a specified license code.
|
Compute.LicenseCodes.TestIamPermissions |
testIamPermissions(java.lang.String project,
java.lang.String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.LicenseCodes.Get get(java.lang.String project, java.lang.String licenseCode) throws java.io.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.java.io.IOExceptionpublic Compute.LicenseCodes.TestIamPermissions testIamPermissions(java.lang.String project, java.lang.String resource, TestPermissionsRequest content) throws java.io.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 TestPermissionsRequestjava.io.IOException