GetInstanceResult class
Result data returned by getInstance.
Constructors
-
GetInstanceResult({required String authorizedNetwork, required String createTime, required String discoveryEndpoint, required String displayName, required List<
InstanceMessageResponse> instanceMessages, required Map<String, String> labels, required GoogleCloudMemcacheV1MaintenancePolicyResponse maintenancePolicy, required MaintenanceScheduleResponse maintenanceSchedule, required String memcacheFullVersion, required List<NodeResponse> memcacheNodes, required String memcacheVersion, required String name, required NodeConfigResponse nodeConfig, required int nodeCount, required MemcacheParametersResponse parameters, required List<String> reservedIpRangeId, required String state, required String updateTime, required List<String> zones}) -
Creates a new GetInstanceResult.
authorizedNetworkThe full name of the Google Compute Engine network to which the instance is connected. If left unspecified, thedefaultnetwork will be used.createTimeThe time the instance was created.discoveryEndpointEndpoint for the Discovery API.displayNameUser provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.instanceMessagesList of messages that describe the current state of the Memcached instance.labelsResource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resourcesmaintenancePolicyThe maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.maintenanceSchedulePublished maintenance schedule.memcacheFullVersionThe full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".memcacheNodesList of Memcached nodes. Refer to Node message for more details.memcacheVersionThe major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version isMEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.nameUnique name of the resource in this scope including project and location using the form:projects/{project_id}/locations/{location_id}/instances/{instance_id}Note: Memcached instances are managed and addressed at the regional level solocation_idhere refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.nodeConfigConfiguration for Memcached nodes.nodeCountNumber of nodes in the Memcached instance.parametersUser defined parameters to apply to the memcached process on each node.reservedIpRangeIdOptional. Contains the id of allocated IP address ranges associated with the private service access connection for example, "test-default" associated with IP range 10.0.0.0/29.stateThe state of this Memcached instance.updateTimeThe time the instance was updated.zonesZones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.const -
GetInstanceResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
The full name of the Google Compute Engine network to which the instance is connected. If left unspecified, the
defaultnetwork will be used.final - createTime → String
-
The time the instance was created.
final
- discoveryEndpoint → String
-
Endpoint for the Discovery API.
final
- displayName → String
-
User provided name for the instance, which is only used for display purposes. Cannot be more than 80 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceMessages
→ List<
InstanceMessageResponse> -
List of messages that describe the current state of the Memcached instance.
final
-
labels
→ Map<
String, String> -
Resource labels to represent user-provided metadata. Refer to cloud documentation on labels for more details. https://cloud.google.com/compute/docs/labeling-resources
final
- maintenancePolicy → GoogleCloudMemcacheV1MaintenancePolicyResponse
-
The maintenance policy for the instance. If not provided, the maintenance event will be performed based on Memorystore internal rollout schedule.
final
- maintenanceSchedule → MaintenanceScheduleResponse
-
Published maintenance schedule.
final
- memcacheFullVersion → String
-
The full version of memcached server running on this instance. System automatically determines the full memcached version for an instance based on the input MemcacheVersion. The full version format will be "memcached-1.5.16".
final
-
memcacheNodes
→ List<
NodeResponse> -
List of Memcached nodes. Refer to Node message for more details.
final
- memcacheVersion → String
-
The major version of Memcached software. If not provided, latest supported version will be used. Currently the latest supported major version is
MEMCACHE_1_5. The minor version will be automatically determined by our system based on the latest supported minor version.final - name → String
-
Unique name of the resource in this scope including project and location using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}Note: Memcached instances are managed and addressed at the regional level solocation_idhere refers to a Google Cloud region; however, users may choose which zones Memcached nodes should be provisioned in within an instance. Refer to zones field for more details.final - nodeConfig → NodeConfigResponse
-
Configuration for Memcached nodes.
final
- nodeCount → int
-
Number of nodes in the Memcached instance.
final
- parameters → MemcacheParametersResponse
-
User defined parameters to apply to the memcached process on each node.
final
-
reservedIpRangeId
→ List<
String> -
Optional. Contains the id of allocated IP address ranges associated with the private service access connection for example, "test-default" associated with IP range 10.0.0.0/29.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → String
-
The state of this Memcached instance.
final
- updateTime → String
-
The time the instance was updated.
final
-
zones
→ List<
String> -
Zones in which Memcached nodes should be provisioned. Memcached nodes will be equally distributed across these zones. If not provided, the service will by default create nodes in all zones in the region for the instance.
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