Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterBackupServiceServer(s grpc.ServiceRegistrar, srv BackupServiceServer)
- func RegisterClusterServiceServer(s grpc.ServiceRegistrar, srv ClusterServiceServer)
- func RegisterDatabaseServiceServer(s grpc.ServiceRegistrar, srv DatabaseServiceServer)
- func RegisterPerformanceDiagnosticsServiceServer(s grpc.ServiceRegistrar, srv PerformanceDiagnosticsServiceServer)
- func RegisterResourcePresetServiceServer(s grpc.ServiceRegistrar, srv ResourcePresetServiceServer)
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type Access
- func (*Access) Descriptor() ([]byte, []int)deprecated
- func (x *Access) GetDataLens() bool
- func (x *Access) GetDataTransfer() bool
- func (x *Access) GetServerless() bool
- func (x *Access) GetWebSql() bool
- func (x *Access) GetYandexQuery() bool
- func (*Access) ProtoMessage()
- func (x *Access) ProtoReflect() protoreflect.Message
- func (x *Access) Reset()
- func (m *Access) SetDataLens(v bool)
- func (m *Access) SetDataTransfer(v bool)
- func (m *Access) SetServerless(v bool)
- func (m *Access) SetWebSql(v bool)
- func (m *Access) SetYandexQuery(v bool)
- func (x *Access) String() string
- type AddClusterHostsMetadata
- func (*AddClusterHostsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *AddClusterHostsMetadata) GetClusterId() string
- func (x *AddClusterHostsMetadata) GetHostNames() []string
- func (*AddClusterHostsMetadata) ProtoMessage()
- func (x *AddClusterHostsMetadata) ProtoReflect() protoreflect.Message
- func (x *AddClusterHostsMetadata) Reset()
- func (m *AddClusterHostsMetadata) SetClusterId(v string)
- func (m *AddClusterHostsMetadata) SetHostNames(v []string)
- func (x *AddClusterHostsMetadata) String() string
- type AddClusterHostsRequest
- func (*AddClusterHostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AddClusterHostsRequest) GetClusterId() string
- func (x *AddClusterHostsRequest) GetHostSpecs() []*HostSpec
- func (*AddClusterHostsRequest) ProtoMessage()
- func (x *AddClusterHostsRequest) ProtoReflect() protoreflect.Message
- func (x *AddClusterHostsRequest) Reset()
- func (m *AddClusterHostsRequest) SetClusterId(v string)
- func (m *AddClusterHostsRequest) SetHostSpecs(v []*HostSpec)
- func (x *AddClusterHostsRequest) String() string
- type AnytimeMaintenanceWindow
- type Backup
- func (*Backup) Descriptor() ([]byte, []int)deprecated
- func (x *Backup) GetCreatedAt() *timestamppb.Timestamp
- func (x *Backup) GetFolderId() string
- func (x *Backup) GetId() string
- func (x *Backup) GetJournalSize() int64
- func (x *Backup) GetMethod() Backup_BackupMethod
- func (x *Backup) GetSize() int64
- func (x *Backup) GetSourceClusterId() string
- func (x *Backup) GetStartedAt() *timestamppb.Timestamp
- func (x *Backup) GetStatus() Backup_BackupStatus
- func (x *Backup) GetType() Backup_BackupCreationType
- func (*Backup) ProtoMessage()
- func (x *Backup) ProtoReflect() protoreflect.Message
- func (x *Backup) Reset()
- func (m *Backup) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Backup) SetFolderId(v string)
- func (m *Backup) SetId(v string)
- func (m *Backup) SetJournalSize(v int64)
- func (m *Backup) SetMethod(v Backup_BackupMethod)
- func (m *Backup) SetSize(v int64)
- func (m *Backup) SetSourceClusterId(v string)
- func (m *Backup) SetStartedAt(v *timestamppb.Timestamp)
- func (m *Backup) SetStatus(v Backup_BackupStatus)
- func (m *Backup) SetType(v Backup_BackupCreationType)
- func (x *Backup) String() string
- type BackupClusterMetadata
- func (*BackupClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *BackupClusterMetadata) GetBackupId() string
- func (x *BackupClusterMetadata) GetClusterId() string
- func (*BackupClusterMetadata) ProtoMessage()
- func (x *BackupClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *BackupClusterMetadata) Reset()
- func (m *BackupClusterMetadata) SetBackupId(v string)
- func (m *BackupClusterMetadata) SetClusterId(v string)
- func (x *BackupClusterMetadata) String() string
- type BackupClusterRequest
- func (*BackupClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupClusterRequest) GetClusterId() string
- func (*BackupClusterRequest) ProtoMessage()
- func (x *BackupClusterRequest) ProtoReflect() protoreflect.Message
- func (x *BackupClusterRequest) Reset()
- func (m *BackupClusterRequest) SetClusterId(v string)
- func (x *BackupClusterRequest) String() string
- type BackupServiceClient
- type BackupServiceServer
- type Backup_BackupCreationType
- func (Backup_BackupCreationType) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_BackupCreationType) Enum() *Backup_BackupCreationType
- func (Backup_BackupCreationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_BackupCreationType) Number() protoreflect.EnumNumber
- func (x Backup_BackupCreationType) String() string
- func (Backup_BackupCreationType) Type() protoreflect.EnumType
- type Backup_BackupMethod
- func (Backup_BackupMethod) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_BackupMethod) Enum() *Backup_BackupMethod
- func (Backup_BackupMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_BackupMethod) Number() protoreflect.EnumNumber
- func (x Backup_BackupMethod) String() string
- func (Backup_BackupMethod) Type() protoreflect.EnumType
- type Backup_BackupStatus
- func (Backup_BackupStatus) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_BackupStatus) Enum() *Backup_BackupStatus
- func (Backup_BackupStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_BackupStatus) Number() protoreflect.EnumNumber
- func (x Backup_BackupStatus) String() string
- func (Backup_BackupStatus) Type() protoreflect.EnumType
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetConfig() *ClusterConfig
- func (x *Cluster) GetCreatedAt() *timestamppb.Timestamp
- func (x *Cluster) GetDeletionProtection() bool
- func (x *Cluster) GetDescription() string
- func (x *Cluster) GetEnvironment() Cluster_Environment
- func (x *Cluster) GetFolderId() string
- func (x *Cluster) GetHealth() Cluster_Health
- func (x *Cluster) GetHostGroupIds() []string
- func (x *Cluster) GetId() string
- func (x *Cluster) GetLabels() map[string]string
- func (x *Cluster) GetMaintenanceWindow() *MaintenanceWindow
- func (x *Cluster) GetMonitoring() []*Monitoring
- func (x *Cluster) GetName() string
- func (x *Cluster) GetNetworkId() string
- func (x *Cluster) GetPlannedOperation() *MaintenanceOperation
- func (x *Cluster) GetSecurityGroupIds() []string
- func (x *Cluster) GetStatus() Cluster_Status
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (m *Cluster) SetConfig(v *ClusterConfig)
- func (m *Cluster) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Cluster) SetDeletionProtection(v bool)
- func (m *Cluster) SetDescription(v string)
- func (m *Cluster) SetEnvironment(v Cluster_Environment)
- func (m *Cluster) SetFolderId(v string)
- func (m *Cluster) SetHealth(v Cluster_Health)
- func (m *Cluster) SetHostGroupIds(v []string)
- func (m *Cluster) SetId(v string)
- func (m *Cluster) SetLabels(v map[string]string)
- func (m *Cluster) SetMaintenanceWindow(v *MaintenanceWindow)
- func (m *Cluster) SetMonitoring(v []*Monitoring)
- func (m *Cluster) SetName(v string)
- func (m *Cluster) SetNetworkId(v string)
- func (m *Cluster) SetPlannedOperation(v *MaintenanceOperation)
- func (m *Cluster) SetSecurityGroupIds(v []string)
- func (m *Cluster) SetStatus(v Cluster_Status)
- func (x *Cluster) String() string
- type ClusterConfig
- func (*ClusterConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterConfig) GetAccess() *Access
- func (x *ClusterConfig) GetAutofailover() *wrapperspb.BoolValue
- func (x *ClusterConfig) GetBackupRetainPeriodDays() *wrapperspb.Int64Value
- func (x *ClusterConfig) GetBackupWindowStart() *timeofday.TimeOfDay
- func (x *ClusterConfig) GetDiskSizeAutoscaling() *DiskSizeAutoscaling
- func (x *ClusterConfig) GetPerformanceDiagnostics() *PerformanceDiagnostics
- func (x *ClusterConfig) GetPoolerConfig() *ConnectionPoolerConfig
- func (m *ClusterConfig) GetPostgresqlConfig() isClusterConfig_PostgresqlConfig
- func (x *ClusterConfig) GetPostgresqlConfig_10() *config.PostgresqlConfigSet10
- func (x *ClusterConfig) GetPostgresqlConfig_10_1C() *config.PostgresqlConfigSet10_1C
- func (x *ClusterConfig) GetPostgresqlConfig_11() *config.PostgresqlConfigSet11
- func (x *ClusterConfig) GetPostgresqlConfig_11_1C() *config.PostgresqlConfigSet11_1C
- func (x *ClusterConfig) GetPostgresqlConfig_12() *config.PostgresqlConfigSet12
- func (x *ClusterConfig) GetPostgresqlConfig_12_1C() *config.PostgresqlConfigSet12_1C
- func (x *ClusterConfig) GetPostgresqlConfig_13() *config.PostgresqlConfigSet13
- func (x *ClusterConfig) GetPostgresqlConfig_13_1C() *config.PostgresqlConfigSet13_1C
- func (x *ClusterConfig) GetPostgresqlConfig_14() *config.PostgresqlConfigSet14
- func (x *ClusterConfig) GetPostgresqlConfig_14_1C() *config.PostgresqlConfigSet14_1C
- func (x *ClusterConfig) GetPostgresqlConfig_15() *config.PostgresqlConfigSet15
- func (x *ClusterConfig) GetPostgresqlConfig_15_1C() *config.PostgresqlConfigSet15_1C
- func (x *ClusterConfig) GetPostgresqlConfig_16() *config.PostgresqlConfigSet16
- func (x *ClusterConfig) GetPostgresqlConfig_16_1C() *config.PostgresqlConfigSet16_1C
- func (x *ClusterConfig) GetPostgresqlConfig_17() *config.PostgresqlConfigSet17
- func (x *ClusterConfig) GetPostgresqlConfig_17_1C() *config.PostgresqlConfigSet17_1C
- func (x *ClusterConfig) GetPostgresqlConfig_9_6() *config.PostgresqlConfigSet9_6
- func (x *ClusterConfig) GetResources() *Resources
- func (x *ClusterConfig) GetVersion() string
- func (*ClusterConfig) ProtoMessage()
- func (x *ClusterConfig) ProtoReflect() protoreflect.Message
- func (x *ClusterConfig) Reset()
- func (m *ClusterConfig) SetAccess(v *Access)
- func (m *ClusterConfig) SetAutofailover(v *wrapperspb.BoolValue)
- func (m *ClusterConfig) SetBackupRetainPeriodDays(v *wrapperspb.Int64Value)
- func (m *ClusterConfig) SetBackupWindowStart(v *timeofday.TimeOfDay)
- func (m *ClusterConfig) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling)
- func (m *ClusterConfig) SetPerformanceDiagnostics(v *PerformanceDiagnostics)
- func (m *ClusterConfig) SetPoolerConfig(v *ConnectionPoolerConfig)
- func (m *ClusterConfig) SetPostgresqlConfig(v ClusterConfig_PostgresqlConfig)
- func (m *ClusterConfig) SetPostgresqlConfig_10(v *config.PostgresqlConfigSet10)
- func (m *ClusterConfig) SetPostgresqlConfig_10_1C(v *config.PostgresqlConfigSet10_1C)
- func (m *ClusterConfig) SetPostgresqlConfig_11(v *config.PostgresqlConfigSet11)
- func (m *ClusterConfig) SetPostgresqlConfig_11_1C(v *config.PostgresqlConfigSet11_1C)
- func (m *ClusterConfig) SetPostgresqlConfig_12(v *config.PostgresqlConfigSet12)
- func (m *ClusterConfig) SetPostgresqlConfig_12_1C(v *config.PostgresqlConfigSet12_1C)
- func (m *ClusterConfig) SetPostgresqlConfig_13(v *config.PostgresqlConfigSet13)
- func (m *ClusterConfig) SetPostgresqlConfig_13_1C(v *config.PostgresqlConfigSet13_1C)
- func (m *ClusterConfig) SetPostgresqlConfig_14(v *config.PostgresqlConfigSet14)
- func (m *ClusterConfig) SetPostgresqlConfig_14_1C(v *config.PostgresqlConfigSet14_1C)
- func (m *ClusterConfig) SetPostgresqlConfig_15(v *config.PostgresqlConfigSet15)
- func (m *ClusterConfig) SetPostgresqlConfig_15_1C(v *config.PostgresqlConfigSet15_1C)
- func (m *ClusterConfig) SetPostgresqlConfig_16(v *config.PostgresqlConfigSet16)
- func (m *ClusterConfig) SetPostgresqlConfig_16_1C(v *config.PostgresqlConfigSet16_1C)
- func (m *ClusterConfig) SetPostgresqlConfig_17(v *config.PostgresqlConfigSet17)
- func (m *ClusterConfig) SetPostgresqlConfig_17_1C(v *config.PostgresqlConfigSet17_1C)
- func (m *ClusterConfig) SetPostgresqlConfig_9_6(v *config.PostgresqlConfigSet9_6)
- func (m *ClusterConfig) SetResources(v *Resources)
- func (m *ClusterConfig) SetVersion(v string)
- func (x *ClusterConfig) String() string
- type ClusterConfig_PostgresqlConfig
- type ClusterConfig_PostgresqlConfig_10
- type ClusterConfig_PostgresqlConfig_10_1C
- type ClusterConfig_PostgresqlConfig_11
- type ClusterConfig_PostgresqlConfig_11_1C
- type ClusterConfig_PostgresqlConfig_12
- type ClusterConfig_PostgresqlConfig_12_1C
- type ClusterConfig_PostgresqlConfig_13
- type ClusterConfig_PostgresqlConfig_13_1C
- type ClusterConfig_PostgresqlConfig_14
- type ClusterConfig_PostgresqlConfig_14_1C
- type ClusterConfig_PostgresqlConfig_15
- type ClusterConfig_PostgresqlConfig_15_1C
- type ClusterConfig_PostgresqlConfig_16
- type ClusterConfig_PostgresqlConfig_16_1C
- type ClusterConfig_PostgresqlConfig_17
- type ClusterConfig_PostgresqlConfig_17_1C
- type ClusterConfig_PostgresqlConfig_9_6
- type ClusterServiceClient
- type ClusterServiceServer
- type ClusterService_StreamLogsClient
- type ClusterService_StreamLogsServer
- type Cluster_Environment
- func (Cluster_Environment) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Environment) Enum() *Cluster_Environment
- func (Cluster_Environment) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Environment) Number() protoreflect.EnumNumber
- func (x Cluster_Environment) String() string
- func (Cluster_Environment) Type() protoreflect.EnumType
- type Cluster_Health
- func (Cluster_Health) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Health) Enum() *Cluster_Health
- func (Cluster_Health) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Health) Number() protoreflect.EnumNumber
- func (x Cluster_Health) String() string
- func (Cluster_Health) Type() protoreflect.EnumType
- type Cluster_Status
- func (Cluster_Status) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_Status) Enum() *Cluster_Status
- func (Cluster_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_Status) Number() protoreflect.EnumNumber
- func (x Cluster_Status) String() string
- func (Cluster_Status) Type() protoreflect.EnumType
- type ConfigHostSpec
- func (*ConfigHostSpec) Descriptor() ([]byte, []int)deprecated
- func (m *ConfigHostSpec) GetPostgresqlConfig() isConfigHostSpec_PostgresqlConfig
- func (x *ConfigHostSpec) GetPostgresqlConfig_10() *config.PostgresqlHostConfig10
- func (x *ConfigHostSpec) GetPostgresqlConfig_10_1C() *config.PostgresqlHostConfig10_1C
- func (x *ConfigHostSpec) GetPostgresqlConfig_11() *config.PostgresqlHostConfig11
- func (x *ConfigHostSpec) GetPostgresqlConfig_11_1C() *config.PostgresqlHostConfig11_1C
- func (x *ConfigHostSpec) GetPostgresqlConfig_12() *config.PostgresqlHostConfig12
- func (x *ConfigHostSpec) GetPostgresqlConfig_12_1C() *config.PostgresqlHostConfig12_1C
- func (x *ConfigHostSpec) GetPostgresqlConfig_13() *config.PostgresqlHostConfig13
- func (x *ConfigHostSpec) GetPostgresqlConfig_13_1C() *config.PostgresqlHostConfig13_1C
- func (x *ConfigHostSpec) GetPostgresqlConfig_14() *config.PostgresqlHostConfig14
- func (x *ConfigHostSpec) GetPostgresqlConfig_14_1C() *config.PostgresqlHostConfig14_1C
- func (x *ConfigHostSpec) GetPostgresqlConfig_15() *config.PostgresqlHostConfig15
- func (x *ConfigHostSpec) GetPostgresqlConfig_15_1C() *config.PostgresqlHostConfig15_1C
- func (x *ConfigHostSpec) GetPostgresqlConfig_16() *config.PostgresqlHostConfig16
- func (x *ConfigHostSpec) GetPostgresqlConfig_16_1C() *config.PostgresqlHostConfig16_1C
- func (x *ConfigHostSpec) GetPostgresqlConfig_17() *config.PostgresqlHostConfig17
- func (x *ConfigHostSpec) GetPostgresqlConfig_17_1C() *config.PostgresqlHostConfig17_1C
- func (x *ConfigHostSpec) GetPostgresqlConfig_9_6() *config.PostgresqlHostConfig9_6
- func (*ConfigHostSpec) ProtoMessage()
- func (x *ConfigHostSpec) ProtoReflect() protoreflect.Message
- func (x *ConfigHostSpec) Reset()
- func (m *ConfigHostSpec) SetPostgresqlConfig(v ConfigHostSpec_PostgresqlConfig)
- func (m *ConfigHostSpec) SetPostgresqlConfig_10(v *config.PostgresqlHostConfig10)
- func (m *ConfigHostSpec) SetPostgresqlConfig_10_1C(v *config.PostgresqlHostConfig10_1C)
- func (m *ConfigHostSpec) SetPostgresqlConfig_11(v *config.PostgresqlHostConfig11)
- func (m *ConfigHostSpec) SetPostgresqlConfig_11_1C(v *config.PostgresqlHostConfig11_1C)
- func (m *ConfigHostSpec) SetPostgresqlConfig_12(v *config.PostgresqlHostConfig12)
- func (m *ConfigHostSpec) SetPostgresqlConfig_12_1C(v *config.PostgresqlHostConfig12_1C)
- func (m *ConfigHostSpec) SetPostgresqlConfig_13(v *config.PostgresqlHostConfig13)
- func (m *ConfigHostSpec) SetPostgresqlConfig_13_1C(v *config.PostgresqlHostConfig13_1C)
- func (m *ConfigHostSpec) SetPostgresqlConfig_14(v *config.PostgresqlHostConfig14)
- func (m *ConfigHostSpec) SetPostgresqlConfig_14_1C(v *config.PostgresqlHostConfig14_1C)
- func (m *ConfigHostSpec) SetPostgresqlConfig_15(v *config.PostgresqlHostConfig15)
- func (m *ConfigHostSpec) SetPostgresqlConfig_15_1C(v *config.PostgresqlHostConfig15_1C)
- func (m *ConfigHostSpec) SetPostgresqlConfig_16(v *config.PostgresqlHostConfig16)
- func (m *ConfigHostSpec) SetPostgresqlConfig_16_1C(v *config.PostgresqlHostConfig16_1C)
- func (m *ConfigHostSpec) SetPostgresqlConfig_17(v *config.PostgresqlHostConfig17)
- func (m *ConfigHostSpec) SetPostgresqlConfig_17_1C(v *config.PostgresqlHostConfig17_1C)
- func (m *ConfigHostSpec) SetPostgresqlConfig_9_6(v *config.PostgresqlHostConfig9_6)
- func (x *ConfigHostSpec) String() string
- type ConfigHostSpec_PostgresqlConfig
- type ConfigHostSpec_PostgresqlConfig_10
- type ConfigHostSpec_PostgresqlConfig_10_1C
- type ConfigHostSpec_PostgresqlConfig_11
- type ConfigHostSpec_PostgresqlConfig_11_1C
- type ConfigHostSpec_PostgresqlConfig_12
- type ConfigHostSpec_PostgresqlConfig_12_1C
- type ConfigHostSpec_PostgresqlConfig_13
- type ConfigHostSpec_PostgresqlConfig_13_1C
- type ConfigHostSpec_PostgresqlConfig_14
- type ConfigHostSpec_PostgresqlConfig_14_1C
- type ConfigHostSpec_PostgresqlConfig_15
- type ConfigHostSpec_PostgresqlConfig_15_1C
- type ConfigHostSpec_PostgresqlConfig_16
- type ConfigHostSpec_PostgresqlConfig_16_1C
- type ConfigHostSpec_PostgresqlConfig_17
- type ConfigHostSpec_PostgresqlConfig_17_1C
- type ConfigHostSpec_PostgresqlConfig_9_6
- type ConfigSpec
- func (*ConfigSpec) Descriptor() ([]byte, []int)deprecated
- func (x *ConfigSpec) GetAccess() *Access
- func (x *ConfigSpec) GetAutofailover() *wrapperspb.BoolValue
- func (x *ConfigSpec) GetBackupRetainPeriodDays() *wrapperspb.Int64Value
- func (x *ConfigSpec) GetBackupWindowStart() *timeofday.TimeOfDay
- func (x *ConfigSpec) GetDiskSizeAutoscaling() *DiskSizeAutoscaling
- func (x *ConfigSpec) GetPerformanceDiagnostics() *PerformanceDiagnostics
- func (x *ConfigSpec) GetPoolerConfig() *ConnectionPoolerConfig
- func (m *ConfigSpec) GetPostgresqlConfig() isConfigSpec_PostgresqlConfig
- func (x *ConfigSpec) GetPostgresqlConfig_10() *config.PostgresqlConfig10
- func (x *ConfigSpec) GetPostgresqlConfig_10_1C() *config.PostgresqlConfig10_1C
- func (x *ConfigSpec) GetPostgresqlConfig_11() *config.PostgresqlConfig11
- func (x *ConfigSpec) GetPostgresqlConfig_11_1C() *config.PostgresqlConfig11_1C
- func (x *ConfigSpec) GetPostgresqlConfig_12() *config.PostgresqlConfig12
- func (x *ConfigSpec) GetPostgresqlConfig_12_1C() *config.PostgresqlConfig12_1C
- func (x *ConfigSpec) GetPostgresqlConfig_13() *config.PostgresqlConfig13
- func (x *ConfigSpec) GetPostgresqlConfig_13_1C() *config.PostgresqlConfig13_1C
- func (x *ConfigSpec) GetPostgresqlConfig_14() *config.PostgresqlConfig14
- func (x *ConfigSpec) GetPostgresqlConfig_14_1C() *config.PostgresqlConfig14_1C
- func (x *ConfigSpec) GetPostgresqlConfig_15() *config.PostgresqlConfig15
- func (x *ConfigSpec) GetPostgresqlConfig_15_1C() *config.PostgresqlConfig15_1C
- func (x *ConfigSpec) GetPostgresqlConfig_16() *config.PostgresqlConfig16
- func (x *ConfigSpec) GetPostgresqlConfig_16_1C() *config.PostgresqlConfig16_1C
- func (x *ConfigSpec) GetPostgresqlConfig_17() *config.PostgresqlConfig17
- func (x *ConfigSpec) GetPostgresqlConfig_17_1C() *config.PostgresqlConfig17_1C
- func (x *ConfigSpec) GetPostgresqlConfig_9_6() *config.PostgresqlConfig9_6
- func (x *ConfigSpec) GetResources() *Resources
- func (x *ConfigSpec) GetVersion() string
- func (*ConfigSpec) ProtoMessage()
- func (x *ConfigSpec) ProtoReflect() protoreflect.Message
- func (x *ConfigSpec) Reset()
- func (m *ConfigSpec) SetAccess(v *Access)
- func (m *ConfigSpec) SetAutofailover(v *wrapperspb.BoolValue)
- func (m *ConfigSpec) SetBackupRetainPeriodDays(v *wrapperspb.Int64Value)
- func (m *ConfigSpec) SetBackupWindowStart(v *timeofday.TimeOfDay)
- func (m *ConfigSpec) SetDiskSizeAutoscaling(v *DiskSizeAutoscaling)
- func (m *ConfigSpec) SetPerformanceDiagnostics(v *PerformanceDiagnostics)
- func (m *ConfigSpec) SetPoolerConfig(v *ConnectionPoolerConfig)
- func (m *ConfigSpec) SetPostgresqlConfig(v ConfigSpec_PostgresqlConfig)
- func (m *ConfigSpec) SetPostgresqlConfig_10(v *config.PostgresqlConfig10)
- func (m *ConfigSpec) SetPostgresqlConfig_10_1C(v *config.PostgresqlConfig10_1C)
- func (m *ConfigSpec) SetPostgresqlConfig_11(v *config.PostgresqlConfig11)
- func (m *ConfigSpec) SetPostgresqlConfig_11_1C(v *config.PostgresqlConfig11_1C)
- func (m *ConfigSpec) SetPostgresqlConfig_12(v *config.PostgresqlConfig12)
- func (m *ConfigSpec) SetPostgresqlConfig_12_1C(v *config.PostgresqlConfig12_1C)
- func (m *ConfigSpec) SetPostgresqlConfig_13(v *config.PostgresqlConfig13)
- func (m *ConfigSpec) SetPostgresqlConfig_13_1C(v *config.PostgresqlConfig13_1C)
- func (m *ConfigSpec) SetPostgresqlConfig_14(v *config.PostgresqlConfig14)
- func (m *ConfigSpec) SetPostgresqlConfig_14_1C(v *config.PostgresqlConfig14_1C)
- func (m *ConfigSpec) SetPostgresqlConfig_15(v *config.PostgresqlConfig15)
- func (m *ConfigSpec) SetPostgresqlConfig_15_1C(v *config.PostgresqlConfig15_1C)
- func (m *ConfigSpec) SetPostgresqlConfig_16(v *config.PostgresqlConfig16)
- func (m *ConfigSpec) SetPostgresqlConfig_16_1C(v *config.PostgresqlConfig16_1C)
- func (m *ConfigSpec) SetPostgresqlConfig_17(v *config.PostgresqlConfig17)
- func (m *ConfigSpec) SetPostgresqlConfig_17_1C(v *config.PostgresqlConfig17_1C)
- func (m *ConfigSpec) SetPostgresqlConfig_9_6(v *config.PostgresqlConfig9_6)
- func (m *ConfigSpec) SetResources(v *Resources)
- func (m *ConfigSpec) SetVersion(v string)
- func (x *ConfigSpec) String() string
- type ConfigSpec_PostgresqlConfig
- type ConfigSpec_PostgresqlConfig_10
- type ConfigSpec_PostgresqlConfig_10_1C
- type ConfigSpec_PostgresqlConfig_11
- type ConfigSpec_PostgresqlConfig_11_1C
- type ConfigSpec_PostgresqlConfig_12
- type ConfigSpec_PostgresqlConfig_12_1C
- type ConfigSpec_PostgresqlConfig_13
- type ConfigSpec_PostgresqlConfig_13_1C
- type ConfigSpec_PostgresqlConfig_14
- type ConfigSpec_PostgresqlConfig_14_1C
- type ConfigSpec_PostgresqlConfig_15
- type ConfigSpec_PostgresqlConfig_15_1C
- type ConfigSpec_PostgresqlConfig_16
- type ConfigSpec_PostgresqlConfig_16_1C
- type ConfigSpec_PostgresqlConfig_17
- type ConfigSpec_PostgresqlConfig_17_1C
- type ConfigSpec_PostgresqlConfig_9_6
- type ConnectionPoolerConfig
- func (*ConnectionPoolerConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ConnectionPoolerConfig) GetPoolDiscard() *wrapperspb.BoolValue
- func (x *ConnectionPoolerConfig) GetPoolingMode() ConnectionPoolerConfig_PoolingMode
- func (*ConnectionPoolerConfig) ProtoMessage()
- func (x *ConnectionPoolerConfig) ProtoReflect() protoreflect.Message
- func (x *ConnectionPoolerConfig) Reset()
- func (m *ConnectionPoolerConfig) SetPoolDiscard(v *wrapperspb.BoolValue)
- func (m *ConnectionPoolerConfig) SetPoolingMode(v ConnectionPoolerConfig_PoolingMode)
- func (x *ConnectionPoolerConfig) String() string
- type ConnectionPoolerConfig_PoolingMode
- func (ConnectionPoolerConfig_PoolingMode) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionPoolerConfig_PoolingMode) Enum() *ConnectionPoolerConfig_PoolingMode
- func (ConnectionPoolerConfig_PoolingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionPoolerConfig_PoolingMode) Number() protoreflect.EnumNumber
- func (x ConnectionPoolerConfig_PoolingMode) String() string
- func (ConnectionPoolerConfig_PoolingMode) Type() protoreflect.EnumType
- type CreateClusterMetadata
- func (*CreateClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterMetadata) GetClusterId() string
- func (*CreateClusterMetadata) ProtoMessage()
- func (x *CreateClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateClusterMetadata) Reset()
- func (m *CreateClusterMetadata) SetClusterId(v string)
- func (x *CreateClusterMetadata) String() string
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterRequest) GetConfigSpec() *ConfigSpec
- func (x *CreateClusterRequest) GetDatabaseSpecs() []*DatabaseSpec
- func (x *CreateClusterRequest) GetDeletionProtection() bool
- func (x *CreateClusterRequest) GetDescription() string
- func (x *CreateClusterRequest) GetEnvironment() Cluster_Environment
- func (x *CreateClusterRequest) GetFolderId() string
- func (x *CreateClusterRequest) GetHostGroupIds() []string
- func (x *CreateClusterRequest) GetHostSpecs() []*HostSpec
- func (x *CreateClusterRequest) GetLabels() map[string]string
- func (x *CreateClusterRequest) GetName() string
- func (x *CreateClusterRequest) GetNetworkId() string
- func (x *CreateClusterRequest) GetSecurityGroupIds() []string
- func (x *CreateClusterRequest) GetUserSpecs() []*UserSpec
- func (*CreateClusterRequest) ProtoMessage()
- func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClusterRequest) Reset()
- func (m *CreateClusterRequest) SetConfigSpec(v *ConfigSpec)
- func (m *CreateClusterRequest) SetDatabaseSpecs(v []*DatabaseSpec)
- func (m *CreateClusterRequest) SetDeletionProtection(v bool)
- func (m *CreateClusterRequest) SetDescription(v string)
- func (m *CreateClusterRequest) SetEnvironment(v Cluster_Environment)
- func (m *CreateClusterRequest) SetFolderId(v string)
- func (m *CreateClusterRequest) SetHostGroupIds(v []string)
- func (m *CreateClusterRequest) SetHostSpecs(v []*HostSpec)
- func (m *CreateClusterRequest) SetLabels(v map[string]string)
- func (m *CreateClusterRequest) SetName(v string)
- func (m *CreateClusterRequest) SetNetworkId(v string)
- func (m *CreateClusterRequest) SetSecurityGroupIds(v []string)
- func (m *CreateClusterRequest) SetUserSpecs(v []*UserSpec)
- func (x *CreateClusterRequest) String() string
- type CreateDatabaseMetadata
- func (*CreateDatabaseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatabaseMetadata) GetClusterId() string
- func (x *CreateDatabaseMetadata) GetDatabaseName() string
- func (*CreateDatabaseMetadata) ProtoMessage()
- func (x *CreateDatabaseMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateDatabaseMetadata) Reset()
- func (m *CreateDatabaseMetadata) SetClusterId(v string)
- func (m *CreateDatabaseMetadata) SetDatabaseName(v string)
- func (x *CreateDatabaseMetadata) String() string
- type CreateDatabaseRequest
- func (*CreateDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateDatabaseRequest) GetClusterId() string
- func (x *CreateDatabaseRequest) GetDatabaseSpec() *DatabaseSpec
- func (*CreateDatabaseRequest) ProtoMessage()
- func (x *CreateDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *CreateDatabaseRequest) Reset()
- func (m *CreateDatabaseRequest) SetClusterId(v string)
- func (m *CreateDatabaseRequest) SetDatabaseSpec(v *DatabaseSpec)
- func (x *CreateDatabaseRequest) String() string
- type CreateUserMetadata
- func (*CreateUserMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserMetadata) GetClusterId() string
- func (x *CreateUserMetadata) GetUserName() string
- func (*CreateUserMetadata) ProtoMessage()
- func (x *CreateUserMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateUserMetadata) Reset()
- func (m *CreateUserMetadata) SetClusterId(v string)
- func (m *CreateUserMetadata) SetUserName(v string)
- func (x *CreateUserMetadata) String() string
- type CreateUserRequest
- func (*CreateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUserRequest) GetClusterId() string
- func (x *CreateUserRequest) GetUserSpec() *UserSpec
- func (*CreateUserRequest) ProtoMessage()
- func (x *CreateUserRequest) ProtoReflect() protoreflect.Message
- func (x *CreateUserRequest) Reset()
- func (m *CreateUserRequest) SetClusterId(v string)
- func (m *CreateUserRequest) SetUserSpec(v *UserSpec)
- func (x *CreateUserRequest) String() string
- type Database
- func (*Database) Descriptor() ([]byte, []int)deprecated
- func (x *Database) GetClusterId() string
- func (x *Database) GetDeletionProtection() *wrapperspb.BoolValue
- func (x *Database) GetExtensions() []*Extension
- func (x *Database) GetLcCollate() string
- func (x *Database) GetLcCtype() string
- func (x *Database) GetName() string
- func (x *Database) GetOwner() string
- func (x *Database) GetTemplateDb() string
- func (*Database) ProtoMessage()
- func (x *Database) ProtoReflect() protoreflect.Message
- func (x *Database) Reset()
- func (m *Database) SetClusterId(v string)
- func (m *Database) SetDeletionProtection(v *wrapperspb.BoolValue)
- func (m *Database) SetExtensions(v []*Extension)
- func (m *Database) SetLcCollate(v string)
- func (m *Database) SetLcCtype(v string)
- func (m *Database) SetName(v string)
- func (m *Database) SetOwner(v string)
- func (m *Database) SetTemplateDb(v string)
- func (x *Database) String() string
- type DatabaseServiceClient
- type DatabaseServiceServer
- type DatabaseSpec
- func (*DatabaseSpec) Descriptor() ([]byte, []int)deprecated
- func (x *DatabaseSpec) GetDeletionProtection() *wrapperspb.BoolValue
- func (x *DatabaseSpec) GetExtensions() []*Extension
- func (x *DatabaseSpec) GetLcCollate() string
- func (x *DatabaseSpec) GetLcCtype() string
- func (x *DatabaseSpec) GetName() string
- func (x *DatabaseSpec) GetOwner() string
- func (x *DatabaseSpec) GetTemplateDb() string
- func (*DatabaseSpec) ProtoMessage()
- func (x *DatabaseSpec) ProtoReflect() protoreflect.Message
- func (x *DatabaseSpec) Reset()
- func (m *DatabaseSpec) SetDeletionProtection(v *wrapperspb.BoolValue)
- func (m *DatabaseSpec) SetExtensions(v []*Extension)
- func (m *DatabaseSpec) SetLcCollate(v string)
- func (m *DatabaseSpec) SetLcCtype(v string)
- func (m *DatabaseSpec) SetName(v string)
- func (m *DatabaseSpec) SetOwner(v string)
- func (m *DatabaseSpec) SetTemplateDb(v string)
- func (x *DatabaseSpec) String() string
- type DeleteBackupMetadata
- func (*DeleteBackupMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupMetadata) GetBackupId() string
- func (x *DeleteBackupMetadata) GetClusterId() string
- func (*DeleteBackupMetadata) ProtoMessage()
- func (x *DeleteBackupMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupMetadata) Reset()
- func (m *DeleteBackupMetadata) SetBackupId(v string)
- func (m *DeleteBackupMetadata) SetClusterId(v string)
- func (x *DeleteBackupMetadata) String() string
- type DeleteBackupRequest
- func (*DeleteBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupRequest) GetBackupId() string
- func (*DeleteBackupRequest) ProtoMessage()
- func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupRequest) Reset()
- func (m *DeleteBackupRequest) SetBackupId(v string)
- func (x *DeleteBackupRequest) String() string
- type DeleteClusterHostsMetadata
- func (*DeleteClusterHostsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterHostsMetadata) GetClusterId() string
- func (x *DeleteClusterHostsMetadata) GetHostNames() []string
- func (*DeleteClusterHostsMetadata) ProtoMessage()
- func (x *DeleteClusterHostsMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterHostsMetadata) Reset()
- func (m *DeleteClusterHostsMetadata) SetClusterId(v string)
- func (m *DeleteClusterHostsMetadata) SetHostNames(v []string)
- func (x *DeleteClusterHostsMetadata) String() string
- type DeleteClusterHostsRequest
- func (*DeleteClusterHostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterHostsRequest) GetClusterId() string
- func (x *DeleteClusterHostsRequest) GetHostNames() []string
- func (*DeleteClusterHostsRequest) ProtoMessage()
- func (x *DeleteClusterHostsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterHostsRequest) Reset()
- func (m *DeleteClusterHostsRequest) SetClusterId(v string)
- func (m *DeleteClusterHostsRequest) SetHostNames(v []string)
- func (x *DeleteClusterHostsRequest) String() string
- type DeleteClusterMetadata
- func (*DeleteClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterMetadata) GetClusterId() string
- func (*DeleteClusterMetadata) ProtoMessage()
- func (x *DeleteClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterMetadata) Reset()
- func (m *DeleteClusterMetadata) SetClusterId(v string)
- func (x *DeleteClusterMetadata) String() string
- type DeleteClusterRequest
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterRequest) GetClusterId() string
- func (*DeleteClusterRequest) ProtoMessage()
- func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterRequest) Reset()
- func (m *DeleteClusterRequest) SetClusterId(v string)
- func (x *DeleteClusterRequest) String() string
- type DeleteDatabaseMetadata
- func (*DeleteDatabaseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDatabaseMetadata) GetClusterId() string
- func (x *DeleteDatabaseMetadata) GetDatabaseName() string
- func (*DeleteDatabaseMetadata) ProtoMessage()
- func (x *DeleteDatabaseMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteDatabaseMetadata) Reset()
- func (m *DeleteDatabaseMetadata) SetClusterId(v string)
- func (m *DeleteDatabaseMetadata) SetDatabaseName(v string)
- func (x *DeleteDatabaseMetadata) String() string
- type DeleteDatabaseRequest
- func (*DeleteDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteDatabaseRequest) GetClusterId() string
- func (x *DeleteDatabaseRequest) GetDatabaseName() string
- func (*DeleteDatabaseRequest) ProtoMessage()
- func (x *DeleteDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteDatabaseRequest) Reset()
- func (m *DeleteDatabaseRequest) SetClusterId(v string)
- func (m *DeleteDatabaseRequest) SetDatabaseName(v string)
- func (x *DeleteDatabaseRequest) String() string
- type DeleteUserMetadata
- func (*DeleteUserMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserMetadata) GetClusterId() string
- func (x *DeleteUserMetadata) GetUserName() string
- func (*DeleteUserMetadata) ProtoMessage()
- func (x *DeleteUserMetadata) ProtoReflect() protoreflect.Message
- func (x *DeleteUserMetadata) Reset()
- func (m *DeleteUserMetadata) SetClusterId(v string)
- func (m *DeleteUserMetadata) SetUserName(v string)
- func (x *DeleteUserMetadata) String() string
- type DeleteUserRequest
- func (*DeleteUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteUserRequest) GetClusterId() string
- func (x *DeleteUserRequest) GetUserName() string
- func (*DeleteUserRequest) ProtoMessage()
- func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteUserRequest) Reset()
- func (m *DeleteUserRequest) SetClusterId(v string)
- func (m *DeleteUserRequest) SetUserName(v string)
- func (x *DeleteUserRequest) String() string
- type DiskSizeAutoscaling
- func (*DiskSizeAutoscaling) Descriptor() ([]byte, []int)deprecated
- func (x *DiskSizeAutoscaling) GetDiskSizeLimit() int64
- func (x *DiskSizeAutoscaling) GetEmergencyUsageThreshold() int64
- func (x *DiskSizeAutoscaling) GetPlannedUsageThreshold() int64
- func (*DiskSizeAutoscaling) ProtoMessage()
- func (x *DiskSizeAutoscaling) ProtoReflect() protoreflect.Message
- func (x *DiskSizeAutoscaling) Reset()
- func (m *DiskSizeAutoscaling) SetDiskSizeLimit(v int64)
- func (m *DiskSizeAutoscaling) SetEmergencyUsageThreshold(v int64)
- func (m *DiskSizeAutoscaling) SetPlannedUsageThreshold(v int64)
- func (x *DiskSizeAutoscaling) String() string
- type Extension
- func (*Extension) Descriptor() ([]byte, []int)deprecated
- func (x *Extension) GetName() string
- func (x *Extension) GetVersion() string
- func (*Extension) ProtoMessage()
- func (x *Extension) ProtoReflect() protoreflect.Message
- func (x *Extension) Reset()
- func (m *Extension) SetName(v string)
- func (m *Extension) SetVersion(v string)
- func (x *Extension) String() string
- type GetBackupRequest
- func (*GetBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBackupRequest) GetBackupId() string
- func (*GetBackupRequest) ProtoMessage()
- func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackupRequest) Reset()
- func (m *GetBackupRequest) SetBackupId(v string)
- func (x *GetBackupRequest) String() string
- type GetClusterRequest
- func (*GetClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterRequest) GetClusterId() string
- func (*GetClusterRequest) ProtoMessage()
- func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterRequest) Reset()
- func (m *GetClusterRequest) SetClusterId(v string)
- func (x *GetClusterRequest) String() string
- type GetDatabaseRequest
- func (*GetDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDatabaseRequest) GetClusterId() string
- func (x *GetDatabaseRequest) GetDatabaseName() string
- func (*GetDatabaseRequest) ProtoMessage()
- func (x *GetDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *GetDatabaseRequest) Reset()
- func (m *GetDatabaseRequest) SetClusterId(v string)
- func (m *GetDatabaseRequest) SetDatabaseName(v string)
- func (x *GetDatabaseRequest) String() string
- type GetResourcePresetRequest
- func (*GetResourcePresetRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetResourcePresetRequest) GetResourcePresetId() string
- func (*GetResourcePresetRequest) ProtoMessage()
- func (x *GetResourcePresetRequest) ProtoReflect() protoreflect.Message
- func (x *GetResourcePresetRequest) Reset()
- func (m *GetResourcePresetRequest) SetResourcePresetId(v string)
- func (x *GetResourcePresetRequest) String() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetClusterId() string
- func (x *GetUserRequest) GetUserName() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (m *GetUserRequest) SetClusterId(v string)
- func (m *GetUserRequest) SetUserName(v string)
- func (x *GetUserRequest) String() string
- type GrantUserPermissionMetadata
- func (*GrantUserPermissionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *GrantUserPermissionMetadata) GetClusterId() string
- func (x *GrantUserPermissionMetadata) GetUserName() string
- func (*GrantUserPermissionMetadata) ProtoMessage()
- func (x *GrantUserPermissionMetadata) ProtoReflect() protoreflect.Message
- func (x *GrantUserPermissionMetadata) Reset()
- func (m *GrantUserPermissionMetadata) SetClusterId(v string)
- func (m *GrantUserPermissionMetadata) SetUserName(v string)
- func (x *GrantUserPermissionMetadata) String() string
- type GrantUserPermissionRequest
- func (*GrantUserPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GrantUserPermissionRequest) GetClusterId() string
- func (x *GrantUserPermissionRequest) GetPermission() *Permission
- func (x *GrantUserPermissionRequest) GetUserName() string
- func (*GrantUserPermissionRequest) ProtoMessage()
- func (x *GrantUserPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *GrantUserPermissionRequest) Reset()
- func (m *GrantUserPermissionRequest) SetClusterId(v string)
- func (m *GrantUserPermissionRequest) SetPermission(v *Permission)
- func (m *GrantUserPermissionRequest) SetUserName(v string)
- func (x *GrantUserPermissionRequest) String() string
- type Host
- func (*Host) Descriptor() ([]byte, []int)deprecated
- func (x *Host) GetAssignPublicIp() bool
- func (x *Host) GetClusterId() string
- func (x *Host) GetConfig() *HostConfig
- func (x *Host) GetHealth() Host_Health
- func (x *Host) GetName() string
- func (x *Host) GetPriority() *wrapperspb.Int64Value
- func (x *Host) GetReplicaType() Host_ReplicaType
- func (x *Host) GetReplicationSource() string
- func (x *Host) GetResources() *Resources
- func (x *Host) GetRole() Host_Role
- func (x *Host) GetServices() []*Service
- func (x *Host) GetSubnetId() string
- func (x *Host) GetZoneId() string
- func (*Host) ProtoMessage()
- func (x *Host) ProtoReflect() protoreflect.Message
- func (x *Host) Reset()
- func (m *Host) SetAssignPublicIp(v bool)
- func (m *Host) SetClusterId(v string)
- func (m *Host) SetConfig(v *HostConfig)
- func (m *Host) SetHealth(v Host_Health)
- func (m *Host) SetName(v string)
- func (m *Host) SetPriority(v *wrapperspb.Int64Value)
- func (m *Host) SetReplicaType(v Host_ReplicaType)
- func (m *Host) SetReplicationSource(v string)
- func (m *Host) SetResources(v *Resources)
- func (m *Host) SetRole(v Host_Role)
- func (m *Host) SetServices(v []*Service)
- func (m *Host) SetSubnetId(v string)
- func (m *Host) SetZoneId(v string)
- func (x *Host) String() string
- type HostConfig
- func (*HostConfig) Descriptor() ([]byte, []int)deprecated
- func (m *HostConfig) GetPostgresqlConfig() isHostConfig_PostgresqlConfig
- func (x *HostConfig) GetPostgresqlConfig_10() *config.PostgresqlHostConfig10
- func (x *HostConfig) GetPostgresqlConfig_10_1C() *config.PostgresqlHostConfig10_1C
- func (x *HostConfig) GetPostgresqlConfig_11() *config.PostgresqlHostConfig11
- func (x *HostConfig) GetPostgresqlConfig_11_1C() *config.PostgresqlHostConfig11_1C
- func (x *HostConfig) GetPostgresqlConfig_12() *config.PostgresqlHostConfig12
- func (x *HostConfig) GetPostgresqlConfig_12_1C() *config.PostgresqlHostConfig12_1C
- func (x *HostConfig) GetPostgresqlConfig_13() *config.PostgresqlHostConfig13
- func (x *HostConfig) GetPostgresqlConfig_13_1C() *config.PostgresqlHostConfig13_1C
- func (x *HostConfig) GetPostgresqlConfig_14() *config.PostgresqlHostConfig14
- func (x *HostConfig) GetPostgresqlConfig_14_1C() *config.PostgresqlHostConfig14_1C
- func (x *HostConfig) GetPostgresqlConfig_15() *config.PostgresqlHostConfig15
- func (x *HostConfig) GetPostgresqlConfig_15_1C() *config.PostgresqlHostConfig15_1C
- func (x *HostConfig) GetPostgresqlConfig_16() *config.PostgresqlHostConfig16
- func (x *HostConfig) GetPostgresqlConfig_16_1C() *config.PostgresqlHostConfig16_1C
- func (x *HostConfig) GetPostgresqlConfig_17() *config.PostgresqlHostConfig17
- func (x *HostConfig) GetPostgresqlConfig_17_1C() *config.PostgresqlHostConfig17_1C
- func (x *HostConfig) GetPostgresqlConfig_9_6() *config.PostgresqlHostConfig9_6
- func (*HostConfig) ProtoMessage()
- func (x *HostConfig) ProtoReflect() protoreflect.Message
- func (x *HostConfig) Reset()
- func (m *HostConfig) SetPostgresqlConfig(v HostConfig_PostgresqlConfig)
- func (m *HostConfig) SetPostgresqlConfig_10(v *config.PostgresqlHostConfig10)
- func (m *HostConfig) SetPostgresqlConfig_10_1C(v *config.PostgresqlHostConfig10_1C)
- func (m *HostConfig) SetPostgresqlConfig_11(v *config.PostgresqlHostConfig11)
- func (m *HostConfig) SetPostgresqlConfig_11_1C(v *config.PostgresqlHostConfig11_1C)
- func (m *HostConfig) SetPostgresqlConfig_12(v *config.PostgresqlHostConfig12)
- func (m *HostConfig) SetPostgresqlConfig_12_1C(v *config.PostgresqlHostConfig12_1C)
- func (m *HostConfig) SetPostgresqlConfig_13(v *config.PostgresqlHostConfig13)
- func (m *HostConfig) SetPostgresqlConfig_13_1C(v *config.PostgresqlHostConfig13_1C)
- func (m *HostConfig) SetPostgresqlConfig_14(v *config.PostgresqlHostConfig14)
- func (m *HostConfig) SetPostgresqlConfig_14_1C(v *config.PostgresqlHostConfig14_1C)
- func (m *HostConfig) SetPostgresqlConfig_15(v *config.PostgresqlHostConfig15)
- func (m *HostConfig) SetPostgresqlConfig_15_1C(v *config.PostgresqlHostConfig15_1C)
- func (m *HostConfig) SetPostgresqlConfig_16(v *config.PostgresqlHostConfig16)
- func (m *HostConfig) SetPostgresqlConfig_16_1C(v *config.PostgresqlHostConfig16_1C)
- func (m *HostConfig) SetPostgresqlConfig_17(v *config.PostgresqlHostConfig17)
- func (m *HostConfig) SetPostgresqlConfig_17_1C(v *config.PostgresqlHostConfig17_1C)
- func (m *HostConfig) SetPostgresqlConfig_9_6(v *config.PostgresqlHostConfig9_6)
- func (x *HostConfig) String() string
- type HostConfig_PostgresqlConfig
- type HostConfig_PostgresqlConfig_10
- type HostConfig_PostgresqlConfig_10_1C
- type HostConfig_PostgresqlConfig_11
- type HostConfig_PostgresqlConfig_11_1C
- type HostConfig_PostgresqlConfig_12
- type HostConfig_PostgresqlConfig_12_1C
- type HostConfig_PostgresqlConfig_13
- type HostConfig_PostgresqlConfig_13_1C
- type HostConfig_PostgresqlConfig_14
- type HostConfig_PostgresqlConfig_14_1C
- type HostConfig_PostgresqlConfig_15
- type HostConfig_PostgresqlConfig_15_1C
- type HostConfig_PostgresqlConfig_16
- type HostConfig_PostgresqlConfig_16_1C
- type HostConfig_PostgresqlConfig_17
- type HostConfig_PostgresqlConfig_17_1C
- type HostConfig_PostgresqlConfig_9_6
- type HostSpec
- func (*HostSpec) Descriptor() ([]byte, []int)deprecated
- func (x *HostSpec) GetAssignPublicIp() bool
- func (x *HostSpec) GetConfigSpec() *ConfigHostSpec
- func (x *HostSpec) GetPriority() *wrapperspb.Int64Value
- func (x *HostSpec) GetReplicationSource() string
- func (x *HostSpec) GetSubnetId() string
- func (x *HostSpec) GetZoneId() string
- func (*HostSpec) ProtoMessage()
- func (x *HostSpec) ProtoReflect() protoreflect.Message
- func (x *HostSpec) Reset()
- func (m *HostSpec) SetAssignPublicIp(v bool)
- func (m *HostSpec) SetConfigSpec(v *ConfigHostSpec)
- func (m *HostSpec) SetPriority(v *wrapperspb.Int64Value)
- func (m *HostSpec) SetReplicationSource(v string)
- func (m *HostSpec) SetSubnetId(v string)
- func (m *HostSpec) SetZoneId(v string)
- func (x *HostSpec) String() string
- type Host_Health
- func (Host_Health) Descriptor() protoreflect.EnumDescriptor
- func (x Host_Health) Enum() *Host_Health
- func (Host_Health) EnumDescriptor() ([]byte, []int)deprecated
- func (x Host_Health) Number() protoreflect.EnumNumber
- func (x Host_Health) String() string
- func (Host_Health) Type() protoreflect.EnumType
- type Host_ReplicaType
- func (Host_ReplicaType) Descriptor() protoreflect.EnumDescriptor
- func (x Host_ReplicaType) Enum() *Host_ReplicaType
- func (Host_ReplicaType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Host_ReplicaType) Number() protoreflect.EnumNumber
- func (x Host_ReplicaType) String() string
- func (Host_ReplicaType) Type() protoreflect.EnumType
- type Host_Role
- type ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsRequest) GetFolderId() string
- func (x *ListBackupsRequest) GetPageSize() int64
- func (x *ListBackupsRequest) GetPageToken() string
- func (*ListBackupsRequest) ProtoMessage()
- func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupsRequest) Reset()
- func (m *ListBackupsRequest) SetFolderId(v string)
- func (m *ListBackupsRequest) SetPageSize(v int64)
- func (m *ListBackupsRequest) SetPageToken(v string)
- func (x *ListBackupsRequest) String() string
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsResponse) GetBackups() []*Backup
- func (x *ListBackupsResponse) GetNextPageToken() string
- func (*ListBackupsResponse) ProtoMessage()
- func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupsResponse) Reset()
- func (m *ListBackupsResponse) SetBackups(v []*Backup)
- func (m *ListBackupsResponse) SetNextPageToken(v string)
- func (x *ListBackupsResponse) String() string
- type ListClusterBackupsRequest
- func (*ListClusterBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterBackupsRequest) GetClusterId() string
- func (x *ListClusterBackupsRequest) GetPageSize() int64
- func (x *ListClusterBackupsRequest) GetPageToken() string
- func (*ListClusterBackupsRequest) ProtoMessage()
- func (x *ListClusterBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterBackupsRequest) Reset()
- func (m *ListClusterBackupsRequest) SetClusterId(v string)
- func (m *ListClusterBackupsRequest) SetPageSize(v int64)
- func (m *ListClusterBackupsRequest) SetPageToken(v string)
- func (x *ListClusterBackupsRequest) String() string
- type ListClusterBackupsResponse
- func (*ListClusterBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterBackupsResponse) GetBackups() []*Backup
- func (x *ListClusterBackupsResponse) GetNextPageToken() string
- func (*ListClusterBackupsResponse) ProtoMessage()
- func (x *ListClusterBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterBackupsResponse) Reset()
- func (m *ListClusterBackupsResponse) SetBackups(v []*Backup)
- func (m *ListClusterBackupsResponse) SetNextPageToken(v string)
- func (x *ListClusterBackupsResponse) String() string
- type ListClusterHostsRequest
- func (*ListClusterHostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterHostsRequest) GetClusterId() string
- func (x *ListClusterHostsRequest) GetPageSize() int64
- func (x *ListClusterHostsRequest) GetPageToken() string
- func (*ListClusterHostsRequest) ProtoMessage()
- func (x *ListClusterHostsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterHostsRequest) Reset()
- func (m *ListClusterHostsRequest) SetClusterId(v string)
- func (m *ListClusterHostsRequest) SetPageSize(v int64)
- func (m *ListClusterHostsRequest) SetPageToken(v string)
- func (x *ListClusterHostsRequest) String() string
- type ListClusterHostsResponse
- func (*ListClusterHostsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterHostsResponse) GetHosts() []*Host
- func (x *ListClusterHostsResponse) GetNextPageToken() string
- func (*ListClusterHostsResponse) ProtoMessage()
- func (x *ListClusterHostsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterHostsResponse) Reset()
- func (m *ListClusterHostsResponse) SetHosts(v []*Host)
- func (m *ListClusterHostsResponse) SetNextPageToken(v string)
- func (x *ListClusterHostsResponse) String() string
- type ListClusterLogsRequest
- func (*ListClusterLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterLogsRequest) GetAlwaysNextPageToken() bool
- func (x *ListClusterLogsRequest) GetClusterId() string
- func (x *ListClusterLogsRequest) GetColumnFilter() []string
- func (x *ListClusterLogsRequest) GetFromTime() *timestamppb.Timestamp
- func (x *ListClusterLogsRequest) GetPageSize() int64
- func (x *ListClusterLogsRequest) GetPageToken() string
- func (x *ListClusterLogsRequest) GetServiceType() ListClusterLogsRequest_ServiceType
- func (x *ListClusterLogsRequest) GetToTime() *timestamppb.Timestamp
- func (*ListClusterLogsRequest) ProtoMessage()
- func (x *ListClusterLogsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterLogsRequest) Reset()
- func (m *ListClusterLogsRequest) SetAlwaysNextPageToken(v bool)
- func (m *ListClusterLogsRequest) SetClusterId(v string)
- func (m *ListClusterLogsRequest) SetColumnFilter(v []string)
- func (m *ListClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)
- func (m *ListClusterLogsRequest) SetPageSize(v int64)
- func (m *ListClusterLogsRequest) SetPageToken(v string)
- func (m *ListClusterLogsRequest) SetServiceType(v ListClusterLogsRequest_ServiceType)
- func (m *ListClusterLogsRequest) SetToTime(v *timestamppb.Timestamp)
- func (x *ListClusterLogsRequest) String() string
- type ListClusterLogsRequest_ServiceType
- func (ListClusterLogsRequest_ServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x ListClusterLogsRequest_ServiceType) Enum() *ListClusterLogsRequest_ServiceType
- func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListClusterLogsRequest_ServiceType) Number() protoreflect.EnumNumber
- func (x ListClusterLogsRequest_ServiceType) String() string
- func (ListClusterLogsRequest_ServiceType) Type() protoreflect.EnumType
- type ListClusterLogsResponse
- func (*ListClusterLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterLogsResponse) GetLogs() []*LogRecord
- func (x *ListClusterLogsResponse) GetNextPageToken() string
- func (*ListClusterLogsResponse) ProtoMessage()
- func (x *ListClusterLogsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterLogsResponse) Reset()
- func (m *ListClusterLogsResponse) SetLogs(v []*LogRecord)
- func (m *ListClusterLogsResponse) SetNextPageToken(v string)
- func (x *ListClusterLogsResponse) String() string
- type ListClusterOperationsRequest
- func (*ListClusterOperationsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterOperationsRequest) GetClusterId() string
- func (x *ListClusterOperationsRequest) GetPageSize() int64
- func (x *ListClusterOperationsRequest) GetPageToken() string
- func (*ListClusterOperationsRequest) ProtoMessage()
- func (x *ListClusterOperationsRequest) ProtoReflect() protoreflect.Message
- func (x *ListClusterOperationsRequest) Reset()
- func (m *ListClusterOperationsRequest) SetClusterId(v string)
- func (m *ListClusterOperationsRequest) SetPageSize(v int64)
- func (m *ListClusterOperationsRequest) SetPageToken(v string)
- func (x *ListClusterOperationsRequest) String() string
- type ListClusterOperationsResponse
- func (*ListClusterOperationsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClusterOperationsResponse) GetNextPageToken() string
- func (x *ListClusterOperationsResponse) GetOperations() []*operation.Operation
- func (*ListClusterOperationsResponse) ProtoMessage()
- func (x *ListClusterOperationsResponse) ProtoReflect() protoreflect.Message
- func (x *ListClusterOperationsResponse) Reset()
- func (m *ListClusterOperationsResponse) SetNextPageToken(v string)
- func (m *ListClusterOperationsResponse) SetOperations(v []*operation.Operation)
- func (x *ListClusterOperationsResponse) String() string
- type ListClustersRequest
- func (*ListClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersRequest) GetFilter() string
- func (x *ListClustersRequest) GetFolderId() string
- func (x *ListClustersRequest) GetPageSize() int64
- func (x *ListClustersRequest) GetPageToken() string
- func (*ListClustersRequest) ProtoMessage()
- func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListClustersRequest) Reset()
- func (m *ListClustersRequest) SetFilter(v string)
- func (m *ListClustersRequest) SetFolderId(v string)
- func (m *ListClustersRequest) SetPageSize(v int64)
- func (m *ListClustersRequest) SetPageToken(v string)
- func (x *ListClustersRequest) String() string
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersResponse) GetClusters() []*Cluster
- func (x *ListClustersResponse) GetNextPageToken() string
- func (*ListClustersResponse) ProtoMessage()
- func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListClustersResponse) Reset()
- func (m *ListClustersResponse) SetClusters(v []*Cluster)
- func (m *ListClustersResponse) SetNextPageToken(v string)
- func (x *ListClustersResponse) String() string
- type ListDatabasesRequest
- func (*ListDatabasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesRequest) GetClusterId() string
- func (x *ListDatabasesRequest) GetPageSize() int64
- func (x *ListDatabasesRequest) GetPageToken() string
- func (*ListDatabasesRequest) ProtoMessage()
- func (x *ListDatabasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesRequest) Reset()
- func (m *ListDatabasesRequest) SetClusterId(v string)
- func (m *ListDatabasesRequest) SetPageSize(v int64)
- func (m *ListDatabasesRequest) SetPageToken(v string)
- func (x *ListDatabasesRequest) String() string
- type ListDatabasesResponse
- func (*ListDatabasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListDatabasesResponse) GetDatabases() []*Database
- func (x *ListDatabasesResponse) GetNextPageToken() string
- func (*ListDatabasesResponse) ProtoMessage()
- func (x *ListDatabasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListDatabasesResponse) Reset()
- func (m *ListDatabasesResponse) SetDatabases(v []*Database)
- func (m *ListDatabasesResponse) SetNextPageToken(v string)
- func (x *ListDatabasesResponse) String() string
- type ListRawSessionStatesRequest
- func (*ListRawSessionStatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRawSessionStatesRequest) GetClusterId() string
- func (x *ListRawSessionStatesRequest) GetFromTime() *timestamppb.Timestamp
- func (x *ListRawSessionStatesRequest) GetPageSize() int64
- func (x *ListRawSessionStatesRequest) GetPageToken() string
- func (x *ListRawSessionStatesRequest) GetToTime() *timestamppb.Timestamp
- func (*ListRawSessionStatesRequest) ProtoMessage()
- func (x *ListRawSessionStatesRequest) ProtoReflect() protoreflect.Message
- func (x *ListRawSessionStatesRequest) Reset()
- func (m *ListRawSessionStatesRequest) SetClusterId(v string)
- func (m *ListRawSessionStatesRequest) SetFromTime(v *timestamppb.Timestamp)
- func (m *ListRawSessionStatesRequest) SetPageSize(v int64)
- func (m *ListRawSessionStatesRequest) SetPageToken(v string)
- func (m *ListRawSessionStatesRequest) SetToTime(v *timestamppb.Timestamp)
- func (x *ListRawSessionStatesRequest) String() string
- type ListRawSessionStatesResponse
- func (*ListRawSessionStatesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRawSessionStatesResponse) GetNextPageToken() string
- func (x *ListRawSessionStatesResponse) GetSessionStates() []*SessionState
- func (*ListRawSessionStatesResponse) ProtoMessage()
- func (x *ListRawSessionStatesResponse) ProtoReflect() protoreflect.Message
- func (x *ListRawSessionStatesResponse) Reset()
- func (m *ListRawSessionStatesResponse) SetNextPageToken(v string)
- func (m *ListRawSessionStatesResponse) SetSessionStates(v []*SessionState)
- func (x *ListRawSessionStatesResponse) String() string
- type ListRawStatementsRequest
- func (*ListRawStatementsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRawStatementsRequest) GetClusterId() string
- func (x *ListRawStatementsRequest) GetFromTime() *timestamppb.Timestamp
- func (x *ListRawStatementsRequest) GetPageSize() int64
- func (x *ListRawStatementsRequest) GetPageToken() string
- func (x *ListRawStatementsRequest) GetToTime() *timestamppb.Timestamp
- func (*ListRawStatementsRequest) ProtoMessage()
- func (x *ListRawStatementsRequest) ProtoReflect() protoreflect.Message
- func (x *ListRawStatementsRequest) Reset()
- func (m *ListRawStatementsRequest) SetClusterId(v string)
- func (m *ListRawStatementsRequest) SetFromTime(v *timestamppb.Timestamp)
- func (m *ListRawStatementsRequest) SetPageSize(v int64)
- func (m *ListRawStatementsRequest) SetPageToken(v string)
- func (m *ListRawStatementsRequest) SetToTime(v *timestamppb.Timestamp)
- func (x *ListRawStatementsRequest) String() string
- type ListRawStatementsResponse
- func (*ListRawStatementsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRawStatementsResponse) GetNextPageToken() string
- func (x *ListRawStatementsResponse) GetStatements() []*QueryStatement
- func (*ListRawStatementsResponse) ProtoMessage()
- func (x *ListRawStatementsResponse) ProtoReflect() protoreflect.Message
- func (x *ListRawStatementsResponse) Reset()
- func (m *ListRawStatementsResponse) SetNextPageToken(v string)
- func (m *ListRawStatementsResponse) SetStatements(v []*QueryStatement)
- func (x *ListRawStatementsResponse) String() string
- type ListResourcePresetsRequest
- func (*ListResourcePresetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcePresetsRequest) GetPageSize() int64
- func (x *ListResourcePresetsRequest) GetPageToken() string
- func (*ListResourcePresetsRequest) ProtoMessage()
- func (x *ListResourcePresetsRequest) ProtoReflect() protoreflect.Message
- func (x *ListResourcePresetsRequest) Reset()
- func (m *ListResourcePresetsRequest) SetPageSize(v int64)
- func (m *ListResourcePresetsRequest) SetPageToken(v string)
- func (x *ListResourcePresetsRequest) String() string
- type ListResourcePresetsResponse
- func (*ListResourcePresetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListResourcePresetsResponse) GetNextPageToken() string
- func (x *ListResourcePresetsResponse) GetResourcePresets() []*ResourcePreset
- func (*ListResourcePresetsResponse) ProtoMessage()
- func (x *ListResourcePresetsResponse) ProtoReflect() protoreflect.Message
- func (x *ListResourcePresetsResponse) Reset()
- func (m *ListResourcePresetsResponse) SetNextPageToken(v string)
- func (m *ListResourcePresetsResponse) SetResourcePresets(v []*ResourcePreset)
- func (x *ListResourcePresetsResponse) String() string
- type ListUsersRequest
- func (*ListUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersRequest) GetClusterId() string
- func (x *ListUsersRequest) GetPageSize() int64
- func (x *ListUsersRequest) GetPageToken() string
- func (*ListUsersRequest) ProtoMessage()
- func (x *ListUsersRequest) ProtoReflect() protoreflect.Message
- func (x *ListUsersRequest) Reset()
- func (m *ListUsersRequest) SetClusterId(v string)
- func (m *ListUsersRequest) SetPageSize(v int64)
- func (m *ListUsersRequest) SetPageToken(v string)
- func (x *ListUsersRequest) String() string
- type ListUsersResponse
- func (*ListUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUsersResponse) GetNextPageToken() string
- func (x *ListUsersResponse) GetUsers() []*User
- func (*ListUsersResponse) ProtoMessage()
- func (x *ListUsersResponse) ProtoReflect() protoreflect.Message
- func (x *ListUsersResponse) Reset()
- func (m *ListUsersResponse) SetNextPageToken(v string)
- func (m *ListUsersResponse) SetUsers(v []*User)
- func (x *ListUsersResponse) String() string
- type LogRecord
- func (*LogRecord) Descriptor() ([]byte, []int)deprecated
- func (x *LogRecord) GetMessage() map[string]string
- func (x *LogRecord) GetTimestamp() *timestamppb.Timestamp
- func (*LogRecord) ProtoMessage()
- func (x *LogRecord) ProtoReflect() protoreflect.Message
- func (x *LogRecord) Reset()
- func (m *LogRecord) SetMessage(v map[string]string)
- func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)
- func (x *LogRecord) String() string
- type MaintenanceOperation
- func (*MaintenanceOperation) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceOperation) GetDelayedUntil() *timestamppb.Timestamp
- func (x *MaintenanceOperation) GetInfo() string
- func (*MaintenanceOperation) ProtoMessage()
- func (x *MaintenanceOperation) ProtoReflect() protoreflect.Message
- func (x *MaintenanceOperation) Reset()
- func (m *MaintenanceOperation) SetDelayedUntil(v *timestamppb.Timestamp)
- func (m *MaintenanceOperation) SetInfo(v string)
- func (x *MaintenanceOperation) String() string
- type MaintenanceWindow
- func (*MaintenanceWindow) Descriptor() ([]byte, []int)deprecated
- func (x *MaintenanceWindow) GetAnytime() *AnytimeMaintenanceWindow
- func (m *MaintenanceWindow) GetPolicy() isMaintenanceWindow_Policy
- func (x *MaintenanceWindow) GetWeeklyMaintenanceWindow() *WeeklyMaintenanceWindow
- func (*MaintenanceWindow) ProtoMessage()
- func (x *MaintenanceWindow) ProtoReflect() protoreflect.Message
- func (x *MaintenanceWindow) Reset()
- func (m *MaintenanceWindow) SetAnytime(v *AnytimeMaintenanceWindow)
- func (m *MaintenanceWindow) SetPolicy(v MaintenanceWindow_Policy)
- func (m *MaintenanceWindow) SetWeeklyMaintenanceWindow(v *WeeklyMaintenanceWindow)
- func (x *MaintenanceWindow) String() string
- type MaintenanceWindow_Anytime
- type MaintenanceWindow_Policy
- type MaintenanceWindow_WeeklyMaintenanceWindow
- type Monitoring
- func (*Monitoring) Descriptor() ([]byte, []int)deprecated
- func (x *Monitoring) GetDescription() string
- func (x *Monitoring) GetLink() string
- func (x *Monitoring) GetName() string
- func (*Monitoring) ProtoMessage()
- func (x *Monitoring) ProtoReflect() protoreflect.Message
- func (x *Monitoring) Reset()
- func (m *Monitoring) SetDescription(v string)
- func (m *Monitoring) SetLink(v string)
- func (m *Monitoring) SetName(v string)
- func (x *Monitoring) String() string
- type MoveClusterMetadata
- func (*MoveClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *MoveClusterMetadata) GetClusterId() string
- func (x *MoveClusterMetadata) GetDestinationFolderId() string
- func (x *MoveClusterMetadata) GetSourceFolderId() string
- func (*MoveClusterMetadata) ProtoMessage()
- func (x *MoveClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *MoveClusterMetadata) Reset()
- func (m *MoveClusterMetadata) SetClusterId(v string)
- func (m *MoveClusterMetadata) SetDestinationFolderId(v string)
- func (m *MoveClusterMetadata) SetSourceFolderId(v string)
- func (x *MoveClusterMetadata) String() string
- type MoveClusterRequest
- func (*MoveClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *MoveClusterRequest) GetClusterId() string
- func (x *MoveClusterRequest) GetDestinationFolderId() string
- func (*MoveClusterRequest) ProtoMessage()
- func (x *MoveClusterRequest) ProtoReflect() protoreflect.Message
- func (x *MoveClusterRequest) Reset()
- func (m *MoveClusterRequest) SetClusterId(v string)
- func (m *MoveClusterRequest) SetDestinationFolderId(v string)
- func (x *MoveClusterRequest) String() string
- type PGAuditSettings
- func (*PGAuditSettings) Descriptor() ([]byte, []int)deprecated
- func (x *PGAuditSettings) GetLog() []PGAuditSettings_PGAuditSettingsLog
- func (*PGAuditSettings) ProtoMessage()
- func (x *PGAuditSettings) ProtoReflect() protoreflect.Message
- func (x *PGAuditSettings) Reset()
- func (m *PGAuditSettings) SetLog(v []PGAuditSettings_PGAuditSettingsLog)
- func (x *PGAuditSettings) String() string
- type PGAuditSettings_PGAuditSettingsLog
- func (PGAuditSettings_PGAuditSettingsLog) Descriptor() protoreflect.EnumDescriptor
- func (x PGAuditSettings_PGAuditSettingsLog) Enum() *PGAuditSettings_PGAuditSettingsLog
- func (PGAuditSettings_PGAuditSettingsLog) EnumDescriptor() ([]byte, []int)deprecated
- func (x PGAuditSettings_PGAuditSettingsLog) Number() protoreflect.EnumNumber
- func (x PGAuditSettings_PGAuditSettingsLog) String() string
- func (PGAuditSettings_PGAuditSettingsLog) Type() protoreflect.EnumType
- type PerformanceDiagnostics
- func (*PerformanceDiagnostics) Descriptor() ([]byte, []int)deprecated
- func (x *PerformanceDiagnostics) GetEnabled() bool
- func (x *PerformanceDiagnostics) GetSessionsSamplingInterval() int64
- func (x *PerformanceDiagnostics) GetStatementsSamplingInterval() int64
- func (*PerformanceDiagnostics) ProtoMessage()
- func (x *PerformanceDiagnostics) ProtoReflect() protoreflect.Message
- func (x *PerformanceDiagnostics) Reset()
- func (m *PerformanceDiagnostics) SetEnabled(v bool)
- func (m *PerformanceDiagnostics) SetSessionsSamplingInterval(v int64)
- func (m *PerformanceDiagnostics) SetStatementsSamplingInterval(v int64)
- func (x *PerformanceDiagnostics) String() string
- type PerformanceDiagnosticsServiceClient
- type PerformanceDiagnosticsServiceServer
- type Permission
- func (*Permission) Descriptor() ([]byte, []int)deprecated
- func (x *Permission) GetDatabaseName() string
- func (*Permission) ProtoMessage()
- func (x *Permission) ProtoReflect() protoreflect.Message
- func (x *Permission) Reset()
- func (m *Permission) SetDatabaseName(v string)
- func (x *Permission) String() string
- type PrimaryKey
- func (*PrimaryKey) Descriptor() ([]byte, []int)deprecated
- func (x *PrimaryKey) GetDatabase() string
- func (x *PrimaryKey) GetHost() string
- func (x *PrimaryKey) GetPlanId() string
- func (x *PrimaryKey) GetQueryId() string
- func (x *PrimaryKey) GetToplevel() bool
- func (x *PrimaryKey) GetUser() string
- func (*PrimaryKey) ProtoMessage()
- func (x *PrimaryKey) ProtoReflect() protoreflect.Message
- func (x *PrimaryKey) Reset()
- func (m *PrimaryKey) SetDatabase(v string)
- func (m *PrimaryKey) SetHost(v string)
- func (m *PrimaryKey) SetPlanId(v string)
- func (m *PrimaryKey) SetQueryId(v string)
- func (m *PrimaryKey) SetToplevel(v bool)
- func (m *PrimaryKey) SetUser(v string)
- func (x *PrimaryKey) String() string
- type QueryStatement
- func (*QueryStatement) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStatement) GetKey() *PrimaryKey
- func (x *QueryStatement) GetStats() *QueryStats
- func (*QueryStatement) ProtoMessage()
- func (x *QueryStatement) ProtoReflect() protoreflect.Message
- func (x *QueryStatement) Reset()
- func (m *QueryStatement) SetKey(v *PrimaryKey)
- func (m *QueryStatement) SetStats(v *QueryStats)
- func (x *QueryStatement) String() string
- type QueryStats
- func (*QueryStats) Descriptor() ([]byte, []int)deprecated
- func (x *QueryStats) GetBlkReadTime() float64
- func (x *QueryStats) GetBlkWriteTime() float64
- func (x *QueryStats) GetCalls() int64
- func (x *QueryStats) GetExamplePlan() string
- func (x *QueryStats) GetJitEmissionCount() int64
- func (x *QueryStats) GetJitEmissionTime() float64
- func (x *QueryStats) GetJitFunctions() int64
- func (x *QueryStats) GetJitGenerationTime() float64
- func (x *QueryStats) GetJitInliningCount() int64
- func (x *QueryStats) GetJitInliningTime() float64
- func (x *QueryStats) GetJitOptimizationCount() int64
- func (x *QueryStats) GetJitOptimizationTime() float64
- func (x *QueryStats) GetLocalBlksDirtied() int64
- func (x *QueryStats) GetLocalBlksHit() int64
- func (x *QueryStats) GetLocalBlksRead() int64
- func (x *QueryStats) GetLocalBlksWritten() int64
- func (x *QueryStats) GetMaxPlanTime() float64
- func (x *QueryStats) GetMaxTime() float64
- func (x *QueryStats) GetMeanPlanTime() float64
- func (x *QueryStats) GetMeanTime() float64
- func (x *QueryStats) GetMinPlanTime() float64
- func (x *QueryStats) GetMinTime() float64
- func (x *QueryStats) GetNormalizedPlan() string
- func (x *QueryStats) GetPlanRows() int64
- func (x *QueryStats) GetPlanWidth() int64
- func (x *QueryStats) GetPlans() int64
- func (x *QueryStats) GetQuery() string
- func (x *QueryStats) GetReads() int64
- func (x *QueryStats) GetRows() int64
- func (x *QueryStats) GetSharedBlksDirtied() int64
- func (x *QueryStats) GetSharedBlksHit() int64
- func (x *QueryStats) GetSharedBlksRead() int64
- func (x *QueryStats) GetSharedBlksWritten() int64
- func (x *QueryStats) GetStartupCost() int64
- func (x *QueryStats) GetStddevPlanTime() float64
- func (x *QueryStats) GetStddevTime() float64
- func (x *QueryStats) GetSystemTime() float64
- func (x *QueryStats) GetTempBlkReadTime() float64
- func (x *QueryStats) GetTempBlkWriteTime() float64
- func (x *QueryStats) GetTempBlksRead() int64
- func (x *QueryStats) GetTempBlksWritten() int64
- func (x *QueryStats) GetTime() *timestamppb.Timestamp
- func (x *QueryStats) GetTotalCost() int64
- func (x *QueryStats) GetTotalPlanTime() float64
- func (x *QueryStats) GetTotalTime() float64
- func (x *QueryStats) GetUserTime() float64
- func (x *QueryStats) GetWalBytes() int64
- func (x *QueryStats) GetWalFpi() int64
- func (x *QueryStats) GetWalRecords() int64
- func (x *QueryStats) GetWrites() int64
- func (*QueryStats) ProtoMessage()
- func (x *QueryStats) ProtoReflect() protoreflect.Message
- func (x *QueryStats) Reset()
- func (m *QueryStats) SetBlkReadTime(v float64)
- func (m *QueryStats) SetBlkWriteTime(v float64)
- func (m *QueryStats) SetCalls(v int64)
- func (m *QueryStats) SetExamplePlan(v string)
- func (m *QueryStats) SetJitEmissionCount(v int64)
- func (m *QueryStats) SetJitEmissionTime(v float64)
- func (m *QueryStats) SetJitFunctions(v int64)
- func (m *QueryStats) SetJitGenerationTime(v float64)
- func (m *QueryStats) SetJitInliningCount(v int64)
- func (m *QueryStats) SetJitInliningTime(v float64)
- func (m *QueryStats) SetJitOptimizationCount(v int64)
- func (m *QueryStats) SetJitOptimizationTime(v float64)
- func (m *QueryStats) SetLocalBlksDirtied(v int64)
- func (m *QueryStats) SetLocalBlksHit(v int64)
- func (m *QueryStats) SetLocalBlksRead(v int64)
- func (m *QueryStats) SetLocalBlksWritten(v int64)
- func (m *QueryStats) SetMaxPlanTime(v float64)
- func (m *QueryStats) SetMaxTime(v float64)
- func (m *QueryStats) SetMeanPlanTime(v float64)
- func (m *QueryStats) SetMeanTime(v float64)
- func (m *QueryStats) SetMinPlanTime(v float64)
- func (m *QueryStats) SetMinTime(v float64)
- func (m *QueryStats) SetNormalizedPlan(v string)
- func (m *QueryStats) SetPlanRows(v int64)
- func (m *QueryStats) SetPlanWidth(v int64)
- func (m *QueryStats) SetPlans(v int64)
- func (m *QueryStats) SetQuery(v string)
- func (m *QueryStats) SetReads(v int64)
- func (m *QueryStats) SetRows(v int64)
- func (m *QueryStats) SetSharedBlksDirtied(v int64)
- func (m *QueryStats) SetSharedBlksHit(v int64)
- func (m *QueryStats) SetSharedBlksRead(v int64)
- func (m *QueryStats) SetSharedBlksWritten(v int64)
- func (m *QueryStats) SetStartupCost(v int64)
- func (m *QueryStats) SetStddevPlanTime(v float64)
- func (m *QueryStats) SetStddevTime(v float64)
- func (m *QueryStats) SetSystemTime(v float64)
- func (m *QueryStats) SetTempBlkReadTime(v float64)
- func (m *QueryStats) SetTempBlkWriteTime(v float64)
- func (m *QueryStats) SetTempBlksRead(v int64)
- func (m *QueryStats) SetTempBlksWritten(v int64)
- func (m *QueryStats) SetTime(v *timestamppb.Timestamp)
- func (m *QueryStats) SetTotalCost(v int64)
- func (m *QueryStats) SetTotalPlanTime(v float64)
- func (m *QueryStats) SetTotalTime(v float64)
- func (m *QueryStats) SetUserTime(v float64)
- func (m *QueryStats) SetWalBytes(v int64)
- func (m *QueryStats) SetWalFpi(v int64)
- func (m *QueryStats) SetWalRecords(v int64)
- func (m *QueryStats) SetWrites(v int64)
- func (x *QueryStats) String() string
- type RescheduleMaintenanceMetadata
- func (*RescheduleMaintenanceMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RescheduleMaintenanceMetadata) GetClusterId() string
- func (x *RescheduleMaintenanceMetadata) GetDelayedUntil() *timestamppb.Timestamp
- func (*RescheduleMaintenanceMetadata) ProtoMessage()
- func (x *RescheduleMaintenanceMetadata) ProtoReflect() protoreflect.Message
- func (x *RescheduleMaintenanceMetadata) Reset()
- func (m *RescheduleMaintenanceMetadata) SetClusterId(v string)
- func (m *RescheduleMaintenanceMetadata) SetDelayedUntil(v *timestamppb.Timestamp)
- func (x *RescheduleMaintenanceMetadata) String() string
- type RescheduleMaintenanceRequest
- func (*RescheduleMaintenanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RescheduleMaintenanceRequest) GetClusterId() string
- func (x *RescheduleMaintenanceRequest) GetDelayedUntil() *timestamppb.Timestamp
- func (x *RescheduleMaintenanceRequest) GetRescheduleType() RescheduleMaintenanceRequest_RescheduleType
- func (*RescheduleMaintenanceRequest) ProtoMessage()
- func (x *RescheduleMaintenanceRequest) ProtoReflect() protoreflect.Message
- func (x *RescheduleMaintenanceRequest) Reset()
- func (m *RescheduleMaintenanceRequest) SetClusterId(v string)
- func (m *RescheduleMaintenanceRequest) SetDelayedUntil(v *timestamppb.Timestamp)
- func (m *RescheduleMaintenanceRequest) SetRescheduleType(v RescheduleMaintenanceRequest_RescheduleType)
- func (x *RescheduleMaintenanceRequest) String() string
- type RescheduleMaintenanceRequest_RescheduleType
- func (RescheduleMaintenanceRequest_RescheduleType) Descriptor() protoreflect.EnumDescriptor
- func (x RescheduleMaintenanceRequest_RescheduleType) Enum() *RescheduleMaintenanceRequest_RescheduleType
- func (RescheduleMaintenanceRequest_RescheduleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RescheduleMaintenanceRequest_RescheduleType) Number() protoreflect.EnumNumber
- func (x RescheduleMaintenanceRequest_RescheduleType) String() string
- func (RescheduleMaintenanceRequest_RescheduleType) Type() protoreflect.EnumType
- type ResourcePreset
- func (*ResourcePreset) Descriptor() ([]byte, []int)deprecated
- func (x *ResourcePreset) GetCores() int64
- func (x *ResourcePreset) GetId() string
- func (x *ResourcePreset) GetMemory() int64
- func (x *ResourcePreset) GetZoneIds() []string
- func (*ResourcePreset) ProtoMessage()
- func (x *ResourcePreset) ProtoReflect() protoreflect.Message
- func (x *ResourcePreset) Reset()
- func (m *ResourcePreset) SetCores(v int64)
- func (m *ResourcePreset) SetId(v string)
- func (m *ResourcePreset) SetMemory(v int64)
- func (m *ResourcePreset) SetZoneIds(v []string)
- func (x *ResourcePreset) String() string
- type ResourcePresetServiceClient
- type ResourcePresetServiceServer
- type Resources
- func (*Resources) Descriptor() ([]byte, []int)deprecated
- func (x *Resources) GetDiskSize() int64
- func (x *Resources) GetDiskTypeId() string
- func (x *Resources) GetResourcePresetId() string
- func (*Resources) ProtoMessage()
- func (x *Resources) ProtoReflect() protoreflect.Message
- func (x *Resources) Reset()
- func (m *Resources) SetDiskSize(v int64)
- func (m *Resources) SetDiskTypeId(v string)
- func (m *Resources) SetResourcePresetId(v string)
- func (x *Resources) String() string
- type RestoreClusterMetadata
- func (*RestoreClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreClusterMetadata) GetBackupId() string
- func (x *RestoreClusterMetadata) GetClusterId() string
- func (*RestoreClusterMetadata) ProtoMessage()
- func (x *RestoreClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *RestoreClusterMetadata) Reset()
- func (m *RestoreClusterMetadata) SetBackupId(v string)
- func (m *RestoreClusterMetadata) SetClusterId(v string)
- func (x *RestoreClusterMetadata) String() string
- type RestoreClusterRequest
- func (*RestoreClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestoreClusterRequest) GetBackupId() string
- func (x *RestoreClusterRequest) GetConfigSpec() *ConfigSpec
- func (x *RestoreClusterRequest) GetDeletionProtection() bool
- func (x *RestoreClusterRequest) GetDescription() string
- func (x *RestoreClusterRequest) GetEnvironment() Cluster_Environment
- func (x *RestoreClusterRequest) GetFolderId() string
- func (x *RestoreClusterRequest) GetHostGroupIds() []string
- func (x *RestoreClusterRequest) GetHostSpecs() []*HostSpec
- func (x *RestoreClusterRequest) GetLabels() map[string]string
- func (x *RestoreClusterRequest) GetName() string
- func (x *RestoreClusterRequest) GetNetworkId() string
- func (x *RestoreClusterRequest) GetSecurityGroupIds() []string
- func (x *RestoreClusterRequest) GetTime() *timestamppb.Timestamp
- func (x *RestoreClusterRequest) GetTimeInclusive() bool
- func (*RestoreClusterRequest) ProtoMessage()
- func (x *RestoreClusterRequest) ProtoReflect() protoreflect.Message
- func (x *RestoreClusterRequest) Reset()
- func (m *RestoreClusterRequest) SetBackupId(v string)
- func (m *RestoreClusterRequest) SetConfigSpec(v *ConfigSpec)
- func (m *RestoreClusterRequest) SetDeletionProtection(v bool)
- func (m *RestoreClusterRequest) SetDescription(v string)
- func (m *RestoreClusterRequest) SetEnvironment(v Cluster_Environment)
- func (m *RestoreClusterRequest) SetFolderId(v string)
- func (m *RestoreClusterRequest) SetHostGroupIds(v []string)
- func (m *RestoreClusterRequest) SetHostSpecs(v []*HostSpec)
- func (m *RestoreClusterRequest) SetLabels(v map[string]string)
- func (m *RestoreClusterRequest) SetName(v string)
- func (m *RestoreClusterRequest) SetNetworkId(v string)
- func (m *RestoreClusterRequest) SetSecurityGroupIds(v []string)
- func (m *RestoreClusterRequest) SetTime(v *timestamppb.Timestamp)
- func (m *RestoreClusterRequest) SetTimeInclusive(v bool)
- func (x *RestoreClusterRequest) String() string
- type RevokeUserPermissionMetadata
- func (*RevokeUserPermissionMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserPermissionMetadata) GetClusterId() string
- func (x *RevokeUserPermissionMetadata) GetUserName() string
- func (*RevokeUserPermissionMetadata) ProtoMessage()
- func (x *RevokeUserPermissionMetadata) ProtoReflect() protoreflect.Message
- func (x *RevokeUserPermissionMetadata) Reset()
- func (m *RevokeUserPermissionMetadata) SetClusterId(v string)
- func (m *RevokeUserPermissionMetadata) SetUserName(v string)
- func (x *RevokeUserPermissionMetadata) String() string
- type RevokeUserPermissionRequest
- func (*RevokeUserPermissionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RevokeUserPermissionRequest) GetClusterId() string
- func (x *RevokeUserPermissionRequest) GetDatabaseName() string
- func (x *RevokeUserPermissionRequest) GetUserName() string
- func (*RevokeUserPermissionRequest) ProtoMessage()
- func (x *RevokeUserPermissionRequest) ProtoReflect() protoreflect.Message
- func (x *RevokeUserPermissionRequest) Reset()
- func (m *RevokeUserPermissionRequest) SetClusterId(v string)
- func (m *RevokeUserPermissionRequest) SetDatabaseName(v string)
- func (m *RevokeUserPermissionRequest) SetUserName(v string)
- func (x *RevokeUserPermissionRequest) String() string
- type Service
- func (*Service) Descriptor() ([]byte, []int)deprecated
- func (x *Service) GetHealth() Service_Health
- func (x *Service) GetType() Service_Type
- func (*Service) ProtoMessage()
- func (x *Service) ProtoReflect() protoreflect.Message
- func (x *Service) Reset()
- func (m *Service) SetHealth(v Service_Health)
- func (m *Service) SetType(v Service_Type)
- func (x *Service) String() string
- type Service_Health
- func (Service_Health) Descriptor() protoreflect.EnumDescriptor
- func (x Service_Health) Enum() *Service_Health
- func (Service_Health) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_Health) Number() protoreflect.EnumNumber
- func (x Service_Health) String() string
- func (Service_Health) Type() protoreflect.EnumType
- type Service_Type
- func (Service_Type) Descriptor() protoreflect.EnumDescriptor
- func (x Service_Type) Enum() *Service_Type
- func (Service_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x Service_Type) Number() protoreflect.EnumNumber
- func (x Service_Type) String() string
- func (Service_Type) Type() protoreflect.EnumType
- type SessionState
- func (*SessionState) Descriptor() ([]byte, []int)deprecated
- func (x *SessionState) GetApplicationName() string
- func (x *SessionState) GetBackendStart() *timestamppb.Timestamp
- func (x *SessionState) GetBackendType() string
- func (x *SessionState) GetBackendXid() int64
- func (x *SessionState) GetBackendXmin() int64
- func (x *SessionState) GetBlockingPids() string
- func (x *SessionState) GetClientAddr() string
- func (x *SessionState) GetClientHostname() string
- func (x *SessionState) GetClientPort() int64
- func (x *SessionState) GetDatabase() string
- func (x *SessionState) GetHost() string
- func (x *SessionState) GetPid() int64
- func (x *SessionState) GetQuery() string
- func (x *SessionState) GetQueryId() string
- func (x *SessionState) GetQueryStart() *timestamppb.Timestamp
- func (x *SessionState) GetState() string
- func (x *SessionState) GetStateChange() *timestamppb.Timestamp
- func (x *SessionState) GetTime() *timestamppb.Timestamp
- func (x *SessionState) GetUser() string
- func (x *SessionState) GetWaitEvent() string
- func (x *SessionState) GetWaitEventType() string
- func (x *SessionState) GetXactStart() *timestamppb.Timestamp
- func (*SessionState) ProtoMessage()
- func (x *SessionState) ProtoReflect() protoreflect.Message
- func (x *SessionState) Reset()
- func (m *SessionState) SetApplicationName(v string)
- func (m *SessionState) SetBackendStart(v *timestamppb.Timestamp)
- func (m *SessionState) SetBackendType(v string)
- func (m *SessionState) SetBackendXid(v int64)
- func (m *SessionState) SetBackendXmin(v int64)
- func (m *SessionState) SetBlockingPids(v string)
- func (m *SessionState) SetClientAddr(v string)
- func (m *SessionState) SetClientHostname(v string)
- func (m *SessionState) SetClientPort(v int64)
- func (m *SessionState) SetDatabase(v string)
- func (m *SessionState) SetHost(v string)
- func (m *SessionState) SetPid(v int64)
- func (m *SessionState) SetQuery(v string)
- func (m *SessionState) SetQueryId(v string)
- func (m *SessionState) SetQueryStart(v *timestamppb.Timestamp)
- func (m *SessionState) SetState(v string)
- func (m *SessionState) SetStateChange(v *timestamppb.Timestamp)
- func (m *SessionState) SetTime(v *timestamppb.Timestamp)
- func (m *SessionState) SetUser(v string)
- func (m *SessionState) SetWaitEvent(v string)
- func (m *SessionState) SetWaitEventType(v string)
- func (m *SessionState) SetXactStart(v *timestamppb.Timestamp)
- func (x *SessionState) String() string
- type StartClusterFailoverMetadata
- func (*StartClusterFailoverMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StartClusterFailoverMetadata) GetClusterId() string
- func (*StartClusterFailoverMetadata) ProtoMessage()
- func (x *StartClusterFailoverMetadata) ProtoReflect() protoreflect.Message
- func (x *StartClusterFailoverMetadata) Reset()
- func (m *StartClusterFailoverMetadata) SetClusterId(v string)
- func (x *StartClusterFailoverMetadata) String() string
- type StartClusterFailoverRequest
- func (*StartClusterFailoverRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartClusterFailoverRequest) GetClusterId() string
- func (x *StartClusterFailoverRequest) GetHostName() string
- func (*StartClusterFailoverRequest) ProtoMessage()
- func (x *StartClusterFailoverRequest) ProtoReflect() protoreflect.Message
- func (x *StartClusterFailoverRequest) Reset()
- func (m *StartClusterFailoverRequest) SetClusterId(v string)
- func (m *StartClusterFailoverRequest) SetHostName(v string)
- func (x *StartClusterFailoverRequest) String() string
- type StartClusterMetadata
- func (*StartClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StartClusterMetadata) GetClusterId() string
- func (*StartClusterMetadata) ProtoMessage()
- func (x *StartClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *StartClusterMetadata) Reset()
- func (m *StartClusterMetadata) SetClusterId(v string)
- func (x *StartClusterMetadata) String() string
- type StartClusterRequest
- func (*StartClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StartClusterRequest) GetClusterId() string
- func (*StartClusterRequest) ProtoMessage()
- func (x *StartClusterRequest) ProtoReflect() protoreflect.Message
- func (x *StartClusterRequest) Reset()
- func (m *StartClusterRequest) SetClusterId(v string)
- func (x *StartClusterRequest) String() string
- type StopClusterMetadata
- func (*StopClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *StopClusterMetadata) GetClusterId() string
- func (*StopClusterMetadata) ProtoMessage()
- func (x *StopClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *StopClusterMetadata) Reset()
- func (m *StopClusterMetadata) SetClusterId(v string)
- func (x *StopClusterMetadata) String() string
- type StopClusterRequest
- func (*StopClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StopClusterRequest) GetClusterId() string
- func (*StopClusterRequest) ProtoMessage()
- func (x *StopClusterRequest) ProtoReflect() protoreflect.Message
- func (x *StopClusterRequest) Reset()
- func (m *StopClusterRequest) SetClusterId(v string)
- func (x *StopClusterRequest) String() string
- type StreamClusterLogsRequest
- func (*StreamClusterLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamClusterLogsRequest) GetClusterId() string
- func (x *StreamClusterLogsRequest) GetColumnFilter() []string
- func (x *StreamClusterLogsRequest) GetFilter() string
- func (x *StreamClusterLogsRequest) GetFromTime() *timestamppb.Timestamp
- func (x *StreamClusterLogsRequest) GetRecordToken() string
- func (x *StreamClusterLogsRequest) GetServiceType() StreamClusterLogsRequest_ServiceType
- func (x *StreamClusterLogsRequest) GetToTime() *timestamppb.Timestamp
- func (*StreamClusterLogsRequest) ProtoMessage()
- func (x *StreamClusterLogsRequest) ProtoReflect() protoreflect.Message
- func (x *StreamClusterLogsRequest) Reset()
- func (m *StreamClusterLogsRequest) SetClusterId(v string)
- func (m *StreamClusterLogsRequest) SetColumnFilter(v []string)
- func (m *StreamClusterLogsRequest) SetFilter(v string)
- func (m *StreamClusterLogsRequest) SetFromTime(v *timestamppb.Timestamp)
- func (m *StreamClusterLogsRequest) SetRecordToken(v string)
- func (m *StreamClusterLogsRequest) SetServiceType(v StreamClusterLogsRequest_ServiceType)
- func (m *StreamClusterLogsRequest) SetToTime(v *timestamppb.Timestamp)
- func (x *StreamClusterLogsRequest) String() string
- type StreamClusterLogsRequest_ServiceType
- func (StreamClusterLogsRequest_ServiceType) Descriptor() protoreflect.EnumDescriptor
- func (x StreamClusterLogsRequest_ServiceType) Enum() *StreamClusterLogsRequest_ServiceType
- func (StreamClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamClusterLogsRequest_ServiceType) Number() protoreflect.EnumNumber
- func (x StreamClusterLogsRequest_ServiceType) String() string
- func (StreamClusterLogsRequest_ServiceType) Type() protoreflect.EnumType
- type StreamLogRecord
- func (*StreamLogRecord) Descriptor() ([]byte, []int)deprecated
- func (x *StreamLogRecord) GetNextRecordToken() string
- func (x *StreamLogRecord) GetRecord() *LogRecord
- func (*StreamLogRecord) ProtoMessage()
- func (x *StreamLogRecord) ProtoReflect() protoreflect.Message
- func (x *StreamLogRecord) Reset()
- func (m *StreamLogRecord) SetNextRecordToken(v string)
- func (m *StreamLogRecord) SetRecord(v *LogRecord)
- func (x *StreamLogRecord) String() string
- type UnimplementedBackupServiceServer
- func (UnimplementedBackupServiceServer) Delete(context.Context, *DeleteBackupRequest) (*operation.Operation, error)
- func (UnimplementedBackupServiceServer) Get(context.Context, *GetBackupRequest) (*Backup, error)
- func (UnimplementedBackupServiceServer) List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
- type UnimplementedClusterServiceServer
- func (UnimplementedClusterServiceServer) AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Create(context.Context, *CreateClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Get(context.Context, *GetClusterRequest) (*Cluster, error)
- func (UnimplementedClusterServiceServer) List(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
- func (UnimplementedClusterServiceServer) ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
- func (UnimplementedClusterServiceServer) ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
- func (UnimplementedClusterServiceServer) ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
- func (UnimplementedClusterServiceServer) ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
- func (UnimplementedClusterServiceServer) Move(context.Context, *MoveClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) RescheduleMaintenance(context.Context, *RescheduleMaintenanceRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Start(context.Context, *StartClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) Stop(context.Context, *StopClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) StreamLogs(*StreamClusterLogsRequest, grpc.ServerStreamingServer[StreamLogRecord]) error
- func (UnimplementedClusterServiceServer) Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error)
- func (UnimplementedClusterServiceServer) UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*operation.Operation, error)
- type UnimplementedDatabaseServiceServer
- func (UnimplementedDatabaseServiceServer) Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error)
- func (UnimplementedDatabaseServiceServer) Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error)
- func (UnimplementedDatabaseServiceServer) Get(context.Context, *GetDatabaseRequest) (*Database, error)
- func (UnimplementedDatabaseServiceServer) List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
- func (UnimplementedDatabaseServiceServer) Update(context.Context, *UpdateDatabaseRequest) (*operation.Operation, error)
- type UnimplementedPerformanceDiagnosticsServiceServer
- func (UnimplementedPerformanceDiagnosticsServiceServer) ListRawSessionStates(context.Context, *ListRawSessionStatesRequest) (*ListRawSessionStatesResponse, error)
- func (UnimplementedPerformanceDiagnosticsServiceServer) ListRawStatements(context.Context, *ListRawStatementsRequest) (*ListRawStatementsResponse, error)
- type UnimplementedResourcePresetServiceServer
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) Create(context.Context, *CreateUserRequest) (*operation.Operation, error)
- func (UnimplementedUserServiceServer) Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error)
- func (UnimplementedUserServiceServer) Get(context.Context, *GetUserRequest) (*User, error)
- func (UnimplementedUserServiceServer) GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error)
- func (UnimplementedUserServiceServer) List(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
- func (UnimplementedUserServiceServer) RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error)
- func (UnimplementedUserServiceServer) Update(context.Context, *UpdateUserRequest) (*operation.Operation, error)
- type UnsafeBackupServiceServer
- type UnsafeClusterServiceServer
- type UnsafeDatabaseServiceServer
- type UnsafePerformanceDiagnosticsServiceServer
- type UnsafeResourcePresetServiceServer
- type UnsafeUserServiceServer
- type UpdateClusterHostsMetadata
- func (*UpdateClusterHostsMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterHostsMetadata) GetClusterId() string
- func (x *UpdateClusterHostsMetadata) GetHostNames() []string
- func (*UpdateClusterHostsMetadata) ProtoMessage()
- func (x *UpdateClusterHostsMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterHostsMetadata) Reset()
- func (m *UpdateClusterHostsMetadata) SetClusterId(v string)
- func (m *UpdateClusterHostsMetadata) SetHostNames(v []string)
- func (x *UpdateClusterHostsMetadata) String() string
- type UpdateClusterHostsRequest
- func (*UpdateClusterHostsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterHostsRequest) GetClusterId() string
- func (x *UpdateClusterHostsRequest) GetUpdateHostSpecs() []*UpdateHostSpec
- func (*UpdateClusterHostsRequest) ProtoMessage()
- func (x *UpdateClusterHostsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterHostsRequest) Reset()
- func (m *UpdateClusterHostsRequest) SetClusterId(v string)
- func (m *UpdateClusterHostsRequest) SetUpdateHostSpecs(v []*UpdateHostSpec)
- func (x *UpdateClusterHostsRequest) String() string
- type UpdateClusterMetadata
- func (*UpdateClusterMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterMetadata) GetClusterId() string
- func (*UpdateClusterMetadata) ProtoMessage()
- func (x *UpdateClusterMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterMetadata) Reset()
- func (m *UpdateClusterMetadata) SetClusterId(v string)
- func (x *UpdateClusterMetadata) String() string
- type UpdateClusterRequest
- func (*UpdateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterRequest) GetClusterId() string
- func (x *UpdateClusterRequest) GetConfigSpec() *ConfigSpec
- func (x *UpdateClusterRequest) GetDeletionProtection() bool
- func (x *UpdateClusterRequest) GetDescription() string
- func (x *UpdateClusterRequest) GetLabels() map[string]string
- func (x *UpdateClusterRequest) GetMaintenanceWindow() *MaintenanceWindow
- func (x *UpdateClusterRequest) GetName() string
- func (x *UpdateClusterRequest) GetNetworkId() string
- func (x *UpdateClusterRequest) GetSecurityGroupIds() []string
- func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateClusterRequest) ProtoMessage()
- func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterRequest) Reset()
- func (m *UpdateClusterRequest) SetClusterId(v string)
- func (m *UpdateClusterRequest) SetConfigSpec(v *ConfigSpec)
- func (m *UpdateClusterRequest) SetDeletionProtection(v bool)
- func (m *UpdateClusterRequest) SetDescription(v string)
- func (m *UpdateClusterRequest) SetLabels(v map[string]string)
- func (m *UpdateClusterRequest) SetMaintenanceWindow(v *MaintenanceWindow)
- func (m *UpdateClusterRequest) SetName(v string)
- func (m *UpdateClusterRequest) SetNetworkId(v string)
- func (m *UpdateClusterRequest) SetSecurityGroupIds(v []string)
- func (m *UpdateClusterRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateClusterRequest) String() string
- type UpdateDatabaseMetadata
- func (*UpdateDatabaseMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDatabaseMetadata) GetClusterId() string
- func (x *UpdateDatabaseMetadata) GetDatabaseName() string
- func (*UpdateDatabaseMetadata) ProtoMessage()
- func (x *UpdateDatabaseMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateDatabaseMetadata) Reset()
- func (m *UpdateDatabaseMetadata) SetClusterId(v string)
- func (m *UpdateDatabaseMetadata) SetDatabaseName(v string)
- func (x *UpdateDatabaseMetadata) String() string
- type UpdateDatabaseRequest
- func (*UpdateDatabaseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateDatabaseRequest) GetClusterId() string
- func (x *UpdateDatabaseRequest) GetDatabaseName() string
- func (x *UpdateDatabaseRequest) GetDeletionProtection() *wrapperspb.BoolValue
- func (x *UpdateDatabaseRequest) GetExtensions() []*Extension
- func (x *UpdateDatabaseRequest) GetNewDatabaseName() string
- func (x *UpdateDatabaseRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateDatabaseRequest) ProtoMessage()
- func (x *UpdateDatabaseRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateDatabaseRequest) Reset()
- func (m *UpdateDatabaseRequest) SetClusterId(v string)
- func (m *UpdateDatabaseRequest) SetDatabaseName(v string)
- func (m *UpdateDatabaseRequest) SetDeletionProtection(v *wrapperspb.BoolValue)
- func (m *UpdateDatabaseRequest) SetExtensions(v []*Extension)
- func (m *UpdateDatabaseRequest) SetNewDatabaseName(v string)
- func (m *UpdateDatabaseRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateDatabaseRequest) String() string
- type UpdateHostSpec
- func (*UpdateHostSpec) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateHostSpec) GetAssignPublicIp() bool
- func (x *UpdateHostSpec) GetConfigSpec() *ConfigHostSpec
- func (x *UpdateHostSpec) GetHostName() string
- func (x *UpdateHostSpec) GetPriority() *wrapperspb.Int64Value
- func (x *UpdateHostSpec) GetReplicationSource() string
- func (x *UpdateHostSpec) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateHostSpec) ProtoMessage()
- func (x *UpdateHostSpec) ProtoReflect() protoreflect.Message
- func (x *UpdateHostSpec) Reset()
- func (m *UpdateHostSpec) SetAssignPublicIp(v bool)
- func (m *UpdateHostSpec) SetConfigSpec(v *ConfigHostSpec)
- func (m *UpdateHostSpec) SetHostName(v string)
- func (m *UpdateHostSpec) SetPriority(v *wrapperspb.Int64Value)
- func (m *UpdateHostSpec) SetReplicationSource(v string)
- func (m *UpdateHostSpec) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (x *UpdateHostSpec) String() string
- type UpdateUserMetadata
- func (*UpdateUserMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserMetadata) GetClusterId() string
- func (x *UpdateUserMetadata) GetUserName() string
- func (*UpdateUserMetadata) ProtoMessage()
- func (x *UpdateUserMetadata) ProtoReflect() protoreflect.Message
- func (x *UpdateUserMetadata) Reset()
- func (m *UpdateUserMetadata) SetClusterId(v string)
- func (m *UpdateUserMetadata) SetUserName(v string)
- func (x *UpdateUserMetadata) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetClusterId() string
- func (x *UpdateUserRequest) GetConnLimit() int64
- func (x *UpdateUserRequest) GetDeletionProtection() *wrapperspb.BoolValue
- func (x *UpdateUserRequest) GetGrants() []string
- func (x *UpdateUserRequest) GetLogin() *wrapperspb.BoolValue
- func (x *UpdateUserRequest) GetPassword() string
- func (x *UpdateUserRequest) GetPermissions() []*Permission
- func (x *UpdateUserRequest) GetSettings() *UserSettings
- func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (x *UpdateUserRequest) GetUserName() string
- func (x *UpdateUserRequest) GetUserPasswordEncryption() UserPasswordEncryption
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (m *UpdateUserRequest) SetClusterId(v string)
- func (m *UpdateUserRequest) SetConnLimit(v int64)
- func (m *UpdateUserRequest) SetDeletionProtection(v *wrapperspb.BoolValue)
- func (m *UpdateUserRequest) SetGrants(v []string)
- func (m *UpdateUserRequest) SetLogin(v *wrapperspb.BoolValue)
- func (m *UpdateUserRequest) SetPassword(v string)
- func (m *UpdateUserRequest) SetPermissions(v []*Permission)
- func (m *UpdateUserRequest) SetSettings(v *UserSettings)
- func (m *UpdateUserRequest) SetUpdateMask(v *fieldmaskpb.FieldMask)
- func (m *UpdateUserRequest) SetUserName(v string)
- func (m *UpdateUserRequest) SetUserPasswordEncryption(v UserPasswordEncryption)
- func (x *UpdateUserRequest) String() string
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetClusterId() string
- func (x *User) GetConnLimit() int64
- func (x *User) GetDeletionProtection() *wrapperspb.BoolValue
- func (x *User) GetGrants() []string
- func (x *User) GetLogin() *wrapperspb.BoolValue
- func (x *User) GetName() string
- func (x *User) GetPermissions() []*Permission
- func (x *User) GetSettings() *UserSettings
- func (x *User) GetUserPasswordEncryption() UserPasswordEncryption
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (m *User) SetClusterId(v string)
- func (m *User) SetConnLimit(v int64)
- func (m *User) SetDeletionProtection(v *wrapperspb.BoolValue)
- func (m *User) SetGrants(v []string)
- func (m *User) SetLogin(v *wrapperspb.BoolValue)
- func (m *User) SetName(v string)
- func (m *User) SetPermissions(v []*Permission)
- func (m *User) SetSettings(v *UserSettings)
- func (m *User) SetUserPasswordEncryption(v UserPasswordEncryption)
- func (x *User) String() string
- type UserPasswordEncryption
- func (UserPasswordEncryption) Descriptor() protoreflect.EnumDescriptor
- func (x UserPasswordEncryption) Enum() *UserPasswordEncryption
- func (UserPasswordEncryption) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserPasswordEncryption) Number() protoreflect.EnumNumber
- func (x UserPasswordEncryption) String() string
- func (UserPasswordEncryption) Type() protoreflect.EnumType
- type UserServiceClient
- type UserServiceServer
- type UserSettings
- func (*UserSettings) Descriptor() ([]byte, []int)deprecated
- func (x *UserSettings) GetCatchupTimeout() *wrapperspb.Int64Value
- func (x *UserSettings) GetDefaultTransactionIsolation() UserSettings_TransactionIsolation
- func (x *UserSettings) GetIdleInTransactionSessionTimeout() *wrapperspb.Int64Value
- func (x *UserSettings) GetLockTimeout() *wrapperspb.Int64Value
- func (x *UserSettings) GetLogMinDurationStatement() *wrapperspb.Int64Value
- func (x *UserSettings) GetLogStatement() UserSettings_LogStatement
- func (x *UserSettings) GetPgaudit() *PGAuditSettings
- func (x *UserSettings) GetPoolMode() UserSettings_PoolingMode
- func (x *UserSettings) GetPreparedStatementsPooling() *wrapperspb.BoolValue
- func (x *UserSettings) GetStatementTimeout() *wrapperspb.Int64Value
- func (x *UserSettings) GetSynchronousCommit() UserSettings_SynchronousCommit
- func (x *UserSettings) GetTempFileLimit() *wrapperspb.Int64Value
- func (x *UserSettings) GetWalSenderTimeout() *wrapperspb.Int64Value
- func (*UserSettings) ProtoMessage()
- func (x *UserSettings) ProtoReflect() protoreflect.Message
- func (x *UserSettings) Reset()
- func (m *UserSettings) SetCatchupTimeout(v *wrapperspb.Int64Value)
- func (m *UserSettings) SetDefaultTransactionIsolation(v UserSettings_TransactionIsolation)
- func (m *UserSettings) SetIdleInTransactionSessionTimeout(v *wrapperspb.Int64Value)
- func (m *UserSettings) SetLockTimeout(v *wrapperspb.Int64Value)
- func (m *UserSettings) SetLogMinDurationStatement(v *wrapperspb.Int64Value)
- func (m *UserSettings) SetLogStatement(v UserSettings_LogStatement)
- func (m *UserSettings) SetPgaudit(v *PGAuditSettings)
- func (m *UserSettings) SetPoolMode(v UserSettings_PoolingMode)
- func (m *UserSettings) SetPreparedStatementsPooling(v *wrapperspb.BoolValue)
- func (m *UserSettings) SetStatementTimeout(v *wrapperspb.Int64Value)
- func (m *UserSettings) SetSynchronousCommit(v UserSettings_SynchronousCommit)
- func (m *UserSettings) SetTempFileLimit(v *wrapperspb.Int64Value)
- func (m *UserSettings) SetWalSenderTimeout(v *wrapperspb.Int64Value)
- func (x *UserSettings) String() string
- type UserSettings_LogStatement
- func (UserSettings_LogStatement) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_LogStatement) Enum() *UserSettings_LogStatement
- func (UserSettings_LogStatement) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_LogStatement) Number() protoreflect.EnumNumber
- func (x UserSettings_LogStatement) String() string
- func (UserSettings_LogStatement) Type() protoreflect.EnumType
- type UserSettings_PoolingMode
- func (UserSettings_PoolingMode) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_PoolingMode) Enum() *UserSettings_PoolingMode
- func (UserSettings_PoolingMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_PoolingMode) Number() protoreflect.EnumNumber
- func (x UserSettings_PoolingMode) String() string
- func (UserSettings_PoolingMode) Type() protoreflect.EnumType
- type UserSettings_SynchronousCommit
- func (UserSettings_SynchronousCommit) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_SynchronousCommit) Enum() *UserSettings_SynchronousCommit
- func (UserSettings_SynchronousCommit) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_SynchronousCommit) Number() protoreflect.EnumNumber
- func (x UserSettings_SynchronousCommit) String() string
- func (UserSettings_SynchronousCommit) Type() protoreflect.EnumType
- type UserSettings_TransactionIsolation
- func (UserSettings_TransactionIsolation) Descriptor() protoreflect.EnumDescriptor
- func (x UserSettings_TransactionIsolation) Enum() *UserSettings_TransactionIsolation
- func (UserSettings_TransactionIsolation) EnumDescriptor() ([]byte, []int)deprecated
- func (x UserSettings_TransactionIsolation) Number() protoreflect.EnumNumber
- func (x UserSettings_TransactionIsolation) String() string
- func (UserSettings_TransactionIsolation) Type() protoreflect.EnumType
- type UserSpec
- func (*UserSpec) Descriptor() ([]byte, []int)deprecated
- func (x *UserSpec) GetConnLimit() *wrapperspb.Int64Value
- func (x *UserSpec) GetDeletionProtection() *wrapperspb.BoolValue
- func (x *UserSpec) GetGrants() []string
- func (x *UserSpec) GetLogin() *wrapperspb.BoolValue
- func (x *UserSpec) GetName() string
- func (x *UserSpec) GetPassword() string
- func (x *UserSpec) GetPermissions() []*Permission
- func (x *UserSpec) GetSettings() *UserSettings
- func (x *UserSpec) GetUserPasswordEncryption() UserPasswordEncryption
- func (*UserSpec) ProtoMessage()
- func (x *UserSpec) ProtoReflect() protoreflect.Message
- func (x *UserSpec) Reset()
- func (m *UserSpec) SetConnLimit(v *wrapperspb.Int64Value)
- func (m *UserSpec) SetDeletionProtection(v *wrapperspb.BoolValue)
- func (m *UserSpec) SetGrants(v []string)
- func (m *UserSpec) SetLogin(v *wrapperspb.BoolValue)
- func (m *UserSpec) SetName(v string)
- func (m *UserSpec) SetPassword(v string)
- func (m *UserSpec) SetPermissions(v []*Permission)
- func (m *UserSpec) SetSettings(v *UserSettings)
- func (m *UserSpec) SetUserPasswordEncryption(v UserPasswordEncryption)
- func (x *UserSpec) String() string
- type WeeklyMaintenanceWindow
- func (*WeeklyMaintenanceWindow) Descriptor() ([]byte, []int)deprecated
- func (x *WeeklyMaintenanceWindow) GetDay() WeeklyMaintenanceWindow_WeekDay
- func (x *WeeklyMaintenanceWindow) GetHour() int64
- func (*WeeklyMaintenanceWindow) ProtoMessage()
- func (x *WeeklyMaintenanceWindow) ProtoReflect() protoreflect.Message
- func (x *WeeklyMaintenanceWindow) Reset()
- func (m *WeeklyMaintenanceWindow) SetDay(v WeeklyMaintenanceWindow_WeekDay)
- func (m *WeeklyMaintenanceWindow) SetHour(v int64)
- func (x *WeeklyMaintenanceWindow) String() string
- type WeeklyMaintenanceWindow_WeekDay
- func (WeeklyMaintenanceWindow_WeekDay) Descriptor() protoreflect.EnumDescriptor
- func (x WeeklyMaintenanceWindow_WeekDay) Enum() *WeeklyMaintenanceWindow_WeekDay
- func (WeeklyMaintenanceWindow_WeekDay) EnumDescriptor() ([]byte, []int)deprecated
- func (x WeeklyMaintenanceWindow_WeekDay) Number() protoreflect.EnumNumber
- func (x WeeklyMaintenanceWindow_WeekDay) String() string
- func (WeeklyMaintenanceWindow_WeekDay) Type() protoreflect.EnumType
Constants ¶
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" )
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" )
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" )
const ( PerformanceDiagnosticsService_ListRawSessionStates_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.PerformanceDiagnosticsService/ListRawSessionStates" PerformanceDiagnosticsService_ListRawStatements_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.PerformanceDiagnosticsService/ListRawStatements" )
const ( ResourcePresetService_Get_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.ResourcePresetService/Get" ResourcePresetService_List_FullMethodName = "/yandex.cloud.mdb.postgresql.v1.ResourcePresetService/List" )
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 ¶
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.
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.
var ( Backup_BackupStatus_name = map[int32]string{ 0: "BACKUP_STATUS_UNSPECIFIED", 1: "DONE", 2: "CREATING", } Backup_BackupStatus_value = map[string]int32{ "BACKUP_STATUS_UNSPECIFIED": 0, "DONE": 1, "CREATING": 2, } )
Enum value maps for Backup_BackupStatus.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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)
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)
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)
var File_yandex_cloud_mdb_postgresql_v1_backup_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_backup_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_cluster_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_cluster_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_database_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_database_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_maintenance_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_perf_diag_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_perf_diag_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_resource_preset_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_resource_preset_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_user_proto protoreflect.FileDescriptor
var File_yandex_cloud_mdb_postgresql_v1_user_service_proto protoreflect.FileDescriptor
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)
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)
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) GetDataLens ¶
func (*Access) GetDataTransfer ¶
func (*Access) GetServerless ¶
func (*Access) GetYandexQuery ¶
func (*Access) ProtoMessage ¶
func (*Access) ProtoMessage()
func (*Access) ProtoReflect ¶
func (x *Access) ProtoReflect() protoreflect.Message
func (*Access) SetDataLens ¶
func (*Access) SetDataTransfer ¶
func (*Access) SetServerless ¶
func (*Access) SetYandexQuery ¶
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"` // Status of backup Status Backup_BackupStatus `protobuf:"varint,10,opt,name=status,proto3,enum=yandex.cloud.mdb.postgresql.v1.Backup_BackupStatus" json:"status,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) GetCreatedAt ¶
func (x *Backup) GetCreatedAt() *timestamppb.Timestamp
func (*Backup) GetFolderId ¶
func (*Backup) GetJournalSize ¶
func (*Backup) GetMethod ¶
func (x *Backup) GetMethod() Backup_BackupMethod
func (*Backup) GetSourceClusterId ¶
func (*Backup) GetStartedAt ¶
func (x *Backup) GetStartedAt() *timestamppb.Timestamp
func (*Backup) GetStatus ¶
func (x *Backup) GetStatus() Backup_BackupStatus
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) SetCreatedAt ¶
func (m *Backup) SetCreatedAt(v *timestamppb.Timestamp)
func (*Backup) SetFolderId ¶
func (*Backup) SetJournalSize ¶
func (*Backup) SetMethod ¶
func (m *Backup) SetMethod(v Backup_BackupMethod)
func (*Backup) SetSourceClusterId ¶
func (*Backup) SetStartedAt ¶
func (m *Backup) SetStartedAt(v *timestamppb.Timestamp)
func (*Backup) SetStatus ¶
func (m *Backup) SetStatus(v Backup_BackupStatus)
func (*Backup) SetType ¶
func (m *Backup) SetType(v Backup_BackupCreationType)
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.
A set of methods for managing PostgreSQL Backup resources.
func NewBackupServiceClient ¶
func NewBackupServiceClient(cc grpc.ClientConnInterface) BackupServiceClient
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.
A set of methods for managing PostgreSQL Backup resources.
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) Descriptor() protoreflect.EnumDescriptor
func (Backup_BackupCreationType) Enum ¶
func (x Backup_BackupCreationType) Enum() *Backup_BackupCreationType
func (Backup_BackupCreationType) EnumDescriptor
deprecated
func (Backup_BackupCreationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_BackupCreationType.Descriptor instead.
func (Backup_BackupCreationType) Number ¶
func (x Backup_BackupCreationType) Number() protoreflect.EnumNumber
func (Backup_BackupCreationType) String ¶
func (x Backup_BackupCreationType) String() string
func (Backup_BackupCreationType) Type ¶
func (Backup_BackupCreationType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Backup_BackupMethod) Enum ¶
func (x Backup_BackupMethod) Enum() *Backup_BackupMethod
func (Backup_BackupMethod) EnumDescriptor
deprecated
func (Backup_BackupMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_BackupMethod.Descriptor instead.
func (Backup_BackupMethod) Number ¶
func (x Backup_BackupMethod) Number() protoreflect.EnumNumber
func (Backup_BackupMethod) String ¶
func (x Backup_BackupMethod) String() string
func (Backup_BackupMethod) Type ¶
func (Backup_BackupMethod) Type() protoreflect.EnumType
type Backup_BackupStatus ¶
type Backup_BackupStatus int32
const ( Backup_BACKUP_STATUS_UNSPECIFIED Backup_BackupStatus = 0 // Backup is done Backup_DONE Backup_BackupStatus = 1 // Backup is creating Backup_CREATING Backup_BackupStatus = 2 )
func (Backup_BackupStatus) Descriptor ¶
func (Backup_BackupStatus) Descriptor() protoreflect.EnumDescriptor
func (Backup_BackupStatus) Enum ¶
func (x Backup_BackupStatus) Enum() *Backup_BackupStatus
func (Backup_BackupStatus) EnumDescriptor
deprecated
func (Backup_BackupStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_BackupStatus.Descriptor instead.
func (Backup_BackupStatus) Number ¶
func (x Backup_BackupStatus) Number() protoreflect.EnumNumber
func (Backup_BackupStatus) String ¶
func (x Backup_BackupStatus) String() string
func (Backup_BackupStatus) Type ¶
func (Backup_BackupStatus) Type() protoreflect.EnumType
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) GetConfig ¶
func (x *Cluster) GetConfig() *ClusterConfig
func (*Cluster) GetCreatedAt ¶
func (x *Cluster) GetCreatedAt() *timestamppb.Timestamp
func (*Cluster) GetDeletionProtection ¶
func (*Cluster) GetDescription ¶
func (*Cluster) GetEnvironment ¶
func (x *Cluster) GetEnvironment() Cluster_Environment
func (*Cluster) GetFolderId ¶
func (*Cluster) GetHealth ¶
func (x *Cluster) GetHealth() Cluster_Health
func (*Cluster) GetHostGroupIds ¶
func (*Cluster) GetMaintenanceWindow ¶
func (x *Cluster) GetMaintenanceWindow() *MaintenanceWindow
func (*Cluster) GetMonitoring ¶
func (x *Cluster) GetMonitoring() []*Monitoring
func (*Cluster) GetNetworkId ¶
func (*Cluster) GetPlannedOperation ¶
func (x *Cluster) GetPlannedOperation() *MaintenanceOperation
func (*Cluster) GetSecurityGroupIds ¶
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) SetConfig ¶
func (m *Cluster) SetConfig(v *ClusterConfig)
func (*Cluster) SetCreatedAt ¶
func (m *Cluster) SetCreatedAt(v *timestamppb.Timestamp)
func (*Cluster) SetDeletionProtection ¶
func (*Cluster) SetDescription ¶
func (*Cluster) SetEnvironment ¶
func (m *Cluster) SetEnvironment(v Cluster_Environment)
func (*Cluster) SetFolderId ¶
func (*Cluster) SetHealth ¶
func (m *Cluster) SetHealth(v Cluster_Health)
func (*Cluster) SetHostGroupIds ¶
func (*Cluster) SetMaintenanceWindow ¶
func (m *Cluster) SetMaintenanceWindow(v *MaintenanceWindow)
func (*Cluster) SetMonitoring ¶
func (m *Cluster) SetMonitoring(v []*Monitoring)
func (*Cluster) SetNetworkId ¶
func (*Cluster) SetPlannedOperation ¶
func (m *Cluster) SetPlannedOperation(v *MaintenanceOperation)
func (*Cluster) SetSecurityGroupIds ¶
func (*Cluster) SetStatus ¶
func (m *Cluster) SetStatus(v Cluster_Status)
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 // *ClusterConfig_PostgresqlConfig_17 // *ClusterConfig_PostgresqlConfig_17_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_17 ¶
func (x *ClusterConfig) GetPostgresqlConfig_17() *config.PostgresqlConfigSet17
func (*ClusterConfig) GetPostgresqlConfig_17_1C ¶
func (x *ClusterConfig) GetPostgresqlConfig_17_1C() *config.PostgresqlConfigSet17_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_17 ¶
func (m *ClusterConfig) SetPostgresqlConfig_17(v *config.PostgresqlConfigSet17)
func (*ClusterConfig) SetPostgresqlConfig_17_1C ¶
func (m *ClusterConfig) SetPostgresqlConfig_17_1C(v *config.PostgresqlConfigSet17_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_17 ¶
type ClusterConfig_PostgresqlConfig_17 struct { // Configuration of a PostgreSQL 17 server. PostgresqlConfig_17 *config.PostgresqlConfigSet17 `protobuf:"bytes,27,opt,name=postgresql_config_17,json=postgresqlConfig_17,proto3,oneof"` }
type ClusterConfig_PostgresqlConfig_17_1C ¶
type ClusterConfig_PostgresqlConfig_17_1C struct { // Configuration of a PostgreSQL 17 1C server. PostgresqlConfig_17_1C *config.PostgresqlConfigSet17_1C `protobuf:"bytes,28,opt,name=postgresql_config_17_1c,json=postgresqlConfig_17_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) (grpc.ServerStreamingClient[StreamLogRecord], 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.
A set of methods for managing PostgreSQL Cluster resources.
func NewClusterServiceClient ¶
func NewClusterServiceClient(cc grpc.ClientConnInterface) ClusterServiceClient
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, grpc.ServerStreamingServer[StreamLogRecord]) 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.
A set of methods for managing PostgreSQL Cluster resources.
type ClusterService_StreamLogsClient ¶
type ClusterService_StreamLogsClient = grpc.ServerStreamingClient[StreamLogRecord]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type ClusterService_StreamLogsServer ¶
type ClusterService_StreamLogsServer = grpc.ServerStreamingServer[StreamLogRecord]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
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) Descriptor() protoreflect.EnumDescriptor
func (Cluster_Environment) Enum ¶
func (x Cluster_Environment) Enum() *Cluster_Environment
func (Cluster_Environment) EnumDescriptor
deprecated
func (Cluster_Environment) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_Environment.Descriptor instead.
func (Cluster_Environment) Number ¶
func (x Cluster_Environment) Number() protoreflect.EnumNumber
func (Cluster_Environment) String ¶
func (x Cluster_Environment) String() string
func (Cluster_Environment) Type ¶
func (Cluster_Environment) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x Cluster_Health) Number() protoreflect.EnumNumber
func (Cluster_Health) String ¶
func (x Cluster_Health) String() string
func (Cluster_Health) Type ¶
func (Cluster_Health) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x Cluster_Status) Number() protoreflect.EnumNumber
func (Cluster_Status) String ¶
func (x Cluster_Status) String() string
func (Cluster_Status) Type ¶
func (Cluster_Status) Type() protoreflect.EnumType
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 // *ConfigHostSpec_PostgresqlConfig_17 // *ConfigHostSpec_PostgresqlConfig_17_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_17 ¶
func (x *ConfigHostSpec) GetPostgresqlConfig_17() *config.PostgresqlHostConfig17
func (*ConfigHostSpec) GetPostgresqlConfig_17_1C ¶
func (x *ConfigHostSpec) GetPostgresqlConfig_17_1C() *config.PostgresqlHostConfig17_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_17 ¶
func (m *ConfigHostSpec) SetPostgresqlConfig_17(v *config.PostgresqlHostConfig17)
func (*ConfigHostSpec) SetPostgresqlConfig_17_1C ¶
func (m *ConfigHostSpec) SetPostgresqlConfig_17_1C(v *config.PostgresqlHostConfig17_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_17 ¶
type ConfigHostSpec_PostgresqlConfig_17 struct { // Configuration for a host with PostgreSQL 17 1C server deployed. PostgresqlConfig_17 *config.PostgresqlHostConfig17 `protobuf:"bytes,16,opt,name=postgresql_config_17,json=postgresqlHostConfig_17,proto3,oneof"` }
type ConfigHostSpec_PostgresqlConfig_17_1C ¶
type ConfigHostSpec_PostgresqlConfig_17_1C struct { // Configuration for a host with PostgreSQL 17 1C server deployed. PostgresqlConfig_17_1C *config.PostgresqlHostConfig17_1C `protobuf:"bytes,17,opt,name=postgresql_config_17_1c,json=postgresqlHostConfig_17_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`, `16`, `17` 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 // *ConfigSpec_PostgresqlConfig_17 // *ConfigSpec_PostgresqlConfig_17_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_17 ¶
func (x *ConfigSpec) GetPostgresqlConfig_17() *config.PostgresqlConfig17
func (*ConfigSpec) GetPostgresqlConfig_17_1C ¶
func (x *ConfigSpec) GetPostgresqlConfig_17_1C() *config.PostgresqlConfig17_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_17 ¶
func (m *ConfigSpec) SetPostgresqlConfig_17(v *config.PostgresqlConfig17)
func (*ConfigSpec) SetPostgresqlConfig_17_1C ¶
func (m *ConfigSpec) SetPostgresqlConfig_17_1C(v *config.PostgresqlConfig17_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_17 ¶
type ConfigSpec_PostgresqlConfig_17 struct { // Configuration for a PostgreSQL 17 cluster. PostgresqlConfig_17 *config.PostgresqlConfig17 `protobuf:"bytes,27,opt,name=postgresql_config_17,json=postgresqlConfig_17,proto3,oneof"` }
type ConfigSpec_PostgresqlConfig_17_1C ¶
type ConfigSpec_PostgresqlConfig_17_1C struct { // Configuration for a PostgreSQL 17 1C cluster. PostgresqlConfig_17_1C *config.PostgresqlConfig17_1C `protobuf:"bytes,28,opt,name=postgresql_config_17_1c,json=postgresqlConfig_17_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 (x *ConnectionPoolerConfig) GetPoolingMode() ConnectionPoolerConfig_PoolingMode
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 (m *ConnectionPoolerConfig) SetPoolingMode(v ConnectionPoolerConfig_PoolingMode)
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) Descriptor() protoreflect.EnumDescriptor
func (ConnectionPoolerConfig_PoolingMode) Enum ¶
func (x ConnectionPoolerConfig_PoolingMode) Enum() *ConnectionPoolerConfig_PoolingMode
func (ConnectionPoolerConfig_PoolingMode) EnumDescriptor
deprecated
func (ConnectionPoolerConfig_PoolingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionPoolerConfig_PoolingMode.Descriptor instead.
func (ConnectionPoolerConfig_PoolingMode) Number ¶
func (x ConnectionPoolerConfig_PoolingMode) Number() protoreflect.EnumNumber
func (ConnectionPoolerConfig_PoolingMode) String ¶
func (x ConnectionPoolerConfig_PoolingMode) String() string
func (ConnectionPoolerConfig_PoolingMode) Type ¶
func (ConnectionPoolerConfig_PoolingMode) Type() protoreflect.EnumType
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) GetClusterId ¶
func (*Database) GetDeletionProtection ¶
func (x *Database) GetDeletionProtection() *wrapperspb.BoolValue
func (*Database) GetExtensions ¶
func (*Database) GetLcCollate ¶
func (*Database) GetLcCtype ¶
func (*Database) GetTemplateDb ¶
func (*Database) ProtoMessage ¶
func (*Database) ProtoMessage()
func (*Database) ProtoReflect ¶
func (x *Database) ProtoReflect() protoreflect.Message
func (*Database) SetClusterId ¶
func (*Database) SetDeletionProtection ¶
func (m *Database) SetDeletionProtection(v *wrapperspb.BoolValue)
func (*Database) SetExtensions ¶
func (*Database) SetLcCollate ¶
func (*Database) SetLcCtype ¶
func (*Database) SetTemplateDb ¶
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.
A set of methods for managing PostgreSQL Database resources.
func NewDatabaseServiceClient ¶
func NewDatabaseServiceClient(cc grpc.ClientConnInterface) DatabaseServiceClient
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.
A set of methods for managing PostgreSQL Database resources.
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 (x *DeleteClusterHostsMetadata) ProtoReflect() protoreflect.Message
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 (x *DeleteClusterHostsRequest) ProtoReflect() protoreflect.Message
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) GetVersion ¶
func (*Extension) ProtoMessage ¶
func (*Extension) ProtoMessage()
func (*Extension) ProtoReflect ¶
func (x *Extension) ProtoReflect() protoreflect.Message
func (*Extension) SetVersion ¶
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 (x *GrantUserPermissionMetadata) ProtoReflect() protoreflect.Message
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 (x *GrantUserPermissionRequest) ProtoReflect() protoreflect.Message
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. If the field has default value, it is not returned in the response. Role Host_Role `protobuf:"varint,5,opt,name=role,proto3,enum=yandex.cloud.mdb.postgresql.v1.Host_Role" json:"role,omitempty"` // Aggregated health of the host. If the field has default value, it is not returned in the response. 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) GetAssignPublicIp ¶
func (*Host) GetClusterId ¶
func (*Host) GetConfig ¶
func (x *Host) GetConfig() *HostConfig
func (*Host) GetHealth ¶
func (x *Host) GetHealth() Host_Health
func (*Host) GetPriority ¶
func (x *Host) GetPriority() *wrapperspb.Int64Value
func (*Host) GetReplicaType ¶
func (x *Host) GetReplicaType() Host_ReplicaType
func (*Host) GetReplicationSource ¶
func (*Host) GetResources ¶
func (*Host) GetServices ¶
func (*Host) GetSubnetId ¶
func (*Host) ProtoMessage ¶
func (*Host) ProtoMessage()
func (*Host) ProtoReflect ¶
func (x *Host) ProtoReflect() protoreflect.Message
func (*Host) SetAssignPublicIp ¶
func (*Host) SetClusterId ¶
func (*Host) SetConfig ¶
func (m *Host) SetConfig(v *HostConfig)
func (*Host) SetHealth ¶
func (m *Host) SetHealth(v Host_Health)
func (*Host) SetPriority ¶
func (m *Host) SetPriority(v *wrapperspb.Int64Value)
func (*Host) SetReplicaType ¶
func (m *Host) SetReplicaType(v Host_ReplicaType)
func (*Host) SetReplicationSource ¶
func (*Host) SetResources ¶
func (*Host) SetServices ¶
func (*Host) SetSubnetId ¶
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 // *HostConfig_PostgresqlConfig_17 // *HostConfig_PostgresqlConfig_17_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_17 ¶
func (x *HostConfig) GetPostgresqlConfig_17() *config.PostgresqlHostConfig17
func (*HostConfig) GetPostgresqlConfig_17_1C ¶
func (x *HostConfig) GetPostgresqlConfig_17_1C() *config.PostgresqlHostConfig17_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_17 ¶
func (m *HostConfig) SetPostgresqlConfig_17(v *config.PostgresqlHostConfig17)
func (*HostConfig) SetPostgresqlConfig_17_1C ¶
func (m *HostConfig) SetPostgresqlConfig_17_1C(v *config.PostgresqlHostConfig17_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_17 ¶
type HostConfig_PostgresqlConfig_17 struct { // Configuration for a host with PostgreSQL 17 server deployed. PostgresqlConfig_17 *config.PostgresqlHostConfig17 `protobuf:"bytes,16,opt,name=postgresql_config_17,json=postgresqlHostConfig_17,proto3,oneof"` }
type HostConfig_PostgresqlConfig_17_1C ¶
type HostConfig_PostgresqlConfig_17_1C struct { // Configuration for a host with PostgreSQL 17 1C server deployed. PostgresqlConfig_17_1C *config.PostgresqlHostConfig17_1C `protobuf:"bytes,17,opt,name=postgresql_config_17_1c,json=postgresqlHostConfig_17_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) GetAssignPublicIp ¶
func (*HostSpec) GetConfigSpec ¶
func (x *HostSpec) GetConfigSpec() *ConfigHostSpec
func (*HostSpec) GetPriority ¶
func (x *HostSpec) GetPriority() *wrapperspb.Int64Value
func (*HostSpec) GetReplicationSource ¶
func (*HostSpec) GetSubnetId ¶
func (*HostSpec) ProtoMessage ¶
func (*HostSpec) ProtoMessage()
func (*HostSpec) ProtoReflect ¶
func (x *HostSpec) ProtoReflect() protoreflect.Message
func (*HostSpec) SetAssignPublicIp ¶
func (*HostSpec) SetConfigSpec ¶
func (m *HostSpec) SetConfigSpec(v *ConfigHostSpec)
func (*HostSpec) SetPriority ¶
func (m *HostSpec) SetPriority(v *wrapperspb.Int64Value)
func (*HostSpec) SetReplicationSource ¶
func (*HostSpec) SetSubnetId ¶
type Host_Health ¶
type Host_Health int32
const ( // Health of the host is unknown. Default value. 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) Descriptor() protoreflect.EnumDescriptor
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 ¶
func (Host_Health) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Host_ReplicaType) Enum ¶
func (x Host_ReplicaType) Enum() *Host_ReplicaType
func (Host_ReplicaType) EnumDescriptor
deprecated
func (Host_ReplicaType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Host_ReplicaType.Descriptor instead.
func (Host_ReplicaType) Number ¶
func (x Host_ReplicaType) Number() protoreflect.EnumNumber
func (Host_ReplicaType) String ¶
func (x Host_ReplicaType) String() string
func (Host_ReplicaType) Type ¶
func (Host_ReplicaType) Type() protoreflect.EnumType
type Host_Role ¶
type Host_Role int32
func (Host_Role) Descriptor ¶
func (Host_Role) Descriptor() protoreflect.EnumDescriptor
func (Host_Role) EnumDescriptor
deprecated
func (Host_Role) Number ¶
func (x Host_Role) Number() protoreflect.EnumNumber
func (Host_Role) Type ¶
func (Host_Role) Type() protoreflect.EnumType
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 (x *ListClusterBackupsRequest) ProtoReflect() protoreflect.Message
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 (x *ListClusterBackupsResponse) ProtoReflect() protoreflect.Message
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 (x *ListClusterLogsRequest) GetServiceType() ListClusterLogsRequest_ServiceType
func (*ListClusterLogsRequest) GetToTime ¶
func (x *ListClusterLogsRequest) GetToTime() *timestamppb.Timestamp
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 (m *ListClusterLogsRequest) SetServiceType(v ListClusterLogsRequest_ServiceType)
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) Descriptor() protoreflect.EnumDescriptor
func (ListClusterLogsRequest_ServiceType) Enum ¶
func (x ListClusterLogsRequest_ServiceType) Enum() *ListClusterLogsRequest_ServiceType
func (ListClusterLogsRequest_ServiceType) EnumDescriptor
deprecated
func (ListClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListClusterLogsRequest_ServiceType.Descriptor instead.
func (ListClusterLogsRequest_ServiceType) Number ¶
func (x ListClusterLogsRequest_ServiceType) Number() protoreflect.EnumNumber
func (ListClusterLogsRequest_ServiceType) String ¶
func (x ListClusterLogsRequest_ServiceType) String() string
func (ListClusterLogsRequest_ServiceType) Type ¶
func (ListClusterLogsRequest_ServiceType) Type() protoreflect.EnumType
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 (x *ListClusterOperationsRequest) ProtoReflect() protoreflect.Message
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 ¶
func (x *ListClusterOperationsRequest) String() 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 (x *ListClusterOperationsResponse) ProtoReflect() protoreflect.Message
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 ¶
func (x *ListClusterOperationsResponse) String() 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 (x *ListRawSessionStatesRequest) GetFromTime() *timestamppb.Timestamp
func (*ListRawSessionStatesRequest) GetPageSize ¶
func (x *ListRawSessionStatesRequest) GetPageSize() int64
func (*ListRawSessionStatesRequest) GetPageToken ¶
func (x *ListRawSessionStatesRequest) GetPageToken() string
func (*ListRawSessionStatesRequest) GetToTime ¶
func (x *ListRawSessionStatesRequest) GetToTime() *timestamppb.Timestamp
func (*ListRawSessionStatesRequest) ProtoMessage ¶
func (*ListRawSessionStatesRequest) ProtoMessage()
func (*ListRawSessionStatesRequest) ProtoReflect ¶
func (x *ListRawSessionStatesRequest) ProtoReflect() protoreflect.Message
func (*ListRawSessionStatesRequest) Reset ¶
func (x *ListRawSessionStatesRequest) Reset()
func (*ListRawSessionStatesRequest) SetClusterId ¶
func (m *ListRawSessionStatesRequest) SetClusterId(v string)
func (*ListRawSessionStatesRequest) SetFromTime ¶
func (m *ListRawSessionStatesRequest) SetFromTime(v *timestamppb.Timestamp)
func (*ListRawSessionStatesRequest) SetPageSize ¶
func (m *ListRawSessionStatesRequest) SetPageSize(v int64)
func (*ListRawSessionStatesRequest) SetPageToken ¶
func (m *ListRawSessionStatesRequest) SetPageToken(v string)
func (*ListRawSessionStatesRequest) SetToTime ¶
func (m *ListRawSessionStatesRequest) SetToTime(v *timestamppb.Timestamp)
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 (x *ListRawSessionStatesResponse) ProtoReflect() protoreflect.Message
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 ¶
func (x *ListRawSessionStatesResponse) String() 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 (x *ListRawStatementsRequest) GetFromTime() *timestamppb.Timestamp
func (*ListRawStatementsRequest) GetPageSize ¶
func (x *ListRawStatementsRequest) GetPageSize() int64
func (*ListRawStatementsRequest) GetPageToken ¶
func (x *ListRawStatementsRequest) GetPageToken() string
func (*ListRawStatementsRequest) GetToTime ¶
func (x *ListRawStatementsRequest) GetToTime() *timestamppb.Timestamp
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 (m *ListRawStatementsRequest) SetToTime(v *timestamppb.Timestamp)
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 (x *ListRawStatementsResponse) ProtoReflect() protoreflect.Message
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 (x *ListResourcePresetsRequest) ProtoReflect() protoreflect.Message
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 (x *ListResourcePresetsResponse) ProtoReflect() protoreflect.Message
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) GetMessage ¶
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) SetMessage ¶
func (*LogRecord) SetTimestamp ¶
func (m *LogRecord) SetTimestamp(v *timestamppb.Timestamp)
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 (x *MaintenanceWindow) GetAnytime() *AnytimeMaintenanceWindow
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 (m *MaintenanceWindow) SetPolicy(v MaintenanceWindow_Policy)
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 (*Monitoring) GetLink ¶
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 (*Monitoring) SetLink ¶
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 { // Defines which user queries will be written to the audit log. Corresponds to the [Pg audit log](https://yandex.cloud/en/docs/managed-postgresql/concepts/settings-list#setting-pg-audit-log) user setting. // // The possible values are the following: // // * PG_AUDIT_SETTINGS_LOG_READ: `SELECT` and `COPY` queries are logged if the data source is a relation or query. // * PG_AUDIT_SETTINGS_LOG_WRITE: `INSERT`, `UPDATE`, `DELETE`, `TRUNCATE`, and `COPY` queries are logged if the data target is a relation. // * PG_AUDIT_SETTINGS_LOG_FUNCTION: Function invocations and `DO` sections are logged. // * PG_AUDIT_SETTINGS_LOG_ROLE: Statements related to role and privilege management, such as `GRANT`, `REVOKE`, or `CREATE/ALTER/DROP ROLE`, are logged. // * PG_AUDIT_SETTINGS_LOG_DDL: Any `DDL` statements that do not belong to the `ROLE` class are logged. // * PG_AUDIT_SETTINGS_LOG_MISC: Miscellaneous commands, such as `DISCARD`, `FETCH`, `CHECKPOINT`, `VACUUM`, and `SET`, are logged. // * PG_AUDIT_SETTINGS_LOG_MISC_SET: Miscellaneous `SET` commands, e.g., `SET ROLE`, are logged. // // The default value is PG_AUDIT_SETTINGS_LOG_UNSPECIFIED. In this case, the parameter is not configured. 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 (x *PGAuditSettings) GetLog() []PGAuditSettings_PGAuditSettingsLog
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 (m *PGAuditSettings) SetLog(v []PGAuditSettings_PGAuditSettingsLog)
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) Descriptor() protoreflect.EnumDescriptor
func (PGAuditSettings_PGAuditSettingsLog) Enum ¶
func (x PGAuditSettings_PGAuditSettingsLog) Enum() *PGAuditSettings_PGAuditSettingsLog
func (PGAuditSettings_PGAuditSettingsLog) EnumDescriptor
deprecated
func (PGAuditSettings_PGAuditSettingsLog) EnumDescriptor() ([]byte, []int)
Deprecated: Use PGAuditSettings_PGAuditSettingsLog.Descriptor instead.
func (PGAuditSettings_PGAuditSettingsLog) Number ¶
func (x PGAuditSettings_PGAuditSettingsLog) Number() protoreflect.EnumNumber
func (PGAuditSettings_PGAuditSettingsLog) String ¶
func (x PGAuditSettings_PGAuditSettingsLog) String() string
func (PGAuditSettings_PGAuditSettingsLog) Type ¶
func (PGAuditSettings_PGAuditSettingsLog) Type() protoreflect.EnumType
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.
A set of methods for PostgreSQL performance diagnostics.
func NewPerformanceDiagnosticsServiceClient ¶
func NewPerformanceDiagnosticsServiceClient(cc grpc.ClientConnInterface) PerformanceDiagnosticsServiceClient
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.
A set of methods for PostgreSQL performance diagnostics.
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"` SharedBlksHit int64 `protobuf:"varint,18,opt,name=shared_blks_hit,json=sharedBlksHit,proto3" json:"shared_blks_hit,omitempty"` SharedBlksRead int64 `protobuf:"varint,19,opt,name=shared_blks_read,json=sharedBlksRead,proto3" json:"shared_blks_read,omitempty"` SharedBlksDirtied int64 `protobuf:"varint,20,opt,name=shared_blks_dirtied,json=sharedBlksDirtied,proto3" json:"shared_blks_dirtied,omitempty"` 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 (x *RescheduleMaintenanceMetadata) ProtoReflect() protoreflect.Message
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 ¶
func (x *RescheduleMaintenanceMetadata) String() 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 (x *RescheduleMaintenanceRequest) GetRescheduleType() RescheduleMaintenanceRequest_RescheduleType
func (*RescheduleMaintenanceRequest) ProtoMessage ¶
func (*RescheduleMaintenanceRequest) ProtoMessage()
func (*RescheduleMaintenanceRequest) ProtoReflect ¶
func (x *RescheduleMaintenanceRequest) ProtoReflect() protoreflect.Message
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 (m *RescheduleMaintenanceRequest) SetRescheduleType(v RescheduleMaintenanceRequest_RescheduleType)
func (*RescheduleMaintenanceRequest) String ¶
func (x *RescheduleMaintenanceRequest) String() 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) Descriptor() protoreflect.EnumDescriptor
func (RescheduleMaintenanceRequest_RescheduleType) EnumDescriptor
deprecated
func (RescheduleMaintenanceRequest_RescheduleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RescheduleMaintenanceRequest_RescheduleType.Descriptor instead.
func (RescheduleMaintenanceRequest_RescheduleType) Number ¶
func (x RescheduleMaintenanceRequest_RescheduleType) Number() protoreflect.EnumNumber
func (RescheduleMaintenanceRequest_RescheduleType) String ¶
func (x RescheduleMaintenanceRequest_RescheduleType) String() string
func (RescheduleMaintenanceRequest_RescheduleType) Type ¶
func (RescheduleMaintenanceRequest_RescheduleType) Type() protoreflect.EnumType
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.
A set of methods for managing ResourcePreset resources.
func NewResourcePresetServiceClient ¶
func NewResourcePresetServiceClient(cc grpc.ClientConnInterface) ResourcePresetServiceClient
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.
A set of methods for managing ResourcePreset resources.
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) GetDiskSize ¶
func (*Resources) GetDiskTypeId ¶
func (*Resources) GetResourcePresetId ¶
func (*Resources) ProtoMessage ¶
func (*Resources) ProtoMessage()
func (*Resources) ProtoReflect ¶
func (x *Resources) ProtoReflect() protoreflect.Message
func (*Resources) SetDiskSize ¶
func (*Resources) SetDiskTypeId ¶
func (*Resources) SetResourcePresetId ¶
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 (x *RestoreClusterRequest) GetTime() *timestamppb.Timestamp
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 (m *RestoreClusterRequest) SetTime(v *timestamppb.Timestamp)
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 (x *RevokeUserPermissionMetadata) ProtoReflect() protoreflect.Message
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 ¶
func (x *RevokeUserPermissionMetadata) String() 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 (x *RevokeUserPermissionRequest) ProtoReflect() protoreflect.Message
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. If the field has default value, it is not returned in the response. Type Service_Type `protobuf:"varint,1,opt,name=type,proto3,enum=yandex.cloud.mdb.postgresql.v1.Service_Type" json:"type,omitempty"` // Aggregated health of the service. If the field has default value, it is not returned in the response. 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) 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) SetHealth ¶
func (m *Service) SetHealth(v Service_Health)
func (*Service) SetType ¶
func (m *Service) SetType(v Service_Type)
type Service_Health ¶
type Service_Health int32
const ( // Health of the server is unknown. Default value. 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) Descriptor() protoreflect.EnumDescriptor
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 (x Service_Health) Number() protoreflect.EnumNumber
func (Service_Health) String ¶
func (x Service_Health) String() string
func (Service_Health) Type ¶
func (Service_Health) Type() protoreflect.EnumType
type Service_Type ¶
type Service_Type int32
const ( // Service type of the host is unspecified. Default value. 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) Descriptor() protoreflect.EnumDescriptor
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 (x Service_Type) Number() protoreflect.EnumNumber
func (Service_Type) String ¶
func (x Service_Type) String() string
func (Service_Type) Type ¶
func (Service_Type) Type() protoreflect.EnumType
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 (x *StartClusterFailoverMetadata) ProtoReflect() protoreflect.Message
func (*StartClusterFailoverMetadata) Reset ¶
func (x *StartClusterFailoverMetadata) Reset()
func (*StartClusterFailoverMetadata) SetClusterId ¶
func (m *StartClusterFailoverMetadata) SetClusterId(v string)
func (*StartClusterFailoverMetadata) String ¶
func (x *StartClusterFailoverMetadata) String() 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 (x *StartClusterFailoverRequest) ProtoReflect() protoreflect.Message
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 (x *StreamClusterLogsRequest) GetFromTime() *timestamppb.Timestamp
func (*StreamClusterLogsRequest) GetRecordToken ¶
func (x *StreamClusterLogsRequest) GetRecordToken() string
func (*StreamClusterLogsRequest) GetServiceType ¶
func (x *StreamClusterLogsRequest) GetServiceType() StreamClusterLogsRequest_ServiceType
func (*StreamClusterLogsRequest) GetToTime ¶
func (x *StreamClusterLogsRequest) GetToTime() *timestamppb.Timestamp
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 (m *StreamClusterLogsRequest) SetServiceType(v StreamClusterLogsRequest_ServiceType)
func (*StreamClusterLogsRequest) SetToTime ¶
func (m *StreamClusterLogsRequest) SetToTime(v *timestamppb.Timestamp)
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) Descriptor() protoreflect.EnumDescriptor
func (StreamClusterLogsRequest_ServiceType) Enum ¶
func (x StreamClusterLogsRequest_ServiceType) Enum() *StreamClusterLogsRequest_ServiceType
func (StreamClusterLogsRequest_ServiceType) EnumDescriptor
deprecated
func (StreamClusterLogsRequest_ServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamClusterLogsRequest_ServiceType.Descriptor instead.
func (StreamClusterLogsRequest_ServiceType) Number ¶
func (x StreamClusterLogsRequest_ServiceType) Number() protoreflect.EnumNumber
func (StreamClusterLogsRequest_ServiceType) String ¶
func (x StreamClusterLogsRequest_ServiceType) String() string
func (StreamClusterLogsRequest_ServiceType) Type ¶
func (StreamClusterLogsRequest_ServiceType) Type() protoreflect.EnumType
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.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedBackupServiceServer) Delete ¶
func (UnimplementedBackupServiceServer) Delete(context.Context, *DeleteBackupRequest) (*operation.Operation, error)
func (UnimplementedBackupServiceServer) Get ¶
func (UnimplementedBackupServiceServer) Get(context.Context, *GetBackupRequest) (*Backup, error)
func (UnimplementedBackupServiceServer) List ¶
func (UnimplementedBackupServiceServer) List(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
type UnimplementedClusterServiceServer ¶
type UnimplementedClusterServiceServer struct{}
UnimplementedClusterServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedClusterServiceServer) AddHosts ¶
func (UnimplementedClusterServiceServer) AddHosts(context.Context, *AddClusterHostsRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Backup ¶
func (UnimplementedClusterServiceServer) Backup(context.Context, *BackupClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Create ¶
func (UnimplementedClusterServiceServer) Create(context.Context, *CreateClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Delete ¶
func (UnimplementedClusterServiceServer) Delete(context.Context, *DeleteClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) DeleteHosts ¶
func (UnimplementedClusterServiceServer) DeleteHosts(context.Context, *DeleteClusterHostsRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Get ¶
func (UnimplementedClusterServiceServer) Get(context.Context, *GetClusterRequest) (*Cluster, error)
func (UnimplementedClusterServiceServer) List ¶
func (UnimplementedClusterServiceServer) List(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (UnimplementedClusterServiceServer) ListBackups ¶
func (UnimplementedClusterServiceServer) ListBackups(context.Context, *ListClusterBackupsRequest) (*ListClusterBackupsResponse, error)
func (UnimplementedClusterServiceServer) ListHosts ¶
func (UnimplementedClusterServiceServer) ListHosts(context.Context, *ListClusterHostsRequest) (*ListClusterHostsResponse, error)
func (UnimplementedClusterServiceServer) ListLogs ¶
func (UnimplementedClusterServiceServer) ListLogs(context.Context, *ListClusterLogsRequest) (*ListClusterLogsResponse, error)
func (UnimplementedClusterServiceServer) ListOperations ¶
func (UnimplementedClusterServiceServer) ListOperations(context.Context, *ListClusterOperationsRequest) (*ListClusterOperationsResponse, error)
func (UnimplementedClusterServiceServer) Move ¶
func (UnimplementedClusterServiceServer) Move(context.Context, *MoveClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) RescheduleMaintenance ¶
func (UnimplementedClusterServiceServer) RescheduleMaintenance(context.Context, *RescheduleMaintenanceRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Restore ¶
func (UnimplementedClusterServiceServer) Restore(context.Context, *RestoreClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Start ¶
func (UnimplementedClusterServiceServer) Start(context.Context, *StartClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) StartFailover ¶
func (UnimplementedClusterServiceServer) StartFailover(context.Context, *StartClusterFailoverRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) Stop ¶
func (UnimplementedClusterServiceServer) Stop(context.Context, *StopClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) StreamLogs ¶
func (UnimplementedClusterServiceServer) StreamLogs(*StreamClusterLogsRequest, grpc.ServerStreamingServer[StreamLogRecord]) error
func (UnimplementedClusterServiceServer) Update ¶
func (UnimplementedClusterServiceServer) Update(context.Context, *UpdateClusterRequest) (*operation.Operation, error)
func (UnimplementedClusterServiceServer) UpdateHosts ¶
func (UnimplementedClusterServiceServer) UpdateHosts(context.Context, *UpdateClusterHostsRequest) (*operation.Operation, error)
type UnimplementedDatabaseServiceServer ¶
type UnimplementedDatabaseServiceServer struct{}
UnimplementedDatabaseServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedDatabaseServiceServer) Create ¶
func (UnimplementedDatabaseServiceServer) Create(context.Context, *CreateDatabaseRequest) (*operation.Operation, error)
func (UnimplementedDatabaseServiceServer) Delete ¶
func (UnimplementedDatabaseServiceServer) Delete(context.Context, *DeleteDatabaseRequest) (*operation.Operation, error)
func (UnimplementedDatabaseServiceServer) Get ¶
func (UnimplementedDatabaseServiceServer) Get(context.Context, *GetDatabaseRequest) (*Database, error)
func (UnimplementedDatabaseServiceServer) List ¶
func (UnimplementedDatabaseServiceServer) List(context.Context, *ListDatabasesRequest) (*ListDatabasesResponse, error)
func (UnimplementedDatabaseServiceServer) Update ¶
func (UnimplementedDatabaseServiceServer) Update(context.Context, *UpdateDatabaseRequest) (*operation.Operation, error)
type UnimplementedPerformanceDiagnosticsServiceServer ¶
type UnimplementedPerformanceDiagnosticsServiceServer struct{}
UnimplementedPerformanceDiagnosticsServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPerformanceDiagnosticsServiceServer) ListRawSessionStates ¶
func (UnimplementedPerformanceDiagnosticsServiceServer) ListRawSessionStates(context.Context, *ListRawSessionStatesRequest) (*ListRawSessionStatesResponse, error)
func (UnimplementedPerformanceDiagnosticsServiceServer) ListRawStatements ¶
func (UnimplementedPerformanceDiagnosticsServiceServer) ListRawStatements(context.Context, *ListRawStatementsRequest) (*ListRawStatementsResponse, error)
type UnimplementedResourcePresetServiceServer ¶
type UnimplementedResourcePresetServiceServer struct{}
UnimplementedResourcePresetServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct{}
UnimplementedUserServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedUserServiceServer) Create ¶
func (UnimplementedUserServiceServer) Create(context.Context, *CreateUserRequest) (*operation.Operation, error)
func (UnimplementedUserServiceServer) Delete ¶
func (UnimplementedUserServiceServer) Delete(context.Context, *DeleteUserRequest) (*operation.Operation, error)
func (UnimplementedUserServiceServer) Get ¶
func (UnimplementedUserServiceServer) Get(context.Context, *GetUserRequest) (*User, error)
func (UnimplementedUserServiceServer) GrantPermission ¶
func (UnimplementedUserServiceServer) GrantPermission(context.Context, *GrantUserPermissionRequest) (*operation.Operation, error)
func (UnimplementedUserServiceServer) List ¶
func (UnimplementedUserServiceServer) List(context.Context, *ListUsersRequest) (*ListUsersResponse, error)
func (UnimplementedUserServiceServer) RevokePermission ¶
func (UnimplementedUserServiceServer) RevokePermission(context.Context, *RevokeUserPermissionRequest) (*operation.Operation, error)
func (UnimplementedUserServiceServer) Update ¶
func (UnimplementedUserServiceServer) Update(context.Context, *UpdateUserRequest) (*operation.Operation, error)
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 (x *UpdateClusterHostsMetadata) ProtoReflect() protoreflect.Message
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 (x *UpdateClusterHostsRequest) ProtoReflect() protoreflect.Message
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"` // ID of the network to move the cluster to. NetworkId string `protobuf:"bytes,11,opt,name=network_id,json=networkId,proto3" json:"network_id,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) GetNetworkId ¶
func (x *UpdateClusterRequest) GetNetworkId() 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) SetNetworkId ¶
func (m *UpdateClusterRequest) SetNetworkId(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"` // Determines whether the user deletion protection is enabled. // // The default value is `unspecified`. In this case, the user configuration inherits the cluster's deletion protection settings. 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) GetClusterId ¶
func (*User) GetConnLimit ¶
func (*User) GetDeletionProtection ¶
func (x *User) GetDeletionProtection() *wrapperspb.BoolValue
func (*User) GetLogin ¶
func (x *User) GetLogin() *wrapperspb.BoolValue
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) SetClusterId ¶
func (*User) SetConnLimit ¶
func (*User) SetDeletionProtection ¶
func (m *User) SetDeletionProtection(v *wrapperspb.BoolValue)
func (*User) SetLogin ¶
func (m *User) SetLogin(v *wrapperspb.BoolValue)
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)
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) Descriptor() protoreflect.EnumDescriptor
func (UserPasswordEncryption) Enum ¶
func (x UserPasswordEncryption) Enum() *UserPasswordEncryption
func (UserPasswordEncryption) EnumDescriptor
deprecated
func (UserPasswordEncryption) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserPasswordEncryption.Descriptor instead.
func (UserPasswordEncryption) Number ¶
func (x UserPasswordEncryption) Number() protoreflect.EnumNumber
func (UserPasswordEncryption) String ¶
func (x UserPasswordEncryption) String() string
func (UserPasswordEncryption) Type ¶
func (UserPasswordEncryption) Type() protoreflect.EnumType
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.
A set of methods for managing PostgreSQL User resources.
func NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
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.
A set of methods for managing PostgreSQL User resources.
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. // // For more information, see the [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. // // For more information, see the [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. // // For more information, see the [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). // // For more information, see the [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. // // For more information, see the [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. // // For more information, see the [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. // // For more information, see the [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 while in a transaction. // // The default value is `0`, which disables the timeout. // // For more information, see the [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 // // For more information, see the [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"` // Settings of the [PostgreSQL Audit Extension](https://www.pgaudit.org/) (pgaudit). 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 // Logs none of SQL statements. Default value. 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) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_LogStatement) Enum ¶
func (x UserSettings_LogStatement) Enum() *UserSettings_LogStatement
func (UserSettings_LogStatement) EnumDescriptor
deprecated
func (UserSettings_LogStatement) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_LogStatement.Descriptor instead.
func (UserSettings_LogStatement) Number ¶
func (x UserSettings_LogStatement) Number() protoreflect.EnumNumber
func (UserSettings_LogStatement) String ¶
func (x UserSettings_LogStatement) String() string
func (UserSettings_LogStatement) Type ¶
func (UserSettings_LogStatement) Type() protoreflect.EnumType
type UserSettings_PoolingMode ¶
type UserSettings_PoolingMode int32
const ( UserSettings_POOLING_MODE_UNSPECIFIED UserSettings_PoolingMode = 0 // Server connection will be assigned to it for the whole duration the client stays connected. Default value. 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) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_PoolingMode) Enum ¶
func (x UserSettings_PoolingMode) Enum() *UserSettings_PoolingMode
func (UserSettings_PoolingMode) EnumDescriptor
deprecated
func (UserSettings_PoolingMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_PoolingMode.Descriptor instead.
func (UserSettings_PoolingMode) Number ¶
func (x UserSettings_PoolingMode) Number() protoreflect.EnumNumber
func (UserSettings_PoolingMode) String ¶
func (x UserSettings_PoolingMode) String() string
func (UserSettings_PoolingMode) Type ¶
func (UserSettings_PoolingMode) Type() protoreflect.EnumType
type UserSettings_SynchronousCommit ¶
type UserSettings_SynchronousCommit int32
const ( UserSettings_SYNCHRONOUS_COMMIT_UNSPECIFIED UserSettings_SynchronousCommit = 0 // 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. Default value. 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) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_SynchronousCommit) Enum ¶
func (x UserSettings_SynchronousCommit) Enum() *UserSettings_SynchronousCommit
func (UserSettings_SynchronousCommit) EnumDescriptor
deprecated
func (UserSettings_SynchronousCommit) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_SynchronousCommit.Descriptor instead.
func (UserSettings_SynchronousCommit) Number ¶
func (x UserSettings_SynchronousCommit) Number() protoreflect.EnumNumber
func (UserSettings_SynchronousCommit) String ¶
func (x UserSettings_SynchronousCommit) String() string
func (UserSettings_SynchronousCommit) Type ¶
func (UserSettings_SynchronousCommit) Type() protoreflect.EnumType
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 // On this level query sees only data committed before the query began. Default value. 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) Descriptor() protoreflect.EnumDescriptor
func (UserSettings_TransactionIsolation) Enum ¶
func (x UserSettings_TransactionIsolation) Enum() *UserSettings_TransactionIsolation
func (UserSettings_TransactionIsolation) EnumDescriptor
deprecated
func (UserSettings_TransactionIsolation) EnumDescriptor() ([]byte, []int)
Deprecated: Use UserSettings_TransactionIsolation.Descriptor instead.
func (UserSettings_TransactionIsolation) Number ¶
func (x UserSettings_TransactionIsolation) Number() protoreflect.EnumNumber
func (UserSettings_TransactionIsolation) String ¶
func (x UserSettings_TransactionIsolation) String() string
func (UserSettings_TransactionIsolation) Type ¶
func (UserSettings_TransactionIsolation) Type() protoreflect.EnumType
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) GetConnLimit ¶
func (x *UserSpec) GetConnLimit() *wrapperspb.Int64Value
func (*UserSpec) GetDeletionProtection ¶
func (x *UserSpec) GetDeletionProtection() *wrapperspb.BoolValue
func (*UserSpec) GetLogin ¶
func (x *UserSpec) GetLogin() *wrapperspb.BoolValue
func (*UserSpec) GetPassword ¶
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) SetConnLimit ¶
func (m *UserSpec) SetConnLimit(v *wrapperspb.Int64Value)
func (*UserSpec) SetDeletionProtection ¶
func (m *UserSpec) SetDeletionProtection(v *wrapperspb.BoolValue)
func (*UserSpec) SetLogin ¶
func (m *UserSpec) SetLogin(v *wrapperspb.BoolValue)
func (*UserSpec) SetPassword ¶
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)
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 (x *WeeklyMaintenanceWindow) GetDay() WeeklyMaintenanceWindow_WeekDay
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 (m *WeeklyMaintenanceWindow) SetDay(v WeeklyMaintenanceWindow_WeekDay)
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) Descriptor() protoreflect.EnumDescriptor
func (WeeklyMaintenanceWindow_WeekDay) Enum ¶
func (x WeeklyMaintenanceWindow_WeekDay) Enum() *WeeklyMaintenanceWindow_WeekDay
func (WeeklyMaintenanceWindow_WeekDay) EnumDescriptor
deprecated
func (WeeklyMaintenanceWindow_WeekDay) EnumDescriptor() ([]byte, []int)
Deprecated: Use WeeklyMaintenanceWindow_WeekDay.Descriptor instead.
func (WeeklyMaintenanceWindow_WeekDay) Number ¶
func (x WeeklyMaintenanceWindow_WeekDay) Number() protoreflect.EnumNumber
func (WeeklyMaintenanceWindow_WeekDay) String ¶
func (x WeeklyMaintenanceWindow_WeekDay) String() string
func (WeeklyMaintenanceWindow_WeekDay) Type ¶
func (WeeklyMaintenanceWindow_WeekDay) Type() protoreflect.EnumType
Source Files ¶
- backup.pb.go
- backup.pbext.go
- backup_service.pb.go
- backup_service.pbext.go
- backup_service_grpc.pb.go
- cluster.pb.go
- cluster.pbext.go
- cluster_service.pb.go
- cluster_service.pbext.go
- cluster_service_grpc.pb.go
- database.pb.go
- database.pbext.go
- database_service.pb.go
- database_service.pbext.go
- database_service_grpc.pb.go
- maintenance.pb.go
- maintenance.pbext.go
- perf_diag.pb.go
- perf_diag.pbext.go
- perf_diag_service.pb.go
- perf_diag_service.pbext.go
- perf_diag_service_grpc.pb.go
- resource_preset.pb.go
- resource_preset.pbext.go
- resource_preset_service.pb.go
- resource_preset_service.pbext.go
- resource_preset_service_grpc.pb.go
- user.pb.go
- user.pbext.go
- user_service.pb.go
- user_service.pbext.go
- user_service_grpc.pb.go