public interface SetIamPolicyRequestOrBuilder
extends com.google.protobuf.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 policy is being specified.
|
com.google.protobuf.ByteString |
getResourceBytes()
REQUIRED: The resource for which 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, hasOneofjava.lang.String getResource()
REQUIRED: The resource for which policy is being specified.
Resource is usually specified as a path, such as,
projects/{project}/zones/{zone}/disks/{disk}.
optional string resource = 1;com.google.protobuf.ByteString getResourceBytes()
REQUIRED: The resource for which policy is being specified.
Resource is usually specified as a path, such as,
projects/{project}/zones/{zone}/disks/{disk}.
optional 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 in general a valid policy but certain services (like Projects) might reject them.
optional .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 in general a valid policy but certain services (like Projects) might reject them.
optional .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 in general a valid policy but certain services (like Projects) might reject them.
optional .google.iam.v1.Policy policy = 2;