Package | Description |
---|---|
com.google.cloud.orgpolicy.v2 |
The interfaces provided are listed below, along with usage samples.
|
Modifier and Type | Method and Description |
---|---|
PolicyName |
PolicyName.Builder.build() |
PolicyName |
PolicyName.FolderPolicyBuilder.build() |
PolicyName |
PolicyName.OrganizationPolicyBuilder.build() |
static PolicyName |
PolicyName.of(String project,
String policy) |
static PolicyName |
PolicyName.ofFolderPolicyName(String folder,
String policy) |
static PolicyName |
PolicyName.ofOrganizationPolicyName(String organization,
String policy) |
static PolicyName |
PolicyName.ofProjectPolicyName(String project,
String policy) |
static PolicyName |
PolicyName.parse(String formattedString) |
Modifier and Type | Method and Description |
---|---|
static List<PolicyName> |
PolicyName.parseList(List<String> formattedStrings) |
Modifier and Type | Method and Description |
---|---|
void |
OrgPolicyClient.deletePolicy(PolicyName name)
Deletes a Policy.
|
Policy |
OrgPolicyClient.getEffectivePolicy(PolicyName name)
Gets the effective `Policy` on a resource.
|
Policy |
OrgPolicyClient.getPolicy(PolicyName name)
Gets a `Policy` on a resource.
|
Modifier and Type | Method and Description |
---|---|
static List<String> |
PolicyName.toStringList(List<PolicyName> values) |
Copyright © 2021 Google LLC. All rights reserved.