Class SetIamPolicyRequest
Request message for SetIamPolicy method.
Inheritance
System.Object
SetIamPolicyRequest
Implements
System.IEquatable<SetIamPolicyRequest>
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.Iam.V1
Assembly: Google.Cloud.Iam.V1.dll
Syntax
public sealed class SetIamPolicyRequest : IMessage<SetIamPolicyRequest>, IMessage, IEquatable<SetIamPolicyRequest>, IDeepCloneable<SetIamPolicyRequest>
Constructors
SetIamPolicyRequest()
Declaration
public SetIamPolicyRequest()
SetIamPolicyRequest(SetIamPolicyRequest)
Declaration
public SetIamPolicyRequest(SetIamPolicyRequest other)
Parameters
| Type | Name | Description |
|---|---|---|
| SetIamPolicyRequest | other |
Properties
Policy
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.
Declaration
public Policy Policy { get; set; }
Property Value
| Type | Description |
|---|---|
| Policy |
Resource
REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
Declaration
public string Resource { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ResourceAsResourceName
IResourceName-typed view over the Resource resource name property.
Declaration
public IResourceName ResourceAsResourceName { get; set; }
Property Value
| Type | Description |
|---|---|
| IResourceName |