/// <summary>Constructs a new SetIamPolicy request.</summary> public SetIamPolicyRequest(Google.Apis.Services.IClientService service, Google.Apis.ServiceBroker.v1.Data.GoogleIamV1SetIamPolicyRequest body, string resource) : base(service) { Resource = resource; Body = body; InitParameters(); }
/// <summary>Sets the access control policy on the specified resource. Replaces any existing policy.</summary> /// <param name="body">The body of the request.</param> /// <param name="resource">REQUIRED: The resource for which the policy is being specified. See the operation /// documentation for the appropriate value for this field.</param> public virtual SetIamPolicyRequest SetIamPolicy(Google.Apis.ServiceBroker.v1.Data.GoogleIamV1SetIamPolicyRequest body, string resource) { return(new SetIamPolicyRequest(service, body, resource)); }