public sealed class SetIamPolicyRequest : Protobuf.IMessage<SetIamPolicyRequest>, Protobuf.IBufferMessage
Request message for SetIamPolicy
method.
Implements
Protobuf.IBufferMessageNamespace
Google.Cloud.Iam.V1Assembly
Google.Cloud.Iam.V1.dll
Constructors
SetIamPolicyRequest()
public SetIamPolicyRequest()
SetIamPolicyRequest(SetIamPolicyRequest)
public SetIamPolicyRequest(SetIamPolicyRequest other)
Parameter | |
---|---|
Name | Description |
other | SetIamPolicyRequest |
Properties
Policy
public Policy Policy { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Policy |
Resource
public string Resource { get; set; }
REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
Property Value | |
---|---|
Type | Description |
String |
ResourceAsResourceName
public Api.Gax.IResourceName ResourceAsResourceName { get; set; }
-typed view over the Resource resource name property.
Property Value | |
---|---|
Type | Description |
Api.Gax.IResourceName |
UpdateMask
public Protobuf.WellKnownTypes.FieldMask UpdateMask { get; set; }
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"
Property Value | |
---|---|
Type | Description |
Protobuf.WellKnownTypes.FieldMask |