Class NodeSelector (0.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
NodeSelector
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
Hardware constraints configuration.
accelerator
str
Required. GPU accelerator type to attach to
an instance.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-09-02 UTC.
[[["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-02 UTC."],[],[],null,["# Class NodeSelector (0.10.19)\n\nVersion latestkeyboard_arrow_down\n\n- [0.10.19 (latest)](/python/docs/reference/run/latest/google.cloud.run_v2.types.NodeSelector)\n- [0.10.18](/python/docs/reference/run/0.10.18/google.cloud.run_v2.types.NodeSelector)\n- [0.9.1](/python/docs/reference/run/0.9.1/google.cloud.run_v2.types.NodeSelector)\n- [0.8.1](/python/docs/reference/run/0.8.1/google.cloud.run_v2.types.NodeSelector)\n- [0.7.1](/python/docs/reference/run/0.7.1/google.cloud.run_v2.types.NodeSelector)\n- [0.6.0](/python/docs/reference/run/0.6.0/google.cloud.run_v2.types.NodeSelector)\n- [0.5.0](/python/docs/reference/run/0.5.0/google.cloud.run_v2.types.NodeSelector)\n- [0.4.2](/python/docs/reference/run/0.4.2/google.cloud.run_v2.types.NodeSelector)\n- [0.3.0](/python/docs/reference/run/0.3.0/google.cloud.run_v2.types.NodeSelector)\n- [0.2.1](/python/docs/reference/run/0.2.1/google.cloud.run_v2.types.NodeSelector)\n- [0.1.0](/python/docs/reference/run/0.1.0/google.cloud.run_v2.types.NodeSelector) \n\n NodeSelector(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nHardware constraints configuration."]]