policy = $policy; } /** * @return Policy */ public function getPolicy() { return $this->policy; } /** * 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"` * * @param string $updateMask */ public function setUpdateMask($updateMask) { $this->updateMask = $updateMask; } /** * @return string */ public function getUpdateMask() { return $this->updateMask; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(SetIamPolicyRequest::class, 'Google_Service_DatabaseMigrationService_SetIamPolicyRequest');