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`.
|
String |
getResource()
REQUIRED: The resource for which the policy is being specified.
|
com.google.protobuf.ByteString |
getResourceBytes()
REQUIRED: The resource for which the policy is being specified.
|
com.google.protobuf.FieldMask |
getUpdateMask()
OPTIONAL: A FieldMask specifying which fields of the policy to modify.
|
com.google.protobuf.FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
OPTIONAL: A FieldMask specifying which fields of the policy to modify.
|
boolean |
hasPolicy()
REQUIRED: The complete policy to be applied to the `resource`.
|
boolean |
hasUpdateMask()
OPTIONAL: A FieldMask specifying which fields of the policy to modify.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED];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 [(.google.api.field_behavior) = REQUIRED];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 [(.google.api.field_behavior) = REQUIRED];boolean hasUpdateMask()
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"`
.google.protobuf.FieldMask update_mask = 3;com.google.protobuf.FieldMask getUpdateMask()
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"`
.google.protobuf.FieldMask update_mask = 3;com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder()
OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: `paths: "bindings, etag"`
.google.protobuf.FieldMask update_mask = 3;Copyright © 2022 Google LLC. All rights reserved.