target.apidocs.com.google.api.services.accesscontextmanager.v1.AccessContextManager.AccessPolicies.ServicePerimeters.html Maven / Gradle / Ivy
AccessContextManager.AccessPolicies.ServicePerimeters (Access Context Manager API v1-rev20240923-2.0.0)
com.google.api.services.accesscontextmanager.v1
Class AccessContextManager.AccessPolicies.ServicePerimeters
- java.lang.Object
-
- com.google.api.services.accesscontextmanager.v1.AccessContextManager.AccessPolicies.ServicePerimeters
-
- Enclosing class:
- AccessContextManager.AccessPolicies
public class AccessContextManager.AccessPolicies.ServicePerimeters
extends Object
The "servicePerimeters" collection of methods.
-
-
Nested Class Summary
-
Constructor Summary
Constructors
Constructor and Description
ServicePerimeters()
-
Method Summary
-
-
Method Detail
-
commit
public AccessContextManager.AccessPolicies.ServicePerimeters.Commit commit(String parent,
CommitServicePerimetersRequest content)
throws IOException
Commits the dry-run specification for all the service perimeters in an access policy. A commit
operation on a service perimeter involves copying its `spec` field to the `status` field of the
service perimeter. Only service perimeters with `use_explicit_dry_run_spec` field set to true are
affected by a commit operation. The long-running operation from this RPC has a successful status
after the dry-run specifications for all the service perimeters have been committed. If a commit
fails, it causes the long-running operation to return an error response and the entire commit
operation is cancelled. When successful, the Operation.response field contains
CommitServicePerimetersResponse. The `dry_run` and the `spec` fields are cleared after a
successful commit operation.
Create a request for the method "servicePerimeters.commit".
This request holds the parameters needed by the accesscontextmanager server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Resource name for the parent Access Policy which owns all Service Perimeters in scope for
the commit operation. Format: `accessPolicies/{policy_id}`
content
- the CommitServicePerimetersRequest
- Returns:
- the request
- Throws:
IOException
-
create
public AccessContextManager.AccessPolicies.ServicePerimeters.Create create(String parent,
ServicePerimeter content)
throws IOException
Creates a service perimeter. The long-running operation from this RPC has a successful status
after the service perimeter propagates to long-lasting storage. If a service perimeter contains
errors, an error response is returned for the first error encountered.
Create a request for the method "servicePerimeters.create".
This request holds the parameters needed by the accesscontextmanager server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Resource name for the access policy which owns this Service Perimeter. Format:
`accessPolicies/{policy_id}`
content
- the ServicePerimeter
- Returns:
- the request
- Throws:
IOException
-
delete
public AccessContextManager.AccessPolicies.ServicePerimeters.Delete delete(String name)
throws IOException
Deletes a service perimeter based on the resource name. The long-running operation from this RPC
has a successful status after the service perimeter is removed from long-lasting storage.
Create a request for the method "servicePerimeters.delete".
This request holds the parameters needed by the accesscontextmanager server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name for the Service Perimeter. Format:
`accessPolicies/{policy_id}/servicePerimeters/{service_perimeter_id}`
- Returns:
- the request
- Throws:
IOException
-
get
public AccessContextManager.AccessPolicies.ServicePerimeters.Get get(String name)
throws IOException
Gets a service perimeter based on the resource name.
Create a request for the method "servicePerimeters.get".
This request holds the parameters needed by the accesscontextmanager server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. Resource name for the Service Perimeter. Format:
`accessPolicies/{policy_id}/servicePerimeters/{service_perimeters_id}`
- Returns:
- the request
- Throws:
IOException
-
list
public AccessContextManager.AccessPolicies.ServicePerimeters.List list(String parent)
throws IOException
Lists all service perimeters for an access policy.
Create a request for the method "servicePerimeters.list".
This request holds the parameters needed by the accesscontextmanager server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Resource name for the access policy to list Service Perimeters from. Format:
`accessPolicies/{policy_id}`
- Returns:
- the request
- Throws:
IOException
-
patch
public AccessContextManager.AccessPolicies.ServicePerimeters.Patch patch(String name,
ServicePerimeter content)
throws IOException
Updates a service perimeter. The long-running operation from this RPC has a successful status
after the service perimeter propagates to long-lasting storage. If a service perimeter contains
errors, an error response is returned for the first error encountered.
Create a request for the method "servicePerimeters.patch".
This request holds the parameters needed by the accesscontextmanager server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Identifier. Resource name for the `ServicePerimeter`. Format:
`accessPolicies/{access_policy}/servicePerimeters/{service_perimeter}`. The
`service_perimeter` component must begin with a letter, followed by alphanumeric
characters or `_`. After you create a `ServicePerimeter`, you cannot change its `name`.
content
- the ServicePerimeter
- Returns:
- the request
- Throws:
IOException
-
replaceAll
public AccessContextManager.AccessPolicies.ServicePerimeters.ReplaceAll replaceAll(String parent,
ReplaceServicePerimetersRequest content)
throws IOException
Replace all existing service perimeters in an access policy with the service perimeters provided.
This is done atomically. The long-running operation from this RPC has a successful status after
all replacements propagate to long-lasting storage. Replacements containing errors result in an
error response for the first error encountered. Upon an error, replacement are cancelled and
existing service perimeters are not affected. The Operation.response field contains
ReplaceServicePerimetersResponse.
Create a request for the method "servicePerimeters.replaceAll".
This request holds the parameters needed by the accesscontextmanager server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. Resource name for the access policy which owns these Service Perimeters. Format:
`accessPolicies/{policy_id}`
content
- the ReplaceServicePerimetersRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public AccessContextManager.AccessPolicies.ServicePerimeters.TestIamPermissions testIamPermissions(String resource,
TestIamPermissionsRequest content)
throws IOException
Returns the IAM permissions that the caller has on the specified Access Context Manager resource.
The resource can be an AccessPolicy, AccessLevel, or ServicePerimeter. This method does not
support other resources.
Create a request for the method "servicePerimeters.testIamPermissions".
This request holds the parameters needed by the accesscontextmanager server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the TestIamPermissionsRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy