public interface SetIamPolicyRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Policy |
getPolicy()
REQUIRED: The complete policy to be applied to the `resource`.
|
PolicyOrBuilder |
getPolicyOrBuilder()
REQUIRED: The complete policy to be applied to the `resource`.
|
java.lang.String |
getResource()
REQUIRED: The resource for which the policy is being specified.
|
ByteString |
getResourceBytes()
REQUIRED: The resource for which the policy is being specified.
|
boolean |
hasPolicy()
REQUIRED: The complete policy to be applied to the `resource`.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.lang.String getResource()
REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
string resource = 1;
ByteString getResourceBytes()
REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
string resource = 1;
boolean hasPolicy()
REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;
Policy getPolicy()
REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;
PolicyOrBuilder getPolicyOrBuilder()
REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them.
.google.iam.v1.Policy policy = 2;