getPolicy
public BinaryAuthorization.Systempolicy.GetPolicy getPolicy(String name)
throws IOException
Gets the current system policy in the specified location.
Create a request for the method "systempolicy.getPolicy".
This request holds the parameters needed by the binaryauthorization server. After setting any
optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name, in the format `locations/policy`. Note that the system policy is not
associated with a project.
- Returns:
- the request
- Throws:
IOException