Package com.google.cloud.asset.v1
Interface BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo
,BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.Builder
- Enclosing class:
- BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy
public static interface BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getAttachedResource()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.com.google.protobuf.ByteString
getAttachedResourceBytes()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.com.google.iam.v1.Policy
getPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].com.google.iam.v1.PolicyOrBuilder
getPolicyOrBuilder()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].boolean
hasPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAttachedResource
String getAttachedResource()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
string attached_resource = 1;
- Returns:
- The attachedResource.
-
getAttachedResourceBytes
com.google.protobuf.ByteString getAttachedResourceBytes()
The full resource name the [policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy] is directly attached to.
string attached_resource = 1;
- Returns:
- The bytes for attachedResource.
-
hasPolicy
boolean hasPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
- Returns:
- Whether the policy field is set.
-
getPolicy
com.google.iam.v1.Policy getPolicy()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
- Returns:
- The policy.
-
getPolicyOrBuilder
com.google.iam.v1.PolicyOrBuilder getPolicyOrBuilder()
The IAM policy that's directly attached to the [attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource].
.google.iam.v1.Policy policy = 2;
-
-