| Modifier and Type | Class and Description |
|---|---|
class |
Compute.LicenseCodes.Get |
class |
Compute.LicenseCodes.GetIamPolicy |
class |
Compute.LicenseCodes.SetIamPolicy |
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.GetIamPolicy |
getIamPolicy(String project,
String resource)
Gets the access control policy for a resource.
|
Compute.LicenseCodes.SetIamPolicy |
setIamPolicy(String project,
String resource,
GlobalSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
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.GetIamPolicy getIamPolicy(String project, String resource) 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.IOExceptionpublic Compute.LicenseCodes.SetIamPolicy setIamPolicy(String project, String resource, GlobalSetPolicyRequest 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 GlobalSetPolicyRequestIOExceptionpublic 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–2020 Google. All rights reserved.