Class RecommendSpecRequest (1.122.0)

RecommendSpecRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for ModelService.RecommendSpec.

Attributes

Name Description
parent str
Required. The resource name of the Location from which to recommend specs. The users must have permission to make a call in the project. Format: projects/{project}/locations/{location}.
gcs_uri str
Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).
check_machine_availability bool
Optional. If true, check machine availability for the recommended regions. Only return the machine spec in regions where the machine is available.
check_user_quota bool
Optional. If true, check user quota for the recommended regions. Returns all the machine spec in regions they are available, and also the user quota state for each machine type in each region.

Methods

RecommendSpecRequest

RecommendSpecRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for ModelService.RecommendSpec.