postgresql

package
v0.0.0-...-a04abcf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 17 Imported by: 9

Documentation

Index

Constants

View Source
const (
	BackupService_Get_FullMethodName    = "/yandex.cloud.mdb.postgresql.v1.BackupService/Get"
	BackupService_List_FullMethodName   = "/yandex.cloud.mdb.postgresql.v1.BackupService/List"
	BackupService_Delete_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.BackupService/Delete"
)
View Source
const (
	ClusterService_Get_FullMethodName                   = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Get"
	ClusterService_List_FullMethodName                  = "/yandex.cloud.mdb.postgresql.v1.ClusterService/List"
	ClusterService_Create_FullMethodName                = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Create"
	ClusterService_Update_FullMethodName                = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Update"
	ClusterService_Delete_FullMethodName                = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Delete"
	ClusterService_Start_FullMethodName                 = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Start"
	ClusterService_Stop_FullMethodName                  = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Stop"
	ClusterService_Move_FullMethodName                  = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Move"
	ClusterService_Backup_FullMethodName                = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Backup"
	ClusterService_Restore_FullMethodName               = "/yandex.cloud.mdb.postgresql.v1.ClusterService/Restore"
	ClusterService_RescheduleMaintenance_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.ClusterService/RescheduleMaintenance"
	ClusterService_StartFailover_FullMethodName         = "/yandex.cloud.mdb.postgresql.v1.ClusterService/StartFailover"
	ClusterService_ListLogs_FullMethodName              = "/yandex.cloud.mdb.postgresql.v1.ClusterService/ListLogs"
	ClusterService_StreamLogs_FullMethodName            = "/yandex.cloud.mdb.postgresql.v1.ClusterService/StreamLogs"
	ClusterService_ListOperations_FullMethodName        = "/yandex.cloud.mdb.postgresql.v1.ClusterService/ListOperations"
	ClusterService_ListBackups_FullMethodName           = "/yandex.cloud.mdb.postgresql.v1.ClusterService/ListBackups"
	ClusterService_ListHosts_FullMethodName             = "/yandex.cloud.mdb.postgresql.v1.ClusterService/ListHosts"
	ClusterService_AddHosts_FullMethodName              = "/yandex.cloud.mdb.postgresql.v1.ClusterService/AddHosts"
	ClusterService_DeleteHosts_FullMethodName           = "/yandex.cloud.mdb.postgresql.v1.ClusterService/DeleteHosts"
	ClusterService_UpdateHosts_FullMethodName           = "/yandex.cloud.mdb.postgresql.v1.ClusterService/UpdateHosts"
)
View Source
const (
	DatabaseService_Get_FullMethodName    = "/yandex.cloud.mdb.postgresql.v1.DatabaseService/Get"
	DatabaseService_List_FullMethodName   = "/yandex.cloud.mdb.postgresql.v1.DatabaseService/List"
	DatabaseService_Create_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.DatabaseService/Create"
	DatabaseService_Update_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.DatabaseService/Update"
	DatabaseService_Delete_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.DatabaseService/Delete"
)
View Source
const (
	PerformanceDiagnosticsService_ListRawSessionStates_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.PerformanceDiagnosticsService/ListRawSessionStates"
	PerformanceDiagnosticsService_ListRawStatements_FullMethodName    = "/yandex.cloud.mdb.postgresql.v1.PerformanceDiagnosticsService/ListRawStatements"
)
View Source
const (
	ResourcePresetService_Get_FullMethodName  = "/yandex.cloud.mdb.postgresql.v1.ResourcePresetService/Get"
	ResourcePresetService_List_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.ResourcePresetService/List"
)
View Source
const (
	UserService_Get_FullMethodName              = "/yandex.cloud.mdb.postgresql.v1.UserService/Get"
	UserService_List_FullMethodName             = "/yandex.cloud.mdb.postgresql.v1.UserService/List"
	UserService_Create_FullMethodName           = "/yandex.cloud.mdb.postgresql.v1.UserService/Create"
	UserService_Update_FullMethodName           = "/yandex.cloud.mdb.postgresql.v1.UserService/Update"
	UserService_Delete_FullMethodName           = "/yandex.cloud.mdb.postgresql.v1.UserService/Delete"
	UserService_GrantPermission_FullMethodName  = "/yandex.cloud.mdb.postgresql.v1.UserService/GrantPermission"
	UserService_RevokePermission_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.UserService/RevokePermission"
)

Variables

View Source
var (
	Backup_BackupMethod_name = map[int32]string{
		0: "BACKUP_METHOD_UNSPECIFIED",
		1: "BASE",
		2: "INCREMENTAL",
	}
	Backup_BackupMethod_value = map[string]int32{
		"BACKUP_METHOD_UNSPECIFIED": 0,
		"BASE":                      1,
		"INCREMENTAL":               2,
	}
)

Enum value maps for Backup_BackupMethod.

View Source
var (
	Backup_BackupCreationType_name = map[int32]string{
		0: "BACKUP_CREATION_TYPE_UNSPECIFIED",
		1: "AUTOMATED",
		2: "MANUAL",
	}
	Backup_BackupCreationType_value = map[string]int32{
		"BACKUP_CREATION_TYPE_UNSPECIFIED": 0,
		"AUTOMATED":                        1,
		"MANUAL":                           2,
	}
)

Enum value maps for Backup_BackupCreationType.

View Source
var (
	Cluster_Environment_name = map[int32]string{
		0: "ENVIRONMENT_UNSPECIFIED",
		1: "PRODUCTION",
		2: "PRESTABLE",
	}
	Cluster_Environment_value = map[string]int32{
		"ENVIRONMENT_UNSPECIFIED": 0,
		"PRODUCTION":              1,
		"PRESTABLE":               2,
	}
)

Enum value maps for Cluster_Environment.

View Source
var (
	Cluster_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
	}
	Cluster_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"DEGRADED":       3,
	}
)

Enum value maps for Cluster_Health.

View Source
var (
	Cluster_Status_name = map[int32]string{
		0: "STATUS_UNKNOWN",
		1: "CREATING",
		2: "RUNNING",
		3: "ERROR",
		4: "UPDATING",
		5: "STOPPING",
		6: "STOPPED",
		7: "STARTING",
	}
	Cluster_Status_value = map[string]int32{
		"STATUS_UNKNOWN": 0,
		"CREATING":       1,
		"RUNNING":        2,
		"ERROR":          3,
		"UPDATING":       4,
		"STOPPING":       5,
		"STOPPED":        6,
		"STARTING":       7,
	}
)

Enum value maps for Cluster_Status.

View Source
var (
	ConnectionPoolerConfig_PoolingMode_name = map[int32]string{
		0: "POOLING_MODE_UNSPECIFIED",
		1: "SESSION",
		2: "TRANSACTION",
		3: "STATEMENT",
	}
	ConnectionPoolerConfig_PoolingMode_value = map[string]int32{
		"POOLING_MODE_UNSPECIFIED": 0,
		"SESSION":                  1,
		"TRANSACTION":              2,
		"STATEMENT":                3,
	}
)

Enum value maps for ConnectionPoolerConfig_PoolingMode.

View Source
var (
	Host_Role_name = map[int32]string{
		0: "ROLE_UNKNOWN",
		1: "MASTER",
		2: "REPLICA",
	}
	Host_Role_value = map[string]int32{
		"ROLE_UNKNOWN": 0,
		"MASTER":       1,
		"REPLICA":      2,
	}
)

Enum value maps for Host_Role.

View Source
var (
	Host_ReplicaType_name = map[int32]string{
		0: "REPLICA_TYPE_UNKNOWN",
		1: "ASYNC",
		2: "SYNC",
		3: "QUORUM",
	}
	Host_ReplicaType_value = map[string]int32{
		"REPLICA_TYPE_UNKNOWN": 0,
		"ASYNC":                1,
		"SYNC":                 2,
		"QUORUM":               3,
	}
)

Enum value maps for Host_ReplicaType.

View Source
var (
	Host_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "DEGRADED",
		4: "READONLY",
	}
	Host_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"DEGRADED":       3,
		"READONLY":       4,
	}
)

Enum value maps for Host_Health.

View Source
var (
	Service_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "POSTGRESQL",
		2: "POOLER",
	}
	Service_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"POSTGRESQL":       1,
		"POOLER":           2,
	}
)

Enum value maps for Service_Type.

View Source
var (
	Service_Health_name = map[int32]string{
		0: "HEALTH_UNKNOWN",
		1: "ALIVE",
		2: "DEAD",
		3: "READONLY",
	}
	Service_Health_value = map[string]int32{
		"HEALTH_UNKNOWN": 0,
		"ALIVE":          1,
		"DEAD":           2,
		"READONLY":       3,
	}
)

Enum value maps for Service_Health.

View Source
var (
	RescheduleMaintenanceRequest_RescheduleType_name = map[int32]string{
		0: "RESCHEDULE_TYPE_UNSPECIFIED",
		1: "IMMEDIATE",
		2: "NEXT_AVAILABLE_WINDOW",
		3: "SPECIFIC_TIME",
	}
	RescheduleMaintenanceRequest_RescheduleType_value = map[string]int32{
		"RESCHEDULE_TYPE_UNSPECIFIED": 0,
		"IMMEDIATE":                   1,
		"NEXT_AVAILABLE_WINDOW":       2,
		"SPECIFIC_TIME":               3,
	}
)

Enum value maps for RescheduleMaintenanceRequest_RescheduleType.

View Source
var (
	ListClusterLogsRequest_ServiceType_name = map[int32]string{
		0: "SERVICE_TYPE_UNSPECIFIED",
		1: "POSTGRESQL",
		2: "POOLER",
	}
	ListClusterLogsRequest_ServiceType_value = map[string]int32{
		"SERVICE_TYPE_UNSPECIFIED": 0,
		"POSTGRESQL":               1,
		"POOLER":                   2,
	}
)

Enum value maps for ListClusterLogsRequest_ServiceType.

View Source
var (
	StreamClusterLogsRequest_ServiceType_name = map[int32]string{
		0: "SERVICE_TYPE_UNSPECIFIED",
		1: "POSTGRESQL",
		2: "POOLER",
	}
	StreamClusterLogsRequest_ServiceType_value = map[string]int32{
		"SERVICE_TYPE_UNSPECIFIED": 0,
		"POSTGRESQL":               1,
		"POOLER":                   2,
	}
)

Enum value maps for StreamClusterLogsRequest_ServiceType.

View Source
var (
	WeeklyMaintenanceWindow_WeekDay_name = map[int32]string{
		0: "WEEK_DAY_UNSPECIFIED",
		1: "MON",
		2: "TUE",
		3: "WED",
		4: "THU",
		5: "FRI",
		6: "SAT",
		7: "SUN",
	}
	WeeklyMaintenanceWindow_WeekDay_value = map[string]int32{
		"WEEK_DAY_UNSPECIFIED": 0,
		"MON":                  1,
		"TUE":                  2,
		"WED":                  3,
		"THU":                  4,
		"FRI":                  5,
		"SAT":                  6,
		"SUN":                  7,
	}
)

Enum value maps for WeeklyMaintenanceWindow_WeekDay.

View Source
var (
	UserPasswordEncryption_name = map[int32]string{
		0: "USER_PASSWORD_ENCRYPTION_UNSPECIFIED",
		1: "USER_PASSWORD_ENCRYPTION_MD5",
		2: "USER_PASSWORD_ENCRYPTION_SCRAM_SHA_256",
	}
	UserPasswordEncryption_value = map[string]int32{
		"USER_PASSWORD_ENCRYPTION_UNSPECIFIED":   0,
		"USER_PASSWORD_ENCRYPTION_MD5":           1,
		"USER_PASSWORD_ENCRYPTION_SCRAM_SHA_256": 2,
	}
)

Enum value maps for UserPasswordEncryption.

View Source
var (
	PGAuditSettings_PGAuditSettingsLog_name = map[int32]string{
		0: "PG_AUDIT_SETTINGS_LOG_UNSPECIFIED",
		1: "PG_AUDIT_SETTINGS_LOG_READ",
		2: "PG_AUDIT_SETTINGS_LOG_WRITE",
		3: "PG_AUDIT_SETTINGS_LOG_FUNCTION",
		4: "PG_AUDIT_SETTINGS_LOG_ROLE",
		5: "PG_AUDIT_SETTINGS_LOG_DDL",
		6: "PG_AUDIT_SETTINGS_LOG_MISC",
		7: "PG_AUDIT_SETTINGS_LOG_MISC_SET",
	}
	PGAuditSettings_PGAuditSettingsLog_value = map[string]int32{
		"PG_AUDIT_SETTINGS_LOG_UNSPECIFIED": 0,
		"PG_AUDIT_SETTINGS_LOG_READ":        1,
		"PG_AUDIT_SETTINGS_LOG_WRITE":       2,
		"PG_AUDIT_SETTINGS_LOG_FUNCTION":    3,
		"PG_AUDIT_SETTINGS_LOG_ROLE":        4,
		"PG_AUDIT_SETTINGS_LOG_DDL":         5,
		"PG_AUDIT_SETTINGS_LOG_MISC":        6,
		"PG_AUDIT_SETTINGS_LOG_MISC_SET":    7,
	}
)

Enum value maps for PGAuditSettings_PGAuditSettingsLog.

View Source
var (
	UserSettings_SynchronousCommit_name = map[int32]string{
		0: "SYNCHRONOUS_COMMIT_UNSPECIFIED",
		1: "SYNCHRONOUS_COMMIT_ON",
		2: "SYNCHRONOUS_COMMIT_OFF",
		3: "SYNCHRONOUS_COMMIT_LOCAL",
		4: "SYNCHRONOUS_COMMIT_REMOTE_WRITE",
		5: "SYNCHRONOUS_COMMIT_REMOTE_APPLY",
	}
	UserSettings_SynchronousCommit_value = map[string]int32{
		"SYNCHRONOUS_COMMIT_UNSPECIFIED":  0,
		"SYNCHRONOUS_COMMIT_ON":           1,
		"SYNCHRONOUS_COMMIT_OFF":          2,
		"SYNCHRONOUS_COMMIT_LOCAL":        3,
		"SYNCHRONOUS_COMMIT_REMOTE_WRITE": 4,
		"SYNCHRONOUS_COMMIT_REMOTE_APPLY": 5,
	}
)

Enum value maps for UserSettings_SynchronousCommit.

View Source
var (
	UserSettings_LogStatement_name = map[int32]string{
		0: "LOG_STATEMENT_UNSPECIFIED",
		1: "LOG_STATEMENT_NONE",
		2: "LOG_STATEMENT_DDL",
		3: "LOG_STATEMENT_MOD",
		4: "LOG_STATEMENT_ALL",
	}
	UserSettings_LogStatement_value = map[string]int32{
		"LOG_STATEMENT_UNSPECIFIED": 0,
		"LOG_STATEMENT_NONE":        1,
		"LOG_STATEMENT_DDL":         2,
		"LOG_STATEMENT_MOD":         3,
		"LOG_STATEMENT_ALL":         4,
	}
)

Enum value maps for UserSettings_LogStatement.

View Source
var (
	UserSettings_TransactionIsolation_name = map[int32]string{
		0: "TRANSACTION_ISOLATION_UNSPECIFIED",
		1: "TRANSACTION_ISOLATION_READ_UNCOMMITTED",
		2: "TRANSACTION_ISOLATION_READ_COMMITTED",
		3: "TRANSACTION_ISOLATION_REPEATABLE_READ",
		4: "TRANSACTION_ISOLATION_SERIALIZABLE",
	}
	UserSettings_TransactionIsolation_value = map[string]int32{
		"TRANSACTION_ISOLATION_UNSPECIFIED":      0,
		"TRANSACTION_ISOLATION_READ_UNCOMMITTED": 1,
		"TRANSACTION_ISOLATION_READ_COMMITTED":   2,
		"TRANSACTION_ISOLATION_REPEATABLE_READ":  3,
		"TRANSACTION_ISOLATION_SERIALIZABLE":     4,
	}
)

Enum value maps for UserSettings_TransactionIsolation.

View Source
var (
	UserSettings_PoolingMode_name = map[int32]string{
		0: "POOLING_MODE_UNSPECIFIED",
		1: "SESSION",
		2: "TRANSACTION",
		3: "STATEMENT",
	}
	UserSettings_PoolingMode_value = map[string]int32{
		"POOLING_MODE_UNSPECIFIED": 0,
		"SESSION":                  1,
		"TRANSACTION":              2,
		"STATEMENT":                3,
	}
)

Enum value maps for UserSettings_PoolingMode.

View Source
var BackupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.postgresql.v1.BackupService",
	HandlerType: (*BackupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _BackupService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _BackupService_List_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _BackupService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/postgresql/v1/backup_service.proto",
}

BackupService_ServiceDesc is the grpc.ServiceDesc for BackupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ClusterService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.postgresql.v1.ClusterService",
	HandlerType: (*ClusterServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ClusterService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ClusterService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _ClusterService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _ClusterService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _ClusterService_Delete_Handler,
		},
		{
			MethodName: "Start",
			Handler:    _ClusterService_Start_Handler,
		},
		{
			MethodName: "Stop",
			Handler:    _ClusterService_Stop_Handler,
		},
		{
			MethodName: "Move",
			Handler:    _ClusterService_Move_Handler,
		},
		{
			MethodName: "Backup",
			Handler:    _ClusterService_Backup_Handler,
		},
		{
			MethodName: "Restore",
			Handler:    _ClusterService_Restore_Handler,
		},
		{
			MethodName: "RescheduleMaintenance",
			Handler:    _ClusterService_RescheduleMaintenance_Handler,
		},
		{
			MethodName: "StartFailover",
			Handler:    _ClusterService_StartFailover_Handler,
		},
		{
			MethodName: "ListLogs",
			Handler:    _ClusterService_ListLogs_Handler,
		},
		{
			MethodName: "ListOperations",
			Handler:    _ClusterService_ListOperations_Handler,
		},
		{
			MethodName: "ListBackups",
			Handler:    _ClusterService_ListBackups_Handler,
		},
		{
			MethodName: "ListHosts",
			Handler:    _ClusterService_ListHosts_Handler,
		},
		{
			MethodName: "AddHosts",
			Handler:    _ClusterService_AddHosts_Handler,
		},
		{
			MethodName: "DeleteHosts",
			Handler:    _ClusterService_DeleteHosts_Handler,
		},
		{
			MethodName: "UpdateHosts",
			Handler:    _ClusterService_UpdateHosts_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamLogs",
			Handler:       _ClusterService_StreamLogs_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "yandex/cloud/mdb/postgresql/v1/cluster_service.proto",
}

ClusterService_ServiceDesc is the grpc.ServiceDesc for ClusterService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var DatabaseService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.postgresql.v1.DatabaseService",
	HandlerType: (*DatabaseServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _DatabaseService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _DatabaseService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _DatabaseService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _DatabaseService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _DatabaseService_Delete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/postgresql/v1/database_service.proto",
}

DatabaseService_ServiceDesc is the grpc.ServiceDesc for DatabaseService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_yandex_cloud_mdb_postgresql_v1_backup_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_backup_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_cluster_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_cluster_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_database_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_database_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_maintenance_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_perf_diag_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_perf_diag_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_resource_preset_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_resource_preset_service_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_user_proto protoreflect.FileDescriptor
View Source
var File_yandex_cloud_mdb_postgresql_v1_user_service_proto protoreflect.FileDescriptor
View Source
var PerformanceDiagnosticsService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.postgresql.v1.PerformanceDiagnosticsService",
	HandlerType: (*PerformanceDiagnosticsServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListRawSessionStates",
			Handler:    _PerformanceDiagnosticsService_ListRawSessionStates_Handler,
		},
		{
			MethodName: "ListRawStatements",
			Handler:    _PerformanceDiagnosticsService_ListRawStatements_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/postgresql/v1/perf_diag_service.proto",
}

PerformanceDiagnosticsService_ServiceDesc is the grpc.ServiceDesc for PerformanceDiagnosticsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var ResourcePresetService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.postgresql.v1.ResourcePresetService",
	HandlerType: (*ResourcePresetServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _ResourcePresetService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _ResourcePresetService_List_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/postgresql/v1/resource_preset_service.proto",
}

ResourcePresetService_ServiceDesc is the grpc.ServiceDesc for ResourcePresetService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.mdb.postgresql.v1.UserService",
	HandlerType: (*UserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _UserService_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _UserService_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _UserService_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _UserService_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _UserService_Delete_Handler,
		},
		{
			MethodName: "GrantPermission",
			Handler:    _UserService_GrantPermission_Handler,
		},
		{
			MethodName: "RevokePermission",
			Handler:    _UserService_RevokePermission_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "yandex/cloud/mdb/postgresql/v1/user_service.proto",
}

UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterBackupServiceServer

func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)

func RegisterClusterServiceServer

func RegisterClusterServiceServer(s grpc.ServiceRegistrar, srv ClusterServiceServer)

func RegisterDatabaseServiceServer

func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)

func RegisterPerformanceDiagnosticsServiceServer

func RegisterPerformanceDiagnosticsServiceServer(s grpc.ServiceRegistrar, srv PerformanceDiagnosticsServiceServer)

func RegisterResourcePresetServiceServer

func RegisterResourcePresetServiceServer(s grpc.ServiceRegistrar, srv ResourcePresetServiceServer)

func RegisterUserServiceServer

func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)

Types

type Access

type Access struct {

	// Allow access for DataLens
	DataLens bool `protobuf:"varint,1,opt,name=data_lens,json=dataLens,proto3" json:"data_lens,omitempty"`
	// Allow SQL queries to the cluster databases from the management console.
	//
	// See [SQL queries in the management console](/docs/managed-postgresql/operations/web-sql-query) for more details.
	WebSql bool `protobuf:"varint,2,opt,name=web_sql,json=webSql,proto3" json:"web_sql,omitempty"`
	// Allow access for Serverless
	Serverless bool `protobuf:"varint,3,opt,name=serverless,proto3" json:"serverless,omitempty"`
	// Allow access for DataTransfer.
	DataTransfer bool `protobuf:"varint,4,opt,name=data_transfer,json=dataTransfer,proto3" json:"data_transfer,omitempty"`
	// Allow access for YandexQuery.
	YandexQuery bool `protobuf:"varint,5,opt,name=yandex_query,json=yandexQuery,proto3" json:"yandex_query,omitempty"`
	// contains filtered or unexported fields
}

func (*Access) Descriptor deprecated

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

Deprecated: Use Access.ProtoReflect.Descriptor instead.

func (*Access) GetDataLens

func (x *Access) GetDataLens() bool

func (*Access) GetDataTransfer

func (x *Access) GetDataTransfer() bool

func (*Access) GetServerless

func (x *Access) GetServerless() bool

func (*Access) GetWebSql

func (x *Access) GetWebSql() bool

func (*Access) GetYandexQuery

func (x *Access) GetYandexQuery() bool

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) ProtoReflect

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

func (*Access) Reset

func (x *Access) Reset()

func (*Access) SetDataLens

func (m *Access) SetDataLens(v bool)

func (*Access) SetDataTransfer

func (m *Access) SetDataTransfer(v bool)

func (*Access) SetServerless

func (m *Access) SetServerless(v bool)

func (*Access) SetWebSql

func (m *Access) SetWebSql(v bool)

func (*Access) SetYandexQuery

func (m *Access) SetYandexQuery(v bool)

func (*Access) String

func (x *Access) String() string

type AddClusterHostsMetadata

type AddClusterHostsMetadata struct {

	// ID of the PostgreSQL cluster to which the hosts are being added.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being added to the cluster.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClusterHostsMetadata) Descriptor deprecated

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

Deprecated: Use AddClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*AddClusterHostsMetadata) GetClusterId

func (x *AddClusterHostsMetadata) GetClusterId() string

func (*AddClusterHostsMetadata) GetHostNames

func (x *AddClusterHostsMetadata) GetHostNames() []string

func (*AddClusterHostsMetadata) ProtoMessage

func (*AddClusterHostsMetadata) ProtoMessage()

func (*AddClusterHostsMetadata) ProtoReflect

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

func (*AddClusterHostsMetadata) Reset

func (x *AddClusterHostsMetadata) Reset()

func (*AddClusterHostsMetadata) SetClusterId

func (m *AddClusterHostsMetadata) SetClusterId(v string)

func (*AddClusterHostsMetadata) SetHostNames

func (m *AddClusterHostsMetadata) SetHostNames(v []string)

func (*AddClusterHostsMetadata) String

func (x *AddClusterHostsMetadata) String() string

type AddClusterHostsRequest

type AddClusterHostsRequest struct {

	// ID of the PostgreSQL cluster to add hosts to.
	// To get the PostgreSQL cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configurations for PostgreSQL hosts that should be added to the cluster.
	HostSpecs []*HostSpec `protobuf:"bytes,2,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// contains filtered or unexported fields
}

func (*AddClusterHostsRequest) Descriptor deprecated

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

Deprecated: Use AddClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*AddClusterHostsRequest) GetClusterId

func (x *AddClusterHostsRequest) GetClusterId() string

func (*AddClusterHostsRequest) GetHostSpecs

func (x *AddClusterHostsRequest) GetHostSpecs() []*HostSpec

func (*AddClusterHostsRequest) ProtoMessage

func (*AddClusterHostsRequest) ProtoMessage()

func (*AddClusterHostsRequest) ProtoReflect

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

func (*AddClusterHostsRequest) Reset

func (x *AddClusterHostsRequest) Reset()

func (*AddClusterHostsRequest) SetClusterId

func (m *AddClusterHostsRequest) SetClusterId(v string)

func (*AddClusterHostsRequest) SetHostSpecs

func (m *AddClusterHostsRequest) SetHostSpecs(v []*HostSpec)

func (*AddClusterHostsRequest) String

func (x *AddClusterHostsRequest) String() string

type AnytimeMaintenanceWindow

type AnytimeMaintenanceWindow struct {
	// contains filtered or unexported fields
}

func (*AnytimeMaintenanceWindow) Descriptor deprecated

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

Deprecated: Use AnytimeMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*AnytimeMaintenanceWindow) ProtoMessage

func (*AnytimeMaintenanceWindow) ProtoMessage()

func (*AnytimeMaintenanceWindow) ProtoReflect

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

func (*AnytimeMaintenanceWindow) Reset

func (x *AnytimeMaintenanceWindow) Reset()

func (*AnytimeMaintenanceWindow) String

func (x *AnytimeMaintenanceWindow) String() string

type Backup

type Backup struct {

	// Required. ID of the backup.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the backup belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format
	// (i.e. when the backup operation was completed).
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// ID of the PostgreSQL cluster that the backup was created for.
	SourceClusterId string `protobuf:"bytes,4,opt,name=source_cluster_id,json=sourceClusterId,proto3" json:"source_cluster_id,omitempty"`
	// Time when the backup operation was started.
	StartedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	// Size of backup, in bytes
	Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
	// How this backup was created (manual/automatic/etc...)
	Type Backup_BackupCreationType `protobuf:"varint,7,opt,name=type,proto3,enum=yandex.cloud.mdb.postgresql.v1.Backup_BackupCreationType" json:"type,omitempty"`
	// Method of backup creation
	Method Backup_BackupMethod `protobuf:"varint,8,opt,name=method,proto3,enum=yandex.cloud.mdb.postgresql.v1.Backup_BackupMethod" json:"method,omitempty"`
	// Size of the journal associated with backup, in bytes
	JournalSize int64 `protobuf:"varint,9,opt,name=journal_size,json=journalSize,proto3" json:"journal_size,omitempty"`
	// contains filtered or unexported fields
}

A PostgreSQL Backup resource. For more information, see the [Developer's Guide](/docs/managed-postgresql/concepts/backup).

func (*Backup) Descriptor deprecated

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetCreatedAt

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

func (*Backup) GetFolderId

func (x *Backup) GetFolderId() string

func (*Backup) GetId

func (x *Backup) GetId() string

func (*Backup) GetJournalSize

func (x *Backup) GetJournalSize() int64

func (*Backup) GetMethod

func (x *Backup) GetMethod() Backup_BackupMethod

func (*Backup) GetSize

func (x *Backup) GetSize() int64

func (*Backup) GetSourceClusterId

func (x *Backup) GetSourceClusterId() string

func (*Backup) GetStartedAt

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

func (*Backup) GetType

func (x *Backup) GetType() Backup_BackupCreationType

func (*Backup) ProtoMessage

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect

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

func (*Backup) Reset

func (x *Backup) Reset()

func (*Backup) SetCreatedAt

func (m *Backup) SetCreatedAt(v *timestamppb.Timestamp)

func (*Backup) SetFolderId

func (m *Backup) SetFolderId(v string)

func (*Backup) SetId

func (m *Backup) SetId(v string)

func (*Backup) SetJournalSize

func (m *Backup) SetJournalSize(v int64)

func (*Backup) SetMethod

func (m *Backup) SetMethod(v Backup_BackupMethod)

func (*Backup) SetSize

func (m *Backup) SetSize(v int64)

func (*Backup) SetSourceClusterId

func (m *Backup) SetSourceClusterId(v string)

func (*Backup) SetStartedAt

func (m *Backup) SetStartedAt(v *timestamppb.Timestamp)

func (*Backup) SetType

func (m *Backup) SetType(v Backup_BackupCreationType)

func (*Backup) String

func (x *Backup) String() string

type BackupClusterMetadata

type BackupClusterMetadata struct {

	// ID of the PostgreSQL cluster that is being backed up.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the PostgreSQL backup that is being created.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupClusterMetadata) Descriptor deprecated

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

Deprecated: Use BackupClusterMetadata.ProtoReflect.Descriptor instead.

func (*BackupClusterMetadata) GetBackupId

func (x *BackupClusterMetadata) GetBackupId() string

func (*BackupClusterMetadata) GetClusterId

func (x *BackupClusterMetadata) GetClusterId() string

func (*BackupClusterMetadata) ProtoMessage

func (*BackupClusterMetadata) ProtoMessage()

func (*BackupClusterMetadata) ProtoReflect

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

func (*BackupClusterMetadata) Reset

func (x *BackupClusterMetadata) Reset()

func (*BackupClusterMetadata) SetBackupId

func (m *BackupClusterMetadata) SetBackupId(v string)

func (*BackupClusterMetadata) SetClusterId

func (m *BackupClusterMetadata) SetClusterId(v string)

func (*BackupClusterMetadata) String

func (x *BackupClusterMetadata) String() string

type BackupClusterRequest

type BackupClusterRequest struct {

	// ID of the PostgreSQL cluster to back up.
	// To get the PostgreSQL cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*BackupClusterRequest) Descriptor deprecated

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

Deprecated: Use BackupClusterRequest.ProtoReflect.Descriptor instead.

func (*BackupClusterRequest) GetClusterId

func (x *BackupClusterRequest) GetClusterId() string

func (*BackupClusterRequest) ProtoMessage

func (*BackupClusterRequest) ProtoMessage()

func (*BackupClusterRequest) ProtoReflect

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

func (*BackupClusterRequest) Reset

func (x *BackupClusterRequest) Reset()

func (*BackupClusterRequest) SetClusterId

func (m *BackupClusterRequest) SetClusterId(v string)

func (*BackupClusterRequest) String

func (x *BackupClusterRequest) String() string

type BackupServiceClient

type BackupServiceClient interface {
	// Returns the specified PostgreSQL Backup resource.
	//
	// To get the list of available PostgreSQL Backup resources, make a [List] request.
	Get(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
	// Retrieves the list of Backup resources available for the specified folder.
	List(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
	// Deletes the specified PostgreSQL cluster backup.
	Delete(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

BackupServiceClient is the client API for BackupService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type BackupServiceServer

type BackupServiceServer interface {
	// Returns the specified PostgreSQL Backup resource.
	//
	// To get the list of available PostgreSQL Backup resources, make a [List] request.
	Get(context.Context, *GetBackupRequest) (*Backup, error)
	// Retrieves the list of Backup resources available for the specified folder.
	List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
	// Deletes the specified PostgreSQL cluster backup.
	Delete(context.Context, *DeleteBackupRequest) (*operation.Operation, error)
}

BackupServiceServer is the server API for BackupService service. All implementations should embed UnimplementedBackupServiceServer for forward compatibility

type Backup_BackupCreationType

type Backup_BackupCreationType int32
const (
	Backup_BACKUP_CREATION_TYPE_UNSPECIFIED Backup_BackupCreationType = 0
	// Backup created by automated daily schedule
	Backup_AUTOMATED Backup_BackupCreationType = 1
	// Backup created by user request
	Backup_MANUAL Backup_BackupCreationType = 2
)

func (Backup_BackupCreationType) Descriptor

func (Backup_BackupCreationType) Enum

func (Backup_BackupCreationType) EnumDescriptor deprecated

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

Deprecated: Use Backup_BackupCreationType.Descriptor instead.

func (Backup_BackupCreationType) Number

func (Backup_BackupCreationType) String

func (x Backup_BackupCreationType) String() string

func (Backup_BackupCreationType) Type

type Backup_BackupMethod

type Backup_BackupMethod int32
const (
	Backup_BACKUP_METHOD_UNSPECIFIED Backup_BackupMethod = 0
	// Base backup
	Backup_BASE Backup_BackupMethod = 1
	// Delta (incremental) PostgreSQL backup
	Backup_INCREMENTAL Backup_BackupMethod = 2
)

func (Backup_BackupMethod) Descriptor

func (Backup_BackupMethod) Enum

func (Backup_BackupMethod) EnumDescriptor deprecated

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

Deprecated: Use Backup_BackupMethod.Descriptor instead.

func (Backup_BackupMethod) Number

func (Backup_BackupMethod) String

func (x Backup_BackupMethod) String() string

func (Backup_BackupMethod) Type

type Cluster

type Cluster struct {

	// ID of the PostgreSQL cluster.
	// This ID is assigned by MDB at creation time.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the folder that the PostgreSQL cluster belongs to.
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the PostgreSQL cluster.
	// The name is unique within the folder. 1-63 characters long.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the PostgreSQL cluster. 0-256 characters long.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the PostgreSQL cluster as “ key:value “ pairs.
	// Maximum 64 per resource.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the PostgreSQL cluster.
	Environment Cluster_Environment `` /* 132-byte string literal not displayed */
	// Description of monitoring systems relevant to the PostgreSQL cluster.
	Monitoring []*Monitoring `protobuf:"bytes,8,rep,name=monitoring,proto3" json:"monitoring,omitempty"`
	// Configuration of the PostgreSQL cluster.
	Config *ClusterConfig `protobuf:"bytes,9,opt,name=config,proto3" json:"config,omitempty"`
	// ID of the network that the cluster belongs to.
	NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// Aggregated cluster health.
	Health Cluster_Health `protobuf:"varint,11,opt,name=health,proto3,enum=yandex.cloud.mdb.postgresql.v1.Cluster_Health" json:"health,omitempty"`
	// Current state of the cluster.
	Status Cluster_Status `protobuf:"varint,12,opt,name=status,proto3,enum=yandex.cloud.mdb.postgresql.v1.Cluster_Status" json:"status,omitempty"`
	// Maintenance window for the cluster.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,13,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// Planned maintenance operation to be started for the cluster within the nearest [maintenance_window].
	PlannedOperation *MaintenanceOperation `protobuf:"bytes,14,opt,name=planned_operation,json=plannedOperation,proto3" json:"planned_operation,omitempty"`
	// User security groups
	SecurityGroupIds []string `protobuf:"bytes,15,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,16,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Host groups hosting VMs of the cluster.
	HostGroupIds []string `protobuf:"bytes,17,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"`
	// contains filtered or unexported fields
}

A PostgreSQL Cluster resource. For more information, see the [Concepts](/docs/managed-postgresql/concepts) section of the documentation.

func (*Cluster) Descriptor deprecated

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

Deprecated: Use Cluster.ProtoReflect.Descriptor instead.

func (*Cluster) GetConfig

func (x *Cluster) GetConfig() *ClusterConfig

func (*Cluster) GetCreatedAt

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

func (*Cluster) GetDeletionProtection

func (x *Cluster) GetDeletionProtection() bool

func (*Cluster) GetDescription

func (x *Cluster) GetDescription() string

func (*Cluster) GetEnvironment

func (x *Cluster) GetEnvironment() Cluster_Environment

func (*Cluster) GetFolderId

func (x *Cluster) GetFolderId() string

func (*Cluster) GetHealth

func (x *Cluster) GetHealth() Cluster_Health

func (*Cluster) GetHostGroupIds

func (x *Cluster) GetHostGroupIds() []string

func (*Cluster) GetId

func (x *Cluster) GetId() string

func (*Cluster) GetLabels

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

func (*Cluster) GetMaintenanceWindow

func (x *Cluster) GetMaintenanceWindow() *MaintenanceWindow

func (*Cluster) GetMonitoring

func (x *Cluster) GetMonitoring() []*Monitoring

func (*Cluster) GetName

func (x *Cluster) GetName() string

func (*Cluster) GetNetworkId

func (x *Cluster) GetNetworkId() string

func (*Cluster) GetPlannedOperation

func (x *Cluster) GetPlannedOperation() *MaintenanceOperation

func (*Cluster) GetSecurityGroupIds

func (x *Cluster) GetSecurityGroupIds() []string

func (*Cluster) GetStatus

func (x *Cluster) GetStatus() Cluster_Status

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) ProtoReflect

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

func (*Cluster) Reset

func (x *Cluster) Reset()

func (*Cluster) SetConfig

func (m *Cluster) SetConfig(v *ClusterConfig)

func (*Cluster) SetCreatedAt

func (m *Cluster) SetCreatedAt(v *timestamppb.Timestamp)

func (*Cluster) SetDeletionProtection

func (m *Cluster) SetDeletionProtection(v bool)

func (*Cluster) SetDescription

func (m *Cluster) SetDescription(v string)

func (*Cluster) SetEnvironment

func (m *Cluster) SetEnvironment(v Cluster_Environment)

func (*Cluster) SetFolderId

func (m *Cluster) SetFolderId(v string)

func (*Cluster) SetHealth

func (m *Cluster) SetHealth(v Cluster_Health)

func (*Cluster) SetHostGroupIds

func (m *Cluster) SetHostGroupIds(v []string)

func (*Cluster) SetId

func (m *Cluster) SetId(v string)

func (*Cluster) SetLabels

func (m *Cluster) SetLabels(v map[string]string)

func (*Cluster) SetMaintenanceWindow

func (m *Cluster) SetMaintenanceWindow(v *MaintenanceWindow)

func (*Cluster) SetMonitoring

func (m *Cluster) SetMonitoring(v []*Monitoring)

func (*Cluster) SetName

func (m *Cluster) SetName(v string)

func (*Cluster) SetNetworkId

func (m *Cluster) SetNetworkId(v string)

func (*Cluster) SetPlannedOperation

func (m *Cluster) SetPlannedOperation(v *MaintenanceOperation)

func (*Cluster) SetSecurityGroupIds

func (m *Cluster) SetSecurityGroupIds(v []string)

func (*Cluster) SetStatus

func (m *Cluster) SetStatus(v Cluster_Status)

func (*Cluster) String

func (x *Cluster) String() string

type ClusterConfig

type ClusterConfig struct {

	// Version of PostgreSQL server software.
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Configuration for PostgreSQL servers in the cluster.
	//
	// Types that are assignable to PostgresqlConfig:
	//
	//	*ClusterConfig_PostgresqlConfig_9_6
	//	*ClusterConfig_PostgresqlConfig_10_1C
	//	*ClusterConfig_PostgresqlConfig_10
	//	*ClusterConfig_PostgresqlConfig_11
	//	*ClusterConfig_PostgresqlConfig_11_1C
	//	*ClusterConfig_PostgresqlConfig_12
	//	*ClusterConfig_PostgresqlConfig_12_1C
	//	*ClusterConfig_PostgresqlConfig_13
	//	*ClusterConfig_PostgresqlConfig_13_1C
	//	*ClusterConfig_PostgresqlConfig_14
	//	*ClusterConfig_PostgresqlConfig_14_1C
	//	*ClusterConfig_PostgresqlConfig_15
	//	*ClusterConfig_PostgresqlConfig_15_1C
	//	*ClusterConfig_PostgresqlConfig_16
	//	*ClusterConfig_PostgresqlConfig_16_1C
	PostgresqlConfig isClusterConfig_PostgresqlConfig `protobuf_oneof:"postgresql_config"`
	// Configuration of the connection pooler.
	PoolerConfig *ConnectionPoolerConfig `protobuf:"bytes,4,opt,name=pooler_config,json=poolerConfig,proto3" json:"pooler_config,omitempty"`
	// Resources allocated to PostgreSQL hosts.
	Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"`
	// Configuration setting which enables/disables autofailover in cluster.
	Autofailover *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=autofailover,proto3" json:"autofailover,omitempty"`
	// Time to start the daily backup, in the UTC timezone.
	BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,7,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"`
	// Retention policy of automated backups.
	BackupRetainPeriodDays *wrapperspb.Int64Value `` /* 132-byte string literal not displayed */
	// Access policy to DB
	Access *Access `protobuf:"bytes,9,opt,name=access,proto3" json:"access,omitempty"`
	// Configuration of the performance diagnostics service.
	PerformanceDiagnostics *PerformanceDiagnostics `` /* 128-byte string literal not displayed */
	// Disk size autoscaling
	DiskSizeAutoscaling *DiskSizeAutoscaling `protobuf:"bytes,23,opt,name=disk_size_autoscaling,json=diskSizeAutoscaling,proto3" json:"disk_size_autoscaling,omitempty"`
	// contains filtered or unexported fields
}

func (*ClusterConfig) Descriptor deprecated

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

Deprecated: Use ClusterConfig.ProtoReflect.Descriptor instead.

func (*ClusterConfig) GetAccess

func (x *ClusterConfig) GetAccess() *Access

func (*ClusterConfig) GetAutofailover

func (x *ClusterConfig) GetAutofailover() *wrapperspb.BoolValue

func (*ClusterConfig) GetBackupRetainPeriodDays

func (x *ClusterConfig) GetBackupRetainPeriodDays() *wrapperspb.Int64Value

func (*ClusterConfig) GetBackupWindowStart

func (x *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay

func (*ClusterConfig) GetDiskSizeAutoscaling

func (x *ClusterConfig) GetDiskSizeAutoscaling() *DiskSizeAutoscaling

func (*ClusterConfig) GetPerformanceDiagnostics

func (x *ClusterConfig) GetPerformanceDiagnostics() *PerformanceDiagnostics

func (*ClusterConfig) GetPoolerConfig

func (x *ClusterConfig) GetPoolerConfig() *ConnectionPoolerConfig

func (*ClusterConfig) GetPostgresqlConfig

func (m *ClusterConfig) GetPostgresqlConfig() isClusterConfig_PostgresqlConfig

func (*ClusterConfig) GetPostgresqlConfig_10

func (x *ClusterConfig) GetPostgresqlConfig_10() *config.PostgresqlConfigSet10

func (*ClusterConfig) GetPostgresqlConfig_10_1C

func (x *ClusterConfig) GetPostgresqlConfig_10_1C() *config.PostgresqlConfigSet10_1C

func (*ClusterConfig) GetPostgresqlConfig_11

func (x *ClusterConfig) GetPostgresqlConfig_11() *config.PostgresqlConfigSet11

func (*ClusterConfig) GetPostgresqlConfig_11_1C

func (x *ClusterConfig) GetPostgresqlConfig_11_1C() *config.PostgresqlConfigSet11_1C

func (*ClusterConfig) GetPostgresqlConfig_12

func (x *ClusterConfig) GetPostgresqlConfig_12() *config.PostgresqlConfigSet12

func (*ClusterConfig) GetPostgresqlConfig_12_1C

func (x *ClusterConfig) GetPostgresqlConfig_12_1C() *config.PostgresqlConfigSet12_1C

func (*ClusterConfig) GetPostgresqlConfig_13

func (x *ClusterConfig) GetPostgresqlConfig_13() *config.PostgresqlConfigSet13

func (*ClusterConfig) GetPostgresqlConfig_13_1C

func (x *ClusterConfig) GetPostgresqlConfig_13_1C() *config.PostgresqlConfigSet13_1C

func (*ClusterConfig) GetPostgresqlConfig_14

func (x *ClusterConfig) GetPostgresqlConfig_14() *config.PostgresqlConfigSet14

func (*ClusterConfig) GetPostgresqlConfig_14_1C

func (x *ClusterConfig) GetPostgresqlConfig_14_1C() *config.PostgresqlConfigSet14_1C

func (*ClusterConfig) GetPostgresqlConfig_15

func (x *ClusterConfig) GetPostgresqlConfig_15() *config.PostgresqlConfigSet15

func (*ClusterConfig) GetPostgresqlConfig_15_1C

func (x *ClusterConfig) GetPostgresqlConfig_15_1C() *config.PostgresqlConfigSet15_1C

func (*ClusterConfig) GetPostgresqlConfig_16

func (x *ClusterConfig) GetPostgresqlConfig_16() *config.PostgresqlConfigSet16

func (*ClusterConfig) GetPostgresqlConfig_16_1C

func (x *ClusterConfig) GetPostgresqlConfig_16_1C() *config.PostgresqlConfigSet16_1C

func (*ClusterConfig) GetPostgresqlConfig_9_6

func (x *ClusterConfig) GetPostgresqlConfig_9_6() *config.PostgresqlConfigSet9_6

func (*ClusterConfig) GetResources

func (x *ClusterConfig) GetResources() *Resources

func (*ClusterConfig) GetVersion

func (x *ClusterConfig) GetVersion() string

func (*ClusterConfig) ProtoMessage

func (*ClusterConfig) ProtoMessage()

func (*ClusterConfig) ProtoReflect

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

func (*ClusterConfig) Reset

func (x *ClusterConfig) Reset()

func (*ClusterConfig) SetAccess

func (m *ClusterConfig) SetAccess(v *Access)

func (*ClusterConfig) SetAutofailover

func (m *ClusterConfig) SetAutofailover(v *wrapperspb.BoolValue)

func (*ClusterConfig) SetBackupRetainPeriodDays

func (m *ClusterConfig) SetBackupRetainPeriodDays(v *wrapperspb.Int64Value)

func (*ClusterConfig) SetBackupWindowStart

func (m *ClusterConfig) SetBackupWindowStart(v *timeofday.TimeOfDay)

func (*ClusterConfig) SetDiskSizeAutoscaling

func (m *ClusterConfig) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling)

func (*ClusterConfig) SetPerformanceDiagnostics

func (m *ClusterConfig) SetPerformanceDiagnostics(v *PerformanceDiagnostics)

func (*ClusterConfig) SetPoolerConfig

func (m *ClusterConfig) SetPoolerConfig(v *ConnectionPoolerConfig)

func (*ClusterConfig) SetPostgresqlConfig

func (m *ClusterConfig) SetPostgresqlConfig(v ClusterConfig_PostgresqlConfig)

func (*ClusterConfig) SetPostgresqlConfig_10

func (m *ClusterConfig) SetPostgresqlConfig_10(v *config.PostgresqlConfigSet10)

func (*ClusterConfig) SetPostgresqlConfig_10_1C

func (m *ClusterConfig) SetPostgresqlConfig_10_1C(v *config.PostgresqlConfigSet10_1C)

func (*ClusterConfig) SetPostgresqlConfig_11

func (m *ClusterConfig) SetPostgresqlConfig_11(v *config.PostgresqlConfigSet11)

func (*ClusterConfig) SetPostgresqlConfig_11_1C

func (m *ClusterConfig) SetPostgresqlConfig_11_1C(v *config.PostgresqlConfigSet11_1C)

func (*ClusterConfig) SetPostgresqlConfig_12

func (m *ClusterConfig) SetPostgresqlConfig_12(v *config.PostgresqlConfigSet12)

func (*ClusterConfig) SetPostgresqlConfig_12_1C

func (m *ClusterConfig) SetPostgresqlConfig_12_1C(v *config.PostgresqlConfigSet12_1C)

func (*ClusterConfig) SetPostgresqlConfig_13

func (m *ClusterConfig) SetPostgresqlConfig_13(v *config.PostgresqlConfigSet13)

func (*ClusterConfig) SetPostgresqlConfig_13_1C

func (m *ClusterConfig) SetPostgresqlConfig_13_1C(v *config.PostgresqlConfigSet13_1C)

func (*ClusterConfig) SetPostgresqlConfig_14

func (m *ClusterConfig) SetPostgresqlConfig_14(v *config.PostgresqlConfigSet14)

func (*ClusterConfig) SetPostgresqlConfig_14_1C

func (m *ClusterConfig) SetPostgresqlConfig_14_1C(v *config.PostgresqlConfigSet14_1C)

func (*ClusterConfig) SetPostgresqlConfig_15

func (m *ClusterConfig) SetPostgresqlConfig_15(v *config.PostgresqlConfigSet15)

func (*ClusterConfig) SetPostgresqlConfig_15_1C

func (m *ClusterConfig) SetPostgresqlConfig_15_1C(v *config.PostgresqlConfigSet15_1C)

func (*ClusterConfig) SetPostgresqlConfig_16

func (m *ClusterConfig) SetPostgresqlConfig_16(v *config.PostgresqlConfigSet16)

func (*ClusterConfig) SetPostgresqlConfig_16_1C

func (m *ClusterConfig) SetPostgresqlConfig_16_1C(v *config.PostgresqlConfigSet16_1C)

func (*ClusterConfig) SetPostgresqlConfig_9_6

func (m *ClusterConfig) SetPostgresqlConfig_9_6(v *config.PostgresqlConfigSet9_6)

func (*ClusterConfig) SetResources

func (m *ClusterConfig) SetResources(v *Resources)

func (*ClusterConfig) SetVersion

func (m *ClusterConfig) SetVersion(v string)

func (*ClusterConfig) String

func (x *ClusterConfig) String() string

type ClusterConfig_PostgresqlConfig

type ClusterConfig_PostgresqlConfig = isClusterConfig_PostgresqlConfig

type ClusterConfig_PostgresqlConfig_10

type ClusterConfig_PostgresqlConfig_10 struct {
	// Configuration of a PostgreSQL 10 server.
	PostgresqlConfig_10 *config.PostgresqlConfigSet10 `protobuf:"bytes,3,opt,name=postgresql_config_10,json=postgresqlConfig_10,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_10_1C

type ClusterConfig_PostgresqlConfig_10_1C struct {
	// Configuration of a PostgreSQL 10 1C server.
	PostgresqlConfig_10_1C *config.PostgresqlConfigSet10_1C `protobuf:"bytes,10,opt,name=postgresql_config_10_1c,json=postgresqlConfig_10_1c,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_11

type ClusterConfig_PostgresqlConfig_11 struct {
	// Configuration of a PostgreSQL 11 server.
	PostgresqlConfig_11 *config.PostgresqlConfigSet11 `protobuf:"bytes,8,opt,name=postgresql_config_11,json=postgresqlConfig_11,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_11_1C

type ClusterConfig_PostgresqlConfig_11_1C struct {
	// Configuration of a PostgreSQL 11 1C server.
	PostgresqlConfig_11_1C *config.PostgresqlConfigSet11_1C `protobuf:"bytes,13,opt,name=postgresql_config_11_1c,json=postgresqlConfig_11_1c,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_12

type ClusterConfig_PostgresqlConfig_12 struct {
	// Configuration of a PostgreSQL 12 server.
	PostgresqlConfig_12 *config.PostgresqlConfigSet12 `protobuf:"bytes,11,opt,name=postgresql_config_12,json=postgresqlConfig_12,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_12_1C

type ClusterConfig_PostgresqlConfig_12_1C struct {
	// Configuration of a PostgreSQL 12 1C server.
	PostgresqlConfig_12_1C *config.PostgresqlConfigSet12_1C `protobuf:"bytes,14,opt,name=postgresql_config_12_1c,json=postgresqlConfig_12_1c,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_13

type ClusterConfig_PostgresqlConfig_13 struct {
	// Configuration of a PostgreSQL 13 server.
	PostgresqlConfig_13 *config.PostgresqlConfigSet13 `protobuf:"bytes,15,opt,name=postgresql_config_13,json=postgresqlConfig_13,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_13_1C

type ClusterConfig_PostgresqlConfig_13_1C struct {
	// Configuration of a PostgreSQL 13 1C server.
	PostgresqlConfig_13_1C *config.PostgresqlConfigSet13_1C `protobuf:"bytes,18,opt,name=postgresql_config_13_1c,json=postgresqlConfig_13_1c,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_14

type ClusterConfig_PostgresqlConfig_14 struct {
	// Configuration of a PostgreSQL 14 server.
	PostgresqlConfig_14 *config.PostgresqlConfigSet14 `protobuf:"bytes,16,opt,name=postgresql_config_14,json=postgresqlConfig_14,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_14_1C

type ClusterConfig_PostgresqlConfig_14_1C struct {
	// Configuration of a PostgreSQL 14 1C server.
	PostgresqlConfig_14_1C *config.PostgresqlConfigSet14_1C `protobuf:"bytes,19,opt,name=postgresql_config_14_1c,json=postgresqlConfig_14_1c,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_15

type ClusterConfig_PostgresqlConfig_15 struct {
	// Configuration of a PostgreSQL 15 server.
	PostgresqlConfig_15 *config.PostgresqlConfigSet15 `protobuf:"bytes,21,opt,name=postgresql_config_15,json=postgresqlConfig_15,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_15_1C

type ClusterConfig_PostgresqlConfig_15_1C struct {
	// Configuration of a PostgreSQL 15 1C server.
	PostgresqlConfig_15_1C *config.PostgresqlConfigSet15_1C `protobuf:"bytes,22,opt,name=postgresql_config_15_1c,json=postgresqlConfig_15_1c,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_16

type ClusterConfig_PostgresqlConfig_16 struct {
	// Configuration of a PostgreSQL 16 server.
	PostgresqlConfig_16 *config.PostgresqlConfigSet16 `protobuf:"bytes,24,opt,name=postgresql_config_16,json=postgresqlConfig_16,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_16_1C

type ClusterConfig_PostgresqlConfig_16_1C struct {
	// Configuration of a PostgreSQL 16 1C server.
	PostgresqlConfig_16_1C *config.PostgresqlConfigSet16_1C `protobuf:"bytes,25,opt,name=postgresql_config_16_1c,json=postgresqlConfig_16_1c,proto3,oneof"`
}

type ClusterConfig_PostgresqlConfig_9_6

type ClusterConfig_PostgresqlConfig_9_6 struct {
	// Configuration of a PostgreSQL 9.6 server.
	PostgresqlConfig_9_6 *config.PostgresqlConfigSet9_6 `protobuf:"bytes,2,opt,name=postgresql_config_9_6,json=postgresqlConfig_9_6,proto3,oneof"`
}

type ClusterServiceClient

type ClusterServiceClient interface {
	// Returns the specified PostgreSQL Cluster resource.
	//
	// To get the list of available PostgreSQL Cluster resources, make a [List] request.
	Get(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
	// Retrieves the list of PostgreSQL Cluster resources that belong
	// to the specified folder.
	List(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
	// Creates a PostgreSQL cluster in the specified folder.
	Create(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified PostgreSQL cluster.
	Update(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified PostgreSQL cluster.
	Delete(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Start the specified PostgreSQL cluster.
	Start(ctx context.Context, in *StartClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Stop the specified PostgreSQL cluster.
	Stop(ctx context.Context, in *StopClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Moves the specified PostgreSQL cluster to the specified folder.
	Move(ctx context.Context, in *MoveClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Creates a backup for the specified PostgreSQL cluster.
	Backup(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Creates a new PostgreSQL cluster using the specified backup.
	Restore(ctx context.Context, in *RestoreClusterRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Reschedules planned maintenance operation.
	RescheduleMaintenance(ctx context.Context, in *RescheduleMaintenanceRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Start a manual failover on the specified PostgreSQL cluster.
	StartFailover(ctx context.Context, in *StartClusterFailoverRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Retrieves logs for the specified PostgreSQL cluster.
	ListLogs(ctx context.Context, in *ListClusterLogsRequest, opts ...grpc.CallOption) (*ListClusterLogsResponse, error)
	// Same as ListLogs but using server-side streaming. Also allows for 'tail -f' semantics.
	StreamLogs(ctx context.Context, in *StreamClusterLogsRequest, opts ...grpc.CallOption) (ClusterService_StreamLogsClient, error)
	// Retrieves the list of Operation resources for the specified cluster.
	ListOperations(ctx context.Context, in *ListClusterOperationsRequest, opts ...grpc.CallOption) (*ListClusterOperationsResponse, error)
	// Retrieves the list of available backups for the specified PostgreSQL cluster.
	ListBackups(ctx context.Context, in *ListClusterBackupsRequest, opts ...grpc.CallOption) (*ListClusterBackupsResponse, error)
	// Retrieves a list of hosts for the specified cluster.
	ListHosts(ctx context.Context, in *ListClusterHostsRequest, opts ...grpc.CallOption) (*ListClusterHostsResponse, error)
	// Creates new hosts for a cluster.
	AddHosts(ctx context.Context, in *AddClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified hosts for a cluster.
	DeleteHosts(ctx context.Context, in *DeleteClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified hosts.
	UpdateHosts(ctx context.Context, in *UpdateClusterHostsRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

ClusterServiceClient is the client API for ClusterService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ClusterServiceServer

type ClusterServiceServer interface {
	// Returns the specified PostgreSQL Cluster resource.
	//
	// To get the list of available PostgreSQL Cluster resources, make a [List] request.
	Get(context.Context, *GetClusterRequest) (*Cluster, error)
	// Retrieves the list of PostgreSQL Cluster resources that belong
	// to the specified folder.
	List(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
	// Creates a PostgreSQL cluster in the specified folder.
	Create(context.Context, *CreateClusterRequest) (*operation.Operation, error)
	// Updates the specified PostgreSQL cluster.
	Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error)
	// Deletes the specified PostgreSQL cluster.
	Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error)
	// Start the specified PostgreSQL cluster.
	Start(context.Context, *StartClusterRequest) (*operation.Operation, error)
	// Stop the specified PostgreSQL cluster.
	Stop(context.Context, *StopClusterRequest) (*operation.Operation, error)
	// Moves the specified PostgreSQL cluster to the specified folder.
	Move(context.Context, *MoveClusterRequest) (*operation.Operation, error)
	// Creates a backup for the specified PostgreSQL cluster.
	Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error)
	// Creates a new PostgreSQL cluster using the specified backup.
	Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error)
	// Reschedules planned maintenance operation.
	RescheduleMaintenance(context.Context, *RescheduleMaintenanceRequest) (*operation.Operation, error)
	// Start a manual failover on the specified PostgreSQL cluster.
	StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error)
	// Retrieves logs for the specified PostgreSQL cluster.
	ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
	// Same as ListLogs but using server-side streaming. Also allows for 'tail -f' semantics.
	StreamLogs(*StreamClusterLogsRequest, ClusterService_StreamLogsServer) error
	// Retrieves the list of Operation resources for the specified cluster.
	ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
	// Retrieves the list of available backups for the specified PostgreSQL cluster.
	ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
	// Retrieves a list of hosts for the specified cluster.
	ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
	// Creates new hosts for a cluster.
	AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error)
	// Deletes the specified hosts for a cluster.
	DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error)
	// Updates the specified hosts.
	UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*operation.Operation, error)
}

ClusterServiceServer is the server API for ClusterService service. All implementations should embed UnimplementedClusterServiceServer for forward compatibility

type ClusterService_StreamLogsClient

type ClusterService_StreamLogsClient interface {
	Recv() (*StreamLogRecord, error)
	grpc.ClientStream
}

type ClusterService_StreamLogsServer

type ClusterService_StreamLogsServer interface {
	Send(*StreamLogRecord) error
	grpc.ServerStream
}

type Cluster_Environment

type Cluster_Environment int32
const (
	Cluster_ENVIRONMENT_UNSPECIFIED Cluster_Environment = 0
	// Stable environment with a conservative update policy:
	// only hotfixes are applied during regular maintenance.
	Cluster_PRODUCTION Cluster_Environment = 1
	// Environment with more aggressive update policy: new versions
	// are rolled out irrespective of backward compatibility.
	Cluster_PRESTABLE Cluster_Environment = 2
)

func (Cluster_Environment) Descriptor

func (Cluster_Environment) Enum

func (Cluster_Environment) EnumDescriptor deprecated

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

Deprecated: Use Cluster_Environment.Descriptor instead.

func (Cluster_Environment) Number

func (Cluster_Environment) String

func (x Cluster_Environment) String() string

func (Cluster_Environment) Type

type Cluster_Health

type Cluster_Health int32
const (
	// State of the cluster is unknown ([Host.health] for every host in the cluster is UNKNOWN).
	Cluster_HEALTH_UNKNOWN Cluster_Health = 0
	// Cluster is alive and well ([Host.health] for every host in the cluster is ALIVE).
	Cluster_ALIVE Cluster_Health = 1
	// Cluster is inoperable ([Host.health] for every host in the cluster is DEAD).
	Cluster_DEAD Cluster_Health = 2
	// Cluster is working below capacity ([Host.health] for at least one host in the cluster is not ALIVE).
	Cluster_DEGRADED Cluster_Health = 3
)

func (Cluster_Health) Descriptor

func (Cluster_Health) Enum

func (x Cluster_Health) Enum() *Cluster_Health

func (Cluster_Health) EnumDescriptor deprecated

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

Deprecated: Use Cluster_Health.Descriptor instead.

func (Cluster_Health) Number

func (Cluster_Health) String

func (x Cluster_Health) String() string

func (Cluster_Health) Type

type Cluster_Status

type Cluster_Status int32
const (
	// Cluster state is unknown.
	Cluster_STATUS_UNKNOWN Cluster_Status = 0
	// Cluster is being created.
	Cluster_CREATING Cluster_Status = 1
	// Cluster is running normally.
	Cluster_RUNNING Cluster_Status = 2
	// Cluster encountered a problem and cannot operate.
	Cluster_ERROR Cluster_Status = 3
	// Cluster is being updated.
	Cluster_UPDATING Cluster_Status = 4
	// Cluster is stopping.
	Cluster_STOPPING Cluster_Status = 5
	// Cluster stopped.
	Cluster_STOPPED Cluster_Status = 6
	// Cluster is starting.
	Cluster_STARTING Cluster_Status = 7
)

func (Cluster_Status) Descriptor

func (Cluster_Status) Enum

func (x Cluster_Status) Enum() *Cluster_Status

func (Cluster_Status) EnumDescriptor deprecated

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

Deprecated: Use Cluster_Status.Descriptor instead.

func (Cluster_Status) Number

func (Cluster_Status) String

func (x Cluster_Status) String() string

func (Cluster_Status) Type

type ConfigHostSpec

type ConfigHostSpec struct {

	// Types that are assignable to PostgresqlConfig:
	//
	//	*ConfigHostSpec_PostgresqlConfig_9_6
	//	*ConfigHostSpec_PostgresqlConfig_10_1C
	//	*ConfigHostSpec_PostgresqlConfig_10
	//	*ConfigHostSpec_PostgresqlConfig_11
	//	*ConfigHostSpec_PostgresqlConfig_11_1C
	//	*ConfigHostSpec_PostgresqlConfig_12
	//	*ConfigHostSpec_PostgresqlConfig_12_1C
	//	*ConfigHostSpec_PostgresqlConfig_13
	//	*ConfigHostSpec_PostgresqlConfig_13_1C
	//	*ConfigHostSpec_PostgresqlConfig_14
	//	*ConfigHostSpec_PostgresqlConfig_14_1C
	//	*ConfigHostSpec_PostgresqlConfig_15
	//	*ConfigHostSpec_PostgresqlConfig_15_1C
	//	*ConfigHostSpec_PostgresqlConfig_16
	//	*ConfigHostSpec_PostgresqlConfig_16_1C
	PostgresqlConfig isConfigHostSpec_PostgresqlConfig `protobuf_oneof:"postgresql_config"`
	// contains filtered or unexported fields
}

func (*ConfigHostSpec) Descriptor deprecated

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

Deprecated: Use ConfigHostSpec.ProtoReflect.Descriptor instead.

func (*ConfigHostSpec) GetPostgresqlConfig

func (m *ConfigHostSpec) GetPostgresqlConfig() isConfigHostSpec_PostgresqlConfig

func (*ConfigHostSpec) GetPostgresqlConfig_10

func (x *ConfigHostSpec) GetPostgresqlConfig_10() *config.PostgresqlHostConfig10

func (*ConfigHostSpec) GetPostgresqlConfig_10_1C

func (x *ConfigHostSpec) GetPostgresqlConfig_10_1C() *config.PostgresqlHostConfig10_1C

func (*ConfigHostSpec) GetPostgresqlConfig_11

func (x *ConfigHostSpec) GetPostgresqlConfig_11() *config.PostgresqlHostConfig11

func (*ConfigHostSpec) GetPostgresqlConfig_11_1C

func (x *ConfigHostSpec) GetPostgresqlConfig_11_1C() *config.PostgresqlHostConfig11_1C

func (*ConfigHostSpec) GetPostgresqlConfig_12

func (x *ConfigHostSpec) GetPostgresqlConfig_12() *config.PostgresqlHostConfig12

func (*ConfigHostSpec) GetPostgresqlConfig_12_1C

func (x *ConfigHostSpec) GetPostgresqlConfig_12_1C() *config.PostgresqlHostConfig12_1C

func (*ConfigHostSpec) GetPostgresqlConfig_13

func (x *ConfigHostSpec) GetPostgresqlConfig_13() *config.PostgresqlHostConfig13

func (*ConfigHostSpec) GetPostgresqlConfig_13_1C

func (x *ConfigHostSpec) GetPostgresqlConfig_13_1C() *config.PostgresqlHostConfig13_1C

func (*ConfigHostSpec) GetPostgresqlConfig_14

func (x *ConfigHostSpec) GetPostgresqlConfig_14() *config.PostgresqlHostConfig14

func (*ConfigHostSpec) GetPostgresqlConfig_14_1C

func (x *ConfigHostSpec) GetPostgresqlConfig_14_1C() *config.PostgresqlHostConfig14_1C

func (*ConfigHostSpec) GetPostgresqlConfig_15

func (x *ConfigHostSpec) GetPostgresqlConfig_15() *config.PostgresqlHostConfig15

func (*ConfigHostSpec) GetPostgresqlConfig_15_1C

func (x *ConfigHostSpec) GetPostgresqlConfig_15_1C() *config.PostgresqlHostConfig15_1C

func (*ConfigHostSpec) GetPostgresqlConfig_16

func (x *ConfigHostSpec) GetPostgresqlConfig_16() *config.PostgresqlHostConfig16

func (*ConfigHostSpec) GetPostgresqlConfig_16_1C

func (x *ConfigHostSpec) GetPostgresqlConfig_16_1C() *config.PostgresqlHostConfig16_1C

func (*ConfigHostSpec) GetPostgresqlConfig_9_6

func (x *ConfigHostSpec) GetPostgresqlConfig_9_6() *config.PostgresqlHostConfig9_6

func (*ConfigHostSpec) ProtoMessage

func (*ConfigHostSpec) ProtoMessage()

func (*ConfigHostSpec) ProtoReflect

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

func (*ConfigHostSpec) Reset

func (x *ConfigHostSpec) Reset()

func (*ConfigHostSpec) SetPostgresqlConfig

func (m *ConfigHostSpec) SetPostgresqlConfig(v ConfigHostSpec_PostgresqlConfig)

func (*ConfigHostSpec) SetPostgresqlConfig_10

func (m *ConfigHostSpec) SetPostgresqlConfig_10(v *config.PostgresqlHostConfig10)

func (*ConfigHostSpec) SetPostgresqlConfig_10_1C

func (m *ConfigHostSpec) SetPostgresqlConfig_10_1C(v *config.PostgresqlHostConfig10_1C)

func (*ConfigHostSpec) SetPostgresqlConfig_11

func (m *ConfigHostSpec) SetPostgresqlConfig_11(v *config.PostgresqlHostConfig11)

func (*ConfigHostSpec) SetPostgresqlConfig_11_1C

func (m *ConfigHostSpec) SetPostgresqlConfig_11_1C(v *config.PostgresqlHostConfig11_1C)

func (*ConfigHostSpec) SetPostgresqlConfig_12

func (m *ConfigHostSpec) SetPostgresqlConfig_12(v *config.PostgresqlHostConfig12)

func (*ConfigHostSpec) SetPostgresqlConfig_12_1C

func (m *ConfigHostSpec) SetPostgresqlConfig_12_1C(v *config.PostgresqlHostConfig12_1C)

func (*ConfigHostSpec) SetPostgresqlConfig_13

func (m *ConfigHostSpec) SetPostgresqlConfig_13(v *config.PostgresqlHostConfig13)

func (*ConfigHostSpec) SetPostgresqlConfig_13_1C

func (m *ConfigHostSpec) SetPostgresqlConfig_13_1C(v *config.PostgresqlHostConfig13_1C)

func (*ConfigHostSpec) SetPostgresqlConfig_14

func (m *ConfigHostSpec) SetPostgresqlConfig_14(v *config.PostgresqlHostConfig14)

func (*ConfigHostSpec) SetPostgresqlConfig_14_1C

func (m *ConfigHostSpec) SetPostgresqlConfig_14_1C(v *config.PostgresqlHostConfig14_1C)

func (*ConfigHostSpec) SetPostgresqlConfig_15

func (m *ConfigHostSpec) SetPostgresqlConfig_15(v *config.PostgresqlHostConfig15)

func (*ConfigHostSpec) SetPostgresqlConfig_15_1C

func (m *ConfigHostSpec) SetPostgresqlConfig_15_1C(v *config.PostgresqlHostConfig15_1C)

func (*ConfigHostSpec) SetPostgresqlConfig_16

func (m *ConfigHostSpec) SetPostgresqlConfig_16(v *config.PostgresqlHostConfig16)

func (*ConfigHostSpec) SetPostgresqlConfig_16_1C

func (m *ConfigHostSpec) SetPostgresqlConfig_16_1C(v *config.PostgresqlHostConfig16_1C)

func (*ConfigHostSpec) SetPostgresqlConfig_9_6

func (m *ConfigHostSpec) SetPostgresqlConfig_9_6(v *config.PostgresqlHostConfig9_6)

func (*ConfigHostSpec) String

func (x *ConfigHostSpec) String() string

type ConfigHostSpec_PostgresqlConfig

type ConfigHostSpec_PostgresqlConfig = isConfigHostSpec_PostgresqlConfig

type ConfigHostSpec_PostgresqlConfig_10

type ConfigHostSpec_PostgresqlConfig_10 struct {
	// Configuration for a host with PostgreSQL 10 server deployed.
	PostgresqlConfig_10 *config.PostgresqlHostConfig10 `protobuf:"bytes,2,opt,name=postgresql_config_10,json=postgresqlHostConfig_10,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_10_1C

type ConfigHostSpec_PostgresqlConfig_10_1C struct {
	// Configuration for a host with PostgreSQL 10 1C server deployed.
	PostgresqlConfig_10_1C *config.PostgresqlHostConfig10_1C `protobuf:"bytes,4,opt,name=postgresql_config_10_1c,json=postgresqlHostConfig_10_1c,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_11

type ConfigHostSpec_PostgresqlConfig_11 struct {
	// Configuration for a host with PostgreSQL 11 server deployed.
	PostgresqlConfig_11 *config.PostgresqlHostConfig11 `protobuf:"bytes,3,opt,name=postgresql_config_11,json=postgresqlHostConfig_11,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_11_1C

type ConfigHostSpec_PostgresqlConfig_11_1C struct {
	// Configuration for a host with PostgreSQL 11 1C server deployed.
	PostgresqlConfig_11_1C *config.PostgresqlHostConfig11_1C `protobuf:"bytes,6,opt,name=postgresql_config_11_1c,json=postgresqlHostConfig_11_1c,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_12

type ConfigHostSpec_PostgresqlConfig_12 struct {
	// Configuration for a host with PostgreSQL 12 server deployed.
	PostgresqlConfig_12 *config.PostgresqlHostConfig12 `protobuf:"bytes,5,opt,name=postgresql_config_12,json=postgresqlHostConfig_12,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_12_1C

type ConfigHostSpec_PostgresqlConfig_12_1C struct {
	// Configuration for a host with PostgreSQL 12 1C server deployed.
	PostgresqlConfig_12_1C *config.PostgresqlHostConfig12_1C `protobuf:"bytes,7,opt,name=postgresql_config_12_1c,json=postgresqlHostConfig_12_1c,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_13

type ConfigHostSpec_PostgresqlConfig_13 struct {
	// Configuration for a host with PostgreSQL 13 server deployed.
	PostgresqlConfig_13 *config.PostgresqlHostConfig13 `protobuf:"bytes,8,opt,name=postgresql_config_13,json=postgresqlHostConfig_13,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_13_1C

type ConfigHostSpec_PostgresqlConfig_13_1C struct {
	// Configuration for a host with PostgreSQL 13 1C server deployed.
	PostgresqlConfig_13_1C *config.PostgresqlHostConfig13_1C `protobuf:"bytes,10,opt,name=postgresql_config_13_1c,json=postgresqlHostConfig_13_1c,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_14

type ConfigHostSpec_PostgresqlConfig_14 struct {
	// Configuration for a host with PostgreSQL 14 server deployed.
	PostgresqlConfig_14 *config.PostgresqlHostConfig14 `protobuf:"bytes,9,opt,name=postgresql_config_14,json=postgresqlHostConfig_14,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_14_1C

type ConfigHostSpec_PostgresqlConfig_14_1C struct {
	// Configuration for a host with PostgreSQL 14 1C server deployed.
	PostgresqlConfig_14_1C *config.PostgresqlHostConfig14_1C `protobuf:"bytes,11,opt,name=postgresql_config_14_1c,json=postgresqlHostConfig_14_1c,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_15

type ConfigHostSpec_PostgresqlConfig_15 struct {
	// Configuration for a host with PostgreSQL 15 server deployed.
	PostgresqlConfig_15 *config.PostgresqlHostConfig15 `protobuf:"bytes,12,opt,name=postgresql_config_15,json=postgresqlHostConfig_15,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_15_1C

type ConfigHostSpec_PostgresqlConfig_15_1C struct {
	// Configuration for a host with PostgreSQL 15 1C server deployed.
	PostgresqlConfig_15_1C *config.PostgresqlHostConfig15_1C `protobuf:"bytes,13,opt,name=postgresql_config_15_1c,json=postgresqlHostConfig_15_1c,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_16

type ConfigHostSpec_PostgresqlConfig_16 struct {
	// Configuration for a host with PostgreSQL 16 server deployed.
	PostgresqlConfig_16 *config.PostgresqlHostConfig16 `protobuf:"bytes,14,opt,name=postgresql_config_16,json=postgresqlHostConfig_16,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_16_1C

type ConfigHostSpec_PostgresqlConfig_16_1C struct {
	// Configuration for a host with PostgreSQL 16 1C server deployed.
	PostgresqlConfig_16_1C *config.PostgresqlHostConfig16_1C `protobuf:"bytes,15,opt,name=postgresql_config_16_1c,json=postgresqlHostConfig_16_1c,proto3,oneof"`
}

type ConfigHostSpec_PostgresqlConfig_9_6

type ConfigHostSpec_PostgresqlConfig_9_6 struct {
	// Configuration for a host with PostgreSQL 9.6 server deployed.
	PostgresqlConfig_9_6 *config.PostgresqlHostConfig9_6 `protobuf:"bytes,1,opt,name=postgresql_config_9_6,json=postgresqlHostConfig_9_6,proto3,oneof"`
}

type ConfigSpec

type ConfigSpec struct {

	// Version of PostgreSQL used in the cluster.
	// Possible values: `9.6`, `10`, `10_1c`, `11`, `12`, `13`, `14`, `15`
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Configuration of a PostgreSQL cluster.
	//
	// Types that are assignable to PostgresqlConfig:
	//
	//	*ConfigSpec_PostgresqlConfig_9_6
	//	*ConfigSpec_PostgresqlConfig_10_1C
	//	*ConfigSpec_PostgresqlConfig_10
	//	*ConfigSpec_PostgresqlConfig_11
	//	*ConfigSpec_PostgresqlConfig_11_1C
	//	*ConfigSpec_PostgresqlConfig_12
	//	*ConfigSpec_PostgresqlConfig_12_1C
	//	*ConfigSpec_PostgresqlConfig_13
	//	*ConfigSpec_PostgresqlConfig_13_1C
	//	*ConfigSpec_PostgresqlConfig_14
	//	*ConfigSpec_PostgresqlConfig_14_1C
	//	*ConfigSpec_PostgresqlConfig_15
	//	*ConfigSpec_PostgresqlConfig_15_1C
	//	*ConfigSpec_PostgresqlConfig_16
	//	*ConfigSpec_PostgresqlConfig_16_1C
	PostgresqlConfig isConfigSpec_PostgresqlConfig `protobuf_oneof:"postgresql_config"`
	// Configuration of the connection pooler.
	PoolerConfig *ConnectionPoolerConfig `protobuf:"bytes,4,opt,name=pooler_config,json=poolerConfig,proto3" json:"pooler_config,omitempty"`
	// Resources allocated to PostgreSQL hosts.
	Resources *Resources `protobuf:"bytes,5,opt,name=resources,proto3" json:"resources,omitempty"`
	// Configuration setting which enables/disables autofailover in cluster.
	Autofailover *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=autofailover,proto3" json:"autofailover,omitempty"`
	// Time to start the daily backup, in the UTC timezone.
	BackupWindowStart *timeofday.TimeOfDay `protobuf:"bytes,8,opt,name=backup_window_start,json=backupWindowStart,proto3" json:"backup_window_start,omitempty"`
	// Retention policy of automated backups.
	BackupRetainPeriodDays *wrapperspb.Int64Value `` /* 132-byte string literal not displayed */
	// Access policy to DB
	Access *Access `protobuf:"bytes,9,opt,name=access,proto3" json:"access,omitempty"`
	// Configuration of the performance diagnostics service.
	PerformanceDiagnostics *PerformanceDiagnostics `` /* 128-byte string literal not displayed */
	// Disk size autoscaling
	DiskSizeAutoscaling *DiskSizeAutoscaling `protobuf:"bytes,23,opt,name=disk_size_autoscaling,json=diskSizeAutoscaling,proto3" json:"disk_size_autoscaling,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigSpec) Descriptor deprecated

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

Deprecated: Use ConfigSpec.ProtoReflect.Descriptor instead.

func (*ConfigSpec) GetAccess

func (x *ConfigSpec) GetAccess() *Access

func (*ConfigSpec) GetAutofailover

func (x *ConfigSpec) GetAutofailover() *wrapperspb.BoolValue

func (*ConfigSpec) GetBackupRetainPeriodDays

func (x *ConfigSpec) GetBackupRetainPeriodDays() *wrapperspb.Int64Value

func (*ConfigSpec) GetBackupWindowStart

func (x *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay

func (*ConfigSpec) GetDiskSizeAutoscaling

func (x *ConfigSpec) GetDiskSizeAutoscaling() *DiskSizeAutoscaling

func (*ConfigSpec) GetPerformanceDiagnostics

func (x *ConfigSpec) GetPerformanceDiagnostics() *PerformanceDiagnostics

func (*ConfigSpec) GetPoolerConfig

func (x *ConfigSpec) GetPoolerConfig() *ConnectionPoolerConfig

func (*ConfigSpec) GetPostgresqlConfig

func (m *ConfigSpec) GetPostgresqlConfig() isConfigSpec_PostgresqlConfig

func (*ConfigSpec) GetPostgresqlConfig_10

func (x *ConfigSpec) GetPostgresqlConfig_10() *config.PostgresqlConfig10

func (*ConfigSpec) GetPostgresqlConfig_10_1C

func (x *ConfigSpec) GetPostgresqlConfig_10_1C() *config.PostgresqlConfig10_1C

func (*ConfigSpec) GetPostgresqlConfig_11

func (x *ConfigSpec) GetPostgresqlConfig_11() *config.PostgresqlConfig11

func (*ConfigSpec) GetPostgresqlConfig_11_1C

func (x *ConfigSpec) GetPostgresqlConfig_11_1C() *config.PostgresqlConfig11_1C

func (*ConfigSpec) GetPostgresqlConfig_12

func (x *ConfigSpec) GetPostgresqlConfig_12() *config.PostgresqlConfig12

func (*ConfigSpec) GetPostgresqlConfig_12_1C

func (x *ConfigSpec) GetPostgresqlConfig_12_1C() *config.PostgresqlConfig12_1C

func (*ConfigSpec) GetPostgresqlConfig_13

func (x *ConfigSpec) GetPostgresqlConfig_13() *config.PostgresqlConfig13

func (*ConfigSpec) GetPostgresqlConfig_13_1C

func (x *ConfigSpec) GetPostgresqlConfig_13_1C() *config.PostgresqlConfig13_1C

func (*ConfigSpec) GetPostgresqlConfig_14

func (x *ConfigSpec) GetPostgresqlConfig_14() *config.PostgresqlConfig14

func (*ConfigSpec) GetPostgresqlConfig_14_1C

func (x *ConfigSpec) GetPostgresqlConfig_14_1C() *config.PostgresqlConfig14_1C

func (*ConfigSpec) GetPostgresqlConfig_15

func (x *ConfigSpec) GetPostgresqlConfig_15() *config.PostgresqlConfig15

func (*ConfigSpec) GetPostgresqlConfig_15_1C

func (x *ConfigSpec) GetPostgresqlConfig_15_1C() *config.PostgresqlConfig15_1C

func (*ConfigSpec) GetPostgresqlConfig_16

func (x *ConfigSpec) GetPostgresqlConfig_16() *config.PostgresqlConfig16

func (*ConfigSpec) GetPostgresqlConfig_16_1C

func (x *ConfigSpec) GetPostgresqlConfig_16_1C() *config.PostgresqlConfig16_1C

func (*ConfigSpec) GetPostgresqlConfig_9_6

func (x *ConfigSpec) GetPostgresqlConfig_9_6() *config.PostgresqlConfig9_6

func (*ConfigSpec) GetResources

func (x *ConfigSpec) GetResources() *Resources

func (*ConfigSpec) GetVersion

func (x *ConfigSpec) GetVersion() string

func (*ConfigSpec) ProtoMessage

func (*ConfigSpec) ProtoMessage()

func (*ConfigSpec) ProtoReflect

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

func (*ConfigSpec) Reset

func (x *ConfigSpec) Reset()

func (*ConfigSpec) SetAccess

func (m *ConfigSpec) SetAccess(v *Access)

func (*ConfigSpec) SetAutofailover

func (m *ConfigSpec) SetAutofailover(v *wrapperspb.BoolValue)

func (*ConfigSpec) SetBackupRetainPeriodDays

func (m *ConfigSpec) SetBackupRetainPeriodDays(v *wrapperspb.Int64Value)

func (*ConfigSpec) SetBackupWindowStart

func (m *ConfigSpec) SetBackupWindowStart(v *timeofday.TimeOfDay)

func (*ConfigSpec) SetDiskSizeAutoscaling

func (m *ConfigSpec) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling)

func (*ConfigSpec) SetPerformanceDiagnostics

func (m *ConfigSpec) SetPerformanceDiagnostics(v *PerformanceDiagnostics)

func (*ConfigSpec) SetPoolerConfig

func (m *ConfigSpec) SetPoolerConfig(v *ConnectionPoolerConfig)

func (*ConfigSpec) SetPostgresqlConfig

func (m *ConfigSpec) SetPostgresqlConfig(v ConfigSpec_PostgresqlConfig)

func (*ConfigSpec) SetPostgresqlConfig_10

func (m *ConfigSpec) SetPostgresqlConfig_10(v *config.PostgresqlConfig10)

func (*ConfigSpec) SetPostgresqlConfig_10_1C

func (m *ConfigSpec) SetPostgresqlConfig_10_1C(v *config.PostgresqlConfig10_1C)

func (*ConfigSpec) SetPostgresqlConfig_11

func (m *ConfigSpec) SetPostgresqlConfig_11(v *config.PostgresqlConfig11)

func (*ConfigSpec) SetPostgresqlConfig_11_1C

func (m *ConfigSpec) SetPostgresqlConfig_11_1C(v *config.PostgresqlConfig11_1C)

func (*ConfigSpec) SetPostgresqlConfig_12

func (m *ConfigSpec) SetPostgresqlConfig_12(v *config.PostgresqlConfig12)

func (*ConfigSpec) SetPostgresqlConfig_12_1C

func (m *ConfigSpec) SetPostgresqlConfig_12_1C(v *config.PostgresqlConfig12_1C)

func (*ConfigSpec) SetPostgresqlConfig_13

func (m *ConfigSpec) SetPostgresqlConfig_13(v *config.PostgresqlConfig13)

func (*ConfigSpec) SetPostgresqlConfig_13_1C

func (m *ConfigSpec) SetPostgresqlConfig_13_1C(v *config.PostgresqlConfig13_1C)

func (*ConfigSpec) SetPostgresqlConfig_14

func (m *ConfigSpec) SetPostgresqlConfig_14(v *config.PostgresqlConfig14)

func (*ConfigSpec) SetPostgresqlConfig_14_1C

func (m *ConfigSpec) SetPostgresqlConfig_14_1C(v *config.PostgresqlConfig14_1C)

func (*ConfigSpec) SetPostgresqlConfig_15

func (m *ConfigSpec) SetPostgresqlConfig_15(v *config.PostgresqlConfig15)

func (*ConfigSpec) SetPostgresqlConfig_15_1C

func (m *ConfigSpec) SetPostgresqlConfig_15_1C(v *config.PostgresqlConfig15_1C)

func (*ConfigSpec) SetPostgresqlConfig_16

func (m *ConfigSpec) SetPostgresqlConfig_16(v *config.PostgresqlConfig16)

func (*ConfigSpec) SetPostgresqlConfig_16_1C

func (m *ConfigSpec) SetPostgresqlConfig_16_1C(v *config.PostgresqlConfig16_1C)

func (*ConfigSpec) SetPostgresqlConfig_9_6

func (m *ConfigSpec) SetPostgresqlConfig_9_6(v *config.PostgresqlConfig9_6)

func (*ConfigSpec) SetResources

func (m *ConfigSpec) SetResources(v *Resources)

func (*ConfigSpec) SetVersion

func (m *ConfigSpec) SetVersion(v string)

func (*ConfigSpec) String

func (x *ConfigSpec) String() string

type ConfigSpec_PostgresqlConfig

type ConfigSpec_PostgresqlConfig = isConfigSpec_PostgresqlConfig

type ConfigSpec_PostgresqlConfig_10

type ConfigSpec_PostgresqlConfig_10 struct {
	// Configuration for a PostgreSQL 10 cluster.
	PostgresqlConfig_10 *config.PostgresqlConfig10 `protobuf:"bytes,3,opt,name=postgresql_config_10,json=postgresqlConfig_10,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_10_1C

type ConfigSpec_PostgresqlConfig_10_1C struct {
	// Configuration for a PostgreSQL 10 1C cluster.
	PostgresqlConfig_10_1C *config.PostgresqlConfig10_1C `protobuf:"bytes,10,opt,name=postgresql_config_10_1c,json=postgresqlConfig_10_1c,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_11

type ConfigSpec_PostgresqlConfig_11 struct {
	// Configuration for a PostgreSQL 11 cluster.
	PostgresqlConfig_11 *config.PostgresqlConfig11 `protobuf:"bytes,7,opt,name=postgresql_config_11,json=postgresqlConfig_11,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_11_1C

type ConfigSpec_PostgresqlConfig_11_1C struct {
	// Configuration for a PostgreSQL 11 1C cluster.
	PostgresqlConfig_11_1C *config.PostgresqlConfig11_1C `protobuf:"bytes,13,opt,name=postgresql_config_11_1c,json=postgresqlConfig_11_1c,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_12

type ConfigSpec_PostgresqlConfig_12 struct {
	// Configuration for a PostgreSQL 12 cluster.
	PostgresqlConfig_12 *config.PostgresqlConfig12 `protobuf:"bytes,11,opt,name=postgresql_config_12,json=postgresqlConfig_12,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_12_1C

type ConfigSpec_PostgresqlConfig_12_1C struct {
	// Configuration for a PostgreSQL 12 1C cluster.
	PostgresqlConfig_12_1C *config.PostgresqlConfig12_1C `protobuf:"bytes,14,opt,name=postgresql_config_12_1c,json=postgresqlConfig_12_1c,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_13

type ConfigSpec_PostgresqlConfig_13 struct {
	// Configuration for a PostgreSQL 13 cluster.
	PostgresqlConfig_13 *config.PostgresqlConfig13 `protobuf:"bytes,15,opt,name=postgresql_config_13,json=postgresqlConfig_13,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_13_1C

type ConfigSpec_PostgresqlConfig_13_1C struct {
	// Configuration for a PostgreSQL 13 1C cluster.
	PostgresqlConfig_13_1C *config.PostgresqlConfig13_1C `protobuf:"bytes,18,opt,name=postgresql_config_13_1c,json=postgresqlConfig_13_1c,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_14

type ConfigSpec_PostgresqlConfig_14 struct {
	// Configuration for a PostgreSQL 14 cluster.
	PostgresqlConfig_14 *config.PostgresqlConfig14 `protobuf:"bytes,16,opt,name=postgresql_config_14,json=postgresqlConfig_14,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_14_1C

type ConfigSpec_PostgresqlConfig_14_1C struct {
	// Configuration for a PostgreSQL 14 1C cluster.
	PostgresqlConfig_14_1C *config.PostgresqlConfig14_1C `protobuf:"bytes,19,opt,name=postgresql_config_14_1c,json=postgresqlConfig_14_1c,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_15

type ConfigSpec_PostgresqlConfig_15 struct {
	// Configuration for a PostgreSQL 15 cluster.
	PostgresqlConfig_15 *config.PostgresqlConfig15 `protobuf:"bytes,21,opt,name=postgresql_config_15,json=postgresqlConfig_15,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_15_1C

type ConfigSpec_PostgresqlConfig_15_1C struct {
	// Configuration for a PostgreSQL 15 1C cluster.
	PostgresqlConfig_15_1C *config.PostgresqlConfig15_1C `protobuf:"bytes,22,opt,name=postgresql_config_15_1c,json=postgresqlConfig_15_1c,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_16

type ConfigSpec_PostgresqlConfig_16 struct {
	// Configuration for a PostgreSQL 16 cluster.
	PostgresqlConfig_16 *config.PostgresqlConfig16 `protobuf:"bytes,24,opt,name=postgresql_config_16,json=postgresqlConfig_16,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_16_1C

type ConfigSpec_PostgresqlConfig_16_1C struct {
	// Configuration for a PostgreSQL 16 1C cluster.
	PostgresqlConfig_16_1C *config.PostgresqlConfig16_1C `protobuf:"bytes,25,opt,name=postgresql_config_16_1c,json=postgresqlConfig_16_1c,proto3,oneof"`
}

type ConfigSpec_PostgresqlConfig_9_6

type ConfigSpec_PostgresqlConfig_9_6 struct {
	// Configuration for a PostgreSQL 9.6 cluster.
	PostgresqlConfig_9_6 *config.PostgresqlConfig9_6 `protobuf:"bytes,2,opt,name=postgresql_config_9_6,json=postgresqlConfig_9_6,proto3,oneof"`
}

type ConnectionPoolerConfig

type ConnectionPoolerConfig struct {

	// Mode that the connection pooler is working in.
	// See descriptions of all modes in the [documentation for PgBouncer](https://pgbouncer.github.io/usage).
	PoolingMode ConnectionPoolerConfig_PoolingMode `` /* 166-byte string literal not displayed */
	// Setting `server_reset_query_always` parameter in PgBouncer.
	PoolDiscard *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=pool_discard,json=poolDiscard,proto3" json:"pool_discard,omitempty"`
	// contains filtered or unexported fields
}

func (*ConnectionPoolerConfig) Descriptor deprecated

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

Deprecated: Use ConnectionPoolerConfig.ProtoReflect.Descriptor instead.

func (*ConnectionPoolerConfig) GetPoolDiscard

func (x *ConnectionPoolerConfig) GetPoolDiscard() *wrapperspb.BoolValue

func (*ConnectionPoolerConfig) GetPoolingMode

func (*ConnectionPoolerConfig) ProtoMessage

func (*ConnectionPoolerConfig) ProtoMessage()

func (*ConnectionPoolerConfig) ProtoReflect

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

func (*ConnectionPoolerConfig) Reset

func (x *ConnectionPoolerConfig) Reset()

func (*ConnectionPoolerConfig) SetPoolDiscard

func (m *ConnectionPoolerConfig) SetPoolDiscard(v *wrapperspb.BoolValue)

func (*ConnectionPoolerConfig) SetPoolingMode

func (*ConnectionPoolerConfig) String

func (x *ConnectionPoolerConfig) String() string

type ConnectionPoolerConfig_PoolingMode

type ConnectionPoolerConfig_PoolingMode int32
const (
	ConnectionPoolerConfig_POOLING_MODE_UNSPECIFIED ConnectionPoolerConfig_PoolingMode = 0
	// Session pooling mode.
	ConnectionPoolerConfig_SESSION ConnectionPoolerConfig_PoolingMode = 1
	// Transaction pooling mode.
	ConnectionPoolerConfig_TRANSACTION ConnectionPoolerConfig_PoolingMode = 2
	// Statement pooling mode.
	ConnectionPoolerConfig_STATEMENT ConnectionPoolerConfig_PoolingMode = 3
)

func (ConnectionPoolerConfig_PoolingMode) Descriptor

func (ConnectionPoolerConfig_PoolingMode) Enum

func (ConnectionPoolerConfig_PoolingMode) EnumDescriptor deprecated

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

Deprecated: Use ConnectionPoolerConfig_PoolingMode.Descriptor instead.

func (ConnectionPoolerConfig_PoolingMode) Number

func (ConnectionPoolerConfig_PoolingMode) String

func (ConnectionPoolerConfig_PoolingMode) Type

type CreateClusterMetadata

type CreateClusterMetadata struct {

	// ID of the PostgreSQL cluster that is being created.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClusterMetadata) Descriptor deprecated

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

Deprecated: Use CreateClusterMetadata.ProtoReflect.Descriptor instead.

func (*CreateClusterMetadata) GetClusterId

func (x *CreateClusterMetadata) GetClusterId() string

func (*CreateClusterMetadata) ProtoMessage

func (*CreateClusterMetadata) ProtoMessage()

func (*CreateClusterMetadata) ProtoReflect

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

func (*CreateClusterMetadata) Reset

func (x *CreateClusterMetadata) Reset()

func (*CreateClusterMetadata) SetClusterId

func (m *CreateClusterMetadata) SetClusterId(v string)

func (*CreateClusterMetadata) String

func (x *CreateClusterMetadata) String() string

type CreateClusterRequest

type CreateClusterRequest struct {

	// ID of the folder to create the PostgreSQL cluster in.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Name of the PostgreSQL cluster. The name must be unique within the folder.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the PostgreSQL cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the PostgreSQL cluster as “ key:value “ pairs. Maximum 64 per resource.
	// For example, "project": "mvp" or "source": "dictionary".
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the PostgreSQL cluster.
	Environment Cluster_Environment `` /* 132-byte string literal not displayed */
	// Configuration and resources for hosts that should be created for the PostgreSQL cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Descriptions of databases to be created in the PostgreSQL cluster.
	DatabaseSpecs []*DatabaseSpec `protobuf:"bytes,7,rep,name=database_specs,json=databaseSpecs,proto3" json:"database_specs,omitempty"`
	// Descriptions of database users to be created in the PostgreSQL cluster.
	UserSpecs []*UserSpec `protobuf:"bytes,8,rep,name=user_specs,json=userSpecs,proto3" json:"user_specs,omitempty"`
	// Individual configurations for hosts that should be created for the PostgreSQL cluster.
	HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// ID of the network to create the cluster in.
	NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// User security groups
	SecurityGroupIds []string `protobuf:"bytes,11,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,12,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Host groups hosting VMs of the cluster.
	HostGroupIds []string `protobuf:"bytes,13,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateClusterRequest) Descriptor deprecated

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

Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.

func (*CreateClusterRequest) GetConfigSpec

func (x *CreateClusterRequest) GetConfigSpec() *ConfigSpec

func (*CreateClusterRequest) GetDatabaseSpecs

func (x *CreateClusterRequest) GetDatabaseSpecs() []*DatabaseSpec

func (*CreateClusterRequest) GetDeletionProtection

func (x *CreateClusterRequest) GetDeletionProtection() bool

func (*CreateClusterRequest) GetDescription

func (x *CreateClusterRequest) GetDescription() string

func (*CreateClusterRequest) GetEnvironment

func (x *CreateClusterRequest) GetEnvironment() Cluster_Environment

func (*CreateClusterRequest) GetFolderId

func (x *CreateClusterRequest) GetFolderId() string

func (*CreateClusterRequest) GetHostGroupIds

func (x *CreateClusterRequest) GetHostGroupIds() []string

func (*CreateClusterRequest) GetHostSpecs

func (x *CreateClusterRequest) GetHostSpecs() []*HostSpec

func (*CreateClusterRequest) GetLabels

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

func (*CreateClusterRequest) GetName

func (x *CreateClusterRequest) GetName() string

func (*CreateClusterRequest) GetNetworkId

func (x *CreateClusterRequest) GetNetworkId() string

func (*CreateClusterRequest) GetSecurityGroupIds

func (x *CreateClusterRequest) GetSecurityGroupIds() []string

func (*CreateClusterRequest) GetUserSpecs

func (x *CreateClusterRequest) GetUserSpecs() []*UserSpec

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) ProtoReflect

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

func (*CreateClusterRequest) Reset

func (x *CreateClusterRequest) Reset()

func (*CreateClusterRequest) SetConfigSpec

func (m *CreateClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*CreateClusterRequest) SetDatabaseSpecs

func (m *CreateClusterRequest) SetDatabaseSpecs(v []*DatabaseSpec)

func (*CreateClusterRequest) SetDeletionProtection

func (m *CreateClusterRequest) SetDeletionProtection(v bool)

func (*CreateClusterRequest) SetDescription

func (m *CreateClusterRequest) SetDescription(v string)

func (*CreateClusterRequest) SetEnvironment

func (m *CreateClusterRequest) SetEnvironment(v Cluster_Environment)

func (*CreateClusterRequest) SetFolderId

func (m *CreateClusterRequest) SetFolderId(v string)

func (*CreateClusterRequest) SetHostGroupIds

func (m *CreateClusterRequest) SetHostGroupIds(v []string)

func (*CreateClusterRequest) SetHostSpecs

func (m *CreateClusterRequest) SetHostSpecs(v []*HostSpec)

func (*CreateClusterRequest) SetLabels

func (m *CreateClusterRequest) SetLabels(v map[string]string)

func (*CreateClusterRequest) SetName

func (m *CreateClusterRequest) SetName(v string)

func (*CreateClusterRequest) SetNetworkId

func (m *CreateClusterRequest) SetNetworkId(v string)

func (*CreateClusterRequest) SetSecurityGroupIds

func (m *CreateClusterRequest) SetSecurityGroupIds(v []string)

func (*CreateClusterRequest) SetUserSpecs

func (m *CreateClusterRequest) SetUserSpecs(v []*UserSpec)

func (*CreateClusterRequest) String

func (x *CreateClusterRequest) String() string

type CreateDatabaseMetadata

type CreateDatabaseMetadata struct {

	// ID of the PostgreSQL cluster where a database is being created.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the PostgreSQL database that is being created.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use CreateDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*CreateDatabaseMetadata) GetClusterId

func (x *CreateDatabaseMetadata) GetClusterId() string

func (*CreateDatabaseMetadata) GetDatabaseName

func (x *CreateDatabaseMetadata) GetDatabaseName() string

func (*CreateDatabaseMetadata) ProtoMessage

func (*CreateDatabaseMetadata) ProtoMessage()

func (*CreateDatabaseMetadata) ProtoReflect

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

func (*CreateDatabaseMetadata) Reset

func (x *CreateDatabaseMetadata) Reset()

func (*CreateDatabaseMetadata) SetClusterId

func (m *CreateDatabaseMetadata) SetClusterId(v string)

func (*CreateDatabaseMetadata) SetDatabaseName

func (m *CreateDatabaseMetadata) SetDatabaseName(v string)

func (*CreateDatabaseMetadata) String

func (x *CreateDatabaseMetadata) String() string

type CreateDatabaseRequest

type CreateDatabaseRequest struct {

	// ID of the PostgreSQL cluster to create a database in.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Configuration of the database to create.
	DatabaseSpec *DatabaseSpec `protobuf:"bytes,2,opt,name=database_spec,json=databaseSpec,proto3" json:"database_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDatabaseRequest) Descriptor deprecated

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

Deprecated: Use CreateDatabaseRequest.ProtoReflect.Descriptor instead.

func (*CreateDatabaseRequest) GetClusterId

func (x *CreateDatabaseRequest) GetClusterId() string

func (*CreateDatabaseRequest) GetDatabaseSpec

func (x *CreateDatabaseRequest) GetDatabaseSpec() *DatabaseSpec

func (*CreateDatabaseRequest) ProtoMessage

func (*CreateDatabaseRequest) ProtoMessage()

func (*CreateDatabaseRequest) ProtoReflect

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

func (*CreateDatabaseRequest) Reset

func (x *CreateDatabaseRequest) Reset()

func (*CreateDatabaseRequest) SetClusterId

func (m *CreateDatabaseRequest) SetClusterId(v string)

func (*CreateDatabaseRequest) SetDatabaseSpec

func (m *CreateDatabaseRequest) SetDatabaseSpec(v *DatabaseSpec)

func (*CreateDatabaseRequest) String

func (x *CreateDatabaseRequest) String() string

type CreateUserMetadata

type CreateUserMetadata struct {

	// ID of the PostgreSQL cluster the user is being created in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user that is being created.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserMetadata) Descriptor deprecated

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

Deprecated: Use CreateUserMetadata.ProtoReflect.Descriptor instead.

func (*CreateUserMetadata) GetClusterId

func (x *CreateUserMetadata) GetClusterId() string

func (*CreateUserMetadata) GetUserName

func (x *CreateUserMetadata) GetUserName() string

func (*CreateUserMetadata) ProtoMessage

func (*CreateUserMetadata) ProtoMessage()

func (*CreateUserMetadata) ProtoReflect

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

func (*CreateUserMetadata) Reset

func (x *CreateUserMetadata) Reset()

func (*CreateUserMetadata) SetClusterId

func (m *CreateUserMetadata) SetClusterId(v string)

func (*CreateUserMetadata) SetUserName

func (m *CreateUserMetadata) SetUserName(v string)

func (*CreateUserMetadata) String

func (x *CreateUserMetadata) String() string

type CreateUserRequest

type CreateUserRequest struct {

	// ID of the PostgreSQL cluster to create a user in.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Properties of the user to be created.
	UserSpec *UserSpec `protobuf:"bytes,2,opt,name=user_spec,json=userSpec,proto3" json:"user_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

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

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetClusterId

func (x *CreateUserRequest) GetClusterId() string

func (*CreateUserRequest) GetUserSpec

func (x *CreateUserRequest) GetUserSpec() *UserSpec

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

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

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) SetClusterId

func (m *CreateUserRequest) SetClusterId(v string)

func (*CreateUserRequest) SetUserSpec

func (m *CreateUserRequest) SetUserSpec(v *UserSpec)

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type Database

type Database struct {

	// Name of the database.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the PostgreSQL cluster that the database belongs to.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user assigned as the owner of the database.
	Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"`
	// POSIX locale for string sorting order.
	// Can only be set at creation time.
	LcCollate string `protobuf:"bytes,4,opt,name=lc_collate,json=lcCollate,proto3" json:"lc_collate,omitempty"`
	// POSIX locale for character classification.
	// Can only be set at creation time.
	LcCtype string `protobuf:"bytes,5,opt,name=lc_ctype,json=lcCtype,proto3" json:"lc_ctype,omitempty"`
	// PostgreSQL extensions enabled for the database.
	Extensions []*Extension `protobuf:"bytes,6,rep,name=extensions,proto3" json:"extensions,omitempty"`
	// Name of the database template.
	TemplateDb string `protobuf:"bytes,7,opt,name=template_db,json=templateDb,proto3" json:"template_db,omitempty"`
	// Deletion Protection inhibits deletion of the database
	//
	// Default value: `unspecified` (inherits cluster's deletion_protection)
	DeletionProtection *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

A PostgreSQL Database resource. For more information, see the [Developer's Guide](/docs/managed-postgresql/concepts).

func (*Database) Descriptor deprecated

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

Deprecated: Use Database.ProtoReflect.Descriptor instead.

func (*Database) GetClusterId

func (x *Database) GetClusterId() string

func (*Database) GetDeletionProtection

func (x *Database) GetDeletionProtection() *wrapperspb.BoolValue

func (*Database) GetExtensions

func (x *Database) GetExtensions() []*Extension

func (*Database) GetLcCollate

func (x *Database) GetLcCollate() string

func (*Database) GetLcCtype

func (x *Database) GetLcCtype() string

func (*Database) GetName

func (x *Database) GetName() string

func (*Database) GetOwner

func (x *Database) GetOwner() string

func (*Database) GetTemplateDb

func (x *Database) GetTemplateDb() string

func (*Database) ProtoMessage

func (*Database) ProtoMessage()

func (*Database) ProtoReflect

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

func (*Database) Reset

func (x *Database) Reset()

func (*Database) SetClusterId

func (m *Database) SetClusterId(v string)

func (*Database) SetDeletionProtection

func (m *Database) SetDeletionProtection(v *wrapperspb.BoolValue)

func (*Database) SetExtensions

func (m *Database) SetExtensions(v []*Extension)

func (*Database) SetLcCollate

func (m *Database) SetLcCollate(v string)

func (*Database) SetLcCtype

func (m *Database) SetLcCtype(v string)

func (*Database) SetName

func (m *Database) SetName(v string)

func (*Database) SetOwner

func (m *Database) SetOwner(v string)

func (*Database) SetTemplateDb

func (m *Database) SetTemplateDb(v string)

func (*Database) String

func (x *Database) String() string

type DatabaseServiceClient

type DatabaseServiceClient interface {
	// Returns the specified PostgreSQL Database resource.
	//
	// To get the list of available PostgreSQL Database resources, make a [List] request.
	Get(ctx context.Context, in *GetDatabaseRequest, opts ...grpc.CallOption) (*Database, error)
	// Retrieves the list of PostgreSQL Database resources in the specified cluster.
	List(ctx context.Context, in *ListDatabasesRequest, opts ...grpc.CallOption) (*ListDatabasesResponse, error)
	// Creates a new PostgreSQL database in the specified cluster.
	Create(ctx context.Context, in *CreateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified PostgreSQL database.
	Update(ctx context.Context, in *UpdateDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified PostgreSQL database.
	Delete(ctx context.Context, in *DeleteDatabaseRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

DatabaseServiceClient is the client API for DatabaseService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type DatabaseServiceServer

type DatabaseServiceServer interface {
	// Returns the specified PostgreSQL Database resource.
	//
	// To get the list of available PostgreSQL Database resources, make a [List] request.
	Get(context.Context, *GetDatabaseRequest) (*Database, error)
	// Retrieves the list of PostgreSQL Database resources in the specified cluster.
	List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
	// Creates a new PostgreSQL database in the specified cluster.
	Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error)
	// Updates the specified PostgreSQL database.
	Update(context.Context, *UpdateDatabaseRequest) (*operation.Operation, error)
	// Deletes the specified PostgreSQL database.
	Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error)
}

DatabaseServiceServer is the server API for DatabaseService service. All implementations should embed UnimplementedDatabaseServiceServer for forward compatibility

type DatabaseSpec

type DatabaseSpec struct {

	// Name of the PostgreSQL database. 1-63 characters long.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Name of the user to be assigned as the owner of the database.
	// To get the list of available PostgreSQL users, make a [UserService.List] request.
	Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
	// POSIX locale for string sorting order.
	// Can only be set at creation time.
	LcCollate string `protobuf:"bytes,3,opt,name=lc_collate,json=lcCollate,proto3" json:"lc_collate,omitempty"`
	// POSIX locale for character classification.
	// Can only be set at creation time.
	LcCtype string `protobuf:"bytes,4,opt,name=lc_ctype,json=lcCtype,proto3" json:"lc_ctype,omitempty"`
	// PostgreSQL extensions to be enabled for the database.
	Extensions []*Extension `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty"`
	// Name of the PostgreSQL database template.
	TemplateDb string `protobuf:"bytes,6,opt,name=template_db,json=templateDb,proto3" json:"template_db,omitempty"`
	// Deletion Protection inhibits deletion of the database
	//
	// Default value: `unspecified` (inherits cluster's deletion_protection)
	DeletionProtection *wrapperspb.BoolValue `protobuf:"bytes,7,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*DatabaseSpec) Descriptor deprecated

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

Deprecated: Use DatabaseSpec.ProtoReflect.Descriptor instead.

func (*DatabaseSpec) GetDeletionProtection

func (x *DatabaseSpec) GetDeletionProtection() *wrapperspb.BoolValue

func (*DatabaseSpec) GetExtensions

func (x *DatabaseSpec) GetExtensions() []*Extension

func (*DatabaseSpec) GetLcCollate

func (x *DatabaseSpec) GetLcCollate() string

func (*DatabaseSpec) GetLcCtype

func (x *DatabaseSpec) GetLcCtype() string

func (*DatabaseSpec) GetName

func (x *DatabaseSpec) GetName() string

func (*DatabaseSpec) GetOwner

func (x *DatabaseSpec) GetOwner() string

func (*DatabaseSpec) GetTemplateDb

func (x *DatabaseSpec) GetTemplateDb() string

func (*DatabaseSpec) ProtoMessage

func (*DatabaseSpec) ProtoMessage()

func (*DatabaseSpec) ProtoReflect

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

func (*DatabaseSpec) Reset

func (x *DatabaseSpec) Reset()

func (*DatabaseSpec) SetDeletionProtection

func (m *DatabaseSpec) SetDeletionProtection(v *wrapperspb.BoolValue)

func (*DatabaseSpec) SetExtensions

func (m *DatabaseSpec) SetExtensions(v []*Extension)

func (*DatabaseSpec) SetLcCollate

func (m *DatabaseSpec) SetLcCollate(v string)

func (*DatabaseSpec) SetLcCtype

func (m *DatabaseSpec) SetLcCtype(v string)

func (*DatabaseSpec) SetName

func (m *DatabaseSpec) SetName(v string)

func (*DatabaseSpec) SetOwner

func (m *DatabaseSpec) SetOwner(v string)

func (*DatabaseSpec) SetTemplateDb

func (m *DatabaseSpec) SetTemplateDb(v string)

func (*DatabaseSpec) String

func (x *DatabaseSpec) String() string

type DeleteBackupMetadata

type DeleteBackupMetadata struct {

	// Required. ID of the PostgreSQL backup that is currently being deleted.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// ID of the cluster which backup belonged to.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBackupMetadata) Descriptor deprecated

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

Deprecated: Use DeleteBackupMetadata.ProtoReflect.Descriptor instead.

func (*DeleteBackupMetadata) GetBackupId

func (x *DeleteBackupMetadata) GetBackupId() string

func (*DeleteBackupMetadata) GetClusterId

func (x *DeleteBackupMetadata) GetClusterId() string

func (*DeleteBackupMetadata) ProtoMessage

func (*DeleteBackupMetadata) ProtoMessage()

func (*DeleteBackupMetadata) ProtoReflect

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

func (*DeleteBackupMetadata) Reset

func (x *DeleteBackupMetadata) Reset()

func (*DeleteBackupMetadata) SetBackupId

func (m *DeleteBackupMetadata) SetBackupId(v string)

func (*DeleteBackupMetadata) SetClusterId

func (m *DeleteBackupMetadata) SetClusterId(v string)

func (*DeleteBackupMetadata) String

func (x *DeleteBackupMetadata) String() string

type DeleteBackupRequest

type DeleteBackupRequest struct {

	// Required. ID of the backup to delete.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteBackupRequest) Descriptor deprecated

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

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetBackupId

func (x *DeleteBackupRequest) GetBackupId() string

func (*DeleteBackupRequest) ProtoMessage

func (*DeleteBackupRequest) ProtoMessage()

func (*DeleteBackupRequest) ProtoReflect

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

func (*DeleteBackupRequest) Reset

func (x *DeleteBackupRequest) Reset()

func (*DeleteBackupRequest) SetBackupId

func (m *DeleteBackupRequest) SetBackupId(v string)

func (*DeleteBackupRequest) String

func (x *DeleteBackupRequest) String() string

type DeleteClusterHostsMetadata

type DeleteClusterHostsMetadata struct {

	// ID of the PostgreSQL cluster to remove hosts from.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being deleted.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterHostsMetadata) Descriptor deprecated

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

Deprecated: Use DeleteClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*DeleteClusterHostsMetadata) GetClusterId

func (x *DeleteClusterHostsMetadata) GetClusterId() string

func (*DeleteClusterHostsMetadata) GetHostNames

func (x *DeleteClusterHostsMetadata) GetHostNames() []string

func (*DeleteClusterHostsMetadata) ProtoMessage

func (*DeleteClusterHostsMetadata) ProtoMessage()

func (*DeleteClusterHostsMetadata) ProtoReflect

func (*DeleteClusterHostsMetadata) Reset

func (x *DeleteClusterHostsMetadata) Reset()

func (*DeleteClusterHostsMetadata) SetClusterId

func (m *DeleteClusterHostsMetadata) SetClusterId(v string)

func (*DeleteClusterHostsMetadata) SetHostNames

func (m *DeleteClusterHostsMetadata) SetHostNames(v []string)

func (*DeleteClusterHostsMetadata) String

func (x *DeleteClusterHostsMetadata) String() string

type DeleteClusterHostsRequest

type DeleteClusterHostsRequest struct {

	// ID of the PostgreSQL cluster to remove hosts from.
	// To get the PostgreSQL cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts to delete.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterHostsRequest) Descriptor deprecated

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

Deprecated: Use DeleteClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterHostsRequest) GetClusterId

func (x *DeleteClusterHostsRequest) GetClusterId() string

func (*DeleteClusterHostsRequest) GetHostNames

func (x *DeleteClusterHostsRequest) GetHostNames() []string

func (*DeleteClusterHostsRequest) ProtoMessage

func (*DeleteClusterHostsRequest) ProtoMessage()

func (*DeleteClusterHostsRequest) ProtoReflect

func (*DeleteClusterHostsRequest) Reset

func (x *DeleteClusterHostsRequest) Reset()

func (*DeleteClusterHostsRequest) SetClusterId

func (m *DeleteClusterHostsRequest) SetClusterId(v string)

func (*DeleteClusterHostsRequest) SetHostNames

func (m *DeleteClusterHostsRequest) SetHostNames(v []string)

func (*DeleteClusterHostsRequest) String

func (x *DeleteClusterHostsRequest) String() string

type DeleteClusterMetadata

type DeleteClusterMetadata struct {

	// ID of the PostgreSQL cluster that is being deleted.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterMetadata) Descriptor deprecated

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

Deprecated: Use DeleteClusterMetadata.ProtoReflect.Descriptor instead.

func (*DeleteClusterMetadata) GetClusterId

func (x *DeleteClusterMetadata) GetClusterId() string

func (*DeleteClusterMetadata) ProtoMessage

func (*DeleteClusterMetadata) ProtoMessage()

func (*DeleteClusterMetadata) ProtoReflect

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

func (*DeleteClusterMetadata) Reset

func (x *DeleteClusterMetadata) Reset()

func (*DeleteClusterMetadata) SetClusterId

func (m *DeleteClusterMetadata) SetClusterId(v string)

func (*DeleteClusterMetadata) String

func (x *DeleteClusterMetadata) String() string

type DeleteClusterRequest

type DeleteClusterRequest struct {

	// ID of the PostgreSQL cluster to delete.
	// To get the PostgreSQL cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteClusterRequest) Descriptor deprecated

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

Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.

func (*DeleteClusterRequest) GetClusterId

func (x *DeleteClusterRequest) GetClusterId() string

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) ProtoReflect

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

func (*DeleteClusterRequest) Reset

func (x *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) SetClusterId

func (m *DeleteClusterRequest) SetClusterId(v string)

func (*DeleteClusterRequest) String

func (x *DeleteClusterRequest) String() string

type DeleteDatabaseMetadata

type DeleteDatabaseMetadata struct {

	// ID of the PostgreSQL cluster where a database is being deleted.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the PostgreSQL database that is being deleted.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use DeleteDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*DeleteDatabaseMetadata) GetClusterId

func (x *DeleteDatabaseMetadata) GetClusterId() string

func (*DeleteDatabaseMetadata) GetDatabaseName

func (x *DeleteDatabaseMetadata) GetDatabaseName() string

func (*DeleteDatabaseMetadata) ProtoMessage

func (*DeleteDatabaseMetadata) ProtoMessage()

func (*DeleteDatabaseMetadata) ProtoReflect

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

func (*DeleteDatabaseMetadata) Reset

func (x *DeleteDatabaseMetadata) Reset()

func (*DeleteDatabaseMetadata) SetClusterId

func (m *DeleteDatabaseMetadata) SetClusterId(v string)

func (*DeleteDatabaseMetadata) SetDatabaseName

func (m *DeleteDatabaseMetadata) SetDatabaseName(v string)

func (*DeleteDatabaseMetadata) String

func (x *DeleteDatabaseMetadata) String() string

type DeleteDatabaseRequest

type DeleteDatabaseRequest struct {

	// ID of the PostgreSQL cluster to delete a database in.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database to delete.
	// To get the name of the database, use a [DatabaseService.List] request.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDatabaseRequest) Descriptor deprecated

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

Deprecated: Use DeleteDatabaseRequest.ProtoReflect.Descriptor instead.

func (*DeleteDatabaseRequest) GetClusterId

func (x *DeleteDatabaseRequest) GetClusterId() string

func (*DeleteDatabaseRequest) GetDatabaseName

func (x *DeleteDatabaseRequest) GetDatabaseName() string

func (*DeleteDatabaseRequest) ProtoMessage

func (*DeleteDatabaseRequest) ProtoMessage()

func (*DeleteDatabaseRequest) ProtoReflect

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

func (*DeleteDatabaseRequest) Reset

func (x *DeleteDatabaseRequest) Reset()

func (*DeleteDatabaseRequest) SetClusterId

func (m *DeleteDatabaseRequest) SetClusterId(v string)

func (*DeleteDatabaseRequest) SetDatabaseName

func (m *DeleteDatabaseRequest) SetDatabaseName(v string)

func (*DeleteDatabaseRequest) String

func (x *DeleteDatabaseRequest) String() string

type DeleteUserMetadata

type DeleteUserMetadata struct {

	// ID of the PostgreSQL cluster the user belongs to.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user that is being deleted.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserMetadata) Descriptor deprecated

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

Deprecated: Use DeleteUserMetadata.ProtoReflect.Descriptor instead.

func (*DeleteUserMetadata) GetClusterId

func (x *DeleteUserMetadata) GetClusterId() string

func (*DeleteUserMetadata) GetUserName

func (x *DeleteUserMetadata) GetUserName() string

func (*DeleteUserMetadata) ProtoMessage

func (*DeleteUserMetadata) ProtoMessage()

func (*DeleteUserMetadata) ProtoReflect

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

func (*DeleteUserMetadata) Reset

func (x *DeleteUserMetadata) Reset()

func (*DeleteUserMetadata) SetClusterId

func (m *DeleteUserMetadata) SetClusterId(v string)

func (*DeleteUserMetadata) SetUserName

func (m *DeleteUserMetadata) SetUserName(v string)

func (*DeleteUserMetadata) String

func (x *DeleteUserMetadata) String() string

type DeleteUserRequest

type DeleteUserRequest struct {

	// ID of the PostgreSQL cluster the user belongs to.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to delete.
	// To get the name of the user, use a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

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

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetClusterId

func (x *DeleteUserRequest) GetClusterId() string

func (*DeleteUserRequest) GetUserName

func (x *DeleteUserRequest) GetUserName() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

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

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) SetClusterId

func (m *DeleteUserRequest) SetClusterId(v string)

func (*DeleteUserRequest) SetUserName

func (m *DeleteUserRequest) SetUserName(v string)

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DiskSizeAutoscaling

type DiskSizeAutoscaling struct {

	// Threshold of storage usage (in percent) that triggers automatic scaling of the storage during the maintenance window. Zero value means disabled threshold.
	PlannedUsageThreshold int64 `` /* 127-byte string literal not displayed */
	// Threshold of storage usage (in percent) that triggers immediate automatic scaling of the storage. Zero value means disabled threshold.
	EmergencyUsageThreshold int64 `` /* 133-byte string literal not displayed */
	// New storage size (in bytes) that is set when one of the thresholds is achieved.
	DiskSizeLimit int64 `protobuf:"varint,3,opt,name=disk_size_limit,json=diskSizeLimit,proto3" json:"disk_size_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*DiskSizeAutoscaling) Descriptor deprecated

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

Deprecated: Use DiskSizeAutoscaling.ProtoReflect.Descriptor instead.

func (*DiskSizeAutoscaling) GetDiskSizeLimit

func (x *DiskSizeAutoscaling) GetDiskSizeLimit() int64

func (*DiskSizeAutoscaling) GetEmergencyUsageThreshold

func (x *DiskSizeAutoscaling) GetEmergencyUsageThreshold() int64

func (*DiskSizeAutoscaling) GetPlannedUsageThreshold

func (x *DiskSizeAutoscaling) GetPlannedUsageThreshold() int64

func (*DiskSizeAutoscaling) ProtoMessage

func (*DiskSizeAutoscaling) ProtoMessage()

func (*DiskSizeAutoscaling) ProtoReflect

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

func (*DiskSizeAutoscaling) Reset

func (x *DiskSizeAutoscaling) Reset()

func (*DiskSizeAutoscaling) SetDiskSizeLimit

func (m *DiskSizeAutoscaling) SetDiskSizeLimit(v int64)

func (*DiskSizeAutoscaling) SetEmergencyUsageThreshold

func (m *DiskSizeAutoscaling) SetEmergencyUsageThreshold(v int64)

func (*DiskSizeAutoscaling) SetPlannedUsageThreshold

func (m *DiskSizeAutoscaling) SetPlannedUsageThreshold(v int64)

func (*DiskSizeAutoscaling) String

func (x *DiskSizeAutoscaling) String() string

type Extension

type Extension struct {

	// Name of the extension, e.g. `pg_trgm` or `pg_btree`.
	// Extensions supported by Managed Service for PostgreSQL are [listed in the Developer's Guide](/docs/managed-postgresql/operations/extensions/cluster-extensions).
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Version of the extension.
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*Extension) Descriptor deprecated

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

Deprecated: Use Extension.ProtoReflect.Descriptor instead.

func (*Extension) GetName

func (x *Extension) GetName() string

func (*Extension) GetVersion

func (x *Extension) GetVersion() string

func (*Extension) ProtoMessage

func (*Extension) ProtoMessage()

func (*Extension) ProtoReflect

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

func (*Extension) Reset

func (x *Extension) Reset()

func (*Extension) SetName

func (m *Extension) SetName(v string)

func (*Extension) SetVersion

func (m *Extension) SetVersion(v string)

func (*Extension) String

func (x *Extension) String() string

type GetBackupRequest

type GetBackupRequest struct {

	// ID of the backup to return information about.
	// To get the backup ID, use a [ClusterService.ListBackups] request.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetBackupRequest) Descriptor deprecated

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

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetBackupId

func (x *GetBackupRequest) GetBackupId() 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) SetBackupId

func (m *GetBackupRequest) SetBackupId(v string)

func (*GetBackupRequest) String

func (x *GetBackupRequest) String() string

type GetClusterRequest

type GetClusterRequest struct {

	// ID of the PostgreSQL Cluster resource to return.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetClusterRequest) Descriptor deprecated

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

Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.

func (*GetClusterRequest) GetClusterId

func (x *GetClusterRequest) GetClusterId() 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) SetClusterId

func (m *GetClusterRequest) SetClusterId(v string)

func (*GetClusterRequest) String

func (x *GetClusterRequest) String() string

type GetDatabaseRequest

type GetDatabaseRequest struct {

	// ID of the PostgreSQL cluster that the database belongs to.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the PostgreSQL Database resource to return.
	// To get the name of the database use a [DatabaseService.List] request.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetDatabaseRequest) Descriptor deprecated

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

Deprecated: Use GetDatabaseRequest.ProtoReflect.Descriptor instead.

func (*GetDatabaseRequest) GetClusterId

func (x *GetDatabaseRequest) GetClusterId() string

func (*GetDatabaseRequest) GetDatabaseName

func (x *GetDatabaseRequest) GetDatabaseName() string

func (*GetDatabaseRequest) ProtoMessage

func (*GetDatabaseRequest) ProtoMessage()

func (*GetDatabaseRequest) ProtoReflect

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

func (*GetDatabaseRequest) Reset

func (x *GetDatabaseRequest) Reset()

func (*GetDatabaseRequest) SetClusterId

func (m *GetDatabaseRequest) SetClusterId(v string)

func (*GetDatabaseRequest) SetDatabaseName

func (m *GetDatabaseRequest) SetDatabaseName(v string)

func (*GetDatabaseRequest) String

func (x *GetDatabaseRequest) String() string

type GetResourcePresetRequest

type GetResourcePresetRequest struct {

	// ID of the resource preset to return.
	// To get the resource preset ID, use a [ResourcePresetService.List] request.
	ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResourcePresetRequest) Descriptor deprecated

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

Deprecated: Use GetResourcePresetRequest.ProtoReflect.Descriptor instead.

func (*GetResourcePresetRequest) GetResourcePresetId

func (x *GetResourcePresetRequest) GetResourcePresetId() string

func (*GetResourcePresetRequest) ProtoMessage

func (*GetResourcePresetRequest) ProtoMessage()

func (*GetResourcePresetRequest) ProtoReflect

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

func (*GetResourcePresetRequest) Reset

func (x *GetResourcePresetRequest) Reset()

func (*GetResourcePresetRequest) SetResourcePresetId

func (m *GetResourcePresetRequest) SetResourcePresetId(v string)

func (*GetResourcePresetRequest) String

func (x *GetResourcePresetRequest) String() string

type GetUserRequest

type GetUserRequest struct {

	// ID of the PostgreSQL cluster the user belongs to.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the PostgreSQL User resource to return.
	// To get the name of the user, use a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserRequest) Descriptor deprecated

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

Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.

func (*GetUserRequest) GetClusterId

func (x *GetUserRequest) GetClusterId() string

func (*GetUserRequest) GetUserName

func (x *GetUserRequest) GetUserName() string

func (*GetUserRequest) ProtoMessage

func (*GetUserRequest) ProtoMessage()

func (*GetUserRequest) ProtoReflect

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

func (*GetUserRequest) Reset

func (x *GetUserRequest) Reset()

func (*GetUserRequest) SetClusterId

func (m *GetUserRequest) SetClusterId(v string)

func (*GetUserRequest) SetUserName

func (m *GetUserRequest) SetUserName(v string)

func (*GetUserRequest) String

func (x *GetUserRequest) String() string

type GrantUserPermissionMetadata

type GrantUserPermissionMetadata struct {

	// ID of the PostgreSQL cluster the user belongs to.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user that is being granted a permission.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantUserPermissionMetadata) Descriptor deprecated

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

Deprecated: Use GrantUserPermissionMetadata.ProtoReflect.Descriptor instead.

func (*GrantUserPermissionMetadata) GetClusterId

func (x *GrantUserPermissionMetadata) GetClusterId() string

func (*GrantUserPermissionMetadata) GetUserName

func (x *GrantUserPermissionMetadata) GetUserName() string

func (*GrantUserPermissionMetadata) ProtoMessage

func (*GrantUserPermissionMetadata) ProtoMessage()

func (*GrantUserPermissionMetadata) ProtoReflect

func (*GrantUserPermissionMetadata) Reset

func (x *GrantUserPermissionMetadata) Reset()

func (*GrantUserPermissionMetadata) SetClusterId

func (m *GrantUserPermissionMetadata) SetClusterId(v string)

func (*GrantUserPermissionMetadata) SetUserName

func (m *GrantUserPermissionMetadata) SetUserName(v string)

func (*GrantUserPermissionMetadata) String

func (x *GrantUserPermissionMetadata) String() string

type GrantUserPermissionRequest

type GrantUserPermissionRequest struct {

	// ID of the PostgreSQL cluster the user belongs to.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to grant the permission to.
	// To get the name of the user, use a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Permission that should be granted to the specified user.
	Permission *Permission `protobuf:"bytes,3,opt,name=permission,proto3" json:"permission,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantUserPermissionRequest) Descriptor deprecated

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

Deprecated: Use GrantUserPermissionRequest.ProtoReflect.Descriptor instead.

func (*GrantUserPermissionRequest) GetClusterId

func (x *GrantUserPermissionRequest) GetClusterId() string

func (*GrantUserPermissionRequest) GetPermission

func (x *GrantUserPermissionRequest) GetPermission() *Permission

func (*GrantUserPermissionRequest) GetUserName

func (x *GrantUserPermissionRequest) GetUserName() string

func (*GrantUserPermissionRequest) ProtoMessage

func (*GrantUserPermissionRequest) ProtoMessage()

func (*GrantUserPermissionRequest) ProtoReflect

func (*GrantUserPermissionRequest) Reset

func (x *GrantUserPermissionRequest) Reset()

func (*GrantUserPermissionRequest) SetClusterId

func (m *GrantUserPermissionRequest) SetClusterId(v string)

func (*GrantUserPermissionRequest) SetPermission

func (m *GrantUserPermissionRequest) SetPermission(v *Permission)

func (*GrantUserPermissionRequest) SetUserName

func (m *GrantUserPermissionRequest) SetUserName(v string)

func (*GrantUserPermissionRequest) String

func (x *GrantUserPermissionRequest) String() string

type Host

type Host struct {

	// Name of the PostgreSQL host. The host name is assigned by MDB at creation time, and cannot be changed.
	// 1-63 characters long.
	//
	// The name is unique across all MDB hosts that exist on the platform, as it defines the FQDN of the host.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the PostgreSQL host. The ID is assigned by MDB at creation time.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the availability zone where the PostgreSQL host resides.
	ZoneId string `protobuf:"bytes,3,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// Resources allocated to the PostgreSQL host.
	Resources *Resources `protobuf:"bytes,4,opt,name=resources,proto3" json:"resources,omitempty"`
	// Role of the host in the cluster.
	Role Host_Role `protobuf:"varint,5,opt,name=role,proto3,enum=yandex.cloud.mdb.postgresql.v1.Host_Role" json:"role,omitempty"`
	// Status code of the aggregated health of the host.
	Health Host_Health `protobuf:"varint,6,opt,name=health,proto3,enum=yandex.cloud.mdb.postgresql.v1.Host_Health" json:"health,omitempty"`
	// Services provided by the host.
	Services []*Service `protobuf:"bytes,7,rep,name=services,proto3" json:"services,omitempty"`
	// ID of the subnet that the host belongs to.
	SubnetId string `protobuf:"bytes,8,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Name of the host to be used as the replication source for cascading replication.
	ReplicationSource string `protobuf:"bytes,9,opt,name=replication_source,json=replicationSource,proto3" json:"replication_source,omitempty"`
	// Priority of the host as a replica. Higher value means higher priority.
	//
	// The host with the highest priority is the synchronous replica. All others are asynchronous.
	// The synchronous replica replaces the master when needed.
	//
	// When a replica becomes the master, its priority is ignored.
	Priority *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=priority,proto3" json:"priority,omitempty"`
	// Configuration of a PostgreSQL server for the host.
	Config *HostConfig `protobuf:"bytes,11,opt,name=config,proto3" json:"config,omitempty"`
	// Flag showing public IP assignment status to this host.
	AssignPublicIp bool             `protobuf:"varint,12,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	ReplicaType    Host_ReplicaType `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Host) Descriptor deprecated

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

Deprecated: Use Host.ProtoReflect.Descriptor instead.

func (*Host) GetAssignPublicIp

func (x *Host) GetAssignPublicIp() bool

func (*Host) GetClusterId

func (x *Host) GetClusterId() string

func (*Host) GetConfig

func (x *Host) GetConfig() *HostConfig

func (*Host) GetHealth

func (x *Host) GetHealth() Host_Health

func (*Host) GetName

func (x *Host) GetName() string

func (*Host) GetPriority

func (x *Host) GetPriority() *wrapperspb.Int64Value

func (*Host) GetReplicaType

func (x *Host) GetReplicaType() Host_ReplicaType

func (*Host) GetReplicationSource

func (x *Host) GetReplicationSource() string

func (*Host) GetResources

func (x *Host) GetResources() *Resources

func (*Host) GetRole

func (x *Host) GetRole() Host_Role

func (*Host) GetServices

func (x *Host) GetServices() []*Service

func (*Host) GetSubnetId

func (x *Host) GetSubnetId() string

func (*Host) GetZoneId

func (x *Host) GetZoneId() string

func (*Host) ProtoMessage

func (*Host) ProtoMessage()

func (*Host) ProtoReflect

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

func (*Host) Reset

func (x *Host) Reset()

func (*Host) SetAssignPublicIp

func (m *Host) SetAssignPublicIp(v bool)

func (*Host) SetClusterId

func (m *Host) SetClusterId(v string)

func (*Host) SetConfig

func (m *Host) SetConfig(v *HostConfig)

func (*Host) SetHealth

func (m *Host) SetHealth(v Host_Health)

func (*Host) SetName

func (m *Host) SetName(v string)

func (*Host) SetPriority

func (m *Host) SetPriority(v *wrapperspb.Int64Value)

func (*Host) SetReplicaType

func (m *Host) SetReplicaType(v Host_ReplicaType)

func (*Host) SetReplicationSource

func (m *Host) SetReplicationSource(v string)

func (*Host) SetResources

func (m *Host) SetResources(v *Resources)

func (*Host) SetRole

func (m *Host) SetRole(v Host_Role)

func (*Host) SetServices

func (m *Host) SetServices(v []*Service)

func (*Host) SetSubnetId

func (m *Host) SetSubnetId(v string)

func (*Host) SetZoneId

func (m *Host) SetZoneId(v string)

func (*Host) String

func (x *Host) String() string

type HostConfig

type HostConfig struct {

	// Configuration of a PostgreSQL server for the host.
	//
	// Types that are assignable to PostgresqlConfig:
	//
	//	*HostConfig_PostgresqlConfig_9_6
	//	*HostConfig_PostgresqlConfig_10_1C
	//	*HostConfig_PostgresqlConfig_10
	//	*HostConfig_PostgresqlConfig_11
	//	*HostConfig_PostgresqlConfig_11_1C
	//	*HostConfig_PostgresqlConfig_12
	//	*HostConfig_PostgresqlConfig_12_1C
	//	*HostConfig_PostgresqlConfig_13
	//	*HostConfig_PostgresqlConfig_13_1C
	//	*HostConfig_PostgresqlConfig_14
	//	*HostConfig_PostgresqlConfig_14_1C
	//	*HostConfig_PostgresqlConfig_15
	//	*HostConfig_PostgresqlConfig_15_1C
	//	*HostConfig_PostgresqlConfig_16
	//	*HostConfig_PostgresqlConfig_16_1C
	PostgresqlConfig isHostConfig_PostgresqlConfig `protobuf_oneof:"postgresql_config"`
	// contains filtered or unexported fields
}

func (*HostConfig) Descriptor deprecated

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

Deprecated: Use HostConfig.ProtoReflect.Descriptor instead.

func (*HostConfig) GetPostgresqlConfig

func (m *HostConfig) GetPostgresqlConfig() isHostConfig_PostgresqlConfig

func (*HostConfig) GetPostgresqlConfig_10

func (x *HostConfig) GetPostgresqlConfig_10() *config.PostgresqlHostConfig10

func (*HostConfig) GetPostgresqlConfig_10_1C

func (x *HostConfig) GetPostgresqlConfig_10_1C() *config.PostgresqlHostConfig10_1C

func (*HostConfig) GetPostgresqlConfig_11

func (x *HostConfig) GetPostgresqlConfig_11() *config.PostgresqlHostConfig11

func (*HostConfig) GetPostgresqlConfig_11_1C

func (x *HostConfig) GetPostgresqlConfig_11_1C() *config.PostgresqlHostConfig11_1C

func (*HostConfig) GetPostgresqlConfig_12

func (x *HostConfig) GetPostgresqlConfig_12() *config.PostgresqlHostConfig12

func (*HostConfig) GetPostgresqlConfig_12_1C

func (x *HostConfig) GetPostgresqlConfig_12_1C() *config.PostgresqlHostConfig12_1C

func (*HostConfig) GetPostgresqlConfig_13

func (x *HostConfig) GetPostgresqlConfig_13() *config.PostgresqlHostConfig13

func (*HostConfig) GetPostgresqlConfig_13_1C

func (x *HostConfig) GetPostgresqlConfig_13_1C() *config.PostgresqlHostConfig13_1C

func (*HostConfig) GetPostgresqlConfig_14

func (x *HostConfig) GetPostgresqlConfig_14() *config.PostgresqlHostConfig14

func (*HostConfig) GetPostgresqlConfig_14_1C

func (x *HostConfig) GetPostgresqlConfig_14_1C() *config.PostgresqlHostConfig14_1C

func (*HostConfig) GetPostgresqlConfig_15

func (x *HostConfig) GetPostgresqlConfig_15() *config.PostgresqlHostConfig15

func (*HostConfig) GetPostgresqlConfig_15_1C

func (x *HostConfig) GetPostgresqlConfig_15_1C() *config.PostgresqlHostConfig15_1C

func (*HostConfig) GetPostgresqlConfig_16

func (x *HostConfig) GetPostgresqlConfig_16() *config.PostgresqlHostConfig16

func (*HostConfig) GetPostgresqlConfig_16_1C

func (x *HostConfig) GetPostgresqlConfig_16_1C() *config.PostgresqlHostConfig16_1C

func (*HostConfig) GetPostgresqlConfig_9_6

func (x *HostConfig) GetPostgresqlConfig_9_6() *config.PostgresqlHostConfig9_6

func (*HostConfig) ProtoMessage

func (*HostConfig) ProtoMessage()

func (*HostConfig) ProtoReflect

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

func (*HostConfig) Reset

func (x *HostConfig) Reset()

func (*HostConfig) SetPostgresqlConfig

func (m *HostConfig) SetPostgresqlConfig(v HostConfig_PostgresqlConfig)

func (*HostConfig) SetPostgresqlConfig_10

func (m *HostConfig) SetPostgresqlConfig_10(v *config.PostgresqlHostConfig10)

func (*HostConfig) SetPostgresqlConfig_10_1C

func (m *HostConfig) SetPostgresqlConfig_10_1C(v *config.PostgresqlHostConfig10_1C)

func (*HostConfig) SetPostgresqlConfig_11

func (m *HostConfig) SetPostgresqlConfig_11(v *config.PostgresqlHostConfig11)

func (*HostConfig) SetPostgresqlConfig_11_1C

func (m *HostConfig) SetPostgresqlConfig_11_1C(v *config.PostgresqlHostConfig11_1C)

func (*HostConfig) SetPostgresqlConfig_12

func (m *HostConfig) SetPostgresqlConfig_12(v *config.PostgresqlHostConfig12)

func (*HostConfig) SetPostgresqlConfig_12_1C

func (m *HostConfig) SetPostgresqlConfig_12_1C(v *config.PostgresqlHostConfig12_1C)

func (*HostConfig) SetPostgresqlConfig_13

func (m *HostConfig) SetPostgresqlConfig_13(v *config.PostgresqlHostConfig13)

func (*HostConfig) SetPostgresqlConfig_13_1C

func (m *HostConfig) SetPostgresqlConfig_13_1C(v *config.PostgresqlHostConfig13_1C)

func (*HostConfig) SetPostgresqlConfig_14

func (m *HostConfig) SetPostgresqlConfig_14(v *config.PostgresqlHostConfig14)

func (*HostConfig) SetPostgresqlConfig_14_1C

func (m *HostConfig) SetPostgresqlConfig_14_1C(v *config.PostgresqlHostConfig14_1C)

func (*HostConfig) SetPostgresqlConfig_15

func (m *HostConfig) SetPostgresqlConfig_15(v *config.PostgresqlHostConfig15)

func (*HostConfig) SetPostgresqlConfig_15_1C

func (m *HostConfig) SetPostgresqlConfig_15_1C(v *config.PostgresqlHostConfig15_1C)

func (*HostConfig) SetPostgresqlConfig_16

func (m *HostConfig) SetPostgresqlConfig_16(v *config.PostgresqlHostConfig16)

func (*HostConfig) SetPostgresqlConfig_16_1C

func (m *HostConfig) SetPostgresqlConfig_16_1C(v *config.PostgresqlHostConfig16_1C)

func (*HostConfig) SetPostgresqlConfig_9_6

func (m *HostConfig) SetPostgresqlConfig_9_6(v *config.PostgresqlHostConfig9_6)

func (*HostConfig) String

func (x *HostConfig) String() string

type HostConfig_PostgresqlConfig

type HostConfig_PostgresqlConfig = isHostConfig_PostgresqlConfig

type HostConfig_PostgresqlConfig_10

type HostConfig_PostgresqlConfig_10 struct {
	// Configuration for a host with PostgreSQL 10 server deployed.
	PostgresqlConfig_10 *config.PostgresqlHostConfig10 `protobuf:"bytes,2,opt,name=postgresql_config_10,json=postgresqlHostConfig_10,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_10_1C

type HostConfig_PostgresqlConfig_10_1C struct {
	// Configuration for a host with PostgreSQL 10 1C server deployed.
	PostgresqlConfig_10_1C *config.PostgresqlHostConfig10_1C `protobuf:"bytes,4,opt,name=postgresql_config_10_1c,json=postgresqlHostConfig_10_1c,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_11

type HostConfig_PostgresqlConfig_11 struct {
	// Configuration for a host with PostgreSQL 11 server deployed.
	PostgresqlConfig_11 *config.PostgresqlHostConfig11 `protobuf:"bytes,3,opt,name=postgresql_config_11,json=postgresqlHostConfig_11,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_11_1C

type HostConfig_PostgresqlConfig_11_1C struct {
	// Configuration for a host with PostgreSQL 11 1C server deployed.
	PostgresqlConfig_11_1C *config.PostgresqlHostConfig11_1C `protobuf:"bytes,6,opt,name=postgresql_config_11_1c,json=postgresqlHostConfig_11_1c,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_12

type HostConfig_PostgresqlConfig_12 struct {
	// Configuration for a host with PostgreSQL 12 server deployed.
	PostgresqlConfig_12 *config.PostgresqlHostConfig12 `protobuf:"bytes,5,opt,name=postgresql_config_12,json=postgresqlHostConfig_12,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_12_1C

type HostConfig_PostgresqlConfig_12_1C struct {
	// Configuration for a host with PostgreSQL 12 1C server deployed.
	PostgresqlConfig_12_1C *config.PostgresqlHostConfig12_1C `protobuf:"bytes,7,opt,name=postgresql_config_12_1c,json=postgresqlHostConfig_12_1c,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_13

type HostConfig_PostgresqlConfig_13 struct {
	// Configuration for a host with PostgreSQL 13 server deployed.
	PostgresqlConfig_13 *config.PostgresqlHostConfig13 `protobuf:"bytes,8,opt,name=postgresql_config_13,json=postgresqlHostConfig_13,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_13_1C

type HostConfig_PostgresqlConfig_13_1C struct {
	// Configuration for a host with PostgreSQL 13 1C server deployed.
	PostgresqlConfig_13_1C *config.PostgresqlHostConfig13_1C `protobuf:"bytes,10,opt,name=postgresql_config_13_1c,json=postgresqlHostConfig_13_1c,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_14

type HostConfig_PostgresqlConfig_14 struct {
	// Configuration for a host with PostgreSQL 14 server deployed.
	PostgresqlConfig_14 *config.PostgresqlHostConfig14 `protobuf:"bytes,9,opt,name=postgresql_config_14,json=postgresqlHostConfig_14,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_14_1C

type HostConfig_PostgresqlConfig_14_1C struct {
	// Configuration for a host with PostgreSQL 14 1C server deployed.
	PostgresqlConfig_14_1C *config.PostgresqlHostConfig14_1C `protobuf:"bytes,11,opt,name=postgresql_config_14_1c,json=postgresqlHostConfig_14_1c,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_15

type HostConfig_PostgresqlConfig_15 struct {
	// Configuration for a host with PostgreSQL 15 server deployed.
	PostgresqlConfig_15 *config.PostgresqlHostConfig15 `protobuf:"bytes,12,opt,name=postgresql_config_15,json=postgresqlHostConfig_15,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_15_1C

type HostConfig_PostgresqlConfig_15_1C struct {
	// Configuration for a host with PostgreSQL 15 1C server deployed.
	PostgresqlConfig_15_1C *config.PostgresqlHostConfig15_1C `protobuf:"bytes,13,opt,name=postgresql_config_15_1c,json=postgresqlHostConfig_15_1c,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_16

type HostConfig_PostgresqlConfig_16 struct {
	// Configuration for a host with PostgreSQL 16 server deployed.
	PostgresqlConfig_16 *config.PostgresqlHostConfig16 `protobuf:"bytes,14,opt,name=postgresql_config_16,json=postgresqlHostConfig_16,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_16_1C

type HostConfig_PostgresqlConfig_16_1C struct {
	// Configuration for a host with PostgreSQL 16 1C server deployed.
	PostgresqlConfig_16_1C *config.PostgresqlHostConfig16_1C `protobuf:"bytes,15,opt,name=postgresql_config_16_1c,json=postgresqlHostConfig_16_1c,proto3,oneof"`
}

type HostConfig_PostgresqlConfig_9_6

type HostConfig_PostgresqlConfig_9_6 struct {
	// Configuration for a host with PostgreSQL 9.6 server deployed.
	PostgresqlConfig_9_6 *config.PostgresqlHostConfig9_6 `protobuf:"bytes,1,opt,name=postgresql_config_9_6,json=postgresqlHostConfig_9_6,proto3,oneof"`
}

type HostSpec

type HostSpec struct {

	// ID of the availability zone where the host resides.
	// To get a list of available zones, use the [yandex.cloud.compute.v1.ZoneService.List] request.
	ZoneId string `protobuf:"bytes,1,opt,name=zone_id,json=zoneId,proto3" json:"zone_id,omitempty"`
	// ID of the subnet that the host should belong to. This subnet should be a part
	// of the network that the cluster belongs to.
	// The ID of the network is set in the field [Cluster.network_id].
	SubnetId string `protobuf:"bytes,2,opt,name=subnet_id,json=subnetId,proto3" json:"subnet_id,omitempty"`
	// Whether the host should get a public IP address on creation.
	//
	// After a host has been created, this setting cannot be changed. To remove an assigned public IP, or to assign
	// a public IP to a host without one, recreate the host with [assign_public_ip] set as needed.
	//
	// Possible values:
	// * false - don't assign a public IP to the host.
	// * true - the host should have a public IP address.
	AssignPublicIp bool `protobuf:"varint,3,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// [Host.name] of the host to be used as the replication source (for cascading replication).
	ReplicationSource string `protobuf:"bytes,4,opt,name=replication_source,json=replicationSource,proto3" json:"replication_source,omitempty"`
	// Priority of the host as a replica. A higher value corresponds to higher priority.
	//
	// The host with the highest priority is the synchronous replica. All others are asynchronous.
	// The synchronous replica replaces the master when needed.
	//
	// When a replica becomes the master, its priority is ignored.
	Priority *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=priority,proto3" json:"priority,omitempty"`
	// Configuration of a PostgreSQL server for the host.
	ConfigSpec *ConfigHostSpec `protobuf:"bytes,6,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// contains filtered or unexported fields
}

func (*HostSpec) Descriptor deprecated

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

Deprecated: Use HostSpec.ProtoReflect.Descriptor instead.

func (*HostSpec) GetAssignPublicIp

func (x *HostSpec) GetAssignPublicIp() bool

func (*HostSpec) GetConfigSpec

func (x *HostSpec) GetConfigSpec() *ConfigHostSpec

func (*HostSpec) GetPriority

func (x *HostSpec) GetPriority() *wrapperspb.Int64Value

func (*HostSpec) GetReplicationSource

func (x *HostSpec) GetReplicationSource() string

func (*HostSpec) GetSubnetId

func (x *HostSpec) GetSubnetId() string

func (*HostSpec) GetZoneId

func (x *HostSpec) GetZoneId() string

func (*HostSpec) ProtoMessage

func (*HostSpec) ProtoMessage()

func (*HostSpec) ProtoReflect

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

func (*HostSpec) Reset

func (x *HostSpec) Reset()

func (*HostSpec) SetAssignPublicIp

func (m *HostSpec) SetAssignPublicIp(v bool)

func (*HostSpec) SetConfigSpec

func (m *HostSpec) SetConfigSpec(v *ConfigHostSpec)

func (*HostSpec) SetPriority

func (m *HostSpec) SetPriority(v *wrapperspb.Int64Value)

func (*HostSpec) SetReplicationSource

func (m *HostSpec) SetReplicationSource(v string)

func (*HostSpec) SetSubnetId

func (m *HostSpec) SetSubnetId(v string)

func (*HostSpec) SetZoneId

func (m *HostSpec) SetZoneId(v string)

func (*HostSpec) String

func (x *HostSpec) String() string

type Host_Health

type Host_Health int32
const (
	// Health of the host is unknown.
	Host_HEALTH_UNKNOWN Host_Health = 0
	// The host is performing all its functions normally.
	Host_ALIVE Host_Health = 1
	// The host is inoperable, and cannot perform any of its essential functions.
	Host_DEAD Host_Health = 2
	// The host is degraded, and can perform only some of its essential functions.
	Host_DEGRADED Host_Health = 3
	// The host is alive, but in read-only mode.
	Host_READONLY Host_Health = 4
)

func (Host_Health) Descriptor

func (Host_Health) Enum

func (x Host_Health) Enum() *Host_Health

func (Host_Health) EnumDescriptor deprecated

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

Deprecated: Use Host_Health.Descriptor instead.

func (Host_Health) Number

func (x Host_Health) Number() protoreflect.EnumNumber

func (Host_Health) String

func (x Host_Health) String() string

func (Host_Health) Type

type Host_ReplicaType

type Host_ReplicaType int32
const (
	Host_REPLICA_TYPE_UNKNOWN Host_ReplicaType = 0 // Replica type is unknown (we have no data) or it's master
	Host_ASYNC                Host_ReplicaType = 1
	Host_SYNC                 Host_ReplicaType = 2
	Host_QUORUM               Host_ReplicaType = 3
)

func (Host_ReplicaType) Descriptor

func (Host_ReplicaType) Enum

func (Host_ReplicaType) EnumDescriptor deprecated

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

Deprecated: Use Host_ReplicaType.Descriptor instead.

func (Host_ReplicaType) Number

func (Host_ReplicaType) String

func (x Host_ReplicaType) String() string

func (Host_ReplicaType) Type

type Host_Role

type Host_Role int32
const (
	// Role of the host in the cluster is unknown.
	Host_ROLE_UNKNOWN Host_Role = 0
	// Host is the master PostgreSQL server in the cluster.
	Host_MASTER Host_Role = 1
	// Host is a replica (standby) PostgreSQL server in the cluster.
	Host_REPLICA Host_Role = 2
)

func (Host_Role) Descriptor

func (Host_Role) Descriptor() protoreflect.EnumDescriptor

func (Host_Role) Enum

func (x Host_Role) Enum() *Host_Role

func (Host_Role) EnumDescriptor deprecated

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

Deprecated: Use Host_Role.Descriptor instead.

func (Host_Role) Number

func (x Host_Role) Number() protoreflect.EnumNumber

func (Host_Role) String

func (x Host_Role) String() string

func (Host_Role) Type

type ListBackupsRequest

type ListBackupsRequest struct {

	// ID of the folder to list backups in.
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListBackupsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, Set [page_token] to the [ListBackupsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsRequest) Descriptor deprecated

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

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetFolderId

func (x *ListBackupsRequest) GetFolderId() string

func (*ListBackupsRequest) GetPageSize

func (x *ListBackupsRequest) GetPageSize() int64

func (*ListBackupsRequest) GetPageToken

func (x *ListBackupsRequest) GetPageToken() 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) SetFolderId

func (m *ListBackupsRequest) SetFolderId(v string)

func (*ListBackupsRequest) SetPageSize

func (m *ListBackupsRequest) SetPageSize(v int64)

func (*ListBackupsRequest) SetPageToken

func (m *ListBackupsRequest) SetPageToken(v string)

func (*ListBackupsRequest) String

func (x *ListBackupsRequest) String() string

type ListBackupsResponse

type ListBackupsResponse struct {

	// List of PostgreSQL Backup resources.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListBackupsRequest.page_size], use the [next_page_token] as the value
	// for the [ListBackupsRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListBackupsResponse) Descriptor deprecated

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) ProtoMessage

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect

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

func (*ListBackupsResponse) Reset

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) SetBackups

func (m *ListBackupsResponse) SetBackups(v []*Backup)

func (*ListBackupsResponse) SetNextPageToken

func (m *ListBackupsResponse) SetNextPageToken(v string)

func (*ListBackupsResponse) String

func (x *ListBackupsResponse) String() string

type ListClusterBackupsRequest

type ListClusterBackupsRequest struct {

	// ID of the PostgreSQL cluster.
	// To get the PostgreSQL cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterBackupsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterBackupsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterBackupsRequest) Descriptor deprecated

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

Deprecated: Use ListClusterBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterBackupsRequest) GetClusterId

func (x *ListClusterBackupsRequest) GetClusterId() string

func (*ListClusterBackupsRequest) GetPageSize

func (x *ListClusterBackupsRequest) GetPageSize() int64

func (*ListClusterBackupsRequest) GetPageToken

func (x *ListClusterBackupsRequest) GetPageToken() string

func (*ListClusterBackupsRequest) ProtoMessage

func (*ListClusterBackupsRequest) ProtoMessage()

func (*ListClusterBackupsRequest) ProtoReflect

func (*ListClusterBackupsRequest) Reset

func (x *ListClusterBackupsRequest) Reset()

func (*ListClusterBackupsRequest) SetClusterId

func (m *ListClusterBackupsRequest) SetClusterId(v string)

func (*ListClusterBackupsRequest) SetPageSize

func (m *ListClusterBackupsRequest) SetPageSize(v int64)

func (*ListClusterBackupsRequest) SetPageToken

func (m *ListClusterBackupsRequest) SetPageToken(v string)

func (*ListClusterBackupsRequest) String

func (x *ListClusterBackupsRequest) String() string

type ListClusterBackupsResponse

type ListClusterBackupsResponse struct {

	// List of PostgreSQL Backup resources.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterBackupsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterBackupsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterBackupsResponse) Descriptor deprecated

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

Deprecated: Use ListClusterBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterBackupsResponse) GetBackups

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

func (*ListClusterBackupsResponse) GetNextPageToken

func (x *ListClusterBackupsResponse) GetNextPageToken() string

func (*ListClusterBackupsResponse) ProtoMessage

func (*ListClusterBackupsResponse) ProtoMessage()

func (*ListClusterBackupsResponse) ProtoReflect

func (*ListClusterBackupsResponse) Reset

func (x *ListClusterBackupsResponse) Reset()

func (*ListClusterBackupsResponse) SetBackups

func (m *ListClusterBackupsResponse) SetBackups(v []*Backup)

func (*ListClusterBackupsResponse) SetNextPageToken

func (m *ListClusterBackupsResponse) SetNextPageToken(v string)

func (*ListClusterBackupsResponse) String

func (x *ListClusterBackupsResponse) String() string

type ListClusterHostsRequest

type ListClusterHostsRequest struct {

	// ID of the PostgreSQL cluster.
	// To get the PostgreSQL cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterHostsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterHostsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterHostsRequest) Descriptor deprecated

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

Deprecated: Use ListClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterHostsRequest) GetClusterId

func (x *ListClusterHostsRequest) GetClusterId() string

func (*ListClusterHostsRequest) GetPageSize

func (x *ListClusterHostsRequest) GetPageSize() int64

func (*ListClusterHostsRequest) GetPageToken

func (x *ListClusterHostsRequest) GetPageToken() string

func (*ListClusterHostsRequest) ProtoMessage

func (*ListClusterHostsRequest) ProtoMessage()

func (*ListClusterHostsRequest) ProtoReflect

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

func (*ListClusterHostsRequest) Reset

func (x *ListClusterHostsRequest) Reset()

func (*ListClusterHostsRequest) SetClusterId

func (m *ListClusterHostsRequest) SetClusterId(v string)

func (*ListClusterHostsRequest) SetPageSize

func (m *ListClusterHostsRequest) SetPageSize(v int64)

func (*ListClusterHostsRequest) SetPageToken

func (m *ListClusterHostsRequest) SetPageToken(v string)

func (*ListClusterHostsRequest) String

func (x *ListClusterHostsRequest) String() string

type ListClusterHostsResponse

type ListClusterHostsResponse struct {

	// List of Host resources.
	Hosts []*Host `protobuf:"bytes,1,rep,name=hosts,proto3" json:"hosts,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterHostsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterHostsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterHostsResponse) Descriptor deprecated

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

Deprecated: Use ListClusterHostsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterHostsResponse) GetHosts

func (x *ListClusterHostsResponse) GetHosts() []*Host

func (*ListClusterHostsResponse) GetNextPageToken

func (x *ListClusterHostsResponse) GetNextPageToken() string

func (*ListClusterHostsResponse) ProtoMessage

func (*ListClusterHostsResponse) ProtoMessage()

func (*ListClusterHostsResponse) ProtoReflect

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

func (*ListClusterHostsResponse) Reset

func (x *ListClusterHostsResponse) Reset()

func (*ListClusterHostsResponse) SetHosts

func (m *ListClusterHostsResponse) SetHosts(v []*Host)

func (*ListClusterHostsResponse) SetNextPageToken

func (m *ListClusterHostsResponse) SetNextPageToken(v string)

func (*ListClusterHostsResponse) String

func (x *ListClusterHostsResponse) String() string

type ListClusterLogsRequest

type ListClusterLogsRequest struct {

	// ID of the PostgreSQL cluster to request logs for.
	// To get the PostgreSQL cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Columns from the logs table to request.
	// If no columns are specified, entire log records are returned.
	ColumnFilter []string `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"`
	// Type of the service to request logs about.
	ServiceType ListClusterLogsRequest_ServiceType `` /* 166-byte string literal not displayed */
	// Start timestamp for the logs request, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	FromTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End timestamp for the logs request, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	ToTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterLogsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the
	// [ListClusterLogsResponse.next_page_token] returned by the previous list request.
	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Always return `next_page_token`, even if current page is empty.
	AlwaysNextPageToken bool `protobuf:"varint,8,opt,name=always_next_page_token,json=alwaysNextPageToken,proto3" json:"always_next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterLogsRequest) Descriptor deprecated

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

Deprecated: Use ListClusterLogsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterLogsRequest) GetAlwaysNextPageToken

func (x *ListClusterLogsRequest) GetAlwaysNextPageToken() bool

func (*ListClusterLogsRequest) GetClusterId

func (x *ListClusterLogsRequest) GetClusterId() string

func (*ListClusterLogsRequest) GetColumnFilter

func (x *ListClusterLogsRequest) GetColumnFilter() []string

func (*ListClusterLogsRequest) GetFromTime

func (x *ListClusterLogsRequest) GetFromTime() *timestamppb.Timestamp

func (*ListClusterLogsRequest) GetPageSize

func (x *ListClusterLogsRequest) GetPageSize() int64

func (*ListClusterLogsRequest) GetPageToken

func (x *ListClusterLogsRequest) GetPageToken() string

func (*ListClusterLogsRequest) GetServiceType

func (*ListClusterLogsRequest) GetToTime

func (*ListClusterLogsRequest) ProtoMessage

func (*ListClusterLogsRequest) ProtoMessage()

func (*ListClusterLogsRequest) ProtoReflect

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

func (*ListClusterLogsRequest) Reset

func (x *ListClusterLogsRequest) Reset()

func (*ListClusterLogsRequest) SetAlwaysNextPageToken

func (m *ListClusterLogsRequest) SetAlwaysNextPageToken(v bool)

func (*ListClusterLogsRequest) SetClusterId

func (m *ListClusterLogsRequest) SetClusterId(v string)

func (*ListClusterLogsRequest) SetColumnFilter

func (m *ListClusterLogsRequest) SetColumnFilter(v []string)

func (*ListClusterLogsRequest) SetFromTime

func (m *ListClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)

func (*ListClusterLogsRequest) SetPageSize

func (m *ListClusterLogsRequest) SetPageSize(v int64)

func (*ListClusterLogsRequest) SetPageToken

func (m *ListClusterLogsRequest) SetPageToken(v string)

func (*ListClusterLogsRequest) SetServiceType

func (*ListClusterLogsRequest) SetToTime

func (m *ListClusterLogsRequest) SetToTime(v *timestamppb.Timestamp)

func (*ListClusterLogsRequest) String

func (x *ListClusterLogsRequest) String() string

type ListClusterLogsRequest_ServiceType

type ListClusterLogsRequest_ServiceType int32
const (
	ListClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED ListClusterLogsRequest_ServiceType = 0
	// Logs of PostgreSQL activity.
	ListClusterLogsRequest_POSTGRESQL ListClusterLogsRequest_ServiceType = 1
	// Logs of connection pooler activity.
	ListClusterLogsRequest_POOLER ListClusterLogsRequest_ServiceType = 2
)

func (ListClusterLogsRequest_ServiceType) Descriptor

func (ListClusterLogsRequest_ServiceType) Enum

func (ListClusterLogsRequest_ServiceType) EnumDescriptor deprecated

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

Deprecated: Use ListClusterLogsRequest_ServiceType.Descriptor instead.

func (ListClusterLogsRequest_ServiceType) Number

func (ListClusterLogsRequest_ServiceType) String

func (ListClusterLogsRequest_ServiceType) Type

type ListClusterLogsResponse

type ListClusterLogsResponse struct {

	// Requested log records.
	Logs []*LogRecord `protobuf:"bytes,1,rep,name=logs,proto3" json:"logs,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterLogsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterLogsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	// This value is interchangeable with `next_record_token` from StreamLogs method.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterLogsResponse) Descriptor deprecated

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

Deprecated: Use ListClusterLogsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterLogsResponse) GetLogs

func (x *ListClusterLogsResponse) GetLogs() []*LogRecord

func (*ListClusterLogsResponse) GetNextPageToken

func (x *ListClusterLogsResponse) GetNextPageToken() string

func (*ListClusterLogsResponse) ProtoMessage

func (*ListClusterLogsResponse) ProtoMessage()

func (*ListClusterLogsResponse) ProtoReflect

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

func (*ListClusterLogsResponse) Reset

func (x *ListClusterLogsResponse) Reset()

func (*ListClusterLogsResponse) SetLogs

func (m *ListClusterLogsResponse) SetLogs(v []*LogRecord)

func (*ListClusterLogsResponse) SetNextPageToken

func (m *ListClusterLogsResponse) SetNextPageToken(v string)

func (*ListClusterLogsResponse) String

func (x *ListClusterLogsResponse) String() string

type ListClusterOperationsRequest

type ListClusterOperationsRequest struct {

	// ID of the PostgreSQL Cluster resource to list operations for.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClusterOperationsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token.  To get the next page of results, set [page_token] to the [ListClusterOperationsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterOperationsRequest) Descriptor deprecated

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

Deprecated: Use ListClusterOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListClusterOperationsRequest) GetClusterId

func (x *ListClusterOperationsRequest) GetClusterId() string

func (*ListClusterOperationsRequest) GetPageSize

func (x *ListClusterOperationsRequest) GetPageSize() int64

func (*ListClusterOperationsRequest) GetPageToken

func (x *ListClusterOperationsRequest) GetPageToken() string

func (*ListClusterOperationsRequest) ProtoMessage

func (*ListClusterOperationsRequest) ProtoMessage()

func (*ListClusterOperationsRequest) ProtoReflect

func (*ListClusterOperationsRequest) Reset

func (x *ListClusterOperationsRequest) Reset()

func (*ListClusterOperationsRequest) SetClusterId

func (m *ListClusterOperationsRequest) SetClusterId(v string)

func (*ListClusterOperationsRequest) SetPageSize

func (m *ListClusterOperationsRequest) SetPageSize(v int64)

func (*ListClusterOperationsRequest) SetPageToken

func (m *ListClusterOperationsRequest) SetPageToken(v string)

func (*ListClusterOperationsRequest) String

type ListClusterOperationsResponse

type ListClusterOperationsResponse struct {

	// List of Operation resources for the specified PostgreSQL cluster.
	Operations []*operation.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value
	// for the [ListClusterOperationsRequest.page_token] query parameter in the next list request.
	// Each subsequent list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClusterOperationsResponse) Descriptor deprecated

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

Deprecated: Use ListClusterOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListClusterOperationsResponse) GetNextPageToken

func (x *ListClusterOperationsResponse) GetNextPageToken() string

func (*ListClusterOperationsResponse) GetOperations

func (x *ListClusterOperationsResponse) GetOperations() []*operation.Operation

func (*ListClusterOperationsResponse) ProtoMessage

func (*ListClusterOperationsResponse) ProtoMessage()

func (*ListClusterOperationsResponse) ProtoReflect

func (*ListClusterOperationsResponse) Reset

func (x *ListClusterOperationsResponse) Reset()

func (*ListClusterOperationsResponse) SetNextPageToken

func (m *ListClusterOperationsResponse) SetNextPageToken(v string)

func (*ListClusterOperationsResponse) SetOperations

func (m *ListClusterOperationsResponse) SetOperations(v []*operation.Operation)

func (*ListClusterOperationsResponse) String

type ListClustersRequest

type ListClustersRequest struct {

	// ID of the folder to list PostgreSQL clusters in.
	// To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
	FolderId string `protobuf:"bytes,1,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListClustersResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListClustersResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently you can only use filtering with the [Cluster.name] field.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClustersRequest) Descriptor deprecated

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

Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.

func (*ListClustersRequest) GetFilter

func (x *ListClustersRequest) GetFilter() string

func (*ListClustersRequest) GetFolderId

func (x *ListClustersRequest) GetFolderId() string

func (*ListClustersRequest) GetPageSize

func (x *ListClustersRequest) GetPageSize() int64

func (*ListClustersRequest) GetPageToken

func (x *ListClustersRequest) GetPageToken() 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) SetFilter

func (m *ListClustersRequest) SetFilter(v string)

func (*ListClustersRequest) SetFolderId

func (m *ListClustersRequest) SetFolderId(v string)

func (*ListClustersRequest) SetPageSize

func (m *ListClustersRequest) SetPageSize(v int64)

func (*ListClustersRequest) SetPageToken

func (m *ListClustersRequest) SetPageToken(v string)

func (*ListClustersRequest) String

func (x *ListClustersRequest) String() string

type ListClustersResponse

type ListClustersResponse struct {

	// List of PostgreSQL Cluster resources.
	Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value
	// for the [ListClustersRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListClustersResponse) Descriptor deprecated

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) ProtoMessage

func (*ListClustersResponse) ProtoMessage()

func (*ListClustersResponse) ProtoReflect

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

func (*ListClustersResponse) Reset

func (x *ListClustersResponse) Reset()

func (*ListClustersResponse) SetClusters

func (m *ListClustersResponse) SetClusters(v []*Cluster)

func (*ListClustersResponse) SetNextPageToken

func (m *ListClustersResponse) SetNextPageToken(v string)

func (*ListClustersResponse) String

func (x *ListClustersResponse) String() string

type ListDatabasesRequest

type ListDatabasesRequest struct {

	// ID of the PostgreSQL cluster to list databases in.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListDatabasesResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, Set [page_token] to the [ListDatabasesResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDatabasesRequest) Descriptor deprecated

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

Deprecated: Use ListDatabasesRequest.ProtoReflect.Descriptor instead.

func (*ListDatabasesRequest) GetClusterId

func (x *ListDatabasesRequest) GetClusterId() string

func (*ListDatabasesRequest) GetPageSize

func (x *ListDatabasesRequest) GetPageSize() int64

func (*ListDatabasesRequest) GetPageToken

func (x *ListDatabasesRequest) GetPageToken() string

func (*ListDatabasesRequest) ProtoMessage

func (*ListDatabasesRequest) ProtoMessage()

func (*ListDatabasesRequest) ProtoReflect

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

func (*ListDatabasesRequest) Reset

func (x *ListDatabasesRequest) Reset()

func (*ListDatabasesRequest) SetClusterId

func (m *ListDatabasesRequest) SetClusterId(v string)

func (*ListDatabasesRequest) SetPageSize

func (m *ListDatabasesRequest) SetPageSize(v int64)

func (*ListDatabasesRequest) SetPageToken

func (m *ListDatabasesRequest) SetPageToken(v string)

func (*ListDatabasesRequest) String

func (x *ListDatabasesRequest) String() string

type ListDatabasesResponse

type ListDatabasesResponse struct {

	// List of PostgreSQL Database resources.
	Databases []*Database `protobuf:"bytes,1,rep,name=databases,proto3" json:"databases,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListDatabasesRequest.page_size], use the [next_page_token] as the value
	// for the [ListDatabasesRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListDatabasesResponse) Descriptor deprecated

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

Deprecated: Use ListDatabasesResponse.ProtoReflect.Descriptor instead.

func (*ListDatabasesResponse) GetDatabases

func (x *ListDatabasesResponse) GetDatabases() []*Database

func (*ListDatabasesResponse) GetNextPageToken

func (x *ListDatabasesResponse) GetNextPageToken() string

func (*ListDatabasesResponse) ProtoMessage

func (*ListDatabasesResponse) ProtoMessage()

func (*ListDatabasesResponse) ProtoReflect

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

func (*ListDatabasesResponse) Reset

func (x *ListDatabasesResponse) Reset()

func (*ListDatabasesResponse) SetDatabases

func (m *ListDatabasesResponse) SetDatabases(v []*Database)

func (*ListDatabasesResponse) SetNextPageToken

func (m *ListDatabasesResponse) SetNextPageToken(v string)

func (*ListDatabasesResponse) String

func (x *ListDatabasesResponse) String() string

type ListRawSessionStatesRequest

type ListRawSessionStatesRequest struct {

	// ID of a PostgreSQL cluster to request session statistics for.
	//
	// To get a PostgreSQL cluster ID, use the [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Beginning of the period for which you need to request data (in the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format).
	FromTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End of the period for which you need to request data (in the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format).
	ToTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
	// The maximum number of results per page to return. If the number of the results is larger than [page_size], the service returns [ListRawSessionStatesResponse.next_page_token]. You can use it to get the next page of the results in subsequent requests.
	PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListRawSessionStatesResponse.next_page_token] returned by the previous PostgreSQL session list request.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRawSessionStatesRequest) Descriptor deprecated

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

Deprecated: Use ListRawSessionStatesRequest.ProtoReflect.Descriptor instead.

func (*ListRawSessionStatesRequest) GetClusterId

func (x *ListRawSessionStatesRequest) GetClusterId() string

func (*ListRawSessionStatesRequest) GetFromTime

func (*ListRawSessionStatesRequest) GetPageSize

func (x *ListRawSessionStatesRequest) GetPageSize() int64

func (*ListRawSessionStatesRequest) GetPageToken

func (x *ListRawSessionStatesRequest) GetPageToken() string

func (*ListRawSessionStatesRequest) GetToTime

func (*ListRawSessionStatesRequest) ProtoMessage

func (*ListRawSessionStatesRequest) ProtoMessage()

func (*ListRawSessionStatesRequest) ProtoReflect

func (*ListRawSessionStatesRequest) Reset

func (x *ListRawSessionStatesRequest) Reset()

func (*ListRawSessionStatesRequest) SetClusterId

func (m *ListRawSessionStatesRequest) SetClusterId(v string)

func (*ListRawSessionStatesRequest) SetFromTime

func (*ListRawSessionStatesRequest) SetPageSize

func (m *ListRawSessionStatesRequest) SetPageSize(v int64)

func (*ListRawSessionStatesRequest) SetPageToken

func (m *ListRawSessionStatesRequest) SetPageToken(v string)

func (*ListRawSessionStatesRequest) SetToTime

func (*ListRawSessionStatesRequest) String

func (x *ListRawSessionStatesRequest) String() string

type ListRawSessionStatesResponse

type ListRawSessionStatesResponse struct {

	// List of PostgreSQL sessions.
	SessionStates []*SessionState `protobuf:"bytes,1,rep,name=session_states,json=sessionStates,proto3" json:"session_states,omitempty"`
	// This token allows you to get the next page of results when requesting the PostgreSQL session list. If the number of the results is larger than [ListRawSessionStatesRequest.page_size], use the [next_page_token] as the value for the [ListRawSessionStatesRequest.page_token] parameter in the next request. Each subsequent request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRawSessionStatesResponse) Descriptor deprecated

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

Deprecated: Use ListRawSessionStatesResponse.ProtoReflect.Descriptor instead.

func (*ListRawSessionStatesResponse) GetNextPageToken

func (x *ListRawSessionStatesResponse) GetNextPageToken() string

func (*ListRawSessionStatesResponse) GetSessionStates

func (x *ListRawSessionStatesResponse) GetSessionStates() []*SessionState

func (*ListRawSessionStatesResponse) ProtoMessage

func (*ListRawSessionStatesResponse) ProtoMessage()

func (*ListRawSessionStatesResponse) ProtoReflect

func (*ListRawSessionStatesResponse) Reset

func (x *ListRawSessionStatesResponse) Reset()

func (*ListRawSessionStatesResponse) SetNextPageToken

func (m *ListRawSessionStatesResponse) SetNextPageToken(v string)

func (*ListRawSessionStatesResponse) SetSessionStates

func (m *ListRawSessionStatesResponse) SetSessionStates(v []*SessionState)

func (*ListRawSessionStatesResponse) String

type ListRawStatementsRequest

type ListRawStatementsRequest struct {

	// ID of a PostgreSQL cluster to request query statistics for.
	//
	// To get a PostgreSQL cluster ID, use the [ClusterService.List] method.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Beginning of the period for which you need to request data (in the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format).
	FromTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End of the period for which you need to request data (in the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format).
	ToTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
	// The maximum number of results per page to return. If the number of the results is larger than [page_size], the service returns [ListRawStatementsResponse.next_page_token]. You can use it to get the next page of the results in subsequent requests.
	PageSize int64 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListRawStatementsResponse.next_page_token] returned by the previous SQL statement list request.
	PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRawStatementsRequest) Descriptor deprecated

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

Deprecated: Use ListRawStatementsRequest.ProtoReflect.Descriptor instead.

func (*ListRawStatementsRequest) GetClusterId

func (x *ListRawStatementsRequest) GetClusterId() string

func (*ListRawStatementsRequest) GetFromTime

func (*ListRawStatementsRequest) GetPageSize

func (x *ListRawStatementsRequest) GetPageSize() int64

func (*ListRawStatementsRequest) GetPageToken

func (x *ListRawStatementsRequest) GetPageToken() string

func (*ListRawStatementsRequest) GetToTime

func (*ListRawStatementsRequest) ProtoMessage

func (*ListRawStatementsRequest) ProtoMessage()

func (*ListRawStatementsRequest) ProtoReflect

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

func (*ListRawStatementsRequest) Reset

func (x *ListRawStatementsRequest) Reset()

func (*ListRawStatementsRequest) SetClusterId

func (m *ListRawStatementsRequest) SetClusterId(v string)

func (*ListRawStatementsRequest) SetFromTime

func (m *ListRawStatementsRequest) SetFromTime(v *timestamppb.Timestamp)

func (*ListRawStatementsRequest) SetPageSize

func (m *ListRawStatementsRequest) SetPageSize(v int64)

func (*ListRawStatementsRequest) SetPageToken

func (m *ListRawStatementsRequest) SetPageToken(v string)

func (*ListRawStatementsRequest) SetToTime

func (*ListRawStatementsRequest) String

func (x *ListRawStatementsRequest) String() string

type ListRawStatementsResponse

type ListRawStatementsResponse struct {

	// List of SQL statements (queries).
	Statements []*QueryStatement `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"`
	// This token allows you to get the next page of results when requesting the PostgreSQL session list. If the number of the results is larger than [ListRawStatementsRequest.page_size], use the [next_page_token] as the value for the [ListRawStatementsRequest.page_token] parameter in the next request. Each subsequent request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRawStatementsResponse) Descriptor deprecated

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

Deprecated: Use ListRawStatementsResponse.ProtoReflect.Descriptor instead.

func (*ListRawStatementsResponse) GetNextPageToken

func (x *ListRawStatementsResponse) GetNextPageToken() string

func (*ListRawStatementsResponse) GetStatements

func (x *ListRawStatementsResponse) GetStatements() []*QueryStatement

func (*ListRawStatementsResponse) ProtoMessage

func (*ListRawStatementsResponse) ProtoMessage()

func (*ListRawStatementsResponse) ProtoReflect

func (*ListRawStatementsResponse) Reset

func (x *ListRawStatementsResponse) Reset()

func (*ListRawStatementsResponse) SetNextPageToken

func (m *ListRawStatementsResponse) SetNextPageToken(v string)

func (*ListRawStatementsResponse) SetStatements

func (m *ListRawStatementsResponse) SetStatements(v []*QueryStatement)

func (*ListRawStatementsResponse) String

func (x *ListRawStatementsResponse) String() string

type ListResourcePresetsRequest

type ListResourcePresetsRequest struct {

	// The maximum number of results per page to return. If the number of available
	// results is larger than [page_size], the service returns a [ListResourcePresetsResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set [page_token] to the [ListResourcePresetsResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcePresetsRequest) Descriptor deprecated

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

Deprecated: Use ListResourcePresetsRequest.ProtoReflect.Descriptor instead.

func (*ListResourcePresetsRequest) GetPageSize

func (x *ListResourcePresetsRequest) GetPageSize() int64

func (*ListResourcePresetsRequest) GetPageToken

func (x *ListResourcePresetsRequest) GetPageToken() string

func (*ListResourcePresetsRequest) ProtoMessage

func (*ListResourcePresetsRequest) ProtoMessage()

func (*ListResourcePresetsRequest) ProtoReflect

func (*ListResourcePresetsRequest) Reset

func (x *ListResourcePresetsRequest) Reset()

func (*ListResourcePresetsRequest) SetPageSize

func (m *ListResourcePresetsRequest) SetPageSize(v int64)

func (*ListResourcePresetsRequest) SetPageToken

func (m *ListResourcePresetsRequest) SetPageToken(v string)

func (*ListResourcePresetsRequest) String

func (x *ListResourcePresetsRequest) String() string

type ListResourcePresetsResponse

type ListResourcePresetsResponse struct {

	// List of ResourcePreset resources.
	ResourcePresets []*ResourcePreset `protobuf:"bytes,1,rep,name=resource_presets,json=resourcePresets,proto3" json:"resource_presets,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListResourcePresetsRequest.page_size], use the [next_page_token] as the value
	// for the [ListResourcePresetsRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own [next_page_token] to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListResourcePresetsResponse) Descriptor deprecated

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

Deprecated: Use ListResourcePresetsResponse.ProtoReflect.Descriptor instead.

func (*ListResourcePresetsResponse) GetNextPageToken

func (x *ListResourcePresetsResponse) GetNextPageToken() string

func (*ListResourcePresetsResponse) GetResourcePresets

func (x *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset

func (*ListResourcePresetsResponse) ProtoMessage

func (*ListResourcePresetsResponse) ProtoMessage()

func (*ListResourcePresetsResponse) ProtoReflect

func (*ListResourcePresetsResponse) Reset

func (x *ListResourcePresetsResponse) Reset()

func (*ListResourcePresetsResponse) SetNextPageToken

func (m *ListResourcePresetsResponse) SetNextPageToken(v string)

func (*ListResourcePresetsResponse) SetResourcePresets

func (m *ListResourcePresetsResponse) SetResourcePresets(v []*ResourcePreset)

func (*ListResourcePresetsResponse) String

func (x *ListResourcePresetsResponse) String() string

type ListUsersRequest

type ListUsersRequest struct {

	// ID of the cluster to list PostgreSQL users in.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The maximum number of results per page to return. If the number of available
	// results is larger than `page_size`, the service returns a [ListUsersResponse.next_page_token]
	// that can be used to get the next page of results in subsequent list requests.
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Page token. To get the next page of results, set `page_token` to the [ListUsersResponse.next_page_token]
	// returned by the previous list request.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersRequest) Descriptor deprecated

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

Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.

func (*ListUsersRequest) GetClusterId

func (x *ListUsersRequest) GetClusterId() string

func (*ListUsersRequest) GetPageSize

func (x *ListUsersRequest) GetPageSize() int64

func (*ListUsersRequest) GetPageToken

func (x *ListUsersRequest) GetPageToken() string

func (*ListUsersRequest) ProtoMessage

func (*ListUsersRequest) ProtoMessage()

func (*ListUsersRequest) ProtoReflect

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

func (*ListUsersRequest) Reset

func (x *ListUsersRequest) Reset()

func (*ListUsersRequest) SetClusterId

func (m *ListUsersRequest) SetClusterId(v string)

func (*ListUsersRequest) SetPageSize

func (m *ListUsersRequest) SetPageSize(v int64)

func (*ListUsersRequest) SetPageToken

func (m *ListUsersRequest) SetPageToken(v string)

func (*ListUsersRequest) String

func (x *ListUsersRequest) String() string

type ListUsersResponse

type ListUsersResponse struct {

	// List of PostgreSQL User resources.
	Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	// This token allows you to get the next page of results for list requests. If the number of results
	// is larger than [ListUsersRequest.page_size], use the `next_page_token` as the value
	// for the [ListUsersRequest.page_token] parameter in the next list request. Each subsequent
	// list request will have its own `next_page_token` to continue paging through the results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

func (*ListUsersResponse) Descriptor deprecated

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

Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.

func (*ListUsersResponse) GetNextPageToken

func (x *ListUsersResponse) GetNextPageToken() string

func (*ListUsersResponse) GetUsers

func (x *ListUsersResponse) GetUsers() []*User

func (*ListUsersResponse) ProtoMessage

func (*ListUsersResponse) ProtoMessage()

func (*ListUsersResponse) ProtoReflect

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

func (*ListUsersResponse) Reset

func (x *ListUsersResponse) Reset()

func (*ListUsersResponse) SetNextPageToken

func (m *ListUsersResponse) SetNextPageToken(v string)

func (*ListUsersResponse) SetUsers

func (m *ListUsersResponse) SetUsers(v []*User)

func (*ListUsersResponse) String

func (x *ListUsersResponse) String() string

type LogRecord

type LogRecord struct {

	// Log record timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Contents of the log record.
	Message map[string]string `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LogRecord) Descriptor deprecated

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

Deprecated: Use LogRecord.ProtoReflect.Descriptor instead.

func (*LogRecord) GetMessage

func (x *LogRecord) GetMessage() map[string]string

func (*LogRecord) GetTimestamp

func (x *LogRecord) GetTimestamp() *timestamppb.Timestamp

func (*LogRecord) ProtoMessage

func (*LogRecord) ProtoMessage()

func (*LogRecord) ProtoReflect

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

func (*LogRecord) Reset

func (x *LogRecord) Reset()

func (*LogRecord) SetMessage

func (m *LogRecord) SetMessage(v map[string]string)

func (*LogRecord) SetTimestamp

func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)

func (*LogRecord) String

func (x *LogRecord) String() string

type MaintenanceOperation

type MaintenanceOperation struct {

	// Information about this maintenance operation.
	Info string `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// Time until which this maintenance operation is delayed.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

A planned maintenance operation.

func (*MaintenanceOperation) Descriptor deprecated

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

Deprecated: Use MaintenanceOperation.ProtoReflect.Descriptor instead.

func (*MaintenanceOperation) GetDelayedUntil

func (x *MaintenanceOperation) GetDelayedUntil() *timestamppb.Timestamp

func (*MaintenanceOperation) GetInfo

func (x *MaintenanceOperation) GetInfo() string

func (*MaintenanceOperation) ProtoMessage

func (*MaintenanceOperation) ProtoMessage()

func (*MaintenanceOperation) ProtoReflect

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

func (*MaintenanceOperation) Reset

func (x *MaintenanceOperation) Reset()

func (*MaintenanceOperation) SetDelayedUntil

func (m *MaintenanceOperation) SetDelayedUntil(v *timestamppb.Timestamp)

func (*MaintenanceOperation) SetInfo

func (m *MaintenanceOperation) SetInfo(v string)

func (*MaintenanceOperation) String

func (x *MaintenanceOperation) String() string

type MaintenanceWindow

type MaintenanceWindow struct {

	// The maintenance policy in effect.
	//
	// Types that are assignable to Policy:
	//
	//	*MaintenanceWindow_Anytime
	//	*MaintenanceWindow_WeeklyMaintenanceWindow
	Policy isMaintenanceWindow_Policy `protobuf_oneof:"policy"`
	// contains filtered or unexported fields
}

A maintenance window settings.

func (*MaintenanceWindow) Descriptor deprecated

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

Deprecated: Use MaintenanceWindow.ProtoReflect.Descriptor instead.

func (*MaintenanceWindow) GetAnytime

func (*MaintenanceWindow) GetPolicy

func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy

func (*MaintenanceWindow) GetWeeklyMaintenanceWindow

func (x *MaintenanceWindow) GetWeeklyMaintenanceWindow() *WeeklyMaintenanceWindow

func (*MaintenanceWindow) ProtoMessage

func (*MaintenanceWindow) ProtoMessage()

func (*MaintenanceWindow) ProtoReflect

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

func (*MaintenanceWindow) Reset

func (x *MaintenanceWindow) Reset()

func (*MaintenanceWindow) SetAnytime

func (m *MaintenanceWindow) SetAnytime(v *AnytimeMaintenanceWindow)

func (*MaintenanceWindow) SetPolicy

func (*MaintenanceWindow) SetWeeklyMaintenanceWindow

func (m *MaintenanceWindow) SetWeeklyMaintenanceWindow(v *WeeklyMaintenanceWindow)

func (*MaintenanceWindow) String

func (x *MaintenanceWindow) String() string

type MaintenanceWindow_Anytime

type MaintenanceWindow_Anytime struct {
	// Maintenance operation can be scheduled anytime.
	Anytime *AnytimeMaintenanceWindow `protobuf:"bytes,1,opt,name=anytime,proto3,oneof"`
}

type MaintenanceWindow_Policy

type MaintenanceWindow_Policy = isMaintenanceWindow_Policy

type MaintenanceWindow_WeeklyMaintenanceWindow

type MaintenanceWindow_WeeklyMaintenanceWindow struct {
	// Maintenance operation can be scheduled on a weekly basis.
	WeeklyMaintenanceWindow *WeeklyMaintenanceWindow `protobuf:"bytes,2,opt,name=weekly_maintenance_window,json=weeklyMaintenanceWindow,proto3,oneof"`
}

type Monitoring

type Monitoring struct {

	// Name of the monitoring system.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the monitoring system.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Link to the monitoring system charts for the PostgreSQL cluster.
	Link string `protobuf:"bytes,3,opt,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

Monitoring system.

func (*Monitoring) Descriptor deprecated

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

Deprecated: Use Monitoring.ProtoReflect.Descriptor instead.

func (*Monitoring) GetDescription

func (x *Monitoring) GetDescription() string
func (x *Monitoring) GetLink() string

func (*Monitoring) GetName

func (x *Monitoring) GetName() string

func (*Monitoring) ProtoMessage

func (*Monitoring) ProtoMessage()

func (*Monitoring) ProtoReflect

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

func (*Monitoring) Reset

func (x *Monitoring) Reset()

func (*Monitoring) SetDescription

func (m *Monitoring) SetDescription(v string)
func (m *Monitoring) SetLink(v string)

func (*Monitoring) SetName

func (m *Monitoring) SetName(v string)

func (*Monitoring) String

func (x *Monitoring) String() string

type MoveClusterMetadata

type MoveClusterMetadata struct {

	// ID of the PostgreSQL cluster being moved.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the source folder.
	SourceFolderId string `protobuf:"bytes,2,opt,name=source_folder_id,json=sourceFolderId,proto3" json:"source_folder_id,omitempty"`
	// ID of the destnation folder.
	DestinationFolderId string `protobuf:"bytes,3,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveClusterMetadata) Descriptor deprecated

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

Deprecated: Use MoveClusterMetadata.ProtoReflect.Descriptor instead.

func (*MoveClusterMetadata) GetClusterId

func (x *MoveClusterMetadata) GetClusterId() string

func (*MoveClusterMetadata) GetDestinationFolderId

func (x *MoveClusterMetadata) GetDestinationFolderId() string

func (*MoveClusterMetadata) GetSourceFolderId

func (x *MoveClusterMetadata) GetSourceFolderId() string

func (*MoveClusterMetadata) ProtoMessage

func (*MoveClusterMetadata) ProtoMessage()

func (*MoveClusterMetadata) ProtoReflect

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

func (*MoveClusterMetadata) Reset

func (x *MoveClusterMetadata) Reset()

func (*MoveClusterMetadata) SetClusterId

func (m *MoveClusterMetadata) SetClusterId(v string)

func (*MoveClusterMetadata) SetDestinationFolderId

func (m *MoveClusterMetadata) SetDestinationFolderId(v string)

func (*MoveClusterMetadata) SetSourceFolderId

func (m *MoveClusterMetadata) SetSourceFolderId(v string)

func (*MoveClusterMetadata) String

func (x *MoveClusterMetadata) String() string

type MoveClusterRequest

type MoveClusterRequest struct {

	// ID of the PostgreSQL cluster to move.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the destination folder.
	DestinationFolderId string `protobuf:"bytes,2,opt,name=destination_folder_id,json=destinationFolderId,proto3" json:"destination_folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveClusterRequest) Descriptor deprecated

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

Deprecated: Use MoveClusterRequest.ProtoReflect.Descriptor instead.

func (*MoveClusterRequest) GetClusterId

func (x *MoveClusterRequest) GetClusterId() string

func (*MoveClusterRequest) GetDestinationFolderId

func (x *MoveClusterRequest) GetDestinationFolderId() string

func (*MoveClusterRequest) ProtoMessage

func (*MoveClusterRequest) ProtoMessage()

func (*MoveClusterRequest) ProtoReflect

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

func (*MoveClusterRequest) Reset

func (x *MoveClusterRequest) Reset()

func (*MoveClusterRequest) SetClusterId

func (m *MoveClusterRequest) SetClusterId(v string)

func (*MoveClusterRequest) SetDestinationFolderId

func (m *MoveClusterRequest) SetDestinationFolderId(v string)

func (*MoveClusterRequest) String

func (x *MoveClusterRequest) String() string

type PGAuditSettings

type PGAuditSettings struct {
	Log []PGAuditSettings_PGAuditSettingsLog `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PGAuditSettings) Descriptor deprecated

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

Deprecated: Use PGAuditSettings.ProtoReflect.Descriptor instead.

func (*PGAuditSettings) GetLog

func (*PGAuditSettings) ProtoMessage

func (*PGAuditSettings) ProtoMessage()

func (*PGAuditSettings) ProtoReflect

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

func (*PGAuditSettings) Reset

func (x *PGAuditSettings) Reset()

func (*PGAuditSettings) SetLog

func (*PGAuditSettings) String

func (x *PGAuditSettings) String() string

type PGAuditSettings_PGAuditSettingsLog

type PGAuditSettings_PGAuditSettingsLog int32
const (
	PGAuditSettings_PG_AUDIT_SETTINGS_LOG_UNSPECIFIED PGAuditSettings_PGAuditSettingsLog = 0
	PGAuditSettings_PG_AUDIT_SETTINGS_LOG_READ        PGAuditSettings_PGAuditSettingsLog = 1
	PGAuditSettings_PG_AUDIT_SETTINGS_LOG_WRITE       PGAuditSettings_PGAuditSettingsLog = 2
	PGAuditSettings_PG_AUDIT_SETTINGS_LOG_FUNCTION    PGAuditSettings_PGAuditSettingsLog = 3
	PGAuditSettings_PG_AUDIT_SETTINGS_LOG_ROLE        PGAuditSettings_PGAuditSettingsLog = 4
	PGAuditSettings_PG_AUDIT_SETTINGS_LOG_DDL         PGAuditSettings_PGAuditSettingsLog = 5
	PGAuditSettings_PG_AUDIT_SETTINGS_LOG_MISC        PGAuditSettings_PGAuditSettingsLog = 6
	PGAuditSettings_PG_AUDIT_SETTINGS_LOG_MISC_SET    PGAuditSettings_PGAuditSettingsLog = 7
)

func (PGAuditSettings_PGAuditSettingsLog) Descriptor

func (PGAuditSettings_PGAuditSettingsLog) Enum

func (PGAuditSettings_PGAuditSettingsLog) EnumDescriptor deprecated

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

Deprecated: Use PGAuditSettings_PGAuditSettingsLog.Descriptor instead.

func (PGAuditSettings_PGAuditSettingsLog) Number

func (PGAuditSettings_PGAuditSettingsLog) String

func (PGAuditSettings_PGAuditSettingsLog) Type

type PerformanceDiagnostics

type PerformanceDiagnostics struct {

	// Configuration setting which enables/disables performance diagnostics service in cluster.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Interval (in seconds) for pg_stat_activity sampling
	SessionsSamplingInterval int64 `` /* 136-byte string literal not displayed */
	// Interval (in seconds) for pg_stat_statements sampling
	StatementsSamplingInterval int64 `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*PerformanceDiagnostics) Descriptor deprecated

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

Deprecated: Use PerformanceDiagnostics.ProtoReflect.Descriptor instead.

func (*PerformanceDiagnostics) GetEnabled

func (x *PerformanceDiagnostics) GetEnabled() bool

func (*PerformanceDiagnostics) GetSessionsSamplingInterval

func (x *PerformanceDiagnostics) GetSessionsSamplingInterval() int64

func (*PerformanceDiagnostics) GetStatementsSamplingInterval

func (x *PerformanceDiagnostics) GetStatementsSamplingInterval() int64

func (*PerformanceDiagnostics) ProtoMessage

func (*PerformanceDiagnostics) ProtoMessage()

func (*PerformanceDiagnostics) ProtoReflect

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

func (*PerformanceDiagnostics) Reset

func (x *PerformanceDiagnostics) Reset()

func (*PerformanceDiagnostics) SetEnabled

func (m *PerformanceDiagnostics) SetEnabled(v bool)

func (*PerformanceDiagnostics) SetSessionsSamplingInterval

func (m *PerformanceDiagnostics) SetSessionsSamplingInterval(v int64)

func (*PerformanceDiagnostics) SetStatementsSamplingInterval

func (m *PerformanceDiagnostics) SetStatementsSamplingInterval(v int64)

func (*PerformanceDiagnostics) String

func (x *PerformanceDiagnostics) String() string

type PerformanceDiagnosticsServiceClient

type PerformanceDiagnosticsServiceClient interface {
	// Retrieves raw statistics on sessions. Corresponds to the [pg_stat_activity view](https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW).
	ListRawSessionStates(ctx context.Context, in *ListRawSessionStatesRequest, opts ...grpc.CallOption) (*ListRawSessionStatesResponse, error)
	// Retrieves statistics on planning and execution of SQL statements (queries).
	ListRawStatements(ctx context.Context, in *ListRawStatementsRequest, opts ...grpc.CallOption) (*ListRawStatementsResponse, error)
}

PerformanceDiagnosticsServiceClient is the client API for PerformanceDiagnosticsService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type PerformanceDiagnosticsServiceServer

type PerformanceDiagnosticsServiceServer interface {
	// Retrieves raw statistics on sessions. Corresponds to the [pg_stat_activity view](https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW).
	ListRawSessionStates(context.Context, *ListRawSessionStatesRequest) (*ListRawSessionStatesResponse, error)
	// Retrieves statistics on planning and execution of SQL statements (queries).
	ListRawStatements(context.Context, *ListRawStatementsRequest) (*ListRawStatementsResponse, error)
}

PerformanceDiagnosticsServiceServer is the server API for PerformanceDiagnosticsService service. All implementations should embed UnimplementedPerformanceDiagnosticsServiceServer for forward compatibility

type Permission

type Permission struct {

	// Name of the database that the permission grants access to.
	DatabaseName string `protobuf:"bytes,1,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

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

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetDatabaseName

func (x *Permission) GetDatabaseName() string

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

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

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) SetDatabaseName

func (m *Permission) SetDatabaseName(v string)

func (*Permission) String

func (x *Permission) String() string

type PrimaryKey

type PrimaryKey struct {

	// Host of the connected client.
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// User ID.
	User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	// Database ID.
	Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"`
	// Returns [true] if a query is executed as a top-level SQL statement or if the [pg_stat_statements.track](https://www.postgresql.org/docs/current/pgstatstatements.html#id-1.11.7.41.9) parameter is set to the value [top].
	Toplevel bool `protobuf:"varint,5,opt,name=toplevel,proto3" json:"toplevel,omitempty"`
	// Query ID.
	QueryId string `protobuf:"bytes,6,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"`
	// Query planning ID.
	PlanId string `protobuf:"bytes,7,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
	// contains filtered or unexported fields
}

func (*PrimaryKey) Descriptor deprecated

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

Deprecated: Use PrimaryKey.ProtoReflect.Descriptor instead.

func (*PrimaryKey) GetDatabase

func (x *PrimaryKey) GetDatabase() string

func (*PrimaryKey) GetHost

func (x *PrimaryKey) GetHost() string

func (*PrimaryKey) GetPlanId

func (x *PrimaryKey) GetPlanId() string

func (*PrimaryKey) GetQueryId

func (x *PrimaryKey) GetQueryId() string

func (*PrimaryKey) GetToplevel

func (x *PrimaryKey) GetToplevel() bool

func (*PrimaryKey) GetUser

func (x *PrimaryKey) GetUser() string

func (*PrimaryKey) ProtoMessage

func (*PrimaryKey) ProtoMessage()

func (*PrimaryKey) ProtoReflect

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

func (*PrimaryKey) Reset

func (x *PrimaryKey) Reset()

func (*PrimaryKey) SetDatabase

func (m *PrimaryKey) SetDatabase(v string)

func (*PrimaryKey) SetHost

func (m *PrimaryKey) SetHost(v string)

func (*PrimaryKey) SetPlanId

func (m *PrimaryKey) SetPlanId(v string)

func (*PrimaryKey) SetQueryId

func (m *PrimaryKey) SetQueryId(v string)

func (*PrimaryKey) SetToplevel

func (m *PrimaryKey) SetToplevel(v bool)

func (*PrimaryKey) SetUser

func (m *PrimaryKey) SetUser(v string)

func (*PrimaryKey) String

func (x *PrimaryKey) String() string

type QueryStatement

type QueryStatement struct {

	// Primary keys in tables with the statistics on planning and execution of queries.
	Key *PrimaryKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Statistics on planning and execution of queries.
	Stats *QueryStats `protobuf:"bytes,2,opt,name=stats,proto3" json:"stats,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryStatement) Descriptor deprecated

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

Deprecated: Use QueryStatement.ProtoReflect.Descriptor instead.

func (*QueryStatement) GetKey

func (x *QueryStatement) GetKey() *PrimaryKey

func (*QueryStatement) GetStats

func (x *QueryStatement) GetStats() *QueryStats

func (*QueryStatement) ProtoMessage

func (*QueryStatement) ProtoMessage()

func (*QueryStatement) ProtoReflect

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

func (*QueryStatement) Reset

func (x *QueryStatement) Reset()

func (*QueryStatement) SetKey

func (m *QueryStatement) SetKey(v *PrimaryKey)

func (*QueryStatement) SetStats

func (m *QueryStatement) SetStats(v *QueryStats)

func (*QueryStatement) String

func (x *QueryStatement) String() string

type QueryStats

type QueryStats struct {

	// Time of collecting statistics on planning and execution of queries.
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Statement text.
	Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
	// Normalized query plan.
	NormalizedPlan string `protobuf:"bytes,3,opt,name=normalized_plan,json=normalizedPlan,proto3" json:"normalized_plan,omitempty"`
	// Example of a query execution plan (without normalization).
	ExamplePlan string `protobuf:"bytes,4,opt,name=example_plan,json=examplePlan,proto3" json:"example_plan,omitempty"`
	// Number of times that a query was planned.
	//
	// The parameter returns a non-zero value if the [pg_stat_statements.track_planning](https://www.postgresql.org/docs/current/pgstatstatements.html#id-1.11.7.41.9) parameter is enabled.
	Plans int64 `protobuf:"varint,5,opt,name=plans,proto3" json:"plans,omitempty"`
	// Total time taken to plan a query, in milliseconds.
	//
	// The parameter returns a non-zero value if the [pg_stat_statements.track_planning] parameter is enabled.
	TotalPlanTime float64 `protobuf:"fixed64,6,opt,name=total_plan_time,json=totalPlanTime,proto3" json:"total_plan_time,omitempty"`
	// Minimum time taken to plan a query, in milliseconds.
	//
	// The parameter returns a non-zero value if the [pg_stat_statements.track_planning] parameter is enabled.
	MinPlanTime float64 `protobuf:"fixed64,7,opt,name=min_plan_time,json=minPlanTime,proto3" json:"min_plan_time,omitempty"`
	// Maximum time taken to plan a query, in milliseconds.
	//
	// The parameter returns a non-zero value if the [pg_stat_statements.track_planning] parameter is enabled.
	MaxPlanTime float64 `protobuf:"fixed64,8,opt,name=max_plan_time,json=maxPlanTime,proto3" json:"max_plan_time,omitempty"`
	// Average time taken to plan a query, in milliseconds.
	//
	// The parameter returns a non-zero value if the [pg_stat_statements.track_planning] parameter is enabled.
	MeanPlanTime float64 `protobuf:"fixed64,9,opt,name=mean_plan_time,json=meanPlanTime,proto3" json:"mean_plan_time,omitempty"`
	// Population standard deviation of the time taken to plan a query, in milliseconds.
	//
	// The parameter returns a non-zero value if the [pg_stat_statements.track_planning] parameter is enabled.
	StddevPlanTime float64 `protobuf:"fixed64,10,opt,name=stddev_plan_time,json=stddevPlanTime,proto3" json:"stddev_plan_time,omitempty"`
	// Number of times that a query was executed.
	Calls int64 `protobuf:"varint,11,opt,name=calls,proto3" json:"calls,omitempty"`
	// Total time taken to execute a query, in milliseconds.
	TotalTime float64 `protobuf:"fixed64,12,opt,name=total_time,json=totalTime,proto3" json:"total_time,omitempty"` // total_exec_time
	// Minimum time taken to execute a query, in milliseconds.
	MinTime float64 `protobuf:"fixed64,13,opt,name=min_time,json=minTime,proto3" json:"min_time,omitempty"` // min_exec_time
	// Maximum time taken to execute a query, in milliseconds.
	MaxTime float64 `protobuf:"fixed64,14,opt,name=max_time,json=maxTime,proto3" json:"max_time,omitempty"` // max_exec_time
	// Average time taken to execute a query, in milliseconds.
	MeanTime float64 `protobuf:"fixed64,15,opt,name=mean_time,json=meanTime,proto3" json:"mean_time,omitempty"` // mean_exec_time
	// Population standard deviation of the time taken to execute a query, in milliseconds.
	StddevTime float64 `protobuf:"fixed64,16,opt,name=stddev_time,json=stddevTime,proto3" json:"stddev_time,omitempty"` // stddev_exec_time
	// Number of retrieved or affected rows.
	Rows int64 `protobuf:"varint,17,opt,name=rows,proto3" json:"rows,omitempty"`
	// Number of shared blocks that are hit from cache.
	SharedBlksHit int64 `protobuf:"varint,18,opt,name=shared_blks_hit,json=sharedBlksHit,proto3" json:"shared_blks_hit,omitempty"`
	// Number of read shared blocks.
	SharedBlksRead int64 `protobuf:"varint,19,opt,name=shared_blks_read,json=sharedBlksRead,proto3" json:"shared_blks_read,omitempty"`
	// Number of 'dirtied' shared blocks.
	SharedBlksDirtied int64 `protobuf:"varint,20,opt,name=shared_blks_dirtied,json=sharedBlksDirtied,proto3" json:"shared_blks_dirtied,omitempty"`
	// Number of written shared blocks.
	SharedBlksWritten int64 `protobuf:"varint,21,opt,name=shared_blks_written,json=sharedBlksWritten,proto3" json:"shared_blks_written,omitempty"`
	// Number of local blocks that are hit from cache.
	LocalBlksHit int64 `protobuf:"varint,22,opt,name=local_blks_hit,json=localBlksHit,proto3" json:"local_blks_hit,omitempty"`
	// Number of read local blocks.
	LocalBlksRead int64 `protobuf:"varint,23,opt,name=local_blks_read,json=localBlksRead,proto3" json:"local_blks_read,omitempty"`
	// Number of 'dirtied' local blocks.
	LocalBlksDirtied int64 `protobuf:"varint,24,opt,name=local_blks_dirtied,json=localBlksDirtied,proto3" json:"local_blks_dirtied,omitempty"`
	// Number of written local blocks.
	LocalBlksWritten int64 `protobuf:"varint,25,opt,name=local_blks_written,json=localBlksWritten,proto3" json:"local_blks_written,omitempty"`
	// Number of read temporary blocks.
	TempBlksRead int64 `protobuf:"varint,26,opt,name=temp_blks_read,json=tempBlksRead,proto3" json:"temp_blks_read,omitempty"`
	// Number of written temporary blocks.
	TempBlksWritten int64 `protobuf:"varint,27,opt,name=temp_blks_written,json=tempBlksWritten,proto3" json:"temp_blks_written,omitempty"`
	// Time taken to read data blocks, in milliseconds.
	//
	// The parameter returns a non-zero value if the [track_io_timing](https://www.postgresql.org/docs/current/runtime-config-statistics.html#GUC-TRACK-IO-TIMING) parameter is enabled.
	BlkReadTime float64 `protobuf:"fixed64,28,opt,name=blk_read_time,json=blkReadTime,proto3" json:"blk_read_time,omitempty"`
	// Time taken to record data blocks, in milliseconds.
	//
	// The parameter returns a non-zero value if the [track_io_timing] parameter is enabled.
	BlkWriteTime float64 `protobuf:"fixed64,29,opt,name=blk_write_time,json=blkWriteTime,proto3" json:"blk_write_time,omitempty"`
	// Time taken to read temporary data blocks, in milliseconds.
	//
	// The parameter returns a non-zero value if the [track_io_timing] parameter is enabled.
	TempBlkReadTime float64 `protobuf:"fixed64,30,opt,name=temp_blk_read_time,json=tempBlkReadTime,proto3" json:"temp_blk_read_time,omitempty"`
	// Time taken to record temporary data blocks, in milliseconds.
	//
	// The parameter returns a non-zero value if the [track_io_timing] parameter is enabled.
	TempBlkWriteTime float64 `protobuf:"fixed64,31,opt,name=temp_blk_write_time,json=tempBlkWriteTime,proto3" json:"temp_blk_write_time,omitempty"`
	// Number of WAL records generated during a given period.
	WalRecords int64 `protobuf:"varint,32,opt,name=wal_records,json=walRecords,proto3" json:"wal_records,omitempty"`
	// Number of WAL full page images generated during a given period.
	WalFpi int64 `protobuf:"varint,33,opt,name=wal_fpi,json=walFpi,proto3" json:"wal_fpi,omitempty"`
	// Number of WAL logs generated during a given period, in bytes.
	WalBytes int64 `protobuf:"varint,34,opt,name=wal_bytes,json=walBytes,proto3" json:"wal_bytes,omitempty"`
	// Number of JIT-compiled functions.
	JitFunctions int64 `protobuf:"varint,35,opt,name=jit_functions,json=jitFunctions,proto3" json:"jit_functions,omitempty"`
	// Time taken to generate JIT code, in milliseconds.
	JitGenerationTime float64 `protobuf:"fixed64,36,opt,name=jit_generation_time,json=jitGenerationTime,proto3" json:"jit_generation_time,omitempty"`
	// Number of times that functions have been inlined.
	JitInliningCount int64 `protobuf:"varint,37,opt,name=jit_inlining_count,json=jitInliningCount,proto3" json:"jit_inlining_count,omitempty"`
	// Time taken to inline functions, in milliseconds.
	JitInliningTime float64 `protobuf:"fixed64,38,opt,name=jit_inlining_time,json=jitInliningTime,proto3" json:"jit_inlining_time,omitempty"`
	// Number of times that a query was optimized.
	JitOptimizationCount int64 `protobuf:"varint,39,opt,name=jit_optimization_count,json=jitOptimizationCount,proto3" json:"jit_optimization_count,omitempty"`
	// Time taken to optimize a query, in milliseconds.
	JitOptimizationTime float64 `protobuf:"fixed64,40,opt,name=jit_optimization_time,json=jitOptimizationTime,proto3" json:"jit_optimization_time,omitempty"`
	// Number of times that code was emitted.
	JitEmissionCount int64 `protobuf:"varint,41,opt,name=jit_emission_count,json=jitEmissionCount,proto3" json:"jit_emission_count,omitempty"`
	// Time taken to emit code.
	JitEmissionTime float64 `protobuf:"fixed64,42,opt,name=jit_emission_time,json=jitEmissionTime,proto3" json:"jit_emission_time,omitempty"`
	// Cost of receiving a response to a query before the first row of the response is issued.
	StartupCost int64 `protobuf:"varint,43,opt,name=startup_cost,json=startupCost,proto3" json:"startup_cost,omitempty"`
	// Cost of receiving a response to a query when all the rows of the response are issued.
	TotalCost int64 `protobuf:"varint,44,opt,name=total_cost,json=totalCost,proto3" json:"total_cost,omitempty"`
	// Expected number of rows that a given plan node should issue.
	PlanRows int64 `protobuf:"varint,45,opt,name=plan_rows,json=planRows,proto3" json:"plan_rows,omitempty"`
	// Expected average size of rows that a given plan node should issue.
	PlanWidth int64 `protobuf:"varint,46,opt,name=plan_width,json=planWidth,proto3" json:"plan_width,omitempty"`
	// Number of bytes that the filesystem layer has read.
	Reads int64 `protobuf:"varint,47,opt,name=reads,proto3" json:"reads,omitempty"`
	// Number of bytes that the filesystem layer has written.
	Writes int64 `protobuf:"varint,48,opt,name=writes,proto3" json:"writes,omitempty"`
	// User CPU time used.
	UserTime float64 `protobuf:"fixed64,49,opt,name=user_time,json=userTime,proto3" json:"user_time,omitempty"`
	// System CPU time used.
	SystemTime float64 `protobuf:"fixed64,50,opt,name=system_time,json=systemTime,proto3" json:"system_time,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryStats) Descriptor deprecated

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

Deprecated: Use QueryStats.ProtoReflect.Descriptor instead.

func (*QueryStats) GetBlkReadTime

func (x *QueryStats) GetBlkReadTime() float64

func (*QueryStats) GetBlkWriteTime

func (x *QueryStats) GetBlkWriteTime() float64

func (*QueryStats) GetCalls

func (x *QueryStats) GetCalls() int64

func (*QueryStats) GetExamplePlan

func (x *QueryStats) GetExamplePlan() string

func (*QueryStats) GetJitEmissionCount

func (x *QueryStats) GetJitEmissionCount() int64

func (*QueryStats) GetJitEmissionTime

func (x *QueryStats) GetJitEmissionTime() float64

func (*QueryStats) GetJitFunctions

func (x *QueryStats) GetJitFunctions() int64

func (*QueryStats) GetJitGenerationTime

func (x *QueryStats) GetJitGenerationTime() float64

func (*QueryStats) GetJitInliningCount

func (x *QueryStats) GetJitInliningCount() int64

func (*QueryStats) GetJitInliningTime

func (x *QueryStats) GetJitInliningTime() float64

func (*QueryStats) GetJitOptimizationCount

func (x *QueryStats) GetJitOptimizationCount() int64

func (*QueryStats) GetJitOptimizationTime

func (x *QueryStats) GetJitOptimizationTime() float64

func (*QueryStats) GetLocalBlksDirtied

func (x *QueryStats) GetLocalBlksDirtied() int64

func (*QueryStats) GetLocalBlksHit

func (x *QueryStats) GetLocalBlksHit() int64

func (*QueryStats) GetLocalBlksRead

func (x *QueryStats) GetLocalBlksRead() int64

func (*QueryStats) GetLocalBlksWritten

func (x *QueryStats) GetLocalBlksWritten() int64

func (*QueryStats) GetMaxPlanTime

func (x *QueryStats) GetMaxPlanTime() float64

func (*QueryStats) GetMaxTime

func (x *QueryStats) GetMaxTime() float64

func (*QueryStats) GetMeanPlanTime

func (x *QueryStats) GetMeanPlanTime() float64

func (*QueryStats) GetMeanTime

func (x *QueryStats) GetMeanTime() float64

func (*QueryStats) GetMinPlanTime

func (x *QueryStats) GetMinPlanTime() float64

func (*QueryStats) GetMinTime

func (x *QueryStats) GetMinTime() float64

func (*QueryStats) GetNormalizedPlan

func (x *QueryStats) GetNormalizedPlan() string

func (*QueryStats) GetPlanRows

func (x *QueryStats) GetPlanRows() int64

func (*QueryStats) GetPlanWidth

func (x *QueryStats) GetPlanWidth() int64

func (*QueryStats) GetPlans

func (x *QueryStats) GetPlans() int64

func (*QueryStats) GetQuery

func (x *QueryStats) GetQuery() string

func (*QueryStats) GetReads

func (x *QueryStats) GetReads() int64

func (*QueryStats) GetRows

func (x *QueryStats) GetRows() int64

func (*QueryStats) GetSharedBlksDirtied

func (x *QueryStats) GetSharedBlksDirtied() int64

func (*QueryStats) GetSharedBlksHit

func (x *QueryStats) GetSharedBlksHit() int64

func (*QueryStats) GetSharedBlksRead

func (x *QueryStats) GetSharedBlksRead() int64

func (*QueryStats) GetSharedBlksWritten

func (x *QueryStats) GetSharedBlksWritten() int64

func (*QueryStats) GetStartupCost

func (x *QueryStats) GetStartupCost() int64

func (*QueryStats) GetStddevPlanTime

func (x *QueryStats) GetStddevPlanTime() float64

func (*QueryStats) GetStddevTime

func (x *QueryStats) GetStddevTime() float64

func (*QueryStats) GetSystemTime

func (x *QueryStats) GetSystemTime() float64

func (*QueryStats) GetTempBlkReadTime

func (x *QueryStats) GetTempBlkReadTime() float64

func (*QueryStats) GetTempBlkWriteTime

func (x *QueryStats) GetTempBlkWriteTime() float64

func (*QueryStats) GetTempBlksRead

func (x *QueryStats) GetTempBlksRead() int64

func (*QueryStats) GetTempBlksWritten

func (x *QueryStats) GetTempBlksWritten() int64

func (*QueryStats) GetTime

func (x *QueryStats) GetTime() *timestamppb.Timestamp

func (*QueryStats) GetTotalCost

func (x *QueryStats) GetTotalCost() int64

func (*QueryStats) GetTotalPlanTime

func (x *QueryStats) GetTotalPlanTime() float64

func (*QueryStats) GetTotalTime

func (x *QueryStats) GetTotalTime() float64

func (*QueryStats) GetUserTime

func (x *QueryStats) GetUserTime() float64

func (*QueryStats) GetWalBytes

func (x *QueryStats) GetWalBytes() int64

func (*QueryStats) GetWalFpi

func (x *QueryStats) GetWalFpi() int64

func (*QueryStats) GetWalRecords

func (x *QueryStats) GetWalRecords() int64

func (*QueryStats) GetWrites

func (x *QueryStats) GetWrites() int64

func (*QueryStats) ProtoMessage

func (*QueryStats) ProtoMessage()

func (*QueryStats) ProtoReflect

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

func (*QueryStats) Reset

func (x *QueryStats) Reset()

func (*QueryStats) SetBlkReadTime

func (m *QueryStats) SetBlkReadTime(v float64)

func (*QueryStats) SetBlkWriteTime

func (m *QueryStats) SetBlkWriteTime(v float64)

func (*QueryStats) SetCalls

func (m *QueryStats) SetCalls(v int64)

func (*QueryStats) SetExamplePlan

func (m *QueryStats) SetExamplePlan(v string)

func (*QueryStats) SetJitEmissionCount

func (m *QueryStats) SetJitEmissionCount(v int64)

func (*QueryStats) SetJitEmissionTime

func (m *QueryStats) SetJitEmissionTime(v float64)

func (*QueryStats) SetJitFunctions

func (m *QueryStats) SetJitFunctions(v int64)

func (*QueryStats) SetJitGenerationTime

func (m *QueryStats) SetJitGenerationTime(v float64)

func (*QueryStats) SetJitInliningCount

func (m *QueryStats) SetJitInliningCount(v int64)

func (*QueryStats) SetJitInliningTime

func (m *QueryStats) SetJitInliningTime(v float64)

func (*QueryStats) SetJitOptimizationCount

func (m *QueryStats) SetJitOptimizationCount(v int64)

func (*QueryStats) SetJitOptimizationTime

func (m *QueryStats) SetJitOptimizationTime(v float64)

func (*QueryStats) SetLocalBlksDirtied

func (m *QueryStats) SetLocalBlksDirtied(v int64)

func (*QueryStats) SetLocalBlksHit

func (m *QueryStats) SetLocalBlksHit(v int64)

func (*QueryStats) SetLocalBlksRead

func (m *QueryStats) SetLocalBlksRead(v int64)

func (*QueryStats) SetLocalBlksWritten

func (m *QueryStats) SetLocalBlksWritten(v int64)

func (*QueryStats) SetMaxPlanTime

func (m *QueryStats) SetMaxPlanTime(v float64)

func (*QueryStats) SetMaxTime

func (m *QueryStats) SetMaxTime(v float64)

func (*QueryStats) SetMeanPlanTime

func (m *QueryStats) SetMeanPlanTime(v float64)

func (*QueryStats) SetMeanTime

func (m *QueryStats) SetMeanTime(v float64)

func (*QueryStats) SetMinPlanTime

func (m *QueryStats) SetMinPlanTime(v float64)

func (*QueryStats) SetMinTime

func (m *QueryStats) SetMinTime(v float64)

func (*QueryStats) SetNormalizedPlan

func (m *QueryStats) SetNormalizedPlan(v string)

func (*QueryStats) SetPlanRows

func (m *QueryStats) SetPlanRows(v int64)

func (*QueryStats) SetPlanWidth

func (m *QueryStats) SetPlanWidth(v int64)

func (*QueryStats) SetPlans

func (m *QueryStats) SetPlans(v int64)

func (*QueryStats) SetQuery

func (m *QueryStats) SetQuery(v string)

func (*QueryStats) SetReads

func (m *QueryStats) SetReads(v int64)

func (*QueryStats) SetRows

func (m *QueryStats) SetRows(v int64)

func (*QueryStats) SetSharedBlksDirtied

func (m *QueryStats) SetSharedBlksDirtied(v int64)

func (*QueryStats) SetSharedBlksHit

func (m *QueryStats) SetSharedBlksHit(v int64)

func (*QueryStats) SetSharedBlksRead

func (m *QueryStats) SetSharedBlksRead(v int64)

func (*QueryStats) SetSharedBlksWritten

func (m *QueryStats) SetSharedBlksWritten(v int64)

func (*QueryStats) SetStartupCost

func (m *QueryStats) SetStartupCost(v int64)

func (*QueryStats) SetStddevPlanTime

func (m *QueryStats) SetStddevPlanTime(v float64)

func (*QueryStats) SetStddevTime

func (m *QueryStats) SetStddevTime(v float64)

func (*QueryStats) SetSystemTime

func (m *QueryStats) SetSystemTime(v float64)

func (*QueryStats) SetTempBlkReadTime

func (m *QueryStats) SetTempBlkReadTime(v float64)

func (*QueryStats) SetTempBlkWriteTime

func (m *QueryStats) SetTempBlkWriteTime(v float64)

func (*QueryStats) SetTempBlksRead

func (m *QueryStats) SetTempBlksRead(v int64)

func (*QueryStats) SetTempBlksWritten

func (m *QueryStats) SetTempBlksWritten(v int64)

func (*QueryStats) SetTime

func (m *QueryStats) SetTime(v *timestamppb.Timestamp)

func (*QueryStats) SetTotalCost

func (m *QueryStats) SetTotalCost(v int64)

func (*QueryStats) SetTotalPlanTime

func (m *QueryStats) SetTotalPlanTime(v float64)

func (*QueryStats) SetTotalTime

func (m *QueryStats) SetTotalTime(v float64)

func (*QueryStats) SetUserTime

func (m *QueryStats) SetUserTime(v float64)

func (*QueryStats) SetWalBytes

func (m *QueryStats) SetWalBytes(v int64)

func (*QueryStats) SetWalFpi

func (m *QueryStats) SetWalFpi(v int64)

func (*QueryStats) SetWalRecords

func (m *QueryStats) SetWalRecords(v int64)

func (*QueryStats) SetWrites

func (m *QueryStats) SetWrites(v int64)

func (*QueryStats) String

func (x *QueryStats) String() string

type RescheduleMaintenanceMetadata

type RescheduleMaintenanceMetadata struct {

	// Required. ID of the PostgreSQL cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Required. The time until which this maintenance operation is to be delayed.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

Rescheduled maintenance operation metadata.

func (*RescheduleMaintenanceMetadata) Descriptor deprecated

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

Deprecated: Use RescheduleMaintenanceMetadata.ProtoReflect.Descriptor instead.

func (*RescheduleMaintenanceMetadata) GetClusterId

func (x *RescheduleMaintenanceMetadata) GetClusterId() string

func (*RescheduleMaintenanceMetadata) GetDelayedUntil

func (x *RescheduleMaintenanceMetadata) GetDelayedUntil() *timestamppb.Timestamp

func (*RescheduleMaintenanceMetadata) ProtoMessage

func (*RescheduleMaintenanceMetadata) ProtoMessage()

func (*RescheduleMaintenanceMetadata) ProtoReflect

func (*RescheduleMaintenanceMetadata) Reset

func (x *RescheduleMaintenanceMetadata) Reset()

func (*RescheduleMaintenanceMetadata) SetClusterId

func (m *RescheduleMaintenanceMetadata) SetClusterId(v string)

func (*RescheduleMaintenanceMetadata) SetDelayedUntil

func (m *RescheduleMaintenanceMetadata) SetDelayedUntil(v *timestamppb.Timestamp)

func (*RescheduleMaintenanceMetadata) String

type RescheduleMaintenanceRequest

type RescheduleMaintenanceRequest struct {

	// ID of the PostgreSQL cluster to reschedule the maintenance operation for.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// The type of reschedule request.
	RescheduleType RescheduleMaintenanceRequest_RescheduleType `` /* 184-byte string literal not displayed */
	// The time until which this maintenance operation should be delayed. The value should be ahead of the first time when the maintenance operation has been scheduled for no more than two weeks. The value can also point to the past moment of time if [reschedule_type.IMMEDIATE] reschedule type is chosen.
	DelayedUntil *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=delayed_until,json=delayedUntil,proto3" json:"delayed_until,omitempty"`
	// contains filtered or unexported fields
}

func (*RescheduleMaintenanceRequest) Descriptor deprecated

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

Deprecated: Use RescheduleMaintenanceRequest.ProtoReflect.Descriptor instead.

func (*RescheduleMaintenanceRequest) GetClusterId

func (x *RescheduleMaintenanceRequest) GetClusterId() string

func (*RescheduleMaintenanceRequest) GetDelayedUntil

func (x *RescheduleMaintenanceRequest) GetDelayedUntil() *timestamppb.Timestamp

func (*RescheduleMaintenanceRequest) GetRescheduleType

func (*RescheduleMaintenanceRequest) ProtoMessage

func (*RescheduleMaintenanceRequest) ProtoMessage()

func (*RescheduleMaintenanceRequest) ProtoReflect

func (*RescheduleMaintenanceRequest) Reset

func (x *RescheduleMaintenanceRequest) Reset()

func (*RescheduleMaintenanceRequest) SetClusterId

func (m *RescheduleMaintenanceRequest) SetClusterId(v string)

func (*RescheduleMaintenanceRequest) SetDelayedUntil

func (m *RescheduleMaintenanceRequest) SetDelayedUntil(v *timestamppb.Timestamp)

func (*RescheduleMaintenanceRequest) SetRescheduleType

func (*RescheduleMaintenanceRequest) String

type RescheduleMaintenanceRequest_RescheduleType

type RescheduleMaintenanceRequest_RescheduleType int32
const (
	RescheduleMaintenanceRequest_RESCHEDULE_TYPE_UNSPECIFIED RescheduleMaintenanceRequest_RescheduleType = 0
	// Start the maintenance operation immediately.
	RescheduleMaintenanceRequest_IMMEDIATE RescheduleMaintenanceRequest_RescheduleType = 1
	// Start the maintenance operation within the next available maintenance window.
	RescheduleMaintenanceRequest_NEXT_AVAILABLE_WINDOW RescheduleMaintenanceRequest_RescheduleType = 2
	// Start the maintenance operation at the specific time.
	RescheduleMaintenanceRequest_SPECIFIC_TIME RescheduleMaintenanceRequest_RescheduleType = 3
)

func (RescheduleMaintenanceRequest_RescheduleType) Descriptor

func (RescheduleMaintenanceRequest_RescheduleType) Enum

func (RescheduleMaintenanceRequest_RescheduleType) EnumDescriptor deprecated

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

Deprecated: Use RescheduleMaintenanceRequest_RescheduleType.Descriptor instead.

func (RescheduleMaintenanceRequest_RescheduleType) Number

func (RescheduleMaintenanceRequest_RescheduleType) String

func (RescheduleMaintenanceRequest_RescheduleType) Type

type ResourcePreset

type ResourcePreset struct {

	// ID of the ResourcePreset resource.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// IDs of availability zones where the resource preset is available.
	ZoneIds []string `protobuf:"bytes,2,rep,name=zone_ids,json=zoneIds,proto3" json:"zone_ids,omitempty"`
	// Number of CPU cores for a PostgreSQL host created with the preset.
	Cores int64 `protobuf:"varint,3,opt,name=cores,proto3" json:"cores,omitempty"`
	// RAM volume for a PostgreSQL host created with the preset, in bytes.
	Memory int64 `protobuf:"varint,4,opt,name=memory,proto3" json:"memory,omitempty"`
	// contains filtered or unexported fields
}

A ResourcePreset resource for describing hardware configuration presets.

func (*ResourcePreset) Descriptor deprecated

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

Deprecated: Use ResourcePreset.ProtoReflect.Descriptor instead.

func (*ResourcePreset) GetCores

func (x *ResourcePreset) GetCores() int64

func (*ResourcePreset) GetId

func (x *ResourcePreset) GetId() string

func (*ResourcePreset) GetMemory

func (x *ResourcePreset) GetMemory() int64

func (*ResourcePreset) GetZoneIds

func (x *ResourcePreset) GetZoneIds() []string

func (*ResourcePreset) ProtoMessage

func (*ResourcePreset) ProtoMessage()

func (*ResourcePreset) ProtoReflect

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

func (*ResourcePreset) Reset

func (x *ResourcePreset) Reset()

func (*ResourcePreset) SetCores

func (m *ResourcePreset) SetCores(v int64)

func (*ResourcePreset) SetId

func (m *ResourcePreset) SetId(v string)

func (*ResourcePreset) SetMemory

func (m *ResourcePreset) SetMemory(v int64)

func (*ResourcePreset) SetZoneIds

func (m *ResourcePreset) SetZoneIds(v []string)

func (*ResourcePreset) String

func (x *ResourcePreset) String() string

type ResourcePresetServiceClient

type ResourcePresetServiceClient interface {
	// Returns the specified ResourcePreset resource.
	//
	// To get the list of available ResourcePreset resources, make a [List] request.
	Get(ctx context.Context, in *GetResourcePresetRequest, opts ...grpc.CallOption) (*ResourcePreset, error)
	// Retrieves the list of available ResourcePreset resources.
	List(ctx context.Context, in *ListResourcePresetsRequest, opts ...grpc.CallOption) (*ListResourcePresetsResponse, error)
}

ResourcePresetServiceClient is the client API for ResourcePresetService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ResourcePresetServiceServer

type ResourcePresetServiceServer interface {
	// Returns the specified ResourcePreset resource.
	//
	// To get the list of available ResourcePreset resources, make a [List] request.
	Get(context.Context, *GetResourcePresetRequest) (*ResourcePreset, error)
	// Retrieves the list of available ResourcePreset resources.
	List(context.Context, *ListResourcePresetsRequest) (*ListResourcePresetsResponse, error)
}

ResourcePresetServiceServer is the server API for ResourcePresetService service. All implementations should embed UnimplementedResourcePresetServiceServer for forward compatibility

type Resources

type Resources struct {

	// ID of the preset for computational resources available to a host (CPU, memory etc.).
	// All available presets are listed in the [documentation](/docs/managed-postgresql/concepts/instance-types).
	ResourcePresetId string `protobuf:"bytes,1,opt,name=resource_preset_id,json=resourcePresetId,proto3" json:"resource_preset_id,omitempty"`
	// Volume of the storage available to a host, in bytes.
	DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"`
	// Type of the storage environment for the host.
	// Possible values:
	// * network-hdd - network HDD drive,
	// * network-ssd - network SSD drive,
	// * local-ssd - local SSD storage.
	DiskTypeId string `protobuf:"bytes,3,opt,name=disk_type_id,json=diskTypeId,proto3" json:"disk_type_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Resources) Descriptor deprecated

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

Deprecated: Use Resources.ProtoReflect.Descriptor instead.

func (*Resources) GetDiskSize

func (x *Resources) GetDiskSize() int64

func (*Resources) GetDiskTypeId

func (x *Resources) GetDiskTypeId() string

func (*Resources) GetResourcePresetId

func (x *Resources) GetResourcePresetId() string

func (*Resources) ProtoMessage

func (*Resources) ProtoMessage()

func (*Resources) ProtoReflect

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

func (*Resources) Reset

func (x *Resources) Reset()

func (*Resources) SetDiskSize

func (m *Resources) SetDiskSize(v int64)

func (*Resources) SetDiskTypeId

func (m *Resources) SetDiskTypeId(v string)

func (*Resources) SetResourcePresetId

func (m *Resources) SetResourcePresetId(v string)

func (*Resources) String

func (x *Resources) String() string

type RestoreClusterMetadata

type RestoreClusterMetadata struct {

	// ID of the new PostgreSQL cluster that is being created from a backup.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// ID of the backup that is being used for creating a cluster.
	BackupId string `protobuf:"bytes,2,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreClusterMetadata) Descriptor deprecated

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

Deprecated: Use RestoreClusterMetadata.ProtoReflect.Descriptor instead.

func (*RestoreClusterMetadata) GetBackupId

func (x *RestoreClusterMetadata) GetBackupId() string

func (*RestoreClusterMetadata) GetClusterId

func (x *RestoreClusterMetadata) GetClusterId() string

func (*RestoreClusterMetadata) ProtoMessage

func (*RestoreClusterMetadata) ProtoMessage()

func (*RestoreClusterMetadata) ProtoReflect

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

func (*RestoreClusterMetadata) Reset

func (x *RestoreClusterMetadata) Reset()

func (*RestoreClusterMetadata) SetBackupId

func (m *RestoreClusterMetadata) SetBackupId(v string)

func (*RestoreClusterMetadata) SetClusterId

func (m *RestoreClusterMetadata) SetClusterId(v string)

func (*RestoreClusterMetadata) String

func (x *RestoreClusterMetadata) String() string

type RestoreClusterRequest

type RestoreClusterRequest struct {

	// ID of the backup to create a cluster from.
	// To get the backup ID, use a [ClusterService.ListBackups] request.
	BackupId string `protobuf:"bytes,1,opt,name=backup_id,json=backupId,proto3" json:"backup_id,omitempty"`
	// Timestamp of the moment to which the PostgreSQL cluster should be restored.
	Time *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// Flag that indicates whether a database should be restored to the first backup point
	// available just after the timestamp specified in the [time] field instead of just before.
	//
	// Possible values:
	// * false (default) - the restore point refers to the first backup moment before [time].
	// * true - the restore point refers to the first backup point after [time].
	TimeInclusive bool `protobuf:"varint,3,opt,name=time_inclusive,json=timeInclusive,proto3" json:"time_inclusive,omitempty"`
	// Name of the new PostgreSQL cluster. The name must be unique within the folder.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the new PostgreSQL cluster.
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the PostgreSQL cluster as “ key:value “ pairs. Maximum 64 per resource.
	// For example, "project": "mvp" or "source": "dictionary".
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Deployment environment of the new PostgreSQL cluster.
	Environment Cluster_Environment `` /* 132-byte string literal not displayed */
	// Configuration for the PostgreSQL cluster to be created.
	ConfigSpec *ConfigSpec `protobuf:"bytes,8,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Configurations for PostgreSQL hosts that should be created for
	// the cluster that is being created from the backup.
	HostSpecs []*HostSpec `protobuf:"bytes,9,rep,name=host_specs,json=hostSpecs,proto3" json:"host_specs,omitempty"`
	// ID of the network to create the PostgreSQL cluster in.
	NetworkId string `protobuf:"bytes,10,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
	// ID of the folder to create the PostgreSQL cluster in.
	FolderId string `protobuf:"bytes,11,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// User security groups
	SecurityGroupIds []string `protobuf:"bytes,12,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,13,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Host groups hosting VMs of the cluster.
	HostGroupIds []string `protobuf:"bytes,14,rep,name=host_group_ids,json=hostGroupIds,proto3" json:"host_group_ids,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreClusterRequest) Descriptor deprecated

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

Deprecated: Use RestoreClusterRequest.ProtoReflect.Descriptor instead.

func (*RestoreClusterRequest) GetBackupId

func (x *RestoreClusterRequest) GetBackupId() string

func (*RestoreClusterRequest) GetConfigSpec

func (x *RestoreClusterRequest) GetConfigSpec() *ConfigSpec

func (*RestoreClusterRequest) GetDeletionProtection

func (x *RestoreClusterRequest) GetDeletionProtection() bool

func (*RestoreClusterRequest) GetDescription

func (x *RestoreClusterRequest) GetDescription() string

func (*RestoreClusterRequest) GetEnvironment

func (x *RestoreClusterRequest) GetEnvironment() Cluster_Environment

func (*RestoreClusterRequest) GetFolderId

func (x *RestoreClusterRequest) GetFolderId() string

func (*RestoreClusterRequest) GetHostGroupIds

func (x *RestoreClusterRequest) GetHostGroupIds() []string

func (*RestoreClusterRequest) GetHostSpecs

func (x *RestoreClusterRequest) GetHostSpecs() []*HostSpec

func (*RestoreClusterRequest) GetLabels

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

func (*RestoreClusterRequest) GetName

func (x *RestoreClusterRequest) GetName() string

func (*RestoreClusterRequest) GetNetworkId

func (x *RestoreClusterRequest) GetNetworkId() string

func (*RestoreClusterRequest) GetSecurityGroupIds

func (x *RestoreClusterRequest) GetSecurityGroupIds() []string

func (*RestoreClusterRequest) GetTime

func (*RestoreClusterRequest) GetTimeInclusive

func (x *RestoreClusterRequest) GetTimeInclusive() 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) SetBackupId

func (m *RestoreClusterRequest) SetBackupId(v string)

func (*RestoreClusterRequest) SetConfigSpec

func (m *RestoreClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*RestoreClusterRequest) SetDeletionProtection

func (m *RestoreClusterRequest) SetDeletionProtection(v bool)

func (*RestoreClusterRequest) SetDescription

func (m *RestoreClusterRequest) SetDescription(v string)

func (*RestoreClusterRequest) SetEnvironment

func (m *RestoreClusterRequest) SetEnvironment(v Cluster_Environment)

func (*RestoreClusterRequest) SetFolderId

func (m *RestoreClusterRequest) SetFolderId(v string)

func (*RestoreClusterRequest) SetHostGroupIds

func (m *RestoreClusterRequest) SetHostGroupIds(v []string)

func (*RestoreClusterRequest) SetHostSpecs

func (m *RestoreClusterRequest) SetHostSpecs(v []*HostSpec)

func (*RestoreClusterRequest) SetLabels

func (m *RestoreClusterRequest) SetLabels(v map[string]string)

func (*RestoreClusterRequest) SetName

func (m *RestoreClusterRequest) SetName(v string)

func (*RestoreClusterRequest) SetNetworkId

func (m *RestoreClusterRequest) SetNetworkId(v string)

func (*RestoreClusterRequest) SetSecurityGroupIds

func (m *RestoreClusterRequest) SetSecurityGroupIds(v []string)

func (*RestoreClusterRequest) SetTime

func (*RestoreClusterRequest) SetTimeInclusive

func (m *RestoreClusterRequest) SetTimeInclusive(v bool)

func (*RestoreClusterRequest) String

func (x *RestoreClusterRequest) String() string

type RevokeUserPermissionMetadata

type RevokeUserPermissionMetadata struct {

	// ID of the PostgreSQL cluster the user belongs to.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user whose permission is being revoked.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeUserPermissionMetadata) Descriptor deprecated

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

Deprecated: Use RevokeUserPermissionMetadata.ProtoReflect.Descriptor instead.

func (*RevokeUserPermissionMetadata) GetClusterId

func (x *RevokeUserPermissionMetadata) GetClusterId() string

func (*RevokeUserPermissionMetadata) GetUserName

func (x *RevokeUserPermissionMetadata) GetUserName() string

func (*RevokeUserPermissionMetadata) ProtoMessage

func (*RevokeUserPermissionMetadata) ProtoMessage()

func (*RevokeUserPermissionMetadata) ProtoReflect

func (*RevokeUserPermissionMetadata) Reset

func (x *RevokeUserPermissionMetadata) Reset()

func (*RevokeUserPermissionMetadata) SetClusterId

func (m *RevokeUserPermissionMetadata) SetClusterId(v string)

func (*RevokeUserPermissionMetadata) SetUserName

func (m *RevokeUserPermissionMetadata) SetUserName(v string)

func (*RevokeUserPermissionMetadata) String

type RevokeUserPermissionRequest

type RevokeUserPermissionRequest struct {

	// ID of the PostgreSQL cluster the user belongs to.
	// To get the cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to revoke a permission from.
	// To get the name of the user, use a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Name of the database that the user should lose access to.
	DatabaseName string `protobuf:"bytes,3,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeUserPermissionRequest) Descriptor deprecated

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

Deprecated: Use RevokeUserPermissionRequest.ProtoReflect.Descriptor instead.

func (*RevokeUserPermissionRequest) GetClusterId

func (x *RevokeUserPermissionRequest) GetClusterId() string

func (*RevokeUserPermissionRequest) GetDatabaseName

func (x *RevokeUserPermissionRequest) GetDatabaseName() string

func (*RevokeUserPermissionRequest) GetUserName

func (x *RevokeUserPermissionRequest) GetUserName() string

func (*RevokeUserPermissionRequest) ProtoMessage

func (*RevokeUserPermissionRequest) ProtoMessage()

func (*RevokeUserPermissionRequest) ProtoReflect

func (*RevokeUserPermissionRequest) Reset

func (x *RevokeUserPermissionRequest) Reset()

func (*RevokeUserPermissionRequest) SetClusterId

func (m *RevokeUserPermissionRequest) SetClusterId(v string)

func (*RevokeUserPermissionRequest) SetDatabaseName

func (m *RevokeUserPermissionRequest) SetDatabaseName(v string)

func (*RevokeUserPermissionRequest) SetUserName

func (m *RevokeUserPermissionRequest) SetUserName(v string)

func (*RevokeUserPermissionRequest) String

func (x *RevokeUserPermissionRequest) String() string

type Service

type Service struct {

	// Type of the service provided by the host.
	Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.postgresql.v1.Service_Type" json:"type,omitempty"`
	// Status code of server availability.
	Health Service_Health `protobuf:"varint,2,opt,name=health,proto3,enum=yandex.cloud.mdb.postgresql.v1.Service_Health" json:"health,omitempty"`
	// contains filtered or unexported fields
}

func (*Service) Descriptor deprecated

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

Deprecated: Use Service.ProtoReflect.Descriptor instead.

func (*Service) GetHealth

func (x *Service) GetHealth() Service_Health

func (*Service) GetType

func (x *Service) GetType() Service_Type

func (*Service) ProtoMessage

func (*Service) ProtoMessage()

func (*Service) ProtoReflect

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

func (*Service) Reset

func (x *Service) Reset()

func (*Service) SetHealth

func (m *Service) SetHealth(v Service_Health)

func (*Service) SetType

func (m *Service) SetType(v Service_Type)

func (*Service) String

func (x *Service) String() string

type Service_Health

type Service_Health int32
const (
	// Health of the server is unknown.
	Service_HEALTH_UNKNOWN Service_Health = 0
	// The server is working normally.
	Service_ALIVE Service_Health = 1
	// The server is dead or unresponsive.
	Service_DEAD Service_Health = 2
	// The server is in read-only mode.
	Service_READONLY Service_Health = 3
)

func (Service_Health) Descriptor

func (Service_Health) Enum

func (x Service_Health) Enum() *Service_Health

func (Service_Health) EnumDescriptor deprecated

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

Deprecated: Use Service_Health.Descriptor instead.

func (Service_Health) Number

func (Service_Health) String

func (x Service_Health) String() string

func (Service_Health) Type

type Service_Type

type Service_Type int32
const (
	Service_TYPE_UNSPECIFIED Service_Type = 0
	// The host is a PostgreSQL server.
	Service_POSTGRESQL Service_Type = 1
	// The host is a PgBouncer server.
	Service_POOLER Service_Type = 2
)

func (Service_Type) Descriptor

func (Service_Type) Enum

func (x Service_Type) Enum() *Service_Type

func (Service_Type) EnumDescriptor deprecated

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

Deprecated: Use Service_Type.Descriptor instead.

func (Service_Type) Number

func (Service_Type) String

func (x Service_Type) String() string

func (Service_Type) Type

type SessionState

type SessionState struct {

	// Time of collecting statistics on sessions (in the [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format).
	Time *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=time,proto3" json:"time,omitempty"`
	// Host of the connected client.
	Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	// Server process ID. For client connections, this is a client connection ID.
	Pid int64 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"`
	// Database ID.
	Database string `protobuf:"bytes,4,opt,name=database,proto3" json:"database,omitempty"`
	// User ID.
	User string `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`
	// Application name on the connected client.
	ApplicationName string `protobuf:"bytes,6,opt,name=application_name,json=applicationName,proto3" json:"application_name,omitempty"`
	// Time when a given process was started. For client connections, this is the time when the client connected to the server.
	BackendStart *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=backend_start,json=backendStart,proto3" json:"backend_start,omitempty"`
	// Time when a transaction of a given process was started. Returns [NULL] if no transaction is active.
	//
	// If the currently active query is the first of its transaction, the value of this parameter is equal to the value of the [query_start] parameter.
	XactStart *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=xact_start,json=xactStart,proto3" json:"xact_start,omitempty"`
	// Time when the currently active query was started.
	//
	// If the [state] parameter does not take the value [active], the parameter returns the time when the lastest query was started.
	QueryStart *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=query_start,json=queryStart,proto3" json:"query_start,omitempty"`
	// Time when the [state] parameter was last changed.
	StateChange *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=state_change,json=stateChange,proto3" json:"state_change,omitempty"`
	// Type of event for which the backend is waiting. Such an event is called a wait event. A backend refers to the process that maintains the client connection.
	//
	// For the list of wait events, see the [PostgreSQL documentation](https://www.postgresql.org/docs/current/monitoring-stats.html#WAIT-EVENT-TABLE). If the backend is not waiting for any event, the parameter returns [NULL].
	WaitEventType string `protobuf:"bytes,11,opt,name=wait_event_type,json=waitEventType,proto3" json:"wait_event_type,omitempty"`
	// Wait event name.
	//
	// For the list of such names, see the [PostgreSQL documentation](https://www.postgresql.org/docs/current/monitoring-stats.html#WAIT-EVENT-ACTIVITY-TABLE). If the backend is not waiting for any event, the parameter returns [NULL].
	WaitEvent string `protobuf:"bytes,12,opt,name=wait_event,json=waitEvent,proto3" json:"wait_event,omitempty"`
	// Current backend state. For the list of possible values, see the [PostgreSQL documentation](https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW).
	State string `protobuf:"bytes,13,opt,name=state,proto3" json:"state,omitempty"`
	// Text of the most recent query.
	//
	// If the [state] parameter takes the value [active], the parameter shows the currently executing query. For the rest of the states, the parameter shows the last query that was executed. By default, the query text is truncated to 1024 bytes.
	Query string `protobuf:"bytes,14,opt,name=query,proto3" json:"query,omitempty"`
	// Current backend type. For the list of possible values, see the [PostgreSQL documentation](https://www.postgresql.org/docs/current/monitoring-stats.html#MONITORING-PG-STAT-ACTIVITY-VIEW).
	BackendType string `protobuf:"bytes,15,opt,name=backend_type,json=backendType,proto3" json:"backend_type,omitempty"`
	// IP address of the connected client.
	//
	// The parameter returns [NULL] in the following cases:
	// - The client is connected via a Unix socket on the server.
	// - A given process is internal (for example, autovacuum).
	ClientAddr string `protobuf:"bytes,16,opt,name=client_addr,json=clientAddr,proto3" json:"client_addr,omitempty"`
	// Host name of the connected client (relevant for IP connections).
	ClientHostname string `protobuf:"bytes,17,opt,name=client_hostname,json=clientHostname,proto3" json:"client_hostname,omitempty"`
	// TCP port number that the client is using for communication with the server.
	//
	// Returns [-1] if the client is connected via a Unix socket on the server. Returns [NULL] if a given process is internal (for example, autovacuum).
	ClientPort int64 `protobuf:"varint,18,opt,name=client_port,json=clientPort,proto3" json:"client_port,omitempty"`
	// Top-level transaction ID, if any.
	BackendXid int64 `protobuf:"varint,19,opt,name=backend_xid,json=backendXid,proto3" json:"backend_xid,omitempty"`
	// Current [xmin horizon].
	BackendXmin int64 `protobuf:"varint,20,opt,name=backend_xmin,json=backendXmin,proto3" json:"backend_xmin,omitempty"`
	// Process IDs that are blocking a given server process ID.
	BlockingPids string `protobuf:"bytes,22,opt,name=blocking_pids,json=blockingPids,proto3" json:"blocking_pids,omitempty"`
	// Query ID.
	QueryId string `protobuf:"bytes,23,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionState) Descriptor deprecated

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

Deprecated: Use SessionState.ProtoReflect.Descriptor instead.

func (*SessionState) GetApplicationName

func (x *SessionState) GetApplicationName() string

func (*SessionState) GetBackendStart

func (x *SessionState) GetBackendStart() *timestamppb.Timestamp

func (*SessionState) GetBackendType

func (x *SessionState) GetBackendType() string

func (*SessionState) GetBackendXid

func (x *SessionState) GetBackendXid() int64

func (*SessionState) GetBackendXmin

func (x *SessionState) GetBackendXmin() int64

func (*SessionState) GetBlockingPids

func (x *SessionState) GetBlockingPids() string

func (*SessionState) GetClientAddr

func (x *SessionState) GetClientAddr() string

func (*SessionState) GetClientHostname

func (x *SessionState) GetClientHostname() string

func (*SessionState) GetClientPort

func (x *SessionState) GetClientPort() int64

func (*SessionState) GetDatabase

func (x *SessionState) GetDatabase() string

func (*SessionState) GetHost

func (x *SessionState) GetHost() string

func (*SessionState) GetPid

func (x *SessionState) GetPid() int64

func (*SessionState) GetQuery

func (x *SessionState) GetQuery() string

func (*SessionState) GetQueryId

func (x *SessionState) GetQueryId() string

func (*SessionState) GetQueryStart

func (x *SessionState) GetQueryStart() *timestamppb.Timestamp

func (*SessionState) GetState

func (x *SessionState) GetState() string

func (*SessionState) GetStateChange

func (x *SessionState) GetStateChange() *timestamppb.Timestamp

func (*SessionState) GetTime

func (x *SessionState) GetTime() *timestamppb.Timestamp

func (*SessionState) GetUser

func (x *SessionState) GetUser() string

func (*SessionState) GetWaitEvent

func (x *SessionState) GetWaitEvent() string

func (*SessionState) GetWaitEventType

func (x *SessionState) GetWaitEventType() string

func (*SessionState) GetXactStart

func (x *SessionState) GetXactStart() *timestamppb.Timestamp

func (*SessionState) ProtoMessage

func (*SessionState) ProtoMessage()

func (*SessionState) ProtoReflect

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

func (*SessionState) Reset

func (x *SessionState) Reset()

func (*SessionState) SetApplicationName

func (m *SessionState) SetApplicationName(v string)

func (*SessionState) SetBackendStart

func (m *SessionState) SetBackendStart(v *timestamppb.Timestamp)

func (*SessionState) SetBackendType

func (m *SessionState) SetBackendType(v string)

func (*SessionState) SetBackendXid

func (m *SessionState) SetBackendXid(v int64)

func (*SessionState) SetBackendXmin

func (m *SessionState) SetBackendXmin(v int64)

func (*SessionState) SetBlockingPids

func (m *SessionState) SetBlockingPids(v string)

func (*SessionState) SetClientAddr

func (m *SessionState) SetClientAddr(v string)

func (*SessionState) SetClientHostname

func (m *SessionState) SetClientHostname(v string)

func (*SessionState) SetClientPort

func (m *SessionState) SetClientPort(v int64)

func (*SessionState) SetDatabase

func (m *SessionState) SetDatabase(v string)

func (*SessionState) SetHost

func (m *SessionState) SetHost(v string)

func (*SessionState) SetPid

func (m *SessionState) SetPid(v int64)

func (*SessionState) SetQuery

func (m *SessionState) SetQuery(v string)

func (*SessionState) SetQueryId

func (m *SessionState) SetQueryId(v string)

func (*SessionState) SetQueryStart

func (m *SessionState) SetQueryStart(v *timestamppb.Timestamp)

func (*SessionState) SetState

func (m *SessionState) SetState(v string)

func (*SessionState) SetStateChange

func (m *SessionState) SetStateChange(v *timestamppb.Timestamp)

func (*SessionState) SetTime

func (m *SessionState) SetTime(v *timestamppb.Timestamp)

func (*SessionState) SetUser

func (m *SessionState) SetUser(v string)

func (*SessionState) SetWaitEvent

func (m *SessionState) SetWaitEvent(v string)

func (*SessionState) SetWaitEventType

func (m *SessionState) SetWaitEventType(v string)

func (*SessionState) SetXactStart

func (m *SessionState) SetXactStart(v *timestamppb.Timestamp)

func (*SessionState) String

func (x *SessionState) String() string

type StartClusterFailoverMetadata

type StartClusterFailoverMetadata struct {

	// ID of the PostgreSQL cluster being failovered.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterFailoverMetadata) Descriptor deprecated

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

Deprecated: Use StartClusterFailoverMetadata.ProtoReflect.Descriptor instead.

func (*StartClusterFailoverMetadata) GetClusterId

func (x *StartClusterFailoverMetadata) GetClusterId() string

func (*StartClusterFailoverMetadata) ProtoMessage

func (*StartClusterFailoverMetadata) ProtoMessage()

func (*StartClusterFailoverMetadata) ProtoReflect

func (*StartClusterFailoverMetadata) Reset

func (x *StartClusterFailoverMetadata) Reset()

func (*StartClusterFailoverMetadata) SetClusterId

func (m *StartClusterFailoverMetadata) SetClusterId(v string)

func (*StartClusterFailoverMetadata) String

type StartClusterFailoverRequest

type StartClusterFailoverRequest struct {

	// ID of PostgreSQL cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// New master host. Switch to the most up-to-date replica if not provided.
	HostName string `protobuf:"bytes,2,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterFailoverRequest) Descriptor deprecated

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

Deprecated: Use StartClusterFailoverRequest.ProtoReflect.Descriptor instead.

func (*StartClusterFailoverRequest) GetClusterId

func (x *StartClusterFailoverRequest) GetClusterId() string

func (*StartClusterFailoverRequest) GetHostName

func (x *StartClusterFailoverRequest) GetHostName() string

func (*StartClusterFailoverRequest) ProtoMessage

func (*StartClusterFailoverRequest) ProtoMessage()

func (*StartClusterFailoverRequest) ProtoReflect

func (*StartClusterFailoverRequest) Reset

func (x *StartClusterFailoverRequest) Reset()

func (*StartClusterFailoverRequest) SetClusterId

func (m *StartClusterFailoverRequest) SetClusterId(v string)

func (*StartClusterFailoverRequest) SetHostName

func (m *StartClusterFailoverRequest) SetHostName(v string)

func (*StartClusterFailoverRequest) String

func (x *StartClusterFailoverRequest) String() string

type StartClusterMetadata

type StartClusterMetadata struct {

	// ID of the PostgreSQL cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterMetadata) Descriptor deprecated

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

Deprecated: Use StartClusterMetadata.ProtoReflect.Descriptor instead.

func (*StartClusterMetadata) GetClusterId

func (x *StartClusterMetadata) GetClusterId() string

func (*StartClusterMetadata) ProtoMessage

func (*StartClusterMetadata) ProtoMessage()

func (*StartClusterMetadata) ProtoReflect

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

func (*StartClusterMetadata) Reset

func (x *StartClusterMetadata) Reset()

func (*StartClusterMetadata) SetClusterId

func (m *StartClusterMetadata) SetClusterId(v string)

func (*StartClusterMetadata) String

func (x *StartClusterMetadata) String() string

type StartClusterRequest

type StartClusterRequest struct {

	// ID of the PostgreSQL cluster to start.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StartClusterRequest) Descriptor deprecated

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

Deprecated: Use StartClusterRequest.ProtoReflect.Descriptor instead.

func (*StartClusterRequest) GetClusterId

func (x *StartClusterRequest) GetClusterId() string

func (*StartClusterRequest) ProtoMessage

func (*StartClusterRequest) ProtoMessage()

func (*StartClusterRequest) ProtoReflect

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

func (*StartClusterRequest) Reset

func (x *StartClusterRequest) Reset()

func (*StartClusterRequest) SetClusterId

func (m *StartClusterRequest) SetClusterId(v string)

func (*StartClusterRequest) String

func (x *StartClusterRequest) String() string

type StopClusterMetadata

type StopClusterMetadata struct {

	// ID of the PostgreSQL cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopClusterMetadata) Descriptor deprecated

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

Deprecated: Use StopClusterMetadata.ProtoReflect.Descriptor instead.

func (*StopClusterMetadata) GetClusterId

func (x *StopClusterMetadata) GetClusterId() string

func (*StopClusterMetadata) ProtoMessage

func (*StopClusterMetadata) ProtoMessage()

func (*StopClusterMetadata) ProtoReflect

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

func (*StopClusterMetadata) Reset

func (x *StopClusterMetadata) Reset()

func (*StopClusterMetadata) SetClusterId

func (m *StopClusterMetadata) SetClusterId(v string)

func (*StopClusterMetadata) String

func (x *StopClusterMetadata) String() string

type StopClusterRequest

type StopClusterRequest struct {

	// ID of the PostgreSQL cluster to stop.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*StopClusterRequest) Descriptor deprecated

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

Deprecated: Use StopClusterRequest.ProtoReflect.Descriptor instead.

func (*StopClusterRequest) GetClusterId

func (x *StopClusterRequest) GetClusterId() string

func (*StopClusterRequest) ProtoMessage

func (*StopClusterRequest) ProtoMessage()

func (*StopClusterRequest) ProtoReflect

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

func (*StopClusterRequest) Reset

func (x *StopClusterRequest) Reset()

func (*StopClusterRequest) SetClusterId

func (m *StopClusterRequest) SetClusterId(v string)

func (*StopClusterRequest) String

func (x *StopClusterRequest) String() string

type StreamClusterLogsRequest

type StreamClusterLogsRequest struct {

	// Required. ID of the PostgreSQL cluster.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Columns from logs table to get in the response.
	ColumnFilter []string                             `protobuf:"bytes,2,rep,name=column_filter,json=columnFilter,proto3" json:"column_filter,omitempty"`
	ServiceType  StreamClusterLogsRequest_ServiceType `` /* 168-byte string literal not displayed */
	// Start timestamp for the logs request.
	FromTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=from_time,json=fromTime,proto3" json:"from_time,omitempty"`
	// End timestamp for the logs request.
	// If this field is not set, all existing logs will be sent and then the new ones as
	// they appear. In essence it has 'tail -f' semantics.
	ToTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=to_time,json=toTime,proto3" json:"to_time,omitempty"`
	// Record token. Set `record_token` to the `next_record_token` returned by a previous StreamLogs
	// request to start streaming from next log record.
	RecordToken string `protobuf:"bytes,6,opt,name=record_token,json=recordToken,proto3" json:"record_token,omitempty"`
	// A filter expression that filters resources listed in the response.
	// The expression must specify:
	// 1. The field name. Currently filtering can be applied to the [LogRecord.logs.message.hostname],
	// [LogRecord.logs.message.error_severity] (for POSTGRESQL service), [LogRecord.logs.message.level] (for POOLER service) fields.
	// 2. An `=` operator.
	// 3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-z0-9.-]{1,61}`.
	// Examples of a filter:
	// `message.hostname='node1.db.cloud.yandex.net'`
	// `message.error_severity IN ("ERROR", "FATAL", "PANIC") AND message.hostname = "node1.db.cloud.yandex.net"`
	Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamClusterLogsRequest) Descriptor deprecated

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

Deprecated: Use StreamClusterLogsRequest.ProtoReflect.Descriptor instead.

func (*StreamClusterLogsRequest) GetClusterId

func (x *StreamClusterLogsRequest) GetClusterId() string

func (*StreamClusterLogsRequest) GetColumnFilter

func (x *StreamClusterLogsRequest) GetColumnFilter() []string

func (*StreamClusterLogsRequest) GetFilter

func (x *StreamClusterLogsRequest) GetFilter() string

func (*StreamClusterLogsRequest) GetFromTime

func (*StreamClusterLogsRequest) GetRecordToken

func (x *StreamClusterLogsRequest) GetRecordToken() string

func (*StreamClusterLogsRequest) GetServiceType

func (*StreamClusterLogsRequest) GetToTime

func (*StreamClusterLogsRequest) ProtoMessage

func (*StreamClusterLogsRequest) ProtoMessage()

func (*StreamClusterLogsRequest) ProtoReflect

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

func (*StreamClusterLogsRequest) Reset

func (x *StreamClusterLogsRequest) Reset()

func (*StreamClusterLogsRequest) SetClusterId

func (m *StreamClusterLogsRequest) SetClusterId(v string)

func (*StreamClusterLogsRequest) SetColumnFilter

func (m *StreamClusterLogsRequest) SetColumnFilter(v []string)

func (*StreamClusterLogsRequest) SetFilter

func (m *StreamClusterLogsRequest) SetFilter(v string)

func (*StreamClusterLogsRequest) SetFromTime

func (m *StreamClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)

func (*StreamClusterLogsRequest) SetRecordToken

func (m *StreamClusterLogsRequest) SetRecordToken(v string)

func (*StreamClusterLogsRequest) SetServiceType

func (*StreamClusterLogsRequest) SetToTime

func (*StreamClusterLogsRequest) String

func (x *StreamClusterLogsRequest) String() string

type StreamClusterLogsRequest_ServiceType

type StreamClusterLogsRequest_ServiceType int32
const (
	StreamClusterLogsRequest_SERVICE_TYPE_UNSPECIFIED StreamClusterLogsRequest_ServiceType = 0
	// Logs of PostgreSQL activity.
	StreamClusterLogsRequest_POSTGRESQL StreamClusterLogsRequest_ServiceType = 1
	// Logs of connection pooler activity.
	StreamClusterLogsRequest_POOLER StreamClusterLogsRequest_ServiceType = 2
)

func (StreamClusterLogsRequest_ServiceType) Descriptor

func (StreamClusterLogsRequest_ServiceType) Enum

func (StreamClusterLogsRequest_ServiceType) EnumDescriptor deprecated

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

Deprecated: Use StreamClusterLogsRequest_ServiceType.Descriptor instead.

func (StreamClusterLogsRequest_ServiceType) Number

func (StreamClusterLogsRequest_ServiceType) String

func (StreamClusterLogsRequest_ServiceType) Type

type StreamLogRecord

type StreamLogRecord struct {

	// One of the requested log records.
	Record *LogRecord `protobuf:"bytes,1,opt,name=record,proto3" json:"record,omitempty"`
	// This token allows you to continue streaming logs starting from the exact
	// same record. To continue streaming, specify value of `next_record_token`
	// as value for `record_token` parameter in the next StreamLogs request.
	// This value is interchangeable with `next_page_token` from ListLogs method.
	NextRecordToken string `protobuf:"bytes,2,opt,name=next_record_token,json=nextRecordToken,proto3" json:"next_record_token,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamLogRecord) Descriptor deprecated

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

Deprecated: Use StreamLogRecord.ProtoReflect.Descriptor instead.

func (*StreamLogRecord) GetNextRecordToken

func (x *StreamLogRecord) GetNextRecordToken() string

func (*StreamLogRecord) GetRecord

func (x *StreamLogRecord) GetRecord() *LogRecord

func (*StreamLogRecord) ProtoMessage

func (*StreamLogRecord) ProtoMessage()

func (*StreamLogRecord) ProtoReflect

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

func (*StreamLogRecord) Reset

func (x *StreamLogRecord) Reset()

func (*StreamLogRecord) SetNextRecordToken

func (m *StreamLogRecord) SetNextRecordToken(v string)

func (*StreamLogRecord) SetRecord

func (m *StreamLogRecord) SetRecord(v *LogRecord)

func (*StreamLogRecord) String

func (x *StreamLogRecord) String() string

type UnimplementedBackupServiceServer

type UnimplementedBackupServiceServer struct {
}

UnimplementedBackupServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedBackupServiceServer) Delete

func (UnimplementedBackupServiceServer) Get

func (UnimplementedBackupServiceServer) List

type UnimplementedClusterServiceServer

type UnimplementedClusterServiceServer struct {
}

UnimplementedClusterServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedClusterServiceServer) AddHosts

func (UnimplementedClusterServiceServer) Backup

func (UnimplementedClusterServiceServer) Create

func (UnimplementedClusterServiceServer) Delete

func (UnimplementedClusterServiceServer) DeleteHosts

func (UnimplementedClusterServiceServer) Get

func (UnimplementedClusterServiceServer) List

func (UnimplementedClusterServiceServer) ListHosts

func (UnimplementedClusterServiceServer) ListLogs

func (UnimplementedClusterServiceServer) Move

func (UnimplementedClusterServiceServer) RescheduleMaintenance

func (UnimplementedClusterServiceServer) Restore

func (UnimplementedClusterServiceServer) Start

func (UnimplementedClusterServiceServer) StartFailover

func (UnimplementedClusterServiceServer) Stop

func (UnimplementedClusterServiceServer) Update

func (UnimplementedClusterServiceServer) UpdateHosts

type UnimplementedDatabaseServiceServer

type UnimplementedDatabaseServiceServer struct {
}

UnimplementedDatabaseServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedDatabaseServiceServer) Create

func (UnimplementedDatabaseServiceServer) Delete

func (UnimplementedDatabaseServiceServer) Get

func (UnimplementedDatabaseServiceServer) List

func (UnimplementedDatabaseServiceServer) Update

type UnimplementedPerformanceDiagnosticsServiceServer

type UnimplementedPerformanceDiagnosticsServiceServer struct {
}

UnimplementedPerformanceDiagnosticsServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedPerformanceDiagnosticsServiceServer) ListRawSessionStates

func (UnimplementedPerformanceDiagnosticsServiceServer) ListRawStatements

type UnimplementedResourcePresetServiceServer

type UnimplementedResourcePresetServiceServer struct {
}

UnimplementedResourcePresetServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedResourcePresetServiceServer) Get

type UnimplementedUserServiceServer

type UnimplementedUserServiceServer struct {
}

UnimplementedUserServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedUserServiceServer) Create

func (UnimplementedUserServiceServer) Delete

func (UnimplementedUserServiceServer) Get

func (UnimplementedUserServiceServer) GrantPermission

func (UnimplementedUserServiceServer) List

func (UnimplementedUserServiceServer) RevokePermission

func (UnimplementedUserServiceServer) Update

type UnsafeBackupServiceServer

type UnsafeBackupServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeBackupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BackupServiceServer will result in compilation errors.

type UnsafeClusterServiceServer

type UnsafeClusterServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeClusterServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClusterServiceServer will result in compilation errors.

type UnsafeDatabaseServiceServer

type UnsafeDatabaseServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeDatabaseServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DatabaseServiceServer will result in compilation errors.

type UnsafePerformanceDiagnosticsServiceServer

type UnsafePerformanceDiagnosticsServiceServer interface {
	// contains filtered or unexported methods
}

UnsafePerformanceDiagnosticsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PerformanceDiagnosticsServiceServer will result in compilation errors.

type UnsafeResourcePresetServiceServer

type UnsafeResourcePresetServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeResourcePresetServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ResourcePresetServiceServer will result in compilation errors.

type UnsafeUserServiceServer

type UnsafeUserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.

type UpdateClusterHostsMetadata

type UpdateClusterHostsMetadata struct {

	// ID of the PostgreSQL cluster to update hosts in.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Names of hosts that are being updated.
	HostNames []string `protobuf:"bytes,2,rep,name=host_names,json=hostNames,proto3" json:"host_names,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterHostsMetadata) Descriptor deprecated

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

Deprecated: Use UpdateClusterHostsMetadata.ProtoReflect.Descriptor instead.

func (*UpdateClusterHostsMetadata) GetClusterId

func (x *UpdateClusterHostsMetadata) GetClusterId() string

func (*UpdateClusterHostsMetadata) GetHostNames

func (x *UpdateClusterHostsMetadata) GetHostNames() []string

func (*UpdateClusterHostsMetadata) ProtoMessage

func (*UpdateClusterHostsMetadata) ProtoMessage()

func (*UpdateClusterHostsMetadata) ProtoReflect

func (*UpdateClusterHostsMetadata) Reset

func (x *UpdateClusterHostsMetadata) Reset()

func (*UpdateClusterHostsMetadata) SetClusterId

func (m *UpdateClusterHostsMetadata) SetClusterId(v string)

func (*UpdateClusterHostsMetadata) SetHostNames

func (m *UpdateClusterHostsMetadata) SetHostNames(v []string)

func (*UpdateClusterHostsMetadata) String

func (x *UpdateClusterHostsMetadata) String() string

type UpdateClusterHostsRequest

type UpdateClusterHostsRequest struct {

	// ID of the PostgreSQL cluster to update hosts in.
	// To get the PostgreSQL cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// New configurations to apply to hosts.
	UpdateHostSpecs []*UpdateHostSpec `protobuf:"bytes,2,rep,name=update_host_specs,json=updateHostSpecs,proto3" json:"update_host_specs,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterHostsRequest) Descriptor deprecated

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

Deprecated: Use UpdateClusterHostsRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterHostsRequest) GetClusterId

func (x *UpdateClusterHostsRequest) GetClusterId() string

func (*UpdateClusterHostsRequest) GetUpdateHostSpecs

func (x *UpdateClusterHostsRequest) GetUpdateHostSpecs() []*UpdateHostSpec

func (*UpdateClusterHostsRequest) ProtoMessage

func (*UpdateClusterHostsRequest) ProtoMessage()

func (*UpdateClusterHostsRequest) ProtoReflect

func (*UpdateClusterHostsRequest) Reset

func (x *UpdateClusterHostsRequest) Reset()

func (*UpdateClusterHostsRequest) SetClusterId

func (m *UpdateClusterHostsRequest) SetClusterId(v string)

func (*UpdateClusterHostsRequest) SetUpdateHostSpecs

func (m *UpdateClusterHostsRequest) SetUpdateHostSpecs(v []*UpdateHostSpec)

func (*UpdateClusterHostsRequest) String

func (x *UpdateClusterHostsRequest) String() string

type UpdateClusterMetadata

type UpdateClusterMetadata struct {

	// ID of the PostgreSQL Cluster resource that is being updated.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterMetadata) Descriptor deprecated

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

Deprecated: Use UpdateClusterMetadata.ProtoReflect.Descriptor instead.

func (*UpdateClusterMetadata) GetClusterId

func (x *UpdateClusterMetadata) GetClusterId() string

func (*UpdateClusterMetadata) ProtoMessage

func (*UpdateClusterMetadata) ProtoMessage()

func (*UpdateClusterMetadata) ProtoReflect

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

func (*UpdateClusterMetadata) Reset

func (x *UpdateClusterMetadata) Reset()

func (*UpdateClusterMetadata) SetClusterId

func (m *UpdateClusterMetadata) SetClusterId(v string)

func (*UpdateClusterMetadata) String

func (x *UpdateClusterMetadata) String() string

type UpdateClusterRequest

type UpdateClusterRequest struct {

	// ID of the PostgreSQL Cluster resource to update.
	// To get the PostgreSQL cluster ID, use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Field mask that specifies which fields of the PostgreSQL Cluster resource should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New description of the PostgreSQL cluster.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Custom labels for the PostgreSQL cluster as “ key:value “ pairs. Maximum 64 per resource.
	// For example, "project": "mvp" or "source": "dictionary".
	//
	// The new set of labels will completely replace the old ones. To add a label, request the current
	// set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// New configuration and resources for hosts in the cluster.
	ConfigSpec *ConfigSpec `protobuf:"bytes,5,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// New name for the cluster.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// New maintenance window settings for the cluster.
	MaintenanceWindow *MaintenanceWindow `protobuf:"bytes,7,opt,name=maintenance_window,json=maintenanceWindow,proto3" json:"maintenance_window,omitempty"`
	// User security groups
	SecurityGroupIds []string `protobuf:"bytes,8,rep,name=security_group_ids,json=securityGroupIds,proto3" json:"security_group_ids,omitempty"`
	// Deletion Protection inhibits deletion of the cluster
	DeletionProtection bool `protobuf:"varint,9,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateClusterRequest) Descriptor deprecated

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

Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.

func (*UpdateClusterRequest) GetClusterId

func (x *UpdateClusterRequest) GetClusterId() string

func (*UpdateClusterRequest) GetConfigSpec

func (x *UpdateClusterRequest) GetConfigSpec() *ConfigSpec

func (*UpdateClusterRequest) GetDeletionProtection

func (x *UpdateClusterRequest) GetDeletionProtection() bool

func (*UpdateClusterRequest) GetDescription

func (x *UpdateClusterRequest) GetDescription() string

func (*UpdateClusterRequest) GetLabels

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

func (*UpdateClusterRequest) GetMaintenanceWindow

func (x *UpdateClusterRequest) GetMaintenanceWindow() *MaintenanceWindow

func (*UpdateClusterRequest) GetName

func (x *UpdateClusterRequest) GetName() string

func (*UpdateClusterRequest) GetSecurityGroupIds

func (x *UpdateClusterRequest) GetSecurityGroupIds() []string

func (*UpdateClusterRequest) GetUpdateMask

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

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) ProtoReflect

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

func (*UpdateClusterRequest) Reset

func (x *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) SetClusterId

func (m *UpdateClusterRequest) SetClusterId(v string)

func (*UpdateClusterRequest) SetConfigSpec

func (m *UpdateClusterRequest) SetConfigSpec(v *ConfigSpec)

func (*UpdateClusterRequest) SetDeletionProtection

func (m *UpdateClusterRequest) SetDeletionProtection(v bool)

func (*UpdateClusterRequest) SetDescription

func (m *UpdateClusterRequest) SetDescription(v string)

func (*UpdateClusterRequest) SetLabels

func (m *UpdateClusterRequest) SetLabels(v map[string]string)

func (*UpdateClusterRequest) SetMaintenanceWindow

func (m *UpdateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow)

func (*UpdateClusterRequest) SetName

func (m *UpdateClusterRequest) SetName(v string)

func (*UpdateClusterRequest) SetSecurityGroupIds

func (m *UpdateClusterRequest) SetSecurityGroupIds(v []string)

func (*UpdateClusterRequest) SetUpdateMask

func (m *UpdateClusterRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateClusterRequest) String

func (x *UpdateClusterRequest) String() string

type UpdateDatabaseMetadata

type UpdateDatabaseMetadata struct {

	// ID of the PostgreSQL cluster where a database is being updated.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the PostgreSQL database that is being updated.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDatabaseMetadata) Descriptor deprecated

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

Deprecated: Use UpdateDatabaseMetadata.ProtoReflect.Descriptor instead.

func (*UpdateDatabaseMetadata) GetClusterId

func (x *UpdateDatabaseMetadata) GetClusterId() string

func (*UpdateDatabaseMetadata) GetDatabaseName

func (x *UpdateDatabaseMetadata) GetDatabaseName() string

func (*UpdateDatabaseMetadata) ProtoMessage

func (*UpdateDatabaseMetadata) ProtoMessage()

func (*UpdateDatabaseMetadata) ProtoReflect

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

func (*UpdateDatabaseMetadata) Reset

func (x *UpdateDatabaseMetadata) Reset()

func (*UpdateDatabaseMetadata) SetClusterId

func (m *UpdateDatabaseMetadata) SetClusterId(v string)

func (*UpdateDatabaseMetadata) SetDatabaseName

func (m *UpdateDatabaseMetadata) SetDatabaseName(v string)

func (*UpdateDatabaseMetadata) String

func (x *UpdateDatabaseMetadata) String() string

type UpdateDatabaseRequest

type UpdateDatabaseRequest struct {

	// ID of the PostgreSQL cluster to update a database in.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the database to update.
	// To get the name of the database use a [DatabaseService.List] request.
	DatabaseName string `protobuf:"bytes,2,opt,name=database_name,json=databaseName,proto3" json:"database_name,omitempty"`
	// Optional. New name of the database.
	NewDatabaseName string `protobuf:"bytes,5,opt,name=new_database_name,json=newDatabaseName,proto3" json:"new_database_name,omitempty"`
	// Field mask that specifies which fields of the Database resource should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// PostgreSQL extensions that should be enabled for the database.
	//
	// If the field is sent, the list of enabled extensions is rewritten entirely.
	// Therefore, to disable an active extension you should simply send the list omitting this extension.
	Extensions []*Extension `protobuf:"bytes,4,rep,name=extensions,proto3" json:"extensions,omitempty"`
	// Deletion Protection inhibits deletion of the database
	//
	// Default value: `unspecified` (inherits cluster's deletion_protection)
	DeletionProtection *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDatabaseRequest) Descriptor deprecated

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

Deprecated: Use UpdateDatabaseRequest.ProtoReflect.Descriptor instead.

func (*UpdateDatabaseRequest) GetClusterId

func (x *UpdateDatabaseRequest) GetClusterId() string

func (*UpdateDatabaseRequest) GetDatabaseName

func (x *UpdateDatabaseRequest) GetDatabaseName() string

func (*UpdateDatabaseRequest) GetDeletionProtection

func (x *UpdateDatabaseRequest) GetDeletionProtection() *wrapperspb.BoolValue

func (*UpdateDatabaseRequest) GetExtensions

func (x *UpdateDatabaseRequest) GetExtensions() []*Extension

func (*UpdateDatabaseRequest) GetNewDatabaseName

func (x *UpdateDatabaseRequest) GetNewDatabaseName() string

func (*UpdateDatabaseRequest) GetUpdateMask

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

func (*UpdateDatabaseRequest) ProtoMessage

func (*UpdateDatabaseRequest) ProtoMessage()

func (*UpdateDatabaseRequest) ProtoReflect

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

func (*UpdateDatabaseRequest) Reset

func (x *UpdateDatabaseRequest) Reset()

func (*UpdateDatabaseRequest) SetClusterId

func (m *UpdateDatabaseRequest) SetClusterId(v string)

func (*UpdateDatabaseRequest) SetDatabaseName

func (m *UpdateDatabaseRequest) SetDatabaseName(v string)

func (*UpdateDatabaseRequest) SetDeletionProtection

func (m *UpdateDatabaseRequest) SetDeletionProtection(v *wrapperspb.BoolValue)

func (*UpdateDatabaseRequest) SetExtensions

func (m *UpdateDatabaseRequest) SetExtensions(v []*Extension)

func (*UpdateDatabaseRequest) SetNewDatabaseName

func (m *UpdateDatabaseRequest) SetNewDatabaseName(v string)

func (*UpdateDatabaseRequest) SetUpdateMask

func (m *UpdateDatabaseRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateDatabaseRequest) String

func (x *UpdateDatabaseRequest) String() string

type UpdateHostSpec

type UpdateHostSpec struct {

	// Name of the host to update.
	// To get the PostgreSQL host name, use a [ClusterService.ListHosts] request.
	HostName string `protobuf:"bytes,1,opt,name=host_name,json=hostName,proto3" json:"host_name,omitempty"`
	// [Host.name] of the host to be used as the replication source (for cascading replication).
	// To get the PostgreSQL host name, use a [ClusterService.ListHosts] request.
	ReplicationSource string `protobuf:"bytes,2,opt,name=replication_source,json=replicationSource,proto3" json:"replication_source,omitempty"`
	// The host with the highest priority is the synchronous replica. All others are asynchronous.
	// The synchronous replica replaces the master when needed.
	//
	// When a replica becomes the master, its priority is ignored.
	Priority *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=priority,proto3" json:"priority,omitempty"`
	// Configuration of a PostgreSQL server for the host.
	ConfigSpec *ConfigHostSpec `protobuf:"bytes,4,opt,name=config_spec,json=configSpec,proto3" json:"config_spec,omitempty"`
	// Field mask that specifies which fields of the PostgreSQL host should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// Whether the host should get a public IP address on creation.
	AssignPublicIp bool `protobuf:"varint,6,opt,name=assign_public_ip,json=assignPublicIp,proto3" json:"assign_public_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateHostSpec) Descriptor deprecated

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

Deprecated: Use UpdateHostSpec.ProtoReflect.Descriptor instead.

func (*UpdateHostSpec) GetAssignPublicIp

func (x *UpdateHostSpec) GetAssignPublicIp() bool

func (*UpdateHostSpec) GetConfigSpec

func (x *UpdateHostSpec) GetConfigSpec() *ConfigHostSpec

func (*UpdateHostSpec) GetHostName

func (x *UpdateHostSpec) GetHostName() string

func (*UpdateHostSpec) GetPriority

func (x *UpdateHostSpec) GetPriority() *wrapperspb.Int64Value

func (*UpdateHostSpec) GetReplicationSource

func (x *UpdateHostSpec) GetReplicationSource() string

func (*UpdateHostSpec) GetUpdateMask

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

func (*UpdateHostSpec) ProtoMessage

func (*UpdateHostSpec) ProtoMessage()

func (*UpdateHostSpec) ProtoReflect

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

func (*UpdateHostSpec) Reset

func (x *UpdateHostSpec) Reset()

func (*UpdateHostSpec) SetAssignPublicIp

func (m *UpdateHostSpec) SetAssignPublicIp(v bool)

func (*UpdateHostSpec) SetConfigSpec

func (m *UpdateHostSpec) SetConfigSpec(v *ConfigHostSpec)

func (*UpdateHostSpec) SetHostName

func (m *UpdateHostSpec) SetHostName(v string)

func (*UpdateHostSpec) SetPriority

func (m *UpdateHostSpec) SetPriority(v *wrapperspb.Int64Value)

func (*UpdateHostSpec) SetReplicationSource

func (m *UpdateHostSpec) SetReplicationSource(v string)

func (*UpdateHostSpec) SetUpdateMask

func (m *UpdateHostSpec) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateHostSpec) String

func (x *UpdateHostSpec) String() string

type UpdateUserMetadata

type UpdateUserMetadata struct {

	// ID of the PostgreSQL cluster the user belongs to.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user that is being updated.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserMetadata) Descriptor deprecated

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

Deprecated: Use UpdateUserMetadata.ProtoReflect.Descriptor instead.

func (*UpdateUserMetadata) GetClusterId

func (x *UpdateUserMetadata) GetClusterId() string

func (*UpdateUserMetadata) GetUserName

func (x *UpdateUserMetadata) GetUserName() string

func (*UpdateUserMetadata) ProtoMessage

func (*UpdateUserMetadata) ProtoMessage()

func (*UpdateUserMetadata) ProtoReflect

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

func (*UpdateUserMetadata) Reset

func (x *UpdateUserMetadata) Reset()

func (*UpdateUserMetadata) SetClusterId

func (m *UpdateUserMetadata) SetClusterId(v string)

func (*UpdateUserMetadata) SetUserName

func (m *UpdateUserMetadata) SetUserName(v string)

func (*UpdateUserMetadata) String

func (x *UpdateUserMetadata) String() string

type UpdateUserRequest

type UpdateUserRequest struct {

	// ID of the PostgreSQL cluster the user belongs to.
	// To get the cluster ID use a [ClusterService.List] request.
	ClusterId string `protobuf:"bytes,1,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Name of the user to be updated.
	// To get the name of the user use a [UserService.List] request.
	UserName string `protobuf:"bytes,2,opt,name=user_name,json=userName,proto3" json:"user_name,omitempty"`
	// Field mask that specifies which fields of the PostgreSQL User resource should be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// New password for the user.
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// Set of permissions granted to the user to access specific databases.
	Permissions []*Permission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Maximum number of database connections available to the user.
	//
	// When used in session pooling, this setting limits the number of connections to every single host in PostgreSQL cluster. In this case, the setting's value must be greater than the total number of connections that backend services can open to access the PostgreSQL cluster. The setting's value should not exceed the value of the [Cluster.config.postgresql_config.max_connections] setting.
	//
	// When used in transaction pooling, this setting limits the number of user's active transactions; therefore, in this mode user can open thousands of connections, but only `N` concurrent connections will be opened, where `N` is the value of the setting.
	//
	// Minimum value: `10` (default: `50`), when used in session pooling.
	ConnLimit int64         `protobuf:"varint,6,opt,name=conn_limit,json=connLimit,proto3" json:"conn_limit,omitempty"`
	Settings  *UserSettings `protobuf:"bytes,7,opt,name=settings,proto3" json:"settings,omitempty"`
	// This flag defines whether the user can login to a PostgreSQL database.
	//
	// Default value: `true` (login is allowed).
	Login *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=login,proto3" json:"login,omitempty"`
	// A set of roles and privileges that are granted to the user.
	//
	// For more information, see [the documentation](/docs/managed-postgresql/operations/grant).
	Grants []string `protobuf:"bytes,9,rep,name=grants,proto3" json:"grants,omitempty"`
	// Deletion Protection inhibits deletion of the user
	//
	// Default value: `unspecified` (inherits cluster's deletion_protection)
	DeletionProtection *wrapperspb.BoolValue `protobuf:"bytes,10,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// New password-based authentication method for user.
	// Possible values are “ USER_PASSWORD_ENCRYPTION_MD5 “ or “ USER_PASSWORD_ENCRYPTION_SCRAM_SHA_256 “.
	UserPasswordEncryption UserPasswordEncryption `` /* 190-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

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

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetClusterId

func (x *UpdateUserRequest) GetClusterId() string

func (*UpdateUserRequest) GetConnLimit

func (x *UpdateUserRequest) GetConnLimit() int64

func (*UpdateUserRequest) GetDeletionProtection

func (x *UpdateUserRequest) GetDeletionProtection() *wrapperspb.BoolValue

func (*UpdateUserRequest) GetGrants

func (x *UpdateUserRequest) GetGrants() []string

func (*UpdateUserRequest) GetLogin

func (x *UpdateUserRequest) GetLogin() *wrapperspb.BoolValue

func (*UpdateUserRequest) GetPassword

func (x *UpdateUserRequest) GetPassword() string

func (*UpdateUserRequest) GetPermissions

func (x *UpdateUserRequest) GetPermissions() []*Permission

func (*UpdateUserRequest) GetSettings

func (x *UpdateUserRequest) GetSettings() *UserSettings

func (*UpdateUserRequest) GetUpdateMask

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

func (*UpdateUserRequest) GetUserName

func (x *UpdateUserRequest) GetUserName() string

func (*UpdateUserRequest) GetUserPasswordEncryption

func (x *UpdateUserRequest) GetUserPasswordEncryption() UserPasswordEncryption

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

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

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) SetClusterId

func (m *UpdateUserRequest) SetClusterId(v string)

func (*UpdateUserRequest) SetConnLimit

func (m *UpdateUserRequest) SetConnLimit(v int64)

func (*UpdateUserRequest) SetDeletionProtection

func (m *UpdateUserRequest) SetDeletionProtection(v *wrapperspb.BoolValue)

func (*UpdateUserRequest) SetGrants

func (m *UpdateUserRequest) SetGrants(v []string)

func (*UpdateUserRequest) SetLogin

func (m *UpdateUserRequest) SetLogin(v *wrapperspb.BoolValue)

func (*UpdateUserRequest) SetPassword

func (m *UpdateUserRequest) SetPassword(v string)

func (*UpdateUserRequest) SetPermissions

func (m *UpdateUserRequest) SetPermissions(v []*Permission)

func (*UpdateUserRequest) SetSettings

func (m *UpdateUserRequest) SetSettings(v *UserSettings)

func (*UpdateUserRequest) SetUpdateMask

func (m *UpdateUserRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)

func (*UpdateUserRequest) SetUserName

func (m *UpdateUserRequest) SetUserName(v string)

func (*UpdateUserRequest) SetUserPasswordEncryption

func (m *UpdateUserRequest) SetUserPasswordEncryption(v UserPasswordEncryption)

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type User

type User struct {

	// Name of the PostgreSQL user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the PostgreSQL cluster the user belongs to.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Set of permissions granted to the user to access specific databases.
	Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Maximum number of database connections available to the user.
	//
	// When used in session pooling, this setting limits the number of connections to every single host in PostgreSQL cluster. In this case, the setting's value must be greater than the total number of connections that backend services can open to access the PostgreSQL cluster. The setting's value should not exceed the value of the [Cluster.config.postgresql_config_12.effective_config.max_connections] setting.
	//
	// When used in transaction pooling, this setting limits the number of user's active transactions; therefore, in this mode user can open thousands of connections, but only `N` concurrent connections will be opened, where `N` is the value of the setting.
	//
	// Minimum value: `10` (default: `50`), when used in session pooling.
	ConnLimit int64         `protobuf:"varint,4,opt,name=conn_limit,json=connLimit,proto3" json:"conn_limit,omitempty"`
	Settings  *UserSettings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"`
	// This flag defines whether the user can login to a PostgreSQL database.
	//
	// Default value: `true` (login is allowed).
	Login *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=login,proto3" json:"login,omitempty"`
	// A set of roles and privileges that are granted to the user.
	//
	// For more information, see [the documentation](/docs/managed-postgresql/operations/grant).
	Grants []string `protobuf:"bytes,7,rep,name=grants,proto3" json:"grants,omitempty"`
	// Deletion Protection inhibits deletion of the user
	//
	// Default value: `unspecified` (inherits cluster's deletion_protection)
	DeletionProtection *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Password-based authentication method for user.
	// Possible values are “ USER_PASSWORD_ENCRYPTION_MD5 “ or “ USER_PASSWORD_ENCRYPTION_SCRAM_SHA_256 “.
	// The default is “ password_encryption “ setting for cluster.
	UserPasswordEncryption UserPasswordEncryption `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

A PostgreSQL User resource. For more information, see the [Developer's Guide](/docs/managed-postgresql/concepts).

func (*User) Descriptor deprecated

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

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetClusterId

func (x *User) GetClusterId() string

func (*User) GetConnLimit

func (x *User) GetConnLimit() int64

func (*User) GetDeletionProtection

func (x *User) GetDeletionProtection() *wrapperspb.BoolValue

func (*User) GetGrants

func (x *User) GetGrants() []string

func (*User) GetLogin

func (x *User) GetLogin() *wrapperspb.BoolValue

func (*User) GetName

func (x *User) GetName() string

func (*User) GetPermissions

func (x *User) GetPermissions() []*Permission

func (*User) GetSettings

func (x *User) GetSettings() *UserSettings

func (*User) GetUserPasswordEncryption

func (x *User) GetUserPasswordEncryption() UserPasswordEncryption

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

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

func (*User) Reset

func (x *User) Reset()

func (*User) SetClusterId

func (m *User) SetClusterId(v string)

func (*User) SetConnLimit

func (m *User) SetConnLimit(v int64)

func (*User) SetDeletionProtection

func (m *User) SetDeletionProtection(v *wrapperspb.BoolValue)

func (*User) SetGrants

func (m *User) SetGrants(v []string)

func (*User) SetLogin

func (m *User) SetLogin(v *wrapperspb.BoolValue)

func (*User) SetName

func (m *User) SetName(v string)

func (*User) SetPermissions

func (m *User) SetPermissions(v []*Permission)

func (*User) SetSettings

func (m *User) SetSettings(v *UserSettings)

func (*User) SetUserPasswordEncryption

func (m *User) SetUserPasswordEncryption(v UserPasswordEncryption)

func (*User) String

func (x *User) String() string

type UserPasswordEncryption

type UserPasswordEncryption int32
const (
	UserPasswordEncryption_USER_PASSWORD_ENCRYPTION_UNSPECIFIED   UserPasswordEncryption = 0
	UserPasswordEncryption_USER_PASSWORD_ENCRYPTION_MD5           UserPasswordEncryption = 1
	UserPasswordEncryption_USER_PASSWORD_ENCRYPTION_SCRAM_SHA_256 UserPasswordEncryption = 2
)

func (UserPasswordEncryption) Descriptor

func (UserPasswordEncryption) Enum

func (UserPasswordEncryption) EnumDescriptor deprecated

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

Deprecated: Use UserPasswordEncryption.Descriptor instead.

func (UserPasswordEncryption) Number

func (UserPasswordEncryption) String

func (x UserPasswordEncryption) String() string

func (UserPasswordEncryption) Type

type UserServiceClient

type UserServiceClient interface {
	// Returns the specified PostgreSQL User resource.
	//
	// To get the list of available PostgreSQL User resources, make a [List] request.
	Get(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*User, error)
	// Retrieves the list of PostgreSQL User resources in the specified cluster.
	List(ctx context.Context, in *ListUsersRequest, opts ...grpc.CallOption) (*ListUsersResponse, error)
	// Creates a PostgreSQL user in the specified cluster.
	Create(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Updates the specified PostgreSQL user.
	Update(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Deletes the specified PostgreSQL user.
	Delete(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Grants permission to the specified PostgreSQL user.
	GrantPermission(ctx context.Context, in *GrantUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	// Revokes permission from the specified PostgreSQL user.
	RevokePermission(ctx context.Context, in *RevokeUserPermissionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
}

UserServiceClient is the client API for UserService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserServiceServer

type UserServiceServer interface {
	// Returns the specified PostgreSQL User resource.
	//
	// To get the list of available PostgreSQL User resources, make a [List] request.
	Get(context.Context, *GetUserRequest) (*User, error)
	// Retrieves the list of PostgreSQL User resources in the specified cluster.
	List(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
	// Creates a PostgreSQL user in the specified cluster.
	Create(context.Context, *CreateUserRequest) (*operation.Operation, error)
	// Updates the specified PostgreSQL user.
	Update(context.Context, *UpdateUserRequest) (*operation.Operation, error)
	// Deletes the specified PostgreSQL user.
	Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error)
	// Grants permission to the specified PostgreSQL user.
	GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error)
	// Revokes permission from the specified PostgreSQL user.
	RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error)
}

UserServiceServer is the server API for UserService service. All implementations should embed UnimplementedUserServiceServer for forward compatibility

type UserSettings

type UserSettings struct {

	// SQL sets an isolation level for each transaction.
	// This setting defines the default isolation level to be set for all new SQL transactions.
	//
	// See in-depth description in [PostgreSQL documentation](https://www.postgresql.org/docs/current/transaction-iso.html).
	DefaultTransactionIsolation UserSettings_TransactionIsolation `` /* 215-byte string literal not displayed */
	// The maximum time (in milliseconds) for any statement to wait for acquiring a lock on an table, index, row or other database object.
	// If the wait time is longer than the specified amount, then this statement is aborted.
	//
	// Default value: `0` (no control is enforced, a statement waiting time is unlimited).
	LockTimeout *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=lock_timeout,json=lockTimeout,proto3" json:"lock_timeout,omitempty"`
	// This setting controls logging of the duration of statements.
	//
	// The duration of each completed statement will be logged if the statement ran for at least the specified amount of time (in milliseconds).
	// E.g., if this setting's value is set to `500`, a statement that took 300 milliseconds to complete will not be logged; on the other hand, the one that took 2000 milliseconds to complete, will be logged.
	//
	// Value of `0` forces PostgreSQL to log the duration of all statements.
	//
	// Value of `-1` (default) disables logging of the duration of statements.
	//
	// See in-depth description in [PostgreSQL documentation](https://www.postgresql.org/docs/current/runtime-config-logging.html).
	LogMinDurationStatement *wrapperspb.Int64Value `` /* 134-byte string literal not displayed */
	// This setting defines whether DBMS will commit transaction in a synchronous way.
	//
	// When synchronization is enabled, cluster waits for the synchronous operations to be completed prior to reporting `success` to the client.
	// These operations guarantee different levels of the data safety and visibility in the cluster.
	//
	// See in-depth description in [PostgreSQL documentation](https://www.postgresql.org/docs/current/runtime-config-wal.html#GUC-SYNCHRONOUS-COMMIT).
	SynchronousCommit UserSettings_SynchronousCommit `` /* 180-byte string literal not displayed */
	// The maximum storage space size (in kilobytes) that a single process can use to create temporary files.
	// If a transaction exceeds this limit during execution, it will be aborted.
	//
	// A huge query may not fit into a server's RAM, therefore PostgreSQL will use some storage to store and execute such a query. Too big queries can make excessive use of the storage system, effectively making other quieries to run slow. This setting prevents execution of a big queries that can influence other queries by limiting size of temporary files.
	TempFileLimit *wrapperspb.Int64Value `protobuf:"bytes,5,opt,name=temp_file_limit,json=tempFileLimit,proto3" json:"temp_file_limit,omitempty"`
	// This setting specifies which SQL statements should be logged (on the user level).
	//
	// See in-depth description in [PostgreSQL documentation](https://www.postgresql.org/docs/current/runtime-config-logging.html).
	LogStatement UserSettings_LogStatement `` /* 160-byte string literal not displayed */
	// Mode that the connection pooler is working in with specified user.
	//
	// See in-depth description in [Odyssey documentation](https://github.com/yandex/odyssey/blob/master/documentation/configuration.md#pool-string)
	PoolMode UserSettings_PoolingMode `` /* 147-byte string literal not displayed */
	// User can use prepared statements with transaction pooling.
	//
	// See in-depth description in [PostgreSQL documentation](https://www.postgresql.org/docs/current/sql-prepare.html)
	PreparedStatementsPooling *wrapperspb.BoolValue `` /* 138-byte string literal not displayed */
	// The connection pooler setting. It determines the maximum allowed replication lag (in seconds).
	// Pooler will reject connections to the replica with a lag above this threshold.
	// It can be useful to prevent application from reading stale data.
	//
	// Default value: 0
	//
	// Value of `0` disables this mechanism
	CatchupTimeout *wrapperspb.Int64Value `protobuf:"bytes,9,opt,name=catchup_timeout,json=catchupTimeout,proto3" json:"catchup_timeout,omitempty"`
	// The maximum time (in milliseconds) to wait for WAL replication (can be set only for PostgreSQL 12+)
	// Terminate replication connections that are inactive for longer than this amount of time.
	//
	// Default value: `60000` (60 seconds).
	//
	// Value of `0` disables the timeout mechanism.
	//
	// See in-depth description in [PostgreSQL documentation](https://www.postgresql.org/docs/current/runtime-config-replication.html)
	WalSenderTimeout *wrapperspb.Int64Value `protobuf:"bytes,10,opt,name=wal_sender_timeout,json=walSenderTimeout,proto3" json:"wal_sender_timeout,omitempty"`
	// Sets the maximum allowed idle time (in milliseconds) between queries, when in a transaction.
	//
	// Values of `0` (default) disables the timeout.
	//
	// See in-depth description in [PostgreSQL documentation](https://www.postgresql.org/docs/current/runtime-config-client.html)
	IdleInTransactionSessionTimeout *wrapperspb.Int64Value `` // in milliseconds.
	/* 161-byte string literal not displayed */
	// The maximum time (in milliseconds) to wait for statement
	// The timeout is measured from the time a command arrives at the server until it is completed by the server.
	//
	// If `log_min_error_statement` is set to ERROR or lower, the statement that timed out will also be logged.
	//
	// # Value of `0` (default) disables the timeout
	//
	// See in-depth description in [PostgreSQL documentation](https://www.postgresql.org/docs/current/runtime-config-client.html)
	StatementTimeout *wrapperspb.Int64Value `protobuf:"bytes,12,opt,name=statement_timeout,json=statementTimeout,proto3" json:"statement_timeout,omitempty"`
	Pgaudit          *PGAuditSettings       `protobuf:"bytes,13,opt,name=pgaudit,proto3" json:"pgaudit,omitempty"`
	// contains filtered or unexported fields
}

PostgreSQL user settings.

func (*UserSettings) Descriptor deprecated

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

Deprecated: Use UserSettings.ProtoReflect.Descriptor instead.

func (*UserSettings) GetCatchupTimeout

func (x *UserSettings) GetCatchupTimeout() *wrapperspb.Int64Value

func (*UserSettings) GetDefaultTransactionIsolation

func (x *UserSettings) GetDefaultTransactionIsolation() UserSettings_TransactionIsolation

func (*UserSettings) GetIdleInTransactionSessionTimeout

func (x *UserSettings) GetIdleInTransactionSessionTimeout() *wrapperspb.Int64Value

func (*UserSettings) GetLockTimeout

func (x *UserSettings) GetLockTimeout() *wrapperspb.Int64Value

func (*UserSettings) GetLogMinDurationStatement

func (x *UserSettings) GetLogMinDurationStatement() *wrapperspb.Int64Value

func (*UserSettings) GetLogStatement

func (x *UserSettings) GetLogStatement() UserSettings_LogStatement

func (*UserSettings) GetPgaudit

func (x *UserSettings) GetPgaudit() *PGAuditSettings

func (*UserSettings) GetPoolMode

func (x *UserSettings) GetPoolMode() UserSettings_PoolingMode

func (*UserSettings) GetPreparedStatementsPooling

func (x *UserSettings) GetPreparedStatementsPooling() *wrapperspb.BoolValue

func (*UserSettings) GetStatementTimeout

func (x *UserSettings) GetStatementTimeout() *wrapperspb.Int64Value

func (*UserSettings) GetSynchronousCommit

func (x *UserSettings) GetSynchronousCommit() UserSettings_SynchronousCommit

func (*UserSettings) GetTempFileLimit

func (x *UserSettings) GetTempFileLimit() *wrapperspb.Int64Value

func (*UserSettings) GetWalSenderTimeout

func (x *UserSettings) GetWalSenderTimeout() *wrapperspb.Int64Value

func (*UserSettings) ProtoMessage

func (*UserSettings) ProtoMessage()

func (*UserSettings) ProtoReflect

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

func (*UserSettings) Reset

func (x *UserSettings) Reset()

func (*UserSettings) SetCatchupTimeout

func (m *UserSettings) SetCatchupTimeout(v *wrapperspb.Int64Value)

func (*UserSettings) SetDefaultTransactionIsolation

func (m *UserSettings) SetDefaultTransactionIsolation(v UserSettings_TransactionIsolation)

func (*UserSettings) SetIdleInTransactionSessionTimeout

func (m *UserSettings) SetIdleInTransactionSessionTimeout(v *wrapperspb.Int64Value)

func (*UserSettings) SetLockTimeout

func (m *UserSettings) SetLockTimeout(v *wrapperspb.Int64Value)

func (*UserSettings) SetLogMinDurationStatement

func (m *UserSettings) SetLogMinDurationStatement(v *wrapperspb.Int64Value)

func (*UserSettings) SetLogStatement

func (m *UserSettings) SetLogStatement(v UserSettings_LogStatement)

func (*UserSettings) SetPgaudit

func (m *UserSettings) SetPgaudit(v *PGAuditSettings)

func (*UserSettings) SetPoolMode

func (m *UserSettings) SetPoolMode(v UserSettings_PoolingMode)

func (*UserSettings) SetPreparedStatementsPooling

func (m *UserSettings) SetPreparedStatementsPooling(v *wrapperspb.BoolValue)

func (*UserSettings) SetStatementTimeout

func (m *UserSettings) SetStatementTimeout(v *wrapperspb.Int64Value)

func (*UserSettings) SetSynchronousCommit

func (m *UserSettings) SetSynchronousCommit(v UserSettings_SynchronousCommit)

func (*UserSettings) SetTempFileLimit

func (m *UserSettings) SetTempFileLimit(v *wrapperspb.Int64Value)

func (*UserSettings) SetWalSenderTimeout

func (m *UserSettings) SetWalSenderTimeout(v *wrapperspb.Int64Value)

func (*UserSettings) String

func (x *UserSettings) String() string

type UserSettings_LogStatement

type UserSettings_LogStatement int32
const (
	UserSettings_LOG_STATEMENT_UNSPECIFIED UserSettings_LogStatement = 0
	// (default) logs none of SQL statements.
	UserSettings_LOG_STATEMENT_NONE UserSettings_LogStatement = 1
	// logs all data definition statements (such as `CREATE`, `ALTER`, `DROP` and others).
	UserSettings_LOG_STATEMENT_DDL UserSettings_LogStatement = 2
	// logs all statements that fall in the `LOG_STATEMENT_DDL` category plus data-modifying statements (such as `INSERT`, `UPDATE` and others).
	UserSettings_LOG_STATEMENT_MOD UserSettings_LogStatement = 3
	// logs all SQL statements.
	UserSettings_LOG_STATEMENT_ALL UserSettings_LogStatement = 4
)

func (UserSettings_LogStatement) Descriptor

func (UserSettings_LogStatement) Enum

func (UserSettings_LogStatement) EnumDescriptor deprecated

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

Deprecated: Use UserSettings_LogStatement.Descriptor instead.

func (UserSettings_LogStatement) Number

func (UserSettings_LogStatement) String

func (x UserSettings_LogStatement) String() string

func (UserSettings_LogStatement) Type

type UserSettings_PoolingMode

type UserSettings_PoolingMode int32
const (
	UserSettings_POOLING_MODE_UNSPECIFIED UserSettings_PoolingMode = 0
	// (default) server connection will be assigned to it for the whole duration the client stays connected
	UserSettings_SESSION UserSettings_PoolingMode = 1
	// server connection is assigned to a client only during a transaction
	UserSettings_TRANSACTION UserSettings_PoolingMode = 2
	// server connection will be put back into the pool immediately after a query completes
	UserSettings_STATEMENT UserSettings_PoolingMode = 3
)

func (UserSettings_PoolingMode) Descriptor

func (UserSettings_PoolingMode) Enum

func (UserSettings_PoolingMode) EnumDescriptor deprecated

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

Deprecated: Use UserSettings_PoolingMode.Descriptor instead.

func (UserSettings_PoolingMode) Number

func (UserSettings_PoolingMode) String

func (x UserSettings_PoolingMode) String() string

func (UserSettings_PoolingMode) Type

type UserSettings_SynchronousCommit

type UserSettings_SynchronousCommit int32
const (
	UserSettings_SYNCHRONOUS_COMMIT_UNSPECIFIED UserSettings_SynchronousCommit = 0
	// (default value) success is reported to the client if the data is in WAL (Write-Ahead Log), and WAL is written to the storage of both the master and its synchronous standby server.
	UserSettings_SYNCHRONOUS_COMMIT_ON UserSettings_SynchronousCommit = 1
	// success is reported to the client even if the data is not in WAL.
	// There is no synchronous write operation, data may be loss in case of storage subsystem failure.
	UserSettings_SYNCHRONOUS_COMMIT_OFF UserSettings_SynchronousCommit = 2
	// success is reported to the client if the data is in WAL, and WAL is written to the storage of the master server.
	// The transaction may be lost due to storage subsystem failure on the master server.
	UserSettings_SYNCHRONOUS_COMMIT_LOCAL UserSettings_SynchronousCommit = 3
	// success is reported to the client if the data is in WAL, WAL is written to the storage of the master server, and the server's synchronous standby indicates that it has received WAL and written it out to its operating system.
	// The transaction may be lost due to simultaneous storage subsystem failure on the master and operating system's failure on the synchronous standby.
	UserSettings_SYNCHRONOUS_COMMIT_REMOTE_WRITE UserSettings_SynchronousCommit = 4
	// success is reported to the client if the data is in WAL (Write-Ahead Log), WAL is written to the storage of the master server, and its synchronous standby indicates that it has received WAL and applied it.
	// The transaction may be lost due to irrecoverably failure of both the master and its synchronous standby.
	UserSettings_SYNCHRONOUS_COMMIT_REMOTE_APPLY UserSettings_SynchronousCommit = 5
)

func (UserSettings_SynchronousCommit) Descriptor

func (UserSettings_SynchronousCommit) Enum

func (UserSettings_SynchronousCommit) EnumDescriptor deprecated

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

Deprecated: Use UserSettings_SynchronousCommit.Descriptor instead.

func (UserSettings_SynchronousCommit) Number

func (UserSettings_SynchronousCommit) String

func (UserSettings_SynchronousCommit) Type

type UserSettings_TransactionIsolation

type UserSettings_TransactionIsolation int32
const (
	UserSettings_TRANSACTION_ISOLATION_UNSPECIFIED UserSettings_TransactionIsolation = 0
	// this level behaves like `TRANSACTION_ISOLATION_READ_COMMITTED` in PostgreSQL.
	UserSettings_TRANSACTION_ISOLATION_READ_UNCOMMITTED UserSettings_TransactionIsolation = 1
	// (default) on this level query sees only data committed before the query began.
	UserSettings_TRANSACTION_ISOLATION_READ_COMMITTED UserSettings_TransactionIsolation = 2
	// on this level all subsequent queries in a transaction will see the same rows, that were read by the first `SELECT` or `INSERT` query in this transaction, unchanged (these rows are locked during the first query).
	UserSettings_TRANSACTION_ISOLATION_REPEATABLE_READ UserSettings_TransactionIsolation = 3
	// this level provides the strictest transaction isolation.
	// All queries in the current transaction see only the rows that were fixed prior to execution of the first `SELECT` or `INSERT` query in this transaction.
	// If read and write operations in a concurrent set of serializable transactions overlap and this may cause an inconsistency that is not possible during the serial transaction execution, then one of the transaction will be rolled back, triggering a serialization failure.
	UserSettings_TRANSACTION_ISOLATION_SERIALIZABLE UserSettings_TransactionIsolation = 4
)

func (UserSettings_TransactionIsolation) Descriptor

func (UserSettings_TransactionIsolation) Enum

func (UserSettings_TransactionIsolation) EnumDescriptor deprecated

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

Deprecated: Use UserSettings_TransactionIsolation.Descriptor instead.

func (UserSettings_TransactionIsolation) Number

func (UserSettings_TransactionIsolation) String

func (UserSettings_TransactionIsolation) Type

type UserSpec

type UserSpec struct {

	// Name of the PostgreSQL user.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Password of the PostgreSQL user.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Set of permissions to grant to the user to access specific databases.
	Permissions []*Permission `protobuf:"bytes,3,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Maximum number of database connections that should be available to the user.
	//
	// When used in session pooling, this setting limits the number of connections to every single host in PostgreSQL cluster. In this case, the setting's value must be greater than the total number of connections that backend services can open to access the PostgreSQL cluster. The setting's value should not exceed the value of the [Cluster.config.postgresql_config_12.effective_config.max_connections] setting.
	//
	// When used in transaction pooling, this setting limits the number of user's active transactions; therefore, in this mode user can open thousands of connections, but only `N` concurrent connections will be opened, where `N` is the value of the setting.
	//
	// Minimum value: `10` (default: `50`), when used in session pooling.
	ConnLimit *wrapperspb.Int64Value `protobuf:"bytes,4,opt,name=conn_limit,json=connLimit,proto3" json:"conn_limit,omitempty"`
	// PostgreSQL settings for the user.
	Settings *UserSettings `protobuf:"bytes,5,opt,name=settings,proto3" json:"settings,omitempty"`
	// This flag defines whether the user can login to a PostgreSQL database.
	//
	// Default value: `true` (login is allowed).
	Login *wrapperspb.BoolValue `protobuf:"bytes,6,opt,name=login,proto3" json:"login,omitempty"`
	// A set of roles and privileges that are granted to the user.
	//
	// For more information, see [the documentation](/docs/managed-postgresql/operations/grant).
	Grants []string `protobuf:"bytes,7,rep,name=grants,proto3" json:"grants,omitempty"`
	// Deletion Protection inhibits deletion of the user
	//
	// Default value: `unspecified` (inherits cluster's deletion_protection)
	DeletionProtection *wrapperspb.BoolValue `protobuf:"bytes,8,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Password-based authentication method for user.
	// Possible values are “ USER_PASSWORD_ENCRYPTION_MD5 “ or “ USER_PASSWORD_ENCRYPTION_SCRAM_SHA_256 “.
	// The default is “ password_encryption “ setting for cluster.
	UserPasswordEncryption UserPasswordEncryption `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserSpec) Descriptor deprecated

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

Deprecated: Use UserSpec.ProtoReflect.Descriptor instead.

func (*UserSpec) GetConnLimit

func (x *UserSpec) GetConnLimit() *wrapperspb.Int64Value

func (*UserSpec) GetDeletionProtection

func (x *UserSpec) GetDeletionProtection() *wrapperspb.BoolValue

func (*UserSpec) GetGrants

func (x *UserSpec) GetGrants() []string

func (*UserSpec) GetLogin

func (x *UserSpec) GetLogin() *wrapperspb.BoolValue

func (*UserSpec) GetName

func (x *UserSpec) GetName() string

func (*UserSpec) GetPassword

func (x *UserSpec) GetPassword() string

func (*UserSpec) GetPermissions

func (x *UserSpec) GetPermissions() []*Permission

func (*UserSpec) GetSettings

func (x *UserSpec) GetSettings() *UserSettings

func (*UserSpec) GetUserPasswordEncryption

func (x *UserSpec) GetUserPasswordEncryption() UserPasswordEncryption

func (*UserSpec) ProtoMessage

func (*UserSpec) ProtoMessage()

func (*UserSpec) ProtoReflect

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

func (*UserSpec) Reset

func (x *UserSpec) Reset()

func (*UserSpec) SetConnLimit

func (m *UserSpec) SetConnLimit(v *wrapperspb.Int64Value)

func (*UserSpec) SetDeletionProtection

func (m *UserSpec) SetDeletionProtection(v *wrapperspb.BoolValue)

func (*UserSpec) SetGrants

func (m *UserSpec) SetGrants(v []string)

func (*UserSpec) SetLogin

func (m *UserSpec) SetLogin(v *wrapperspb.BoolValue)

func (*UserSpec) SetName

func (m *UserSpec) SetName(v string)

func (*UserSpec) SetPassword

func (m *UserSpec) SetPassword(v string)

func (*UserSpec) SetPermissions

func (m *UserSpec) SetPermissions(v []*Permission)

func (*UserSpec) SetSettings

func (m *UserSpec) SetSettings(v *UserSettings)

func (*UserSpec) SetUserPasswordEncryption

func (m *UserSpec) SetUserPasswordEncryption(v UserPasswordEncryption)

func (*UserSpec) String

func (x *UserSpec) String() string

type WeeklyMaintenanceWindow

type WeeklyMaintenanceWindow struct {

	// Day of the week (in `DDD` format).
	Day WeeklyMaintenanceWindow_WeekDay `` /* 128-byte string literal not displayed */
	// Hour of the day in UTC (in `HH` format).
	Hour int64 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"`
	// contains filtered or unexported fields
}

Weelky maintenance window settings.

func (*WeeklyMaintenanceWindow) Descriptor deprecated

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

Deprecated: Use WeeklyMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*WeeklyMaintenanceWindow) GetDay

func (*WeeklyMaintenanceWindow) GetHour

func (x *WeeklyMaintenanceWindow) GetHour() int64

func (*WeeklyMaintenanceWindow) ProtoMessage

func (*WeeklyMaintenanceWindow) ProtoMessage()

func (*WeeklyMaintenanceWindow) ProtoReflect

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

func (*WeeklyMaintenanceWindow) Reset

func (x *WeeklyMaintenanceWindow) Reset()

func (*WeeklyMaintenanceWindow) SetDay

func (*WeeklyMaintenanceWindow) SetHour

func (m *WeeklyMaintenanceWindow) SetHour(v int64)

func (*WeeklyMaintenanceWindow) String

func (x *WeeklyMaintenanceWindow) String() string

type WeeklyMaintenanceWindow_WeekDay

type WeeklyMaintenanceWindow_WeekDay int32
const (
	WeeklyMaintenanceWindow_WEEK_DAY_UNSPECIFIED WeeklyMaintenanceWindow_WeekDay = 0
	WeeklyMaintenanceWindow_MON                  WeeklyMaintenanceWindow_WeekDay = 1
	WeeklyMaintenanceWindow_TUE                  WeeklyMaintenanceWindow_WeekDay = 2
	WeeklyMaintenanceWindow_WED                  WeeklyMaintenanceWindow_WeekDay = 3
	WeeklyMaintenanceWindow_THU                  WeeklyMaintenanceWindow_WeekDay = 4
	WeeklyMaintenanceWindow_FRI                  WeeklyMaintenanceWindow_WeekDay = 5
	WeeklyMaintenanceWindow_SAT                  WeeklyMaintenanceWindow_WeekDay = 6
	WeeklyMaintenanceWindow_SUN                  WeeklyMaintenanceWindow_WeekDay = 7
)

func (WeeklyMaintenanceWindow_WeekDay) Descriptor

func (WeeklyMaintenanceWindow_WeekDay) Enum

func (WeeklyMaintenanceWindow_WeekDay) EnumDescriptor deprecated

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

Deprecated: Use WeeklyMaintenanceWindow_WeekDay.Descriptor instead.

func (WeeklyMaintenanceWindow_WeekDay) Number

func (WeeklyMaintenanceWindow_WeekDay) String

func (WeeklyMaintenanceWindow_WeekDay) Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL