Class SetIamPolicyRequest

public sealed class SetIamPolicyRequest : IMessage<SetIamPolicyRequest>, IEquatable<SetIamPolicyRequest>, IDeepCloneable<SetIamPolicyRequest>, IBufferMessage, IMessage

Request message for SetIamPolicy method.

Inheritance

Object > SetIamPolicyRequest

Namespace

Google.Cloud.Iam.V1

Assembly

Google.Cloud.Iam.V1.dll

Constructors

SetIamPolicyRequest()

public SetIamPolicyRequest()

SetIamPolicyRequest(SetIamPolicyRequest)

public SetIamPolicyRequest(SetIamPolicyRequest other)
Parameter
NameDescription
otherSetIamPolicyRequest

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
TypeDescription
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
TypeDescription
String

ResourceAsResourceName

public IResourceName ResourceAsResourceName { get; set; }

IResourceName-typed view over the Resource resource name property.

Property Value
TypeDescription
IResourceName