GetPersistentResourceResult class
Result data returned by getPersistentResource.
Constructors
-
GetPersistentResourceResult({required String createTime, required String displayName, required GoogleCloudAiplatformV1beta1EncryptionSpecResponse encryptionSpec, required GoogleRpcStatusResponseAiplatformV1beta1 error, required Map<
String, String> labels, required String name, required String network, required List<String> reservedIpRanges, required List<GoogleCloudAiplatformV1beta1ResourcePoolResponse> resourcePools, required GoogleCloudAiplatformV1beta1ResourceRuntimeResponse resourceRuntime, required GoogleCloudAiplatformV1beta1ResourceRuntimeSpecResponse resourceRuntimeSpec, required String startTime, required String state, required String updateTime}) -
Creates a new GetPersistentResourceResult.
createTimeTime when the PersistentResource was created.displayNameOptional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters.encryptionSpecOptional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key.errorOnly populated when persistent resource's state isSTOPPINGorERROR.labelsOptional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.nameImmutable. Resource name of a PersistentResource.networkOptional. The full name of the Compute Engine network to peered with Vertex AI to host the persistent resources. For example,projects/12345/global/networks/myVPC. Format is of the formprojects/{project}/global/networks/{network}. Where {project} is a project number, as in12345, and {network} is a network name. To specify this field, you must have already configured VPC Network Peering for Vertex AI. If this field is left unspecified, the resources aren't peered with any network.reservedIpRangesOptional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example:'vertex-ai-ip-range'.resourcePoolsThe spec of the pools of different resources.resourceRuntimeRuntime information of the Persistent Resource.resourceRuntimeSpecOptional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.startTimeTime when the PersistentResource for the first time entered theRUNNINGstate.stateThe detailed state of a Study.updateTimeTime when the PersistentResource was most recently updated.const -
GetPersistentResourceResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- createTime → String
-
Time when the PersistentResource was created.
final
- displayName → String
-
Optional. The display name of the PersistentResource. The name can be up to 128 characters long and can consist of any UTF-8 characters.
final
- encryptionSpec → GoogleCloudAiplatformV1beta1EncryptionSpecResponse
-
Optional. Customer-managed encryption key spec for a PersistentResource. If set, this PersistentResource and all sub-resources of this PersistentResource will be secured by this key.
final
- error → GoogleRpcStatusResponseAiplatformV1beta1
-
Only populated when persistent resource's state is
STOPPINGorERROR.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
→ Map<
String, String> -
Optional. The labels with user-defined metadata to organize PersistentResource. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. See https://goo.gl/xmQnxf for more information and examples of labels.
final
- name → String
-
Immutable. Resource name of a PersistentResource.
final
- network → String
-
Optional. The full name of the Compute Engine network to peered with Vertex AI to host the persistent resources. For example,
projects/12345/global/networks/myVPC. Format is of the formprojects/{project}/global/networks/{network}. Where {project} is a project number, as in12345, and {network} is a network name. To specify this field, you must have already configured VPC Network Peering for Vertex AI. If this field is left unspecified, the resources aren't peered with any network.final -
reservedIpRanges
→ List<
String> -
Optional. A list of names for the reserved IP ranges under the VPC network that can be used for this persistent resource. If set, we will deploy the persistent resource within the provided IP ranges. Otherwise, the persistent resource is deployed to any IP ranges under the provided VPC network. Example:
'vertex-ai-ip-range'.final -
resourcePools
→ List<
GoogleCloudAiplatformV1beta1ResourcePoolResponse> -
The spec of the pools of different resources.
final
- resourceRuntime → GoogleCloudAiplatformV1beta1ResourceRuntimeResponse
-
Runtime information of the Persistent Resource.
final
- resourceRuntimeSpec → GoogleCloudAiplatformV1beta1ResourceRuntimeSpecResponse
-
Optional. Persistent Resource runtime spec. For example, used for Ray cluster configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → String
-
Time when the PersistentResource for the first time entered the
RUNNINGstate.final - state → String
-
The detailed state of a Study.
final
- updateTime → String
-
Time when the PersistentResource was most recently updated.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited