RecommendSpecRequest class final

Request message for ModelService.RecommendSpec.

Inheritance
  • Object
  • ProtoMessage
  • RecommendSpecRequest

Constructors

RecommendSpecRequest({required String parent, required String gcsUri, bool checkMachineAvailability = false, bool checkUserQuota = false})
RecommendSpecRequest.fromJson(Object? j)
factory

Properties

checkMachineAvailability bool
Optional. If true, check machine availability for the recommended regions. Only return the machine spec in regions where the machine is available.
final
checkUserQuota 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.
final
gcsUri String
Required. The Google Cloud Storage URI of the custom model, storing weights and config files (which can be used to infer the base model).
final
hashCode int
The hash code for this object.
no setterinherited
parent String
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}.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String