Interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder (3.45.0)

public static interface AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainerOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConsolidatedPolicy()

public abstract AnalyzerOrgPolicy getConsolidatedPolicy()

The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;

Returns
TypeDescription
AnalyzerOrgPolicy

The consolidatedPolicy.

getConsolidatedPolicyOrBuilder()

public abstract AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder()

The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;

Returns
TypeDescription
AnalyzerOrgPolicyOrBuilder

getEffectiveTags(int index)

public abstract EffectiveTagDetails getEffectiveTags(int index)

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
EffectiveTagDetails

getEffectiveTagsCount()

public abstract int getEffectiveTagsCount()

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;

Returns
TypeDescription
int

getEffectiveTagsList()

public abstract List<EffectiveTagDetails> getEffectiveTagsList()

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;

Returns
TypeDescription
List<EffectiveTagDetails>

getEffectiveTagsOrBuilder(int index)

public abstract EffectiveTagDetailsOrBuilder getEffectiveTagsOrBuilder(int index)

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;

Parameter
NameDescription
indexint
Returns
TypeDescription
EffectiveTagDetailsOrBuilder

getEffectiveTagsOrBuilderList()

public abstract List<? extends EffectiveTagDetailsOrBuilder> getEffectiveTagsOrBuilderList()

The effective tags on this resource.

repeated .google.cloud.asset.v1.EffectiveTagDetails effective_tags = 8;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1.EffectiveTagDetailsOrBuilder>

getFolders(int index)

public abstract String getFolders(int index)

The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.

repeated string folders = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The folders at the given index.

getFoldersBytes(int index)

public abstract ByteString getFoldersBytes(int index)

The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.

repeated string folders = 6;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the folders at the given index.

getFoldersCount()

public abstract int getFoldersCount()

The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.

repeated string folders = 6;

Returns
TypeDescription
int

The count of folders.

getFoldersList()

public abstract List<String> getFoldersList()

The folder(s) that this resource belongs to, in the format of folders/{FOLDER_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to one or more folders.

repeated string folders = 6;

Returns
TypeDescription
List<String>

A list containing the folders.

getFullResourceName()

public abstract String getFullResourceName()

The full resource name of an organization/folder/project resource.

string full_resource_name = 1;

Returns
TypeDescription
String

The fullResourceName.

getFullResourceNameBytes()

public abstract ByteString getFullResourceNameBytes()

The full resource name of an organization/folder/project resource.

string full_resource_name = 1;

Returns
TypeDescription
ByteString

The bytes for fullResourceName.

getOrganization()

public abstract String getOrganization()

The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.

string organization = 7;

Returns
TypeDescription
String

The organization.

getOrganizationBytes()

public abstract ByteString getOrganizationBytes()

The organization that this resource belongs to, in the format of organizations/{ORGANIZATION_NUMBER}. This field is available when the resource belongs (directly or cascadingly) to an organization.

string organization = 7;

Returns
TypeDescription
ByteString

The bytes for organization.

getParent()

public abstract String getParent()

The full resource name of the parent of AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name.

string parent = 2;

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The full resource name of the parent of AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.full_resource_name.

string parent = 2;

Returns
TypeDescription
ByteString

The bytes for parent.

getPolicyBundle(int index)

public abstract AnalyzerOrgPolicy getPolicyBundle(int index)

The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]. to the scope specified in the request.

If the constraint is defined with default policy, it will also appear in the list.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzerOrgPolicy

getPolicyBundleCount()

public abstract int getPolicyBundleCount()

The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]. to the scope specified in the request.

If the constraint is defined with default policy, it will also appear in the list.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;

Returns
TypeDescription
int

getPolicyBundleList()

public abstract List<AnalyzerOrgPolicy> getPolicyBundleList()

The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]. to the scope specified in the request.

If the constraint is defined with default policy, it will also appear in the list.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;

Returns
TypeDescription
List<AnalyzerOrgPolicy>

getPolicyBundleOrBuilder(int index)

public abstract AnalyzerOrgPolicyOrBuilder getPolicyBundleOrBuilder(int index)

The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]. to the scope specified in the request.

If the constraint is defined with default policy, it will also appear in the list.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
AnalyzerOrgPolicyOrBuilder

getPolicyBundleOrBuilderList()

public abstract List<? extends AnalyzerOrgPolicyOrBuilder> getPolicyBundleOrBuilderList()

The ordered list of all organization policies from the [AnalyzeOrgPoliciesResponse.OrgPolicyResult.consolidated_policy.attached_resource][]. to the scope specified in the request.

If the constraint is defined with default policy, it will also appear in the list.

repeated .google.cloud.asset.v1.AnalyzerOrgPolicy policy_bundle = 4;

Returns
TypeDescription
List<? extends com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder>

getProject()

public abstract String getProject()

The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.

string project = 5;

Returns
TypeDescription
String

The project.

getProjectBytes()

public abstract ByteString getProjectBytes()

The project that this resource belongs to, in the format of projects/{PROJECT_NUMBER}. This field is available when the resource belongs to a project.

string project = 5;

Returns
TypeDescription
ByteString

The bytes for project.

hasConsolidatedPolicy()

public abstract boolean hasConsolidatedPolicy()

The consolidated organization policy for the analyzed resource. The consolidated organization policy is computed by merging and evaluating AnalyzeOrgPolicyGovernedContainersResponse.GovernedContainer.policy_bundle. The evaluation will respect the organization policy hierarchy rules.

.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;

Returns
TypeDescription
boolean

Whether the consolidatedPolicy field is set.