Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Google Cloud AlloyDB for PostgreSQL V1beta Client - Class InstanceType (0.1.3)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.1.3keyboard_arrow_down
Beta
This library is covered by the Pre-GA Offerings Terms
of the Terms of Service. Pre-GA libraries might have limited support,
and changes to pre-GA libraries might not be compatible with other pre-GA versions.
For more information, see the
launch stage descriptions .
Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1beta Client class InstanceType.
Type of an Instance
Protobuf type google.cloud.alloydb.v1beta.Instance.InstanceType
Methods
name
Parameter
Name
Description
value
mixed
value
Parameter
Name
Description
name
mixed
Constants
INSTANCE_TYPE_UNSPECIFIED
The type of the instance is unknown.
Generated from protobuf enum INSTANCE_TYPE_UNSPECIFIED = 0;
PRIMARY
PRIMARY instances support read and write operations.
Generated from protobuf enum PRIMARY = 1;
READ_POOL
READ POOL instances support read operations only. Each read pool instance
consists of one or more homogeneous nodes.
Read pool of size 1 can only have zonal availability.
Read pools with node count of 2 or more can have regional
availability (nodes are present in 2 or more zones in a region).
Generated from protobuf enum READ_POOL = 2;
SECONDARY
SECONDARY instances support read operations only. SECONDARY instance
is a cross-region read replica
Generated from protobuf enum SECONDARY = 3;
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-07-19 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-19 UTC."],[],[]]