public class BinaryAuthorization.Projects extends Object
Modifier and Type | Class and Description |
---|---|
class |
BinaryAuthorization.Projects.Attestors
The "attestors" collection of methods.
|
class |
BinaryAuthorization.Projects.GetPolicy |
class |
BinaryAuthorization.Projects.Policy
The "policy" collection of methods.
|
class |
BinaryAuthorization.Projects.UpdatePolicy |
Constructor and Description |
---|
Projects() |
Modifier and Type | Method and Description |
---|---|
BinaryAuthorization.Projects.Attestors |
attestors()
An accessor for creating requests from the Attestors collection.
|
BinaryAuthorization.Projects.GetPolicy |
getPolicy(String name)
A policy specifies the attestors that must attest to a container image, before the project is
allowed to deploy that image.
|
BinaryAuthorization.Projects.Policy |
policy()
An accessor for creating requests from the Policy collection.
|
BinaryAuthorization.Projects.UpdatePolicy |
updatePolicy(String name,
Policy content)
Creates or updates a project's policy, and returns a copy of the new policy.
|
public BinaryAuthorization.Projects.GetPolicy getPolicy(String name) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.name
- Required. The resource name of the policy to retrieve, in the format `projects/policy`.IOException
public BinaryAuthorization.Projects.UpdatePolicy updatePolicy(String name, Policy content) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.name
- Output only. The resource name, in the format `projects/policy`. There is at most one policy per
project.content
- the Policy
IOException
public BinaryAuthorization.Projects.Attestors attestors()
The typical use is:
BinaryAuthorization binaryauthorization = new BinaryAuthorization(...);
BinaryAuthorization.Attestors.List request = binaryauthorization.attestors().list(parameters ...)
public BinaryAuthorization.Projects.Policy policy()
The typical use is:
BinaryAuthorization binaryauthorization = new BinaryAuthorization(...);
BinaryAuthorization.Policy.List request = binaryauthorization.policy().list(parameters ...)
Copyright © 2011–2024 Google. All rights reserved.