| Modifier and Type | Class and Description | 
|---|---|
class  | 
Compute.ResourcePolicies.AggregatedList  | 
class  | 
Compute.ResourcePolicies.Delete  | 
class  | 
Compute.ResourcePolicies.Get  | 
class  | 
Compute.ResourcePolicies.GetIamPolicy  | 
class  | 
Compute.ResourcePolicies.Insert  | 
class  | 
Compute.ResourcePolicies.List  | 
class  | 
Compute.ResourcePolicies.SetIamPolicy  | 
class  | 
Compute.ResourcePolicies.TestIamPermissions  | 
| Constructor and Description | 
|---|
ResourcePolicies()  | 
| Modifier and Type | Method and Description | 
|---|---|
Compute.ResourcePolicies.AggregatedList | 
aggregatedList(String project)
Retrieves an aggregated list of resource policies. 
 | 
Compute.ResourcePolicies.Delete | 
delete(String project,
      String region,
      String resourcePolicy)
Deletes the specified resource policy. 
 | 
Compute.ResourcePolicies.Get | 
get(String project,
   String region,
   String resourcePolicy)
Retrieves all information of the specified resource policy. 
 | 
Compute.ResourcePolicies.GetIamPolicy | 
getIamPolicy(String project,
            String region,
            String resource)
Gets the access control policy for a resource. 
 | 
Compute.ResourcePolicies.Insert | 
insert(String project,
      String region,
      ResourcePolicy content)
Creates a new resource policy. 
 | 
Compute.ResourcePolicies.List | 
list(String project,
    String region)
A list all the resource policies that have been configured for the specified project in specified
 region. 
 | 
Compute.ResourcePolicies.SetIamPolicy | 
setIamPolicy(String project,
            String region,
            String resource,
            RegionSetPolicyRequest content)
Sets the access control policy on the specified resource. 
 | 
Compute.ResourcePolicies.TestIamPermissions | 
testIamPermissions(String project,
                  String region,
                  String resource,
                  TestPermissionsRequest content)
Returns permissions that a caller has on the specified resource. 
 | 
public Compute.ResourcePolicies.AggregatedList aggregatedList(String project) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.IOExceptionpublic Compute.ResourcePolicies.Delete delete(String project, String region, String resourcePolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.resourcePolicy - Name of the resource policy to delete.IOExceptionpublic Compute.ResourcePolicies.Get get(String project, String region, String resourcePolicy) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.resourcePolicy - Name of the resource policy to retrieve.IOExceptionpublic Compute.ResourcePolicies.GetIamPolicy getIamPolicy(String project, String region, String resource) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.IOExceptionpublic Compute.ResourcePolicies.Insert insert(String project, String region, ResourcePolicy content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.content - the ResourcePolicyIOExceptionpublic Compute.ResourcePolicies.List list(String project, String region) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - Name of the region for this request.IOExceptionpublic Compute.ResourcePolicies.SetIamPolicy setIamPolicy(String project, String region, String resource, RegionSetPolicyRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the RegionSetPolicyRequestIOExceptionpublic Compute.ResourcePolicies.TestIamPermissions testIamPermissions(String project, String region, String resource, TestPermissionsRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.project - Project ID for this request.region - The name of the region for this request.resource - Name or id of the resource for this request.content - the TestPermissionsRequestIOExceptionCopyright © 2011–2020 Google. All rights reserved.