[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Tpu V2 Client - Class QueueingPolicy (2.1.2)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.2 (latest)](/php/docs/reference/cloud-tpu/latest/V2.QueuedResource.QueueingPolicy)\n- [2.1.1](/php/docs/reference/cloud-tpu/2.1.1/V2.QueuedResource.QueueingPolicy)\n- [2.0.0](/php/docs/reference/cloud-tpu/2.0.0/V2.QueuedResource.QueueingPolicy)\n- [1.4.7](/php/docs/reference/cloud-tpu/1.4.7/V2.QueuedResource.QueueingPolicy)\n- [1.3.2](/php/docs/reference/cloud-tpu/1.3.2/V2.QueuedResource.QueueingPolicy)\n- [1.2.0](/php/docs/reference/cloud-tpu/1.2.0/V2.QueuedResource.QueueingPolicy)\n- [1.1.1](/php/docs/reference/cloud-tpu/1.1.1/V2.QueuedResource.QueueingPolicy)\n- [1.0.5](/php/docs/reference/cloud-tpu/1.0.5/V2.QueuedResource.QueueingPolicy) \nReference documentation and code samples for the Google Cloud Tpu V2 Client class QueueingPolicy.\n\nDefines the policy of the QueuedRequest.\n\nGenerated from protobuf message `google.cloud.tpu.v2.QueuedResource.QueueingPolicy`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Tpu \\\\ V2 \\\\ QueuedResource\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getValidUntilDuration\n\nOptional. A relative time after which resources should not be created.\n\nIf the request cannot be fulfilled by this time the request will be\nfailed.\n\n### hasValidUntilDuration\n\n### setValidUntilDuration\n\nOptional. A relative time after which resources should not be created.\n\nIf the request cannot be fulfilled by this time the request will be\nfailed.\n\n### getValidUntilTime\n\nOptional. An absolute time after which resources should not be created.\n\nIf the request cannot be fulfilled by this time the request will be\nfailed.\n\n### hasValidUntilTime\n\n### setValidUntilTime\n\nOptional. An absolute time after which resources should not be created.\n\nIf the request cannot be fulfilled by this time the request will be\nfailed.\n\n### getValidAfterDuration\n\nOptional. A relative time after which resources may be created.\n\n### hasValidAfterDuration\n\n### setValidAfterDuration\n\nOptional. A relative time after which resources may be created.\n\n### getValidAfterTime\n\nOptional. An absolute time after which resources may be created.\n\n### hasValidAfterTime\n\n### setValidAfterTime\n\nOptional. An absolute time after which resources may be created.\n\n### getValidInterval\n\nOptional. An absolute time interval within which resources may be\ncreated.\n\n### hasValidInterval\n\n### setValidInterval\n\nOptional. An absolute time interval within which resources may be\ncreated.\n\n### getStartTimingConstraints"]]