public static final class AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder extends GeneratedMessageV3.Builder<AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder> implements AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAssetOrBuilder
Represents a Google Cloud asset(resource or IAM policy) governed by the
organization policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
Protobuf type
google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllPolicyBundle(Iterable<? extends AnalyzerOrgPolicy> values)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addAllPolicyBundle(Iterable<? extends AnalyzerOrgPolicy> values)
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
Name |
Description |
values |
Iterable<? extends com.google.cloud.asset.v1.AnalyzerOrgPolicy>
|
Returns
addPolicyBundle(AnalyzerOrgPolicy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addPolicyBundle(AnalyzerOrgPolicy value)
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
Returns
addPolicyBundle(AnalyzerOrgPolicy.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addPolicyBundle(AnalyzerOrgPolicy.Builder builderForValue)
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
Returns
addPolicyBundle(int index, AnalyzerOrgPolicy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addPolicyBundle(int index, AnalyzerOrgPolicy value)
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;
Parameters
Returns
addPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue)
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;
Parameters
Returns
addPolicyBundleBuilder()
public AnalyzerOrgPolicy.Builder addPolicyBundleBuilder()
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
addPolicyBundleBuilder(int index)
public AnalyzerOrgPolicy.Builder addPolicyBundleBuilder(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
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset build()
Returns
buildPartial()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset buildPartial()
Returns
clear()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clear()
Returns
Overrides
clearConsolidatedPolicy()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clearConsolidatedPolicy()
The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle.
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearGovernedAsset()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clearGovernedAsset()
Returns
clearGovernedIamPolicy()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clearGovernedIamPolicy()
An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
Returns
clearGovernedResource()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clearGovernedResource()
A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPolicyBundle()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clearPolicyBundle()
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
clone()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder clone()
Returns
Overrides
getConsolidatedPolicy()
public AnalyzerOrgPolicy getConsolidatedPolicy()
The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle.
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
Returns
getConsolidatedPolicyBuilder()
public AnalyzerOrgPolicy.Builder getConsolidatedPolicyBuilder()
The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle.
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
Returns
getConsolidatedPolicyOrBuilder()
public AnalyzerOrgPolicyOrBuilder getConsolidatedPolicyOrBuilder()
The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle.
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
Returns
getDefaultInstanceForType()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getGovernedAssetCase()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.GovernedAssetCase getGovernedAssetCase()
Returns
getGovernedIamPolicy()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy getGovernedIamPolicy()
An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
Returns
getGovernedIamPolicyBuilder()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder getGovernedIamPolicyBuilder()
An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
Returns
getGovernedIamPolicyOrBuilder()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicyOrBuilder getGovernedIamPolicyOrBuilder()
An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
Returns
getGovernedResource()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource getGovernedResource()
A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
Returns
getGovernedResourceBuilder()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder getGovernedResourceBuilder()
A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
Returns
getGovernedResourceOrBuilder()
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResourceOrBuilder getGovernedResourceOrBuilder()
A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
Returns
getPolicyBundle(int index)
public 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
Name |
Description |
index |
int
|
Returns
getPolicyBundleBuilder(int index)
public AnalyzerOrgPolicy.Builder getPolicyBundleBuilder(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
Name |
Description |
index |
int
|
Returns
getPolicyBundleBuilderList()
public List<AnalyzerOrgPolicy.Builder> getPolicyBundleBuilderList()
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
getPolicyBundleCount()
public 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
getPolicyBundleList()
public 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
getPolicyBundleOrBuilder(int index)
public 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
Name |
Description |
index |
int
|
Returns
getPolicyBundleOrBuilderList()
public 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
Type |
Description |
List<? extends com.google.cloud.asset.v1.AnalyzerOrgPolicyOrBuilder> |
|
hasConsolidatedPolicy()
public boolean hasConsolidatedPolicy()
The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle.
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
Returns
Type |
Description |
boolean |
Whether the consolidatedPolicy field is set.
|
hasGovernedIamPolicy()
public boolean hasGovernedIamPolicy()
An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
Returns
Type |
Description |
boolean |
Whether the governedIamPolicy field is set.
|
hasGovernedResource()
public boolean hasGovernedResource()
A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
Returns
Type |
Description |
boolean |
Whether the governedResource field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeConsolidatedPolicy(AnalyzerOrgPolicy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder mergeConsolidatedPolicy(AnalyzerOrgPolicy value)
The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle.
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
Parameter
Returns
mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder mergeFrom(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset other)
Parameter
Returns
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeGovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder mergeGovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy value)
An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
Parameter
Returns
mergeGovernedResource(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder mergeGovernedResource(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value)
A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removePolicyBundle(int index)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder removePolicyBundle(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
Name |
Description |
index |
int
|
Returns
setConsolidatedPolicy(AnalyzerOrgPolicy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setConsolidatedPolicy(AnalyzerOrgPolicy value)
The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle.
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
Parameter
Returns
setConsolidatedPolicy(AnalyzerOrgPolicy.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setConsolidatedPolicy(AnalyzerOrgPolicy.Builder builderForValue)
The consolidated policy for the analyzed asset. The consolidated
policy is computed by merging and evaluating
AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.policy_bundle.
The evaluation will respect the organization policy hierarchy
rules.
.google.cloud.asset.v1.AnalyzerOrgPolicy consolidated_policy = 3;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setGovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setGovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy value)
An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
Parameter
Returns
setGovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setGovernedIamPolicy(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy.Builder builderForValue)
An IAM policy governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedIamPolicy governed_iam_policy = 2;
Parameter
Returns
setGovernedResource(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setGovernedResource(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource value)
A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
Parameter
Returns
setGovernedResource(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setGovernedResource(AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource.Builder builderForValue)
A Google Cloud resource governed by the organization
policies of the
AnalyzeOrgPolicyGovernedAssetsRequest.constraint.
.google.cloud.asset.v1.AnalyzeOrgPolicyGovernedAssetsResponse.GovernedResource governed_resource = 1;
Parameter
Returns
setPolicyBundle(int index, AnalyzerOrgPolicy value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setPolicyBundle(int index, AnalyzerOrgPolicy value)
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;
Parameters
Returns
setPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setPolicyBundle(int index, AnalyzerOrgPolicy.Builder builderForValue)
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AnalyzeOrgPolicyGovernedAssetsResponse.GovernedAsset.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides