public class Compute.Licenses
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
class |
Compute.Licenses.Delete |
class |
Compute.Licenses.Get |
class |
Compute.Licenses.GetIamPolicy |
class |
Compute.Licenses.Insert |
class |
Compute.Licenses.List |
class |
Compute.Licenses.SetIamPolicy |
class |
Compute.Licenses.TestIamPermissions |
| Constructor and Description |
|---|
Licenses() |
| Modifier and Type | Method and Description |
|---|---|
Compute.Licenses.Delete |
delete(java.lang.String project,
java.lang.String license)
Deletes the specified license.
|
Compute.Licenses.Get |
get(java.lang.String project,
java.lang.String license)
Returns the specified License resource.
|
Compute.Licenses.GetIamPolicy |
getIamPolicy(java.lang.String project,
java.lang.String resource)
Gets the access control policy for a resource.
|
Compute.Licenses.Insert |
insert(java.lang.String project,
License content)
Create a License resource in the specified project.
|
Compute.Licenses.List |
list(java.lang.String project)
Retrieves the list of licenses available in the specified project.
|
Compute.Licenses.SetIamPolicy |
setIamPolicy(java.lang.String project,
java.lang.String resource,
GlobalSetPolicyRequest content)
Sets the access control policy on the specified resource.
|
Compute.Licenses.TestIamPermissions |
testIamPermissions(java.lang.String project,
java.lang.String resource,
TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
|
public Compute.Licenses.Delete delete(java.lang.String project, java.lang.String license) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.license - Name of the license resource to delete.java.io.IOExceptionpublic Compute.Licenses.Get get(java.lang.String project, java.lang.String license) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.license - Name of the License resource to return.java.io.IOExceptionpublic Compute.Licenses.GetIamPolicy getIamPolicy(java.lang.String project, java.lang.String resource) 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.java.io.IOExceptionpublic Compute.Licenses.Insert insert(java.lang.String project, License content) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the Licensejava.io.IOExceptionpublic Compute.Licenses.List list(java.lang.String project) throws java.io.IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.java.io.IOExceptionpublic Compute.Licenses.SetIamPolicy setIamPolicy(java.lang.String project, java.lang.String resource, GlobalSetPolicyRequest 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 GlobalSetPolicyRequestjava.io.IOExceptionpublic Compute.Licenses.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