package clusterpb
import "cloud.google.com/go/redis/cluster/apiv1/clusterpb"
Index ¶
- Variables
- func RegisterCloudRedisClusterServer(s *grpc.Server, srv CloudRedisClusterServer)
- type AuthorizationMode
- func (AuthorizationMode) Descriptor() protoreflect.EnumDescriptor
- func (x AuthorizationMode) Enum() *AuthorizationMode
- func (AuthorizationMode) EnumDescriptor() ([]byte, []int)
- func (x AuthorizationMode) Number() protoreflect.EnumNumber
- func (x AuthorizationMode) String() string
- func (AuthorizationMode) Type() protoreflect.EnumType
- type AutomatedBackupConfig
- func (*AutomatedBackupConfig) Descriptor() ([]byte, []int)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- func (x ConnectionType) Number() protoreflect.EnumNumber
- func (x ConnectionType) String() string
- func (ConnectionType) Type() protoreflect.EnumType
- type CreateClusterRequest
- func (*CreateClusterRequest) Descriptor() ([]byte, []int)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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
- func (*GetBackupRequest) Descriptor() ([]byte, []int)
- func (x *GetBackupRequest) GetName() string
- func (*GetBackupRequest) ProtoMessage()
- func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
- func (x *GetBackupRequest) Reset()
- func (x *GetBackupRequest) String() string
- type GetClusterCertificateAuthorityRequest
- func (*GetClusterCertificateAuthorityRequest) Descriptor() ([]byte, []int)
- 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
- func (*GetClusterRequest) Descriptor() ([]byte, []int)
- func (x *GetClusterRequest) GetName() string
- func (*GetClusterRequest) ProtoMessage()
- func (x *GetClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetClusterRequest) Reset()
- func (x *GetClusterRequest) String() string
- type ListBackupCollectionsRequest
- func (*ListBackupCollectionsRequest) Descriptor() ([]byte, []int)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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
- func (NodeType) Descriptor() protoreflect.EnumDescriptor
- func (x NodeType) Enum() *NodeType
- func (NodeType) EnumDescriptor() ([]byte, []int)
- func (x NodeType) Number() protoreflect.EnumNumber
- func (x NodeType) String() string
- func (NodeType) Type() protoreflect.EnumType
- type OperationMetadata
- func (*OperationMetadata) Descriptor() ([]byte, []int)
- 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)
- 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
- func (*PscConfig) Descriptor() ([]byte, []int)
- func (x *PscConfig) GetNetwork() string
- func (*PscConfig) ProtoMessage()
- func (x *PscConfig) ProtoReflect() protoreflect.Message
- func (x *PscConfig) Reset()
- func (x *PscConfig) String() string
- type PscConnection
- func (*PscConnection) Descriptor() ([]byte, []int)
- 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)
- func (x PscConnectionStatus) Number() protoreflect.EnumNumber
- func (x PscConnectionStatus) String() string
- func (PscConnectionStatus) Type() protoreflect.EnumType
- type PscServiceAttachment
- func (*PscServiceAttachment) Descriptor() ([]byte, []int)
- 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)
- 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)
- 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)
- 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 UpdateClusterRequest
- func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
- 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)
- 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)
- func (x ZoneDistributionConfig_ZoneDistributionMode) Number() protoreflect.EnumNumber
- func (x ZoneDistributionConfig_ZoneDistributionMode) String() string
- func (ZoneDistributionConfig_ZoneDistributionMode) Type() protoreflect.EnumType
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 File_google_cloud_redis_cluster_v1_cloud_redis_cluster_proto protoreflect.FileDescriptor
Functions ¶
func RegisterCloudRedisClusterServer ¶
func RegisterCloudRedisClusterServer(s *grpc.Server, 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 ¶
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 ¶
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 `protobuf:"varint,1,opt,name=automated_backup_mode,json=automatedBackupMode,proto3,enum=google.cloud.redis.cluster.v1.AutomatedBackupConfig_AutomatedBackupMode" json:"automated_backup_mode,omitempty"` // 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 ¶
func (*AutomatedBackupConfig) Descriptor() ([]byte, []int)
Deprecated: Use AutomatedBackupConfig.ProtoReflect.Descriptor instead.
func (*AutomatedBackupConfig) GetAutomatedBackupMode ¶
func (x *AutomatedBackupConfig) GetAutomatedBackupMode() AutomatedBackupConfig_AutomatedBackupMode
func (*AutomatedBackupConfig) GetFixedFrequencySchedule ¶
func (x *AutomatedBackupConfig) GetFixedFrequencySchedule() *AutomatedBackupConfig_FixedFrequencySchedule
func (*AutomatedBackupConfig) GetRetention ¶
func (x *AutomatedBackupConfig) GetRetention() *durationpb.Duration
func (*AutomatedBackupConfig) GetSchedule ¶
func (m *AutomatedBackupConfig) GetSchedule() isAutomatedBackupConfig_Schedule
func (*AutomatedBackupConfig) ProtoMessage ¶
func (*AutomatedBackupConfig) ProtoMessage()
func (*AutomatedBackupConfig) ProtoReflect ¶
func (x *AutomatedBackupConfig) ProtoReflect() protoreflect.Message
func (*AutomatedBackupConfig) Reset ¶
func (x *AutomatedBackupConfig) Reset()
func (*AutomatedBackupConfig) String ¶
func (x *AutomatedBackupConfig) String() string
type AutomatedBackupConfig_AutomatedBackupMode ¶
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 ¶
func (AutomatedBackupConfig_AutomatedBackupMode) Descriptor() protoreflect.EnumDescriptor
func (AutomatedBackupConfig_AutomatedBackupMode) Enum ¶
func (x AutomatedBackupConfig_AutomatedBackupMode) Enum() *AutomatedBackupConfig_AutomatedBackupMode
func (AutomatedBackupConfig_AutomatedBackupMode) EnumDescriptor ¶
func (AutomatedBackupConfig_AutomatedBackupMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use AutomatedBackupConfig_AutomatedBackupMode.Descriptor instead.
func (AutomatedBackupConfig_AutomatedBackupMode) Number ¶
func (x AutomatedBackupConfig_AutomatedBackupMode) Number() protoreflect.EnumNumber
func (AutomatedBackupConfig_AutomatedBackupMode) String ¶
func (x AutomatedBackupConfig_AutomatedBackupMode) String() string
func (AutomatedBackupConfig_AutomatedBackupMode) Type ¶
func (AutomatedBackupConfig_AutomatedBackupMode) Type() protoreflect.EnumType
type AutomatedBackupConfig_FixedFrequencySchedule ¶
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 ¶
func (*AutomatedBackupConfig_FixedFrequencySchedule) Descriptor() ([]byte, []int)
Deprecated: Use AutomatedBackupConfig_FixedFrequencySchedule.ProtoReflect.Descriptor instead.
func (*AutomatedBackupConfig_FixedFrequencySchedule) GetStartTime ¶
func (x *AutomatedBackupConfig_FixedFrequencySchedule) GetStartTime() *timeofday.TimeOfDay
func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoMessage ¶
func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoMessage()
func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoReflect ¶
func (x *AutomatedBackupConfig_FixedFrequencySchedule) ProtoReflect() protoreflect.Message
func (*AutomatedBackupConfig_FixedFrequencySchedule) Reset ¶
func (x *AutomatedBackupConfig_FixedFrequencySchedule) Reset()
func (*AutomatedBackupConfig_FixedFrequencySchedule) String ¶
func (x *AutomatedBackupConfig_FixedFrequencySchedule) String() string
type AutomatedBackupConfig_FixedFrequencySchedule_ ¶
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 ¶
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 `protobuf:"varint,9,opt,name=node_type,json=nodeType,proto3,enum=google.cloud.redis.cluster.v1.NodeType" json:"node_type,omitempty"` // 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 `protobuf:"varint,12,opt,name=backup_type,json=backupType,proto3,enum=google.cloud.redis.cluster.v1.Backup_BackupType" json:"backup_type,omitempty"` // 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: Use Backup.ProtoReflect.Descriptor instead.
func (*Backup) GetBackupFiles ¶
func (x *Backup) GetBackupFiles() []*BackupFile
func (*Backup) GetBackupType ¶
func (x *Backup) GetBackupType() Backup_BackupType
func (*Backup) GetCluster ¶
func (*Backup) GetClusterUid ¶
func (*Backup) GetCreateTime ¶
func (x *Backup) GetCreateTime() *timestamppb.Timestamp
func (*Backup) GetEncryptionInfo ¶
func (x *Backup) GetEncryptionInfo() *EncryptionInfo
func (*Backup) GetEngineVersion ¶
func (*Backup) GetExpireTime ¶
func (x *Backup) GetExpireTime() *timestamppb.Timestamp
func (*Backup) GetName ¶
func (*Backup) GetNodeType ¶
func (*Backup) GetReplicaCount ¶
func (*Backup) GetShardCount ¶
func (*Backup) GetState ¶
func (x *Backup) GetState() Backup_State
func (*Backup) GetTotalSizeBytes ¶
func (*Backup) GetUid ¶
func (*Backup) ProtoMessage ¶
func (*Backup) ProtoMessage()
func (*Backup) ProtoReflect ¶
func (x *Backup) ProtoReflect() protoreflect.Message
func (*Backup) Reset ¶
func (x *Backup) Reset()
func (*Backup) String ¶
type BackupClusterRequest ¶
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 ¶
func (*BackupClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use BackupClusterRequest.ProtoReflect.Descriptor instead.
func (*BackupClusterRequest) GetBackupId ¶
func (x *BackupClusterRequest) GetBackupId() string
func (*BackupClusterRequest) GetName ¶
func (x *BackupClusterRequest) GetName() string
func (*BackupClusterRequest) GetTtl ¶
func (x *BackupClusterRequest) GetTtl() *durationpb.Duration
func (*BackupClusterRequest) ProtoMessage ¶
func (*BackupClusterRequest) ProtoMessage()
func (*BackupClusterRequest) ProtoReflect ¶
func (x *BackupClusterRequest) ProtoReflect() protoreflect.Message
func (*BackupClusterRequest) Reset ¶
func (x *BackupClusterRequest) Reset()
func (*BackupClusterRequest) String ¶
func (x *BackupClusterRequest) String() string
type BackupCollection ¶
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 ¶
func (*BackupCollection) Descriptor() ([]byte, []int)
Deprecated: Use BackupCollection.ProtoReflect.Descriptor instead.
func (*BackupCollection) GetCluster ¶
func (x *BackupCollection) GetCluster() string
func (*BackupCollection) GetClusterUid ¶
func (x *BackupCollection) GetClusterUid() string
func (*BackupCollection) GetKmsKey ¶
func (x *BackupCollection) GetKmsKey() string
func (*BackupCollection) GetName ¶
func (x *BackupCollection) GetName() string
func (*BackupCollection) GetUid ¶
func (x *BackupCollection) GetUid() string
func (*BackupCollection) ProtoMessage ¶
func (*BackupCollection) ProtoMessage()
func (*BackupCollection) ProtoReflect ¶
func (x *BackupCollection) ProtoReflect() protoreflect.Message
func (*BackupCollection) Reset ¶
func (x *BackupCollection) Reset()
func (*BackupCollection) String ¶
func (x *BackupCollection) String() string
type BackupFile ¶
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 ¶
func (*BackupFile) Descriptor() ([]byte, []int)
Deprecated: Use BackupFile.ProtoReflect.Descriptor instead.
func (*BackupFile) GetCreateTime ¶
func (x *BackupFile) GetCreateTime() *timestamppb.Timestamp
func (*BackupFile) GetFileName ¶
func (x *BackupFile) GetFileName() string
func (*BackupFile) GetSizeBytes ¶
func (x *BackupFile) GetSizeBytes() int64
func (*BackupFile) ProtoMessage ¶
func (*BackupFile) ProtoMessage()
func (*BackupFile) ProtoReflect ¶
func (x *BackupFile) ProtoReflect() protoreflect.Message
func (*BackupFile) Reset ¶
func (x *BackupFile) Reset()
func (*BackupFile) String ¶
func (x *BackupFile) String() string
type Backup_BackupType ¶
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 ¶
func (Backup_BackupType) Descriptor() protoreflect.EnumDescriptor
func (Backup_BackupType) Enum ¶
func (x Backup_BackupType) Enum() *Backup_BackupType
func (Backup_BackupType) EnumDescriptor ¶
func (Backup_BackupType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_BackupType.Descriptor instead.
func (Backup_BackupType) Number ¶
func (x Backup_BackupType) Number() protoreflect.EnumNumber
func (Backup_BackupType) String ¶
func (x Backup_BackupType) String() string
func (Backup_BackupType) Type ¶
func (Backup_BackupType) Type() protoreflect.EnumType
type Backup_State ¶
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 ¶
func (Backup_State) Descriptor() protoreflect.EnumDescriptor
func (Backup_State) Enum ¶
func (x Backup_State) Enum() *Backup_State
func (Backup_State) EnumDescriptor ¶
func (Backup_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use Backup_State.Descriptor instead.
func (Backup_State) Number ¶
func (x Backup_State) Number() protoreflect.EnumNumber
func (Backup_State) String ¶
func (x Backup_State) String() string
func (Backup_State) Type ¶
func (Backup_State) Type() protoreflect.EnumType
type CertificateAuthority ¶
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 ¶
func (*CertificateAuthority) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority.ProtoReflect.Descriptor instead.
func (*CertificateAuthority) GetManagedServerCa ¶
func (x *CertificateAuthority) GetManagedServerCa() *CertificateAuthority_ManagedCertificateAuthority
func (*CertificateAuthority) GetName ¶
func (x *CertificateAuthority) GetName() string
func (*CertificateAuthority) GetServerCa ¶
func (m *CertificateAuthority) GetServerCa() isCertificateAuthority_ServerCa
func (*CertificateAuthority) ProtoMessage ¶
func (*CertificateAuthority) ProtoMessage()
func (*CertificateAuthority) ProtoReflect ¶
func (x *CertificateAuthority) ProtoReflect() protoreflect.Message
func (*CertificateAuthority) Reset ¶
func (x *CertificateAuthority) Reset()
func (*CertificateAuthority) String ¶
func (x *CertificateAuthority) String() string
type CertificateAuthority_ManagedCertificateAuthority ¶
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 ¶
func (*CertificateAuthority_ManagedCertificateAuthority) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority_ManagedCertificateAuthority.ProtoReflect.Descriptor instead.
func (*CertificateAuthority_ManagedCertificateAuthority) GetCaCerts ¶
func (x *CertificateAuthority_ManagedCertificateAuthority) GetCaCerts() []*CertificateAuthority_ManagedCertificateAuthority_CertChain
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoMessage ¶
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoMessage()
func (*CertificateAuthority_ManagedCertificateAuthority) ProtoReflect ¶
func (x *CertificateAuthority_ManagedCertificateAuthority) ProtoReflect() protoreflect.Message
func (*CertificateAuthority_ManagedCertificateAuthority) Reset ¶
func (x *CertificateAuthority_ManagedCertificateAuthority) Reset()
func (*CertificateAuthority_ManagedCertificateAuthority) String ¶
func (x *CertificateAuthority_ManagedCertificateAuthority) String() string
type CertificateAuthority_ManagedCertificateAuthority_CertChain ¶
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 ¶
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Descriptor() ([]byte, []int)
Deprecated: Use CertificateAuthority_ManagedCertificateAuthority_CertChain.ProtoReflect.Descriptor instead.
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) GetCertificates ¶
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) GetCertificates() []string
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoMessage ¶
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoMessage()
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoReflect ¶
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoReflect() protoreflect.Message
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Reset ¶
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) Reset()
func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) String ¶
func (x *CertificateAuthority_ManagedCertificateAuthority_CertChain) String() string
type CertificateAuthority_ManagedServerCa ¶
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://godoc.org/google.golang.org/grpc#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.
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 `protobuf:"varint,11,opt,name=authorization_mode,json=authorizationMode,proto3,enum=google.cloud.redis.cluster.v1.AuthorizationMode" json:"authorization_mode,omitempty"` // Optional. The in-transit encryption for the Redis cluster. // If not provided, encryption is disabled for the cluster. TransitEncryptionMode TransitEncryptionMode `protobuf:"varint,12,opt,name=transit_encryption_mode,json=transitEncryptionMode,proto3,enum=google.cloud.redis.cluster.v1.TransitEncryptionMode" json:"transit_encryption_mode,omitempty"` // 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 `protobuf:"varint,19,opt,name=node_type,json=nodeType,proto3,enum=google.cloud.redis.cluster.v1.NodeType" json:"node_type,omitempty"` // 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 `protobuf:"bytes,21,rep,name=redis_configs,json=redisConfigs,proto3" json:"redis_configs,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // 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 `protobuf:"bytes,23,opt,name=zone_distribution_config,json=zoneDistributionConfig,proto3" json:"zone_distribution_config,omitempty"` // Optional. Cross cluster replication config. CrossClusterReplicationConfig *CrossClusterReplicationConfig `protobuf:"bytes,24,opt,name=cross_cluster_replication_config,json=crossClusterReplicationConfig,proto3" json:"cross_cluster_replication_config,omitempty"` // Optional. The delete operation will fail when the value is set to true. DeletionProtectionEnabled *bool `protobuf:"varint,25,opt,name=deletion_protection_enabled,json=deletionProtectionEnabled,proto3,oneof" json:"deletion_protection_enabled,omitempty"` // 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 `protobuf:"bytes,30,rep,name=psc_service_attachments,json=pscServiceAttachments,proto3" json:"psc_service_attachments,omitempty"` // 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 `protobuf:"bytes,42,opt,name=automated_backup_config,json=automatedBackupConfig,proto3" json:"automated_backup_config,omitempty"` // 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: Use Cluster.ProtoReflect.Descriptor instead.
func (*Cluster) GetAuthorizationMode ¶
func (x *Cluster) GetAuthorizationMode() AuthorizationMode
func (*Cluster) GetAutomatedBackupConfig ¶
func (x *Cluster) GetAutomatedBackupConfig() *AutomatedBackupConfig
func (*Cluster) GetBackupCollection ¶
func (*Cluster) GetClusterEndpoints ¶
func (x *Cluster) GetClusterEndpoints() []*ClusterEndpoint
func (*Cluster) GetCreateTime ¶
func (x *Cluster) GetCreateTime() *timestamppb.Timestamp
func (*Cluster) GetCrossClusterReplicationConfig ¶
func (x *Cluster) GetCrossClusterReplicationConfig() *CrossClusterReplicationConfig
func (*Cluster) GetDeletionProtectionEnabled ¶
func (*Cluster) GetDiscoveryEndpoints ¶
func (x *Cluster) GetDiscoveryEndpoints() []*DiscoveryEndpoint
func (*Cluster) GetEncryptionInfo ¶
func (x *Cluster) GetEncryptionInfo() *EncryptionInfo
func (*Cluster) GetGcsSource ¶
func (x *Cluster) GetGcsSource() *Cluster_GcsBackupSource
func (*Cluster) GetImportSources ¶
func (m *Cluster) GetImportSources() isCluster_ImportSources
func (*Cluster) GetKmsKey ¶
func (*Cluster) GetMaintenancePolicy ¶
func (x *Cluster) GetMaintenancePolicy() *ClusterMaintenancePolicy
func (*Cluster) GetMaintenanceSchedule ¶
func (x *Cluster) GetMaintenanceSchedule() *ClusterMaintenanceSchedule
func (*Cluster) GetManagedBackupSource ¶
func (x *Cluster) GetManagedBackupSource() *Cluster_ManagedBackupSource
func (*Cluster) GetName ¶
func (*Cluster) GetNodeType ¶
func (*Cluster) GetPersistenceConfig ¶
func (x *Cluster) GetPersistenceConfig() *ClusterPersistenceConfig
func (*Cluster) GetPreciseSizeGb ¶
func (*Cluster) GetPscConfigs ¶
func (*Cluster) GetPscConnections ¶
func (x *Cluster) GetPscConnections() []*PscConnection
func (*Cluster) GetPscServiceAttachments ¶
func (x *Cluster) GetPscServiceAttachments() []*PscServiceAttachment
func (*Cluster) GetRedisConfigs ¶
func (*Cluster) GetReplicaCount ¶
func (*Cluster) GetShardCount ¶
func (*Cluster) GetSizeGb ¶
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) GetUid ¶
func (*Cluster) GetZoneDistributionConfig ¶
func (x *Cluster) GetZoneDistributionConfig() *ZoneDistributionConfig
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
func (*Cluster) ProtoReflect ¶
func (x *Cluster) ProtoReflect() protoreflect.Message
func (*Cluster) Reset ¶
func (x *Cluster) Reset()
func (*Cluster) String ¶
type ClusterEndpoint ¶
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 ¶
func (*ClusterEndpoint) Descriptor() ([]byte, []int)
Deprecated: Use ClusterEndpoint.ProtoReflect.Descriptor instead.
func (*ClusterEndpoint) GetConnections ¶
func (x *ClusterEndpoint) GetConnections() []*ConnectionDetail
func (*ClusterEndpoint) ProtoMessage ¶
func (*ClusterEndpoint) ProtoMessage()
func (*ClusterEndpoint) ProtoReflect ¶
func (x *ClusterEndpoint) ProtoReflect() protoreflect.Message
func (*ClusterEndpoint) Reset ¶
func (x *ClusterEndpoint) Reset()
func (*ClusterEndpoint) String ¶
func (x *ClusterEndpoint) String() string
type ClusterMaintenancePolicy ¶
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 `protobuf:"bytes,3,rep,name=weekly_maintenance_window,json=weeklyMaintenanceWindow,proto3" json:"weekly_maintenance_window,omitempty"` // contains filtered or unexported fields }
Maintenance policy per cluster.
func (*ClusterMaintenancePolicy) Descriptor ¶
func (*ClusterMaintenancePolicy) Descriptor() ([]byte, []int)
Deprecated: Use ClusterMaintenancePolicy.ProtoReflect.Descriptor instead.
func (*ClusterMaintenancePolicy) GetCreateTime ¶
func (x *ClusterMaintenancePolicy) GetCreateTime() *timestamppb.Timestamp
func (*ClusterMaintenancePolicy) GetUpdateTime ¶
func (x *ClusterMaintenancePolicy) GetUpdateTime() *timestamppb.Timestamp
func (*ClusterMaintenancePolicy) GetWeeklyMaintenanceWindow ¶
func (x *ClusterMaintenancePolicy) GetWeeklyMaintenanceWindow() []*ClusterWeeklyMaintenanceWindow
func (*ClusterMaintenancePolicy) ProtoMessage ¶
func (*ClusterMaintenancePolicy) ProtoMessage()
func (*ClusterMaintenancePolicy) ProtoReflect ¶
func (x *ClusterMaintenancePolicy) ProtoReflect() protoreflect.Message
func (*ClusterMaintenancePolicy) Reset ¶
func (x *ClusterMaintenancePolicy) Reset()
func (*ClusterMaintenancePolicy) String ¶
func (x *ClusterMaintenancePolicy) String() string
type ClusterMaintenanceSchedule ¶
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 ¶
func (*ClusterMaintenanceSchedule) Descriptor() ([]byte, []int)
Deprecated: Use ClusterMaintenanceSchedule.ProtoReflect.Descriptor instead.
func (*ClusterMaintenanceSchedule) GetEndTime ¶
func (x *ClusterMaintenanceSchedule) GetEndTime() *timestamppb.Timestamp
func (*ClusterMaintenanceSchedule) GetStartTime ¶
func (x *ClusterMaintenanceSchedule) GetStartTime() *timestamppb.Timestamp
func (*ClusterMaintenanceSchedule) ProtoMessage ¶
func (*ClusterMaintenanceSchedule) ProtoMessage()
func (*ClusterMaintenanceSchedule) ProtoReflect ¶
func (x *ClusterMaintenanceSchedule) ProtoReflect() protoreflect.Message
func (*ClusterMaintenanceSchedule) Reset ¶
func (x *ClusterMaintenanceSchedule) Reset()
func (*ClusterMaintenanceSchedule) String ¶
func (x *ClusterMaintenanceSchedule) String() string
type ClusterPersistenceConfig ¶
type ClusterPersistenceConfig struct { // Optional. The mode of persistence. Mode ClusterPersistenceConfig_PersistenceMode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.redis.cluster.v1.ClusterPersistenceConfig_PersistenceMode" json:"mode,omitempty"` // 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 ¶
func (*ClusterPersistenceConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig.ProtoReflect.Descriptor instead.
func (*ClusterPersistenceConfig) GetAofConfig ¶
func (x *ClusterPersistenceConfig) GetAofConfig() *ClusterPersistenceConfig_AOFConfig
func (*ClusterPersistenceConfig) GetMode ¶
func (x *ClusterPersistenceConfig) GetMode() ClusterPersistenceConfig_PersistenceMode
func (*ClusterPersistenceConfig) GetRdbConfig ¶
func (x *ClusterPersistenceConfig) GetRdbConfig() *ClusterPersistenceConfig_RDBConfig
func (*ClusterPersistenceConfig) ProtoMessage ¶
func (*ClusterPersistenceConfig) ProtoMessage()
func (*ClusterPersistenceConfig) ProtoReflect ¶
func (x *ClusterPersistenceConfig) ProtoReflect() protoreflect.Message
func (*ClusterPersistenceConfig) Reset ¶
func (x *ClusterPersistenceConfig) Reset()
func (*ClusterPersistenceConfig) String ¶
func (x *ClusterPersistenceConfig) String() string
type ClusterPersistenceConfig_AOFConfig ¶
type ClusterPersistenceConfig_AOFConfig struct { // Optional. fsync configuration. AppendFsync ClusterPersistenceConfig_AOFConfig_AppendFsync `protobuf:"varint,1,opt,name=append_fsync,json=appendFsync,proto3,enum=google.cloud.redis.cluster.v1.ClusterPersistenceConfig_AOFConfig_AppendFsync" json:"append_fsync,omitempty"` // contains filtered or unexported fields }
Configuration of the AOF based persistence.
func (*ClusterPersistenceConfig_AOFConfig) Descriptor ¶
func (*ClusterPersistenceConfig_AOFConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_AOFConfig.ProtoReflect.Descriptor instead.
func (*ClusterPersistenceConfig_AOFConfig) GetAppendFsync ¶
func (x *ClusterPersistenceConfig_AOFConfig) GetAppendFsync() ClusterPersistenceConfig_AOFConfig_AppendFsync
func (*ClusterPersistenceConfig_AOFConfig) ProtoMessage ¶
func (*ClusterPersistenceConfig_AOFConfig) ProtoMessage()
func (*ClusterPersistenceConfig_AOFConfig) ProtoReflect ¶
func (x *ClusterPersistenceConfig_AOFConfig) ProtoReflect() protoreflect.Message
func (*ClusterPersistenceConfig_AOFConfig) Reset ¶
func (x *ClusterPersistenceConfig_AOFConfig) Reset()
func (*ClusterPersistenceConfig_AOFConfig) String ¶
func (x *ClusterPersistenceConfig_AOFConfig) String() string
type ClusterPersistenceConfig_AOFConfig_AppendFsync ¶
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 ¶
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Descriptor() protoreflect.EnumDescriptor
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Enum ¶
func (x ClusterPersistenceConfig_AOFConfig_AppendFsync) Enum() *ClusterPersistenceConfig_AOFConfig_AppendFsync
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) EnumDescriptor ¶
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_AOFConfig_AppendFsync.Descriptor instead.
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Number ¶
func (x ClusterPersistenceConfig_AOFConfig_AppendFsync) Number() protoreflect.EnumNumber
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) String ¶
func (x ClusterPersistenceConfig_AOFConfig_AppendFsync) String() string
func (ClusterPersistenceConfig_AOFConfig_AppendFsync) Type ¶
type ClusterPersistenceConfig_PersistenceMode ¶
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 ¶
func (ClusterPersistenceConfig_PersistenceMode) Descriptor() protoreflect.EnumDescriptor
func (ClusterPersistenceConfig_PersistenceMode) Enum ¶
func (ClusterPersistenceConfig_PersistenceMode) EnumDescriptor ¶
func (ClusterPersistenceConfig_PersistenceMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_PersistenceMode.Descriptor instead.
func (ClusterPersistenceConfig_PersistenceMode) Number ¶
func (x ClusterPersistenceConfig_PersistenceMode) Number() protoreflect.EnumNumber
func (ClusterPersistenceConfig_PersistenceMode) String ¶
func (x ClusterPersistenceConfig_PersistenceMode) String() string
func (ClusterPersistenceConfig_PersistenceMode) Type ¶
func (ClusterPersistenceConfig_PersistenceMode) Type() protoreflect.EnumType
type ClusterPersistenceConfig_RDBConfig ¶
type ClusterPersistenceConfig_RDBConfig struct { // Optional. Period between RDB snapshots. RdbSnapshotPeriod ClusterPersistenceConfig_RDBConfig_SnapshotPeriod `protobuf:"varint,1,opt,name=rdb_snapshot_period,json=rdbSnapshotPeriod,proto3,enum=google.cloud.redis.cluster.v1.ClusterPersistenceConfig_RDBConfig_SnapshotPeriod" json:"rdb_snapshot_period,omitempty"` // 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 ¶
func (*ClusterPersistenceConfig_RDBConfig) Descriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_RDBConfig.ProtoReflect.Descriptor instead.
func (*ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotPeriod ¶
func (x *ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotPeriod() ClusterPersistenceConfig_RDBConfig_SnapshotPeriod
func (*ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotStartTime ¶
func (x *ClusterPersistenceConfig_RDBConfig) GetRdbSnapshotStartTime() *timestamppb.Timestamp
func (*ClusterPersistenceConfig_RDBConfig) ProtoMessage ¶
func (*ClusterPersistenceConfig_RDBConfig) ProtoMessage()
func (*ClusterPersistenceConfig_RDBConfig) ProtoReflect ¶
func (x *ClusterPersistenceConfig_RDBConfig) ProtoReflect() protoreflect.Message
func (*ClusterPersistenceConfig_RDBConfig) Reset ¶
func (x *ClusterPersistenceConfig_RDBConfig) Reset()
func (*ClusterPersistenceConfig_RDBConfig) String ¶
func (x *ClusterPersistenceConfig_RDBConfig) String() string
type ClusterPersistenceConfig_RDBConfig_SnapshotPeriod ¶
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 ¶
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Descriptor() protoreflect.EnumDescriptor
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Enum ¶
func (x ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Enum() *ClusterPersistenceConfig_RDBConfig_SnapshotPeriod
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) EnumDescriptor ¶
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) EnumDescriptor() ([]byte, []int)
Deprecated: Use ClusterPersistenceConfig_RDBConfig_SnapshotPeriod.Descriptor instead.
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Number ¶
func (x ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Number() protoreflect.EnumNumber
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) String ¶
func (x ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) String() string
func (ClusterPersistenceConfig_RDBConfig_SnapshotPeriod) Type ¶
type ClusterWeeklyMaintenanceWindow ¶
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 ¶
func (*ClusterWeeklyMaintenanceWindow) Descriptor() ([]byte, []int)
Deprecated: Use ClusterWeeklyMaintenanceWindow.ProtoReflect.Descriptor instead.
func (*ClusterWeeklyMaintenanceWindow) GetDay ¶
func (x *ClusterWeeklyMaintenanceWindow) GetDay() dayofweek.DayOfWeek
func (*ClusterWeeklyMaintenanceWindow) GetStartTime ¶
func (x *ClusterWeeklyMaintenanceWindow) GetStartTime() *timeofday.TimeOfDay
func (*ClusterWeeklyMaintenanceWindow) ProtoMessage ¶
func (*ClusterWeeklyMaintenanceWindow) ProtoMessage()
func (*ClusterWeeklyMaintenanceWindow) ProtoReflect ¶
func (x *ClusterWeeklyMaintenanceWindow) ProtoReflect() protoreflect.Message
func (*ClusterWeeklyMaintenanceWindow) Reset ¶
func (x *ClusterWeeklyMaintenanceWindow) Reset()
func (*ClusterWeeklyMaintenanceWindow) String ¶
func (x *ClusterWeeklyMaintenanceWindow) String() string
type Cluster_GcsBackupSource ¶
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 ¶
func (*Cluster_GcsBackupSource) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_GcsBackupSource.ProtoReflect.Descriptor instead.
func (*Cluster_GcsBackupSource) GetUris ¶
func (x *Cluster_GcsBackupSource) GetUris() []string
func (*Cluster_GcsBackupSource) ProtoMessage ¶
func (*Cluster_GcsBackupSource) ProtoMessage()
func (*Cluster_GcsBackupSource) ProtoReflect ¶
func (x *Cluster_GcsBackupSource) ProtoReflect() protoreflect.Message
func (*Cluster_GcsBackupSource) Reset ¶
func (x *Cluster_GcsBackupSource) Reset()
func (*Cluster_GcsBackupSource) String ¶
func (x *Cluster_GcsBackupSource) String() string
type Cluster_GcsSource ¶
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 ¶
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 ¶
func (*Cluster_ManagedBackupSource) Descriptor() ([]byte, []int)
Deprecated: Use Cluster_ManagedBackupSource.ProtoReflect.Descriptor instead.
func (*Cluster_ManagedBackupSource) GetBackup ¶
func (x *Cluster_ManagedBackupSource) GetBackup() string
func (*Cluster_ManagedBackupSource) ProtoMessage ¶
func (*Cluster_ManagedBackupSource) ProtoMessage()
func (*Cluster_ManagedBackupSource) ProtoReflect ¶
func (x *Cluster_ManagedBackupSource) ProtoReflect() protoreflect.Message
func (*Cluster_ManagedBackupSource) Reset ¶
func (x *Cluster_ManagedBackupSource) Reset()
func (*Cluster_ManagedBackupSource) String ¶
func (x *Cluster_ManagedBackupSource) String() string
type Cluster_ManagedBackupSource_ ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
func (*ConnectionDetail) Descriptor() ([]byte, []int)
Deprecated: Use ConnectionDetail.ProtoReflect.Descriptor instead.
func (*ConnectionDetail) GetConnection ¶
func (m *ConnectionDetail) GetConnection() isConnectionDetail_Connection
func (*ConnectionDetail) GetPscAutoConnection ¶
func (x *ConnectionDetail) GetPscAutoConnection() *PscAutoConnection
func (*ConnectionDetail) GetPscConnection ¶
func (x *ConnectionDetail) GetPscConnection() *PscConnection
func (*ConnectionDetail) ProtoMessage ¶
func (*ConnectionDetail) ProtoMessage()
func (*ConnectionDetail) ProtoReflect ¶
func (x *ConnectionDetail) ProtoReflect() protoreflect.Message
func (*ConnectionDetail) Reset ¶
func (x *ConnectionDetail) Reset()
func (*ConnectionDetail) String ¶
func (x *ConnectionDetail) String() string
type ConnectionDetail_PscAutoConnection ¶
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 ¶
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 ¶
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 ¶
func (ConnectionType) Descriptor() protoreflect.EnumDescriptor
func (ConnectionType) Enum ¶
func (x ConnectionType) Enum() *ConnectionType
func (ConnectionType) EnumDescriptor ¶
func (ConnectionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectionType.Descriptor instead.
func (ConnectionType) Number ¶
func (x ConnectionType) Number() protoreflect.EnumNumber
func (ConnectionType) String ¶
func (x ConnectionType) String() string
func (ConnectionType) Type ¶
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 ¶
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 ¶
type CrossClusterReplicationConfig struct { // The role of the cluster in cross cluster replication. ClusterRole CrossClusterReplicationConfig_ClusterRole `protobuf:"varint,1,opt,name=cluster_role,json=clusterRole,proto3,enum=google.cloud.redis.cluster.v1.CrossClusterReplicationConfig_ClusterRole" json:"cluster_role,omitempty"` // 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 ¶
func (*CrossClusterReplicationConfig) Descriptor() ([]byte, []int)
Deprecated: Use CrossClusterReplicationConfig.ProtoReflect.Descriptor instead.
func (*CrossClusterReplicationConfig) GetClusterRole ¶
func (x *CrossClusterReplicationConfig) GetClusterRole() CrossClusterReplicationConfig_ClusterRole
func (*CrossClusterReplicationConfig) GetMembership ¶
func (x *CrossClusterReplicationConfig) GetMembership() *CrossClusterReplicationConfig_Membership
func (*CrossClusterReplicationConfig) GetPrimaryCluster ¶
func (x *CrossClusterReplicationConfig) GetPrimaryCluster() *CrossClusterReplicationConfig_RemoteCluster
func (*CrossClusterReplicationConfig) GetSecondaryClusters ¶
func (x *CrossClusterReplicationConfig) GetSecondaryClusters() []*CrossClusterReplicationConfig_RemoteCluster
func (*CrossClusterReplicationConfig) GetUpdateTime ¶
func (x *CrossClusterReplicationConfig) GetUpdateTime() *timestamppb.Timestamp
func (*CrossClusterReplicationConfig) ProtoMessage ¶
func (*CrossClusterReplicationConfig) ProtoMessage()
func (*CrossClusterReplicationConfig) ProtoReflect ¶
func (x *CrossClusterReplicationConfig) ProtoReflect() protoreflect.Message
func (*CrossClusterReplicationConfig) Reset ¶
func (x *CrossClusterReplicationConfig) Reset()
func (*CrossClusterReplicationConfig) String ¶
func (x *CrossClusterReplicationConfig) String() string
type CrossClusterReplicationConfig_ClusterRole ¶
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 ¶
func (CrossClusterReplicationConfig_ClusterRole) Descriptor() protoreflect.EnumDescriptor
func (CrossClusterReplicationConfig_ClusterRole) Enum ¶
func (x CrossClusterReplicationConfig_ClusterRole) Enum() *CrossClusterReplicationConfig_ClusterRole
func (CrossClusterReplicationConfig_ClusterRole) EnumDescriptor ¶
func (CrossClusterReplicationConfig_ClusterRole) EnumDescriptor() ([]byte, []int)
Deprecated: Use CrossClusterReplicationConfig_ClusterRole.Descriptor instead.
func (CrossClusterReplicationConfig_ClusterRole) Number ¶
func (x CrossClusterReplicationConfig_ClusterRole) Number() protoreflect.EnumNumber
func (CrossClusterReplicationConfig_ClusterRole) String ¶
func (x CrossClusterReplicationConfig_ClusterRole) String() string
func (CrossClusterReplicationConfig_ClusterRole) Type ¶
func (CrossClusterReplicationConfig_ClusterRole) Type() protoreflect.EnumType
type CrossClusterReplicationConfig_Membership ¶
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 ¶
func (*CrossClusterReplicationConfig_Membership) Descriptor() ([]byte, []int)
Deprecated: Use CrossClusterReplicationConfig_Membership.ProtoReflect.Descriptor instead.
func (*CrossClusterReplicationConfig_Membership) GetPrimaryCluster ¶
func (x *CrossClusterReplicationConfig_Membership) GetPrimaryCluster() *CrossClusterReplicationConfig_RemoteCluster
func (*CrossClusterReplicationConfig_Membership) GetSecondaryClusters ¶
func (x *CrossClusterReplicationConfig_Membership) GetSecondaryClusters() []*CrossClusterReplicationConfig_RemoteCluster
func (*CrossClusterReplicationConfig_Membership) ProtoMessage ¶
func (*CrossClusterReplicationConfig_Membership) ProtoMessage()
func (*CrossClusterReplicationConfig_Membership) ProtoReflect ¶
func (x *CrossClusterReplicationConfig_Membership) ProtoReflect() protoreflect.Message
func (*CrossClusterReplicationConfig_Membership) Reset ¶
func (x *CrossClusterReplicationConfig_Membership) Reset()
func (*CrossClusterReplicationConfig_Membership) String ¶
func (x *CrossClusterReplicationConfig_Membership) String() string
type CrossClusterReplicationConfig_RemoteCluster ¶
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 ¶
func (*CrossClusterReplicationConfig_RemoteCluster) Descriptor() ([]byte, []int)
Deprecated: Use CrossClusterReplicationConfig_RemoteCluster.ProtoReflect.Descriptor instead.
func (*CrossClusterReplicationConfig_RemoteCluster) GetCluster ¶
func (x *CrossClusterReplicationConfig_RemoteCluster) GetCluster() string
func (*CrossClusterReplicationConfig_RemoteCluster) GetUid ¶
func (x *CrossClusterReplicationConfig_RemoteCluster) GetUid() string
func (*CrossClusterReplicationConfig_RemoteCluster) ProtoMessage ¶
func (*CrossClusterReplicationConfig_RemoteCluster) ProtoMessage()
func (*CrossClusterReplicationConfig_RemoteCluster) ProtoReflect ¶
func (x *CrossClusterReplicationConfig_RemoteCluster) ProtoReflect() protoreflect.Message
func (*CrossClusterReplicationConfig_RemoteCluster) Reset ¶
func (x *CrossClusterReplicationConfig_RemoteCluster) Reset()
func (*CrossClusterReplicationConfig_RemoteCluster) String ¶
func (x *CrossClusterReplicationConfig_RemoteCluster) String() string
type DeleteBackupRequest ¶
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 ¶
func (*DeleteBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.
func (*DeleteBackupRequest) GetName ¶
func (x *DeleteBackupRequest) GetName() string
func (*DeleteBackupRequest) GetRequestId ¶
func (x *DeleteBackupRequest) GetRequestId() string
func (*DeleteBackupRequest) ProtoMessage ¶
func (*DeleteBackupRequest) ProtoMessage()
func (*DeleteBackupRequest) ProtoReflect ¶
func (x *DeleteBackupRequest) ProtoReflect() protoreflect.Message
func (*DeleteBackupRequest) Reset ¶
func (x *DeleteBackupRequest) Reset()
func (*DeleteBackupRequest) String ¶
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 ¶
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 ¶
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 ¶
type EncryptionInfo struct { // Output only. Type of encryption. EncryptionType EncryptionInfo_Type `protobuf:"varint,1,opt,name=encryption_type,json=encryptionType,proto3,enum=google.cloud.redis.cluster.v1.EncryptionInfo_Type" json:"encryption_type,omitempty"` // 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 `protobuf:"varint,3,opt,name=kms_key_primary_state,json=kmsKeyPrimaryState,proto3,enum=google.cloud.redis.cluster.v1.EncryptionInfo_KmsKeyState" json:"kms_key_primary_state,omitempty"` // 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 ¶
func (*EncryptionInfo) Descriptor() ([]byte, []int)
Deprecated: Use EncryptionInfo.ProtoReflect.Descriptor instead.
func (*EncryptionInfo) GetEncryptionType ¶
func (x *EncryptionInfo) GetEncryptionType() EncryptionInfo_Type
func (*EncryptionInfo) GetKmsKeyPrimaryState ¶
func (x *EncryptionInfo) GetKmsKeyPrimaryState() EncryptionInfo_KmsKeyState
func (*EncryptionInfo) GetKmsKeyVersions ¶
func (x *EncryptionInfo) GetKmsKeyVersions() []string
func (*EncryptionInfo) GetLastUpdateTime ¶
func (x *EncryptionInfo) GetLastUpdateTime() *timestamppb.Timestamp
func (*EncryptionInfo) ProtoMessage ¶
func (*EncryptionInfo) ProtoMessage()
func (*EncryptionInfo) ProtoReflect ¶
func (x *EncryptionInfo) ProtoReflect() protoreflect.Message
func (*EncryptionInfo) Reset ¶
func (x *EncryptionInfo) Reset()
func (*EncryptionInfo) String ¶
func (x *EncryptionInfo) String() string
type EncryptionInfo_KmsKeyState ¶
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 ¶
func (EncryptionInfo_KmsKeyState) Descriptor() protoreflect.EnumDescriptor
func (EncryptionInfo_KmsKeyState) Enum ¶
func (x EncryptionInfo_KmsKeyState) Enum() *EncryptionInfo_KmsKeyState
func (EncryptionInfo_KmsKeyState) EnumDescriptor ¶
func (EncryptionInfo_KmsKeyState) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionInfo_KmsKeyState.Descriptor instead.
func (EncryptionInfo_KmsKeyState) Number ¶
func (x EncryptionInfo_KmsKeyState) Number() protoreflect.EnumNumber
func (EncryptionInfo_KmsKeyState) String ¶
func (x EncryptionInfo_KmsKeyState) String() string
func (EncryptionInfo_KmsKeyState) Type ¶
func (EncryptionInfo_KmsKeyState) Type() protoreflect.EnumType
type EncryptionInfo_Type ¶
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 ¶
func (EncryptionInfo_Type) Descriptor() protoreflect.EnumDescriptor
func (EncryptionInfo_Type) Enum ¶
func (x EncryptionInfo_Type) Enum() *EncryptionInfo_Type
func (EncryptionInfo_Type) EnumDescriptor ¶
func (EncryptionInfo_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use EncryptionInfo_Type.Descriptor instead.
func (EncryptionInfo_Type) Number ¶
func (x EncryptionInfo_Type) Number() protoreflect.EnumNumber
func (EncryptionInfo_Type) String ¶
func (x EncryptionInfo_Type) String() string
func (EncryptionInfo_Type) Type ¶
func (EncryptionInfo_Type) Type() protoreflect.EnumType
type ExportBackupRequest ¶
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 ¶
func (*ExportBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExportBackupRequest.ProtoReflect.Descriptor instead.
func (*ExportBackupRequest) GetDestination ¶
func (m *ExportBackupRequest) GetDestination() isExportBackupRequest_Destination
func (*ExportBackupRequest) GetGcsBucket ¶
func (x *ExportBackupRequest) GetGcsBucket() string
func (*ExportBackupRequest) GetName ¶
func (x *ExportBackupRequest) GetName() string
func (*ExportBackupRequest) ProtoMessage ¶
func (*ExportBackupRequest) ProtoMessage()
func (*ExportBackupRequest) ProtoReflect ¶
func (x *ExportBackupRequest) ProtoReflect() protoreflect.Message
func (*ExportBackupRequest) Reset ¶
func (x *ExportBackupRequest) Reset()
func (*ExportBackupRequest) String ¶
func (x *ExportBackupRequest) String() string
type ExportBackupRequest_GcsBucket ¶
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 ¶
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 ¶
func (*GetBackupCollectionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupCollectionRequest.ProtoReflect.Descriptor instead.
func (*GetBackupCollectionRequest) GetName ¶
func (x *GetBackupCollectionRequest) GetName() string
func (*GetBackupCollectionRequest) ProtoMessage ¶
func (*GetBackupCollectionRequest) ProtoMessage()
func (*GetBackupCollectionRequest) ProtoReflect ¶
func (x *GetBackupCollectionRequest) ProtoReflect() protoreflect.Message
func (*GetBackupCollectionRequest) Reset ¶
func (x *GetBackupCollectionRequest) Reset()
func (*GetBackupCollectionRequest) String ¶
func (x *GetBackupCollectionRequest) String() string
type GetBackupRequest ¶
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 ¶
func (*GetBackupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.
func (*GetBackupRequest) GetName ¶
func (x *GetBackupRequest) GetName() string
func (*GetBackupRequest) ProtoMessage ¶
func (*GetBackupRequest) ProtoMessage()
func (*GetBackupRequest) ProtoReflect ¶
func (x *GetBackupRequest) ProtoReflect() protoreflect.Message
func (*GetBackupRequest) Reset ¶
func (x *GetBackupRequest) Reset()
func (*GetBackupRequest) String ¶
func (x *GetBackupRequest) String() string
type GetClusterCertificateAuthorityRequest ¶
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 ¶
func (*GetClusterCertificateAuthorityRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClusterCertificateAuthorityRequest.ProtoReflect.Descriptor instead.
func (*GetClusterCertificateAuthorityRequest) GetName ¶
func (x *GetClusterCertificateAuthorityRequest) GetName() string
func (*GetClusterCertificateAuthorityRequest) ProtoMessage ¶
func (*GetClusterCertificateAuthorityRequest) ProtoMessage()
func (*GetClusterCertificateAuthorityRequest) ProtoReflect ¶
func (x *GetClusterCertificateAuthorityRequest) ProtoReflect() protoreflect.Message
func (*GetClusterCertificateAuthorityRequest) Reset ¶
func (x *GetClusterCertificateAuthorityRequest) Reset()
func (*GetClusterCertificateAuthorityRequest) String ¶
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 ¶
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 ¶
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 ¶
func (*ListBackupCollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupCollectionsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupCollectionsRequest) GetPageSize ¶
func (x *ListBackupCollectionsRequest) GetPageSize() int32
func (*ListBackupCollectionsRequest) GetPageToken ¶
func (x *ListBackupCollectionsRequest) GetPageToken() string
func (*ListBackupCollectionsRequest) GetParent ¶
func (x *ListBackupCollectionsRequest) GetParent() string
func (*ListBackupCollectionsRequest) ProtoMessage ¶
func (*ListBackupCollectionsRequest) ProtoMessage()
func (*ListBackupCollectionsRequest) ProtoReflect ¶
func (x *ListBackupCollectionsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupCollectionsRequest) Reset ¶
func (x *ListBackupCollectionsRequest) Reset()
func (*ListBackupCollectionsRequest) String ¶
func (x *ListBackupCollectionsRequest) String() string
type ListBackupCollectionsResponse ¶
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 ¶
func (*ListBackupCollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupCollectionsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupCollectionsResponse) GetBackupCollections ¶
func (x *ListBackupCollectionsResponse) GetBackupCollections() []*BackupCollection
func (*ListBackupCollectionsResponse) GetNextPageToken ¶
func (x *ListBackupCollectionsResponse) GetNextPageToken() string
func (*ListBackupCollectionsResponse) GetUnreachable ¶
func (x *ListBackupCollectionsResponse) GetUnreachable() []string
func (*ListBackupCollectionsResponse) ProtoMessage ¶
func (*ListBackupCollectionsResponse) ProtoMessage()
func (*ListBackupCollectionsResponse) ProtoReflect ¶
func (x *ListBackupCollectionsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupCollectionsResponse) Reset ¶
func (x *ListBackupCollectionsResponse) Reset()
func (*ListBackupCollectionsResponse) String ¶
func (x *ListBackupCollectionsResponse) String() string
type ListBackupsRequest ¶
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 ¶
func (*ListBackupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.
func (*ListBackupsRequest) GetPageSize ¶
func (x *ListBackupsRequest) GetPageSize() int32
func (*ListBackupsRequest) GetPageToken ¶
func (x *ListBackupsRequest) GetPageToken() string
func (*ListBackupsRequest) GetParent ¶
func (x *ListBackupsRequest) GetParent() string
func (*ListBackupsRequest) ProtoMessage ¶
func (*ListBackupsRequest) ProtoMessage()
func (*ListBackupsRequest) ProtoReflect ¶
func (x *ListBackupsRequest) ProtoReflect() protoreflect.Message
func (*ListBackupsRequest) Reset ¶
func (x *ListBackupsRequest) Reset()
func (*ListBackupsRequest) String ¶
func (x *ListBackupsRequest) String() string
type ListBackupsResponse ¶
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 ¶
func (*ListBackupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.
func (*ListBackupsResponse) GetBackups ¶
func (x *ListBackupsResponse) GetBackups() []*Backup
func (*ListBackupsResponse) GetNextPageToken ¶
func (x *ListBackupsResponse) GetNextPageToken() string
func (*ListBackupsResponse) GetUnreachable ¶
func (x *ListBackupsResponse) GetUnreachable() []string
func (*ListBackupsResponse) ProtoMessage ¶
func (*ListBackupsResponse) ProtoMessage()
func (*ListBackupsResponse) ProtoReflect ¶
func (x *ListBackupsResponse) ProtoReflect() protoreflect.Message
func (*ListBackupsResponse) Reset ¶
func (x *ListBackupsResponse) Reset()
func (*ListBackupsResponse) String ¶
func (x *ListBackupsResponse) String() string
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 ¶
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 ¶
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 ¶
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 ¶
func (NodeType) Descriptor() protoreflect.EnumDescriptor
func (NodeType) Enum ¶
func (NodeType) EnumDescriptor ¶
Deprecated: Use NodeType.Descriptor instead.
func (NodeType) Number ¶
func (x NodeType) Number() protoreflect.EnumNumber
func (NodeType) String ¶
func (NodeType) Type ¶
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 ¶
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 ¶
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 `protobuf:"varint,8,opt,name=psc_connection_status,json=pscConnectionStatus,proto3,enum=google.cloud.redis.cluster.v1.PscConnectionStatus" json:"psc_connection_status,omitempty"` // Output only. Type of the PSC connection. ConnectionType ConnectionType `protobuf:"varint,9,opt,name=connection_type,json=connectionType,proto3,enum=google.cloud.redis.cluster.v1.ConnectionType" json:"connection_type,omitempty"` // contains filtered or unexported fields }
Details of consumer resources in a PSC connection that is created through Service Connectivity Automation.
func (*PscAutoConnection) Descriptor ¶
func (*PscAutoConnection) Descriptor() ([]byte, []int)
Deprecated: Use PscAutoConnection.ProtoReflect.Descriptor instead.
func (*PscAutoConnection) GetAddress ¶
func (x *PscAutoConnection) GetAddress() string
func (*PscAutoConnection) GetConnectionType ¶
func (x *PscAutoConnection) GetConnectionType() ConnectionType
func (*PscAutoConnection) GetForwardingRule ¶
func (x *PscAutoConnection) GetForwardingRule() string
func (*PscAutoConnection) GetNetwork ¶
func (x *PscAutoConnection) GetNetwork() string
func (*PscAutoConnection) GetProjectId ¶
func (x *PscAutoConnection) GetProjectId() string
func (*PscAutoConnection) GetPscConnectionId ¶
func (x *PscAutoConnection) GetPscConnectionId() string
func (*PscAutoConnection) GetPscConnectionStatus ¶
func (x *PscAutoConnection) GetPscConnectionStatus() PscConnectionStatus
func (*PscAutoConnection) GetServiceAttachment ¶
func (x *PscAutoConnection) GetServiceAttachment() string
func (*PscAutoConnection) ProtoMessage ¶
func (*PscAutoConnection) ProtoMessage()
func (*PscAutoConnection) ProtoReflect ¶
func (x *PscAutoConnection) ProtoReflect() protoreflect.Message
func (*PscAutoConnection) Reset ¶
func (x *PscAutoConnection) Reset()
func (*PscAutoConnection) String ¶
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: Use PscConfig.ProtoReflect.Descriptor instead.
func (*PscConfig) GetNetwork ¶
func (*PscConfig) ProtoMessage ¶
func (*PscConfig) ProtoMessage()
func (*PscConfig) ProtoReflect ¶
func (x *PscConfig) ProtoReflect() protoreflect.Message
func (*PscConfig) Reset ¶
func (x *PscConfig) Reset()
func (*PscConfig) String ¶
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 `protobuf:"varint,8,opt,name=psc_connection_status,json=pscConnectionStatus,proto3,enum=google.cloud.redis.cluster.v1.PscConnectionStatus" json:"psc_connection_status,omitempty"` // Output only. Type of the PSC connection. ConnectionType ConnectionType `protobuf:"varint,10,opt,name=connection_type,json=connectionType,proto3,enum=google.cloud.redis.cluster.v1.ConnectionType" json:"connection_type,omitempty"` // contains filtered or unexported fields }
Details of consumer resources in a PSC connection.
func (*PscConnection) Descriptor ¶
func (*PscConnection) Descriptor() ([]byte, []int)
Deprecated: Use PscConnection.ProtoReflect.Descriptor instead.
func (*PscConnection) GetAddress ¶
func (x *PscConnection) GetAddress() string
func (*PscConnection) GetConnectionType ¶
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 ¶
func (x *PscConnection) GetPscConnectionStatus() PscConnectionStatus
func (*PscConnection) GetServiceAttachment ¶
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 ¶
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 ¶
func (PscConnectionStatus) Descriptor() protoreflect.EnumDescriptor
func (PscConnectionStatus) Enum ¶
func (x PscConnectionStatus) Enum() *PscConnectionStatus
func (PscConnectionStatus) EnumDescriptor ¶
func (PscConnectionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use PscConnectionStatus.Descriptor instead.
func (PscConnectionStatus) Number ¶
func (x PscConnectionStatus) Number() protoreflect.EnumNumber
func (PscConnectionStatus) String ¶
func (x PscConnectionStatus) String() string
func (PscConnectionStatus) Type ¶
func (PscConnectionStatus) Type() protoreflect.EnumType
type PscServiceAttachment ¶
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 `protobuf:"varint,3,opt,name=connection_type,json=connectionType,proto3,enum=google.cloud.redis.cluster.v1.ConnectionType" json:"connection_type,omitempty"` // contains filtered or unexported fields }
Configuration of a service attachment of the cluster, for creating PSC connections.
func (*PscServiceAttachment) Descriptor ¶
func (*PscServiceAttachment) Descriptor() ([]byte, []int)
Deprecated: Use PscServiceAttachment.ProtoReflect.Descriptor instead.
func (*PscServiceAttachment) GetConnectionType ¶
func (x *PscServiceAttachment) GetConnectionType() ConnectionType
func (*PscServiceAttachment) GetServiceAttachment ¶
func (x *PscServiceAttachment) GetServiceAttachment() string
func (*PscServiceAttachment) ProtoMessage ¶
func (*PscServiceAttachment) ProtoMessage()
func (*PscServiceAttachment) ProtoReflect ¶
func (x *PscServiceAttachment) ProtoReflect() protoreflect.Message
func (*PscServiceAttachment) Reset ¶
func (x *PscServiceAttachment) Reset()
func (*PscServiceAttachment) String ¶
func (x *PscServiceAttachment) String() string
type RescheduleClusterMaintenanceRequest ¶
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 `protobuf:"varint,2,opt,name=reschedule_type,json=rescheduleType,proto3,enum=google.cloud.redis.cluster.v1.RescheduleClusterMaintenanceRequest_RescheduleType" json:"reschedule_type,omitempty"` // 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 ¶
func (*RescheduleClusterMaintenanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use RescheduleClusterMaintenanceRequest.ProtoReflect.Descriptor instead.
func (*RescheduleClusterMaintenanceRequest) GetName ¶
func (x *RescheduleClusterMaintenanceRequest) GetName() string
func (*RescheduleClusterMaintenanceRequest) GetRescheduleType ¶
func (x *RescheduleClusterMaintenanceRequest) GetRescheduleType() RescheduleClusterMaintenanceRequest_RescheduleType
func (*RescheduleClusterMaintenanceRequest) GetScheduleTime ¶
func (x *RescheduleClusterMaintenanceRequest) GetScheduleTime() *timestamppb.Timestamp
func (*RescheduleClusterMaintenanceRequest) ProtoMessage ¶
func (*RescheduleClusterMaintenanceRequest) ProtoMessage()
func (*RescheduleClusterMaintenanceRequest) ProtoReflect ¶
func (x *RescheduleClusterMaintenanceRequest) ProtoReflect() protoreflect.Message
func (*RescheduleClusterMaintenanceRequest) Reset ¶
func (x *RescheduleClusterMaintenanceRequest) Reset()
func (*RescheduleClusterMaintenanceRequest) String ¶
func (x *RescheduleClusterMaintenanceRequest) String() string
type RescheduleClusterMaintenanceRequest_RescheduleType ¶
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 ¶
func (RescheduleClusterMaintenanceRequest_RescheduleType) Descriptor() protoreflect.EnumDescriptor
func (RescheduleClusterMaintenanceRequest_RescheduleType) Enum ¶
func (x RescheduleClusterMaintenanceRequest_RescheduleType) Enum() *RescheduleClusterMaintenanceRequest_RescheduleType
func (RescheduleClusterMaintenanceRequest_RescheduleType) EnumDescriptor ¶
func (RescheduleClusterMaintenanceRequest_RescheduleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RescheduleClusterMaintenanceRequest_RescheduleType.Descriptor instead.
func (RescheduleClusterMaintenanceRequest_RescheduleType) Number ¶
func (x RescheduleClusterMaintenanceRequest_RescheduleType) Number() protoreflect.EnumNumber
func (RescheduleClusterMaintenanceRequest_RescheduleType) String ¶
func (x RescheduleClusterMaintenanceRequest_RescheduleType) String() string
func (RescheduleClusterMaintenanceRequest_RescheduleType) Type ¶
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 ¶
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 can be embedded to have forward compatible implementations.
func (*UnimplementedCloudRedisClusterServer) BackupCluster ¶
func (*UnimplementedCloudRedisClusterServer) BackupCluster(context.Context, *BackupClusterRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudRedisClusterServer) CreateCluster ¶
func (*UnimplementedCloudRedisClusterServer) CreateCluster(context.Context, *CreateClusterRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudRedisClusterServer) DeleteBackup ¶
func (*UnimplementedCloudRedisClusterServer) DeleteBackup(context.Context, *DeleteBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudRedisClusterServer) DeleteCluster ¶
func (*UnimplementedCloudRedisClusterServer) DeleteCluster(context.Context, *DeleteClusterRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudRedisClusterServer) ExportBackup ¶
func (*UnimplementedCloudRedisClusterServer) ExportBackup(context.Context, *ExportBackupRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudRedisClusterServer) GetBackup ¶
func (*UnimplementedCloudRedisClusterServer) GetBackup(context.Context, *GetBackupRequest) (*Backup, error)
func (*UnimplementedCloudRedisClusterServer) GetBackupCollection ¶
func (*UnimplementedCloudRedisClusterServer) GetBackupCollection(context.Context, *GetBackupCollectionRequest) (*BackupCollection, error)
func (*UnimplementedCloudRedisClusterServer) GetCluster ¶
func (*UnimplementedCloudRedisClusterServer) GetCluster(context.Context, *GetClusterRequest) (*Cluster, error)
func (*UnimplementedCloudRedisClusterServer) GetClusterCertificateAuthority ¶
func (*UnimplementedCloudRedisClusterServer) GetClusterCertificateAuthority(context.Context, *GetClusterCertificateAuthorityRequest) (*CertificateAuthority, error)
func (*UnimplementedCloudRedisClusterServer) ListBackupCollections ¶
func (*UnimplementedCloudRedisClusterServer) ListBackupCollections(context.Context, *ListBackupCollectionsRequest) (*ListBackupCollectionsResponse, error)
func (*UnimplementedCloudRedisClusterServer) ListBackups ¶
func (*UnimplementedCloudRedisClusterServer) ListBackups(context.Context, *ListBackupsRequest) (*ListBackupsResponse, error)
func (*UnimplementedCloudRedisClusterServer) ListClusters ¶
func (*UnimplementedCloudRedisClusterServer) ListClusters(context.Context, *ListClustersRequest) (*ListClustersResponse, error)
func (*UnimplementedCloudRedisClusterServer) RescheduleClusterMaintenance ¶
func (*UnimplementedCloudRedisClusterServer) RescheduleClusterMaintenance(context.Context, *RescheduleClusterMaintenanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedCloudRedisClusterServer) UpdateCluster ¶
func (*UnimplementedCloudRedisClusterServer) UpdateCluster(context.Context, *UpdateClusterRequest) (*longrunningpb.Operation, error)
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 ¶
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 ¶
type ZoneDistributionConfig struct { // Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not // specified. Mode ZoneDistributionConfig_ZoneDistributionMode `protobuf:"varint,1,opt,name=mode,proto3,enum=google.cloud.redis.cluster.v1.ZoneDistributionConfig_ZoneDistributionMode" json:"mode,omitempty"` // 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 ¶
func (*ZoneDistributionConfig) Descriptor() ([]byte, []int)
Deprecated: Use ZoneDistributionConfig.ProtoReflect.Descriptor instead.
func (*ZoneDistributionConfig) GetMode ¶
func (x *ZoneDistributionConfig) GetMode() ZoneDistributionConfig_ZoneDistributionMode
func (*ZoneDistributionConfig) GetZone ¶
func (x *ZoneDistributionConfig) GetZone() string
func (*ZoneDistributionConfig) ProtoMessage ¶
func (*ZoneDistributionConfig) ProtoMessage()
func (*ZoneDistributionConfig) ProtoReflect ¶
func (x *ZoneDistributionConfig) ProtoReflect() protoreflect.Message
func (*ZoneDistributionConfig) Reset ¶
func (x *ZoneDistributionConfig) Reset()
func (*ZoneDistributionConfig) String ¶
func (x *ZoneDistributionConfig) String() string
type ZoneDistributionConfig_ZoneDistributionMode ¶
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 ¶
func (ZoneDistributionConfig_ZoneDistributionMode) Descriptor() protoreflect.EnumDescriptor
func (ZoneDistributionConfig_ZoneDistributionMode) Enum ¶
func (x ZoneDistributionConfig_ZoneDistributionMode) Enum() *ZoneDistributionConfig_ZoneDistributionMode
func (ZoneDistributionConfig_ZoneDistributionMode) EnumDescriptor ¶
func (ZoneDistributionConfig_ZoneDistributionMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ZoneDistributionConfig_ZoneDistributionMode.Descriptor instead.
func (ZoneDistributionConfig_ZoneDistributionMode) Number ¶
func (x ZoneDistributionConfig_ZoneDistributionMode) Number() protoreflect.EnumNumber
func (ZoneDistributionConfig_ZoneDistributionMode) String ¶
func (x ZoneDistributionConfig_ZoneDistributionMode) String() string
func (ZoneDistributionConfig_ZoneDistributionMode) Type ¶
func (ZoneDistributionConfig_ZoneDistributionMode) Type() protoreflect.EnumType
Source Files ¶
cloud_redis_cluster.pb.go
- Version
- v1.18.0 (latest)
- Published
- Jan 30, 2025
- Platform
- linux/amd64
- Imports
- 17 packages
- Last checked
- 6 days ago –
Tools for package owners.