Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterCloudRedisClusterServer(s grpc.ServiceRegistrar, srv CloudRedisClusterServer)
- type AuthorizationMode
- func (AuthorizationMode) Descriptor() protoreflect.EnumDescriptor
- func (x AuthorizationMode) Enum() *AuthorizationMode
- func (AuthorizationMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AuthorizationMode) Number() protoreflect.EnumNumber
- func (x AuthorizationMode) String() string
- func (AuthorizationMode) Type() protoreflect.EnumType
- type AutomatedBackupConfig
- func (*AutomatedBackupConfig) Descriptor() ([]byte, []int)deprecated
- func (x *AutomatedBackupConfig) GetAutomatedBackupMode() AutomatedBackupConfig_AutomatedBackupMode
- func (x *AutomatedBackupConfig) GetFixedFrequencySchedule() *AutomatedBackupConfig_FixedFrequencySchedule
- func (x *AutomatedBackupConfig) GetRetention() *durationpb.Duration
- func (m *AutomatedBackupConfig) GetSchedule() isAutomatedBackupConfig_Schedule
- func (*AutomatedBackupConfig) ProtoMessage()
- func (x *AutomatedBackupConfig) ProtoReflect() protoreflect.Message
- func (x *AutomatedBackupConfig) Reset()
- func (x *AutomatedBackupConfig) String() string
- type AutomatedBackupConfig_AutomatedBackupMode
- func (AutomatedBackupConfig_AutomatedBackupMode) Descriptor() protoreflect.EnumDescriptor
- func (x AutomatedBackupConfig_AutomatedBackupMode) Enum() *AutomatedBackupConfig_AutomatedBackupMode
- func (AutomatedBackupConfig_AutomatedBackupMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x AutomatedBackupConfig_AutomatedBackupMode) Number() protoreflect.EnumNumber
- func (x AutomatedBackupConfig_AutomatedBackupMode) String() string
- func (AutomatedBackupConfig_AutomatedBackupMode) Type() protoreflect.EnumType
- type AutomatedBackupConfig_FixedFrequencySchedule
- func (*AutomatedBackupConfig_FixedFrequencySchedule) Descriptor() ([]byte, []int)deprecated
- func (x *AutomatedBackupConfig_FixedFrequencySchedule) GetStartTime() *timeofday.TimeOfDay
- func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoMessage()
- func (x *AutomatedBackupConfig_FixedFrequencySchedule) ProtoReflect() protoreflect.Message
- func (x *AutomatedBackupConfig_FixedFrequencySchedule) Reset()
- func (x *AutomatedBackupConfig_FixedFrequencySchedule) String() string
- type AutomatedBackupConfig_FixedFrequencySchedule_
- type Backup
- func (*Backup) Descriptor() ([]byte, []int)deprecated
- func (x *Backup) GetBackupFiles() []*BackupFile
- func (x *Backup) GetBackupType() Backup_BackupType
- func (x *Backup) GetCluster() string
- func (x *Backup) GetClusterUid() string
- func (x *Backup) GetCreateTime() *timestamppb.Timestamp
- func (x *Backup) GetEncryptionInfo() *EncryptionInfo
- func (x *Backup) GetEngineVersion() string
- func (x *Backup) GetExpireTime() *timestamppb.Timestamp
- func (x *Backup) GetName() string
- func (x *Backup) GetNodeType() NodeType
- func (x *Backup) GetReplicaCount() int32
- func (x *Backup) GetShardCount() int32
- func (x *Backup) GetState() Backup_State
- func (x *Backup) GetTotalSizeBytes() int64
- func (x *Backup) GetUid() string
- func (*Backup) ProtoMessage()
- func (x *Backup) ProtoReflect() protoreflect.Message
- func (x *Backup) Reset()
- func (x *Backup) String() string
- type BackupClusterRequest
- func (*BackupClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BackupClusterRequest) GetBackupId() string
- func (x *BackupClusterRequest) GetName() string
- func (x *BackupClusterRequest) GetTtl() *durationpb.Duration
- func (*BackupClusterRequest) ProtoMessage()
- func (x *BackupClusterRequest) ProtoReflect() protoreflect.Message
- func (x *BackupClusterRequest) Reset()
- func (x *BackupClusterRequest) String() string
- type BackupCollection
- func (*BackupCollection) Descriptor() ([]byte, []int)deprecated
- func (x *BackupCollection) GetCluster() string
- func (x *BackupCollection) GetClusterUid() string
- func (x *BackupCollection) GetKmsKey() string
- func (x *BackupCollection) GetName() string
- func (x *BackupCollection) GetUid() string
- func (*BackupCollection) ProtoMessage()
- func (x *BackupCollection) ProtoReflect() protoreflect.Message
- func (x *BackupCollection) Reset()
- func (x *BackupCollection) String() string
- type BackupFile
- func (*BackupFile) Descriptor() ([]byte, []int)deprecated
- func (x *BackupFile) GetCreateTime() *timestamppb.Timestamp
- func (x *BackupFile) GetFileName() string
- func (x *BackupFile) GetSizeBytes() int64
- func (*BackupFile) ProtoMessage()
- func (x *BackupFile) ProtoReflect() protoreflect.Message
- func (x *BackupFile) Reset()
- func (x *BackupFile) String() string
- type Backup_BackupType
- func (Backup_BackupType) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_BackupType) Enum() *Backup_BackupType
- func (Backup_BackupType) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_BackupType) Number() protoreflect.EnumNumber
- func (x Backup_BackupType) String() string
- func (Backup_BackupType) Type() protoreflect.EnumType
- type Backup_State
- func (Backup_State) Descriptor() protoreflect.EnumDescriptor
- func (x Backup_State) Enum() *Backup_State
- func (Backup_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Backup_State) Number() protoreflect.EnumNumber
- func (x Backup_State) String() string
- func (Backup_State) Type() protoreflect.EnumType
- type CertificateAuthority
- func (*CertificateAuthority) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateAuthority) GetManagedServerCa() *CertificateAuthority_ManagedCertificateAuthority
- func (x *CertificateAuthority) GetName() string
- func (m *CertificateAuthority) GetServerCa() isCertificateAuthority_ServerCa
- func (*CertificateAuthority) ProtoMessage()
- func (x *CertificateAuthority) ProtoReflect() protoreflect.Message
- func (x *CertificateAuthority) Reset()
- func (x *CertificateAuthority) String() string
- type CertificateAuthority_ManagedCertificateAuthority
- func (*CertificateAuthority_ManagedCertificateAuthority) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateAuthority_ManagedCertificateAuthority) GetCaCerts() []*CertificateAuthority_ManagedCertificateAuthority_CertChain
- func (*CertificateAuthority_ManagedCertificateAuthority) ProtoMessage()
- func (x *CertificateAuthority_ManagedCertificateAuthority) ProtoReflect() protoreflect.Message
- func (x *CertificateAuthority_ManagedCertificateAuthority) Reset()
- func (x *CertificateAuthority_ManagedCertificateAuthority) String() string
- type CertificateAuthority_ManagedCertificateAuthority_CertChain
- func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Descriptor() ([]byte, []int)deprecated
- func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) GetCertificates() []string
- func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoMessage()
- func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoReflect() protoreflect.Message
- func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) Reset()
- func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) String() string
- type CertificateAuthority_ManagedServerCa
- type CloudRedisClusterClient
- type CloudRedisClusterServer
- type Cluster
- func (*Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster) GetAuthorizationMode() AuthorizationMode
- func (x *Cluster) GetAutomatedBackupConfig() *AutomatedBackupConfig
- func (x *Cluster) GetBackupCollection() string
- func (x *Cluster) GetClusterEndpoints() []*ClusterEndpoint
- func (x *Cluster) GetCreateTime() *timestamppb.Timestamp
- func (x *Cluster) GetCrossClusterReplicationConfig() *CrossClusterReplicationConfig
- func (x *Cluster) GetDeletionProtectionEnabled() bool
- func (x *Cluster) GetDiscoveryEndpoints() []*DiscoveryEndpoint
- func (x *Cluster) GetEncryptionInfo() *EncryptionInfo
- func (x *Cluster) GetGcsSource() *Cluster_GcsBackupSource
- func (m *Cluster) GetImportSources() isCluster_ImportSources
- func (x *Cluster) GetKmsKey() string
- func (x *Cluster) GetMaintenancePolicy() *ClusterMaintenancePolicy
- func (x *Cluster) GetMaintenanceSchedule() *ClusterMaintenanceSchedule
- func (x *Cluster) GetManagedBackupSource() *Cluster_ManagedBackupSource
- func (x *Cluster) GetName() string
- func (x *Cluster) GetNodeType() NodeType
- func (x *Cluster) GetPersistenceConfig() *ClusterPersistenceConfig
- func (x *Cluster) GetPreciseSizeGb() float64
- func (x *Cluster) GetPscConfigs() []*PscConfig
- func (x *Cluster) GetPscConnections() []*PscConnection
- func (x *Cluster) GetPscServiceAttachments() []*PscServiceAttachment
- func (x *Cluster) GetRedisConfigs() map[string]string
- func (x *Cluster) GetReplicaCount() int32
- func (x *Cluster) GetShardCount() int32
- func (x *Cluster) GetSizeGb() int32
- func (x *Cluster) GetState() Cluster_State
- func (x *Cluster) GetStateInfo() *Cluster_StateInfo
- func (x *Cluster) GetTransitEncryptionMode() TransitEncryptionMode
- func (x *Cluster) GetUid() string
- func (x *Cluster) GetZoneDistributionConfig() *ZoneDistributionConfig
- func (*Cluster) ProtoMessage()
- func (x *Cluster) ProtoReflect() protoreflect.Message
- func (x *Cluster) Reset()
- func (x *Cluster) String() string
- type ClusterEndpoint
- func (*ClusterEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterEndpoint) GetConnections() []*ConnectionDetail
- func (*ClusterEndpoint) ProtoMessage()
- func (x *ClusterEndpoint) ProtoReflect() protoreflect.Message
- func (x *ClusterEndpoint) Reset()
- func (x *ClusterEndpoint) String() string
- type ClusterMaintenancePolicy
- func (*ClusterMaintenancePolicy) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterMaintenancePolicy) GetCreateTime() *timestamppb.Timestamp
- func (x *ClusterMaintenancePolicy) GetUpdateTime() *timestamppb.Timestamp
- func (x *ClusterMaintenancePolicy) GetWeeklyMaintenanceWindow() []*ClusterWeeklyMaintenanceWindow
- func (*ClusterMaintenancePolicy) ProtoMessage()
- func (x *ClusterMaintenancePolicy) ProtoReflect() protoreflect.Message
- func (x *ClusterMaintenancePolicy) Reset()
- func (x *ClusterMaintenancePolicy) String() string
- type ClusterMaintenanceSchedule
- func (*ClusterMaintenanceSchedule) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterMaintenanceSchedule) GetEndTime() *timestamppb.Timestamp
- func (x *ClusterMaintenanceSchedule) GetStartTime() *timestamppb.Timestamp
- func (*ClusterMaintenanceSchedule) ProtoMessage()
- func (x *ClusterMaintenanceSchedule) ProtoReflect() protoreflect.Message
- func (x *ClusterMaintenanceSchedule) Reset()
- func (x *ClusterMaintenanceSchedule) String() string
- type ClusterPersistenceConfig
- func (*ClusterPersistenceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterPersistenceConfig) GetAofConfig() *ClusterPersistenceConfig_AOFConfig
- func (x *ClusterPersistenceConfig) GetMode() ClusterPersistenceConfig_PersistenceMode
- func (x *ClusterPersistenceConfig) GetRdbConfig() *ClusterPersistenceConfig_RDBConfig
- func (*ClusterPersistenceConfig) ProtoMessage()
- func (x *ClusterPersistenceConfig) ProtoReflect() protoreflect.Message
- func (x *ClusterPersistenceConfig) Reset()
- func (x *ClusterPersistenceConfig) String() string
- type ClusterPersistenceConfig_AOFConfig
- func (*ClusterPersistenceConfig_AOFConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterPersistenceConfig_AOFConfig) GetAppendFsync() ClusterPersistenceConfig_AOFConfig_AppendFsync
- func (*ClusterPersistenceConfig_AOFConfig) ProtoMessage()
- func (x *ClusterPersistenceConfig_AOFConfig) ProtoReflect() protoreflect.Message
- func (x *ClusterPersistenceConfig_AOFConfig) Reset()
- func (x *ClusterPersistenceConfig_AOFConfig) String() string
- type ClusterPersistenceConfig_AOFConfig_AppendFsync
- func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterPersistenceConfig_AOFConfig_AppendFsync) Enum() *ClusterPersistenceConfig_AOFConfig_AppendFsync
- func (ClusterPersistenceConfig_AOFConfig_AppendFsync) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterPersistenceConfig_AOFConfig_AppendFsync) Number() protoreflect.EnumNumber
- func (x ClusterPersistenceConfig_AOFConfig_AppendFsync) String() string
- func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Type() protoreflect.EnumType
- type ClusterPersistenceConfig_PersistenceMode
- func (ClusterPersistenceConfig_PersistenceMode) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterPersistenceConfig_PersistenceMode) Enum() *ClusterPersistenceConfig_PersistenceMode
- func (ClusterPersistenceConfig_PersistenceMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterPersistenceConfig_PersistenceMode) Number() protoreflect.EnumNumber
- func (x ClusterPersistenceConfig_PersistenceMode) String() string
- func (ClusterPersistenceConfig_PersistenceMode) Type() protoreflect.EnumType
- type ClusterPersistenceConfig_RDBConfig
- func (*ClusterPersistenceConfig_RDBConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotPeriod() ClusterPersistenceConfig_RDBConfig_SnapshotPeriod
- func (x *ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotStartTime() *timestamppb.Timestamp
- func (*ClusterPersistenceConfig_RDBConfig) ProtoMessage()
- func (x *ClusterPersistenceConfig_RDBConfig) ProtoReflect() protoreflect.Message
- func (x *ClusterPersistenceConfig_RDBConfig) Reset()
- func (x *ClusterPersistenceConfig_RDBConfig) String() string
- type ClusterPersistenceConfig_RDBConfig_SnapshotPeriod
- func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Descriptor() protoreflect.EnumDescriptor
- func (x ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Enum() *ClusterPersistenceConfig_RDBConfig_SnapshotPeriod
- func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) EnumDescriptor() ([]byte, []int)deprecated
- func (x ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Number() protoreflect.EnumNumber
- func (x ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) String() string
- func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Type() protoreflect.EnumType
- type ClusterWeeklyMaintenanceWindow
- func (*ClusterWeeklyMaintenanceWindow) Descriptor() ([]byte, []int)deprecated
- func (x *ClusterWeeklyMaintenanceWindow) GetDay() dayofweek.DayOfWeek
- func (x *ClusterWeeklyMaintenanceWindow) GetStartTime() *timeofday.TimeOfDay
- func (*ClusterWeeklyMaintenanceWindow) ProtoMessage()
- func (x *ClusterWeeklyMaintenanceWindow) ProtoReflect() protoreflect.Message
- func (x *ClusterWeeklyMaintenanceWindow) Reset()
- func (x *ClusterWeeklyMaintenanceWindow) String() string
- type Cluster_GcsBackupSource
- func (*Cluster_GcsBackupSource) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_GcsBackupSource) GetUris() []string
- func (*Cluster_GcsBackupSource) ProtoMessage()
- func (x *Cluster_GcsBackupSource) ProtoReflect() protoreflect.Message
- func (x *Cluster_GcsBackupSource) Reset()
- func (x *Cluster_GcsBackupSource) String() string
- type Cluster_GcsSource
- type Cluster_ManagedBackupSource
- func (*Cluster_ManagedBackupSource) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_ManagedBackupSource) GetBackup() string
- func (*Cluster_ManagedBackupSource) ProtoMessage()
- func (x *Cluster_ManagedBackupSource) ProtoReflect() protoreflect.Message
- func (x *Cluster_ManagedBackupSource) Reset()
- func (x *Cluster_ManagedBackupSource) String() string
- type Cluster_ManagedBackupSource_
- type Cluster_State
- func (Cluster_State) Descriptor() protoreflect.EnumDescriptor
- func (x Cluster_State) Enum() *Cluster_State
- func (Cluster_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x Cluster_State) Number() protoreflect.EnumNumber
- func (x Cluster_State) String() string
- func (Cluster_State) Type() protoreflect.EnumType
- type Cluster_StateInfo
- func (*Cluster_StateInfo) Descriptor() ([]byte, []int)deprecated
- func (m *Cluster_StateInfo) GetInfo() isCluster_StateInfo_Info
- func (x *Cluster_StateInfo) GetUpdateInfo() *Cluster_StateInfo_UpdateInfo
- func (*Cluster_StateInfo) ProtoMessage()
- func (x *Cluster_StateInfo) ProtoReflect() protoreflect.Message
- func (x *Cluster_StateInfo) Reset()
- func (x *Cluster_StateInfo) String() string
- type Cluster_StateInfo_UpdateInfo
- func (*Cluster_StateInfo_UpdateInfo) Descriptor() ([]byte, []int)deprecated
- func (x *Cluster_StateInfo_UpdateInfo) GetTargetReplicaCount() int32
- func (x *Cluster_StateInfo_UpdateInfo) GetTargetShardCount() int32
- func (*Cluster_StateInfo_UpdateInfo) ProtoMessage()
- func (x *Cluster_StateInfo_UpdateInfo) ProtoReflect() protoreflect.Message
- func (x *Cluster_StateInfo_UpdateInfo) Reset()
- func (x *Cluster_StateInfo_UpdateInfo) String() string
- type Cluster_StateInfo_UpdateInfo_
- type ConnectionDetail
- func (*ConnectionDetail) Descriptor() ([]byte, []int)deprecated
- func (m *ConnectionDetail) GetConnection() isConnectionDetail_Connection
- func (x *ConnectionDetail) GetPscAutoConnection() *PscAutoConnection
- func (x *ConnectionDetail) GetPscConnection() *PscConnection
- func (*ConnectionDetail) ProtoMessage()
- func (x *ConnectionDetail) ProtoReflect() protoreflect.Message
- func (x *ConnectionDetail) Reset()
- func (x *ConnectionDetail) String() string
- type ConnectionDetail_PscAutoConnection
- type ConnectionDetail_PscConnection
- type ConnectionType
- func (ConnectionType) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectionType) Enum() *ConnectionType
- func (ConnectionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectionType) Number() protoreflect.EnumNumber
- func (x ConnectionType) String() string
- func (ConnectionType) Type() protoreflect.EnumType
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateClusterRequest) GetCluster() *Cluster
- func (x *CreateClusterRequest) GetClusterId() string
- func (x *CreateClusterRequest) GetParent() string
- func (x *CreateClusterRequest) GetRequestId() string
- func (*CreateClusterRequest) ProtoMessage()
- func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateClusterRequest) Reset()
- func (x *CreateClusterRequest) String() string
- type CrossClusterReplicationConfig
- func (*CrossClusterReplicationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CrossClusterReplicationConfig) GetClusterRole() CrossClusterReplicationConfig_ClusterRole
- func (x *CrossClusterReplicationConfig) GetMembership() *CrossClusterReplicationConfig_Membership
- func (x *CrossClusterReplicationConfig) GetPrimaryCluster() *CrossClusterReplicationConfig_RemoteCluster
- func (x *CrossClusterReplicationConfig) GetSecondaryClusters() []*CrossClusterReplicationConfig_RemoteCluster
- func (x *CrossClusterReplicationConfig) GetUpdateTime() *timestamppb.Timestamp
- func (*CrossClusterReplicationConfig) ProtoMessage()
- func (x *CrossClusterReplicationConfig) ProtoReflect() protoreflect.Message
- func (x *CrossClusterReplicationConfig) Reset()
- func (x *CrossClusterReplicationConfig) String() string
- type CrossClusterReplicationConfig_ClusterRole
- func (CrossClusterReplicationConfig_ClusterRole) Descriptor() protoreflect.EnumDescriptor
- func (x CrossClusterReplicationConfig_ClusterRole) Enum() *CrossClusterReplicationConfig_ClusterRole
- func (CrossClusterReplicationConfig_ClusterRole) EnumDescriptor() ([]byte, []int)deprecated
- func (x CrossClusterReplicationConfig_ClusterRole) Number() protoreflect.EnumNumber
- func (x CrossClusterReplicationConfig_ClusterRole) String() string
- func (CrossClusterReplicationConfig_ClusterRole) Type() protoreflect.EnumType
- type CrossClusterReplicationConfig_Membership
- func (*CrossClusterReplicationConfig_Membership) Descriptor() ([]byte, []int)deprecated
- func (x *CrossClusterReplicationConfig_Membership) GetPrimaryCluster() *CrossClusterReplicationConfig_RemoteCluster
- func (x *CrossClusterReplicationConfig_Membership) GetSecondaryClusters() []*CrossClusterReplicationConfig_RemoteCluster
- func (*CrossClusterReplicationConfig_Membership) ProtoMessage()
- func (x *CrossClusterReplicationConfig_Membership) ProtoReflect() protoreflect.Message
- func (x *CrossClusterReplicationConfig_Membership) Reset()
- func (x *CrossClusterReplicationConfig_Membership) String() string
- type CrossClusterReplicationConfig_RemoteCluster
- func (*CrossClusterReplicationConfig_RemoteCluster) Descriptor() ([]byte, []int)deprecated
- func (x *CrossClusterReplicationConfig_RemoteCluster) GetCluster() string
- func (x *CrossClusterReplicationConfig_RemoteCluster) GetUid() string
- func (*CrossClusterReplicationConfig_RemoteCluster) ProtoMessage()
- func (x *CrossClusterReplicationConfig_RemoteCluster) ProtoReflect() protoreflect.Message
- func (x *CrossClusterReplicationConfig_RemoteCluster) Reset()
- func (x *CrossClusterReplicationConfig_RemoteCluster) String() string
- type DeleteBackupRequest
- func (*DeleteBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteBackupRequest) GetName() string
- func (x *DeleteBackupRequest) GetRequestId() string
- func (*DeleteBackupRequest) ProtoMessage()
- func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteBackupRequest) Reset()
- func (x *DeleteBackupRequest) String() string
- type DeleteClusterRequest
- func (*DeleteClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteClusterRequest) GetName() string
- func (x *DeleteClusterRequest) GetRequestId() string
- func (*DeleteClusterRequest) ProtoMessage()
- func (x *DeleteClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteClusterRequest) Reset()
- func (x *DeleteClusterRequest) String() string
- type DiscoveryEndpoint
- func (*DiscoveryEndpoint) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoveryEndpoint) GetAddress() string
- func (x *DiscoveryEndpoint) GetPort() int32
- func (x *DiscoveryEndpoint) GetPscConfig() *PscConfig
- func (*DiscoveryEndpoint) ProtoMessage()
- func (x *DiscoveryEndpoint) ProtoReflect() protoreflect.Message
- func (x *DiscoveryEndpoint) Reset()
- func (x *DiscoveryEndpoint) String() string
- type EncryptionInfo
- func (*EncryptionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EncryptionInfo) GetEncryptionType() EncryptionInfo_Type
- func (x *EncryptionInfo) GetKmsKeyPrimaryState() EncryptionInfo_KmsKeyState
- func (x *EncryptionInfo) GetKmsKeyVersions() []string
- func (x *EncryptionInfo) GetLastUpdateTime() *timestamppb.Timestamp
- func (*EncryptionInfo) ProtoMessage()
- func (x *EncryptionInfo) ProtoReflect() protoreflect.Message
- func (x *EncryptionInfo) Reset()
- func (x *EncryptionInfo) String() string
- type EncryptionInfo_KmsKeyState
- func (EncryptionInfo_KmsKeyState) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionInfo_KmsKeyState) Enum() *EncryptionInfo_KmsKeyState
- func (EncryptionInfo_KmsKeyState) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionInfo_KmsKeyState) Number() protoreflect.EnumNumber
- func (x EncryptionInfo_KmsKeyState) String() string
- func (EncryptionInfo_KmsKeyState) Type() protoreflect.EnumType
- type EncryptionInfo_Type
- func (EncryptionInfo_Type) Descriptor() protoreflect.EnumDescriptor
- func (x EncryptionInfo_Type) Enum() *EncryptionInfo_Type
- func (EncryptionInfo_Type) EnumDescriptor() ([]byte, []int)deprecated
- func (x EncryptionInfo_Type) Number() protoreflect.EnumNumber
- func (x EncryptionInfo_Type) String() string
- func (EncryptionInfo_Type) Type() protoreflect.EnumType
- type ExportBackupRequest
- func (*ExportBackupRequest) Descriptor() ([]byte, []int)deprecated
- func (m *ExportBackupRequest) GetDestination() isExportBackupRequest_Destination
- func (x *ExportBackupRequest) GetGcsBucket() string
- func (x *ExportBackupRequest) GetName() string
- func (*ExportBackupRequest) ProtoMessage()
- func (x *ExportBackupRequest) ProtoReflect() protoreflect.Message
- func (x *ExportBackupRequest) Reset()
- func (x *ExportBackupRequest) String() string
- type ExportBackupRequest_GcsBucket
- type GetBackupCollectionRequest
- func (*GetBackupCollectionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBackupCollectionRequest) GetName() string
- func (*GetBackupCollectionRequest) ProtoMessage()
- func (x *GetBackupCollectionRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackupCollectionRequest) Reset()
- func (x *GetBackupCollectionRequest) String() string
- type GetBackupRequest
- type GetClusterCertificateAuthorityRequest
- func (*GetClusterCertificateAuthorityRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClusterCertificateAuthorityRequest) GetName() string
- func (*GetClusterCertificateAuthorityRequest) ProtoMessage()
- func (x *GetClusterCertificateAuthorityRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterCertificateAuthorityRequest) Reset()
- func (x *GetClusterCertificateAuthorityRequest) String() string
- type GetClusterRequest
- type ListBackupCollectionsRequest
- func (*ListBackupCollectionsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupCollectionsRequest) GetPageSize() int32
- func (x *ListBackupCollectionsRequest) GetPageToken() string
- func (x *ListBackupCollectionsRequest) GetParent() string
- func (*ListBackupCollectionsRequest) ProtoMessage()
- func (x *ListBackupCollectionsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupCollectionsRequest) Reset()
- func (x *ListBackupCollectionsRequest) String() string
- type ListBackupCollectionsResponse
- func (*ListBackupCollectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupCollectionsResponse) GetBackupCollections() []*BackupCollection
- func (x *ListBackupCollectionsResponse) GetNextPageToken() string
- func (x *ListBackupCollectionsResponse) GetUnreachable() []string
- func (*ListBackupCollectionsResponse) ProtoMessage()
- func (x *ListBackupCollectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupCollectionsResponse) Reset()
- func (x *ListBackupCollectionsResponse) String() string
- type ListBackupsRequest
- func (*ListBackupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsRequest) GetPageSize() int32
- func (x *ListBackupsRequest) GetPageToken() string
- func (x *ListBackupsRequest) GetParent() string
- func (*ListBackupsRequest) ProtoMessage()
- func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListBackupsRequest) Reset()
- func (x *ListBackupsRequest) String() string
- type ListBackupsResponse
- func (*ListBackupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListBackupsResponse) GetBackups() []*Backup
- func (x *ListBackupsResponse) GetNextPageToken() string
- func (x *ListBackupsResponse) GetUnreachable() []string
- func (*ListBackupsResponse) ProtoMessage()
- func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListBackupsResponse) Reset()
- func (x *ListBackupsResponse) String() string
- type ListClustersRequest
- func (*ListClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersRequest) GetPageSize() int32
- func (x *ListClustersRequest) GetPageToken() string
- func (x *ListClustersRequest) GetParent() string
- func (*ListClustersRequest) ProtoMessage()
- func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListClustersRequest) Reset()
- func (x *ListClustersRequest) String() string
- type ListClustersResponse
- func (*ListClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListClustersResponse) GetClusters() []*Cluster
- func (x *ListClustersResponse) GetNextPageToken() string
- func (x *ListClustersResponse) GetUnreachable() []string
- func (*ListClustersResponse) ProtoMessage()
- func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListClustersResponse) Reset()
- func (x *ListClustersResponse) String() string
- type NodeType
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *OperationMetadata) GetApiVersion() string
- func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
- func (x *OperationMetadata) GetRequestedCancellation() bool
- func (x *OperationMetadata) GetStatusMessage() string
- func (x *OperationMetadata) GetTarget() string
- func (x *OperationMetadata) GetVerb() string
- func (*OperationMetadata) ProtoMessage()
- func (x *OperationMetadata) ProtoReflect() protoreflect.Message
- func (x *OperationMetadata) Reset()
- func (x *OperationMetadata) String() string
- type PscAutoConnection
- func (*PscAutoConnection) Descriptor() ([]byte, []int)deprecated
- func (x *PscAutoConnection) GetAddress() string
- func (x *PscAutoConnection) GetConnectionType() ConnectionType
- func (x *PscAutoConnection) GetForwardingRule() string
- func (x *PscAutoConnection) GetNetwork() string
- func (x *PscAutoConnection) GetProjectId() string
- func (x *PscAutoConnection) GetPscConnectionId() string
- func (x *PscAutoConnection) GetPscConnectionStatus() PscConnectionStatus
- func (x *PscAutoConnection) GetServiceAttachment() string
- func (*PscAutoConnection) ProtoMessage()
- func (x *PscAutoConnection) ProtoReflect() protoreflect.Message
- func (x *PscAutoConnection) Reset()
- func (x *PscAutoConnection) String() string
- type PscConfig
- type PscConnection
- func (*PscConnection) Descriptor() ([]byte, []int)deprecated
- func (x *PscConnection) GetAddress() string
- func (x *PscConnection) GetConnectionType() ConnectionType
- func (x *PscConnection) GetForwardingRule() string
- func (x *PscConnection) GetNetwork() string
- func (x *PscConnection) GetProjectId() string
- func (x *PscConnection) GetPscConnectionId() string
- func (x *PscConnection) GetPscConnectionStatus() PscConnectionStatus
- func (x *PscConnection) GetServiceAttachment() string
- func (*PscConnection) ProtoMessage()
- func (x *PscConnection) ProtoReflect() protoreflect.Message
- func (x *PscConnection) Reset()
- func (x *PscConnection) String() string
- type PscConnectionStatus
- func (PscConnectionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x PscConnectionStatus) Enum() *PscConnectionStatus
- func (PscConnectionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x PscConnectionStatus) Number() protoreflect.EnumNumber
- func (x PscConnectionStatus) String() string
- func (PscConnectionStatus) Type() protoreflect.EnumType
- type PscServiceAttachment
- func (*PscServiceAttachment) Descriptor() ([]byte, []int)deprecated
- func (x *PscServiceAttachment) GetConnectionType() ConnectionType
- func (x *PscServiceAttachment) GetServiceAttachment() string
- func (*PscServiceAttachment) ProtoMessage()
- func (x *PscServiceAttachment) ProtoReflect() protoreflect.Message
- func (x *PscServiceAttachment) Reset()
- func (x *PscServiceAttachment) String() string
- type RescheduleClusterMaintenanceRequest
- func (*RescheduleClusterMaintenanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RescheduleClusterMaintenanceRequest) GetName() string
- func (x *RescheduleClusterMaintenanceRequest) GetRescheduleType() RescheduleClusterMaintenanceRequest_RescheduleType
- func (x *RescheduleClusterMaintenanceRequest) GetScheduleTime() *timestamppb.Timestamp
- func (*RescheduleClusterMaintenanceRequest) ProtoMessage()
- func (x *RescheduleClusterMaintenanceRequest) ProtoReflect() protoreflect.Message
- func (x *RescheduleClusterMaintenanceRequest) Reset()
- func (x *RescheduleClusterMaintenanceRequest) String() string
- type RescheduleClusterMaintenanceRequest_RescheduleType
- func (RescheduleClusterMaintenanceRequest_RescheduleType) Descriptor() protoreflect.EnumDescriptor
- func (x RescheduleClusterMaintenanceRequest_RescheduleType) Enum() *RescheduleClusterMaintenanceRequest_RescheduleType
- func (RescheduleClusterMaintenanceRequest_RescheduleType) EnumDescriptor() ([]byte, []int)deprecated
- func (x RescheduleClusterMaintenanceRequest_RescheduleType) Number() protoreflect.EnumNumber
- func (x RescheduleClusterMaintenanceRequest_RescheduleType) String() string
- func (RescheduleClusterMaintenanceRequest_RescheduleType) Type() protoreflect.EnumType
- type TransitEncryptionMode
- func (TransitEncryptionMode) Descriptor() protoreflect.EnumDescriptor
- func (x TransitEncryptionMode) Enum() *TransitEncryptionMode
- func (TransitEncryptionMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransitEncryptionMode) Number() protoreflect.EnumNumber
- func (x TransitEncryptionMode) String() string
- func (TransitEncryptionMode) Type() protoreflect.EnumType
- type UnimplementedCloudRedisClusterServer
- func (UnimplementedCloudRedisClusterServer) BackupCluster(context.Context, *BackupClusterRequest) (*longrunningpb.Operation, error)
- func (UnimplementedCloudRedisClusterServer) CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
- func (UnimplementedCloudRedisClusterServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
- func (UnimplementedCloudRedisClusterServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
- func (UnimplementedCloudRedisClusterServer) ExportBackup(context.Context, *ExportBackupRequest) (*longrunningpb.Operation, error)
- func (UnimplementedCloudRedisClusterServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
- func (UnimplementedCloudRedisClusterServer) GetBackupCollection(context.Context, *GetBackupCollectionRequest) (*BackupCollection, error)
- func (UnimplementedCloudRedisClusterServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
- func (UnimplementedCloudRedisClusterServer) GetClusterCertificateAuthority(context.Context, *GetClusterCertificateAuthorityRequest) (*CertificateAuthority, error)
- func (UnimplementedCloudRedisClusterServer) ListBackupCollections(context.Context, *ListBackupCollectionsRequest) (*ListBackupCollectionsResponse, error)
- func (UnimplementedCloudRedisClusterServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
- func (UnimplementedCloudRedisClusterServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
- func (UnimplementedCloudRedisClusterServer) RescheduleClusterMaintenance(context.Context, *RescheduleClusterMaintenanceRequest) (*longrunningpb.Operation, error)
- func (UnimplementedCloudRedisClusterServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
- type UnsafeCloudRedisClusterServer
- type UpdateClusterRequest
- func (*UpdateClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateClusterRequest) GetCluster() *Cluster
- func (x *UpdateClusterRequest) GetRequestId() string
- func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
- func (*UpdateClusterRequest) ProtoMessage()
- func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateClusterRequest) Reset()
- func (x *UpdateClusterRequest) String() string
- type ZoneDistributionConfig
- func (*ZoneDistributionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *ZoneDistributionConfig) GetMode() ZoneDistributionConfig_ZoneDistributionMode
- func (x *ZoneDistributionConfig) GetZone() string
- func (*ZoneDistributionConfig) ProtoMessage()
- func (x *ZoneDistributionConfig) ProtoReflect() protoreflect.Message
- func (x *ZoneDistributionConfig) Reset()
- func (x *ZoneDistributionConfig) String() string
- type ZoneDistributionConfig_ZoneDistributionMode
- func (ZoneDistributionConfig_ZoneDistributionMode) Descriptor() protoreflect.EnumDescriptor
- func (x ZoneDistributionConfig_ZoneDistributionMode) Enum() *ZoneDistributionConfig_ZoneDistributionMode
- func (ZoneDistributionConfig_ZoneDistributionMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x ZoneDistributionConfig_ZoneDistributionMode) Number() protoreflect.EnumNumber
- func (x ZoneDistributionConfig_ZoneDistributionMode) String() string
- func (ZoneDistributionConfig_ZoneDistributionMode) Type() protoreflect.EnumType
Constants ¶
const ( CloudRedisCluster_ListClusters_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/ListClusters" CloudRedisCluster_GetCluster_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/GetCluster" CloudRedisCluster_UpdateCluster_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/UpdateCluster" CloudRedisCluster_DeleteCluster_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/DeleteCluster" CloudRedisCluster_CreateCluster_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/CreateCluster" CloudRedisCluster_GetClusterCertificateAuthority_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/GetClusterCertificateAuthority" CloudRedisCluster_RescheduleClusterMaintenance_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/RescheduleClusterMaintenance" CloudRedisCluster_ListBackupCollections_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/ListBackupCollections" CloudRedisCluster_GetBackupCollection_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/GetBackupCollection" CloudRedisCluster_ListBackups_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/ListBackups" CloudRedisCluster_GetBackup_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/GetBackup" CloudRedisCluster_DeleteBackup_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/DeleteBackup" CloudRedisCluster_ExportBackup_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/ExportBackup" CloudRedisCluster_BackupCluster_FullMethodName = "/google.cloud.redis.cluster.v1.CloudRedisCluster/BackupCluster" )
Variables ¶
var ( PscConnectionStatus_name = map[int32]string{ 0: "PSC_CONNECTION_STATUS_UNSPECIFIED", 1: "PSC_CONNECTION_STATUS_ACTIVE", 2: "PSC_CONNECTION_STATUS_NOT_FOUND", } PscConnectionStatus_value = map[string]int32{ "PSC_CONNECTION_STATUS_UNSPECIFIED": 0, "PSC_CONNECTION_STATUS_ACTIVE": 1, "PSC_CONNECTION_STATUS_NOT_FOUND": 2, } )
Enum value maps for PscConnectionStatus.
var ( AuthorizationMode_name = map[int32]string{ 0: "AUTH_MODE_UNSPECIFIED", 1: "AUTH_MODE_IAM_AUTH", 2: "AUTH_MODE_DISABLED", } AuthorizationMode_value = map[string]int32{ "AUTH_MODE_UNSPECIFIED": 0, "AUTH_MODE_IAM_AUTH": 1, "AUTH_MODE_DISABLED": 2, } )
Enum value maps for AuthorizationMode.
var ( NodeType_name = map[int32]string{ 0: "NODE_TYPE_UNSPECIFIED", 1: "REDIS_SHARED_CORE_NANO", 2: "REDIS_HIGHMEM_MEDIUM", 3: "REDIS_HIGHMEM_XLARGE", 4: "REDIS_STANDARD_SMALL", } NodeType_value = map[string]int32{ "NODE_TYPE_UNSPECIFIED": 0, "REDIS_SHARED_CORE_NANO": 1, "REDIS_HIGHMEM_MEDIUM": 2, "REDIS_HIGHMEM_XLARGE": 3, "REDIS_STANDARD_SMALL": 4, } )
Enum value maps for NodeType.
var ( TransitEncryptionMode_name = map[int32]string{ 0: "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED", 1: "TRANSIT_ENCRYPTION_MODE_DISABLED", 2: "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION", } TransitEncryptionMode_value = map[string]int32{ "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED": 0, "TRANSIT_ENCRYPTION_MODE_DISABLED": 1, "TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION": 2, } )
Enum value maps for TransitEncryptionMode.
var ( ConnectionType_name = map[int32]string{ 0: "CONNECTION_TYPE_UNSPECIFIED", 1: "CONNECTION_TYPE_DISCOVERY", 2: "CONNECTION_TYPE_PRIMARY", 3: "CONNECTION_TYPE_READER", } ConnectionType_value = map[string]int32{ "CONNECTION_TYPE_UNSPECIFIED": 0, "CONNECTION_TYPE_DISCOVERY": 1, "CONNECTION_TYPE_PRIMARY": 2, "CONNECTION_TYPE_READER": 3, } )
Enum value maps for ConnectionType.
var ( Cluster_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "UPDATING", 4: "DELETING", } Cluster_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "UPDATING": 3, "DELETING": 4, } )
Enum value maps for Cluster_State.
var ( AutomatedBackupConfig_AutomatedBackupMode_name = map[int32]string{ 0: "AUTOMATED_BACKUP_MODE_UNSPECIFIED", 1: "DISABLED", 2: "ENABLED", } AutomatedBackupConfig_AutomatedBackupMode_value = map[string]int32{ "AUTOMATED_BACKUP_MODE_UNSPECIFIED": 0, "DISABLED": 1, "ENABLED": 2, } )
Enum value maps for AutomatedBackupConfig_AutomatedBackupMode.
var ( Backup_BackupType_name = map[int32]string{ 0: "BACKUP_TYPE_UNSPECIFIED", 1: "ON_DEMAND", 2: "AUTOMATED", } Backup_BackupType_value = map[string]int32{ "BACKUP_TYPE_UNSPECIFIED": 0, "ON_DEMAND": 1, "AUTOMATED": 2, } )
Enum value maps for Backup_BackupType.
var ( Backup_State_name = map[int32]string{ 0: "STATE_UNSPECIFIED", 1: "CREATING", 2: "ACTIVE", 3: "DELETING", 4: "SUSPENDED", } Backup_State_value = map[string]int32{ "STATE_UNSPECIFIED": 0, "CREATING": 1, "ACTIVE": 2, "DELETING": 3, "SUSPENDED": 4, } )
Enum value maps for Backup_State.
var ( CrossClusterReplicationConfig_ClusterRole_name = map[int32]string{ 0: "CLUSTER_ROLE_UNSPECIFIED", 1: "NONE", 2: "PRIMARY", 3: "SECONDARY", } CrossClusterReplicationConfig_ClusterRole_value = map[string]int32{ "CLUSTER_ROLE_UNSPECIFIED": 0, "NONE": 1, "PRIMARY": 2, "SECONDARY": 3, } )
Enum value maps for CrossClusterReplicationConfig_ClusterRole.
var ( ClusterPersistenceConfig_PersistenceMode_name = map[int32]string{ 0: "PERSISTENCE_MODE_UNSPECIFIED", 1: "DISABLED", 2: "RDB", 3: "AOF", } ClusterPersistenceConfig_PersistenceMode_value = map[string]int32{ "PERSISTENCE_MODE_UNSPECIFIED": 0, "DISABLED": 1, "RDB": 2, "AOF": 3, } )
Enum value maps for ClusterPersistenceConfig_PersistenceMode.
var ( ClusterPersistenceConfig_RDBConfig_SnapshotPeriod_name = map[int32]string{ 0: "SNAPSHOT_PERIOD_UNSPECIFIED", 1: "ONE_HOUR", 2: "SIX_HOURS", 3: "TWELVE_HOURS", 4: "TWENTY_FOUR_HOURS", } ClusterPersistenceConfig_RDBConfig_SnapshotPeriod_value = map[string]int32{ "SNAPSHOT_PERIOD_UNSPECIFIED": 0, "ONE_HOUR": 1, "SIX_HOURS": 2, "TWELVE_HOURS": 3, "TWENTY_FOUR_HOURS": 4, } )
Enum value maps for ClusterPersistenceConfig_RDBConfig_SnapshotPeriod.
var ( ClusterPersistenceConfig_AOFConfig_AppendFsync_name = map[int32]string{ 0: "APPEND_FSYNC_UNSPECIFIED", 1: "NO", 2: "EVERYSEC", 3: "ALWAYS", } ClusterPersistenceConfig_AOFConfig_AppendFsync_value = map[string]int32{ "APPEND_FSYNC_UNSPECIFIED": 0, "NO": 1, "EVERYSEC": 2, "ALWAYS": 3, } )
Enum value maps for ClusterPersistenceConfig_AOFConfig_AppendFsync.
var ( ZoneDistributionConfig_ZoneDistributionMode_name = map[int32]string{ 0: "ZONE_DISTRIBUTION_MODE_UNSPECIFIED", 1: "MULTI_ZONE", 2: "SINGLE_ZONE", } ZoneDistributionConfig_ZoneDistributionMode_value = map[string]int32{ "ZONE_DISTRIBUTION_MODE_UNSPECIFIED": 0, "MULTI_ZONE": 1, "SINGLE_ZONE": 2, } )
Enum value maps for ZoneDistributionConfig_ZoneDistributionMode.
var ( RescheduleClusterMaintenanceRequest_RescheduleType_name = map[int32]string{ 0: "RESCHEDULE_TYPE_UNSPECIFIED", 1: "IMMEDIATE", 3: "SPECIFIC_TIME", } RescheduleClusterMaintenanceRequest_RescheduleType_value = map[string]int32{ "RESCHEDULE_TYPE_UNSPECIFIED": 0, "IMMEDIATE": 1, "SPECIFIC_TIME": 3, } )
Enum value maps for RescheduleClusterMaintenanceRequest_RescheduleType.
var ( EncryptionInfo_Type_name = map[int32]string{ 0: "TYPE_UNSPECIFIED", 1: "GOOGLE_DEFAULT_ENCRYPTION", 2: "CUSTOMER_MANAGED_ENCRYPTION", } EncryptionInfo_Type_value = map[string]int32{ "TYPE_UNSPECIFIED": 0, "GOOGLE_DEFAULT_ENCRYPTION": 1, "CUSTOMER_MANAGED_ENCRYPTION": 2, } )
Enum value maps for EncryptionInfo_Type.
var ( EncryptionInfo_KmsKeyState_name = map[int32]string{ 0: "KMS_KEY_STATE_UNSPECIFIED", 1: "ENABLED", 2: "PERMISSION_DENIED", 3: "DISABLED", 4: "DESTROYED", 5: "DESTROY_SCHEDULED", 6: "EKM_KEY_UNREACHABLE_DETECTED", 7: "BILLING_DISABLED", 8: "UNKNOWN_FAILURE", } EncryptionInfo_KmsKeyState_value = map[string]int32{ "KMS_KEY_STATE_UNSPECIFIED": 0, "ENABLED": 1, "PERMISSION_DENIED": 2, "DISABLED": 3, "DESTROYED": 4, "DESTROY_SCHEDULED": 5, "EKM_KEY_UNREACHABLE_DETECTED": 6, "BILLING_DISABLED": 7, "UNKNOWN_FAILURE": 8, } )
Enum value maps for EncryptionInfo_KmsKeyState.
var CloudRedisCluster_ServiceDesc = grpc.ServiceDesc{ ServiceName: "google.cloud.redis.cluster.v1.CloudRedisCluster", HandlerType: (*CloudRedisClusterServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListClusters", Handler: _CloudRedisCluster_ListClusters_Handler, }, { MethodName: "GetCluster", Handler: _CloudRedisCluster_GetCluster_Handler, }, { MethodName: "UpdateCluster", Handler: _CloudRedisCluster_UpdateCluster_Handler, }, { MethodName: "DeleteCluster", Handler: _CloudRedisCluster_DeleteCluster_Handler, }, { MethodName: "CreateCluster", Handler: _CloudRedisCluster_CreateCluster_Handler, }, { MethodName: "GetClusterCertificateAuthority", Handler: _CloudRedisCluster_GetClusterCertificateAuthority_Handler, }, { MethodName: "RescheduleClusterMaintenance", Handler: _CloudRedisCluster_RescheduleClusterMaintenance_Handler, }, { MethodName: "ListBackupCollections", Handler: _CloudRedisCluster_ListBackupCollections_Handler, }, { MethodName: "GetBackupCollection", Handler: _CloudRedisCluster_GetBackupCollection_Handler, }, { MethodName: "ListBackups", Handler: _CloudRedisCluster_ListBackups_Handler, }, { MethodName: "GetBackup", Handler: _CloudRedisCluster_GetBackup_Handler, }, { MethodName: "DeleteBackup", Handler: _CloudRedisCluster_DeleteBackup_Handler, }, { MethodName: "ExportBackup", Handler: _CloudRedisCluster_ExportBackup_Handler, }, { MethodName: "BackupCluster", Handler: _CloudRedisCluster_BackupCluster_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "google/cloud/redis/cluster/v1/cloud_redis_cluster.proto", }
CloudRedisCluster_ServiceDesc is the grpc.ServiceDesc for CloudRedisCluster service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_google_cloud_redis_cluster_v1_cloud_redis_cluster_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCloudRedisClusterServer ¶
func RegisterCloudRedisClusterServer(s grpc.ServiceRegistrar, srv CloudRedisClusterServer)
Types ¶
type AuthorizationMode ¶
type AuthorizationMode int32
Available authorization mode of a Redis cluster.
const ( // Not set. AuthorizationMode_AUTH_MODE_UNSPECIFIED AuthorizationMode = 0 // IAM basic authorization mode AuthorizationMode_AUTH_MODE_IAM_AUTH AuthorizationMode = 1 // Authorization disabled mode AuthorizationMode_AUTH_MODE_DISABLED AuthorizationMode = 2 )
func (AuthorizationMode) Descriptor ¶
func (AuthorizationMode) Descriptor() protoreflect.EnumDescriptor
func (AuthorizationMode) Enum ¶
func (x AuthorizationMode) Enum() *AuthorizationMode
func (AuthorizationMode) EnumDescriptor
deprecated
func (AuthorizationMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthorizationMode.Descriptor instead.
func (AuthorizationMode) Number ¶
func (x AuthorizationMode) Number() protoreflect.EnumNumber
func (AuthorizationMode) String ¶
func (x AuthorizationMode) String() string
func (AuthorizationMode) Type ¶
func (AuthorizationMode) Type() protoreflect.EnumType
type AutomatedBackupConfig ¶ added in v1.18.0
type AutomatedBackupConfig struct {
// The schedule of automated backups.
//
// Types that are assignable to Schedule:
//
// *AutomatedBackupConfig_FixedFrequencySchedule_
Schedule isAutomatedBackupConfig_Schedule `protobuf_oneof:"schedule"`
// Optional. The automated backup mode. If the mode is disabled, the other
// fields will be ignored.
AutomatedBackupMode AutomatedBackupConfig_AutomatedBackupMode `` /* 198-byte string literal not displayed */
// Optional. How long to keep automated backups before the backups are
// deleted. The value should be between 1 day and 365 days. If not specified,
// the default value is 35 days.
Retention *durationpb.Duration `protobuf:"bytes,3,opt,name=retention,proto3,oneof" json:"retention,omitempty"`
// contains filtered or unexported fields
}
The automated backup config for a cluster.
func (*AutomatedBackupConfig) Descriptor
deprecated
added in
v1.18.0
func (*AutomatedBackupConfig) Descriptor() ([]byte, []int)
Deprecated: Use AutomatedBackupConfig.ProtoReflect.Descriptor instead.
func (*AutomatedBackupConfig) GetAutomatedBackupMode ¶ added in v1.18.0
func (x *AutomatedBackupConfig) GetAutomatedBackupMode() AutomatedBackupConfig_AutomatedBackupMode
func (*AutomatedBackupConfig) GetFixedFrequencySchedule ¶ added in v1.18.0
func (x *AutomatedBackupConfig) GetFixedFrequencySchedule() *AutomatedBackupConfig_FixedFrequencySchedule
func (*AutomatedBackupConfig) GetRetention ¶ added in v1.18.0
func (x *AutomatedBackupConfig) GetRetention() *durationpb.Duration
func (*AutomatedBackupConfig) GetSchedule ¶ added in v1.18.0
func (m *AutomatedBackupConfig) GetSchedule() isAutomatedBackupConfig_Schedule
func (*AutomatedBackupConfig) ProtoMessage ¶ added in v1.18.0
func (*AutomatedBackupConfig) ProtoMessage()
func (*AutomatedBackupConfig) ProtoReflect ¶ added in v1.18.0
func (x *AutomatedBackupConfig) ProtoReflect() protoreflect.Message
func (*AutomatedBackupConfig) Reset ¶ added in v1.18.0
func (x *AutomatedBackupConfig) Reset()
func (*AutomatedBackupConfig) String ¶ added in v1.18.0
func (x *AutomatedBackupConfig) String() string
type AutomatedBackupConfig_AutomatedBackupMode ¶ added in v1.18.0
type AutomatedBackupConfig_AutomatedBackupMode int32
The automated backup mode.
const ( // Default value. Automated backup config is not specified. AutomatedBackupConfig_AUTOMATED_BACKUP_MODE_UNSPECIFIED AutomatedBackupConfig_AutomatedBackupMode = 0 // Automated backup config disabled. AutomatedBackupConfig_DISABLED AutomatedBackupConfig_AutomatedBackupMode = 1 // Automated backup config enabled. AutomatedBackupConfig_ENABLED AutomatedBackupConfig_AutomatedBackupMode = 2 )
func (AutomatedBackupConfig_AutomatedBackupMode) Descriptor ¶ added in v1.18.0
func (AutomatedBackupConfig_AutomatedBackupMode) Descriptor() protoreflect.EnumDescriptor
func (AutomatedBackupConfig_AutomatedBackupMode) EnumDescriptor
deprecated
added in
v1.18.0
func (AutomatedBackupConfig_AutomatedBackupMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutomatedBackupConfig_AutomatedBackupMode.Descriptor instead.
func (AutomatedBackupConfig_AutomatedBackupMode) Number ¶ added in v1.18.0
func (x AutomatedBackupConfig_AutomatedBackupMode) Number() protoreflect.EnumNumber
func (AutomatedBackupConfig_AutomatedBackupMode) String ¶ added in v1.18.0
func (x AutomatedBackupConfig_AutomatedBackupMode) String() string
func (AutomatedBackupConfig_AutomatedBackupMode) Type ¶ added in v1.18.0
func (AutomatedBackupConfig_AutomatedBackupMode) Type() protoreflect.EnumType
type AutomatedBackupConfig_FixedFrequencySchedule ¶ added in v1.18.0
type AutomatedBackupConfig_FixedFrequencySchedule struct {
// Required. The start time of every automated backup in UTC. It must be set
// to the start of an hour. This field is required.
StartTime *timeofday.TimeOfDay `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3,oneof" json:"start_time,omitempty"`
// contains filtered or unexported fields
}
This schedule allows the backup to be triggered at a fixed frequency (currently only daily is supported).
func (*AutomatedBackupConfig_FixedFrequencySchedule) Descriptor
deprecated
added in
v1.18.0
func (*AutomatedBackupConfig_FixedFrequencySchedule) Descriptor() ([]byte, []int)
Deprecated: Use AutomatedBackupConfig_FixedFrequencySchedule.ProtoReflect.Descriptor instead.
func (*AutomatedBackupConfig_FixedFrequencySchedule) GetStartTime ¶ added in v1.18.0
func (x *AutomatedBackupConfig_FixedFrequencySchedule) GetStartTime() *timeofday.TimeOfDay
func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoMessage ¶ added in v1.18.0
func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoMessage()
func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoReflect ¶ added in v1.18.0
func (x *AutomatedBackupConfig_FixedFrequencySchedule) ProtoReflect() protoreflect.Message
func (*AutomatedBackupConfig_FixedFrequencySchedule) Reset ¶ added in v1.18.0
func (x *AutomatedBackupConfig_FixedFrequencySchedule) Reset()
func (*AutomatedBackupConfig_FixedFrequencySchedule) String ¶ added in v1.18.0
func (x *AutomatedBackupConfig_FixedFrequencySchedule) String() string
type AutomatedBackupConfig_FixedFrequencySchedule_ ¶ added in v1.18.0
type AutomatedBackupConfig_FixedFrequencySchedule_ struct {
// Optional. Trigger automated backups at a fixed frequency.
FixedFrequencySchedule *AutomatedBackupConfig_FixedFrequencySchedule `protobuf:"bytes,2,opt,name=fixed_frequency_schedule,json=fixedFrequencySchedule,proto3,oneof"`
}
type Backup ¶ added in v1.18.0
type Backup struct {
// Identifier. Full resource path of the backup. the last part of the name is
// the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Cluster
// UID] OR customer specified while backup cluster. Example:
// 20240515123000_1234
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The time when the backup was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. Cluster resource path of this backup.
Cluster string `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Output only. Cluster uid of this backup.
ClusterUid string `protobuf:"bytes,4,opt,name=cluster_uid,json=clusterUid,proto3" json:"cluster_uid,omitempty"`
// Output only. Total size of the backup in bytes.
TotalSizeBytes int64 `protobuf:"varint,5,opt,name=total_size_bytes,json=totalSizeBytes,proto3" json:"total_size_bytes,omitempty"`
// Output only. The time when the backup will expire.
ExpireTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`
// Output only. redis-7.2, valkey-7.5
EngineVersion string `protobuf:"bytes,7,opt,name=engine_version,json=engineVersion,proto3" json:"engine_version,omitempty"`
// Output only. List of backup files of the backup.
BackupFiles []*BackupFile `protobuf:"bytes,8,rep,name=backup_files,json=backupFiles,proto3" json:"backup_files,omitempty"`
// Output only. Node type of the cluster.
NodeType NodeType `` /* 130-byte string literal not displayed */
// Output only. Number of replicas for the cluster.
ReplicaCount int32 `protobuf:"varint,10,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"`
// Output only. Number of shards for the cluster.
ShardCount int32 `protobuf:"varint,11,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
// Output only. Type of the backup.
BackupType Backup_BackupType `` /* 146-byte string literal not displayed */
// Output only. State of the backup.
State Backup_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.redis.cluster.v1.Backup_State" json:"state,omitempty"`
// Output only. Encryption information of the backup.
EncryptionInfo *EncryptionInfo `protobuf:"bytes,14,opt,name=encryption_info,json=encryptionInfo,proto3" json:"encryption_info,omitempty"`
// Output only. System assigned unique identifier of the backup.
Uid string `protobuf:"bytes,15,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}
Backup of a cluster.
func (*Backup) Descriptor
deprecated
added in
v1.18.0
func (*Backup) GetBackupFiles ¶ added in v1.18.0
func (x *Backup) GetBackupFiles() []*BackupFile
func (*Backup) GetBackupType ¶ added in v1.18.0
func (x *Backup) GetBackupType() Backup_BackupType
func (*Backup) GetCluster ¶ added in v1.18.0
func (*Backup) GetClusterUid ¶ added in v1.18.0
func (*Backup) GetCreateTime ¶ added in v1.18.0
func (x *Backup) GetCreateTime() *timestamppb.Timestamp
func (*Backup) GetEncryptionInfo ¶ added in v1.18.0
func (x *Backup) GetEncryptionInfo() *EncryptionInfo
func (*Backup) GetEngineVersion ¶ added in v1.18.0
func (*Backup) GetExpireTime ¶ added in v1.18.0
func (x *Backup) GetExpireTime() *timestamppb.Timestamp
func (*Backup) GetNodeType ¶ added in v1.18.0
func (*Backup) GetReplicaCount ¶ added in v1.18.0
func (*Backup) GetShardCount ¶ added in v1.18.0
func (*Backup) GetState ¶ added in v1.18.0
func (x *Backup) GetState() Backup_State
func (*Backup) GetTotalSizeBytes ¶ added in v1.18.0
func (*Backup) ProtoMessage ¶ added in v1.18.0
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect ¶ added in v1.18.0
func (x *Backup) ProtoReflect() protoreflect.Message
type BackupClusterRequest ¶ added in v1.18.0
type BackupClusterRequest struct {
// Required. Redis cluster resource name using the form:
//
// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
//
// where `location_id` refers to a GCP region.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. TTL for the backup to expire. Value range is 1 day to 100 years.
// If not specified, the default value is 100 years.
Ttl *durationpb.Duration `protobuf:"bytes,2,opt,name=ttl,proto3" json:"ttl,omitempty"`
// Optional. The id of the backup to be created. If not specified, the
// default value ([YYYYMMDDHHMMSS]_[Shortened Cluster UID] is used.
BackupId *string `protobuf:"bytes,3,opt,name=backup_id,json=backupId,proto3,oneof" json:"backup_id,omitempty"`
// contains filtered or unexported fields
}
Request for [BackupCluster].
func (*BackupClusterRequest) Descriptor
deprecated
added in
v1.18.0
func (*BackupClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupClusterRequest.ProtoReflect.Descriptor instead.
func (*BackupClusterRequest) GetBackupId ¶ added in v1.18.0
func (x *BackupClusterRequest) GetBackupId() string
func (*BackupClusterRequest) GetName ¶ added in v1.18.0
func (x *BackupClusterRequest) GetName() string
func (*BackupClusterRequest) GetTtl ¶ added in v1.18.0
func (x *BackupClusterRequest) GetTtl() *durationpb.Duration
func (*BackupClusterRequest) ProtoMessage ¶ added in v1.18.0
func (*BackupClusterRequest) ProtoMessage()
func (*BackupClusterRequest) ProtoReflect ¶ added in v1.18.0
func (x *BackupClusterRequest) ProtoReflect() protoreflect.Message
func (*BackupClusterRequest) Reset ¶ added in v1.18.0
func (x *BackupClusterRequest) Reset()
func (*BackupClusterRequest) String ¶ added in v1.18.0
func (x *BackupClusterRequest) String() string
type BackupCollection ¶ added in v1.18.0
type BackupCollection struct {
// Identifier. Full resource path of the backup collection.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The cluster uid of the backup collection.
ClusterUid string `protobuf:"bytes,3,opt,name=cluster_uid,json=clusterUid,proto3" json:"cluster_uid,omitempty"`
// Output only. The full resource path of the cluster the backup collection
// belongs to. Example:
// projects/{project}/locations/{location}/clusters/{cluster}
Cluster string `protobuf:"bytes,4,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Output only. The KMS key used to encrypt the backups under this backup
// collection.
KmsKey string `protobuf:"bytes,5,opt,name=kms_key,json=kmsKey,proto3" json:"kms_key,omitempty"`
// Output only. System assigned unique identifier of the backup collection.
Uid string `protobuf:"bytes,6,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}
BackupCollection of a cluster.
func (*BackupCollection) Descriptor
deprecated
added in
v1.18.0
func (*BackupCollection) Descriptor() ([]byte, []int)
Deprecated: Use BackupCollection.ProtoReflect.Descriptor instead.
func (*BackupCollection) GetCluster ¶ added in v1.18.0
func (x *BackupCollection) GetCluster() string
func (*BackupCollection) GetClusterUid ¶ added in v1.18.0
func (x *BackupCollection) GetClusterUid() string
func (*BackupCollection) GetKmsKey ¶ added in v1.18.0
func (x *BackupCollection) GetKmsKey() string
func (*BackupCollection) GetName ¶ added in v1.18.0
func (x *BackupCollection) GetName() string
func (*BackupCollection) GetUid ¶ added in v1.18.0
func (x *BackupCollection) GetUid() string
func (*BackupCollection) ProtoMessage ¶ added in v1.18.0
func (*BackupCollection) ProtoMessage()
func (*BackupCollection) ProtoReflect ¶ added in v1.18.0
func (x *BackupCollection) ProtoReflect() protoreflect.Message
func (*BackupCollection) Reset ¶ added in v1.18.0
func (x *BackupCollection) Reset()
func (*BackupCollection) String ¶ added in v1.18.0
func (x *BackupCollection) String() string
type BackupFile ¶ added in v1.18.0
type BackupFile struct {
// Output only. e.g: <shard-id>.rdb
FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
// Output only. Size of the backup file in bytes.
SizeBytes int64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
// Output only. The time when the backup file was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// contains filtered or unexported fields
}
Backup is consisted of multiple backup files.
func (*BackupFile) Descriptor
deprecated
added in
v1.18.0
func (*BackupFile) Descriptor() ([]byte, []int)
Deprecated: Use BackupFile.ProtoReflect.Descriptor instead.
func (*BackupFile) GetCreateTime ¶ added in v1.18.0
func (x *BackupFile) GetCreateTime() *timestamppb.Timestamp
func (*BackupFile) GetFileName ¶ added in v1.18.0
func (x *BackupFile) GetFileName() string
func (*BackupFile) GetSizeBytes ¶ added in v1.18.0
func (x *BackupFile) GetSizeBytes() int64
func (*BackupFile) ProtoMessage ¶ added in v1.18.0
func (*BackupFile) ProtoMessage()
func (*BackupFile) ProtoReflect ¶ added in v1.18.0
func (x *BackupFile) ProtoReflect() protoreflect.Message
func (*BackupFile) Reset ¶ added in v1.18.0
func (x *BackupFile) Reset()
func (*BackupFile) String ¶ added in v1.18.0
func (x *BackupFile) String() string
type Backup_BackupType ¶ added in v1.18.0
type Backup_BackupType int32
Type of the backup.
const ( // The default value, not set. Backup_BACKUP_TYPE_UNSPECIFIED Backup_BackupType = 0 // On-demand backup. Backup_ON_DEMAND Backup_BackupType = 1 // Automated backup. Backup_AUTOMATED Backup_BackupType = 2 )
func (Backup_BackupType) Descriptor ¶ added in v1.18.0
func (Backup_BackupType) Descriptor() protoreflect.EnumDescriptor
func (Backup_BackupType) Enum ¶ added in v1.18.0
func (x Backup_BackupType) Enum() *Backup_BackupType
func (Backup_BackupType) EnumDescriptor
deprecated
added in
v1.18.0
func (Backup_BackupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_BackupType.Descriptor instead.
func (Backup_BackupType) Number ¶ added in v1.18.0
func (x Backup_BackupType) Number() protoreflect.EnumNumber
func (Backup_BackupType) String ¶ added in v1.18.0
func (x Backup_BackupType) String() string
func (Backup_BackupType) Type ¶ added in v1.18.0
func (Backup_BackupType) Type() protoreflect.EnumType
type Backup_State ¶ added in v1.18.0
type Backup_State int32
State of the backup.
const ( // The default value, not set. Backup_STATE_UNSPECIFIED Backup_State = 0 // The backup is being created. Backup_CREATING Backup_State = 1 // The backup is active to be used. Backup_ACTIVE Backup_State = 2 // The backup is being deleted. Backup_DELETING Backup_State = 3 // The backup is currently suspended due to reasons like project deletion, // billing account closure, etc. Backup_SUSPENDED Backup_State = 4 )
func (Backup_State) Descriptor ¶ added in v1.18.0
func (Backup_State) Descriptor() protoreflect.EnumDescriptor
func (Backup_State) Enum ¶ added in v1.18.0
func (x Backup_State) Enum() *Backup_State
func (Backup_State) EnumDescriptor
deprecated
added in
v1.18.0
func (Backup_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_State.Descriptor instead.
func (Backup_State) Number ¶ added in v1.18.0
func (x Backup_State) Number() protoreflect.EnumNumber
func (Backup_State) String ¶ added in v1.18.0
func (x Backup_State) String() string
func (Backup_State) Type ¶ added in v1.18.0
func (Backup_State) Type() protoreflect.EnumType
type CertificateAuthority ¶ added in v1.16.0
type CertificateAuthority struct {
// server ca information
//
// Types that are assignable to ServerCa:
//
// *CertificateAuthority_ManagedServerCa
ServerCa isCertificateAuthority_ServerCa `protobuf_oneof:"server_ca"`
// Identifier. Unique name of the resource in this scope including project,
// location and cluster using the form:
//
// `projects/{project}/locations/{location}/clusters/{cluster}/certificateAuthority`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Redis cluster certificate authority
func (*CertificateAuthority) Descriptor
deprecated
added in
v1.16.0
func (*CertificateAuthority) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority.ProtoReflect.Descriptor instead.
func (*CertificateAuthority) GetManagedServerCa ¶ added in v1.16.0
func (x *CertificateAuthority) GetManagedServerCa() *CertificateAuthority_ManagedCertificateAuthority
func (*CertificateAuthority) GetName ¶ added in v1.16.0
func (x *CertificateAuthority) GetName() string
func (*CertificateAuthority) GetServerCa ¶ added in v1.16.0
func (m *CertificateAuthority) GetServerCa() isCertificateAuthority_ServerCa
func (*CertificateAuthority) ProtoMessage ¶ added in v1.16.0
func (*CertificateAuthority) ProtoMessage()
func (*CertificateAuthority) ProtoReflect ¶ added in v1.16.0
func (x *CertificateAuthority) ProtoReflect() protoreflect.Message
func (*CertificateAuthority) Reset ¶ added in v1.16.0
func (x *CertificateAuthority) Reset()
func (*CertificateAuthority) String ¶ added in v1.16.0
func (x *CertificateAuthority) String() string
type CertificateAuthority_ManagedCertificateAuthority ¶ added in v1.16.0
type CertificateAuthority_ManagedCertificateAuthority struct {
// The PEM encoded CA certificate chains for redis managed
// server authentication
CaCerts []*CertificateAuthority_ManagedCertificateAuthority_CertChain `protobuf:"bytes,1,rep,name=ca_certs,json=caCerts,proto3" json:"ca_certs,omitempty"`
// contains filtered or unexported fields
}
func (*CertificateAuthority_ManagedCertificateAuthority) Descriptor
deprecated
added in
v1.16.0
func (*CertificateAuthority_ManagedCertificateAuthority) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority_ManagedCertificateAuthority.ProtoReflect.Descriptor instead.
func (*CertificateAuthority_ManagedCertificateAuthority) GetCaCerts ¶ added in v1.16.0
func (x *CertificateAuthority_ManagedCertificateAuthority) GetCaCerts() []*CertificateAuthority_ManagedCertificateAuthority_CertChain
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoMessage ¶ added in v1.16.0
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoMessage()
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoReflect ¶ added in v1.16.0
func (x *CertificateAuthority_ManagedCertificateAuthority) ProtoReflect() protoreflect.Message
func (*CertificateAuthority_ManagedCertificateAuthority) Reset ¶ added in v1.16.0
func (x *CertificateAuthority_ManagedCertificateAuthority) Reset()
func (*CertificateAuthority_ManagedCertificateAuthority) String ¶ added in v1.16.0
func (x *CertificateAuthority_ManagedCertificateAuthority) String() string
type CertificateAuthority_ManagedCertificateAuthority_CertChain ¶ added in v1.16.0
type CertificateAuthority_ManagedCertificateAuthority_CertChain struct {
// The certificates that form the CA chain, from leaf to root order.
Certificates []string `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
// contains filtered or unexported fields
}
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Descriptor
deprecated
added in
v1.16.0
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority_ManagedCertificateAuthority_CertChain.ProtoReflect.Descriptor instead.
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) GetCertificates ¶ added in v1.16.0
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) GetCertificates() []string
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoMessage ¶ added in v1.16.0
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoMessage()
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoReflect ¶ added in v1.16.0
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoReflect() protoreflect.Message
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Reset ¶ added in v1.16.0
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) Reset()
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) String ¶ added in v1.16.0
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) String() string
type CertificateAuthority_ManagedServerCa ¶ added in v1.16.0
type CertificateAuthority_ManagedServerCa struct {
ManagedServerCa *CertificateAuthority_ManagedCertificateAuthority `protobuf:"bytes,1,opt,name=managed_server_ca,json=managedServerCa,proto3,oneof"`
}
type CloudRedisClusterClient ¶
type CloudRedisClusterClient interface {
// Lists all Redis clusters owned by a project in either the specified
// location (region) or all locations.
//
// The location should have the following format:
//
// * `projects/{project_id}/locations/{location_id}`
//
// If `location_id` is specified as `-` (wildcard), then all regions
// available to the project are queried, and the results are aggregated.
ListClusters(ctx context.Context, in *ListClustersRequest, opts ...grpc.CallOption) (*ListClustersResponse, error)
// Gets the details of a specific Redis cluster.
GetCluster(ctx context.Context, in *GetClusterRequest, opts ...grpc.CallOption) (*Cluster, error)
// Updates the metadata and configuration of a specific Redis cluster.
//
// Completed longrunning.Operation will contain the new cluster object
// in the response field. The returned operation is automatically deleted
// after a few hours, so there is no need to call DeleteOperation.
UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Deletes a specific Redis cluster. Cluster stops serving and data is
// deleted.
DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Creates a Redis cluster based on the specified properties.
// The creation is executed asynchronously and callers may check the returned
// operation to track its progress. Once the operation is completed the Redis
// cluster will be fully functional. The completed longrunning.Operation will
// contain the new cluster object in the response field.
//
// The returned operation is automatically deleted after a few hours, so there
// is no need to call DeleteOperation.
CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Gets the details of certificate authority information for Redis cluster.
GetClusterCertificateAuthority(ctx context.Context, in *GetClusterCertificateAuthorityRequest, opts ...grpc.CallOption) (*CertificateAuthority, error)
// Reschedules upcoming maintenance event.
RescheduleClusterMaintenance(ctx context.Context, in *RescheduleClusterMaintenanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Lists all backup collections owned by a consumer project in either the
// specified location (region) or all locations.
//
// If `location_id` is specified as `-` (wildcard), then all regions
// available to the project are queried, and the results are aggregated.
ListBackupCollections(ctx context.Context, in *ListBackupCollectionsRequest, opts ...grpc.CallOption) (*ListBackupCollectionsResponse, error)
// Get a backup collection.
GetBackupCollection(ctx context.Context, in *GetBackupCollectionRequest, opts ...grpc.CallOption) (*BackupCollection, error)
// Lists all backups owned by a backup collection.
ListBackups(ctx context.Context, in *ListBackupsRequest, opts ...grpc.CallOption) (*ListBackupsResponse, error)
// Gets the details of a specific backup.
GetBackup(ctx context.Context, in *GetBackupRequest, opts ...grpc.CallOption) (*Backup, error)
// Deletes a specific backup.
DeleteBackup(ctx context.Context, in *DeleteBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Exports a specific backup to a customer target Cloud Storage URI.
ExportBackup(ctx context.Context, in *ExportBackupRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
// Backup Redis Cluster.
// If this is the first time a backup is being created, a backup collection
// will be created at the backend, and this backup belongs to this collection.
// Both collection and backup will have a resource name. Backup will be
// executed for each shard. A replica (primary if nonHA) will be selected to
// perform the execution. Backup call will be rejected if there is an ongoing
// backup or update operation. Be aware that during preview, if the cluster's
// internal software version is too old, critical update will be performed
// before actual backup. Once the internal software version is updated to the
// minimum version required by the backup feature, subsequent backups will not
// require critical update. After preview, there will be no critical update
// needed for backup.
BackupCluster(ctx context.Context, in *BackupClusterRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}
CloudRedisClusterClient is the client API for CloudRedisCluster 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.
func NewCloudRedisClusterClient ¶
func NewCloudRedisClusterClient(cc grpc.ClientConnInterface) CloudRedisClusterClient
type CloudRedisClusterServer ¶
type CloudRedisClusterServer interface {
// Lists all Redis clusters owned by a project in either the specified
// location (region) or all locations.
//
// The location should have the following format:
//
// * `projects/{project_id}/locations/{location_id}`
//
// If `location_id` is specified as `-` (wildcard), then all regions
// available to the project are queried, and the results are aggregated.
ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
// Gets the details of a specific Redis cluster.
GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
// Updates the metadata and configuration of a specific Redis cluster.
//
// Completed longrunning.Operation will contain the new cluster object
// in the response field. The returned operation is automatically deleted
// after a few hours, so there is no need to call DeleteOperation.
UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
// Deletes a specific Redis cluster. Cluster stops serving and data is
// deleted.
DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
// Creates a Redis cluster based on the specified properties.
// The creation is executed asynchronously and callers may check the returned
// operation to track its progress. Once the operation is completed the Redis
// cluster will be fully functional. The completed longrunning.Operation will
// contain the new cluster object in the response field.
//
// The returned operation is automatically deleted after a few hours, so there
// is no need to call DeleteOperation.
CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
// Gets the details of certificate authority information for Redis cluster.
GetClusterCertificateAuthority(context.Context, *GetClusterCertificateAuthorityRequest) (*CertificateAuthority, error)
// Reschedules upcoming maintenance event.
RescheduleClusterMaintenance(context.Context, *RescheduleClusterMaintenanceRequest) (*longrunningpb.Operation, error)
// Lists all backup collections owned by a consumer project in either the
// specified location (region) or all locations.
//
// If `location_id` is specified as `-` (wildcard), then all regions
// available to the project are queried, and the results are aggregated.
ListBackupCollections(context.Context, *ListBackupCollectionsRequest) (*ListBackupCollectionsResponse, error)
// Get a backup collection.
GetBackupCollection(context.Context, *GetBackupCollectionRequest) (*BackupCollection, error)
// Lists all backups owned by a backup collection.
ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
// Gets the details of a specific backup.
GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
// Deletes a specific backup.
DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
// Exports a specific backup to a customer target Cloud Storage URI.
ExportBackup(context.Context, *ExportBackupRequest) (*longrunningpb.Operation, error)
// Backup Redis Cluster.
// If this is the first time a backup is being created, a backup collection
// will be created at the backend, and this backup belongs to this collection.
// Both collection and backup will have a resource name. Backup will be
// executed for each shard. A replica (primary if nonHA) will be selected to
// perform the execution. Backup call will be rejected if there is an ongoing
// backup or update operation. Be aware that during preview, if the cluster's
// internal software version is too old, critical update will be performed
// before actual backup. Once the internal software version is updated to the
// minimum version required by the backup feature, subsequent backups will not
// require critical update. After preview, there will be no critical update
// needed for backup.
BackupCluster(context.Context, *BackupClusterRequest) (*longrunningpb.Operation, error)
}
CloudRedisClusterServer is the server API for CloudRedisCluster service. All implementations should embed UnimplementedCloudRedisClusterServer for forward compatibility
type Cluster ¶
type Cluster struct {
// The source to import from.
//
// Types that are assignable to ImportSources:
//
// *Cluster_GcsSource
// *Cluster_ManagedBackupSource_
ImportSources isCluster_ImportSources `protobuf_oneof:"import_sources"`
// Required. Identifier. Unique name of the resource in this scope including
// project and location using the form:
//
// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Output only. The timestamp associated with the cluster creation request.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The current state of this cluster.
// Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
State Cluster_State `protobuf:"varint,4,opt,name=state,proto3,enum=google.cloud.redis.cluster.v1.Cluster_State" json:"state,omitempty"`
// Output only. System assigned, unique identifier for the cluster.
Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"`
// Optional. The number of replica nodes per shard.
ReplicaCount *int32 `protobuf:"varint,8,opt,name=replica_count,json=replicaCount,proto3,oneof" json:"replica_count,omitempty"`
// Optional. The authorization mode of the Redis cluster.
// If not provided, auth feature is disabled for the cluster.
AuthorizationMode AuthorizationMode `` /* 167-byte string literal not displayed */
// Optional. The in-transit encryption for the Redis cluster.
// If not provided, encryption is disabled for the cluster.
TransitEncryptionMode TransitEncryptionMode `` /* 185-byte string literal not displayed */
// Output only. Redis memory size in GB for the entire cluster rounded up to
// the next integer.
SizeGb *int32 `protobuf:"varint,13,opt,name=size_gb,json=sizeGb,proto3,oneof" json:"size_gb,omitempty"`
// Optional. Number of shards for the Redis cluster.
ShardCount *int32 `protobuf:"varint,14,opt,name=shard_count,json=shardCount,proto3,oneof" json:"shard_count,omitempty"`
// Optional. Each PscConfig configures the consumer network where IPs will
// be designated to the cluster for client access through Private Service
// Connect Automation. Currently, only one PscConfig is supported.
PscConfigs []*PscConfig `protobuf:"bytes,15,rep,name=psc_configs,json=pscConfigs,proto3" json:"psc_configs,omitempty"`
// Output only. Endpoints created on each given network, for Redis clients to
// connect to the cluster. Currently only one discovery endpoint is supported.
DiscoveryEndpoints []*DiscoveryEndpoint `protobuf:"bytes,16,rep,name=discovery_endpoints,json=discoveryEndpoints,proto3" json:"discovery_endpoints,omitempty"`
// Output only. The list of PSC connections that are auto-created through
// service connectivity automation.
PscConnections []*PscConnection `protobuf:"bytes,17,rep,name=psc_connections,json=pscConnections,proto3" json:"psc_connections,omitempty"`
// Output only. Additional information about the current state of the cluster.
StateInfo *Cluster_StateInfo `protobuf:"bytes,18,opt,name=state_info,json=stateInfo,proto3" json:"state_info,omitempty"`
// Optional. The type of a redis node in the cluster. NodeType determines the
// underlying machine-type of a redis node.
NodeType NodeType `` /* 131-byte string literal not displayed */
// Optional. Persistence config (RDB, AOF) for the cluster.
PersistenceConfig *ClusterPersistenceConfig `protobuf:"bytes,20,opt,name=persistence_config,json=persistenceConfig,proto3" json:"persistence_config,omitempty"`
// Optional. Key/Value pairs of customer overrides for mutable Redis Configs
RedisConfigs map[string]string `` /* 186-byte string literal not displayed */
// Output only. Precise value of redis memory size in GB for the entire
// cluster.
PreciseSizeGb *float64 `protobuf:"fixed64,22,opt,name=precise_size_gb,json=preciseSizeGb,proto3,oneof" json:"precise_size_gb,omitempty"`
// Optional. This config will be used to determine how the customer wants us
// to distribute cluster resources within the region.
ZoneDistributionConfig *ZoneDistributionConfig `` /* 130-byte string literal not displayed */
// Optional. Cross cluster replication config.
CrossClusterReplicationConfig *CrossClusterReplicationConfig `` /* 153-byte string literal not displayed */
// Optional. The delete operation will fail when the value is set to true.
DeletionProtectionEnabled *bool `` /* 146-byte string literal not displayed */
// Optional. ClusterMaintenancePolicy determines when to allow or deny
// updates.
MaintenancePolicy *ClusterMaintenancePolicy `protobuf:"bytes,26,opt,name=maintenance_policy,json=maintenancePolicy,proto3,oneof" json:"maintenance_policy,omitempty"`
// Output only. ClusterMaintenanceSchedule Output only Published maintenance
// schedule.
MaintenanceSchedule *ClusterMaintenanceSchedule `protobuf:"bytes,27,opt,name=maintenance_schedule,json=maintenanceSchedule,proto3,oneof" json:"maintenance_schedule,omitempty"`
// Output only. Service attachment details to configure Psc connections
PscServiceAttachments []*PscServiceAttachment `` /* 127-byte string literal not displayed */
// Optional. A list of cluster enpoints.
ClusterEndpoints []*ClusterEndpoint `protobuf:"bytes,36,rep,name=cluster_endpoints,json=clusterEndpoints,proto3" json:"cluster_endpoints,omitempty"`
// Optional. Output only. The backup collection full resource name. Example:
// projects/{project}/locations/{location}/backupCollections/{collection}
BackupCollection *string `protobuf:"bytes,39,opt,name=backup_collection,json=backupCollection,proto3,oneof" json:"backup_collection,omitempty"`
// Optional. The KMS key used to encrypt the at-rest data of the cluster.
KmsKey *string `protobuf:"bytes,40,opt,name=kms_key,json=kmsKey,proto3,oneof" json:"kms_key,omitempty"`
// Optional. The automated backup config for the cluster.
AutomatedBackupConfig *AutomatedBackupConfig `` /* 127-byte string literal not displayed */
// Output only. Encryption information of the data at rest of the cluster.
EncryptionInfo *EncryptionInfo `protobuf:"bytes,43,opt,name=encryption_info,json=encryptionInfo,proto3" json:"encryption_info,omitempty"`
// contains filtered or unexported fields
}
A cluster instance.
func (*Cluster) Descriptor
deprecated
func (*Cluster) GetAuthorizationMode ¶
func (x *Cluster) GetAuthorizationMode() AuthorizationMode
func (*Cluster) GetAutomatedBackupConfig ¶ added in v1.18.0
func (x *Cluster) GetAutomatedBackupConfig() *AutomatedBackupConfig
func (*Cluster) GetBackupCollection ¶ added in v1.18.0
func (*Cluster) GetClusterEndpoints ¶ added in v1.18.0
func (x *Cluster) GetClusterEndpoints() []*ClusterEndpoint
func (*Cluster) GetCreateTime ¶
func (x *Cluster) GetCreateTime() *timestamppb.Timestamp
func (*Cluster) GetCrossClusterReplicationConfig ¶ added in v1.18.0
func (x *Cluster) GetCrossClusterReplicationConfig() *CrossClusterReplicationConfig
func (*Cluster) GetDeletionProtectionEnabled ¶ added in v1.16.0
func (*Cluster) GetDiscoveryEndpoints ¶
func (x *Cluster) GetDiscoveryEndpoints() []*DiscoveryEndpoint
func (*Cluster) GetEncryptionInfo ¶ added in v1.18.0
func (x *Cluster) GetEncryptionInfo() *EncryptionInfo
func (*Cluster) GetGcsSource ¶ added in v1.18.0
func (x *Cluster) GetGcsSource() *Cluster_GcsBackupSource
func (*Cluster) GetImportSources ¶ added in v1.18.0
func (m *Cluster) GetImportSources() isCluster_ImportSources
func (*Cluster) GetMaintenancePolicy ¶ added in v1.18.0
func (x *Cluster) GetMaintenancePolicy() *ClusterMaintenancePolicy
func (*Cluster) GetMaintenanceSchedule ¶ added in v1.18.0
func (x *Cluster) GetMaintenanceSchedule() *ClusterMaintenanceSchedule
func (*Cluster) GetManagedBackupSource ¶ added in v1.18.0
func (x *Cluster) GetManagedBackupSource() *Cluster_ManagedBackupSource
func (*Cluster) GetNodeType ¶ added in v1.16.0
func (*Cluster) GetPersistenceConfig ¶ added in v1.16.0
func (x *Cluster) GetPersistenceConfig() *ClusterPersistenceConfig
func (*Cluster) GetPreciseSizeGb ¶ added in v1.16.0
func (*Cluster) GetPscConfigs ¶
func (*Cluster) GetPscConnections ¶
func (x *Cluster) GetPscConnections() []*PscConnection
func (*Cluster) GetPscServiceAttachments ¶ added in v1.18.0
func (x *Cluster) GetPscServiceAttachments() []*PscServiceAttachment
func (*Cluster) GetRedisConfigs ¶ added in v1.16.0
func (*Cluster) GetReplicaCount ¶
func (*Cluster) GetShardCount ¶
func (*Cluster) GetState ¶
func (x *Cluster) GetState() Cluster_State
func (*Cluster) GetStateInfo ¶
func (x *Cluster) GetStateInfo() *Cluster_StateInfo
func (*Cluster) GetTransitEncryptionMode ¶
func (x *Cluster) GetTransitEncryptionMode() TransitEncryptionMode
func (*Cluster) GetZoneDistributionConfig ¶ added in v1.16.0
func (x *Cluster) GetZoneDistributionConfig() *ZoneDistributionConfig
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
type ClusterEndpoint ¶ added in v1.18.0
type ClusterEndpoint struct {
// A group of PSC connections. They are created in the same VPC network, one
// for each service attachment in the cluster.
Connections []*ConnectionDetail `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
// contains filtered or unexported fields
}
ClusterEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the cluster. In each group, there shall be one connection for each service attachment in the cluster.
func (*ClusterEndpoint) Descriptor
deprecated
added in
v1.18.0
func (*ClusterEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use ClusterEndpoint.ProtoReflect.Descriptor instead.
func (*ClusterEndpoint) GetConnections ¶ added in v1.18.0
func (x *ClusterEndpoint) GetConnections() []*ConnectionDetail
func (*ClusterEndpoint) ProtoMessage ¶ added in v1.18.0
func (*ClusterEndpoint) ProtoMessage()
func (*ClusterEndpoint) ProtoReflect ¶ added in v1.18.0
func (x *ClusterEndpoint) ProtoReflect() protoreflect.Message
func (*ClusterEndpoint) Reset ¶ added in v1.18.0
func (x *ClusterEndpoint) Reset()
func (*ClusterEndpoint) String ¶ added in v1.18.0
func (x *ClusterEndpoint) String() string
type ClusterMaintenancePolicy ¶ added in v1.18.0
type ClusterMaintenancePolicy struct {
// Output only. The time when the policy was created i.e. Maintenance Window
// or Deny Period was assigned.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time when the policy was updated i.e. Maintenance Window
// or Deny Period was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Optional. Maintenance window that is applied to resources covered by this
// policy. Minimum 1. For the current version, the maximum number of
// weekly_maintenance_window is expected to be one.
WeeklyMaintenanceWindow []*ClusterWeeklyMaintenanceWindow `` /* 132-byte string literal not displayed */
// contains filtered or unexported fields
}
Maintenance policy per cluster.
func (*ClusterMaintenancePolicy) Descriptor
deprecated
added in
v1.18.0
func (*ClusterMaintenancePolicy) Descriptor() ([]byte, []int)
Deprecated: Use ClusterMaintenancePolicy.ProtoReflect.Descriptor instead.
func (*ClusterMaintenancePolicy) GetCreateTime ¶ added in v1.18.0
func (x *ClusterMaintenancePolicy) GetCreateTime() *timestamppb.Timestamp
func (*ClusterMaintenancePolicy) GetUpdateTime ¶ added in v1.18.0
func (x *ClusterMaintenancePolicy) GetUpdateTime() *timestamppb.Timestamp
func (*ClusterMaintenancePolicy) GetWeeklyMaintenanceWindow ¶ added in v1.18.0
func (x *ClusterMaintenancePolicy) GetWeeklyMaintenanceWindow() []*ClusterWeeklyMaintenanceWindow
func (*ClusterMaintenancePolicy) ProtoMessage ¶ added in v1.18.0
func (*ClusterMaintenancePolicy) ProtoMessage()
func (*ClusterMaintenancePolicy) ProtoReflect ¶ added in v1.18.0
func (x *ClusterMaintenancePolicy) ProtoReflect() protoreflect.Message
func (*ClusterMaintenancePolicy) Reset ¶ added in v1.18.0
func (x *ClusterMaintenancePolicy) Reset()
func (*ClusterMaintenancePolicy) String ¶ added in v1.18.0
func (x *ClusterMaintenancePolicy) String() string
type ClusterMaintenanceSchedule ¶ added in v1.18.0
type ClusterMaintenanceSchedule struct {
// Output only. The start time of any upcoming scheduled maintenance for this
// instance.
StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// Output only. The end time of any upcoming scheduled maintenance for this
// instance.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// contains filtered or unexported fields
}
Upcoming maitenance schedule.
func (*ClusterMaintenanceSchedule) Descriptor
deprecated
added in
v1.18.0
func (*ClusterMaintenanceSchedule) Descriptor() ([]byte, []int)
Deprecated: Use ClusterMaintenanceSchedule.ProtoReflect.Descriptor instead.
func (*ClusterMaintenanceSchedule) GetEndTime ¶ added in v1.18.0
func (x *ClusterMaintenanceSchedule) GetEndTime() *timestamppb.Timestamp
func (*ClusterMaintenanceSchedule) GetStartTime ¶ added in v1.18.0
func (x *ClusterMaintenanceSchedule) GetStartTime() *timestamppb.Timestamp
func (*ClusterMaintenanceSchedule) ProtoMessage ¶ added in v1.18.0
func (*ClusterMaintenanceSchedule) ProtoMessage()
func (*ClusterMaintenanceSchedule) ProtoReflect ¶ added in v1.18.0
func (x *ClusterMaintenanceSchedule) ProtoReflect() protoreflect.Message
func (*ClusterMaintenanceSchedule) Reset ¶ added in v1.18.0
func (x *ClusterMaintenanceSchedule) Reset()
func (*ClusterMaintenanceSchedule) String ¶ added in v1.18.0
func (x *ClusterMaintenanceSchedule) String() string
type ClusterPersistenceConfig ¶ added in v1.16.0
type ClusterPersistenceConfig struct {
// Optional. The mode of persistence.
Mode ClusterPersistenceConfig_PersistenceMode `` /* 138-byte string literal not displayed */
// Optional. RDB configuration. This field will be ignored if mode is not RDB.
RdbConfig *ClusterPersistenceConfig_RDBConfig `protobuf:"bytes,2,opt,name=rdb_config,json=rdbConfig,proto3" json:"rdb_config,omitempty"`
// Optional. AOF configuration. This field will be ignored if mode is not AOF.
AofConfig *ClusterPersistenceConfig_AOFConfig `protobuf:"bytes,3,opt,name=aof_config,json=aofConfig,proto3" json:"aof_config,omitempty"`
// contains filtered or unexported fields
}
Configuration of the persistence functionality.
func (*ClusterPersistenceConfig) Descriptor
deprecated
added in
v1.16.0
func (*ClusterPersistenceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig.ProtoReflect.Descriptor instead.
func (*ClusterPersistenceConfig) GetAofConfig ¶ added in v1.16.0
func (x *ClusterPersistenceConfig) GetAofConfig() *ClusterPersistenceConfig_AOFConfig
func (*ClusterPersistenceConfig) GetMode ¶ added in v1.16.0
func (x *ClusterPersistenceConfig) GetMode() ClusterPersistenceConfig_PersistenceMode
func (*ClusterPersistenceConfig) GetRdbConfig ¶ added in v1.16.0
func (x *ClusterPersistenceConfig) GetRdbConfig() *ClusterPersistenceConfig_RDBConfig
func (*ClusterPersistenceConfig) ProtoMessage ¶ added in v1.16.0
func (*ClusterPersistenceConfig) ProtoMessage()
func (*ClusterPersistenceConfig) ProtoReflect ¶ added in v1.16.0
func (x *ClusterPersistenceConfig) ProtoReflect() protoreflect.Message
func (*ClusterPersistenceConfig) Reset ¶ added in v1.16.0
func (x *ClusterPersistenceConfig) Reset()
func (*ClusterPersistenceConfig) String ¶ added in v1.16.0
func (x *ClusterPersistenceConfig) String() string
type ClusterPersistenceConfig_AOFConfig ¶ added in v1.16.0
type ClusterPersistenceConfig_AOFConfig struct {
// Optional. fsync configuration.
AppendFsync ClusterPersistenceConfig_AOFConfig_AppendFsync `` /* 177-byte string literal not displayed */
// contains filtered or unexported fields
}
Configuration of the AOF based persistence.
func (*ClusterPersistenceConfig_AOFConfig) Descriptor
deprecated
added in
v1.16.0
func (*ClusterPersistenceConfig_AOFConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_AOFConfig.ProtoReflect.Descriptor instead.
func (*ClusterPersistenceConfig_AOFConfig) GetAppendFsync ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_AOFConfig) GetAppendFsync() ClusterPersistenceConfig_AOFConfig_AppendFsync
func (*ClusterPersistenceConfig_AOFConfig) ProtoMessage ¶ added in v1.16.0
func (*ClusterPersistenceConfig_AOFConfig) ProtoMessage()
func (*ClusterPersistenceConfig_AOFConfig) ProtoReflect ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_AOFConfig) ProtoReflect() protoreflect.Message
func (*ClusterPersistenceConfig_AOFConfig) Reset ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_AOFConfig) Reset()
func (*ClusterPersistenceConfig_AOFConfig) String ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_AOFConfig) String() string
type ClusterPersistenceConfig_AOFConfig_AppendFsync ¶ added in v1.16.0
type ClusterPersistenceConfig_AOFConfig_AppendFsync int32
Available fsync modes.
const ( // Not set. Default: EVERYSEC ClusterPersistenceConfig_AOFConfig_APPEND_FSYNC_UNSPECIFIED ClusterPersistenceConfig_AOFConfig_AppendFsync = 0 // Never fsync. Normally Linux will flush data every 30 seconds with this // configuration, but it's up to the kernel's exact tuning. ClusterPersistenceConfig_AOFConfig_NO ClusterPersistenceConfig_AOFConfig_AppendFsync = 1 // fsync every second. Fast enough, and you may lose 1 second of data if // there is a disaster ClusterPersistenceConfig_AOFConfig_EVERYSEC ClusterPersistenceConfig_AOFConfig_AppendFsync = 2 // fsync every time new write commands are appended to the AOF. It has the // best data loss protection at the cost of performance ClusterPersistenceConfig_AOFConfig_ALWAYS ClusterPersistenceConfig_AOFConfig_AppendFsync = 3 )
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Descriptor ¶ added in v1.16.0
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Descriptor() protoreflect.EnumDescriptor
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) EnumDescriptor
deprecated
added in
v1.16.0
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_AOFConfig_AppendFsync.Descriptor instead.
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Number ¶ added in v1.16.0
func (x ClusterPersistenceConfig_AOFConfig_AppendFsync) Number() protoreflect.EnumNumber
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) String ¶ added in v1.16.0
func (x ClusterPersistenceConfig_AOFConfig_AppendFsync) String() string
type ClusterPersistenceConfig_PersistenceMode ¶ added in v1.16.0
type ClusterPersistenceConfig_PersistenceMode int32
Available persistence modes.
const ( // Not set. ClusterPersistenceConfig_PERSISTENCE_MODE_UNSPECIFIED ClusterPersistenceConfig_PersistenceMode = 0 // Persistence is disabled, and any snapshot data is deleted. ClusterPersistenceConfig_DISABLED ClusterPersistenceConfig_PersistenceMode = 1 // RDB based persistence is enabled. ClusterPersistenceConfig_RDB ClusterPersistenceConfig_PersistenceMode = 2 // AOF based persistence is enabled. ClusterPersistenceConfig_AOF ClusterPersistenceConfig_PersistenceMode = 3 )
func (ClusterPersistenceConfig_PersistenceMode) Descriptor ¶ added in v1.16.0
func (ClusterPersistenceConfig_PersistenceMode) Descriptor() protoreflect.EnumDescriptor
func (ClusterPersistenceConfig_PersistenceMode) EnumDescriptor
deprecated
added in
v1.16.0
func (ClusterPersistenceConfig_PersistenceMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_PersistenceMode.Descriptor instead.
func (ClusterPersistenceConfig_PersistenceMode) Number ¶ added in v1.16.0
func (x ClusterPersistenceConfig_PersistenceMode) Number() protoreflect.EnumNumber
func (ClusterPersistenceConfig_PersistenceMode) String ¶ added in v1.16.0
func (x ClusterPersistenceConfig_PersistenceMode) String() string
func (ClusterPersistenceConfig_PersistenceMode) Type ¶ added in v1.16.0
func (ClusterPersistenceConfig_PersistenceMode) Type() protoreflect.EnumType
type ClusterPersistenceConfig_RDBConfig ¶ added in v1.16.0
type ClusterPersistenceConfig_RDBConfig struct {
// Optional. Period between RDB snapshots.
RdbSnapshotPeriod ClusterPersistenceConfig_RDBConfig_SnapshotPeriod `` /* 200-byte string literal not displayed */
// Optional. The time that the first snapshot was/will be attempted, and to
// which future snapshots will be aligned. If not provided, the current time
// will be used.
RdbSnapshotStartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=rdb_snapshot_start_time,json=rdbSnapshotStartTime,proto3" json:"rdb_snapshot_start_time,omitempty"`
// contains filtered or unexported fields
}
Configuration of the RDB based persistence.
func (*ClusterPersistenceConfig_RDBConfig) Descriptor
deprecated
added in
v1.16.0
func (*ClusterPersistenceConfig_RDBConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_RDBConfig.ProtoReflect.Descriptor instead.
func (*ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotPeriod ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotPeriod() ClusterPersistenceConfig_RDBConfig_SnapshotPeriod
func (*ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotStartTime ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotStartTime() *timestamppb.Timestamp
func (*ClusterPersistenceConfig_RDBConfig) ProtoMessage ¶ added in v1.16.0
func (*ClusterPersistenceConfig_RDBConfig) ProtoMessage()
func (*ClusterPersistenceConfig_RDBConfig) ProtoReflect ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_RDBConfig) ProtoReflect() protoreflect.Message
func (*ClusterPersistenceConfig_RDBConfig) Reset ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_RDBConfig) Reset()
func (*ClusterPersistenceConfig_RDBConfig) String ¶ added in v1.16.0
func (x *ClusterPersistenceConfig_RDBConfig) String() string
type ClusterPersistenceConfig_RDBConfig_SnapshotPeriod ¶ added in v1.16.0
type ClusterPersistenceConfig_RDBConfig_SnapshotPeriod int32
Available snapshot periods.
const ( // Not set. ClusterPersistenceConfig_RDBConfig_SNAPSHOT_PERIOD_UNSPECIFIED ClusterPersistenceConfig_RDBConfig_SnapshotPeriod = 0 // One hour. ClusterPersistenceConfig_RDBConfig_ONE_HOUR ClusterPersistenceConfig_RDBConfig_SnapshotPeriod = 1 // Six hours. ClusterPersistenceConfig_RDBConfig_SIX_HOURS ClusterPersistenceConfig_RDBConfig_SnapshotPeriod = 2 // Twelve hours. ClusterPersistenceConfig_RDBConfig_TWELVE_HOURS ClusterPersistenceConfig_RDBConfig_SnapshotPeriod = 3 // Twenty four hours. ClusterPersistenceConfig_RDBConfig_TWENTY_FOUR_HOURS ClusterPersistenceConfig_RDBConfig_SnapshotPeriod = 4 )
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Descriptor ¶ added in v1.16.0
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Descriptor() protoreflect.EnumDescriptor
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) EnumDescriptor
deprecated
added in
v1.16.0
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_RDBConfig_SnapshotPeriod.Descriptor instead.
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Number ¶ added in v1.16.0
func (x ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Number() protoreflect.EnumNumber
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) String ¶ added in v1.16.0
func (x ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) String() string
type ClusterWeeklyMaintenanceWindow ¶ added in v1.18.0
type ClusterWeeklyMaintenanceWindow struct {
// Allows to define schedule that runs specified day of the week.
Day dayofweek.DayOfWeek `protobuf:"varint,1,opt,name=day,proto3,enum=google.type.DayOfWeek" json:"day,omitempty"`
// Start time of the window in UTC.
StartTime *timeofday.TimeOfDay `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
// contains filtered or unexported fields
}
Time window specified for weekly operations.
func (*ClusterWeeklyMaintenanceWindow) Descriptor
deprecated
added in
v1.18.0
func (*ClusterWeeklyMaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use ClusterWeeklyMaintenanceWindow.ProtoReflect.Descriptor instead.
func (*ClusterWeeklyMaintenanceWindow) GetDay ¶ added in v1.18.0
func (x *ClusterWeeklyMaintenanceWindow) GetDay() dayofweek.DayOfWeek
func (*ClusterWeeklyMaintenanceWindow) GetStartTime ¶ added in v1.18.0
func (x *ClusterWeeklyMaintenanceWindow) GetStartTime() *timeofday.TimeOfDay
func (*ClusterWeeklyMaintenanceWindow) ProtoMessage ¶ added in v1.18.0
func (*ClusterWeeklyMaintenanceWindow) ProtoMessage()
func (*ClusterWeeklyMaintenanceWindow) ProtoReflect ¶ added in v1.18.0
func (x *ClusterWeeklyMaintenanceWindow) ProtoReflect() protoreflect.Message
func (*ClusterWeeklyMaintenanceWindow) Reset ¶ added in v1.18.0
func (x *ClusterWeeklyMaintenanceWindow) Reset()
func (*ClusterWeeklyMaintenanceWindow) String ¶ added in v1.18.0
func (x *ClusterWeeklyMaintenanceWindow) String() string
type Cluster_GcsBackupSource ¶ added in v1.18.0
type Cluster_GcsBackupSource struct {
// Optional. URIs of the GCS objects to import.
// Example: gs://bucket1/object1, gs://bucket2/folder2/object2
Uris []string `protobuf:"bytes,1,rep,name=uris,proto3" json:"uris,omitempty"`
// contains filtered or unexported fields
}
Backups stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the clusters.
func (*Cluster_GcsBackupSource) Descriptor
deprecated
added in
v1.18.0
func (*Cluster_GcsBackupSource) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_GcsBackupSource.ProtoReflect.Descriptor instead.
func (*Cluster_GcsBackupSource) GetUris ¶ added in v1.18.0
func (x *Cluster_GcsBackupSource) GetUris() []string
func (*Cluster_GcsBackupSource) ProtoMessage ¶ added in v1.18.0
func (*Cluster_GcsBackupSource) ProtoMessage()
func (*Cluster_GcsBackupSource) ProtoReflect ¶ added in v1.18.0
func (x *Cluster_GcsBackupSource) ProtoReflect() protoreflect.Message
func (*Cluster_GcsBackupSource) Reset ¶ added in v1.18.0
func (x *Cluster_GcsBackupSource) Reset()
func (*Cluster_GcsBackupSource) String ¶ added in v1.18.0
func (x *Cluster_GcsBackupSource) String() string
type Cluster_GcsSource ¶ added in v1.18.0
type Cluster_GcsSource struct {
// Optional. Backups stored in Cloud Storage buckets.
// The Cloud Storage buckets need to be the same region as the clusters.
// Read permission is required to import from the provided Cloud Storage
// objects.
GcsSource *Cluster_GcsBackupSource `protobuf:"bytes,34,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}
type Cluster_ManagedBackupSource ¶ added in v1.18.0
type Cluster_ManagedBackupSource struct {
// Optional. Example:
// //redis.googleapis.com/projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup}
// A shorter version (without the prefix) of the backup name is also
// supported, like
// projects/{project}/locations/{location}/backupCollections/{collection}/backups/{backup_id}
// In this case, it assumes the backup is under redis.googleapis.com.
Backup string `protobuf:"bytes,1,opt,name=backup,proto3" json:"backup,omitempty"`
// contains filtered or unexported fields
}
Backups that generated and managed by memorystore.
func (*Cluster_ManagedBackupSource) Descriptor
deprecated
added in
v1.18.0
func (*Cluster_ManagedBackupSource) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_ManagedBackupSource.ProtoReflect.Descriptor instead.
func (*Cluster_ManagedBackupSource) GetBackup ¶ added in v1.18.0
func (x *Cluster_ManagedBackupSource) GetBackup() string
func (*Cluster_ManagedBackupSource) ProtoMessage ¶ added in v1.18.0
func (*Cluster_ManagedBackupSource) ProtoMessage()
func (*Cluster_ManagedBackupSource) ProtoReflect ¶ added in v1.18.0
func (x *Cluster_ManagedBackupSource) ProtoReflect() protoreflect.Message
func (*Cluster_ManagedBackupSource) Reset ¶ added in v1.18.0
func (x *Cluster_ManagedBackupSource) Reset()
func (*Cluster_ManagedBackupSource) String ¶ added in v1.18.0
func (x *Cluster_ManagedBackupSource) String() string
type Cluster_ManagedBackupSource_ ¶ added in v1.18.0
type Cluster_ManagedBackupSource_ struct {
// Optional. Backups generated and managed by memorystore service.
ManagedBackupSource *Cluster_ManagedBackupSource `protobuf:"bytes,35,opt,name=managed_backup_source,json=managedBackupSource,proto3,oneof"`
}
type Cluster_State ¶
type Cluster_State int32
Represents the different states of a Redis cluster.
const ( // Not set. Cluster_STATE_UNSPECIFIED Cluster_State = 0 // Redis cluster is being created. Cluster_CREATING Cluster_State = 1 // Redis cluster has been created and is fully usable. Cluster_ACTIVE Cluster_State = 2 // Redis cluster configuration is being updated. Cluster_UPDATING Cluster_State = 3 // Redis cluster is being deleted. Cluster_DELETING Cluster_State = 4 )
func (Cluster_State) Descriptor ¶
func (Cluster_State) Descriptor() protoreflect.EnumDescriptor
func (Cluster_State) Enum ¶
func (x Cluster_State) Enum() *Cluster_State
func (Cluster_State) EnumDescriptor
deprecated
func (Cluster_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Cluster_State.Descriptor instead.
func (Cluster_State) Number ¶
func (x Cluster_State) Number() protoreflect.EnumNumber
func (Cluster_State) String ¶
func (x Cluster_State) String() string
func (Cluster_State) Type ¶
func (Cluster_State) Type() protoreflect.EnumType
type Cluster_StateInfo ¶
type Cluster_StateInfo struct {
// Types that are assignable to Info:
//
// *Cluster_StateInfo_UpdateInfo_
Info isCluster_StateInfo_Info `protobuf_oneof:"info"`
// contains filtered or unexported fields
}
Represents additional information about the state of the cluster.
func (*Cluster_StateInfo) Descriptor
deprecated
func (*Cluster_StateInfo) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_StateInfo.ProtoReflect.Descriptor instead.
func (*Cluster_StateInfo) GetInfo ¶
func (m *Cluster_StateInfo) GetInfo() isCluster_StateInfo_Info
func (*Cluster_StateInfo) GetUpdateInfo ¶
func (x *Cluster_StateInfo) GetUpdateInfo() *Cluster_StateInfo_UpdateInfo
func (*Cluster_StateInfo) ProtoMessage ¶
func (*Cluster_StateInfo) ProtoMessage()
func (*Cluster_StateInfo) ProtoReflect ¶
func (x *Cluster_StateInfo) ProtoReflect() protoreflect.Message
func (*Cluster_StateInfo) Reset ¶
func (x *Cluster_StateInfo) Reset()
func (*Cluster_StateInfo) String ¶
func (x *Cluster_StateInfo) String() string
type Cluster_StateInfo_UpdateInfo ¶
type Cluster_StateInfo_UpdateInfo struct {
// Target number of shards for redis cluster
TargetShardCount *int32 `protobuf:"varint,1,opt,name=target_shard_count,json=targetShardCount,proto3,oneof" json:"target_shard_count,omitempty"`
// Target number of replica nodes per shard.
TargetReplicaCount *int32 `protobuf:"varint,2,opt,name=target_replica_count,json=targetReplicaCount,proto3,oneof" json:"target_replica_count,omitempty"`
// contains filtered or unexported fields
}
Represents information about an updating cluster.
func (*Cluster_StateInfo_UpdateInfo) Descriptor
deprecated
func (*Cluster_StateInfo_UpdateInfo) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_StateInfo_UpdateInfo.ProtoReflect.Descriptor instead.
func (*Cluster_StateInfo_UpdateInfo) GetTargetReplicaCount ¶
func (x *Cluster_StateInfo_UpdateInfo) GetTargetReplicaCount() int32
func (*Cluster_StateInfo_UpdateInfo) GetTargetShardCount ¶
func (x *Cluster_StateInfo_UpdateInfo) GetTargetShardCount() int32
func (*Cluster_StateInfo_UpdateInfo) ProtoMessage ¶
func (*Cluster_StateInfo_UpdateInfo) ProtoMessage()
func (*Cluster_StateInfo_UpdateInfo) ProtoReflect ¶
func (x *Cluster_StateInfo_UpdateInfo) ProtoReflect() protoreflect.Message
func (*Cluster_StateInfo_UpdateInfo) Reset ¶
func (x *Cluster_StateInfo_UpdateInfo) Reset()
func (*Cluster_StateInfo_UpdateInfo) String ¶
func (x *Cluster_StateInfo_UpdateInfo) String() string
type Cluster_StateInfo_UpdateInfo_ ¶
type Cluster_StateInfo_UpdateInfo_ struct {
// Describes ongoing update on the cluster when cluster state is UPDATING.
UpdateInfo *Cluster_StateInfo_UpdateInfo `protobuf:"bytes,1,opt,name=update_info,json=updateInfo,proto3,oneof"`
}
type ConnectionDetail ¶ added in v1.18.0
type ConnectionDetail struct {
// A PSC connection to a cluster could either be created through Service
// Connectivity Automation (auto-registered connection) during the cluster
// creation, or it could be created by customer themselves (user-registered
// connection).
//
// Types that are assignable to Connection:
//
// *ConnectionDetail_PscAutoConnection
// *ConnectionDetail_PscConnection
Connection isConnectionDetail_Connection `protobuf_oneof:"connection"`
// contains filtered or unexported fields
}
Detailed information of each PSC connection.
func (*ConnectionDetail) Descriptor
deprecated
added in
v1.18.0
func (*ConnectionDetail) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionDetail.ProtoReflect.Descriptor instead.
func (*ConnectionDetail) GetConnection ¶ added in v1.18.0
func (m *ConnectionDetail) GetConnection() isConnectionDetail_Connection
func (*ConnectionDetail) GetPscAutoConnection ¶ added in v1.18.0
func (x *ConnectionDetail) GetPscAutoConnection() *PscAutoConnection
func (*ConnectionDetail) GetPscConnection ¶ added in v1.18.0
func (x *ConnectionDetail) GetPscConnection() *PscConnection
func (*ConnectionDetail) ProtoMessage ¶ added in v1.18.0
func (*ConnectionDetail) ProtoMessage()
func (*ConnectionDetail) ProtoReflect ¶ added in v1.18.0
func (x *ConnectionDetail) ProtoReflect() protoreflect.Message
func (*ConnectionDetail) Reset ¶ added in v1.18.0
func (x *ConnectionDetail) Reset()
func (*ConnectionDetail) String ¶ added in v1.18.0
func (x *ConnectionDetail) String() string
type ConnectionDetail_PscAutoConnection ¶ added in v1.18.0
type ConnectionDetail_PscAutoConnection struct {
// Detailed information of a PSC connection that is created through
// service connectivity automation.
PscAutoConnection *PscAutoConnection `protobuf:"bytes,1,opt,name=psc_auto_connection,json=pscAutoConnection,proto3,oneof"`
}
type ConnectionDetail_PscConnection ¶ added in v1.18.0
type ConnectionDetail_PscConnection struct {
// Detailed information of a PSC connection that is created by the customer
// who owns the cluster.
PscConnection *PscConnection `protobuf:"bytes,2,opt,name=psc_connection,json=pscConnection,proto3,oneof"`
}
type ConnectionType ¶ added in v1.18.0
type ConnectionType int32
Type of a PSC connection, for cluster access purpose.
const ( // Cluster endpoint Type is not set ConnectionType_CONNECTION_TYPE_UNSPECIFIED ConnectionType = 0 // Cluster endpoint that will be used as for cluster topology discovery. ConnectionType_CONNECTION_TYPE_DISCOVERY ConnectionType = 1 // Cluster endpoint that will be used as primary endpoint to access primary. ConnectionType_CONNECTION_TYPE_PRIMARY ConnectionType = 2 // Cluster endpoint that will be used as reader endpoint to access replicas. ConnectionType_CONNECTION_TYPE_READER ConnectionType = 3 )
func (ConnectionType) Descriptor ¶ added in v1.18.0
func (ConnectionType) Descriptor() protoreflect.EnumDescriptor
func (ConnectionType) Enum ¶ added in v1.18.0
func (x ConnectionType) Enum() *ConnectionType
func (ConnectionType) EnumDescriptor
deprecated
added in
v1.18.0
func (ConnectionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionType.Descriptor instead.
func (ConnectionType) Number ¶ added in v1.18.0
func (x ConnectionType) Number() protoreflect.EnumNumber
func (ConnectionType) String ¶ added in v1.18.0
func (x ConnectionType) String() string
func (ConnectionType) Type ¶ added in v1.18.0
func (ConnectionType) Type() protoreflect.EnumType
type CreateClusterRequest ¶
type CreateClusterRequest struct {
// Required. The resource name of the cluster location using the form:
//
// `projects/{project_id}/locations/{location_id}`
//
// where `location_id` refers to a GCP region.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Required. The logical name of the Redis cluster in the customer project
// with the following restrictions:
//
// * Must contain only lowercase letters, numbers, and hyphens.
// * Must start with a letter.
// * Must be between 1-63 characters.
// * Must end with a number or a letter.
// * Must be unique within the customer project / location
ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
// Required. The cluster that is to be created.
Cluster *Cluster `protobuf:"bytes,3,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Idempotent request UUID.
RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request for [CreateCluster][CloudRedis.CreateCluster].
func (*CreateClusterRequest) Descriptor
deprecated
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateClusterRequest) GetCluster ¶
func (x *CreateClusterRequest) GetCluster() *Cluster
func (*CreateClusterRequest) GetClusterId ¶
func (x *CreateClusterRequest) GetClusterId() string
func (*CreateClusterRequest) GetParent ¶
func (x *CreateClusterRequest) GetParent() string
func (*CreateClusterRequest) GetRequestId ¶
func (x *CreateClusterRequest) GetRequestId() string
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) ProtoReflect ¶
func (x *CreateClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateClusterRequest) Reset ¶
func (x *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (x *CreateClusterRequest) String() string
type CrossClusterReplicationConfig ¶ added in v1.18.0
type CrossClusterReplicationConfig struct {
// The role of the cluster in cross cluster replication.
ClusterRole CrossClusterReplicationConfig_ClusterRole `` /* 172-byte string literal not displayed */
// Details of the primary cluster that is used as the replication source for
// this secondary cluster.
//
// This field is only set for a secondary cluster.
PrimaryCluster *CrossClusterReplicationConfig_RemoteCluster `protobuf:"bytes,2,opt,name=primary_cluster,json=primaryCluster,proto3" json:"primary_cluster,omitempty"`
// List of secondary clusters that are replicating from this primary cluster.
//
// This field is only set for a primary cluster.
SecondaryClusters []*CrossClusterReplicationConfig_RemoteCluster `protobuf:"bytes,3,rep,name=secondary_clusters,json=secondaryClusters,proto3" json:"secondary_clusters,omitempty"`
// Output only. The last time cross cluster replication config was updated.
UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
// Output only. An output only view of all the member clusters participating
// in the cross cluster replication. This view will be provided by every
// member cluster irrespective of its cluster role(primary or secondary).
//
// A primary cluster can provide information about all the secondary clusters
// replicating from it. However, a secondary cluster only knows about the
// primary cluster from which it is replicating. However, for scenarios, where
// the primary cluster is unavailable(e.g. regional outage), a GetCluster
// request can be sent to any other member cluster and this field will list
// all the member clusters participating in cross cluster replication.
Membership *CrossClusterReplicationConfig_Membership `protobuf:"bytes,5,opt,name=membership,proto3" json:"membership,omitempty"`
// contains filtered or unexported fields
}
Cross cluster replication config.
func (*CrossClusterReplicationConfig) Descriptor
deprecated
added in
v1.18.0
func (*CrossClusterReplicationConfig) Descriptor() ([]byte, []int)
Deprecated: Use CrossClusterReplicationConfig.ProtoReflect.Descriptor instead.
func (*CrossClusterReplicationConfig) GetClusterRole ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig) GetClusterRole() CrossClusterReplicationConfig_ClusterRole
func (*CrossClusterReplicationConfig) GetMembership ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig) GetMembership() *CrossClusterReplicationConfig_Membership
func (*CrossClusterReplicationConfig) GetPrimaryCluster ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig) GetPrimaryCluster() *CrossClusterReplicationConfig_RemoteCluster
func (*CrossClusterReplicationConfig) GetSecondaryClusters ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig) GetSecondaryClusters() []*CrossClusterReplicationConfig_RemoteCluster
func (*CrossClusterReplicationConfig) GetUpdateTime ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig) GetUpdateTime() *timestamppb.Timestamp
func (*CrossClusterReplicationConfig) ProtoMessage ¶ added in v1.18.0
func (*CrossClusterReplicationConfig) ProtoMessage()
func (*CrossClusterReplicationConfig) ProtoReflect ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig) ProtoReflect() protoreflect.Message
func (*CrossClusterReplicationConfig) Reset ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig) Reset()
func (*CrossClusterReplicationConfig) String ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig) String() string
type CrossClusterReplicationConfig_ClusterRole ¶ added in v1.18.0
type CrossClusterReplicationConfig_ClusterRole int32
The role of the cluster in cross cluster replication.
const ( // Cluster role is not set. // The behavior is equivalent to NONE. CrossClusterReplicationConfig_CLUSTER_ROLE_UNSPECIFIED CrossClusterReplicationConfig_ClusterRole = 0 // This cluster does not participate in cross cluster replication. It is an // independent cluster and does not replicate to or from any other clusters. CrossClusterReplicationConfig_NONE CrossClusterReplicationConfig_ClusterRole = 1 // A cluster that allows both reads and writes. Any data written to this // cluster is also replicated to the attached secondary clusters. CrossClusterReplicationConfig_PRIMARY CrossClusterReplicationConfig_ClusterRole = 2 // A cluster that allows only reads and replicates data from a primary // cluster. CrossClusterReplicationConfig_SECONDARY CrossClusterReplicationConfig_ClusterRole = 3 )
func (CrossClusterReplicationConfig_ClusterRole) Descriptor ¶ added in v1.18.0
func (CrossClusterReplicationConfig_ClusterRole) Descriptor() protoreflect.EnumDescriptor
func (CrossClusterReplicationConfig_ClusterRole) EnumDescriptor
deprecated
added in
v1.18.0
func (CrossClusterReplicationConfig_ClusterRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use CrossClusterReplicationConfig_ClusterRole.Descriptor instead.
func (CrossClusterReplicationConfig_ClusterRole) Number ¶ added in v1.18.0
func (x CrossClusterReplicationConfig_ClusterRole) Number() protoreflect.EnumNumber
func (CrossClusterReplicationConfig_ClusterRole) String ¶ added in v1.18.0
func (x CrossClusterReplicationConfig_ClusterRole) String() string
func (CrossClusterReplicationConfig_ClusterRole) Type ¶ added in v1.18.0
func (CrossClusterReplicationConfig_ClusterRole) Type() protoreflect.EnumType
type CrossClusterReplicationConfig_Membership ¶ added in v1.18.0
type CrossClusterReplicationConfig_Membership struct {
// Output only. The primary cluster that acts as the source of replication
// for the secondary clusters.
PrimaryCluster *CrossClusterReplicationConfig_RemoteCluster `protobuf:"bytes,1,opt,name=primary_cluster,json=primaryCluster,proto3" json:"primary_cluster,omitempty"`
// Output only. The list of secondary clusters replicating from the primary
// cluster.
SecondaryClusters []*CrossClusterReplicationConfig_RemoteCluster `protobuf:"bytes,2,rep,name=secondary_clusters,json=secondaryClusters,proto3" json:"secondary_clusters,omitempty"`
// contains filtered or unexported fields
}
An output only view of all the member clusters participating in the cross cluster replication.
func (*CrossClusterReplicationConfig_Membership) Descriptor
deprecated
added in
v1.18.0
func (*CrossClusterReplicationConfig_Membership) Descriptor() ([]byte, []int)
Deprecated: Use CrossClusterReplicationConfig_Membership.ProtoReflect.Descriptor instead.
func (*CrossClusterReplicationConfig_Membership) GetPrimaryCluster ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_Membership) GetPrimaryCluster() *CrossClusterReplicationConfig_RemoteCluster
func (*CrossClusterReplicationConfig_Membership) GetSecondaryClusters ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_Membership) GetSecondaryClusters() []*CrossClusterReplicationConfig_RemoteCluster
func (*CrossClusterReplicationConfig_Membership) ProtoMessage ¶ added in v1.18.0
func (*CrossClusterReplicationConfig_Membership) ProtoMessage()
func (*CrossClusterReplicationConfig_Membership) ProtoReflect ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_Membership) ProtoReflect() protoreflect.Message
func (*CrossClusterReplicationConfig_Membership) Reset ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_Membership) Reset()
func (*CrossClusterReplicationConfig_Membership) String ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_Membership) String() string
type CrossClusterReplicationConfig_RemoteCluster ¶ added in v1.18.0
type CrossClusterReplicationConfig_RemoteCluster struct {
// The full resource path of the remote cluster in
// the format: projects/<project>/locations/<region>/clusters/<cluster-id>
Cluster string `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Output only. The unique identifier of the remote cluster.
Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
// contains filtered or unexported fields
}
Details of the remote cluster associated with this cluster in a cross cluster replication setup.
func (*CrossClusterReplicationConfig_RemoteCluster) Descriptor
deprecated
added in
v1.18.0
func (*CrossClusterReplicationConfig_RemoteCluster) Descriptor() ([]byte, []int)
Deprecated: Use CrossClusterReplicationConfig_RemoteCluster.ProtoReflect.Descriptor instead.
func (*CrossClusterReplicationConfig_RemoteCluster) GetCluster ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_RemoteCluster) GetCluster() string
func (*CrossClusterReplicationConfig_RemoteCluster) GetUid ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_RemoteCluster) GetUid() string
func (*CrossClusterReplicationConfig_RemoteCluster) ProtoMessage ¶ added in v1.18.0
func (*CrossClusterReplicationConfig_RemoteCluster) ProtoMessage()
func (*CrossClusterReplicationConfig_RemoteCluster) ProtoReflect ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_RemoteCluster) ProtoReflect() protoreflect.Message
func (*CrossClusterReplicationConfig_RemoteCluster) Reset ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_RemoteCluster) Reset()
func (*CrossClusterReplicationConfig_RemoteCluster) String ¶ added in v1.18.0
func (x *CrossClusterReplicationConfig_RemoteCluster) String() string
type DeleteBackupRequest ¶ added in v1.18.0
type DeleteBackupRequest struct {
// Required. Redis backup resource name using the form:
// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Optional. Idempotent request UUID.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request for [DeleteBackup].
func (*DeleteBackupRequest) Descriptor
deprecated
added in
v1.18.0
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetName ¶ added in v1.18.0
func (x *DeleteBackupRequest) GetName() string
func (*DeleteBackupRequest) GetRequestId ¶ added in v1.18.0
func (x *DeleteBackupRequest) GetRequestId() string
func (*DeleteBackupRequest) ProtoMessage ¶ added in v1.18.0
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect ¶ added in v1.18.0
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset ¶ added in v1.18.0
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String ¶ added in v1.18.0
func (x *DeleteBackupRequest) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct {
// Required. Redis cluster resource name using the form:
//
// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
//
// where `location_id` refers to a GCP region.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Idempotent request UUID.
RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request for [DeleteCluster][CloudRedis.DeleteCluster].
func (*DeleteClusterRequest) Descriptor
deprecated
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteClusterRequest) GetName ¶
func (x *DeleteClusterRequest) GetName() string
func (*DeleteClusterRequest) GetRequestId ¶
func (x *DeleteClusterRequest) GetRequestId() 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) String ¶
func (x *DeleteClusterRequest) String() string
type DiscoveryEndpoint ¶
type DiscoveryEndpoint struct {
// Output only. Address of the exposed Redis endpoint used by clients to
// connect to the service. The address could be either IP or hostname.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Output only. The port number of the exposed Redis endpoint.
Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
// Output only. Customer configuration for where the endpoint is created and
// accessed from.
PscConfig *PscConfig `protobuf:"bytes,3,opt,name=psc_config,json=pscConfig,proto3" json:"psc_config,omitempty"`
// contains filtered or unexported fields
}
Endpoints on each network, for Redis clients to connect to the cluster.
func (*DiscoveryEndpoint) Descriptor
deprecated
func (*DiscoveryEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use DiscoveryEndpoint.ProtoReflect.Descriptor instead.
func (*DiscoveryEndpoint) GetAddress ¶
func (x *DiscoveryEndpoint) GetAddress() string
func (*DiscoveryEndpoint) GetPort ¶
func (x *DiscoveryEndpoint) GetPort() int32
func (*DiscoveryEndpoint) GetPscConfig ¶
func (x *DiscoveryEndpoint) GetPscConfig() *PscConfig
func (*DiscoveryEndpoint) ProtoMessage ¶
func (*DiscoveryEndpoint) ProtoMessage()
func (*DiscoveryEndpoint) ProtoReflect ¶
func (x *DiscoveryEndpoint) ProtoReflect() protoreflect.Message
func (*DiscoveryEndpoint) Reset ¶
func (x *DiscoveryEndpoint) Reset()
func (*DiscoveryEndpoint) String ¶
func (x *DiscoveryEndpoint) String() string
type EncryptionInfo ¶ added in v1.18.0
type EncryptionInfo struct {
// Output only. Type of encryption.
EncryptionType EncryptionInfo_Type `` /* 159-byte string literal not displayed */
// Output only. KMS key versions that are being used to protect the data
// at-rest.
KmsKeyVersions []string `protobuf:"bytes,2,rep,name=kms_key_versions,json=kmsKeyVersions,proto3" json:"kms_key_versions,omitempty"`
// Output only. The state of the primary version of the KMS key perceived by
// the system. This field is not populated in backups.
KmsKeyPrimaryState EncryptionInfo_KmsKeyState `` /* 182-byte string literal not displayed */
// Output only. The most recent time when the encryption info was updated.
LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
// contains filtered or unexported fields
}
EncryptionInfo describes the encryption information of a cluster or a backup.
func (*EncryptionInfo) Descriptor
deprecated
added in
v1.18.0
func (*EncryptionInfo) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionInfo.ProtoReflect.Descriptor instead.
func (*EncryptionInfo) GetEncryptionType ¶ added in v1.18.0
func (x *EncryptionInfo) GetEncryptionType() EncryptionInfo_Type
func (*EncryptionInfo) GetKmsKeyPrimaryState ¶ added in v1.18.0
func (x *EncryptionInfo) GetKmsKeyPrimaryState() EncryptionInfo_KmsKeyState
func (*EncryptionInfo) GetKmsKeyVersions ¶ added in v1.18.0
func (x *EncryptionInfo) GetKmsKeyVersions() []string
func (*EncryptionInfo) GetLastUpdateTime ¶ added in v1.18.0
func (x *EncryptionInfo) GetLastUpdateTime() *timestamppb.Timestamp
func (*EncryptionInfo) ProtoMessage ¶ added in v1.18.0
func (*EncryptionInfo) ProtoMessage()
func (*EncryptionInfo) ProtoReflect ¶ added in v1.18.0
func (x *EncryptionInfo) ProtoReflect() protoreflect.Message
func (*EncryptionInfo) Reset ¶ added in v1.18.0
func (x *EncryptionInfo) Reset()
func (*EncryptionInfo) String ¶ added in v1.18.0
func (x *EncryptionInfo) String() string
type EncryptionInfo_KmsKeyState ¶ added in v1.18.0
type EncryptionInfo_KmsKeyState int32
The state of the KMS key perceived by the system. Refer to the public documentation for the impact of each state.
const ( // The default value. This value is unused. EncryptionInfo_KMS_KEY_STATE_UNSPECIFIED EncryptionInfo_KmsKeyState = 0 // The KMS key is enabled and correctly configured. EncryptionInfo_ENABLED EncryptionInfo_KmsKeyState = 1 // Permission denied on the KMS key. EncryptionInfo_PERMISSION_DENIED EncryptionInfo_KmsKeyState = 2 // The KMS key is disabled. EncryptionInfo_DISABLED EncryptionInfo_KmsKeyState = 3 // The KMS key is destroyed. EncryptionInfo_DESTROYED EncryptionInfo_KmsKeyState = 4 // The KMS key is scheduled to be destroyed. EncryptionInfo_DESTROY_SCHEDULED EncryptionInfo_KmsKeyState = 5 // The EKM key is unreachable. EncryptionInfo_EKM_KEY_UNREACHABLE_DETECTED EncryptionInfo_KmsKeyState = 6 // Billing is disabled for the project. EncryptionInfo_BILLING_DISABLED EncryptionInfo_KmsKeyState = 7 // All other unknown failures. EncryptionInfo_UNKNOWN_FAILURE EncryptionInfo_KmsKeyState = 8 )
func (EncryptionInfo_KmsKeyState) Descriptor ¶ added in v1.18.0
func (EncryptionInfo_KmsKeyState) Descriptor() protoreflect.EnumDescriptor
func (EncryptionInfo_KmsKeyState) Enum ¶ added in v1.18.0
func (x EncryptionInfo_KmsKeyState) Enum() *EncryptionInfo_KmsKeyState
func (EncryptionInfo_KmsKeyState) EnumDescriptor
deprecated
added in
v1.18.0
func (EncryptionInfo_KmsKeyState) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionInfo_KmsKeyState.Descriptor instead.
func (EncryptionInfo_KmsKeyState) Number ¶ added in v1.18.0
func (x EncryptionInfo_KmsKeyState) Number() protoreflect.EnumNumber
func (EncryptionInfo_KmsKeyState) String ¶ added in v1.18.0
func (x EncryptionInfo_KmsKeyState) String() string
func (EncryptionInfo_KmsKeyState) Type ¶ added in v1.18.0
func (EncryptionInfo_KmsKeyState) Type() protoreflect.EnumType
type EncryptionInfo_Type ¶ added in v1.18.0
type EncryptionInfo_Type int32
Possible encryption types.
const ( // Encryption type not specified. Defaults to GOOGLE_DEFAULT_ENCRYPTION. EncryptionInfo_TYPE_UNSPECIFIED EncryptionInfo_Type = 0 // The data is encrypted at rest with a key that is fully managed by Google. // No key version will be populated. This is the default state. EncryptionInfo_GOOGLE_DEFAULT_ENCRYPTION EncryptionInfo_Type = 1 // The data is encrypted at rest with a key that is managed by the customer. // KMS key versions will be populated. EncryptionInfo_CUSTOMER_MANAGED_ENCRYPTION EncryptionInfo_Type = 2 )
func (EncryptionInfo_Type) Descriptor ¶ added in v1.18.0
func (EncryptionInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (EncryptionInfo_Type) Enum ¶ added in v1.18.0
func (x EncryptionInfo_Type) Enum() *EncryptionInfo_Type
func (EncryptionInfo_Type) EnumDescriptor
deprecated
added in
v1.18.0
func (EncryptionInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionInfo_Type.Descriptor instead.
func (EncryptionInfo_Type) Number ¶ added in v1.18.0
func (x EncryptionInfo_Type) Number() protoreflect.EnumNumber
func (EncryptionInfo_Type) String ¶ added in v1.18.0
func (x EncryptionInfo_Type) String() string
func (EncryptionInfo_Type) Type ¶ added in v1.18.0
func (EncryptionInfo_Type) Type() protoreflect.EnumType
type ExportBackupRequest ¶ added in v1.18.0
type ExportBackupRequest struct {
// Required. Specify destination to export a backup.
//
// Types that are assignable to Destination:
//
// *ExportBackupRequest_GcsBucket
Destination isExportBackupRequest_Destination `protobuf_oneof:"destination"`
// Required. Redis backup resource name using the form:
// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for [ExportBackup].
func (*ExportBackupRequest) Descriptor
deprecated
added in
v1.18.0
func (*ExportBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportBackupRequest.ProtoReflect.Descriptor instead.
func (*ExportBackupRequest) GetDestination ¶ added in v1.18.0
func (m *ExportBackupRequest) GetDestination() isExportBackupRequest_Destination
func (*ExportBackupRequest) GetGcsBucket ¶ added in v1.18.0
func (x *ExportBackupRequest) GetGcsBucket() string
func (*ExportBackupRequest) GetName ¶ added in v1.18.0
func (x *ExportBackupRequest) GetName() string
func (*ExportBackupRequest) ProtoMessage ¶ added in v1.18.0
func (*ExportBackupRequest) ProtoMessage()
func (*ExportBackupRequest) ProtoReflect ¶ added in v1.18.0
func (x *ExportBackupRequest) ProtoReflect() protoreflect.Message
func (*ExportBackupRequest) Reset ¶ added in v1.18.0
func (x *ExportBackupRequest) Reset()
func (*ExportBackupRequest) String ¶ added in v1.18.0
func (x *ExportBackupRequest) String() string
type ExportBackupRequest_GcsBucket ¶ added in v1.18.0
type ExportBackupRequest_GcsBucket struct {
// Google Cloud Storage bucket, like "my-bucket".
GcsBucket string `protobuf:"bytes,3,opt,name=gcs_bucket,json=gcsBucket,proto3,oneof"`
}
type GetBackupCollectionRequest ¶ added in v1.18.0
type GetBackupCollectionRequest struct {
// Required. Redis backupCollection resource name using the form:
//
// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
//
// where `location_id` refers to a GCP region.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for [GetBackupCollection].
func (*GetBackupCollectionRequest) Descriptor
deprecated
added in
v1.18.0
func (*GetBackupCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupCollectionRequest.ProtoReflect.Descriptor instead.
func (*GetBackupCollectionRequest) GetName ¶ added in v1.18.0
func (x *GetBackupCollectionRequest) GetName() string
func (*GetBackupCollectionRequest) ProtoMessage ¶ added in v1.18.0
func (*GetBackupCollectionRequest) ProtoMessage()
func (*GetBackupCollectionRequest) ProtoReflect ¶ added in v1.18.0
func (x *GetBackupCollectionRequest) ProtoReflect() protoreflect.Message
func (*GetBackupCollectionRequest) Reset ¶ added in v1.18.0
func (x *GetBackupCollectionRequest) Reset()
func (*GetBackupCollectionRequest) String ¶ added in v1.18.0
func (x *GetBackupCollectionRequest) String() string
type GetBackupRequest ¶ added in v1.18.0
type GetBackupRequest struct {
// Required. Redis backup resource name using the form:
// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for [GetBackup].
func (*GetBackupRequest) Descriptor
deprecated
added in
v1.18.0
func (*GetBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetName ¶ added in v1.18.0
func (x *GetBackupRequest) GetName() string
func (*GetBackupRequest) ProtoMessage ¶ added in v1.18.0
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) ProtoReflect ¶ added in v1.18.0
func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
func (*GetBackupRequest) Reset ¶ added in v1.18.0
func (x *GetBackupRequest) Reset()
func (*GetBackupRequest) String ¶ added in v1.18.0
func (x *GetBackupRequest) String() string
type GetClusterCertificateAuthorityRequest ¶ added in v1.16.0
type GetClusterCertificateAuthorityRequest struct {
// Required. Redis cluster certificate authority resource name using the form:
//
// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority`
//
// where `location_id` refers to a GCP region.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for GetClusterCertificateAuthorityRequest[CloudRedis.GetClusterCertificateAuthorityRequest].
func (*GetClusterCertificateAuthorityRequest) Descriptor
deprecated
added in
v1.16.0
func (*GetClusterCertificateAuthorityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterCertificateAuthorityRequest.ProtoReflect.Descriptor instead.
func (*GetClusterCertificateAuthorityRequest) GetName ¶ added in v1.16.0
func (x *GetClusterCertificateAuthorityRequest) GetName() string
func (*GetClusterCertificateAuthorityRequest) ProtoMessage ¶ added in v1.16.0
func (*GetClusterCertificateAuthorityRequest) ProtoMessage()
func (*GetClusterCertificateAuthorityRequest) ProtoReflect ¶ added in v1.16.0
func (x *GetClusterCertificateAuthorityRequest) ProtoReflect() protoreflect.Message
func (*GetClusterCertificateAuthorityRequest) Reset ¶ added in v1.16.0
func (x *GetClusterCertificateAuthorityRequest) Reset()
func (*GetClusterCertificateAuthorityRequest) String ¶ added in v1.16.0
func (x *GetClusterCertificateAuthorityRequest) String() string
type GetClusterRequest ¶
type GetClusterRequest struct {
// Required. Redis cluster resource name using the form:
//
// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
//
// where `location_id` refers to a GCP region.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
Request for [GetCluster][CloudRedis.GetCluster].
func (*GetClusterRequest) Descriptor
deprecated
func (*GetClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterRequest.ProtoReflect.Descriptor instead.
func (*GetClusterRequest) GetName ¶
func (x *GetClusterRequest) GetName() string
func (*GetClusterRequest) ProtoMessage ¶
func (*GetClusterRequest) ProtoMessage()
func (*GetClusterRequest) ProtoReflect ¶
func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
func (*GetClusterRequest) Reset ¶
func (x *GetClusterRequest) Reset()
func (*GetClusterRequest) String ¶
func (x *GetClusterRequest) String() string
type ListBackupCollectionsRequest ¶ added in v1.18.0
type ListBackupCollectionsRequest struct {
// Required. The resource name of the backupCollection location using the
// form:
//
// `projects/{project_id}/locations/{location_id}`
//
// where `location_id` refers to a GCP region.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of items to return.
//
// If not specified, a default value of 1000 will be used by the service.
// Regardless of the page_size value, the response may include a partial list
// and a caller should only rely on response's
// [`next_page_token`][google.cloud.redis.cluster.v1.ListBackupCollectionsResponse.next_page_token]
// to determine if there are more clusters left to be queried.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The `next_page_token` value returned from a previous
// [ListBackupCollections] request, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request for [ListBackupCollections]
func (*ListBackupCollectionsRequest) Descriptor
deprecated
added in
v1.18.0
func (*ListBackupCollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupCollectionsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupCollectionsRequest) GetPageSize ¶ added in v1.18.0
func (x *ListBackupCollectionsRequest) GetPageSize() int32
func (*ListBackupCollectionsRequest) GetPageToken ¶ added in v1.18.0
func (x *ListBackupCollectionsRequest) GetPageToken() string
func (*ListBackupCollectionsRequest) GetParent ¶ added in v1.18.0
func (x *ListBackupCollectionsRequest) GetParent() string
func (*ListBackupCollectionsRequest) ProtoMessage ¶ added in v1.18.0
func (*ListBackupCollectionsRequest) ProtoMessage()
func (*ListBackupCollectionsRequest) ProtoReflect ¶ added in v1.18.0
func (x *ListBackupCollectionsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupCollectionsRequest) Reset ¶ added in v1.18.0
func (x *ListBackupCollectionsRequest) Reset()
func (*ListBackupCollectionsRequest) String ¶ added in v1.18.0
func (x *ListBackupCollectionsRequest) String() string
type ListBackupCollectionsResponse ¶ added in v1.18.0
type ListBackupCollectionsResponse struct {
// A list of backupCollections in the project.
//
// If the `location_id` in the parent field of the request is "-", all regions
// available to the project are queried, and the results aggregated.
// If in such an aggregated query a location is unavailable, a placeholder
// backupCollection entry is included in the response with the `name` field
// set to a value of the form
// `projects/{project_id}/locations/{location_id}/backupCollections/`- and the
// `status` field set to ERROR and `status_message` field set to "location not
// available for ListBackupCollections".
BackupCollections []*BackupCollection `protobuf:"bytes,1,rep,name=backup_collections,json=backupCollections,proto3" json:"backup_collections,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response for [ListBackupCollections].
func (*ListBackupCollectionsResponse) Descriptor
deprecated
added in
v1.18.0
func (*ListBackupCollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupCollectionsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupCollectionsResponse) GetBackupCollections ¶ added in v1.18.0
func (x *ListBackupCollectionsResponse) GetBackupCollections() []*BackupCollection
func (*ListBackupCollectionsResponse) GetNextPageToken ¶ added in v1.18.0
func (x *ListBackupCollectionsResponse) GetNextPageToken() string
func (*ListBackupCollectionsResponse) GetUnreachable ¶ added in v1.18.0
func (x *ListBackupCollectionsResponse) GetUnreachable() []string
func (*ListBackupCollectionsResponse) ProtoMessage ¶ added in v1.18.0
func (*ListBackupCollectionsResponse) ProtoMessage()
func (*ListBackupCollectionsResponse) ProtoReflect ¶ added in v1.18.0
func (x *ListBackupCollectionsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupCollectionsResponse) Reset ¶ added in v1.18.0
func (x *ListBackupCollectionsResponse) Reset()
func (*ListBackupCollectionsResponse) String ¶ added in v1.18.0
func (x *ListBackupCollectionsResponse) String() string
type ListBackupsRequest ¶ added in v1.18.0
type ListBackupsRequest struct {
// Required. The resource name of the backupCollection using the form:
// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// Optional. The maximum number of items to return.
//
// If not specified, a default value of 1000 will be used by the service.
// Regardless of the page_size value, the response may include a partial list
// and a caller should only rely on response's
// [`next_page_token`][google.cloud.redis.cluster.v1.ListBackupsResponse.next_page_token]
// to determine if there are more clusters left to be queried.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Optional. The `next_page_token` value returned from a previous
// [ListBackupCollections] request, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request for [ListBackups].
func (*ListBackupsRequest) Descriptor
deprecated
added in
v1.18.0
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetPageSize ¶ added in v1.18.0
func (x *ListBackupsRequest) GetPageSize() int32
func (*ListBackupsRequest) GetPageToken ¶ added in v1.18.0
func (x *ListBackupsRequest) GetPageToken() string
func (*ListBackupsRequest) GetParent ¶ added in v1.18.0
func (x *ListBackupsRequest) GetParent() string
func (*ListBackupsRequest) ProtoMessage ¶ added in v1.18.0
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect ¶ added in v1.18.0
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset ¶ added in v1.18.0
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String ¶ added in v1.18.0
func (x *ListBackupsRequest) String() string
type ListBackupsResponse ¶ added in v1.18.0
type ListBackupsResponse struct {
// A list of backups in the project.
Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Backups that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response for [ListBackups].
func (*ListBackupsResponse) Descriptor
deprecated
added in
v1.18.0
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups ¶ added in v1.18.0
func (x *ListBackupsResponse) GetBackups() []*Backup
func (*ListBackupsResponse) GetNextPageToken ¶ added in v1.18.0
func (x *ListBackupsResponse) GetNextPageToken() string
func (*ListBackupsResponse) GetUnreachable ¶ added in v1.18.0
func (x *ListBackupsResponse) GetUnreachable() []string
func (*ListBackupsResponse) ProtoMessage ¶ added in v1.18.0
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect ¶ added in v1.18.0
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset ¶ added in v1.18.0
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String ¶ added in v1.18.0
func (x *ListBackupsResponse) String() string
type ListClustersRequest ¶
type ListClustersRequest struct {
// Required. The resource name of the cluster location using the form:
//
// `projects/{project_id}/locations/{location_id}`
//
// where `location_id` refers to a GCP region.
Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
// The maximum number of items to return.
//
// If not specified, a default value of 1000 will be used by the service.
// Regardless of the page_size value, the response may include a partial list
// and a caller should only rely on response's
// [`next_page_token`][google.cloud.redis.cluster.v1.ListClustersResponse.next_page_token]
// to determine if there are more clusters left to be queried.
PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// The `next_page_token` value returned from a previous
// [ListClusters][CloudRedis.ListClusters] request, if any.
PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
// contains filtered or unexported fields
}
Request for [ListClusters][CloudRedis.ListClusters].
func (*ListClustersRequest) Descriptor
deprecated
func (*ListClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListClustersRequest.ProtoReflect.Descriptor instead.
func (*ListClustersRequest) GetPageSize ¶
func (x *ListClustersRequest) GetPageSize() int32
func (*ListClustersRequest) GetPageToken ¶
func (x *ListClustersRequest) GetPageToken() string
func (*ListClustersRequest) GetParent ¶
func (x *ListClustersRequest) GetParent() string
func (*ListClustersRequest) ProtoMessage ¶
func (*ListClustersRequest) ProtoMessage()
func (*ListClustersRequest) ProtoReflect ¶
func (x *ListClustersRequest) ProtoReflect() protoreflect.Message
func (*ListClustersRequest) Reset ¶
func (x *ListClustersRequest) Reset()
func (*ListClustersRequest) String ¶
func (x *ListClustersRequest) String() string
type ListClustersResponse ¶
type ListClustersResponse struct {
// A list of Redis clusters in the project in the specified location,
// or across all locations.
//
// If the `location_id` in the parent field of the request is "-", all regions
// available to the project are queried, and the results aggregated.
// If in such an aggregated query a location is unavailable, a placeholder
// Redis entry is included in the response with the `name` field set to a
// value of the form
// `projects/{project_id}/locations/{location_id}/clusters/`- and the
// `status` field set to ERROR and `status_message` field set to "location not
// available for ListClusters".
Clusters []*Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"`
// Token to retrieve the next page of results, or empty if there are no more
// results in the list.
NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
// Locations that could not be reached.
Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
// contains filtered or unexported fields
}
Response for [ListClusters][CloudRedis.ListClusters].
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) GetUnreachable ¶
func (x *ListClustersResponse) GetUnreachable() []string
func (*ListClustersResponse) ProtoMessage ¶
func (*ListClustersResponse) ProtoMessage()
func (*ListClustersResponse) ProtoReflect ¶
func (x *ListClustersResponse) ProtoReflect() protoreflect.Message
func (*ListClustersResponse) Reset ¶
func (x *ListClustersResponse) Reset()
func (*ListClustersResponse) String ¶
func (x *ListClustersResponse) String() string
type NodeType ¶ added in v1.16.0
type NodeType int32
NodeType of a redis cluster node,
const ( // Node type unspecified NodeType_NODE_TYPE_UNSPECIFIED NodeType = 0 // Redis shared core nano node_type. NodeType_REDIS_SHARED_CORE_NANO NodeType = 1 // Redis highmem medium node_type. NodeType_REDIS_HIGHMEM_MEDIUM NodeType = 2 // Redis highmem xlarge node_type. NodeType_REDIS_HIGHMEM_XLARGE NodeType = 3 // Redis standard small node_type. NodeType_REDIS_STANDARD_SMALL NodeType = 4 )
func (NodeType) Descriptor ¶ added in v1.16.0
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) EnumDescriptor
deprecated
added in
v1.16.0
func (NodeType) Number ¶ added in v1.16.0
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) Type ¶ added in v1.16.0
func (NodeType) Type() protoreflect.EnumType
type OperationMetadata ¶
type OperationMetadata struct {
// Output only. The time the operation was created.
CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
// Output only. The time the operation finished running.
EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
// Output only. Server-defined resource path for the target of the operation.
Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
// Output only. Name of the verb executed by the operation.
Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
// Output only. Human-readable status of the operation, if any.
StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
// Output only. Identifies whether the user has requested cancellation
// of the operation. Operations that have successfully been cancelled
// have [Operation.error][] value with a
// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
// `Code.CANCELLED`.
RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
// Output only. API version used to start the operation.
ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
// contains filtered or unexported fields
}
Pre-defined metadata fields.
func (*OperationMetadata) Descriptor
deprecated
func (*OperationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.
func (*OperationMetadata) GetApiVersion ¶
func (x *OperationMetadata) GetApiVersion() string
func (*OperationMetadata) GetCreateTime ¶
func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp
func (*OperationMetadata) GetEndTime ¶
func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp
func (*OperationMetadata) GetRequestedCancellation ¶
func (x *OperationMetadata) GetRequestedCancellation() bool
func (*OperationMetadata) GetStatusMessage ¶
func (x *OperationMetadata) GetStatusMessage() string
func (*OperationMetadata) GetTarget ¶
func (x *OperationMetadata) GetTarget() string
func (*OperationMetadata) GetVerb ¶
func (x *OperationMetadata) GetVerb() string
func (*OperationMetadata) ProtoMessage ¶
func (*OperationMetadata) ProtoMessage()
func (*OperationMetadata) ProtoReflect ¶
func (x *OperationMetadata) ProtoReflect() protoreflect.Message
func (*OperationMetadata) Reset ¶
func (x *OperationMetadata) Reset()
func (*OperationMetadata) String ¶
func (x *OperationMetadata) String() string
type PscAutoConnection ¶ added in v1.18.0
type PscAutoConnection struct {
// Output only. The PSC connection id of the forwarding rule connected to the
// service attachment.
PscConnectionId string `protobuf:"bytes,1,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
// Output only. The IP allocated on the consumer network for the PSC
// forwarding rule.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// Output only. The URI of the consumer side forwarding rule.
// Example:
// projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
ForwardingRule string `protobuf:"bytes,3,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
// Required. The consumer project_id where the forwarding rule is created
// from.
ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The consumer network where the IP address resides, in the form of
// projects/{project_id}/global/networks/{network_id}.
Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
// Output only. The service attachment which is the target of the PSC
// connection, in the form of
// projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
ServiceAttachment string `protobuf:"bytes,6,opt,name=service_attachment,json=serviceAttachment,proto3" json:"service_attachment,omitempty"`
// Output only. The status of the PSC connection.
// Please note that this value is updated periodically.
// Please use Private Service Connect APIs for the latest status.
PscConnectionStatus PscConnectionStatus `` /* 176-byte string literal not displayed */
// Output only. Type of the PSC connection.
ConnectionType ConnectionType `` /* 154-byte string literal not displayed */
// contains filtered or unexported fields
}
Details of consumer resources in a PSC connection that is created through Service Connectivity Automation.
func (*PscAutoConnection) Descriptor
deprecated
added in
v1.18.0
func (*PscAutoConnection) Descriptor() ([]byte, []int)
Deprecated: Use PscAutoConnection.ProtoReflect.Descriptor instead.
func (*PscAutoConnection) GetAddress ¶ added in v1.18.0
func (x *PscAutoConnection) GetAddress() string
func (*PscAutoConnection) GetConnectionType ¶ added in v1.18.0
func (x *PscAutoConnection) GetConnectionType() ConnectionType
func (*PscAutoConnection) GetForwardingRule ¶ added in v1.18.0
func (x *PscAutoConnection) GetForwardingRule() string
func (*PscAutoConnection) GetNetwork ¶ added in v1.18.0
func (x *PscAutoConnection) GetNetwork() string
func (*PscAutoConnection) GetProjectId ¶ added in v1.18.0
func (x *PscAutoConnection) GetProjectId() string
func (*PscAutoConnection) GetPscConnectionId ¶ added in v1.18.0
func (x *PscAutoConnection) GetPscConnectionId() string
func (*PscAutoConnection) GetPscConnectionStatus ¶ added in v1.18.0
func (x *PscAutoConnection) GetPscConnectionStatus() PscConnectionStatus
func (*PscAutoConnection) GetServiceAttachment ¶ added in v1.18.0
func (x *PscAutoConnection) GetServiceAttachment() string
func (*PscAutoConnection) ProtoMessage ¶ added in v1.18.0
func (*PscAutoConnection) ProtoMessage()
func (*PscAutoConnection) ProtoReflect ¶ added in v1.18.0
func (x *PscAutoConnection) ProtoReflect() protoreflect.Message
func (*PscAutoConnection) Reset ¶ added in v1.18.0
func (x *PscAutoConnection) Reset()
func (*PscAutoConnection) String ¶ added in v1.18.0
func (x *PscAutoConnection) String() string
type PscConfig ¶
type PscConfig struct {
// Required. The network where the IP address of the discovery endpoint will
// be reserved, in the form of
// projects/{network_project}/global/networks/{network_id}.
Network string `protobuf:"bytes,2,opt,name=network,proto3" json:"network,omitempty"`
// contains filtered or unexported fields
}
func (*PscConfig) Descriptor
deprecated
func (*PscConfig) GetNetwork ¶
func (*PscConfig) ProtoMessage ¶
func (*PscConfig) ProtoMessage()
func (*PscConfig) ProtoReflect ¶
func (x *PscConfig) ProtoReflect() protoreflect.Message
type PscConnection ¶
type PscConnection struct {
// Required. The PSC connection id of the forwarding rule connected to the
// service attachment.
PscConnectionId string `protobuf:"bytes,1,opt,name=psc_connection_id,json=pscConnectionId,proto3" json:"psc_connection_id,omitempty"`
// Required. The IP allocated on the consumer network for the PSC forwarding
// rule.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// Required. The URI of the consumer side forwarding rule.
// Example:
// projects/{projectNumOrId}/regions/us-east1/forwardingRules/{resourceId}.
ForwardingRule string `protobuf:"bytes,3,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
// Optional. Project ID of the consumer project where the forwarding rule is
// created in.
ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
// Required. The consumer network where the IP address resides, in the form of
// projects/{project_id}/global/networks/{network_id}.
Network string `protobuf:"bytes,5,opt,name=network,proto3" json:"network,omitempty"`
// Required. The service attachment which is the target of the PSC connection,
// in the form of
// projects/{project-id}/regions/{region}/serviceAttachments/{service-attachment-id}.
ServiceAttachment string `protobuf:"bytes,6,opt,name=service_attachment,json=serviceAttachment,proto3" json:"service_attachment,omitempty"`
// Output only. The status of the PSC connection.
// Please note that this value is updated periodically.
// To get the latest status of a PSC connection, follow
// https://cloud.google.com/vpc/docs/configure-private-service-connect-services#endpoint-details.
PscConnectionStatus PscConnectionStatus `` /* 176-byte string literal not displayed */
// Output only. Type of the PSC connection.
ConnectionType ConnectionType `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
Details of consumer resources in a PSC connection.
func (*PscConnection) Descriptor
deprecated
func (*PscConnection) Descriptor() ([]byte, []int)
Deprecated: Use PscConnection.ProtoReflect.Descriptor instead.
func (*PscConnection) GetAddress ¶
func (x *PscConnection) GetAddress() string
func (*PscConnection) GetConnectionType ¶ added in v1.18.0
func (x *PscConnection) GetConnectionType() ConnectionType
func (*PscConnection) GetForwardingRule ¶
func (x *PscConnection) GetForwardingRule() string
func (*PscConnection) GetNetwork ¶
func (x *PscConnection) GetNetwork() string
func (*PscConnection) GetProjectId ¶
func (x *PscConnection) GetProjectId() string
func (*PscConnection) GetPscConnectionId ¶
func (x *PscConnection) GetPscConnectionId() string
func (*PscConnection) GetPscConnectionStatus ¶ added in v1.18.0
func (x *PscConnection) GetPscConnectionStatus() PscConnectionStatus
func (*PscConnection) GetServiceAttachment ¶ added in v1.18.0
func (x *PscConnection) GetServiceAttachment() string
func (*PscConnection) ProtoMessage ¶
func (*PscConnection) ProtoMessage()
func (*PscConnection) ProtoReflect ¶
func (x *PscConnection) ProtoReflect() protoreflect.Message
func (*PscConnection) Reset ¶
func (x *PscConnection) Reset()
func (*PscConnection) String ¶
func (x *PscConnection) String() string
type PscConnectionStatus ¶ added in v1.18.0
type PscConnectionStatus int32
Status of the PSC connection.
const ( // PSC connection status is not specified. PscConnectionStatus_PSC_CONNECTION_STATUS_UNSPECIFIED PscConnectionStatus = 0 // The connection is active PscConnectionStatus_PSC_CONNECTION_STATUS_ACTIVE PscConnectionStatus = 1 // Connection not found PscConnectionStatus_PSC_CONNECTION_STATUS_NOT_FOUND PscConnectionStatus = 2 )
func (PscConnectionStatus) Descriptor ¶ added in v1.18.0
func (PscConnectionStatus) Descriptor() protoreflect.EnumDescriptor
func (PscConnectionStatus) Enum ¶ added in v1.18.0
func (x PscConnectionStatus) Enum() *PscConnectionStatus
func (PscConnectionStatus) EnumDescriptor
deprecated
added in
v1.18.0
func (PscConnectionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PscConnectionStatus.Descriptor instead.
func (PscConnectionStatus) Number ¶ added in v1.18.0
func (x PscConnectionStatus) Number() protoreflect.EnumNumber
func (PscConnectionStatus) String ¶ added in v1.18.0
func (x PscConnectionStatus) String() string
func (PscConnectionStatus) Type ¶ added in v1.18.0
func (PscConnectionStatus) Type() protoreflect.EnumType
type PscServiceAttachment ¶ added in v1.18.0
type PscServiceAttachment struct {
// Output only. Service attachment URI which your self-created PscConnection
// should use as target
ServiceAttachment string `protobuf:"bytes,1,opt,name=service_attachment,json=serviceAttachment,proto3" json:"service_attachment,omitempty"`
// Output only. Type of a PSC connection targeting this service attachment.
ConnectionType ConnectionType `` /* 154-byte string literal not displayed */
// contains filtered or unexported fields
}
Configuration of a service attachment of the cluster, for creating PSC connections.
func (*PscServiceAttachment) Descriptor
deprecated
added in
v1.18.0
func (*PscServiceAttachment) Descriptor() ([]byte, []int)
Deprecated: Use PscServiceAttachment.ProtoReflect.Descriptor instead.
func (*PscServiceAttachment) GetConnectionType ¶ added in v1.18.0
func (x *PscServiceAttachment) GetConnectionType() ConnectionType
func (*PscServiceAttachment) GetServiceAttachment ¶ added in v1.18.0
func (x *PscServiceAttachment) GetServiceAttachment() string
func (*PscServiceAttachment) ProtoMessage ¶ added in v1.18.0
func (*PscServiceAttachment) ProtoMessage()
func (*PscServiceAttachment) ProtoReflect ¶ added in v1.18.0
func (x *PscServiceAttachment) ProtoReflect() protoreflect.Message
func (*PscServiceAttachment) Reset ¶ added in v1.18.0
func (x *PscServiceAttachment) Reset()
func (*PscServiceAttachment) String ¶ added in v1.18.0
func (x *PscServiceAttachment) String() string
type RescheduleClusterMaintenanceRequest ¶ added in v1.18.0
type RescheduleClusterMaintenanceRequest struct {
// Required. Redis Cluster instance resource name using the form:
//
// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
//
// where `location_id` refers to a GCP region.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as
// well.
RescheduleType RescheduleClusterMaintenanceRequest_RescheduleType `` /* 190-byte string literal not displayed */
// Optional. Timestamp when the maintenance shall be rescheduled to if
// reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for
// example `2012-11-15T16:19:00.094Z`.
ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
// contains filtered or unexported fields
}
Request for rescheduling a cluster maintenance.
func (*RescheduleClusterMaintenanceRequest) Descriptor
deprecated
added in
v1.18.0
func (*RescheduleClusterMaintenanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RescheduleClusterMaintenanceRequest.ProtoReflect.Descriptor instead.
func (*RescheduleClusterMaintenanceRequest) GetName ¶ added in v1.18.0
func (x *RescheduleClusterMaintenanceRequest) GetName() string
func (*RescheduleClusterMaintenanceRequest) GetRescheduleType ¶ added in v1.18.0
func (x *RescheduleClusterMaintenanceRequest) GetRescheduleType() RescheduleClusterMaintenanceRequest_RescheduleType
func (*RescheduleClusterMaintenanceRequest) GetScheduleTime ¶ added in v1.18.0
func (x *RescheduleClusterMaintenanceRequest) GetScheduleTime() *timestamppb.Timestamp
func (*RescheduleClusterMaintenanceRequest) ProtoMessage ¶ added in v1.18.0
func (*RescheduleClusterMaintenanceRequest) ProtoMessage()
func (*RescheduleClusterMaintenanceRequest) ProtoReflect ¶ added in v1.18.0
func (x *RescheduleClusterMaintenanceRequest) ProtoReflect() protoreflect.Message
func (*RescheduleClusterMaintenanceRequest) Reset ¶ added in v1.18.0
func (x *RescheduleClusterMaintenanceRequest) Reset()
func (*RescheduleClusterMaintenanceRequest) String ¶ added in v1.18.0
func (x *RescheduleClusterMaintenanceRequest) String() string
type RescheduleClusterMaintenanceRequest_RescheduleType ¶ added in v1.18.0
type RescheduleClusterMaintenanceRequest_RescheduleType int32
Reschedule options.
const ( // Not set. RescheduleClusterMaintenanceRequest_RESCHEDULE_TYPE_UNSPECIFIED RescheduleClusterMaintenanceRequest_RescheduleType = 0 // If the user wants to schedule the maintenance to happen now. RescheduleClusterMaintenanceRequest_IMMEDIATE RescheduleClusterMaintenanceRequest_RescheduleType = 1 // If the user wants to reschedule the maintenance to a specific time. RescheduleClusterMaintenanceRequest_SPECIFIC_TIME RescheduleClusterMaintenanceRequest_RescheduleType = 3 )
func (RescheduleClusterMaintenanceRequest_RescheduleType) Descriptor ¶ added in v1.18.0
func (RescheduleClusterMaintenanceRequest_RescheduleType) Descriptor() protoreflect.EnumDescriptor
func (RescheduleClusterMaintenanceRequest_RescheduleType) EnumDescriptor
deprecated
added in
v1.18.0
func (RescheduleClusterMaintenanceRequest_RescheduleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RescheduleClusterMaintenanceRequest_RescheduleType.Descriptor instead.
func (RescheduleClusterMaintenanceRequest_RescheduleType) Number ¶ added in v1.18.0
func (x RescheduleClusterMaintenanceRequest_RescheduleType) Number() protoreflect.EnumNumber
func (RescheduleClusterMaintenanceRequest_RescheduleType) String ¶ added in v1.18.0
func (x RescheduleClusterMaintenanceRequest_RescheduleType) String() string
type TransitEncryptionMode ¶
type TransitEncryptionMode int32
Available mode of in-transit encryption.
const ( // In-transit encryption not set. TransitEncryptionMode_TRANSIT_ENCRYPTION_MODE_UNSPECIFIED TransitEncryptionMode = 0 // In-transit encryption disabled. TransitEncryptionMode_TRANSIT_ENCRYPTION_MODE_DISABLED TransitEncryptionMode = 1 // Use server managed encryption for in-transit encryption. TransitEncryptionMode_TRANSIT_ENCRYPTION_MODE_SERVER_AUTHENTICATION TransitEncryptionMode = 2 )
func (TransitEncryptionMode) Descriptor ¶
func (TransitEncryptionMode) Descriptor() protoreflect.EnumDescriptor
func (TransitEncryptionMode) Enum ¶
func (x TransitEncryptionMode) Enum() *TransitEncryptionMode
func (TransitEncryptionMode) EnumDescriptor
deprecated
func (TransitEncryptionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransitEncryptionMode.Descriptor instead.
func (TransitEncryptionMode) Number ¶
func (x TransitEncryptionMode) Number() protoreflect.EnumNumber
func (TransitEncryptionMode) String ¶
func (x TransitEncryptionMode) String() string
func (TransitEncryptionMode) Type ¶
func (TransitEncryptionMode) Type() protoreflect.EnumType
type UnimplementedCloudRedisClusterServer ¶
type UnimplementedCloudRedisClusterServer struct {
}
UnimplementedCloudRedisClusterServer should be embedded to have forward compatible implementations.
func (UnimplementedCloudRedisClusterServer) BackupCluster ¶ added in v1.18.0
func (UnimplementedCloudRedisClusterServer) BackupCluster(context.Context, *BackupClusterRequest) (*longrunningpb.Operation, error)
func (UnimplementedCloudRedisClusterServer) CreateCluster ¶
func (UnimplementedCloudRedisClusterServer) CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
func (UnimplementedCloudRedisClusterServer) DeleteBackup ¶ added in v1.18.0
func (UnimplementedCloudRedisClusterServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
func (UnimplementedCloudRedisClusterServer) DeleteCluster ¶
func (UnimplementedCloudRedisClusterServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
func (UnimplementedCloudRedisClusterServer) ExportBackup ¶ added in v1.18.0
func (UnimplementedCloudRedisClusterServer) ExportBackup(context.Context, *ExportBackupRequest) (*longrunningpb.Operation, error)
func (UnimplementedCloudRedisClusterServer) GetBackup ¶ added in v1.18.0
func (UnimplementedCloudRedisClusterServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
func (UnimplementedCloudRedisClusterServer) GetBackupCollection ¶ added in v1.18.0
func (UnimplementedCloudRedisClusterServer) GetBackupCollection(context.Context, *GetBackupCollectionRequest) (*BackupCollection, error)
func (UnimplementedCloudRedisClusterServer) GetCluster ¶
func (UnimplementedCloudRedisClusterServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
func (UnimplementedCloudRedisClusterServer) GetClusterCertificateAuthority ¶ added in v1.16.0
func (UnimplementedCloudRedisClusterServer) GetClusterCertificateAuthority(context.Context, *GetClusterCertificateAuthorityRequest) (*CertificateAuthority, error)
func (UnimplementedCloudRedisClusterServer) ListBackupCollections ¶ added in v1.18.0
func (UnimplementedCloudRedisClusterServer) ListBackupCollections(context.Context, *ListBackupCollectionsRequest) (*ListBackupCollectionsResponse, error)
func (UnimplementedCloudRedisClusterServer) ListBackups ¶ added in v1.18.0
func (UnimplementedCloudRedisClusterServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (UnimplementedCloudRedisClusterServer) ListClusters ¶
func (UnimplementedCloudRedisClusterServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (UnimplementedCloudRedisClusterServer) RescheduleClusterMaintenance ¶ added in v1.18.0
func (UnimplementedCloudRedisClusterServer) RescheduleClusterMaintenance(context.Context, *RescheduleClusterMaintenanceRequest) (*longrunningpb.Operation, error)
func (UnimplementedCloudRedisClusterServer) UpdateCluster ¶
func (UnimplementedCloudRedisClusterServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
type UnsafeCloudRedisClusterServer ¶ added in v1.18.3
type UnsafeCloudRedisClusterServer interface {
// contains filtered or unexported methods
}
UnsafeCloudRedisClusterServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CloudRedisClusterServer will result in compilation errors.
type UpdateClusterRequest ¶
type UpdateClusterRequest struct {
// Required. Mask of fields to update. At least one path must be supplied in
// this field. The elements of the repeated paths field may only include these
// fields from [Cluster][google.cloud.redis.cluster.v1.Cluster]:
//
// - `size_gb`
// - `replica_count`
UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,1,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
// Required. Update description.
// Only fields specified in update_mask are updated.
Cluster *Cluster `protobuf:"bytes,2,opt,name=cluster,proto3" json:"cluster,omitempty"`
// Idempotent request UUID.
RequestId string `protobuf:"bytes,3,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
// contains filtered or unexported fields
}
Request for [UpdateCluster][CloudRedis.UpdateCluster].
func (*UpdateClusterRequest) Descriptor
deprecated
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateClusterRequest) GetCluster ¶
func (x *UpdateClusterRequest) GetCluster() *Cluster
func (*UpdateClusterRequest) GetRequestId ¶
func (x *UpdateClusterRequest) GetRequestId() string
func (*UpdateClusterRequest) GetUpdateMask ¶
func (x *UpdateClusterRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateClusterRequest) ProtoMessage ¶
func (*UpdateClusterRequest) ProtoMessage()
func (*UpdateClusterRequest) ProtoReflect ¶
func (x *UpdateClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateClusterRequest) Reset ¶
func (x *UpdateClusterRequest) Reset()
func (*UpdateClusterRequest) String ¶
func (x *UpdateClusterRequest) String() string
type ZoneDistributionConfig ¶ added in v1.16.0
type ZoneDistributionConfig struct {
// Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not
// specified.
Mode ZoneDistributionConfig_ZoneDistributionMode `` /* 141-byte string literal not displayed */
// Optional. When SINGLE ZONE distribution is selected, zone field would be
// used to allocate all resources in that zone. This is not applicable to
// MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.
Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
// contains filtered or unexported fields
}
Zone distribution config for allocation of cluster resources.
func (*ZoneDistributionConfig) Descriptor
deprecated
added in
v1.16.0
func (*ZoneDistributionConfig) Descriptor() ([]byte, []int)
Deprecated: Use ZoneDistributionConfig.ProtoReflect.Descriptor instead.
func (*ZoneDistributionConfig) GetMode ¶ added in v1.16.0
func (x *ZoneDistributionConfig) GetMode() ZoneDistributionConfig_ZoneDistributionMode
func (*ZoneDistributionConfig) GetZone ¶ added in v1.16.0
func (x *ZoneDistributionConfig) GetZone() string
func (*ZoneDistributionConfig) ProtoMessage ¶ added in v1.16.0
func (*ZoneDistributionConfig) ProtoMessage()
func (*ZoneDistributionConfig) ProtoReflect ¶ added in v1.16.0
func (x *ZoneDistributionConfig) ProtoReflect() protoreflect.Message
func (*ZoneDistributionConfig) Reset ¶ added in v1.16.0
func (x *ZoneDistributionConfig) Reset()
func (*ZoneDistributionConfig) String ¶ added in v1.16.0
func (x *ZoneDistributionConfig) String() string
type ZoneDistributionConfig_ZoneDistributionMode ¶ added in v1.16.0
type ZoneDistributionConfig_ZoneDistributionMode int32
Defines various modes of zone distribution.
const ( // Not Set. Default: MULTI_ZONE ZoneDistributionConfig_ZONE_DISTRIBUTION_MODE_UNSPECIFIED ZoneDistributionConfig_ZoneDistributionMode = 0 // Distribute all resources across 3 zones picked at random, within the // region. ZoneDistributionConfig_MULTI_ZONE ZoneDistributionConfig_ZoneDistributionMode = 1 // Distribute all resources in a single zone. The zone field must be // specified, when this mode is selected. ZoneDistributionConfig_SINGLE_ZONE ZoneDistributionConfig_ZoneDistributionMode = 2 )
func (ZoneDistributionConfig_ZoneDistributionMode) Descriptor ¶ added in v1.16.0
func (ZoneDistributionConfig_ZoneDistributionMode) Descriptor() protoreflect.EnumDescriptor
func (ZoneDistributionConfig_ZoneDistributionMode) EnumDescriptor
deprecated
added in
v1.16.0
func (ZoneDistributionConfig_ZoneDistributionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ZoneDistributionConfig_ZoneDistributionMode.Descriptor instead.
func (ZoneDistributionConfig_ZoneDistributionMode) Number ¶ added in v1.16.0
func (x ZoneDistributionConfig_ZoneDistributionMode) Number() protoreflect.EnumNumber
func (ZoneDistributionConfig_ZoneDistributionMode) String ¶ added in v1.16.0
func (x ZoneDistributionConfig_ZoneDistributionMode) String() string
func (ZoneDistributionConfig_ZoneDistributionMode) Type ¶ added in v1.16.0
func (ZoneDistributionConfig_ZoneDistributionMode) Type() protoreflect.EnumType