| 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(String project,
      String license)Deletes the specified license. | 
| Compute.Licenses.Get | get(String project,
   String license)Returns the specified License resource. | 
| Compute.Licenses.GetIamPolicy | getIamPolicy(String project,
            String resource)Gets the access control policy for a resource. | 
| Compute.Licenses.Insert | insert(String project,
      License content)Create a License resource in the specified project. | 
| Compute.Licenses.List | list(String project)Retrieves the list of licenses available in the specified project. | 
| Compute.Licenses.SetIamPolicy | setIamPolicy(String project,
            String resource,
            GlobalSetPolicyRequest content)Sets the access control policy on the specified resource. | 
| Compute.Licenses.TestIamPermissions | testIamPermissions(String project,
                  String resource,
                  TestPermissionsRequest content)Returns permissions that a caller has on the specified resource. | 
public Compute.Licenses.Delete delete(String project, String license) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.license - Name of the license resource to delete.IOExceptionpublic Compute.Licenses.Get get(String project, String license) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.license - Name of the License resource to return.IOExceptionpublic Compute.Licenses.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.Licenses.Insert insert(String project, License content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.content - the LicenseIOExceptionpublic Compute.Licenses.List list(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.Licenses.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.Licenses.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–2022 Google. All rights reserved.