Package cloud.google.com/go/alloydb/apiv1alpha/alloydbpb (v0.2.1)

Variables

DatabaseVersion_name, DatabaseVersion_value

var (
	DatabaseVersion_name = map[int32]string{
		0: "DATABASE_VERSION_UNSPECIFIED",
		1: "POSTGRES_13",
		2: "POSTGRES_14",
	}
	DatabaseVersion_value = map[string]int32{
		"DATABASE_VERSION_UNSPECIFIED": 0,
		"POSTGRES_13":                  1,
		"POSTGRES_14":                  2,
	}
)

Enum value maps for DatabaseVersion.

InstanceView_name, InstanceView_value

var (
	InstanceView_name = map[int32]string{
		0: "INSTANCE_VIEW_UNSPECIFIED",
		1: "INSTANCE_VIEW_BASIC",
		2: "INSTANCE_VIEW_FULL",
	}
	InstanceView_value = map[string]int32{
		"INSTANCE_VIEW_UNSPECIFIED": 0,
		"INSTANCE_VIEW_BASIC":       1,
		"INSTANCE_VIEW_FULL":        2,
	}
)

Enum value maps for InstanceView.

MigrationSource_MigrationSourceType_name, MigrationSource_MigrationSourceType_value

var (
	MigrationSource_MigrationSourceType_name = map[int32]string{
		0: "MIGRATION_SOURCE_TYPE_UNSPECIFIED",
		1: "DMS",
	}
	MigrationSource_MigrationSourceType_value = map[string]int32{
		"MIGRATION_SOURCE_TYPE_UNSPECIFIED": 0,
		"DMS":                               1,
	}
)

Enum value maps for MigrationSource_MigrationSourceType.

EncryptionInfo_Type_name, EncryptionInfo_Type_value

var (
	EncryptionInfo_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "GOOGLE_DEFAULT_ENCRYPTION",
		2: "CUSTOMER_MANAGED_ENCRYPTION",
	}
	EncryptionInfo_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED":            0,
		"GOOGLE_DEFAULT_ENCRYPTION":   1,
		"CUSTOMER_MANAGED_ENCRYPTION": 2,
	}
)

Enum value maps for EncryptionInfo_Type.

SslConfig_SslMode_name, SslConfig_SslMode_value

var (
	SslConfig_SslMode_name = map[int32]string{
		0: "SSL_MODE_UNSPECIFIED",
		1: "SSL_MODE_ALLOW",
		2: "SSL_MODE_REQUIRE",
		3: "SSL_MODE_VERIFY_CA",
	}
	SslConfig_SslMode_value = map[string]int32{
		"SSL_MODE_UNSPECIFIED": 0,
		"SSL_MODE_ALLOW":       1,
		"SSL_MODE_REQUIRE":     2,
		"SSL_MODE_VERIFY_CA":   3,
	}
)

Enum value maps for SslConfig_SslMode.

SslConfig_CaSource_name, SslConfig_CaSource_value

var (
	SslConfig_CaSource_name = map[int32]string{
		0: "CA_SOURCE_UNSPECIFIED",
		1: "CA_SOURCE_MANAGED",
	}
	SslConfig_CaSource_value = map[string]int32{
		"CA_SOURCE_UNSPECIFIED": 0,
		"CA_SOURCE_MANAGED":     1,
	}
)

Enum value maps for SslConfig_CaSource.

Cluster_State_name, Cluster_State_value

var (
	Cluster_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "READY",
		2: "STOPPED",
		3: "EMPTY",
		4: "CREATING",
		5: "DELETING",
		6: "FAILED",
		7: "BOOTSTRAPPING",
		8: "MAINTENANCE",
		9: "PROMOTING",
	}
	Cluster_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"READY":             1,
		"STOPPED":           2,
		"EMPTY":             3,
		"CREATING":          4,
		"DELETING":          5,
		"FAILED":            6,
		"BOOTSTRAPPING":     7,
		"MAINTENANCE":       8,
		"PROMOTING":         9,
	}
)

Enum value maps for Cluster_State.

Cluster_ClusterType_name, Cluster_ClusterType_value

var (
	Cluster_ClusterType_name = map[int32]string{
		0: "CLUSTER_TYPE_UNSPECIFIED",
		1: "PRIMARY",
		2: "SECONDARY",
	}
	Cluster_ClusterType_value = map[string]int32{
		"CLUSTER_TYPE_UNSPECIFIED": 0,
		"PRIMARY":                  1,
		"SECONDARY":                2,
	}
)

Enum value maps for Cluster_ClusterType.

Instance_State_name, Instance_State_value

var (
	Instance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "READY",
		2: "STOPPED",
		3: "CREATING",
		4: "DELETING",
		5: "MAINTENANCE",
		6: "FAILED",
		8: "BOOTSTRAPPING",
		9: "PROMOTING",
	}
	Instance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"READY":             1,
		"STOPPED":           2,
		"CREATING":          3,
		"DELETING":          4,
		"MAINTENANCE":       5,
		"FAILED":            6,
		"BOOTSTRAPPING":     8,
		"PROMOTING":         9,
	}
)

Enum value maps for Instance_State.

Instance_InstanceType_name, Instance_InstanceType_value

var (
	Instance_InstanceType_name = map[int32]string{
		0: "INSTANCE_TYPE_UNSPECIFIED",
		1: "PRIMARY",
		2: "READ_POOL",
		3: "SECONDARY",
	}
	Instance_InstanceType_value = map[string]int32{
		"INSTANCE_TYPE_UNSPECIFIED": 0,
		"PRIMARY":                   1,
		"READ_POOL":                 2,
		"SECONDARY":                 3,
	}
)

Enum value maps for Instance_InstanceType.

Instance_AvailabilityType_name, Instance_AvailabilityType_value

var (
	Instance_AvailabilityType_name = map[int32]string{
		0: "AVAILABILITY_TYPE_UNSPECIFIED",
		1: "ZONAL",
		2: "REGIONAL",
	}
	Instance_AvailabilityType_value = map[string]int32{
		"AVAILABILITY_TYPE_UNSPECIFIED": 0,
		"ZONAL":                         1,
		"REGIONAL":                      2,
	}
)

Enum value maps for Instance_AvailabilityType.

Backup_State_name, Backup_State_value

var (
	Backup_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "READY",
		2: "CREATING",
		3: "FAILED",
		4: "DELETING",
	}
	Backup_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"READY":             1,
		"CREATING":          2,
		"FAILED":            3,
		"DELETING":          4,
	}
)

Enum value maps for Backup_State.

Backup_Type_name, Backup_Type_value

var (
	Backup_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "ON_DEMAND",
		2: "AUTOMATED",
		3: "CONTINUOUS",
	}
	Backup_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"ON_DEMAND":        1,
		"AUTOMATED":        2,
		"CONTINUOUS":       3,
	}
)

Enum value maps for Backup_Type.

SupportedDatabaseFlag_ValueType_name, SupportedDatabaseFlag_ValueType_value

var (
	SupportedDatabaseFlag_ValueType_name = map[int32]string{
		0: "VALUE_TYPE_UNSPECIFIED",
		1: "STRING",
		2: "INTEGER",
		3: "FLOAT",
		4: "NONE",
	}
	SupportedDatabaseFlag_ValueType_value = map[string]int32{
		"VALUE_TYPE_UNSPECIFIED": 0,
		"STRING":                 1,
		"INTEGER":                2,
		"FLOAT":                  3,
		"NONE":                   4,
	}
)

Enum value maps for SupportedDatabaseFlag_ValueType.

BatchCreateInstanceStatus_State_name, BatchCreateInstanceStatus_State_value

var (
	BatchCreateInstanceStatus_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "PENDING_CREATE",
		2: "READY",
		3: "CREATING",
		4: "DELETING",
		5: "FAILED",
		6: "ROLLED_BACK",
	}
	BatchCreateInstanceStatus_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"PENDING_CREATE":    1,
		"READY":             2,
		"CREATING":          3,
		"DELETING":          4,
		"FAILED":            5,
		"ROLLED_BACK":       6,
	}
)

Enum value maps for BatchCreateInstanceStatus_State.

File_google_cloud_alloydb_v1alpha_resources_proto

var File_google_cloud_alloydb_v1alpha_resources_proto protoreflect.FileDescriptor

File_google_cloud_alloydb_v1alpha_service_proto

var File_google_cloud_alloydb_v1alpha_service_proto protoreflect.FileDescriptor

Functions

func RegisterAlloyDBAdminServer

func RegisterAlloyDBAdminServer(s *grpc.Server, srv AlloyDBAdminServer)

AlloyDBAdminClient

type AlloyDBAdminClient interface {
	// Lists Clusters in a given project and location.
	ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	// Gets details of a single Cluster.
	GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	// Creates a new Cluster in a given project and location.
	CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Cluster.
	UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single Cluster.
	DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Promotes a SECONDARY cluster. This turns down replication
	// from the PRIMARY cluster and promotes a secondary cluster
	// into its own standalone cluster.
	// Imperative only.
	PromoteCluster(ctx context.Context, in *PromoteClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates a new Cluster in a given project and location, with a volume
	// restored from the provided source, either a backup ID or a point-in-time
	// and a source cluster.
	RestoreCluster(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates a cluster of type SECONDARY in the given location using
	// the primary cluster as the source.
	CreateSecondaryCluster(ctx context.Context, in *CreateSecondaryClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists Instances in a given project and location.
	ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
	// Gets details of a single Instance.
	GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
	// Creates a new Instance in a given project and location.
	CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates a new SECONDARY Instance in a given project and location.
	CreateSecondaryInstance(ctx context.Context, in *CreateSecondaryInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Creates new instances under the given project, location and cluster.
	// There can be only one primary instance in a cluster. If the primary
	// instance exists in the cluster as well as this request, then API will
	// throw an error.
	// The primary instance should exist before any read pool instance is
	// created. If the primary instance is a part of the request payload, then
	// the API will take care of creating instances in the correct order.
	// This method is here to support Google-internal use cases, and is not meant
	// for external customers to consume. Please do not start relying on it; its
	// behavior is subject to change without notice.
	BatchCreateInstances(ctx context.Context, in *BatchCreateInstancesRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Instance.
	UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single Instance.
	DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Forces a Failover for a highly available instance.
	// Failover promotes the HA standby instance as the new primary.
	// Imperative only.
	FailoverInstance(ctx context.Context, in *FailoverInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Restart an Instance in a cluster.
	// Imperative only.
	RestartInstance(ctx context.Context, in *RestartInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists Backups in a given project and location.
	ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
	// Gets details of a single Backup.
	GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	// Creates a new Backup in a given project and location.
	CreateBackup(ctx context.Context, in *CreateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Backup.
	UpdateBackup(ctx context.Context, in *UpdateBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single Backup.
	DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Lists SupportedDatabaseFlags for a given project and location.
	ListSupportedDatabaseFlags(ctx context.Context, in *ListSupportedDatabaseFlagsRequest, opts ...grpc.CallOption) (*ListSupportedDatabaseFlagsResponse, error)
	// Generate a client certificate signed by a Cluster CA.
	// The sole purpose of this endpoint is to support the Auth Proxy client and
	// the endpoint's behavior is subject to change without notice, so do not rely
	// on its behavior remaining constant. Future changes will not break the Auth
	// Proxy client.
	GenerateClientCertificate(ctx context.Context, in *GenerateClientCertificateRequest, opts ...grpc.CallOption) (*GenerateClientCertificateResponse, error)
	// Get instance metadata used for a connection.
	GetConnectionInfo(ctx context.Context, in *GetConnectionInfoRequest, opts ...grpc.CallOption) (*ConnectionInfo, error)
}

AlloyDBAdminClient is the client API for AlloyDBAdmin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAlloyDBAdminClient

func NewAlloyDBAdminClient(cc grpc.ClientConnInterface) AlloyDBAdminClient

AlloyDBAdminServer

type AlloyDBAdminServer interface {
	// Lists Clusters in a given project and location.
	ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	// Gets details of a single Cluster.
	GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
	// Creates a new Cluster in a given project and location.
	CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Cluster.
	UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
	// Deletes a single Cluster.
	DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
	// Promotes a SECONDARY cluster. This turns down replication
	// from the PRIMARY cluster and promotes a secondary cluster
	// into its own standalone cluster.
	// Imperative only.
	PromoteCluster(context.Context, *PromoteClusterRequest) (*longrunningpb.Operation, error)
	// Creates a new Cluster in a given project and location, with a volume
	// restored from the provided source, either a backup ID or a point-in-time
	// and a source cluster.
	RestoreCluster(context.Context, *RestoreClusterRequest) (*longrunningpb.Operation, error)
	// Creates a cluster of type SECONDARY in the given location using
	// the primary cluster as the source.
	CreateSecondaryCluster(context.Context, *CreateSecondaryClusterRequest) (*longrunningpb.Operation, error)
	// Lists Instances in a given project and location.
	ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
	// Gets details of a single Instance.
	GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
	// Creates a new Instance in a given project and location.
	CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
	// Creates a new SECONDARY Instance in a given project and location.
	CreateSecondaryInstance(context.Context, *CreateSecondaryInstanceRequest) (*longrunningpb.Operation, error)
	// Creates new instances under the given project, location and cluster.
	// There can be only one primary instance in a cluster. If the primary
	// instance exists in the cluster as well as this request, then API will
	// throw an error.
	// The primary instance should exist before any read pool instance is
	// created. If the primary instance is a part of the request payload, then
	// the API will take care of creating instances in the correct order.
	// This method is here to support Google-internal use cases, and is not meant
	// for external customers to consume. Please do not start relying on it; its
	// behavior is subject to change without notice.
	BatchCreateInstances(context.Context, *BatchCreateInstancesRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Instance.
	UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)
	// Deletes a single Instance.
	DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
	// Forces a Failover for a highly available instance.
	// Failover promotes the HA standby instance as the new primary.
	// Imperative only.
	FailoverInstance(context.Context, *FailoverInstanceRequest) (*longrunningpb.Operation, error)
	// Restart an Instance in a cluster.
	// Imperative only.
	RestartInstance(context.Context, *RestartInstanceRequest) (*longrunningpb.Operation, error)
	// Lists Backups in a given project and location.
	ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
	// Gets details of a single Backup.
	GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
	// Creates a new Backup in a given project and location.
	CreateBackup(context.Context, *CreateBackupRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Backup.
	UpdateBackup(context.Context, *UpdateBackupRequest) (*longrunningpb.Operation, error)
	// Deletes a single Backup.
	DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
	// Lists SupportedDatabaseFlags for a given project and location.
	ListSupportedDatabaseFlags(context.Context, *ListSupportedDatabaseFlagsRequest) (*ListSupportedDatabaseFlagsResponse, error)
	// Generate a client certificate signed by a Cluster CA.
	// The sole purpose of this endpoint is to support the Auth Proxy client and
	// the endpoint's behavior is subject to change without notice, so do not rely
	// on its behavior remaining constant. Future changes will not break the Auth
	// Proxy client.
	GenerateClientCertificate(context.Context, *GenerateClientCertificateRequest) (*GenerateClientCertificateResponse, error)
	// Get instance metadata used for a connection.
	GetConnectionInfo(context.Context, *GetConnectionInfoRequest) (*ConnectionInfo, error)
}

AlloyDBAdminServer is the server API for AlloyDBAdmin service.

AutomatedBackupPolicy

type AutomatedBackupPolicy struct {
	Schedule isAutomatedBackupPolicy_Schedule `protobuf_oneof:"schedule"`

	Retention isAutomatedBackupPolicy_Retention `protobuf_oneof:"retention"`

	Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`

	BackupWindow *durationpb.Duration `protobuf:"bytes,3,opt,name=backup_window,json=backupWindow,proto3" json:"backup_window,omitempty"`

	EncryptionConfig *EncryptionConfig `protobuf:"bytes,8,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`

	Location string `protobuf:"bytes,6,opt,name=location,proto3" json:"location,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

}

Message describing the user-specified automated backup policy.

All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

func (*AutomatedBackupPolicy) Descriptor

func (*AutomatedBackupPolicy) Descriptor() ([]byte, []int)

Deprecated: Use AutomatedBackupPolicy.ProtoReflect.Descriptor instead.

func (*AutomatedBackupPolicy) GetBackupWindow

func (x *AutomatedBackupPolicy) GetBackupWindow() *durationpb.Duration

func (*AutomatedBackupPolicy) GetEnabled

func (x *AutomatedBackupPolicy) GetEnabled() bool

func (*AutomatedBackupPolicy) GetEncryptionConfig

func (x *AutomatedBackupPolicy) GetEncryptionConfig() *EncryptionConfig

func (*AutomatedBackupPolicy) GetLabels

func (x *AutomatedBackupPolicy) GetLabels() map[string]string

func (*AutomatedBackupPolicy) GetLocation

func (x *AutomatedBackupPolicy) GetLocation() string

func (*AutomatedBackupPolicy) GetQuantityBasedRetention

func (*AutomatedBackupPolicy) GetRetention

func (m *AutomatedBackupPolicy) GetRetention() isAutomatedBackupPolicy_Retention

func (*AutomatedBackupPolicy) GetSchedule

func (m *AutomatedBackupPolicy) GetSchedule() isAutomatedBackupPolicy_Schedule

func (*AutomatedBackupPolicy) GetTimeBasedRetention

func (*AutomatedBackupPolicy) GetWeeklySchedule

func (*AutomatedBackupPolicy) ProtoMessage

func (*AutomatedBackupPolicy) ProtoMessage()

func (*AutomatedBackupPolicy) ProtoReflect

func (x *AutomatedBackupPolicy) ProtoReflect() protoreflect.Message

func (*AutomatedBackupPolicy) Reset

func (x *AutomatedBackupPolicy) Reset()

func (*AutomatedBackupPolicy) String

func (x *AutomatedBackupPolicy) String() string

AutomatedBackupPolicy_QuantityBasedRetention

type AutomatedBackupPolicy_QuantityBasedRetention struct {

	// The number of backups to retain.
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

func (*AutomatedBackupPolicy_QuantityBasedRetention) Descriptor

Deprecated: Use AutomatedBackupPolicy_QuantityBasedRetention.ProtoReflect.Descriptor instead.

func (*AutomatedBackupPolicy_QuantityBasedRetention) GetCount

func (*AutomatedBackupPolicy_QuantityBasedRetention) ProtoMessage

func (*AutomatedBackupPolicy_QuantityBasedRetention) ProtoReflect

func (*AutomatedBackupPolicy_QuantityBasedRetention) Reset

func (*AutomatedBackupPolicy_QuantityBasedRetention) String

AutomatedBackupPolicy_QuantityBasedRetention_

type AutomatedBackupPolicy_QuantityBasedRetention_ struct {
	// Quantity-based Backup retention policy to retain recent backups.
	QuantityBasedRetention *AutomatedBackupPolicy_QuantityBasedRetention `protobuf:"bytes,5,opt,name=quantity_based_retention,json=quantityBasedRetention,proto3,oneof"`
}

AutomatedBackupPolicy_TimeBasedRetention

type AutomatedBackupPolicy_TimeBasedRetention struct {

	// The retention period.
	RetentionPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=retention_period,json=retentionPeriod,proto3" json:"retention_period,omitempty"`
	// contains filtered or unexported fields
}

A time based retention policy specifies that all backups within a certain time period should be retained.

func (*AutomatedBackupPolicy_TimeBasedRetention) Descriptor

func (*AutomatedBackupPolicy_TimeBasedRetention) Descriptor() ([]byte, []int)

Deprecated: Use AutomatedBackupPolicy_TimeBasedRetention.ProtoReflect.Descriptor instead.

func (*AutomatedBackupPolicy_TimeBasedRetention) GetRetentionPeriod

func (*AutomatedBackupPolicy_TimeBasedRetention) ProtoMessage

func (*AutomatedBackupPolicy_TimeBasedRetention) ProtoReflect

func (*AutomatedBackupPolicy_TimeBasedRetention) Reset

func (*AutomatedBackupPolicy_TimeBasedRetention) String

AutomatedBackupPolicy_TimeBasedRetention_

type AutomatedBackupPolicy_TimeBasedRetention_ struct {
	// Time-based Backup retention policy.
	TimeBasedRetention *AutomatedBackupPolicy_TimeBasedRetention `protobuf:"bytes,4,opt,name=time_based_retention,json=timeBasedRetention,proto3,oneof"`
}

AutomatedBackupPolicy_WeeklySchedule

type AutomatedBackupPolicy_WeeklySchedule struct {
	StartTimes []*timeofday.TimeOfDay `protobuf:"bytes,1,rep,name=start_times,json=startTimes,proto3" json:"start_times,omitempty"`

	DaysOfWeek []dayofweek.DayOfWeek "" /* 128 byte string literal not displayed */

}

A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week.

The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the start_times field to have one element "22:00" and the days_of_week field to have all seven days of the week.

func (*AutomatedBackupPolicy_WeeklySchedule) Descriptor

func (*AutomatedBackupPolicy_WeeklySchedule) Descriptor() ([]byte, []int)

Deprecated: Use AutomatedBackupPolicy_WeeklySchedule.ProtoReflect.Descriptor instead.

func (*AutomatedBackupPolicy_WeeklySchedule) GetDaysOfWeek

func (*AutomatedBackupPolicy_WeeklySchedule) GetStartTimes

func (*AutomatedBackupPolicy_WeeklySchedule) ProtoMessage

func (*AutomatedBackupPolicy_WeeklySchedule) ProtoMessage()

func (*AutomatedBackupPolicy_WeeklySchedule) ProtoReflect

func (*AutomatedBackupPolicy_WeeklySchedule) Reset

func (*AutomatedBackupPolicy_WeeklySchedule) String

AutomatedBackupPolicy_WeeklySchedule_

type AutomatedBackupPolicy_WeeklySchedule_ struct {
	// Weekly schedule for the Backup.
	WeeklySchedule *AutomatedBackupPolicy_WeeklySchedule `protobuf:"bytes,2,opt,name=weekly_schedule,json=weeklySchedule,proto3,oneof"`
}

Backup

type Backup struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	State Backup_State `protobuf:"varint,7,opt,name=state,proto3,enum=google.cloud.alloydb.v1alpha.Backup_State" json:"state,omitempty"`

	Type Backup_Type `protobuf:"varint,8,opt,name=type,proto3,enum=google.cloud.alloydb.v1alpha.Backup_Type" json:"type,omitempty"`

	Description string `protobuf:"bytes,9,opt,name=description,proto3" json:"description,omitempty"`

	ClusterUid string `protobuf:"bytes,18,opt,name=cluster_uid,json=clusterUid,proto3" json:"cluster_uid,omitempty"`

	ClusterName string `protobuf:"bytes,10,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`

	Reconciling bool `protobuf:"varint,11,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	EncryptionConfig *EncryptionConfig `protobuf:"bytes,12,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`

	EncryptionInfo *EncryptionInfo `protobuf:"bytes,13,opt,name=encryption_info,json=encryptionInfo,proto3" json:"encryption_info,omitempty"`

	Etag string `protobuf:"bytes,14,opt,name=etag,proto3" json:"etag,omitempty"`

	Annotations map[string]string "" /* 164 byte string literal not displayed */

	SizeBytes int64 `protobuf:"varint,17,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`

	ExpiryTime *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=expiry_time,json=expiryTime,proto3" json:"expiry_time,omitempty"`

}

Message describing Backup object

func (*Backup) Descriptor

func (*Backup) Descriptor() ([]byte, []int)

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetAnnotations

func (x *Backup) GetAnnotations() map[string]string

func (*Backup) GetClusterName

func (x *Backup) GetClusterName() string

func (*Backup) GetClusterUid

func (x *Backup) GetClusterUid() string

func (*Backup) GetCreateTime

func (x *Backup) GetCreateTime() *timestamppb.Timestamp

func (*Backup) GetDeleteTime

func (x *Backup) GetDeleteTime() *timestamppb.Timestamp

func (*Backup) GetDescription

func (x *Backup) GetDescription() string

func (*Backup) GetDisplayName

func (x *Backup) GetDisplayName() string

func (*Backup) GetEncryptionConfig

func (x *Backup) GetEncryptionConfig() *EncryptionConfig

func (*Backup) GetEncryptionInfo

func (x *Backup) GetEncryptionInfo() *EncryptionInfo

func (*Backup) GetEtag

func (x *Backup) GetEtag() string

func (*Backup) GetExpiryTime

func (x *Backup) GetExpiryTime() *timestamppb.Timestamp

func (*Backup) GetLabels

func (x *Backup) GetLabels() map[string]string

func (*Backup) GetName

func (x *Backup) GetName() string

func (*Backup) GetReconciling

func (x *Backup) GetReconciling() bool

func (*Backup) GetSizeBytes

func (x *Backup) GetSizeBytes() int64

func (*Backup) GetState

func (x *Backup) GetState() Backup_State

func (*Backup) GetType

func (x *Backup) GetType() Backup_Type

func (*Backup) GetUid

func (x *Backup) GetUid() string

func (*Backup) GetUpdateTime

func (x *Backup) GetUpdateTime() *timestamppb.Timestamp

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

func (x *Backup) ProtoReflect() protoreflect.Message

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) String

func (x *Backup) String() string

BackupSource

type BackupSource struct {

	// Output only. The system-generated UID of the backup which was used to
	// create this resource. The UID is generated when the backup is created, and
	// it is retained until the backup is deleted.
	BackupUid string `protobuf:"bytes,2,opt,name=backup_uid,json=backupUid,proto3" json:"backup_uid,omitempty"`
	// Required. The name of the backup resource with the format:
	//   - projects/{project}/locations/{region}/backups/{backup_id}
	BackupName string `protobuf:"bytes,1,opt,name=backup_name,json=backupName,proto3" json:"backup_name,omitempty"`
	// contains filtered or unexported fields
}

Message describing a BackupSource.

func (*BackupSource) Descriptor

func (*BackupSource) Descriptor() ([]byte, []int)

Deprecated: Use BackupSource.ProtoReflect.Descriptor instead.

func (*BackupSource) GetBackupName

func (x *BackupSource) GetBackupName() string

func (*BackupSource) GetBackupUid

func (x *BackupSource) GetBackupUid() string

func (*BackupSource) ProtoMessage

func (*BackupSource) ProtoMessage()

func (*BackupSource) ProtoReflect

func (x *BackupSource) ProtoReflect() protoreflect.Message

func (*BackupSource) Reset

func (x *BackupSource) Reset()

func (*BackupSource) String

func (x *BackupSource) String() string

Backup_State

type Backup_State int32

Backup State

Backup_STATE_UNSPECIFIED, Backup_READY, Backup_CREATING, Backup_FAILED, Backup_DELETING

const (
	// The state of the backup is unknown.
	Backup_STATE_UNSPECIFIED Backup_State = 0
	// The backup is ready.
	Backup_READY Backup_State = 1
	// The backup is creating.
	Backup_CREATING Backup_State = 2
	// The backup failed.
	Backup_FAILED Backup_State = 3
	// The backup is being deleted.
	Backup_DELETING Backup_State = 4
)

func (Backup_State) Descriptor

func (Backup_State) Enum

func (x Backup_State) Enum() *Backup_State

func (Backup_State) EnumDescriptor

func (Backup_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Backup_State.Descriptor instead.

func (Backup_State) Number

func (Backup_State) String

func (x Backup_State) String() string

func (Backup_State) Type

Backup_Type

type Backup_Type int32

Backup Type

Backup_TYPE_UNSPECIFIED, Backup_ON_DEMAND, Backup_AUTOMATED, Backup_CONTINUOUS

const (
	// Backup Type is unknown.
	Backup_TYPE_UNSPECIFIED Backup_Type = 0
	// ON_DEMAND backups that were triggered by the customer (e.g., not
	// AUTOMATED).
	Backup_ON_DEMAND Backup_Type = 1
	// AUTOMATED backups triggered by the automated backups scheduler pursuant
	// to an automated backup policy.
	Backup_AUTOMATED Backup_Type = 2
	// CONTINUOUS backups triggered by the automated backups scheduler
	// due to a continuous backup policy.
	Backup_CONTINUOUS Backup_Type = 3
)

func (Backup_Type) Descriptor

func (Backup_Type) Enum

func (x Backup_Type) Enum() *Backup_Type

func (Backup_Type) EnumDescriptor

func (Backup_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Backup_Type.Descriptor instead.

func (Backup_Type) Number

func (x Backup_Type) Number() protoreflect.EnumNumber

func (Backup_Type) String

func (x Backup_Type) String() string

func (Backup_Type) Type

BatchCreateInstanceStatus

type BatchCreateInstanceStatus struct {
	State BatchCreateInstanceStatus_State "" /* 130 byte string literal not displayed */

	ErrorMsg string `protobuf:"bytes,2,opt,name=error_msg,json=errorMsg,proto3" json:"error_msg,omitempty"`

	Error *status.Status        `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	Type  Instance_InstanceType `protobuf:"varint,3,opt,name=type,proto3,enum=google.cloud.alloydb.v1alpha.Instance_InstanceType" json:"type,omitempty"`

}

Message for current status of an instance in the BatchCreateInstances operation. For example, lets say a BatchCreateInstances workflow has 4 instances, Instance1 through Instance4. Lets also assume that 2 instances succeeded but the third failed to create and the 4th was never picked up for creation because of failure of the previous one. Then, resulting states would look something like:

  1. Instance1 = ROLLED_BACK
  2. Instance2 = ROLLED_BACK
  3. Instance3 = FAILED
  4. Instance4 = FAILED

However, while the operation is running, the instance might be in other states including PENDING_CREATE, ACTIVE, DELETING and CREATING. The states / do not get further updated once the operation is done.

func (*BatchCreateInstanceStatus) Descriptor

func (*BatchCreateInstanceStatus) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateInstanceStatus.ProtoReflect.Descriptor instead.

func (*BatchCreateInstanceStatus) GetError

func (x *BatchCreateInstanceStatus) GetError() *status.Status

func (*BatchCreateInstanceStatus) GetErrorMsg

func (x *BatchCreateInstanceStatus) GetErrorMsg() string

func (*BatchCreateInstanceStatus) GetState

func (*BatchCreateInstanceStatus) GetType

func (*BatchCreateInstanceStatus) ProtoMessage

func (*BatchCreateInstanceStatus) ProtoMessage()

func (*BatchCreateInstanceStatus) ProtoReflect

func (*BatchCreateInstanceStatus) Reset

func (x *BatchCreateInstanceStatus) Reset()

func (*BatchCreateInstanceStatus) String

func (x *BatchCreateInstanceStatus) String() string

BatchCreateInstanceStatus_State

type BatchCreateInstanceStatus_State int32

State contains all valid instance states for the BatchCreateInstances operation. This is mainly used for status reporting through the LRO metadata.

BatchCreateInstanceStatus_STATE_UNSPECIFIED, BatchCreateInstanceStatus_PENDING_CREATE, BatchCreateInstanceStatus_READY, BatchCreateInstanceStatus_CREATING, BatchCreateInstanceStatus_DELETING, BatchCreateInstanceStatus_FAILED, BatchCreateInstanceStatus_ROLLED_BACK

const (
	// The state of the instance is unknown.
	BatchCreateInstanceStatus_STATE_UNSPECIFIED BatchCreateInstanceStatus_State = 0
	// Instance is pending creation and has not yet been picked up for
	// processsing in the backend.
	BatchCreateInstanceStatus_PENDING_CREATE BatchCreateInstanceStatus_State = 1
	// The instance is active and running.
	BatchCreateInstanceStatus_READY BatchCreateInstanceStatus_State = 2
	// The instance is being created.
	BatchCreateInstanceStatus_CREATING BatchCreateInstanceStatus_State = 3
	// The instance is being deleted.
	BatchCreateInstanceStatus_DELETING BatchCreateInstanceStatus_State = 4
	// The creation of the instance failed or a fatal error occurred during
	// an operation on the instance or a batch of instances.
	BatchCreateInstanceStatus_FAILED BatchCreateInstanceStatus_State = 5
	// The instance was created successfully, but was rolled back and deleted
	// due to some other failure during BatchCreateInstances operation.
	BatchCreateInstanceStatus_ROLLED_BACK BatchCreateInstanceStatus_State = 6
)

func (BatchCreateInstanceStatus_State) Descriptor

func (BatchCreateInstanceStatus_State) Enum

func (BatchCreateInstanceStatus_State) EnumDescriptor

func (BatchCreateInstanceStatus_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use BatchCreateInstanceStatus_State.Descriptor instead.

func (BatchCreateInstanceStatus_State) Number

func (BatchCreateInstanceStatus_State) String

func (BatchCreateInstanceStatus_State) Type

BatchCreateInstancesMetadata

type BatchCreateInstancesMetadata struct {
	InstanceTargets []string `protobuf:"bytes,1,rep,name=instance_targets,json=instanceTargets,proto3" json:"instance_targets,omitempty"`

	InstanceStatuses map[string]*BatchCreateInstanceStatus "" /* 197 byte string literal not displayed */

}

Message for metadata that is specific to BatchCreateInstances API.

func (*BatchCreateInstancesMetadata) Descriptor

func (*BatchCreateInstancesMetadata) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateInstancesMetadata.ProtoReflect.Descriptor instead.

func (*BatchCreateInstancesMetadata) GetInstanceStatuses

func (x *BatchCreateInstancesMetadata) GetInstanceStatuses() map[string]*BatchCreateInstanceStatus

func (*BatchCreateInstancesMetadata) GetInstanceTargets

func (x *BatchCreateInstancesMetadata) GetInstanceTargets() []string

func (*BatchCreateInstancesMetadata) ProtoMessage

func (*BatchCreateInstancesMetadata) ProtoMessage()

func (*BatchCreateInstancesMetadata) ProtoReflect

func (*BatchCreateInstancesMetadata) Reset

func (x *BatchCreateInstancesMetadata) Reset()

func (*BatchCreateInstancesMetadata) String

BatchCreateInstancesRequest

type BatchCreateInstancesRequest struct {

	// Required. The name of the parent resource.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Resources being created.
	Requests *CreateInstanceRequests `protobuf:"bytes,2,opt,name=requests,proto3" json:"requests,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a batch of instances under the specified cluster.

func (*BatchCreateInstancesRequest) Descriptor

func (*BatchCreateInstancesRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateInstancesRequest.ProtoReflect.Descriptor instead.

func (*BatchCreateInstancesRequest) GetParent

func (x *BatchCreateInstancesRequest) GetParent() string

func (*BatchCreateInstancesRequest) GetRequestId

func (x *BatchCreateInstancesRequest) GetRequestId() string

func (*BatchCreateInstancesRequest) GetRequests

func (*BatchCreateInstancesRequest) ProtoMessage

func (*BatchCreateInstancesRequest) ProtoMessage()

func (*BatchCreateInstancesRequest) ProtoReflect

func (*BatchCreateInstancesRequest) Reset

func (x *BatchCreateInstancesRequest) Reset()

func (*BatchCreateInstancesRequest) String

func (x *BatchCreateInstancesRequest) String() string

BatchCreateInstancesResponse

type BatchCreateInstancesResponse struct {

	// Created instances.
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// contains filtered or unexported fields
}

Message for creating batches of instances in a cluster.

func (*BatchCreateInstancesResponse) Descriptor

func (*BatchCreateInstancesResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchCreateInstancesResponse.ProtoReflect.Descriptor instead.

func (*BatchCreateInstancesResponse) GetInstances

func (x *BatchCreateInstancesResponse) GetInstances() []*Instance

func (*BatchCreateInstancesResponse) ProtoMessage

func (*BatchCreateInstancesResponse) ProtoMessage()

func (*BatchCreateInstancesResponse) ProtoReflect

func (*BatchCreateInstancesResponse) Reset

func (x *BatchCreateInstancesResponse) Reset()

func (*BatchCreateInstancesResponse) String

Cluster

type Cluster struct {
	Source isCluster_Source `protobuf_oneof:"source"`

	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	State Cluster_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.alloydb.v1alpha.Cluster_State" json:"state,omitempty"`

	ClusterType Cluster_ClusterType "" /* 150 byte string literal not displayed */

	DatabaseVersion DatabaseVersion "" /* 157 byte string literal not displayed */

	Network string `protobuf:"bytes,10,opt,name=network,proto3" json:"network,omitempty"`

	Etag string `protobuf:"bytes,11,opt,name=etag,proto3" json:"etag,omitempty"`

	Annotations map[string]string "" /* 164 byte string literal not displayed */

	Reconciling bool `protobuf:"varint,13,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	InitialUser *UserPassword `protobuf:"bytes,14,opt,name=initial_user,json=initialUser,proto3" json:"initial_user,omitempty"`

	AutomatedBackupPolicy *AutomatedBackupPolicy "" /* 127 byte string literal not displayed */

	SslConfig *SslConfig `protobuf:"bytes,18,opt,name=ssl_config,json=sslConfig,proto3" json:"ssl_config,omitempty"`

	EncryptionConfig *EncryptionConfig `protobuf:"bytes,19,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`

	EncryptionInfo *EncryptionInfo `protobuf:"bytes,20,opt,name=encryption_info,json=encryptionInfo,proto3" json:"encryption_info,omitempty"`

	ContinuousBackupConfig *ContinuousBackupConfig "" /* 130 byte string literal not displayed */

	ContinuousBackupInfo *ContinuousBackupInfo `protobuf:"bytes,28,opt,name=continuous_backup_info,json=continuousBackupInfo,proto3" json:"continuous_backup_info,omitempty"`

	SecondaryConfig *Cluster_SecondaryConfig `protobuf:"bytes,22,opt,name=secondary_config,json=secondaryConfig,proto3" json:"secondary_config,omitempty"`

	PrimaryConfig *Cluster_PrimaryConfig `protobuf:"bytes,23,opt,name=primary_config,json=primaryConfig,proto3" json:"primary_config,omitempty"`

}

A cluster is a collection of regional AlloyDB resources. It can include a primary instance and one or more read pool instances. All cluster resources share a storage layer, which scales as needed.

func (*Cluster) Descriptor

func (*Cluster) Descriptor() ([]byte, []int)

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetAnnotations

func (x *Cluster) GetAnnotations() map[string]string

func (*Cluster) GetAutomatedBackupPolicy

func (x *Cluster) GetAutomatedBackupPolicy() *AutomatedBackupPolicy

func (*Cluster) GetBackupSource

func (x *Cluster) GetBackupSource() *BackupSource

func (*Cluster) GetClusterType

func (x *Cluster) GetClusterType() Cluster_ClusterType

func (*Cluster) GetContinuousBackupConfig

func (x *Cluster) GetContinuousBackupConfig() *ContinuousBackupConfig

func (*Cluster) GetContinuousBackupInfo

func (x *Cluster) GetContinuousBackupInfo() *ContinuousBackupInfo

func (*Cluster) GetCreateTime

func (x *Cluster) GetCreateTime() *timestamppb.Timestamp

func (*Cluster) GetDatabaseVersion

func (x *Cluster) GetDatabaseVersion() DatabaseVersion

func (*Cluster) GetDeleteTime

func (x *Cluster) GetDeleteTime() *timestamppb.Timestamp

func (*Cluster) GetDisplayName

func (x *Cluster) GetDisplayName() string

func (*Cluster) GetEncryptionConfig

func (x *Cluster) GetEncryptionConfig() *EncryptionConfig

func (*Cluster) GetEncryptionInfo

func (x *Cluster) GetEncryptionInfo() *EncryptionInfo

func (*Cluster) GetEtag

func (x *Cluster) GetEtag() string

func (*Cluster) GetInitialUser

func (x *Cluster) GetInitialUser() *UserPassword

func (*Cluster) GetLabels

func (x *Cluster) GetLabels() map[string]string

func (*Cluster) GetMigrationSource

func (x *Cluster) GetMigrationSource() *MigrationSource

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetNetwork

func (x *Cluster) GetNetwork() string

func (*Cluster) GetPrimaryConfig

func (x *Cluster) GetPrimaryConfig() *Cluster_PrimaryConfig

func (*Cluster) GetReconciling

func (x *Cluster) GetReconciling() bool

func (*Cluster) GetSecondaryConfig

func (x *Cluster) GetSecondaryConfig() *Cluster_SecondaryConfig

func (*Cluster) GetSource

func (m *Cluster) GetSource() isCluster_Source

func (*Cluster) GetSslConfig

func (x *Cluster) GetSslConfig() *SslConfig

func (*Cluster) GetState

func (x *Cluster) GetState() Cluster_State

func (*Cluster) GetUid

func (x *Cluster) GetUid() string

func (*Cluster) GetUpdateTime

func (x *Cluster) GetUpdateTime() *timestamppb.Timestamp

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

func (x *Cluster) ProtoReflect() protoreflect.Message

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) String

func (x *Cluster) String() string

Cluster_BackupSource

type Cluster_BackupSource struct {
	// Output only. Cluster created from backup.
	BackupSource *BackupSource `protobuf:"bytes,15,opt,name=backup_source,json=backupSource,proto3,oneof"`
}

Cluster_ClusterType

type Cluster_ClusterType int32

Type of Cluster

Cluster_CLUSTER_TYPE_UNSPECIFIED, Cluster_PRIMARY, Cluster_SECONDARY

const (
	// The type of the cluster is unknown.
	Cluster_CLUSTER_TYPE_UNSPECIFIED Cluster_ClusterType = 0
	// Primary cluster that support read and write operations.
	Cluster_PRIMARY Cluster_ClusterType = 1
	// Secondary cluster that is replicating from another region.
	// This only supports read.
	Cluster_SECONDARY Cluster_ClusterType = 2
)

func (Cluster_ClusterType) Descriptor

func (Cluster_ClusterType) Enum

func (Cluster_ClusterType) EnumDescriptor

func (Cluster_ClusterType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_ClusterType.Descriptor instead.

func (Cluster_ClusterType) Number

func (Cluster_ClusterType) String

func (x Cluster_ClusterType) String() string

func (Cluster_ClusterType) Type

Cluster_MigrationSource

type Cluster_MigrationSource struct {
	// Output only. Cluster created via DMS migration.
	MigrationSource *MigrationSource `protobuf:"bytes,16,opt,name=migration_source,json=migrationSource,proto3,oneof"`
}

Cluster_PrimaryConfig

type Cluster_PrimaryConfig struct {

	// Output only. Names of the clusters that are replicating from this
	// cluster.
	SecondaryClusterNames []string `protobuf:"bytes,1,rep,name=secondary_cluster_names,json=secondaryClusterNames,proto3" json:"secondary_cluster_names,omitempty"`
	// contains filtered or unexported fields
}

Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.

func (*Cluster_PrimaryConfig) Descriptor

func (*Cluster_PrimaryConfig) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_PrimaryConfig.ProtoReflect.Descriptor instead.

func (*Cluster_PrimaryConfig) GetSecondaryClusterNames

func (x *Cluster_PrimaryConfig) GetSecondaryClusterNames() []string

func (*Cluster_PrimaryConfig) ProtoMessage

func (*Cluster_PrimaryConfig) ProtoMessage()

func (*Cluster_PrimaryConfig) ProtoReflect

func (x *Cluster_PrimaryConfig) ProtoReflect() protoreflect.Message

func (*Cluster_PrimaryConfig) Reset

func (x *Cluster_PrimaryConfig) Reset()

func (*Cluster_PrimaryConfig) String

func (x *Cluster_PrimaryConfig) String() string

Cluster_SecondaryConfig

type Cluster_SecondaryConfig struct {

	// The name of the primary cluster name with the format:
	// * projects/{project}/locations/{region}/clusters/{cluster_id}
	PrimaryClusterName string `protobuf:"bytes,1,opt,name=primary_cluster_name,json=primaryClusterName,proto3" json:"primary_cluster_name,omitempty"`
	// contains filtered or unexported fields
}

Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.

func (*Cluster_SecondaryConfig) Descriptor

func (*Cluster_SecondaryConfig) Descriptor() ([]byte, []int)

Deprecated: Use Cluster_SecondaryConfig.ProtoReflect.Descriptor instead.

func (*Cluster_SecondaryConfig) GetPrimaryClusterName

func (x *Cluster_SecondaryConfig) GetPrimaryClusterName() string

func (*Cluster_SecondaryConfig) ProtoMessage

func (*Cluster_SecondaryConfig) ProtoMessage()

func (*Cluster_SecondaryConfig) ProtoReflect

func (x *Cluster_SecondaryConfig) ProtoReflect() protoreflect.Message

func (*Cluster_SecondaryConfig) Reset

func (x *Cluster_SecondaryConfig) Reset()

func (*Cluster_SecondaryConfig) String

func (x *Cluster_SecondaryConfig) String() string

Cluster_State

type Cluster_State int32

Cluster State

Cluster_STATE_UNSPECIFIED, Cluster_READY, Cluster_STOPPED, Cluster_EMPTY, Cluster_CREATING, Cluster_DELETING, Cluster_FAILED, Cluster_BOOTSTRAPPING, Cluster_MAINTENANCE, Cluster_PROMOTING

const (
	// The state of the cluster is unknown.
	Cluster_STATE_UNSPECIFIED Cluster_State = 0
	// The cluster is active and running.
	Cluster_READY Cluster_State = 1
	// The cluster is stopped. All instances in the cluster are stopped.
	// Customers can start a stopped cluster at any point and all their
	// instances will come back to life with same names and IP resources. In
	// this state, customer pays for storage.
	// Associated backups could also be present in a stopped cluster.
	Cluster_STOPPED Cluster_State = 2
	// The cluster is empty and has no associated resources.
	// All instances, associated storage and backups have been deleted.
	Cluster_EMPTY Cluster_State = 3
	// The cluster is being created.
	Cluster_CREATING Cluster_State = 4
	// The cluster is being deleted.
	Cluster_DELETING Cluster_State = 5
	// The creation of the cluster failed.
	Cluster_FAILED Cluster_State = 6
	// The cluster is bootstrapping with data from some other source.
	// Direct mutations to the cluster (e.g. adding read pool) are not allowed.
	Cluster_BOOTSTRAPPING Cluster_State = 7
	// The cluster is under maintenance. AlloyDB regularly performs maintenance
	// and upgrades on customer clusters. Updates on the cluster are
	// not allowed while the cluster is in this state.
	Cluster_MAINTENANCE Cluster_State = 8
	// The cluster is being promoted.
	Cluster_PROMOTING Cluster_State = 9
)

func (Cluster_State) Descriptor

func (Cluster_State) Enum

func (x Cluster_State) Enum() *Cluster_State

func (Cluster_State) EnumDescriptor

func (Cluster_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Cluster_State.Descriptor instead.

func (Cluster_State) Number

func (Cluster_State) String

func (x Cluster_State) String() string

func (Cluster_State) Type

ConnectionInfo

type ConnectionInfo struct {

	// The name of the ConnectionInfo singleton resource, e.g.:
	// projects/{project}/locations/{location}/clusters/*/instances/*/connectionInfo
	// This field currently has no semantic meaning.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The IP address for the Instance.
	// This is the connection endpoint for an end-user application.
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// Output only. The pem-encoded chain that may be used to verify the X.509
	// certificate. Expected to be in issuer-to-root order according to RFC 5246.
	PemCertificateChain []string `protobuf:"bytes,3,rep,name=pem_certificate_chain,json=pemCertificateChain,proto3" json:"pem_certificate_chain,omitempty"`
	// Output only. The unique ID of the Instance.
	InstanceUid string `protobuf:"bytes,4,opt,name=instance_uid,json=instanceUid,proto3" json:"instance_uid,omitempty"`
	// contains filtered or unexported fields
}

ConnectionInfo singleton resource. https://google.aip.dev/156

func (*ConnectionInfo) Descriptor

func (*ConnectionInfo) Descriptor() ([]byte, []int)

Deprecated: Use ConnectionInfo.ProtoReflect.Descriptor instead.

func (*ConnectionInfo) GetInstanceUid

func (x *ConnectionInfo) GetInstanceUid() string

func (*ConnectionInfo) GetIpAddress

func (x *ConnectionInfo) GetIpAddress() string

func (*ConnectionInfo) GetName

func (x *ConnectionInfo) GetName() string

func (*ConnectionInfo) GetPemCertificateChain

func (x *ConnectionInfo) GetPemCertificateChain() []string

func (*ConnectionInfo) ProtoMessage

func (*ConnectionInfo) ProtoMessage()

func (*ConnectionInfo) ProtoReflect

func (x *ConnectionInfo) ProtoReflect() protoreflect.Message

func (*ConnectionInfo) Reset

func (x *ConnectionInfo) Reset()

func (*ConnectionInfo) String

func (x *ConnectionInfo) String() string

ContinuousBackupConfig

type ContinuousBackupConfig struct {

	// Whether ContinuousBackup is enabled.
	Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
	// The number of days backups and logs will be retained, which determines the
	// window of time that data is recoverable for. If not set, it defaults to 14
	// days.
	RecoveryWindowDays int32 `protobuf:"varint,4,opt,name=recovery_window_days,json=recoveryWindowDays,proto3" json:"recovery_window_days,omitempty"`
	// The encryption config can be specified to encrypt the
	// backups with a customer-managed encryption key (CMEK). When this field is
	// not specified, the backup will then use default encryption scheme to
	// protect the user data.
	EncryptionConfig *EncryptionConfig `protobuf:"bytes,3,opt,name=encryption_config,json=encryptionConfig,proto3" json:"encryption_config,omitempty"`
	// contains filtered or unexported fields
}

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

func (*ContinuousBackupConfig) Descriptor

func (*ContinuousBackupConfig) Descriptor() ([]byte, []int)

Deprecated: Use ContinuousBackupConfig.ProtoReflect.Descriptor instead.

func (*ContinuousBackupConfig) GetEnabled

func (x *ContinuousBackupConfig) GetEnabled() bool

func (*ContinuousBackupConfig) GetEncryptionConfig

func (x *ContinuousBackupConfig) GetEncryptionConfig() *EncryptionConfig

func (*ContinuousBackupConfig) GetRecoveryWindowDays

func (x *ContinuousBackupConfig) GetRecoveryWindowDays() int32

func (*ContinuousBackupConfig) ProtoMessage

func (*ContinuousBackupConfig) ProtoMessage()

func (*ContinuousBackupConfig) ProtoReflect

func (x *ContinuousBackupConfig) ProtoReflect() protoreflect.Message

func (*ContinuousBackupConfig) Reset

func (x *ContinuousBackupConfig) Reset()

func (*ContinuousBackupConfig) String

func (x *ContinuousBackupConfig) String() string

ContinuousBackupInfo

type ContinuousBackupInfo struct {

	// Output only. The encryption information for the WALs and backups required
	// for ContinuousBackup.
	EncryptionInfo *EncryptionInfo `protobuf:"bytes,1,opt,name=encryption_info,json=encryptionInfo,proto3" json:"encryption_info,omitempty"`
	// Output only. When ContinuousBackup was most recently enabled. Set to null
	// if ContinuousBackup is not enabled.
	EnabledTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=enabled_time,json=enabledTime,proto3" json:"enabled_time,omitempty"`
	// Output only. Days of the week on which a continuous backup is taken. Output
	// only field. Ignored if passed into the request.
	Schedule []dayofweek.DayOfWeek `protobuf:"varint,3,rep,packed,name=schedule,proto3,enum=google.type.DayOfWeek" json:"schedule,omitempty"`
	// contains filtered or unexported fields
}

ContinuousBackupInfo describes the continuous backup properties of a cluster.

func (*ContinuousBackupInfo) Descriptor

func (*ContinuousBackupInfo) Descriptor() ([]byte, []int)

Deprecated: Use ContinuousBackupInfo.ProtoReflect.Descriptor instead.

func (*ContinuousBackupInfo) GetEnabledTime

func (x *ContinuousBackupInfo) GetEnabledTime() *timestamppb.Timestamp

func (*ContinuousBackupInfo) GetEncryptionInfo

func (x *ContinuousBackupInfo) GetEncryptionInfo() *EncryptionInfo

func (*ContinuousBackupInfo) GetSchedule

func (x *ContinuousBackupInfo) GetSchedule() []dayofweek.DayOfWeek

func (*ContinuousBackupInfo) ProtoMessage

func (*ContinuousBackupInfo) ProtoMessage()

func (*ContinuousBackupInfo) ProtoReflect

func (x *ContinuousBackupInfo) ProtoReflect() protoreflect.Message

func (*ContinuousBackupInfo) Reset

func (x *ContinuousBackupInfo) Reset()

func (*ContinuousBackupInfo) String

func (x *ContinuousBackupInfo) String() string

ContinuousBackupSource

type ContinuousBackupSource struct {

	// Required. The source cluster from which to restore. This cluster must have
	// continuous backup enabled for this operation to succeed. For the required
	// format, see the comment on the Cluster.name field.
	Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Required. The point in time to restore to.
	PointInTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=point_in_time,json=pointInTime,proto3" json:"point_in_time,omitempty"`
	// contains filtered or unexported fields
}

Message describing a ContinuousBackupSource.

func (*ContinuousBackupSource) Descriptor

func (*ContinuousBackupSource) Descriptor() ([]byte, []int)

Deprecated: Use ContinuousBackupSource.ProtoReflect.Descriptor instead.

func (*ContinuousBackupSource) GetCluster

func (x *ContinuousBackupSource) GetCluster() string

func (*ContinuousBackupSource) GetPointInTime

func (x *ContinuousBackupSource) GetPointInTime() *timestamppb.Timestamp

func (*ContinuousBackupSource) ProtoMessage

func (*ContinuousBackupSource) ProtoMessage()

func (*ContinuousBackupSource) ProtoReflect

func (x *ContinuousBackupSource) ProtoReflect() protoreflect.Message

func (*ContinuousBackupSource) Reset

func (x *ContinuousBackupSource) Reset()

func (*ContinuousBackupSource) String

func (x *ContinuousBackupSource) String() string

CreateBackupRequest

type CreateBackupRequest struct {

	// Required. Value for parent.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID of the requesting object.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Required. The resource being created
	Backup *Backup `protobuf:"bytes,3,opt,name=backup,proto3" json:"backup,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, the backend validates the request, but doesn't actually
	// execute it.
	ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Backup

func (*CreateBackupRequest) Descriptor

func (*CreateBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateBackupRequest.ProtoReflect.Descriptor instead.

func (*CreateBackupRequest) GetBackup

func (x *CreateBackupRequest) GetBackup() *Backup

func (*CreateBackupRequest) GetBackupId

func (x *CreateBackupRequest) GetBackupId() string

func (*CreateBackupRequest) GetParent

func (x *CreateBackupRequest) GetParent() string

func (*CreateBackupRequest) GetRequestId

func (x *CreateBackupRequest) GetRequestId() string

func (*CreateBackupRequest) GetValidateOnly

func (x *CreateBackupRequest) GetValidateOnly() bool

func (*CreateBackupRequest) ProtoMessage

func (*CreateBackupRequest) ProtoMessage()

func (*CreateBackupRequest) ProtoReflect

func (x *CreateBackupRequest) ProtoReflect() protoreflect.Message

func (*CreateBackupRequest) Reset

func (x *CreateBackupRequest) Reset()

func (*CreateBackupRequest) String

func (x *CreateBackupRequest) String() string

CreateClusterRequest

type CreateClusterRequest struct {

	// Required. The name of the parent resource. For the required format, see the
	// comment on the Cluster.name field.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID of the requesting object.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The resource being created
	Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the create
	// request.
	ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Cluster

func (*CreateClusterRequest) Descriptor

func (*CreateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetCluster

func (x *CreateClusterRequest) GetCluster() *Cluster

func (*CreateClusterRequest) GetClusterId

func (x *CreateClusterRequest) GetClusterId() string

func (*CreateClusterRequest) GetParent

func (x *CreateClusterRequest) GetParent() string

func (*CreateClusterRequest) GetRequestId

func (x *CreateClusterRequest) GetRequestId() string

func (*CreateClusterRequest) GetValidateOnly

func (x *CreateClusterRequest) GetValidateOnly() bool

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect

func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message

func (*CreateClusterRequest) Reset

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) String

func (x *CreateClusterRequest) String() string

CreateInstanceRequest

type CreateInstanceRequest struct {

	// Required. The name of the parent resource. For the required format, see the
	// comment on the Instance.name field.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID of the requesting object.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Required. The resource being created
	Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the create
	// request.
	ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Instance

func (*CreateInstanceRequest) Descriptor

func (*CreateInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateInstanceRequest) GetInstance

func (x *CreateInstanceRequest) GetInstance() *Instance

func (*CreateInstanceRequest) GetInstanceId

func (x *CreateInstanceRequest) GetInstanceId() string

func (*CreateInstanceRequest) GetParent

func (x *CreateInstanceRequest) GetParent() string

func (*CreateInstanceRequest) GetRequestId

func (x *CreateInstanceRequest) GetRequestId() string

func (*CreateInstanceRequest) GetValidateOnly

func (x *CreateInstanceRequest) GetValidateOnly() bool

func (*CreateInstanceRequest) ProtoMessage

func (*CreateInstanceRequest) ProtoMessage()

func (*CreateInstanceRequest) ProtoReflect

func (x *CreateInstanceRequest) ProtoReflect() protoreflect.Message

func (*CreateInstanceRequest) Reset

func (x *CreateInstanceRequest) Reset()

func (*CreateInstanceRequest) String

func (x *CreateInstanceRequest) String() string

CreateInstanceRequests

type CreateInstanceRequests struct {
	CreateInstanceRequests []*CreateInstanceRequest "" /* 129 byte string literal not displayed */

}

See usage below for notes.

func (*CreateInstanceRequests) Descriptor

func (*CreateInstanceRequests) Descriptor() ([]byte, []int)

Deprecated: Use CreateInstanceRequests.ProtoReflect.Descriptor instead.

func (*CreateInstanceRequests) GetCreateInstanceRequests

func (x *CreateInstanceRequests) GetCreateInstanceRequests() []*CreateInstanceRequest

func (*CreateInstanceRequests) ProtoMessage

func (*CreateInstanceRequests) ProtoMessage()

func (*CreateInstanceRequests) ProtoReflect

func (x *CreateInstanceRequests) ProtoReflect() protoreflect.Message

func (*CreateInstanceRequests) Reset

func (x *CreateInstanceRequests) Reset()

func (*CreateInstanceRequests) String

func (x *CreateInstanceRequests) String() string

CreateSecondaryClusterRequest

type CreateSecondaryClusterRequest struct {

	// Required. The name of the parent resource (the primary cluster). For the
	// required format, see the comment on the Cluster.name field.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID of the requesting object (the secondary cluster).
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. Configuration of the requesting object (the secondary cluster).
	Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the create
	// request.
	ValidateOnly bool `protobuf:"varint,6,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateSecondaryClusterRequest) Descriptor

func (*CreateSecondaryClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSecondaryClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateSecondaryClusterRequest) GetCluster

func (x *CreateSecondaryClusterRequest) GetCluster() *Cluster

func (*CreateSecondaryClusterRequest) GetClusterId

func (x *CreateSecondaryClusterRequest) GetClusterId() string

func (*CreateSecondaryClusterRequest) GetParent

func (x *CreateSecondaryClusterRequest) GetParent() string

func (*CreateSecondaryClusterRequest) GetRequestId

func (x *CreateSecondaryClusterRequest) GetRequestId() string

func (*CreateSecondaryClusterRequest) GetValidateOnly

func (x *CreateSecondaryClusterRequest) GetValidateOnly() bool

func (*CreateSecondaryClusterRequest) ProtoMessage

func (*CreateSecondaryClusterRequest) ProtoMessage()

func (*CreateSecondaryClusterRequest) ProtoReflect

func (*CreateSecondaryClusterRequest) Reset

func (x *CreateSecondaryClusterRequest) Reset()

func (*CreateSecondaryClusterRequest) String

CreateSecondaryInstanceRequest

type CreateSecondaryInstanceRequest struct {

	// Required. The name of the parent resource. For the required format, see the
	// comment on the Instance.name field.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID of the requesting object.
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Required. The resource being created
	Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the create
	// request.
	ValidateOnly bool `protobuf:"varint,5,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for creating a Secondary Instance

func (*CreateSecondaryInstanceRequest) Descriptor

func (*CreateSecondaryInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSecondaryInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateSecondaryInstanceRequest) GetInstance

func (x *CreateSecondaryInstanceRequest) GetInstance() *Instance

func (*CreateSecondaryInstanceRequest) GetInstanceId

func (x *CreateSecondaryInstanceRequest) GetInstanceId() string

func (*CreateSecondaryInstanceRequest) GetParent

func (x *CreateSecondaryInstanceRequest) GetParent() string

func (*CreateSecondaryInstanceRequest) GetRequestId

func (x *CreateSecondaryInstanceRequest) GetRequestId() string

func (*CreateSecondaryInstanceRequest) GetValidateOnly

func (x *CreateSecondaryInstanceRequest) GetValidateOnly() bool

func (*CreateSecondaryInstanceRequest) ProtoMessage

func (*CreateSecondaryInstanceRequest) ProtoMessage()

func (*CreateSecondaryInstanceRequest) ProtoReflect

func (*CreateSecondaryInstanceRequest) Reset

func (x *CreateSecondaryInstanceRequest) Reset()

func (*CreateSecondaryInstanceRequest) String

DatabaseVersion

type DatabaseVersion int32

The supported database engine versions.

DatabaseVersion_DATABASE_VERSION_UNSPECIFIED, DatabaseVersion_POSTGRES_13, DatabaseVersion_POSTGRES_14

const (
	// This is an unknown database version.
	DatabaseVersion_DATABASE_VERSION_UNSPECIFIED DatabaseVersion = 0
	// DEPRECATED - The database version is Postgres 13.
	//
	// Deprecated: Do not use.
	DatabaseVersion_POSTGRES_13 DatabaseVersion = 1
	// The database version is Postgres 14.
	DatabaseVersion_POSTGRES_14 DatabaseVersion = 2
)

func (DatabaseVersion) Descriptor

func (DatabaseVersion) Enum

func (x DatabaseVersion) Enum() *DatabaseVersion

func (DatabaseVersion) EnumDescriptor

func (DatabaseVersion) EnumDescriptor() ([]byte, []int)

Deprecated: Use DatabaseVersion.Descriptor instead.

func (DatabaseVersion) Number

func (DatabaseVersion) String

func (x DatabaseVersion) String() string

func (DatabaseVersion) Type

DeleteBackupRequest

type DeleteBackupRequest struct {

	// Required. Name of the resource. For the required format, see the comment on
	// the Backup.name field.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, the backend validates the request, but doesn't actually
	// execute it.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. The current etag of the Backup.
	// If an etag is provided and does not match the current etag of the Backup,
	// deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,4,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a Backup

func (*DeleteBackupRequest) Descriptor

func (*DeleteBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetEtag

func (x *DeleteBackupRequest) GetEtag() string

func (*DeleteBackupRequest) GetName

func (x *DeleteBackupRequest) GetName() string

func (*DeleteBackupRequest) GetRequestId

func (x *DeleteBackupRequest) GetRequestId() string

func (*DeleteBackupRequest) GetValidateOnly

func (x *DeleteBackupRequest) GetValidateOnly() bool

func (*DeleteBackupRequest) ProtoMessage

func (*DeleteBackupRequest) ProtoMessage()

func (*DeleteBackupRequest) ProtoReflect

func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message

func (*DeleteBackupRequest) Reset

func (x *DeleteBackupRequest) Reset()

func (*DeleteBackupRequest) String

func (x *DeleteBackupRequest) String() string

DeleteClusterRequest

type DeleteClusterRequest struct {

	// Required. The name of the resource. For the required format, see the
	// comment on the Cluster.name field.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. The current etag of the Cluster.
	// If an etag is provided and does not match the current etag of the Cluster,
	// deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the delete.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. Whether to cascade delete child instances for given cluster.
	Force bool `protobuf:"varint,5,opt,name=force,proto3" json:"force,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a Cluster

func (*DeleteClusterRequest) Descriptor

func (*DeleteClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetEtag

func (x *DeleteClusterRequest) GetEtag() string

func (*DeleteClusterRequest) GetForce

func (x *DeleteClusterRequest) GetForce() bool

func (*DeleteClusterRequest) GetName

func (x *DeleteClusterRequest) GetName() string

func (*DeleteClusterRequest) GetRequestId

func (x *DeleteClusterRequest) GetRequestId() string

func (*DeleteClusterRequest) GetValidateOnly

func (x *DeleteClusterRequest) GetValidateOnly() bool

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect

func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message

func (*DeleteClusterRequest) Reset

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) String

func (x *DeleteClusterRequest) String() string

DeleteInstanceRequest

type DeleteInstanceRequest struct {

	// Required. The name of the resource. For the required format, see the
	// comment on the Instance.name field.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. The current etag of the Instance.
	// If an etag is provided and does not match the current etag of the Instance,
	// deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the delete.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for deleting a Instance

func (*DeleteInstanceRequest) Descriptor

func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceRequest) GetEtag

func (x *DeleteInstanceRequest) GetEtag() string

func (*DeleteInstanceRequest) GetName

func (x *DeleteInstanceRequest) GetName() string

func (*DeleteInstanceRequest) GetRequestId

func (x *DeleteInstanceRequest) GetRequestId() string

func (*DeleteInstanceRequest) GetValidateOnly

func (x *DeleteInstanceRequest) GetValidateOnly() bool

func (*DeleteInstanceRequest) ProtoMessage

func (*DeleteInstanceRequest) ProtoMessage()

func (*DeleteInstanceRequest) ProtoReflect

func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message

func (*DeleteInstanceRequest) Reset

func (x *DeleteInstanceRequest) Reset()

func (*DeleteInstanceRequest) String

func (x *DeleteInstanceRequest) String() string

EncryptionConfig

type EncryptionConfig struct {

	// The fully-qualified resource name of the KMS key.
	// Each Cloud KMS key is regionalized and has the following format:
	// projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME]
	KmsKeyName string `protobuf:"bytes,1,opt,name=kms_key_name,json=kmsKeyName,proto3" json:"kms_key_name,omitempty"`
	// contains filtered or unexported fields
}

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).

func (*EncryptionConfig) Descriptor

func (*EncryptionConfig) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionConfig.ProtoReflect.Descriptor instead.

func (*EncryptionConfig) GetKmsKeyName

func (x *EncryptionConfig) GetKmsKeyName() string

func (*EncryptionConfig) ProtoMessage

func (*EncryptionConfig) ProtoMessage()

func (*EncryptionConfig) ProtoReflect

func (x *EncryptionConfig) ProtoReflect() protoreflect.Message

func (*EncryptionConfig) Reset

func (x *EncryptionConfig) Reset()

func (*EncryptionConfig) String

func (x *EncryptionConfig) String() string

EncryptionInfo

type EncryptionInfo struct {
	EncryptionType EncryptionInfo_Type "" /* 158 byte string literal not displayed */

	KmsKeyVersions []string `protobuf:"bytes,2,rep,name=kms_key_versions,json=kmsKeyVersions,proto3" json:"kms_key_versions,omitempty"`

}

EncryptionInfo describes the encryption information of a cluster or a backup.

func (*EncryptionInfo) Descriptor

func (*EncryptionInfo) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionInfo.ProtoReflect.Descriptor instead.

func (*EncryptionInfo) GetEncryptionType

func (x *EncryptionInfo) GetEncryptionType() EncryptionInfo_Type

func (*EncryptionInfo) GetKmsKeyVersions

func (x *EncryptionInfo) GetKmsKeyVersions() []string

func (*EncryptionInfo) ProtoMessage

func (*EncryptionInfo) ProtoMessage()

func (*EncryptionInfo) ProtoReflect

func (x *EncryptionInfo) ProtoReflect() protoreflect.Message

func (*EncryptionInfo) Reset

func (x *EncryptionInfo) Reset()

func (*EncryptionInfo) String

func (x *EncryptionInfo) String() string

EncryptionInfo_Type

type EncryptionInfo_Type int32

Possible encryption types.

EncryptionInfo_TYPE_UNSPECIFIED, EncryptionInfo_GOOGLE_DEFAULT_ENCRYPTION, EncryptionInfo_CUSTOMER_MANAGED_ENCRYPTION

const (
	// Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION.
	EncryptionInfo_TYPE_UNSPECIFIED EncryptionInfo_Type = 0
	// The data is encrypted at rest with a key that is fully managed by Google.
	// No key version will be populated. This is the default state.
	EncryptionInfo_GOOGLE_DEFAULT_ENCRYPTION EncryptionInfo_Type = 1
	// The data is encrypted at rest with a key that is managed by the customer.
	// KMS key versions will be populated.
	EncryptionInfo_CUSTOMER_MANAGED_ENCRYPTION EncryptionInfo_Type = 2
)

func (EncryptionInfo_Type) Descriptor

func (EncryptionInfo_Type) Enum

func (EncryptionInfo_Type) EnumDescriptor

func (EncryptionInfo_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use EncryptionInfo_Type.Descriptor instead.

func (EncryptionInfo_Type) Number

func (EncryptionInfo_Type) String

func (x EncryptionInfo_Type) String() string

func (EncryptionInfo_Type) Type

FailoverInstanceRequest

type FailoverInstanceRequest struct {

	// Required. The name of the resource. For the required format, see the
	// comment on the Instance.name field.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the failover.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for triggering failover on an Instance

func (*FailoverInstanceRequest) Descriptor

func (*FailoverInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use FailoverInstanceRequest.ProtoReflect.Descriptor instead.

func (*FailoverInstanceRequest) GetName

func (x *FailoverInstanceRequest) GetName() string

func (*FailoverInstanceRequest) GetRequestId

func (x *FailoverInstanceRequest) GetRequestId() string

func (*FailoverInstanceRequest) GetValidateOnly

func (x *FailoverInstanceRequest) GetValidateOnly() bool

func (*FailoverInstanceRequest) ProtoMessage

func (*FailoverInstanceRequest) ProtoMessage()

func (*FailoverInstanceRequest) ProtoReflect

func (x *FailoverInstanceRequest) ProtoReflect() protoreflect.Message

func (*FailoverInstanceRequest) Reset

func (x *FailoverInstanceRequest) Reset()

func (*FailoverInstanceRequest) String

func (x *FailoverInstanceRequest) String() string

GenerateClientCertificateRequest

type GenerateClientCertificateRequest struct {

	// Required. The name of the parent resource. The required format is:
	//   - projects/{project}/locations/{location}/clusters/{cluster}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. A pem-encoded X.509 certificate signing request (CSR).
	PemCsr string `protobuf:"bytes,3,opt,name=pem_csr,json=pemCsr,proto3" json:"pem_csr,omitempty"`
	// Optional. An optional hint to the endpoint to generate the client
	// certificate with the requested duration. The duration can be from 1 hour to
	// 24 hours. The endpoint may or may not honor the hint. If the hint is left
	// unspecified or is not honored, then the endpoint will pick an appropriate
	// default duration.
	CertDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=cert_duration,json=certDuration,proto3" json:"cert_duration,omitempty"`
	// contains filtered or unexported fields
}

Message for requests to generate a client certificate signed by the Cluster CA.

func (*GenerateClientCertificateRequest) Descriptor

func (*GenerateClientCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateClientCertificateRequest.ProtoReflect.Descriptor instead.

func (*GenerateClientCertificateRequest) GetCertDuration

func (*GenerateClientCertificateRequest) GetParent

func (*GenerateClientCertificateRequest) GetPemCsr

func (*GenerateClientCertificateRequest) GetRequestId

func (x *GenerateClientCertificateRequest) GetRequestId() string

func (*GenerateClientCertificateRequest) ProtoMessage

func (*GenerateClientCertificateRequest) ProtoMessage()

func (*GenerateClientCertificateRequest) ProtoReflect

func (*GenerateClientCertificateRequest) Reset

func (*GenerateClientCertificateRequest) String

GenerateClientCertificateResponse

type GenerateClientCertificateResponse struct {

	// Output only. The pem-encoded, signed X.509 certificate.
	PemCertificate string `protobuf:"bytes,1,opt,name=pem_certificate,json=pemCertificate,proto3" json:"pem_certificate,omitempty"`
	// Output only. The pem-encoded chain that may be used to verify the X.509
	// certificate. Expected to be in issuer-to-root order according to RFC 5246.
	PemCertificateChain []string `protobuf:"bytes,2,rep,name=pem_certificate_chain,json=pemCertificateChain,proto3" json:"pem_certificate_chain,omitempty"`
	// contains filtered or unexported fields
}

Message returned by a GenerateClientCertificate operation.

func (*GenerateClientCertificateResponse) Descriptor

func (*GenerateClientCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateClientCertificateResponse.ProtoReflect.Descriptor instead.

func (*GenerateClientCertificateResponse) GetPemCertificate

func (x *GenerateClientCertificateResponse) GetPemCertificate() string

func (*GenerateClientCertificateResponse) GetPemCertificateChain

func (x *GenerateClientCertificateResponse) GetPemCertificateChain() []string

func (*GenerateClientCertificateResponse) ProtoMessage

func (*GenerateClientCertificateResponse) ProtoMessage()

func (*GenerateClientCertificateResponse) ProtoReflect

func (*GenerateClientCertificateResponse) Reset

func (*GenerateClientCertificateResponse) String

GetBackupRequest

type GetBackupRequest struct {

	// Required. Name of the resource
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a Backup

func (*GetBackupRequest) Descriptor

func (*GetBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetName

func (x *GetBackupRequest) GetName() string

func (*GetBackupRequest) ProtoMessage

func (*GetBackupRequest) ProtoMessage()

func (*GetBackupRequest) ProtoReflect

func (x *GetBackupRequest) ProtoReflect() protoreflect.Message

func (*GetBackupRequest) Reset

func (x *GetBackupRequest) Reset()

func (*GetBackupRequest) String

func (x *GetBackupRequest) String() string

GetClusterRequest

type GetClusterRequest struct {

	// Required. The name of the resource. For the required format, see the
	// comment on the Cluster.name field.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a Cluster

func (*GetClusterRequest) Descriptor

func (*GetClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetName

func (x *GetClusterRequest) GetName() string

func (*GetClusterRequest) ProtoMessage

func (*GetClusterRequest) ProtoMessage()

func (*GetClusterRequest) ProtoReflect

func (x *GetClusterRequest) ProtoReflect() protoreflect.Message

func (*GetClusterRequest) Reset

func (x *GetClusterRequest) Reset()

func (*GetClusterRequest) String

func (x *GetClusterRequest) String() string

GetConnectionInfoRequest

type GetConnectionInfoRequest struct {

	// Required. The name of the parent resource. The required format is:
	// projects/{project}/locations/{location}/clusters/{cluster}/instances/{instance}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for GetConnectionInfo.

func (*GetConnectionInfoRequest) Descriptor

func (*GetConnectionInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetConnectionInfoRequest.ProtoReflect.Descriptor instead.

func (*GetConnectionInfoRequest) GetParent

func (x *GetConnectionInfoRequest) GetParent() string

func (*GetConnectionInfoRequest) GetRequestId

func (x *GetConnectionInfoRequest) GetRequestId() string

func (*GetConnectionInfoRequest) ProtoMessage

func (*GetConnectionInfoRequest) ProtoMessage()

func (*GetConnectionInfoRequest) ProtoReflect

func (x *GetConnectionInfoRequest) ProtoReflect() protoreflect.Message

func (*GetConnectionInfoRequest) Reset

func (x *GetConnectionInfoRequest) Reset()

func (*GetConnectionInfoRequest) String

func (x *GetConnectionInfoRequest) String() string

GetInstanceRequest

type GetInstanceRequest struct {

	// Required. The name of the resource. For the required format, see the
	// comment on the Instance.name field.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The view of the instance to return.
	View InstanceView `protobuf:"varint,2,opt,name=view,proto3,enum=google.cloud.alloydb.v1alpha.InstanceView" json:"view,omitempty"`
	// contains filtered or unexported fields
}

Message for getting a Instance

func (*GetInstanceRequest) Descriptor

func (*GetInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetName

func (x *GetInstanceRequest) GetName() string

func (*GetInstanceRequest) GetView

func (x *GetInstanceRequest) GetView() InstanceView

func (*GetInstanceRequest) ProtoMessage

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect

func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message

func (*GetInstanceRequest) Reset

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String

func (x *GetInstanceRequest) String() string

Instance

type Instance struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	Uid string `protobuf:"bytes,3,opt,name=uid,proto3" json:"uid,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	State Instance_State `protobuf:"varint,8,opt,name=state,proto3,enum=google.cloud.alloydb.v1alpha.Instance_State" json:"state,omitempty"`

	InstanceType Instance_InstanceType "" /* 154 byte string literal not displayed */

	MachineConfig *Instance_MachineConfig `protobuf:"bytes,10,opt,name=machine_config,json=machineConfig,proto3" json:"machine_config,omitempty"`

	AvailabilityType Instance_AvailabilityType "" /* 171 byte string literal not displayed */

	GceZone string `protobuf:"bytes,12,opt,name=gce_zone,json=gceZone,proto3" json:"gce_zone,omitempty"`

	DatabaseFlags map[string]string "" /* 189 byte string literal not displayed */

	WritableNode *Instance_Node `protobuf:"bytes,19,opt,name=writable_node,json=writableNode,proto3" json:"writable_node,omitempty"`

	Nodes []*Instance_Node `protobuf:"bytes,20,rep,name=nodes,proto3" json:"nodes,omitempty"`

	QueryInsightsConfig *Instance_QueryInsightsInstanceConfig `protobuf:"bytes,21,opt,name=query_insights_config,json=queryInsightsConfig,proto3" json:"query_insights_config,omitempty"`

	ReadPoolConfig *Instance_ReadPoolConfig `protobuf:"bytes,14,opt,name=read_pool_config,json=readPoolConfig,proto3" json:"read_pool_config,omitempty"`

	IpAddress string `protobuf:"bytes,15,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`

	Reconciling bool `protobuf:"varint,16,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	Etag string `protobuf:"bytes,17,opt,name=etag,proto3" json:"etag,omitempty"`

	Annotations map[string]string "" /* 164 byte string literal not displayed */

}

An Instance is a computing unit that an end customer can connect to. It's the main unit of computing resources in AlloyDB.

func (*Instance) Descriptor

func (*Instance) Descriptor() ([]byte, []int)

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetAnnotations

func (x *Instance) GetAnnotations() map[string]string

func (*Instance) GetAvailabilityType

func (x *Instance) GetAvailabilityType() Instance_AvailabilityType

func (*Instance) GetCreateTime

func (x *Instance) GetCreateTime() *timestamppb.Timestamp

func (*Instance) GetDatabaseFlags

func (x *Instance) GetDatabaseFlags() map[string]string

func (*Instance) GetDeleteTime

func (x *Instance) GetDeleteTime() *timestamppb.Timestamp

func (*Instance) GetDisplayName

func (x *Instance) GetDisplayName() string

func (*Instance) GetEtag

func (x *Instance) GetEtag() string

func (*Instance) GetGceZone

func (x *Instance) GetGceZone() string

func (*Instance) GetInstanceType

func (x *Instance) GetInstanceType() Instance_InstanceType

func (*Instance) GetIpAddress

func (x *Instance) GetIpAddress() string

func (*Instance) GetLabels

func (x *Instance) GetLabels() map[string]string

func (*Instance) GetMachineConfig

func (x *Instance) GetMachineConfig() *Instance_MachineConfig

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetNodes

func (x *Instance) GetNodes() []*Instance_Node

func (*Instance) GetQueryInsightsConfig

func (x *Instance) GetQueryInsightsConfig() *Instance_QueryInsightsInstanceConfig

func (*Instance) GetReadPoolConfig

func (x *Instance) GetReadPoolConfig() *Instance_ReadPoolConfig

func (*Instance) GetReconciling

func (x *Instance) GetReconciling() bool

func (*Instance) GetState

func (x *Instance) GetState() Instance_State

func (*Instance) GetUid

func (x *Instance) GetUid() string

func (*Instance) GetUpdateTime

func (x *Instance) GetUpdateTime() *timestamppb.Timestamp

func (*Instance) GetWritableNode

func (x *Instance) GetWritableNode() *Instance_Node

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

InstanceView

type InstanceView int32

View on Instance. Pass this enum to rpcs that returns an Instance message to control which subsets of fields to get.

InstanceView_INSTANCE_VIEW_UNSPECIFIED, InstanceView_INSTANCE_VIEW_BASIC, InstanceView_INSTANCE_VIEW_FULL

const (
	// INSTANCE_VIEW_UNSPECIFIED Not specified, equivalent to BASIC.
	InstanceView_INSTANCE_VIEW_UNSPECIFIED InstanceView = 0
	// BASIC server responses for a primary or read instance include all the
	// relevant instance details, excluding the details of each node in the
	// instance. The default value.
	InstanceView_INSTANCE_VIEW_BASIC InstanceView = 1
	// FULL response is equivalent to BASIC for primary instance (for now).
	// For read pool instance, this includes details of each node in the pool.
	InstanceView_INSTANCE_VIEW_FULL InstanceView = 2
)

func (InstanceView) Descriptor

func (InstanceView) Enum

func (x InstanceView) Enum() *InstanceView

func (InstanceView) EnumDescriptor

func (InstanceView) EnumDescriptor() ([]byte, []int)

Deprecated: Use InstanceView.Descriptor instead.

func (InstanceView) Number

func (InstanceView) String

func (x InstanceView) String() string

func (InstanceView) Type

Instance_AvailabilityType

type Instance_AvailabilityType int32

The Availability type of an instance. Potential values:

  • ZONAL: The instance serves data from only one zone. Outages in that zone affect instance availability.
  • REGIONAL: The instance can serve data from more than one zone in a region (it is highly available).

Instance_AVAILABILITY_TYPE_UNSPECIFIED, Instance_ZONAL, Instance_REGIONAL

const (
	// This is an unknown Availability type.
	Instance_AVAILABILITY_TYPE_UNSPECIFIED Instance_AvailabilityType = 0
	// Zonal available instance.
	Instance_ZONAL Instance_AvailabilityType = 1
	// Regional (or Highly) available instance.
	Instance_REGIONAL Instance_AvailabilityType = 2
)

func (Instance_AvailabilityType) Descriptor

func (Instance_AvailabilityType) Enum

func (Instance_AvailabilityType) EnumDescriptor

func (Instance_AvailabilityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Instance_AvailabilityType.Descriptor instead.

func (Instance_AvailabilityType) Number

func (Instance_AvailabilityType) String

func (x Instance_AvailabilityType) String() string

func (Instance_AvailabilityType) Type

Instance_InstanceType

type Instance_InstanceType int32

Type of an Instance

Instance_INSTANCE_TYPE_UNSPECIFIED, Instance_PRIMARY, Instance_READ_POOL, Instance_SECONDARY

const (
	// The type of the instance is unknown.
	Instance_INSTANCE_TYPE_UNSPECIFIED Instance_InstanceType = 0
	// PRIMARY instances support read and write operations.
	Instance_PRIMARY Instance_InstanceType = 1
	// 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).
	Instance_READ_POOL Instance_InstanceType = 2
	// SECONDARY instances support read operations only. SECONDARY instance
	// is a cross-region read replica
	Instance_SECONDARY Instance_InstanceType = 3
)

func (Instance_InstanceType) Descriptor

func (Instance_InstanceType) Enum

func (Instance_InstanceType) EnumDescriptor

func (Instance_InstanceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use Instance_InstanceType.Descriptor instead.

func (Instance_InstanceType) Number

func (Instance_InstanceType) String

func (x Instance_InstanceType) String() string

func (Instance_InstanceType) Type

Instance_MachineConfig

type Instance_MachineConfig struct {

	// The number of CPU's in the VM instance.
	CpuCount int32 `protobuf:"varint,1,opt,name=cpu_count,json=cpuCount,proto3" json:"cpu_count,omitempty"`
	// contains filtered or unexported fields
}

MachineConfig describes the configuration of a machine.

func (*Instance_MachineConfig) Descriptor

func (*Instance_MachineConfig) Descriptor() ([]byte, []int)

Deprecated: Use Instance_MachineConfig.ProtoReflect.Descriptor instead.

func (*Instance_MachineConfig) GetCpuCount

func (x *Instance_MachineConfig) GetCpuCount() int32

func (*Instance_MachineConfig) ProtoMessage

func (*Instance_MachineConfig) ProtoMessage()

func (*Instance_MachineConfig) ProtoReflect

func (x *Instance_MachineConfig) ProtoReflect() protoreflect.Message

func (*Instance_MachineConfig) Reset

func (x *Instance_MachineConfig) Reset()

func (*Instance_MachineConfig) String

func (x *Instance_MachineConfig) String() string

Instance_Node

type Instance_Node struct {

	// The Compute Engine zone of the VM e.g. "us-central1-b".
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// The identifier of the VM e.g. "test-read-0601-407e52be-ms3l".
	Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	// The private IP address of the VM e.g. "10.57.0.34".
	Ip string `protobuf:"bytes,3,opt,name=ip,proto3" json:"ip,omitempty"`
	// Determined by state of the compute VM and postgres-service health.
	// Compute VM state can have values listed in
	// https://cloud.google.com/compute/docs/instances/instance-life-cycle and
	// postgres-service health can have values: HEALTHY and UNHEALTHY.
	State string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.

func (*Instance_Node) Descriptor

func (*Instance_Node) Descriptor() ([]byte, []int)

Deprecated: Use Instance_Node.ProtoReflect.Descriptor instead.

func (*Instance_Node) GetId

func (x *Instance_Node) GetId() string

func (*Instance_Node) GetIp

func (x *Instance_Node) GetIp() string

func (*Instance_Node) GetState

func (x *Instance_Node) GetState() string

func (*Instance_Node) GetZoneId

func (x *Instance_Node) GetZoneId() string

func (*Instance_Node) ProtoMessage

func (*Instance_Node) ProtoMessage()

func (*Instance_Node) ProtoReflect

func (x *Instance_Node) ProtoReflect() protoreflect.Message

func (*Instance_Node) Reset

func (x *Instance_Node) Reset()

func (*Instance_Node) String

func (x *Instance_Node) String() string

Instance_QueryInsightsInstanceConfig

type Instance_QueryInsightsInstanceConfig struct {
	RecordApplicationTags *bool "" /* 133 byte string literal not displayed */

	RecordClientAddress *bool "" /* 127 byte string literal not displayed */

	QueryStringLength uint32 `protobuf:"varint,4,opt,name=query_string_length,json=queryStringLength,proto3" json:"query_string_length,omitempty"`

	QueryPlansPerMinute *uint32 "" /* 129 byte string literal not displayed */

}

QueryInsights Instance specific configuration.

func (*Instance_QueryInsightsInstanceConfig) Descriptor

func (*Instance_QueryInsightsInstanceConfig) Descriptor() ([]byte, []int)

Deprecated: Use Instance_QueryInsightsInstanceConfig.ProtoReflect.Descriptor instead.

func (*Instance_QueryInsightsInstanceConfig) GetQueryPlansPerMinute

func (x *Instance_QueryInsightsInstanceConfig) GetQueryPlansPerMinute() uint32

func (*Instance_QueryInsightsInstanceConfig) GetQueryStringLength

func (x *Instance_QueryInsightsInstanceConfig) GetQueryStringLength() uint32

func (*Instance_QueryInsightsInstanceConfig) GetRecordApplicationTags

func (x *Instance_QueryInsightsInstanceConfig) GetRecordApplicationTags() bool

func (*Instance_QueryInsightsInstanceConfig) GetRecordClientAddress

func (x *Instance_QueryInsightsInstanceConfig) GetRecordClientAddress() bool

func (*Instance_QueryInsightsInstanceConfig) ProtoMessage

func (*Instance_QueryInsightsInstanceConfig) ProtoMessage()

func (*Instance_QueryInsightsInstanceConfig) ProtoReflect

func (*Instance_QueryInsightsInstanceConfig) Reset

func (*Instance_QueryInsightsInstanceConfig) String

Instance_ReadPoolConfig

type Instance_ReadPoolConfig struct {

	// Read capacity, i.e. number of nodes in a read pool instance.
	NodeCount int32 `protobuf:"varint,1,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a read pool instance.

func (*Instance_ReadPoolConfig) Descriptor

func (*Instance_ReadPoolConfig) Descriptor() ([]byte, []int)

Deprecated: Use Instance_ReadPoolConfig.ProtoReflect.Descriptor instead.

func (*Instance_ReadPoolConfig) GetNodeCount

func (x *Instance_ReadPoolConfig) GetNodeCount() int32

func (*Instance_ReadPoolConfig) ProtoMessage

func (*Instance_ReadPoolConfig) ProtoMessage()

func (*Instance_ReadPoolConfig) ProtoReflect

func (x *Instance_ReadPoolConfig) ProtoReflect() protoreflect.Message

func (*Instance_ReadPoolConfig) Reset

func (x *Instance_ReadPoolConfig) Reset()

func (*Instance_ReadPoolConfig) String

func (x *Instance_ReadPoolConfig) String() string

Instance_State

type Instance_State int32

Instance State

Instance_STATE_UNSPECIFIED, Instance_READY, Instance_STOPPED, Instance_CREATING, Instance_DELETING, Instance_MAINTENANCE, Instance_FAILED, Instance_BOOTSTRAPPING, Instance_PROMOTING

const (
	// The state of the instance is unknown.
	Instance_STATE_UNSPECIFIED Instance_State = 0
	// The instance is active and running.
	Instance_READY Instance_State = 1
	// The instance is stopped. Instance name and IP resources are preserved.
	Instance_STOPPED Instance_State = 2
	// The instance is being created.
	Instance_CREATING Instance_State = 3
	// The instance is being deleted.
	Instance_DELETING Instance_State = 4
	// The instance is down for maintenance.
	Instance_MAINTENANCE Instance_State = 5
	// The creation of the instance failed or a fatal error occurred during
	// an operation on the instance.
	// Note: Instances in this state would tried to be auto-repaired. And
	// Customers should be able to restart, update or delete these instances.
	Instance_FAILED Instance_State = 6
	// Index 7 is used in the producer apis for ROLLED_BACK state. Keeping that
	// index unused in case that state also needs to exposed via consumer apis
	// in future.
	// The instance has been configured to sync data from some other source.
	Instance_BOOTSTRAPPING Instance_State = 8
	// The instance is being promoted.
	Instance_PROMOTING Instance_State = 9
)

func (Instance_State) Descriptor

func (Instance_State) Enum

func (x Instance_State) Enum() *Instance_State

func (Instance_State) EnumDescriptor

func (Instance_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use Instance_State.Descriptor instead.

func (Instance_State) Number

func (Instance_State) String

func (x Instance_State) String() string

func (Instance_State) Type

ListBackupsRequest

type ListBackupsRequest struct {

	// Required. Parent value for ListBackupsRequest
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Hint for how to order the results
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Backups

func (*ListBackupsRequest) Descriptor

func (*ListBackupsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetFilter

func (x *ListBackupsRequest) GetFilter() string

func (*ListBackupsRequest) GetOrderBy

func (x *ListBackupsRequest) GetOrderBy() string

func (*ListBackupsRequest) GetPageSize

func (x *ListBackupsRequest) GetPageSize() int32

func (*ListBackupsRequest) GetPageToken

func (x *ListBackupsRequest) GetPageToken() string

func (*ListBackupsRequest) GetParent

func (x *ListBackupsRequest) GetParent() string

func (*ListBackupsRequest) ProtoMessage

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) ProtoReflect

func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message

func (*ListBackupsRequest) Reset

func (x *ListBackupsRequest) Reset()

func (*ListBackupsRequest) String

func (x *ListBackupsRequest) String() string

ListBackupsResponse

type ListBackupsResponse struct {

	// The list of Backup
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Backups

func (*ListBackupsResponse) Descriptor

func (*ListBackupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups

func (x *ListBackupsResponse) GetBackups() []*Backup

func (*ListBackupsResponse) GetNextPageToken

func (x *ListBackupsResponse) GetNextPageToken() string

func (*ListBackupsResponse) GetUnreachable

func (x *ListBackupsResponse) GetUnreachable() []string

func (*ListBackupsResponse) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect

func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message

func (*ListBackupsResponse) Reset

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) String

func (x *ListBackupsResponse) String() string

ListClustersRequest

type ListClustersRequest struct {

	// Required. The name of the parent resource. For the required format, see the
	// comment on the Cluster.name field. Additionally, you can perform an
	// aggregated list operation by specifying a value with the following format:
	//   - projects/{project}/locations/-
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Hint for how to order the results
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Clusters

func (*ListClustersRequest) Descriptor

func (*ListClustersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.

func (*ListClustersRequest) GetFilter

func (x *ListClustersRequest) GetFilter() string

func (*ListClustersRequest) GetOrderBy

func (x *ListClustersRequest) GetOrderBy() string

func (*ListClustersRequest) GetPageSize

func (x *ListClustersRequest) GetPageSize() int32

func (*ListClustersRequest) GetPageToken

func (x *ListClustersRequest) GetPageToken() string

func (*ListClustersRequest) GetParent

func (x *ListClustersRequest) GetParent() string

func (*ListClustersRequest) ProtoMessage

func (*ListClustersRequest) ProtoMessage()

func (*ListClustersRequest) ProtoReflect

func (x *ListClustersRequest) ProtoReflect() protoreflect.Message

func (*ListClustersRequest) Reset

func (x *ListClustersRequest) Reset()

func (*ListClustersRequest) String

func (x *ListClustersRequest) String() string

ListClustersResponse

type ListClustersResponse struct {

	// The list of Cluster
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Clusters

func (*ListClustersResponse) Descriptor

func (*ListClustersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListClustersResponse.ProtoReflect.Descriptor instead.

func (*ListClustersResponse) GetClusters

func (x *ListClustersResponse) GetClusters() []*Cluster

func (*ListClustersResponse) GetNextPageToken

func (x *ListClustersResponse) GetNextPageToken() string

func (*ListClustersResponse) GetUnreachable

func (x *ListClustersResponse) GetUnreachable() []string

func (*ListClustersResponse) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) ProtoReflect

func (x *ListClustersResponse) ProtoReflect() protoreflect.Message

func (*ListClustersResponse) Reset

func (x *ListClustersResponse) Reset()

func (*ListClustersResponse) String

func (x *ListClustersResponse) String() string

ListInstancesRequest

type ListInstancesRequest struct {

	// Required. The name of the parent resource. For the required format, see the
	// comment on the Instance.name field. Additionally, you can perform an
	// aggregated list operation by specifying a value with one of the following
	// formats:
	//   - projects/{project}/locations/-/clusters/-
	//   - projects/{project}/locations/{region}/clusters/-
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Filtering results
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Hint for how to order the results
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Message for requesting list of Instances

func (*ListInstancesRequest) Descriptor

func (*ListInstancesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetFilter

func (x *ListInstancesRequest) GetFilter() string

func (*ListInstancesRequest) GetOrderBy

func (x *ListInstancesRequest) GetOrderBy() string

func (*ListInstancesRequest) GetPageSize

func (x *ListInstancesRequest) GetPageSize() int32

func (*ListInstancesRequest) GetPageToken

func (x *ListInstancesRequest) GetPageToken() string

func (*ListInstancesRequest) GetParent

func (x *ListInstancesRequest) GetParent() string

func (*ListInstancesRequest) ProtoMessage

func (*ListInstancesRequest) ProtoMessage()

func (*ListInstancesRequest) ProtoReflect

func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message

func (*ListInstancesRequest) Reset

func (x *ListInstancesRequest) Reset()

func (*ListInstancesRequest) String

func (x *ListInstancesRequest) String() string

ListInstancesResponse

type ListInstancesResponse struct {

	// The list of Instance
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// A token identifying a page of results the server should return.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Message for response to listing Instances

func (*ListInstancesResponse) Descriptor

func (*ListInstancesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstancesResponse) GetInstances

func (x *ListInstancesResponse) GetInstances() []*Instance

func (*ListInstancesResponse) GetNextPageToken

func (x *ListInstancesResponse) GetNextPageToken() string

func (*ListInstancesResponse) GetUnreachable

func (x *ListInstancesResponse) GetUnreachable() []string

func (*ListInstancesResponse) ProtoMessage

func (*ListInstancesResponse) ProtoMessage()

func (*ListInstancesResponse) ProtoReflect

func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message

func (*ListInstancesResponse) Reset

func (x *ListInstancesResponse) Reset()

func (*ListInstancesResponse) String

func (x *ListInstancesResponse) String() string

ListSupportedDatabaseFlagsRequest

type ListSupportedDatabaseFlagsRequest struct {

	// Required. The name of the parent resource. The required format is:
	//   - projects/{project}/locations/{location}
	//
	// Regardless of the parent specified here, as long it is contains a valid
	// project and location, the service will return a static list of supported
	// flags resources. Note that we do not yet support region-specific
	// flags.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer items than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Message for listing the information about the supported Database flags.

func (*ListSupportedDatabaseFlagsRequest) Descriptor

func (*ListSupportedDatabaseFlagsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSupportedDatabaseFlagsRequest.ProtoReflect.Descriptor instead.

func (*ListSupportedDatabaseFlagsRequest) GetPageSize

func (x *ListSupportedDatabaseFlagsRequest) GetPageSize() int32

func (*ListSupportedDatabaseFlagsRequest) GetPageToken

func (x *ListSupportedDatabaseFlagsRequest) GetPageToken() string

func (*ListSupportedDatabaseFlagsRequest) GetParent

func (*ListSupportedDatabaseFlagsRequest) ProtoMessage

func (*ListSupportedDatabaseFlagsRequest) ProtoMessage()

func (*ListSupportedDatabaseFlagsRequest) ProtoReflect

func (*ListSupportedDatabaseFlagsRequest) Reset

func (*ListSupportedDatabaseFlagsRequest) String

ListSupportedDatabaseFlagsResponse

type ListSupportedDatabaseFlagsResponse struct {
	SupportedDatabaseFlags []*SupportedDatabaseFlag "" /* 129 byte string literal not displayed */

	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`

}

Message for response to listing SupportedDatabaseFlags.

func (*ListSupportedDatabaseFlagsResponse) Descriptor

func (*ListSupportedDatabaseFlagsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSupportedDatabaseFlagsResponse.ProtoReflect.Descriptor instead.

func (*ListSupportedDatabaseFlagsResponse) GetNextPageToken

func (x *ListSupportedDatabaseFlagsResponse) GetNextPageToken() string

func (*ListSupportedDatabaseFlagsResponse) GetSupportedDatabaseFlags

func (x *ListSupportedDatabaseFlagsResponse) GetSupportedDatabaseFlags() []*SupportedDatabaseFlag

func (*ListSupportedDatabaseFlagsResponse) ProtoMessage

func (*ListSupportedDatabaseFlagsResponse) ProtoMessage()

func (*ListSupportedDatabaseFlagsResponse) ProtoReflect

func (*ListSupportedDatabaseFlagsResponse) Reset

func (*ListSupportedDatabaseFlagsResponse) String

MigrationSource

type MigrationSource struct {
	HostPort string `protobuf:"bytes,1,opt,name=host_port,json=hostPort,proto3" json:"host_port,omitempty"`

	ReferenceId string `protobuf:"bytes,2,opt,name=reference_id,json=referenceId,proto3" json:"reference_id,omitempty"`

	SourceType MigrationSource_MigrationSourceType "" /* 162 byte string literal not displayed */

}

Subset of the source instance configuration that is available when reading the cluster resource.

func (*MigrationSource) Descriptor

func (*MigrationSource) Descriptor() ([]byte, []int)

Deprecated: Use MigrationSource.ProtoReflect.Descriptor instead.

func (*MigrationSource) GetHostPort

func (x *MigrationSource) GetHostPort() string

func (*MigrationSource) GetReferenceId

func (x *MigrationSource) GetReferenceId() string

func (*MigrationSource) GetSourceType

func (*MigrationSource) ProtoMessage

func (*MigrationSource) ProtoMessage()

func (*MigrationSource) ProtoReflect

func (x *MigrationSource) ProtoReflect() protoreflect.Message

func (*MigrationSource) Reset

func (x *MigrationSource) Reset()

func (*MigrationSource) String

func (x *MigrationSource) String() string

MigrationSource_MigrationSourceType

type MigrationSource_MigrationSourceType int32

Denote the type of migration source that created this cluster.

MigrationSource_MIGRATION_SOURCE_TYPE_UNSPECIFIED, MigrationSource_DMS

const (
	// Migration source is unknown.
	MigrationSource_MIGRATION_SOURCE_TYPE_UNSPECIFIED MigrationSource_MigrationSourceType = 0
	// DMS source means the cluster was created via DMS migration job.
	MigrationSource_DMS MigrationSource_MigrationSourceType = 1
)

func (MigrationSource_MigrationSourceType) Descriptor

func (MigrationSource_MigrationSourceType) Enum

func (MigrationSource_MigrationSourceType) EnumDescriptor

func (MigrationSource_MigrationSourceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MigrationSource_MigrationSourceType.Descriptor instead.

func (MigrationSource_MigrationSourceType) Number

func (MigrationSource_MigrationSourceType) String

func (MigrationSource_MigrationSourceType) Type

OperationMetadata

type OperationMetadata struct {

	// Request specific metadata, if any.
	//
	// Types that are assignable to RequestSpecific:
	//
	//	*OperationMetadata_BatchCreateInstancesMetadata
	RequestSpecific isOperationMetadata_RequestSpecific `protobuf_oneof:"request_specific"`
	// Output only. The time the operation was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. The time the operation finished running.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// Output only. Server-defined resource path for the target of the operation.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Output only. Name of the verb executed by the operation.
	Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
	// Output only. Human-readable status of the operation, if any.
	StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
	// Output only. Identifies whether the user has requested cancellation
	// of the operation. Operations that have successfully been cancelled
	// have [Operation.error][] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of the long-running operation.

func (*OperationMetadata) Descriptor

func (*OperationMetadata) Descriptor() ([]byte, []int)

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetBatchCreateInstancesMetadata

func (x *OperationMetadata) GetBatchCreateInstancesMetadata() *BatchCreateInstancesMetadata

func (*OperationMetadata) GetCreateTime

func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp

func (*OperationMetadata) GetEndTime

func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp

func (*OperationMetadata) GetRequestSpecific

func (m *OperationMetadata) GetRequestSpecific() isOperationMetadata_RequestSpecific

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

func (x *OperationMetadata) ProtoReflect() protoreflect.Message

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

OperationMetadata_BatchCreateInstancesMetadata

type OperationMetadata_BatchCreateInstancesMetadata struct {
	// Output only. BatchCreateInstances related metadata.
	BatchCreateInstancesMetadata *BatchCreateInstancesMetadata `protobuf:"bytes,8,opt,name=batch_create_instances_metadata,json=batchCreateInstancesMetadata,proto3,oneof"`
}

PromoteClusterRequest

type PromoteClusterRequest struct {

	// Required. The name of the resource. For the required format, see the
	// comment on the Cluster.name field
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. The current etag of the Cluster.
	// If an etag is provided and does not match the current etag of the Cluster,
	// deletion will be blocked and an ABORTED error will be returned.
	Etag string `protobuf:"bytes,3,opt,name=etag,proto3" json:"etag,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the delete.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for promoting a Cluster

func (*PromoteClusterRequest) Descriptor

func (*PromoteClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use PromoteClusterRequest.ProtoReflect.Descriptor instead.

func (*PromoteClusterRequest) GetEtag

func (x *PromoteClusterRequest) GetEtag() string

func (*PromoteClusterRequest) GetName

func (x *PromoteClusterRequest) GetName() string

func (*PromoteClusterRequest) GetRequestId

func (x *PromoteClusterRequest) GetRequestId() string

func (*PromoteClusterRequest) GetValidateOnly

func (x *PromoteClusterRequest) GetValidateOnly() bool

func (*PromoteClusterRequest) ProtoMessage

func (*PromoteClusterRequest) ProtoMessage()

func (*PromoteClusterRequest) ProtoReflect

func (x *PromoteClusterRequest) ProtoReflect() protoreflect.Message

func (*PromoteClusterRequest) Reset

func (x *PromoteClusterRequest) Reset()

func (*PromoteClusterRequest) String

func (x *PromoteClusterRequest) String() string

RestartInstanceRequest

type RestartInstanceRequest struct {

	// Required. The name of the resource. For the required format, see the
	// comment on the Instance.name field.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes after the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the restart.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartInstanceRequest) Descriptor

func (*RestartInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestartInstanceRequest.ProtoReflect.Descriptor instead.

func (*RestartInstanceRequest) GetName

func (x *RestartInstanceRequest) GetName() string

func (*RestartInstanceRequest) GetRequestId

func (x *RestartInstanceRequest) GetRequestId() string

func (*RestartInstanceRequest) GetValidateOnly

func (x *RestartInstanceRequest) GetValidateOnly() bool

func (*RestartInstanceRequest) ProtoMessage

func (*RestartInstanceRequest) ProtoMessage()

func (*RestartInstanceRequest) ProtoReflect

func (x *RestartInstanceRequest) ProtoReflect() protoreflect.Message

func (*RestartInstanceRequest) Reset

func (x *RestartInstanceRequest) Reset()

func (*RestartInstanceRequest) String

func (x *RestartInstanceRequest) String() string

RestoreClusterRequest

type RestoreClusterRequest struct {

	// Required.
	// The source to import from.
	//
	// Types that are assignable to Source:
	//
	//	*RestoreClusterRequest_BackupSource
	//	*RestoreClusterRequest_ContinuousBackupSource
	Source isRestoreClusterRequest_Source `protobuf_oneof:"source"`
	// Required. The name of the parent resource. For the required format, see the
	// comment on the Cluster.name field.
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. ID of the requesting object.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The resource being created
	Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the import
	// request.
	ValidateOnly bool `protobuf:"varint,6,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

Message for restoring a Cluster from a backup or another cluster at a given point in time.

func (*RestoreClusterRequest) Descriptor

func (*RestoreClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use RestoreClusterRequest.ProtoReflect.Descriptor instead.

func (*RestoreClusterRequest) GetBackupSource

func (x *RestoreClusterRequest) GetBackupSource() *BackupSource

func (*RestoreClusterRequest) GetCluster

func (x *RestoreClusterRequest) GetCluster() *Cluster

func (*RestoreClusterRequest) GetClusterId

func (x *RestoreClusterRequest) GetClusterId() string

func (*RestoreClusterRequest) GetContinuousBackupSource

func (x *RestoreClusterRequest) GetContinuousBackupSource() *ContinuousBackupSource

func (*RestoreClusterRequest) GetParent

func (x *RestoreClusterRequest) GetParent() string

func (*RestoreClusterRequest) GetRequestId

func (x *RestoreClusterRequest) GetRequestId() string

func (*RestoreClusterRequest) GetSource

func (m *RestoreClusterRequest) GetSource() isRestoreClusterRequest_Source

func (*RestoreClusterRequest) GetValidateOnly

func (x *RestoreClusterRequest) GetValidateOnly() bool

func (*RestoreClusterRequest) ProtoMessage

func (*RestoreClusterRequest) ProtoMessage()

func (*RestoreClusterRequest) ProtoReflect

func (x *RestoreClusterRequest) ProtoReflect() protoreflect.Message

func (*RestoreClusterRequest) Reset

func (x *RestoreClusterRequest) Reset()

func (*RestoreClusterRequest) String

func (x *RestoreClusterRequest) String() string

RestoreClusterRequest_BackupSource

type RestoreClusterRequest_BackupSource struct {
	// Backup source.
	BackupSource *BackupSource `protobuf:"bytes,4,opt,name=backup_source,json=backupSource,proto3,oneof"`
}

RestoreClusterRequest_ContinuousBackupSource

type RestoreClusterRequest_ContinuousBackupSource struct {
	// ContinuousBackup source. Continuous backup needs to be enabled in the
	// source cluster for this operation to succeed.
	ContinuousBackupSource *ContinuousBackupSource `protobuf:"bytes,8,opt,name=continuous_backup_source,json=continuousBackupSource,proto3,oneof"`
}

SslConfig

type SslConfig struct {
	SslMode SslConfig_SslMode "" /* 135 byte string literal not displayed */

	CaSource SslConfig_CaSource "" /* 139 byte string literal not displayed */

}

SSL configuration for an AlloyDB Cluster.

func (*SslConfig) Descriptor

func (*SslConfig) Descriptor() ([]byte, []int)

Deprecated: Use SslConfig.ProtoReflect.Descriptor instead.

func (*SslConfig) GetCaSource

func (x *SslConfig) GetCaSource() SslConfig_CaSource

func (*SslConfig) GetSslMode

func (x *SslConfig) GetSslMode() SslConfig_SslMode

func (*SslConfig) ProtoMessage

func (*SslConfig) ProtoMessage()

func (*SslConfig) ProtoReflect

func (x *SslConfig) ProtoReflect() protoreflect.Message

func (*SslConfig) Reset

func (x *SslConfig) Reset()

func (*SslConfig) String

func (x *SslConfig) String() string

SslConfig_CaSource

type SslConfig_CaSource int32

Certificate Authority (CA) source for SSL/TLS certificates.

SslConfig_CA_SOURCE_UNSPECIFIED, SslConfig_CA_SOURCE_MANAGED

const (
	// Certificate Authority (CA) source not specified. Defaults to
	// CA_SOURCE_MANAGED.
	SslConfig_CA_SOURCE_UNSPECIFIED SslConfig_CaSource = 0
	// Certificate Authority (CA) managed by the AlloyDB Cluster.
	SslConfig_CA_SOURCE_MANAGED SslConfig_CaSource = 1
)

func (SslConfig_CaSource) Descriptor

func (SslConfig_CaSource) Enum

func (SslConfig_CaSource) EnumDescriptor

func (SslConfig_CaSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use SslConfig_CaSource.Descriptor instead.

func (SslConfig_CaSource) Number

func (SslConfig_CaSource) String

func (x SslConfig_CaSource) String() string

func (SslConfig_CaSource) Type

SslConfig_SslMode

type SslConfig_SslMode int32

SSL mode options.

SslConfig_SSL_MODE_UNSPECIFIED, SslConfig_SSL_MODE_ALLOW, SslConfig_SSL_MODE_REQUIRE, SslConfig_SSL_MODE_VERIFY_CA

const (
	// SSL mode not specified. Defaults to SSL_MODE_ALLOW.
	SslConfig_SSL_MODE_UNSPECIFIED SslConfig_SslMode = 0
	// SSL connections are optional. CA verification not enforced.
	SslConfig_SSL_MODE_ALLOW SslConfig_SslMode = 1
	// SSL connections are required. CA verification not enforced.
	// Clients may use locally self-signed certificates (default psql client
	// behavior).
	SslConfig_SSL_MODE_REQUIRE SslConfig_SslMode = 2
	// SSL connections are required. CA verification enforced.
	// Clients must have certificates signed by a Cluster CA, e.g. via
	// GenerateClientCertificate.
	SslConfig_SSL_MODE_VERIFY_CA SslConfig_SslMode = 3
)

func (SslConfig_SslMode) Descriptor

func (SslConfig_SslMode) Enum

func (SslConfig_SslMode) EnumDescriptor

func (SslConfig_SslMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use SslConfig_SslMode.Descriptor instead.

func (SslConfig_SslMode) Number

func (SslConfig_SslMode) String

func (x SslConfig_SslMode) String() string

func (SslConfig_SslMode) Type

SupportedDatabaseFlag

type SupportedDatabaseFlag struct {
	Restrictions isSupportedDatabaseFlag_Restrictions `protobuf_oneof:"restrictions"`

	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	FlagName  string                          `protobuf:"bytes,2,opt,name=flag_name,json=flagName,proto3" json:"flag_name,omitempty"`
	ValueType SupportedDatabaseFlag_ValueType "" /* 155 byte string literal not displayed */

	AcceptsMultipleValues bool "" /* 127 byte string literal not displayed */

	SupportedDbVersions []DatabaseVersion "" /* 178 byte string literal not displayed */

	RequiresDbRestart bool `protobuf:"varint,6,opt,name=requires_db_restart,json=requiresDbRestart,proto3" json:"requires_db_restart,omitempty"`

}

SupportedDatabaseFlag gives general information about a database flag, like type and allowed values. This is a static value that is defined on the server side, and it cannot be modified by callers. To set the Database flags on a particular Instance, a caller should modify the Instance.database_flags field.

func (*SupportedDatabaseFlag) Descriptor

func (*SupportedDatabaseFlag) Descriptor() ([]byte, []int)

Deprecated: Use SupportedDatabaseFlag.ProtoReflect.Descriptor instead.

func (*SupportedDatabaseFlag) GetAcceptsMultipleValues

func (x *SupportedDatabaseFlag) GetAcceptsMultipleValues() bool

func (*SupportedDatabaseFlag) GetFlagName

func (x *SupportedDatabaseFlag) GetFlagName() string

func (*SupportedDatabaseFlag) GetIntegerRestrictions

func (*SupportedDatabaseFlag) GetName

func (x *SupportedDatabaseFlag) GetName() string

func (*SupportedDatabaseFlag) GetRequiresDbRestart

func (x *SupportedDatabaseFlag) GetRequiresDbRestart() bool

func (*SupportedDatabaseFlag) GetRestrictions

func (m *SupportedDatabaseFlag) GetRestrictions() isSupportedDatabaseFlag_Restrictions

func (*SupportedDatabaseFlag) GetStringRestrictions

func (*SupportedDatabaseFlag) GetSupportedDbVersions

func (x *SupportedDatabaseFlag) GetSupportedDbVersions() []DatabaseVersion

func (*SupportedDatabaseFlag) GetValueType

func (*SupportedDatabaseFlag) ProtoMessage

func (*SupportedDatabaseFlag) ProtoMessage()

func (*SupportedDatabaseFlag) ProtoReflect

func (x *SupportedDatabaseFlag) ProtoReflect() protoreflect.Message

func (*SupportedDatabaseFlag) Reset

func (x *SupportedDatabaseFlag) Reset()

func (*SupportedDatabaseFlag) String

func (x *SupportedDatabaseFlag) String() string

SupportedDatabaseFlag_IntegerRestrictions

type SupportedDatabaseFlag_IntegerRestrictions struct {

	// The minimum value that can be specified, if applicable.
	MinValue *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
	// The maximum value that can be specified, if applicable.
	MaxValue *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
	// contains filtered or unexported fields
}

Restrictions on INTEGER type values.

func (*SupportedDatabaseFlag_IntegerRestrictions) Descriptor

func (*SupportedDatabaseFlag_IntegerRestrictions) Descriptor() ([]byte, []int)

Deprecated: Use SupportedDatabaseFlag_IntegerRestrictions.ProtoReflect.Descriptor instead.

func (*SupportedDatabaseFlag_IntegerRestrictions) GetMaxValue

func (*SupportedDatabaseFlag_IntegerRestrictions) GetMinValue

func (*SupportedDatabaseFlag_IntegerRestrictions) ProtoMessage

func (*SupportedDatabaseFlag_IntegerRestrictions) ProtoReflect

func (*SupportedDatabaseFlag_IntegerRestrictions) Reset

func (*SupportedDatabaseFlag_IntegerRestrictions) String

SupportedDatabaseFlag_IntegerRestrictions_

type SupportedDatabaseFlag_IntegerRestrictions_ struct {
	// Restriction on INTEGER type value.
	IntegerRestrictions *SupportedDatabaseFlag_IntegerRestrictions `protobuf:"bytes,8,opt,name=integer_restrictions,json=integerRestrictions,proto3,oneof"`
}

SupportedDatabaseFlag_StringRestrictions

type SupportedDatabaseFlag_StringRestrictions struct {

	// The list of allowed values, if bounded. This field will be empty
	// if there is a unbounded number of allowed values.
	AllowedValues []string `protobuf:"bytes,1,rep,name=allowed_values,json=allowedValues,proto3" json:"allowed_values,omitempty"`
	// contains filtered or unexported fields
}

Restrictions on STRING type values

func (*SupportedDatabaseFlag_StringRestrictions) Descriptor

func (*SupportedDatabaseFlag_StringRestrictions) Descriptor() ([]byte, []int)

Deprecated: Use SupportedDatabaseFlag_StringRestrictions.ProtoReflect.Descriptor instead.

func (*SupportedDatabaseFlag_StringRestrictions) GetAllowedValues

func (x *SupportedDatabaseFlag_StringRestrictions) GetAllowedValues() []string

func (*SupportedDatabaseFlag_StringRestrictions) ProtoMessage

func (*SupportedDatabaseFlag_StringRestrictions) ProtoReflect

func (*SupportedDatabaseFlag_StringRestrictions) Reset

func (*SupportedDatabaseFlag_StringRestrictions) String

SupportedDatabaseFlag_StringRestrictions_

type SupportedDatabaseFlag_StringRestrictions_ struct {
	// Restriction on STRING type value.
	StringRestrictions *SupportedDatabaseFlag_StringRestrictions `protobuf:"bytes,7,opt,name=string_restrictions,json=stringRestrictions,proto3,oneof"`
}

SupportedDatabaseFlag_ValueType

type SupportedDatabaseFlag_ValueType int32

ValueType describes the semantic type of the value that the flag accepts. Regardless of the ValueType, the Instance.database_flags field accepts the stringified version of the value, i.e. "20" or "3.14".

SupportedDatabaseFlag_VALUE_TYPE_UNSPECIFIED, SupportedDatabaseFlag_STRING, SupportedDatabaseFlag_INTEGER, SupportedDatabaseFlag_FLOAT, SupportedDatabaseFlag_NONE

const (
	// This is an unknown flag type.
	SupportedDatabaseFlag_VALUE_TYPE_UNSPECIFIED SupportedDatabaseFlag_ValueType = 0
	// String type flag.
	SupportedDatabaseFlag_STRING SupportedDatabaseFlag_ValueType = 1
	// Integer type flag.
	SupportedDatabaseFlag_INTEGER SupportedDatabaseFlag_ValueType = 2
	// Float type flag.
	SupportedDatabaseFlag_FLOAT SupportedDatabaseFlag_ValueType = 3
	// Denotes that the flag does not accept any values.
	SupportedDatabaseFlag_NONE SupportedDatabaseFlag_ValueType = 4
)

func (SupportedDatabaseFlag_ValueType) Descriptor

func (SupportedDatabaseFlag_ValueType) Enum

func (SupportedDatabaseFlag_ValueType) EnumDescriptor

func (SupportedDatabaseFlag_ValueType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SupportedDatabaseFlag_ValueType.Descriptor instead.

func (SupportedDatabaseFlag_ValueType) Number

func (SupportedDatabaseFlag_ValueType) String

func (SupportedDatabaseFlag_ValueType) Type

UnimplementedAlloyDBAdminServer

type UnimplementedAlloyDBAdminServer struct {
}

UnimplementedAlloyDBAdminServer can be embedded to have forward compatible implementations.

func (*UnimplementedAlloyDBAdminServer) BatchCreateInstances

func (*UnimplementedAlloyDBAdminServer) CreateBackup

func (*UnimplementedAlloyDBAdminServer) CreateCluster

func (*UnimplementedAlloyDBAdminServer) CreateInstance

func (*UnimplementedAlloyDBAdminServer) CreateSecondaryCluster

func (*UnimplementedAlloyDBAdminServer) CreateSecondaryInstance

func (*UnimplementedAlloyDBAdminServer) DeleteBackup

func (*UnimplementedAlloyDBAdminServer) DeleteCluster

func (*UnimplementedAlloyDBAdminServer) DeleteInstance

func (*UnimplementedAlloyDBAdminServer) FailoverInstance

func (*UnimplementedAlloyDBAdminServer) GenerateClientCertificate

func (*UnimplementedAlloyDBAdminServer) GetBackup

func (*UnimplementedAlloyDBAdminServer) GetCluster

func (*UnimplementedAlloyDBAdminServer) GetConnectionInfo

func (*UnimplementedAlloyDBAdminServer) GetInstance

func (*UnimplementedAlloyDBAdminServer) ListBackups

func (*UnimplementedAlloyDBAdminServer) ListClusters

func (*UnimplementedAlloyDBAdminServer) ListInstances

func (*UnimplementedAlloyDBAdminServer) ListSupportedDatabaseFlags

func (*UnimplementedAlloyDBAdminServer) PromoteCluster

func (*UnimplementedAlloyDBAdminServer) RestartInstance

func (*UnimplementedAlloyDBAdminServer) RestoreCluster

func (*UnimplementedAlloyDBAdminServer) UpdateBackup

func (*UnimplementedAlloyDBAdminServer) UpdateCluster

func (*UnimplementedAlloyDBAdminServer) UpdateInstance

UpdateBackupRequest

type UpdateBackupRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// Backup resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The resource being updated
	Backup *Backup `protobuf:"bytes,2,opt,name=backup,proto3" json:"backup,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, the backend validates the request, but doesn't actually
	// execute it.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set to true, update succeeds even if instance is not found. In
	// that case, a new backup is created and `update_mask` is ignored.
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a Backup

func (*UpdateBackupRequest) Descriptor

func (*UpdateBackupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBackupRequest.ProtoReflect.Descriptor instead.

func (*UpdateBackupRequest) GetAllowMissing

func (x *UpdateBackupRequest) GetAllowMissing() bool

func (*UpdateBackupRequest) GetBackup

func (x *UpdateBackupRequest) GetBackup() *Backup

func (*UpdateBackupRequest) GetRequestId

func (x *UpdateBackupRequest) GetRequestId() string

func (*UpdateBackupRequest) GetUpdateMask

func (x *UpdateBackupRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateBackupRequest) GetValidateOnly

func (x *UpdateBackupRequest) GetValidateOnly() bool

func (*UpdateBackupRequest) ProtoMessage

func (*UpdateBackupRequest) ProtoMessage()

func (*UpdateBackupRequest) ProtoReflect

func (x *UpdateBackupRequest) ProtoReflect() protoreflect.Message

func (*UpdateBackupRequest) Reset

func (x *UpdateBackupRequest) Reset()

func (*UpdateBackupRequest) String

func (x *UpdateBackupRequest) String() string

UpdateClusterRequest

type UpdateClusterRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// Cluster resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The resource being updated
	Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the update
	// request.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set to true, update succeeds even if cluster is not found. In
	// that case, a new cluster is created and `update_mask` is ignored.
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a Cluster

func (*UpdateClusterRequest) Descriptor

func (*UpdateClusterRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterRequest) GetAllowMissing

func (x *UpdateClusterRequest) GetAllowMissing() bool

func (*UpdateClusterRequest) GetCluster

func (x *UpdateClusterRequest) GetCluster() *Cluster

func (*UpdateClusterRequest) GetRequestId

func (x *UpdateClusterRequest) GetRequestId() string

func (*UpdateClusterRequest) GetUpdateMask

func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateClusterRequest) GetValidateOnly

func (x *UpdateClusterRequest) GetValidateOnly() bool

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) ProtoReflect

func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message

func (*UpdateClusterRequest) Reset

func (x *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) String

func (x *UpdateClusterRequest) String() string

UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// Optional. Field mask is used to specify the fields to be overwritten in the
	// Instance resource by the update.
	// The fields specified in the update_mask are relative to the resource, not
	// the full request. A field will be overwritten if it is in the mask. If the
	// user does not provide a mask then all fields will be overwritten.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Required. The resource being updated
	Instance *Instance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and
	// the request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// Optional. If set, performs request validation (e.g. permission checks and
	// any other type of validation), but do not actually execute the update
	// request.
	ValidateOnly bool `protobuf:"varint,4,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// Optional. If set to true, update succeeds even if instance is not found. In
	// that case, a new instance is created and `update_mask` is ignored.
	AllowMissing bool `protobuf:"varint,5,opt,name=allow_missing,json=allowMissing,proto3" json:"allow_missing,omitempty"`
	// contains filtered or unexported fields
}

Message for updating a Instance

func (*UpdateInstanceRequest) Descriptor

func (*UpdateInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceRequest) GetAllowMissing

func (x *UpdateInstanceRequest) GetAllowMissing() bool

func (*UpdateInstanceRequest) GetInstance

func (x *UpdateInstanceRequest) GetInstance() *Instance

func (*UpdateInstanceRequest) GetRequestId

func (x *UpdateInstanceRequest) GetRequestId() string

func (*UpdateInstanceRequest) GetUpdateMask

func (x *UpdateInstanceRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateInstanceRequest) GetValidateOnly

func (x *UpdateInstanceRequest) GetValidateOnly() bool

func (*UpdateInstanceRequest) ProtoMessage

func (*UpdateInstanceRequest) ProtoMessage()

func (*UpdateInstanceRequest) ProtoReflect

func (x *UpdateInstanceRequest) ProtoReflect() protoreflect.Message

func (*UpdateInstanceRequest) Reset

func (x *UpdateInstanceRequest) Reset()

func (*UpdateInstanceRequest) String

func (x *UpdateInstanceRequest) String() string

UserPassword

type UserPassword struct {

	// The database username.
	User string `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// The initial password for the user.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

The username/password for a database user. Used for specifying initial users at cluster creation time.

func (*UserPassword) Descriptor

func (*UserPassword) Descriptor() ([]byte, []int)

Deprecated: Use UserPassword.ProtoReflect.Descriptor instead.

func (*UserPassword) GetPassword

func (x *UserPassword) GetPassword() string

func (*UserPassword) GetUser

func (x *UserPassword) GetUser() string

func (*UserPassword) ProtoMessage

func (*UserPassword) ProtoMessage()

func (*UserPassword) ProtoReflect

func (x *UserPassword) ProtoReflect() protoreflect.Message

func (*UserPassword) Reset

func (x *UserPassword) Reset()

func (*UserPassword) String

func (x *UserPassword) String() string