memorystorepb

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Memorystore_ListInstances_FullMethodName           = "/google.cloud.memorystore.v1.Memorystore/ListInstances"
	Memorystore_GetInstance_FullMethodName             = "/google.cloud.memorystore.v1.Memorystore/GetInstance"
	Memorystore_CreateInstance_FullMethodName          = "/google.cloud.memorystore.v1.Memorystore/CreateInstance"
	Memorystore_UpdateInstance_FullMethodName          = "/google.cloud.memorystore.v1.Memorystore/UpdateInstance"
	Memorystore_DeleteInstance_FullMethodName          = "/google.cloud.memorystore.v1.Memorystore/DeleteInstance"
	Memorystore_GetCertificateAuthority_FullMethodName = "/google.cloud.memorystore.v1.Memorystore/GetCertificateAuthority"
	Memorystore_RescheduleMaintenance_FullMethodName   = "/google.cloud.memorystore.v1.Memorystore/RescheduleMaintenance"
	Memorystore_ListBackupCollections_FullMethodName   = "/google.cloud.memorystore.v1.Memorystore/ListBackupCollections"
	Memorystore_GetBackupCollection_FullMethodName     = "/google.cloud.memorystore.v1.Memorystore/GetBackupCollection"
	Memorystore_ListBackups_FullMethodName             = "/google.cloud.memorystore.v1.Memorystore/ListBackups"
	Memorystore_GetBackup_FullMethodName               = "/google.cloud.memorystore.v1.Memorystore/GetBackup"
	Memorystore_DeleteBackup_FullMethodName            = "/google.cloud.memorystore.v1.Memorystore/DeleteBackup"
	Memorystore_ExportBackup_FullMethodName            = "/google.cloud.memorystore.v1.Memorystore/ExportBackup"
	Memorystore_BackupInstance_FullMethodName          = "/google.cloud.memorystore.v1.Memorystore/BackupInstance"
)

Variables

View Source
var (
	PscConnectionStatus_name = map[int32]string{
		0: "PSC_CONNECTION_STATUS_UNSPECIFIED",
		1: "ACTIVE",
		2: "NOT_FOUND",
	}
	PscConnectionStatus_value = map[string]int32{
		"PSC_CONNECTION_STATUS_UNSPECIFIED": 0,
		"ACTIVE":                            1,
		"NOT_FOUND":                         2,
	}
)

Enum value maps for PscConnectionStatus.

View Source
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.

View Source
var (
	Instance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "ACTIVE",
		3: "UPDATING",
		4: "DELETING",
	}
	Instance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"ACTIVE":            2,
		"UPDATING":          3,
		"DELETING":          4,
	}
)

Enum value maps for Instance_State.

View Source
var (
	Instance_AuthorizationMode_name = map[int32]string{
		0: "AUTHORIZATION_MODE_UNSPECIFIED",
		1: "AUTH_DISABLED",
		2: "IAM_AUTH",
	}
	Instance_AuthorizationMode_value = map[string]int32{
		"AUTHORIZATION_MODE_UNSPECIFIED": 0,
		"AUTH_DISABLED":                  1,
		"IAM_AUTH":                       2,
	}
)

Enum value maps for Instance_AuthorizationMode.

View Source
var (
	Instance_TransitEncryptionMode_name = map[int32]string{
		0: "TRANSIT_ENCRYPTION_MODE_UNSPECIFIED",
		1: "TRANSIT_ENCRYPTION_DISABLED",
		2: "SERVER_AUTHENTICATION",
	}
	Instance_TransitEncryptionMode_value = map[string]int32{
		"TRANSIT_ENCRYPTION_MODE_UNSPECIFIED": 0,
		"TRANSIT_ENCRYPTION_DISABLED":         1,
		"SERVER_AUTHENTICATION":               2,
	}
)

Enum value maps for Instance_TransitEncryptionMode.

View Source
var (
	Instance_NodeType_name = map[int32]string{
		0: "NODE_TYPE_UNSPECIFIED",
		1: "SHARED_CORE_NANO",
		2: "HIGHMEM_MEDIUM",
		3: "HIGHMEM_XLARGE",
		4: "STANDARD_SMALL",
	}
	Instance_NodeType_value = map[string]int32{
		"NODE_TYPE_UNSPECIFIED": 0,
		"SHARED_CORE_NANO":      1,
		"HIGHMEM_MEDIUM":        2,
		"HIGHMEM_XLARGE":        3,
		"STANDARD_SMALL":        4,
	}
)

Enum value maps for Instance_NodeType.

View Source
var (
	Instance_Mode_name = map[int32]string{
		0: "MODE_UNSPECIFIED",
		1: "STANDALONE",
		2: "CLUSTER",
		4: "CLUSTER_DISABLED",
	}
	Instance_Mode_value = map[string]int32{
		"MODE_UNSPECIFIED": 0,
		"STANDALONE":       1,
		"CLUSTER":          2,
		"CLUSTER_DISABLED": 4,
	}
)

Enum value maps for Instance_Mode.

View Source
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.

View Source
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.

View Source
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.

View Source
var (
	CrossInstanceReplicationConfig_InstanceRole_name = map[int32]string{
		0: "INSTANCE_ROLE_UNSPECIFIED",
		1: "NONE",
		2: "PRIMARY",
		3: "SECONDARY",
	}
	CrossInstanceReplicationConfig_InstanceRole_value = map[string]int32{
		"INSTANCE_ROLE_UNSPECIFIED": 0,
		"NONE":                      1,
		"PRIMARY":                   2,
		"SECONDARY":                 3,
	}
)

Enum value maps for CrossInstanceReplicationConfig_InstanceRole.

View Source
var (
	PersistenceConfig_PersistenceMode_name = map[int32]string{
		0: "PERSISTENCE_MODE_UNSPECIFIED",
		1: "DISABLED",
		2: "RDB",
		3: "AOF",
	}
	PersistenceConfig_PersistenceMode_value = map[string]int32{
		"PERSISTENCE_MODE_UNSPECIFIED": 0,
		"DISABLED":                     1,
		"RDB":                          2,
		"AOF":                          3,
	}
)

Enum value maps for PersistenceConfig_PersistenceMode.

View Source
var (
	PersistenceConfig_RDBConfig_SnapshotPeriod_name = map[int32]string{
		0: "SNAPSHOT_PERIOD_UNSPECIFIED",
		1: "ONE_HOUR",
		2: "SIX_HOURS",
		3: "TWELVE_HOURS",
		4: "TWENTY_FOUR_HOURS",
	}
	PersistenceConfig_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 PersistenceConfig_RDBConfig_SnapshotPeriod.

View Source
var (
	PersistenceConfig_AOFConfig_AppendFsync_name = map[int32]string{
		0: "APPEND_FSYNC_UNSPECIFIED",
		1: "NEVER",
		2: "EVERY_SEC",
		3: "ALWAYS",
	}
	PersistenceConfig_AOFConfig_AppendFsync_value = map[string]int32{
		"APPEND_FSYNC_UNSPECIFIED": 0,
		"NEVER":                    1,
		"EVERY_SEC":                2,
		"ALWAYS":                   3,
	}
)

Enum value maps for PersistenceConfig_AOFConfig_AppendFsync.

View Source
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.

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

Enum value maps for RescheduleMaintenanceRequest_RescheduleType.

View Source
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.

View Source
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.

View Source
var File_google_cloud_memorystore_v1_memorystore_proto protoreflect.FileDescriptor
View Source
var Memorystore_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "google.cloud.memorystore.v1.Memorystore",
	HandlerType: (*MemorystoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListInstances",
			Handler:    _Memorystore_ListInstances_Handler,
		},
		{
			MethodName: "GetInstance",
			Handler:    _Memorystore_GetInstance_Handler,
		},
		{
			MethodName: "CreateInstance",
			Handler:    _Memorystore_CreateInstance_Handler,
		},
		{
			MethodName: "UpdateInstance",
			Handler:    _Memorystore_UpdateInstance_Handler,
		},
		{
			MethodName: "DeleteInstance",
			Handler:    _Memorystore_DeleteInstance_Handler,
		},
		{
			MethodName: "GetCertificateAuthority",
			Handler:    _Memorystore_GetCertificateAuthority_Handler,
		},
		{
			MethodName: "RescheduleMaintenance",
			Handler:    _Memorystore_RescheduleMaintenance_Handler,
		},
		{
			MethodName: "ListBackupCollections",
			Handler:    _Memorystore_ListBackupCollections_Handler,
		},
		{
			MethodName: "GetBackupCollection",
			Handler:    _Memorystore_GetBackupCollection_Handler,
		},
		{
			MethodName: "ListBackups",
			Handler:    _Memorystore_ListBackups_Handler,
		},
		{
			MethodName: "GetBackup",
			Handler:    _Memorystore_GetBackup_Handler,
		},
		{
			MethodName: "DeleteBackup",
			Handler:    _Memorystore_DeleteBackup_Handler,
		},
		{
			MethodName: "ExportBackup",
			Handler:    _Memorystore_ExportBackup_Handler,
		},
		{
			MethodName: "BackupInstance",
			Handler:    _Memorystore_BackupInstance_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "google/cloud/memorystore/v1/memorystore.proto",
}

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

Functions

func RegisterMemorystoreServer

func RegisterMemorystoreServer(s grpc.ServiceRegistrar, srv MemorystoreServer)

Types

type AutomatedBackupConfig added in v0.3.0

type AutomatedBackupConfig struct {

	// The schedule of automated backups.
	//
	// Types that are assignable to Schedule:
	//
	//	*AutomatedBackupConfig_FixedFrequencySchedule_
	Schedule isAutomatedBackupConfig_Schedule `protobuf_oneof:"schedule"`
	// Optional. The automated backup mode. If the mode is disabled, the other
	// fields will be ignored.
	AutomatedBackupMode AutomatedBackupConfig_AutomatedBackupMode `` /* 196-byte string literal not displayed */
	// Optional. How long to keep automated backups before the backups are
	// deleted. The value should be between 1 day and 365 days. If not specified,
	// the default value is 35 days.
	Retention *durationpb.Duration `protobuf:"bytes,3,opt,name=retention,proto3" json:"retention,omitempty"`
	// contains filtered or unexported fields
}

The automated backup config for an instance.

func (*AutomatedBackupConfig) Descriptor deprecated added in v0.3.0

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

Deprecated: Use AutomatedBackupConfig.ProtoReflect.Descriptor instead.

func (*AutomatedBackupConfig) GetAutomatedBackupMode added in v0.3.0

func (*AutomatedBackupConfig) GetFixedFrequencySchedule added in v0.3.0

func (*AutomatedBackupConfig) GetRetention added in v0.3.0

func (x *AutomatedBackupConfig) GetRetention() *durationpb.Duration

func (*AutomatedBackupConfig) GetSchedule added in v0.3.0

func (m *AutomatedBackupConfig) GetSchedule() isAutomatedBackupConfig_Schedule

func (*AutomatedBackupConfig) ProtoMessage added in v0.3.0

func (*AutomatedBackupConfig) ProtoMessage()

func (*AutomatedBackupConfig) ProtoReflect added in v0.3.0

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

func (*AutomatedBackupConfig) Reset added in v0.3.0

func (x *AutomatedBackupConfig) Reset()

func (*AutomatedBackupConfig) String added in v0.3.0

func (x *AutomatedBackupConfig) String() string

type AutomatedBackupConfig_AutomatedBackupMode added in v0.3.0

type AutomatedBackupConfig_AutomatedBackupMode int32

The automated backup mode.

const (
	// Default value. Automated backup config is not specified.
	AutomatedBackupConfig_AUTOMATED_BACKUP_MODE_UNSPECIFIED AutomatedBackupConfig_AutomatedBackupMode = 0
	// Automated backup config disabled.
	AutomatedBackupConfig_DISABLED AutomatedBackupConfig_AutomatedBackupMode = 1
	// Automated backup config enabled.
	AutomatedBackupConfig_ENABLED AutomatedBackupConfig_AutomatedBackupMode = 2
)

func (AutomatedBackupConfig_AutomatedBackupMode) Descriptor added in v0.3.0

func (AutomatedBackupConfig_AutomatedBackupMode) Enum added in v0.3.0

func (AutomatedBackupConfig_AutomatedBackupMode) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use AutomatedBackupConfig_AutomatedBackupMode.Descriptor instead.

func (AutomatedBackupConfig_AutomatedBackupMode) Number added in v0.3.0

func (AutomatedBackupConfig_AutomatedBackupMode) String added in v0.3.0

func (AutomatedBackupConfig_AutomatedBackupMode) Type added in v0.3.0

type AutomatedBackupConfig_FixedFrequencySchedule added in v0.3.0

type AutomatedBackupConfig_FixedFrequencySchedule struct {

	// Required. The start time of every automated backup in UTC. It must be set
	// to the start of an hour. This field is required.
	StartTime *timeofday.TimeOfDay `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// contains filtered or unexported fields
}

This schedule allows the backup to be triggered at a fixed frequency (currently only daily is supported).

func (*AutomatedBackupConfig_FixedFrequencySchedule) Descriptor deprecated added in v0.3.0

Deprecated: Use AutomatedBackupConfig_FixedFrequencySchedule.ProtoReflect.Descriptor instead.

func (*AutomatedBackupConfig_FixedFrequencySchedule) GetStartTime added in v0.3.0

func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoMessage added in v0.3.0

func (*AutomatedBackupConfig_FixedFrequencySchedule) ProtoReflect added in v0.3.0

func (*AutomatedBackupConfig_FixedFrequencySchedule) Reset added in v0.3.0

func (*AutomatedBackupConfig_FixedFrequencySchedule) String added in v0.3.0

type AutomatedBackupConfig_FixedFrequencySchedule_ added in v0.3.0

type AutomatedBackupConfig_FixedFrequencySchedule_ struct {
	// Optional. Trigger automated backups at a fixed frequency.
	FixedFrequencySchedule *AutomatedBackupConfig_FixedFrequencySchedule `protobuf:"bytes,2,opt,name=fixed_frequency_schedule,json=fixedFrequencySchedule,proto3,oneof"`
}

type Backup added in v0.3.0

type Backup struct {

	// Identifier. Full resource path of the backup. the last part of the name is
	// the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Instance
	// UID] OR customer specified while backup instance. 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. Instance resource path of this backup.
	Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// Output only. Instance uid of this backup.
	InstanceUid string `protobuf:"bytes,4,opt,name=instance_uid,json=instanceUid,proto3" json:"instance_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. valkey-7.5/valkey-8.0, etc.
	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 instance.
	NodeType Instance_NodeType `` /* 137-byte string literal not displayed */
	// Output only. Number of replicas for the instance.
	ReplicaCount int32 `protobuf:"varint,10,opt,name=replica_count,json=replicaCount,proto3" json:"replica_count,omitempty"`
	// Output only. Number of shards for the instance.
	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 `` /* 144-byte string literal not displayed */
	// Output only. State of the backup.
	State Backup_State `protobuf:"varint,13,opt,name=state,proto3,enum=google.cloud.memorystore.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 an instance.

func (*Backup) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Backup.ProtoReflect.Descriptor instead.

func (*Backup) GetBackupFiles added in v0.3.0

func (x *Backup) GetBackupFiles() []*BackupFile

func (*Backup) GetBackupType added in v0.3.0

func (x *Backup) GetBackupType() Backup_BackupType

func (*Backup) GetCreateTime added in v0.3.0

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

func (*Backup) GetEncryptionInfo added in v0.4.0

func (x *Backup) GetEncryptionInfo() *EncryptionInfo

func (*Backup) GetEngineVersion added in v0.3.0

func (x *Backup) GetEngineVersion() string

func (*Backup) GetExpireTime added in v0.3.0

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

func (*Backup) GetInstance added in v0.3.0

func (x *Backup) GetInstance() string

func (*Backup) GetInstanceUid added in v0.3.0

func (x *Backup) GetInstanceUid() string

func (*Backup) GetName added in v0.3.0

func (x *Backup) GetName() string

func (*Backup) GetNodeType added in v0.3.0

func (x *Backup) GetNodeType() Instance_NodeType

func (*Backup) GetReplicaCount added in v0.3.0

func (x *Backup) GetReplicaCount() int32

func (*Backup) GetShardCount added in v0.3.0

func (x *Backup) GetShardCount() int32

func (*Backup) GetState added in v0.3.0

func (x *Backup) GetState() Backup_State

func (*Backup) GetTotalSizeBytes added in v0.3.0

func (x *Backup) GetTotalSizeBytes() int64

func (*Backup) GetUid added in v0.3.0

func (x *Backup) GetUid() string

func (*Backup) ProtoMessage added in v0.3.0

func (*Backup) ProtoMessage()

func (*Backup) ProtoReflect added in v0.3.0

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

func (*Backup) Reset added in v0.3.0

func (x *Backup) Reset()

func (*Backup) String added in v0.3.0

func (x *Backup) String() string

type BackupCollection added in v0.3.0

type BackupCollection struct {

	// Identifier. Full resource path of the backup collection.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. The instance uid of the backup collection.
	InstanceUid string `protobuf:"bytes,3,opt,name=instance_uid,json=instanceUid,proto3" json:"instance_uid,omitempty"`
	// Output only. The full resource path of the instance the backup collection
	// belongs to. Example:
	// projects/{project}/locations/{location}/instances/{instance}
	Instance string `protobuf:"bytes,4,opt,name=instance,proto3" json:"instance,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"`
	// Output only. The time when the backup collection was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Total size of all backups in the backup collection.
	TotalBackupSizeBytes int64 `` /* 126-byte string literal not displayed */
	// Output only. Total number of backups in the backup collection.
	TotalBackupCount int64 `protobuf:"varint,10,opt,name=total_backup_count,json=totalBackupCount,proto3" json:"total_backup_count,omitempty"`
	// Output only. The last time a backup was created in the backup collection.
	LastBackupTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=last_backup_time,json=lastBackupTime,proto3" json:"last_backup_time,omitempty"`
	// contains filtered or unexported fields
}

BackupCollection of an instance.

func (*BackupCollection) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BackupCollection.ProtoReflect.Descriptor instead.

func (*BackupCollection) GetCreateTime added in v0.3.0

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

func (*BackupCollection) GetInstance added in v0.3.0

func (x *BackupCollection) GetInstance() string

func (*BackupCollection) GetInstanceUid added in v0.3.0

func (x *BackupCollection) GetInstanceUid() string

func (*BackupCollection) GetKmsKey added in v0.3.0

func (x *BackupCollection) GetKmsKey() string

func (*BackupCollection) GetLastBackupTime added in v0.4.0

func (x *BackupCollection) GetLastBackupTime() *timestamppb.Timestamp

func (*BackupCollection) GetName added in v0.3.0

func (x *BackupCollection) GetName() string

func (*BackupCollection) GetTotalBackupCount added in v0.4.0

func (x *BackupCollection) GetTotalBackupCount() int64

func (*BackupCollection) GetTotalBackupSizeBytes added in v0.4.0

func (x *BackupCollection) GetTotalBackupSizeBytes() int64

func (*BackupCollection) GetUid added in v0.3.0

func (x *BackupCollection) GetUid() string

func (*BackupCollection) ProtoMessage added in v0.3.0

func (*BackupCollection) ProtoMessage()

func (*BackupCollection) ProtoReflect added in v0.3.0

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

func (*BackupCollection) Reset added in v0.3.0

func (x *BackupCollection) Reset()

func (*BackupCollection) String added in v0.3.0

func (x *BackupCollection) String() string

type BackupFile added in v0.3.0

type BackupFile struct {

	// Output only. e.g: <shard-id>.rdb
	FileName string `protobuf:"bytes,1,opt,name=file_name,json=fileName,proto3" json:"file_name,omitempty"`
	// Output only. Size of the backup file in bytes.
	SizeBytes int64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes,omitempty"`
	// Output only. The time when the backup file was created.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// contains filtered or unexported fields
}

Backup is consisted of multiple backup files.

func (*BackupFile) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BackupFile.ProtoReflect.Descriptor instead.

func (*BackupFile) GetCreateTime added in v0.3.0

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

func (*BackupFile) GetFileName added in v0.3.0

func (x *BackupFile) GetFileName() string

func (*BackupFile) GetSizeBytes added in v0.3.0

func (x *BackupFile) GetSizeBytes() int64

func (*BackupFile) ProtoMessage added in v0.3.0

func (*BackupFile) ProtoMessage()

func (*BackupFile) ProtoReflect added in v0.3.0

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

func (*BackupFile) Reset added in v0.3.0

func (x *BackupFile) Reset()

func (*BackupFile) String added in v0.3.0

func (x *BackupFile) String() string

type BackupInstanceRequest added in v0.3.0

type BackupInstanceRequest struct {

	// Required. Instance resource name using the form:
	//
	//	`projects/{project_id}/locations/{location_id}/instances/{instance_id}`
	//
	// where `location_id` refers to a Google Cloud 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 Instance 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 [BackupInstance].

func (*BackupInstanceRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use BackupInstanceRequest.ProtoReflect.Descriptor instead.

func (*BackupInstanceRequest) GetBackupId added in v0.3.0

func (x *BackupInstanceRequest) GetBackupId() string

func (*BackupInstanceRequest) GetName added in v0.3.0

func (x *BackupInstanceRequest) GetName() string

func (*BackupInstanceRequest) GetTtl added in v0.3.0

func (*BackupInstanceRequest) ProtoMessage added in v0.3.0

func (*BackupInstanceRequest) ProtoMessage()

func (*BackupInstanceRequest) ProtoReflect added in v0.3.0

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

func (*BackupInstanceRequest) Reset added in v0.3.0

func (x *BackupInstanceRequest) Reset()

func (*BackupInstanceRequest) String added in v0.3.0

func (x *BackupInstanceRequest) String() string

type Backup_BackupType added in v0.3.0

type Backup_BackupType int32

Type of the backup.

const (
	// The default value, not set.
	Backup_BACKUP_TYPE_UNSPECIFIED Backup_BackupType = 0
	// On-demand backup.
	Backup_ON_DEMAND Backup_BackupType = 1
	// Automated backup.
	Backup_AUTOMATED Backup_BackupType = 2
)

func (Backup_BackupType) Descriptor added in v0.3.0

func (Backup_BackupType) Enum added in v0.3.0

func (Backup_BackupType) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use Backup_BackupType.Descriptor instead.

func (Backup_BackupType) Number added in v0.3.0

func (Backup_BackupType) String added in v0.3.0

func (x Backup_BackupType) String() string

func (Backup_BackupType) Type added in v0.3.0

type Backup_State added in v0.3.0

type Backup_State int32

State of the backup.

const (
	// The default value, not set.
	Backup_STATE_UNSPECIFIED Backup_State = 0
	// The backup is being created.
	Backup_CREATING Backup_State = 1
	// The backup is active to be used.
	Backup_ACTIVE Backup_State = 2
	// The backup is being deleted.
	Backup_DELETING Backup_State = 3
	// The backup is currently suspended due to reasons like project deletion,
	// billing account closure, etc.
	Backup_SUSPENDED Backup_State = 4
)

func (Backup_State) Descriptor added in v0.3.0

func (Backup_State) Enum added in v0.3.0

func (x Backup_State) Enum() *Backup_State

func (Backup_State) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use Backup_State.Descriptor instead.

func (Backup_State) Number added in v0.3.0

func (Backup_State) String added in v0.3.0

func (x Backup_State) String() string

func (Backup_State) Type added in v0.3.0

type CertificateAuthority

type CertificateAuthority struct {

	// Information about the server certificate authority.
	//
	// Types that are assignable to ServerCa:
	//
	//	*CertificateAuthority_ManagedServerCa
	ServerCa isCertificateAuthority_ServerCa `protobuf_oneof:"server_ca"`
	// Identifier. Unique name of the certificate authority.
	// Format:
	// projects/{project}/locations/{location}/instances/{instance}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A certificate authority for an instance.

func (*CertificateAuthority) Descriptor deprecated

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

Deprecated: Use CertificateAuthority.ProtoReflect.Descriptor instead.

func (*CertificateAuthority) GetManagedServerCa

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 {

	// PEM encoded CA certificate chains for 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
}

A managed certificate authority.

func (*CertificateAuthority_ManagedCertificateAuthority) Descriptor deprecated

Deprecated: Use CertificateAuthority_ManagedCertificateAuthority.ProtoReflect.Descriptor instead.

func (*CertificateAuthority_ManagedCertificateAuthority) GetCaCerts

func (*CertificateAuthority_ManagedCertificateAuthority) ProtoMessage

func (*CertificateAuthority_ManagedCertificateAuthority) ProtoReflect

func (*CertificateAuthority_ManagedCertificateAuthority) Reset

func (*CertificateAuthority_ManagedCertificateAuthority) String

type CertificateAuthority_ManagedCertificateAuthority_CertChain

type CertificateAuthority_ManagedCertificateAuthority_CertChain struct {

	// The certificates that form the CA chain in order of leaf to root.
	Certificates []string `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// contains filtered or unexported fields
}

A certificate chain.

func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Descriptor deprecated

Deprecated: Use CertificateAuthority_ManagedCertificateAuthority_CertChain.ProtoReflect.Descriptor instead.

func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) GetCertificates

func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoMessage

func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) ProtoReflect

func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) Reset

func (*CertificateAuthority_ManagedCertificateAuthority_CertChain) String

type CertificateAuthority_ManagedServerCa

type CertificateAuthority_ManagedServerCa struct {
	// A managed server certificate authority.
	ManagedServerCa *CertificateAuthority_ManagedCertificateAuthority `protobuf:"bytes,2,opt,name=managed_server_ca,json=managedServerCa,proto3,oneof"`
}

type ConnectionType

type ConnectionType int32

Type of a PSC connection

const (
	// Connection Type is not set
	ConnectionType_CONNECTION_TYPE_UNSPECIFIED ConnectionType = 0
	// Connection that will be used for topology discovery.
	ConnectionType_CONNECTION_TYPE_DISCOVERY ConnectionType = 1
	// Connection that will be used as primary endpoint to access primary.
	ConnectionType_CONNECTION_TYPE_PRIMARY ConnectionType = 2
	// Connection that will be used as reader endpoint to access replicas.
	ConnectionType_CONNECTION_TYPE_READER ConnectionType = 3
)

func (ConnectionType) Descriptor

func (ConnectionType) Enum

func (x ConnectionType) Enum() *ConnectionType

func (ConnectionType) EnumDescriptor deprecated

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

Deprecated: Use ConnectionType.Descriptor instead.

func (ConnectionType) Number

func (ConnectionType) String

func (x ConnectionType) String() string

func (ConnectionType) Type

type CreateInstanceRequest

type CreateInstanceRequest struct {

	// Required. The parent resource where this instance will be created.
	// Format: projects/{project}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. The ID to use for the instance, which will become the final
	// component of the instance's resource name.
	//
	// This value is subject to the following restrictions:
	//
	// * Must be 4-63 characters in length
	// * Must begin with a letter or digit
	// * Must contain only lowercase letters, digits, and hyphens
	// * Must not end with a hyphen
	// * Must be unique within a location
	InstanceId string `protobuf:"bytes,2,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// Required. The instance to create.
	Instance *Instance `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
	// Optional. An optional request ID to identify requests. Specify a unique
	// request ID so that if you must retry your request, the server will know to
	// ignore the request if it has already been completed. The server will
	// guarantee that for at least 60 minutes since the first request.
	//
	// For example, consider a situation where you make an initial request and the
	// request times out. If you make the request again with the same request
	// ID, the server can check if original operation with the same request ID
	// was received, and if so, will ignore the second request. This prevents
	// clients from accidentally creating duplicate commitments.
	//
	// The request ID must be a valid UUID with the exception that zero UUID is
	// not supported (00000000-0000-0000-0000-000000000000).
	RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request message for [CreateInstance][].

func (*CreateInstanceRequest) Descriptor deprecated

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

Deprecated: Use CreateInstanceRequest.ProtoReflect.Descriptor instead.

func (*CreateInstanceRequest) GetInstance

func (x *CreateInstanceRequest) GetInstance() *Instance

func (*CreateInstanceRequest) GetInstanceId

func (x *CreateInstanceRequest) GetInstanceId() string

func (*CreateInstanceRequest) GetParent

func (x *CreateInstanceRequest) GetParent() string

func (*CreateInstanceRequest) GetRequestId

func (x *CreateInstanceRequest) GetRequestId() string

func (*CreateInstanceRequest) ProtoMessage

func (*CreateInstanceRequest) ProtoMessage()

func (*CreateInstanceRequest) ProtoReflect

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

func (*CreateInstanceRequest) Reset

func (x *CreateInstanceRequest) Reset()

func (*CreateInstanceRequest) String

func (x *CreateInstanceRequest) String() string

type CrossInstanceReplicationConfig added in v0.3.0

type CrossInstanceReplicationConfig struct {

	// Required. The role of the instance in cross instance replication.
	InstanceRole CrossInstanceReplicationConfig_InstanceRole `` /* 175-byte string literal not displayed */
	// Optional. Details of the primary instance that is used as the replication
	// source for this secondary instance.
	//
	// This field is only set for a secondary instance.
	PrimaryInstance *CrossInstanceReplicationConfig_RemoteInstance `protobuf:"bytes,2,opt,name=primary_instance,json=primaryInstance,proto3" json:"primary_instance,omitempty"`
	// Optional. List of secondary instances that are replicating from this
	// primary instance.
	//
	// This field is only set for a primary instance.
	SecondaryInstances []*CrossInstanceReplicationConfig_RemoteInstance `protobuf:"bytes,3,rep,name=secondary_instances,json=secondaryInstances,proto3" json:"secondary_instances,omitempty"`
	// Output only. The last time cross instance 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 instances participating
	// in the cross instance replication. This view will be provided by every
	// member instance irrespective of its instance role(primary or secondary).
	//
	// A primary instance can provide information about all the secondary
	// instances replicating from it. However, a secondary instance only knows
	// about the primary instance from which it is replicating. However, for
	// scenarios, where the primary instance is unavailable(e.g. regional outage),
	// a Getinstance request can be sent to any other member instance and this
	// field will list all the member instances participating in cross instance
	// replication.
	Membership *CrossInstanceReplicationConfig_Membership `protobuf:"bytes,5,opt,name=membership,proto3" json:"membership,omitempty"`
	// contains filtered or unexported fields
}

Cross instance replication config.

func (*CrossInstanceReplicationConfig) Descriptor deprecated added in v0.3.0

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

Deprecated: Use CrossInstanceReplicationConfig.ProtoReflect.Descriptor instead.

func (*CrossInstanceReplicationConfig) GetInstanceRole added in v0.3.0

func (*CrossInstanceReplicationConfig) GetMembership added in v0.3.0

func (*CrossInstanceReplicationConfig) GetPrimaryInstance added in v0.3.0

func (*CrossInstanceReplicationConfig) GetSecondaryInstances added in v0.3.0

func (*CrossInstanceReplicationConfig) GetUpdateTime added in v0.3.0

func (*CrossInstanceReplicationConfig) ProtoMessage added in v0.3.0

func (*CrossInstanceReplicationConfig) ProtoMessage()

func (*CrossInstanceReplicationConfig) ProtoReflect added in v0.3.0

func (*CrossInstanceReplicationConfig) Reset added in v0.3.0

func (x *CrossInstanceReplicationConfig) Reset()

func (*CrossInstanceReplicationConfig) String added in v0.3.0

type CrossInstanceReplicationConfig_InstanceRole added in v0.3.0

type CrossInstanceReplicationConfig_InstanceRole int32

The role of the instance in cross instance replication.

const (
	// instance role is not set.
	// The behavior is equivalent to NONE.
	CrossInstanceReplicationConfig_INSTANCE_ROLE_UNSPECIFIED CrossInstanceReplicationConfig_InstanceRole = 0
	// This instance does not participate in cross instance replication. It is
	// an independent instance and does not replicate to or from any other
	// instances.
	CrossInstanceReplicationConfig_NONE CrossInstanceReplicationConfig_InstanceRole = 1
	// A instance that allows both reads and writes. Any data written to this
	// instance is also replicated to the attached secondary instances.
	CrossInstanceReplicationConfig_PRIMARY CrossInstanceReplicationConfig_InstanceRole = 2
	// A instance that allows only reads and replicates data from a primary
	// instance.
	CrossInstanceReplicationConfig_SECONDARY CrossInstanceReplicationConfig_InstanceRole = 3
)

func (CrossInstanceReplicationConfig_InstanceRole) Descriptor added in v0.3.0

func (CrossInstanceReplicationConfig_InstanceRole) Enum added in v0.3.0

func (CrossInstanceReplicationConfig_InstanceRole) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use CrossInstanceReplicationConfig_InstanceRole.Descriptor instead.

func (CrossInstanceReplicationConfig_InstanceRole) Number added in v0.3.0

func (CrossInstanceReplicationConfig_InstanceRole) String added in v0.3.0

func (CrossInstanceReplicationConfig_InstanceRole) Type added in v0.3.0

type CrossInstanceReplicationConfig_Membership added in v0.3.0

type CrossInstanceReplicationConfig_Membership struct {

	// Output only. The primary instance that acts as the source of replication
	// for the secondary instances.
	PrimaryInstance *CrossInstanceReplicationConfig_RemoteInstance `protobuf:"bytes,1,opt,name=primary_instance,json=primaryInstance,proto3" json:"primary_instance,omitempty"`
	// Output only. The list of secondary instances replicating from the primary
	// instance.
	SecondaryInstances []*CrossInstanceReplicationConfig_RemoteInstance `protobuf:"bytes,2,rep,name=secondary_instances,json=secondaryInstances,proto3" json:"secondary_instances,omitempty"`
	// contains filtered or unexported fields
}

An output only view of all the member instances participating in the cross instance replication.

func (*CrossInstanceReplicationConfig_Membership) Descriptor deprecated added in v0.3.0

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

Deprecated: Use CrossInstanceReplicationConfig_Membership.ProtoReflect.Descriptor instead.

func (*CrossInstanceReplicationConfig_Membership) GetPrimaryInstance added in v0.3.0

func (*CrossInstanceReplicationConfig_Membership) GetSecondaryInstances added in v0.3.0

func (*CrossInstanceReplicationConfig_Membership) ProtoMessage added in v0.3.0

func (*CrossInstanceReplicationConfig_Membership) ProtoReflect added in v0.3.0

func (*CrossInstanceReplicationConfig_Membership) Reset added in v0.3.0

func (*CrossInstanceReplicationConfig_Membership) String added in v0.3.0

type CrossInstanceReplicationConfig_RemoteInstance added in v0.3.0

type CrossInstanceReplicationConfig_RemoteInstance struct {

	// Optional. The full resource path of the remote instance in
	// the format: projects/<project>/locations/<region>/instances/<instance-id>
	Instance string `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Output only. The unique identifier of the remote instance.
	Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"`
	// contains filtered or unexported fields
}

Details of the remote instance associated with this instance in a cross instance replication setup.

func (*CrossInstanceReplicationConfig_RemoteInstance) Descriptor deprecated added in v0.3.0

Deprecated: Use CrossInstanceReplicationConfig_RemoteInstance.ProtoReflect.Descriptor instead.

func (*CrossInstanceReplicationConfig_RemoteInstance) GetInstance added in v0.3.0

func (*CrossInstanceReplicationConfig_RemoteInstance) GetUid added in v0.3.0

func (*CrossInstanceReplicationConfig_RemoteInstance) ProtoMessage added in v0.3.0

func (*CrossInstanceReplicationConfig_RemoteInstance) ProtoReflect added in v0.3.0

func (*CrossInstanceReplicationConfig_RemoteInstance) Reset added in v0.3.0

func (*CrossInstanceReplicationConfig_RemoteInstance) String added in v0.3.0

type DeleteBackupRequest added in v0.3.0

type DeleteBackupRequest struct {

	// Required. Instance backup resource name using the form:
	// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Idempotent request UUID.
	RequestId string `protobuf:"bytes,2,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	// contains filtered or unexported fields
}

Request for [DeleteBackup].

func (*DeleteBackupRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use DeleteBackupRequest.ProtoReflect.Descriptor instead.

func (*DeleteBackupRequest) GetName added in v0.3.0

func (x *DeleteBackupRequest) GetName() string

func (*DeleteBackupRequest) GetRequestId added in v0.3.0

func (x *DeleteBackupRequest) GetRequestId() string

func (*DeleteBackupRequest) ProtoMessage added in v0.3.0

func (*DeleteBackupRequest) ProtoMessage()

func (*DeleteBackupRequest) ProtoReflect added in v0.3.0

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

func (*DeleteBackupRequest) Reset added in v0.3.0

func (x *DeleteBackupRequest) Reset()

func (*DeleteBackupRequest) String added in v0.3.0

func (x *DeleteBackupRequest) String() string

type DeleteInstanceRequest

type DeleteInstanceRequest struct {

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

Request message for [DeleteInstance][].

func (*DeleteInstanceRequest) Descriptor deprecated

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

Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceRequest) GetName

func (x *DeleteInstanceRequest) GetName() string

func (*DeleteInstanceRequest) GetRequestId

func (x *DeleteInstanceRequest) GetRequestId() string

func (*DeleteInstanceRequest) ProtoMessage

func (*DeleteInstanceRequest) ProtoMessage()

func (*DeleteInstanceRequest) ProtoReflect

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

func (*DeleteInstanceRequest) Reset

func (x *DeleteInstanceRequest) Reset()

func (*DeleteInstanceRequest) String

func (x *DeleteInstanceRequest) String() string

type DiscoveryEndpoint

type DiscoveryEndpoint struct {

	// Output only. IP address of the exposed endpoint clients connect to.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// Output only. The port number of the exposed endpoint.
	Port int32 `protobuf:"varint,2,opt,name=port,proto3" json:"port,omitempty"`
	// Output only. 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,4,opt,name=network,proto3" json:"network,omitempty"`
	// contains filtered or unexported fields
}

Represents an endpoint for clients to connect to the instance.

func (*DiscoveryEndpoint) Descriptor deprecated

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

Deprecated: Use DiscoveryEndpoint.ProtoReflect.Descriptor instead.

func (*DiscoveryEndpoint) GetAddress

func (x *DiscoveryEndpoint) GetAddress() string

func (*DiscoveryEndpoint) GetNetwork

func (x *DiscoveryEndpoint) GetNetwork() string

func (*DiscoveryEndpoint) GetPort

func (x *DiscoveryEndpoint) GetPort() int32

func (*DiscoveryEndpoint) ProtoMessage

func (*DiscoveryEndpoint) ProtoMessage()

func (*DiscoveryEndpoint) ProtoReflect

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

func (*DiscoveryEndpoint) Reset

func (x *DiscoveryEndpoint) Reset()

func (*DiscoveryEndpoint) String

func (x *DiscoveryEndpoint) String() string

type EncryptionInfo added in v0.4.0

type EncryptionInfo struct {

	// Output only. Type of encryption.
	EncryptionType EncryptionInfo_Type `` /* 157-byte string literal not displayed */
	// Output only. KMS key versions that are being used to protect the data
	// at-rest.
	KmsKeyVersions []string `protobuf:"bytes,2,rep,name=kms_key_versions,json=kmsKeyVersions,proto3" json:"kms_key_versions,omitempty"`
	// Output only. The state of the primary version of the KMS key perceived by
	// the system. This field is not populated in backups.
	KmsKeyPrimaryState EncryptionInfo_KmsKeyState `` /* 180-byte string literal not displayed */
	// Output only. The most recent time when the encryption info was updated.
	LastUpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=last_update_time,json=lastUpdateTime,proto3" json:"last_update_time,omitempty"`
	// contains filtered or unexported fields
}

EncryptionInfo describes the encryption information of a cluster.

func (*EncryptionInfo) Descriptor deprecated added in v0.4.0

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

Deprecated: Use EncryptionInfo.ProtoReflect.Descriptor instead.

func (*EncryptionInfo) GetEncryptionType added in v0.4.0

func (x *EncryptionInfo) GetEncryptionType() EncryptionInfo_Type

func (*EncryptionInfo) GetKmsKeyPrimaryState added in v0.4.0

func (x *EncryptionInfo) GetKmsKeyPrimaryState() EncryptionInfo_KmsKeyState

func (*EncryptionInfo) GetKmsKeyVersions added in v0.4.0

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

func (*EncryptionInfo) GetLastUpdateTime added in v0.4.0

func (x *EncryptionInfo) GetLastUpdateTime() *timestamppb.Timestamp

func (*EncryptionInfo) ProtoMessage added in v0.4.0

func (*EncryptionInfo) ProtoMessage()

func (*EncryptionInfo) ProtoReflect added in v0.4.0

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

func (*EncryptionInfo) Reset added in v0.4.0

func (x *EncryptionInfo) Reset()

func (*EncryptionInfo) String added in v0.4.0

func (x *EncryptionInfo) String() string

type EncryptionInfo_KmsKeyState added in v0.4.0

type EncryptionInfo_KmsKeyState int32

The state of the KMS key perceived by the system. Refer to the public documentation for the impact of each state.

const (
	// The default value. This value is unused.
	EncryptionInfo_KMS_KEY_STATE_UNSPECIFIED EncryptionInfo_KmsKeyState = 0
	// The KMS key is enabled and correctly configured.
	EncryptionInfo_ENABLED EncryptionInfo_KmsKeyState = 1
	// Permission denied on the KMS key.
	EncryptionInfo_PERMISSION_DENIED EncryptionInfo_KmsKeyState = 2
	// The KMS key is disabled.
	EncryptionInfo_DISABLED EncryptionInfo_KmsKeyState = 3
	// The KMS key is destroyed.
	EncryptionInfo_DESTROYED EncryptionInfo_KmsKeyState = 4
	// The KMS key is scheduled to be destroyed.
	EncryptionInfo_DESTROY_SCHEDULED EncryptionInfo_KmsKeyState = 5
	// The EKM key is unreachable.
	EncryptionInfo_EKM_KEY_UNREACHABLE_DETECTED EncryptionInfo_KmsKeyState = 6
	// Billing is disabled for the project.
	EncryptionInfo_BILLING_DISABLED EncryptionInfo_KmsKeyState = 7
	// All other unknown failures.
	EncryptionInfo_UNKNOWN_FAILURE EncryptionInfo_KmsKeyState = 8
)

func (EncryptionInfo_KmsKeyState) Descriptor added in v0.4.0

func (EncryptionInfo_KmsKeyState) Enum added in v0.4.0

func (EncryptionInfo_KmsKeyState) EnumDescriptor deprecated added in v0.4.0

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

Deprecated: Use EncryptionInfo_KmsKeyState.Descriptor instead.

func (EncryptionInfo_KmsKeyState) Number added in v0.4.0

func (EncryptionInfo_KmsKeyState) String added in v0.4.0

func (EncryptionInfo_KmsKeyState) Type added in v0.4.0

type EncryptionInfo_Type added in v0.4.0

type EncryptionInfo_Type int32

Possible encryption types.

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

func (EncryptionInfo_Type) Descriptor added in v0.4.0

func (EncryptionInfo_Type) Enum added in v0.4.0

func (EncryptionInfo_Type) EnumDescriptor deprecated added in v0.4.0

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

Deprecated: Use EncryptionInfo_Type.Descriptor instead.

func (EncryptionInfo_Type) Number added in v0.4.0

func (EncryptionInfo_Type) String added in v0.4.0

func (x EncryptionInfo_Type) String() string

func (EncryptionInfo_Type) Type added in v0.4.0

type ExportBackupRequest added in v0.3.0

type ExportBackupRequest struct {

	// Required. Specify destination to export a backup.
	//
	// Types that are assignable to Destination:
	//
	//	*ExportBackupRequest_GcsBucket
	Destination isExportBackupRequest_Destination `protobuf_oneof:"destination"`
	// Required. Instance backup resource name using the form:
	// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for [ExportBackup].

func (*ExportBackupRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ExportBackupRequest.ProtoReflect.Descriptor instead.

func (*ExportBackupRequest) GetDestination added in v0.3.0

func (m *ExportBackupRequest) GetDestination() isExportBackupRequest_Destination

func (*ExportBackupRequest) GetGcsBucket added in v0.3.0

func (x *ExportBackupRequest) GetGcsBucket() string

func (*ExportBackupRequest) GetName added in v0.3.0

func (x *ExportBackupRequest) GetName() string

func (*ExportBackupRequest) ProtoMessage added in v0.3.0

func (*ExportBackupRequest) ProtoMessage()

func (*ExportBackupRequest) ProtoReflect added in v0.3.0

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

func (*ExportBackupRequest) Reset added in v0.3.0

func (x *ExportBackupRequest) Reset()

func (*ExportBackupRequest) String added in v0.3.0

func (x *ExportBackupRequest) String() string

type ExportBackupRequest_GcsBucket added in v0.3.0

type ExportBackupRequest_GcsBucket struct {
	// Google Cloud Storage bucket, like "my-bucket".
	GcsBucket string `protobuf:"bytes,2,opt,name=gcs_bucket,json=gcsBucket,proto3,oneof"`
}

type GetBackupCollectionRequest added in v0.3.0

type GetBackupCollectionRequest struct {

	// Required. Instance backupCollection resource name using the form:
	//
	//	`projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
	//
	// where `location_id` refers to a Google Cloud region.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for [GetBackupCollection].

func (*GetBackupCollectionRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GetBackupCollectionRequest.ProtoReflect.Descriptor instead.

func (*GetBackupCollectionRequest) GetName added in v0.3.0

func (x *GetBackupCollectionRequest) GetName() string

func (*GetBackupCollectionRequest) ProtoMessage added in v0.3.0

func (*GetBackupCollectionRequest) ProtoMessage()

func (*GetBackupCollectionRequest) ProtoReflect added in v0.3.0

func (*GetBackupCollectionRequest) Reset added in v0.3.0

func (x *GetBackupCollectionRequest) Reset()

func (*GetBackupCollectionRequest) String added in v0.3.0

func (x *GetBackupCollectionRequest) String() string

type GetBackupRequest added in v0.3.0

type GetBackupRequest struct {

	// Required. Instance backup resource name using the form:
	// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}/backups/{backup_id}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request for [GetBackup].

func (*GetBackupRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use GetBackupRequest.ProtoReflect.Descriptor instead.

func (*GetBackupRequest) GetName added in v0.3.0

func (x *GetBackupRequest) GetName() string

func (*GetBackupRequest) ProtoMessage added in v0.3.0

func (*GetBackupRequest) ProtoMessage()

func (*GetBackupRequest) ProtoReflect added in v0.3.0

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

func (*GetBackupRequest) Reset added in v0.3.0

func (x *GetBackupRequest) Reset()

func (*GetBackupRequest) String added in v0.3.0

func (x *GetBackupRequest) String() string

type GetCertificateAuthorityRequest

type GetCertificateAuthorityRequest struct {

	// Required. The name of the certificate authority.
	// Format:
	// projects/{project}/locations/{location}/instances/{instance}/certificateAuthority
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for [GetCertificateAuthority][].

func (*GetCertificateAuthorityRequest) Descriptor deprecated

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

Deprecated: Use GetCertificateAuthorityRequest.ProtoReflect.Descriptor instead.

func (*GetCertificateAuthorityRequest) GetName

func (*GetCertificateAuthorityRequest) ProtoMessage

func (*GetCertificateAuthorityRequest) ProtoMessage()

func (*GetCertificateAuthorityRequest) ProtoReflect

func (*GetCertificateAuthorityRequest) Reset

func (x *GetCertificateAuthorityRequest) Reset()

func (*GetCertificateAuthorityRequest) String

type GetInstanceRequest

type GetInstanceRequest struct {

	// Required. The name of the instance to retrieve.
	// Format: projects/{project}/locations/{location}/instances/{instance}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for [GetInstance][].

func (*GetInstanceRequest) Descriptor deprecated

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetName

func (x *GetInstanceRequest) GetName() string

func (*GetInstanceRequest) ProtoMessage

func (*GetInstanceRequest) ProtoMessage()

func (*GetInstanceRequest) ProtoReflect

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

func (*GetInstanceRequest) Reset

func (x *GetInstanceRequest) Reset()

func (*GetInstanceRequest) String

func (x *GetInstanceRequest) String() string

type Instance

type Instance struct {

	// The source to import from.
	//
	// Types that are assignable to ImportSources:
	//
	//	*Instance_GcsSource
	//	*Instance_ManagedBackupSource_
	ImportSources isInstance_ImportSources `protobuf_oneof:"import_sources"`
	// Identifier. Unique name of the instance.
	// Format: projects/{project}/locations/{location}/instances/{instance}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Output only. Creation timestamp of the instance.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// Output only. Latest update timestamp of the instance.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// Optional. Labels to represent user-provided metadata.
	Labels map[string]string `` /* 153-byte string literal not displayed */
	// Output only. Current state of the instance.
	State Instance_State `protobuf:"varint,5,opt,name=state,proto3,enum=google.cloud.memorystore.v1.Instance_State" json:"state,omitempty"`
	// Output only. Additional information about the state of the instance.
	StateInfo *Instance_StateInfo `protobuf:"bytes,6,opt,name=state_info,json=stateInfo,proto3" json:"state_info,omitempty"`
	// Output only. System assigned, unique identifier for the instance.
	Uid string `protobuf:"bytes,7,opt,name=uid,proto3" json:"uid,omitempty"`
	// Optional. Number of replica nodes per shard. If omitted the default is 0
	// replicas.
	ReplicaCount *int32 `protobuf:"varint,8,opt,name=replica_count,json=replicaCount,proto3,oneof" json:"replica_count,omitempty"`
	// Optional. Immutable. Authorization mode of the instance.
	AuthorizationMode Instance_AuthorizationMode `` /* 173-byte string literal not displayed */
	// Optional. Immutable. In-transit encryption mode of the instance.
	TransitEncryptionMode Instance_TransitEncryptionMode `` /* 192-byte string literal not displayed */
	// Optional. Number of shards for the instance.
	ShardCount int32 `protobuf:"varint,11,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
	// Output only. Deprecated: The discovery_endpoints parameter is deprecated.
	// As a result, it will not be populated if the connections are created using
	// endpoints parameter. Instead of this parameter, for discovery, use
	// endpoints.connections.pscConnection and
	// endpoints.connections.pscAutoConnection
	// with connectionType CONNECTION_TYPE_DISCOVERY.
	//
	// Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.
	DiscoveryEndpoints []*DiscoveryEndpoint `protobuf:"bytes,12,rep,name=discovery_endpoints,json=discoveryEndpoints,proto3" json:"discovery_endpoints,omitempty"`
	// Optional. Machine type for individual nodes of the instance.
	NodeType Instance_NodeType `` /* 138-byte string literal not displayed */
	// Optional. Persistence configuration of the instance.
	PersistenceConfig *PersistenceConfig `protobuf:"bytes,14,opt,name=persistence_config,json=persistenceConfig,proto3" json:"persistence_config,omitempty"`
	// Optional. Engine version of the instance.
	EngineVersion string `protobuf:"bytes,15,opt,name=engine_version,json=engineVersion,proto3" json:"engine_version,omitempty"`
	// Optional. User-provided engine configurations for the instance.
	EngineConfigs map[string]string `` /* 189-byte string literal not displayed */
	// Output only. Configuration of individual nodes of the instance.
	NodeConfig *NodeConfig `protobuf:"bytes,17,opt,name=node_config,json=nodeConfig,proto3" json:"node_config,omitempty"`
	// Optional. Immutable. Zone distribution configuration of the instance for
	// node allocation.
	ZoneDistributionConfig *ZoneDistributionConfig `` /* 130-byte string literal not displayed */
	// Optional. If set to true deletion of the instance will fail.
	DeletionProtectionEnabled *bool `` /* 146-byte string literal not displayed */
	// Optional. Immutable. Deprecated: Use the
	// endpoints.connections.psc_auto_connection value instead.
	//
	// Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.
	PscAutoConnections []*PscAutoConnection `protobuf:"bytes,20,rep,name=psc_auto_connections,json=pscAutoConnections,proto3" json:"psc_auto_connections,omitempty"`
	// Output only. Service attachment details to configure PSC connections.
	PscAttachmentDetails []*PscAttachmentDetail `protobuf:"bytes,21,rep,name=psc_attachment_details,json=pscAttachmentDetails,proto3" json:"psc_attachment_details,omitempty"`
	// Optional. Endpoints for the instance.
	Endpoints []*Instance_InstanceEndpoint `protobuf:"bytes,25,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// Optional. The mode config for the instance.
	Mode Instance_Mode `protobuf:"varint,26,opt,name=mode,proto3,enum=google.cloud.memorystore.v1.Instance_Mode" json:"mode,omitempty"`
	// Optional. Input only. Simulate a maintenance event.
	SimulateMaintenanceEvent *bool `` /* 143-byte string literal not displayed */
	// Optional. Input only. Ondemand maintenance for the instance.
	//
	// Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.
	OndemandMaintenance *bool `` /* 126-byte string literal not displayed */
	// Optional. Output only. Reserved for future use.
	SatisfiesPzs *bool `protobuf:"varint,29,opt,name=satisfies_pzs,json=satisfiesPzs,proto3,oneof" json:"satisfies_pzs,omitempty"`
	// Optional. Output only. Reserved for future use.
	SatisfiesPzi *bool `protobuf:"varint,30,opt,name=satisfies_pzi,json=satisfiesPzi,proto3,oneof" json:"satisfies_pzi,omitempty"`
	// Optional. The maintenance policy for the instance. If not provided,
	// the maintenance event will be performed based on Memorystore
	// internal rollout schedule.
	MaintenancePolicy *MaintenancePolicy `protobuf:"bytes,31,opt,name=maintenance_policy,json=maintenancePolicy,proto3" json:"maintenance_policy,omitempty"`
	// Output only. Published maintenance schedule.
	MaintenanceSchedule *MaintenanceSchedule `protobuf:"bytes,32,opt,name=maintenance_schedule,json=maintenanceSchedule,proto3" json:"maintenance_schedule,omitempty"`
	// Optional. The config for cross instance replication.
	CrossInstanceReplicationConfig *CrossInstanceReplicationConfig `` /* 156-byte string literal not displayed */
	// Optional. If true, instance endpoints that are created and registered by
	// customers can be deleted asynchronously. That is, such an instance endpoint
	// can be de-registered before the forwarding rules in the instance endpoint
	// are deleted.
	AsyncInstanceEndpointsDeletionEnabled *bool `` /* 186-byte string literal not displayed */
	// Optional. The KMS key used to encrypt the at-rest data of the cluster.
	KmsKey *string `protobuf:"bytes,45,opt,name=kms_key,json=kmsKey,proto3,oneof" json:"kms_key,omitempty"`
	// Output only. Encryption information of the data at rest of the cluster.
	EncryptionInfo *EncryptionInfo `protobuf:"bytes,46,opt,name=encryption_info,json=encryptionInfo,proto3" json:"encryption_info,omitempty"`
	// Output only. The backup collection full resource name. Example:
	// projects/{project}/locations/{location}/backupCollections/{collection}
	BackupCollection *string `protobuf:"bytes,47,opt,name=backup_collection,json=backupCollection,proto3,oneof" json:"backup_collection,omitempty"`
	// Optional. The automated backup config for the instance.
	AutomatedBackupConfig *AutomatedBackupConfig `` /* 127-byte string literal not displayed */
	// Optional. This field can be used to trigger self service update to indicate
	// the desired maintenance version. The input to this field can be determined
	// by the available_maintenance_versions field.
	MaintenanceVersion *string `protobuf:"bytes,49,opt,name=maintenance_version,json=maintenanceVersion,proto3,oneof" json:"maintenance_version,omitempty"`
	// Output only. This field represents the actual maintenance version of the
	// instance.
	EffectiveMaintenanceVersion *string `` /* 151-byte string literal not displayed */
	// Output only. This field is used to determine the available maintenance
	// versions for the self service update.
	AvailableMaintenanceVersions []string `` /* 148-byte string literal not displayed */
	// Optional. Immutable. Deprecated, do not use.
	//
	// Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.
	AllowFewerZonesDeployment bool `` /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

A Memorystore instance.

func (*Instance) Descriptor deprecated

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetAllowFewerZonesDeployment deprecated added in v0.4.0

func (x *Instance) GetAllowFewerZonesDeployment() bool

Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.

func (*Instance) GetAsyncInstanceEndpointsDeletionEnabled added in v0.3.0

func (x *Instance) GetAsyncInstanceEndpointsDeletionEnabled() bool

func (*Instance) GetAuthorizationMode

func (x *Instance) GetAuthorizationMode() Instance_AuthorizationMode

func (*Instance) GetAutomatedBackupConfig added in v0.3.0

func (x *Instance) GetAutomatedBackupConfig() *AutomatedBackupConfig

func (*Instance) GetAvailableMaintenanceVersions added in v0.4.0

func (x *Instance) GetAvailableMaintenanceVersions() []string

func (*Instance) GetBackupCollection added in v0.3.0

func (x *Instance) GetBackupCollection() string

func (*Instance) GetCreateTime

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

func (*Instance) GetCrossInstanceReplicationConfig added in v0.3.0

func (x *Instance) GetCrossInstanceReplicationConfig() *CrossInstanceReplicationConfig

func (*Instance) GetDeletionProtectionEnabled

func (x *Instance) GetDeletionProtectionEnabled() bool

func (*Instance) GetDiscoveryEndpoints deprecated

func (x *Instance) GetDiscoveryEndpoints() []*DiscoveryEndpoint

Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.

func (*Instance) GetEffectiveMaintenanceVersion added in v0.4.0

func (x *Instance) GetEffectiveMaintenanceVersion() string

func (*Instance) GetEncryptionInfo added in v0.4.0

func (x *Instance) GetEncryptionInfo() *EncryptionInfo

func (*Instance) GetEndpoints

func (x *Instance) GetEndpoints() []*Instance_InstanceEndpoint

func (*Instance) GetEngineConfigs

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

func (*Instance) GetEngineVersion

func (x *Instance) GetEngineVersion() string

func (*Instance) GetGcsSource added in v0.3.0

func (x *Instance) GetGcsSource() *Instance_GcsBackupSource

func (*Instance) GetImportSources added in v0.3.0

func (m *Instance) GetImportSources() isInstance_ImportSources

func (*Instance) GetKmsKey added in v0.4.0

func (x *Instance) GetKmsKey() string

func (*Instance) GetLabels

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

func (*Instance) GetMaintenancePolicy added in v0.3.0

func (x *Instance) GetMaintenancePolicy() *MaintenancePolicy

func (*Instance) GetMaintenanceSchedule added in v0.3.0

func (x *Instance) GetMaintenanceSchedule() *MaintenanceSchedule

func (*Instance) GetMaintenanceVersion added in v0.4.0

func (x *Instance) GetMaintenanceVersion() string

func (*Instance) GetManagedBackupSource added in v0.3.0

func (x *Instance) GetManagedBackupSource() *Instance_ManagedBackupSource

func (*Instance) GetMode

func (x *Instance) GetMode() Instance_Mode

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetNodeConfig

func (x *Instance) GetNodeConfig() *NodeConfig

func (*Instance) GetNodeType

func (x *Instance) GetNodeType() Instance_NodeType

func (*Instance) GetOndemandMaintenance deprecated added in v0.3.0

func (x *Instance) GetOndemandMaintenance() bool

Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.

func (*Instance) GetPersistenceConfig

func (x *Instance) GetPersistenceConfig() *PersistenceConfig

func (*Instance) GetPscAttachmentDetails added in v0.3.0

func (x *Instance) GetPscAttachmentDetails() []*PscAttachmentDetail

func (*Instance) GetPscAutoConnections deprecated

func (x *Instance) GetPscAutoConnections() []*PscAutoConnection

Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.

func (*Instance) GetReplicaCount

func (x *Instance) GetReplicaCount() int32

func (*Instance) GetSatisfiesPzi added in v0.4.0

func (x *Instance) GetSatisfiesPzi() bool

func (*Instance) GetSatisfiesPzs added in v0.4.0

func (x *Instance) GetSatisfiesPzs() bool

func (*Instance) GetShardCount

func (x *Instance) GetShardCount() int32

func (*Instance) GetSimulateMaintenanceEvent added in v0.4.0

func (x *Instance) GetSimulateMaintenanceEvent() bool

func (*Instance) GetState

func (x *Instance) GetState() Instance_State

func (*Instance) GetStateInfo

func (x *Instance) GetStateInfo() *Instance_StateInfo

func (*Instance) GetTransitEncryptionMode

func (x *Instance) GetTransitEncryptionMode() Instance_TransitEncryptionMode

func (*Instance) GetUid

func (x *Instance) GetUid() string

func (*Instance) GetUpdateTime

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

func (*Instance) GetZoneDistributionConfig

func (x *Instance) GetZoneDistributionConfig() *ZoneDistributionConfig

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

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

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

type Instance_AuthorizationMode

type Instance_AuthorizationMode int32

Possible authorization modes of the instance.

const (
	// Not set.
	Instance_AUTHORIZATION_MODE_UNSPECIFIED Instance_AuthorizationMode = 0
	// Authorization disabled.
	Instance_AUTH_DISABLED Instance_AuthorizationMode = 1
	// IAM basic authorization.
	Instance_IAM_AUTH Instance_AuthorizationMode = 2
)

func (Instance_AuthorizationMode) Descriptor

func (Instance_AuthorizationMode) Enum

func (Instance_AuthorizationMode) EnumDescriptor deprecated

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

Deprecated: Use Instance_AuthorizationMode.Descriptor instead.

func (Instance_AuthorizationMode) Number

func (Instance_AuthorizationMode) String

func (Instance_AuthorizationMode) Type

type Instance_ConnectionDetail

type Instance_ConnectionDetail struct {

	// A PSC connection to an instance could either be created through Service
	// Connectivity Automation (auto connection) during the cluster creation,
	// or it could be created by customer themeslves (user-created connection).
	//
	// Types that are assignable to Connection:
	//
	//	*Instance_ConnectionDetail_PscAutoConnection
	//	*Instance_ConnectionDetail_PscConnection
	Connection isInstance_ConnectionDetail_Connection `protobuf_oneof:"connection"`
	// contains filtered or unexported fields
}

Information of each PSC connection.

func (*Instance_ConnectionDetail) Descriptor deprecated

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

Deprecated: Use Instance_ConnectionDetail.ProtoReflect.Descriptor instead.

func (*Instance_ConnectionDetail) GetConnection

func (m *Instance_ConnectionDetail) GetConnection() isInstance_ConnectionDetail_Connection

func (*Instance_ConnectionDetail) GetPscAutoConnection

func (x *Instance_ConnectionDetail) GetPscAutoConnection() *PscAutoConnection

func (*Instance_ConnectionDetail) GetPscConnection

func (x *Instance_ConnectionDetail) GetPscConnection() *PscConnection

func (*Instance_ConnectionDetail) ProtoMessage

func (*Instance_ConnectionDetail) ProtoMessage()

func (*Instance_ConnectionDetail) ProtoReflect

func (*Instance_ConnectionDetail) Reset

func (x *Instance_ConnectionDetail) Reset()

func (*Instance_ConnectionDetail) String

func (x *Instance_ConnectionDetail) String() string

type Instance_ConnectionDetail_PscAutoConnection

type Instance_ConnectionDetail_PscAutoConnection struct {
	// Immutable. 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 Instance_ConnectionDetail_PscConnection

type Instance_ConnectionDetail_PscConnection struct {
	// Detailed information of a PSC connection that is created by the user.
	PscConnection *PscConnection `protobuf:"bytes,2,opt,name=psc_connection,json=pscConnection,proto3,oneof"`
}

type Instance_GcsBackupSource added in v0.3.0

type Instance_GcsBackupSource struct {

	// Optional. 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 that stored in Cloud Storage buckets. The Cloud Storage buckets need to be the same region as the instances.

func (*Instance_GcsBackupSource) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Instance_GcsBackupSource.ProtoReflect.Descriptor instead.

func (*Instance_GcsBackupSource) GetUris added in v0.3.0

func (x *Instance_GcsBackupSource) GetUris() []string

func (*Instance_GcsBackupSource) ProtoMessage added in v0.3.0

func (*Instance_GcsBackupSource) ProtoMessage()

func (*Instance_GcsBackupSource) ProtoReflect added in v0.3.0

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

func (*Instance_GcsBackupSource) Reset added in v0.3.0

func (x *Instance_GcsBackupSource) Reset()

func (*Instance_GcsBackupSource) String added in v0.3.0

func (x *Instance_GcsBackupSource) String() string

type Instance_GcsSource added in v0.3.0

type Instance_GcsSource struct {
	// Optional. Immutable. Backups that stored in Cloud Storage buckets.
	// The Cloud Storage buckets need to be the same region as the instances.
	// Read permission is required to import from the provided Cloud Storage
	// Objects.
	GcsSource *Instance_GcsBackupSource `protobuf:"bytes,23,opt,name=gcs_source,json=gcsSource,proto3,oneof"`
}

type Instance_InstanceEndpoint

type Instance_InstanceEndpoint struct {

	// Optional. A group of PSC connections. They are created in the same VPC
	// network, one for each service attachment in the cluster.
	Connections []*Instance_ConnectionDetail `protobuf:"bytes,1,rep,name=connections,proto3" json:"connections,omitempty"`
	// contains filtered or unexported fields
}

InstanceEndpoint consists of PSC connections that are created as a group in each VPC network for accessing the instance. In each group, there shall be one connection for each service attachment in the cluster.

func (*Instance_InstanceEndpoint) Descriptor deprecated

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

Deprecated: Use Instance_InstanceEndpoint.ProtoReflect.Descriptor instead.

func (*Instance_InstanceEndpoint) GetConnections

func (*Instance_InstanceEndpoint) ProtoMessage

func (*Instance_InstanceEndpoint) ProtoMessage()

func (*Instance_InstanceEndpoint) ProtoReflect

func (*Instance_InstanceEndpoint) Reset

func (x *Instance_InstanceEndpoint) Reset()

func (*Instance_InstanceEndpoint) String

func (x *Instance_InstanceEndpoint) String() string

type Instance_ManagedBackupSource added in v0.3.0

type Instance_ManagedBackupSource struct {

	// Optional. Example:
	// //memorystore.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 memorystore.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 (*Instance_ManagedBackupSource) Descriptor deprecated added in v0.3.0

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

Deprecated: Use Instance_ManagedBackupSource.ProtoReflect.Descriptor instead.

func (*Instance_ManagedBackupSource) GetBackup added in v0.3.0

func (x *Instance_ManagedBackupSource) GetBackup() string

func (*Instance_ManagedBackupSource) ProtoMessage added in v0.3.0

func (*Instance_ManagedBackupSource) ProtoMessage()

func (*Instance_ManagedBackupSource) ProtoReflect added in v0.3.0

func (*Instance_ManagedBackupSource) Reset added in v0.3.0

func (x *Instance_ManagedBackupSource) Reset()

func (*Instance_ManagedBackupSource) String added in v0.3.0

type Instance_ManagedBackupSource_ added in v0.3.0

type Instance_ManagedBackupSource_ struct {
	// Optional. Immutable. Backups that generated and managed by memorystore
	// service.
	ManagedBackupSource *Instance_ManagedBackupSource `protobuf:"bytes,24,opt,name=managed_backup_source,json=managedBackupSource,proto3,oneof"`
}

type Instance_Mode

type Instance_Mode int32

The mode config, which is used to enable/disable cluster mode.

const (
	// Mode is not specified.
	Instance_MODE_UNSPECIFIED Instance_Mode = 0
	// Deprecated: Use CLUSTER_DISABLED instead.
	//
	// Deprecated: Marked as deprecated in google/cloud/memorystore/v1/memorystore.proto.
	Instance_STANDALONE Instance_Mode = 1
	// Instance is in cluster mode.
	Instance_CLUSTER Instance_Mode = 2
	// Cluster mode is disabled for the instance.
	Instance_CLUSTER_DISABLED Instance_Mode = 4
)

func (Instance_Mode) Descriptor

func (Instance_Mode) Enum

func (x Instance_Mode) Enum() *Instance_Mode

func (Instance_Mode) EnumDescriptor deprecated

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

Deprecated: Use Instance_Mode.Descriptor instead.

func (Instance_Mode) Number

func (Instance_Mode) String

func (x Instance_Mode) String() string

func (Instance_Mode) Type

type Instance_NodeType

type Instance_NodeType int32

Possible node types of the instance. See https://cloud.google.com/memorystore/docs/valkey/instance-node-specification for more information.

const (
	// Not set.
	Instance_NODE_TYPE_UNSPECIFIED Instance_NodeType = 0
	// Shared core nano.
	Instance_SHARED_CORE_NANO Instance_NodeType = 1
	// High memory medium.
	Instance_HIGHMEM_MEDIUM Instance_NodeType = 2
	// High memory extra large.
	Instance_HIGHMEM_XLARGE Instance_NodeType = 3
	// Standard small.
	Instance_STANDARD_SMALL Instance_NodeType = 4
)

func (Instance_NodeType) Descriptor

func (Instance_NodeType) Enum

func (Instance_NodeType) EnumDescriptor deprecated

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

Deprecated: Use Instance_NodeType.Descriptor instead.

func (Instance_NodeType) Number

func (Instance_NodeType) String

func (x Instance_NodeType) String() string

func (Instance_NodeType) Type

type Instance_State

type Instance_State int32

Possible states of the instance.

const (
	// Not set.
	Instance_STATE_UNSPECIFIED Instance_State = 0
	// Instance is being created.
	Instance_CREATING Instance_State = 1
	// Instance has been created and is usable.
	Instance_ACTIVE Instance_State = 2
	// Instance is being updated.
	Instance_UPDATING Instance_State = 3
	// Instance is being deleted.
	Instance_DELETING Instance_State = 4
)

func (Instance_State) Descriptor

func (Instance_State) Enum

func (x Instance_State) Enum() *Instance_State

func (Instance_State) EnumDescriptor deprecated

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

Deprecated: Use Instance_State.Descriptor instead.

func (Instance_State) Number

func (Instance_State) String

func (x Instance_State) String() string

func (Instance_State) Type

type Instance_StateInfo

type Instance_StateInfo struct {

	// Types that are assignable to Info:
	//
	//	*Instance_StateInfo_UpdateInfo_
	Info isInstance_StateInfo_Info `protobuf_oneof:"info"`
	// contains filtered or unexported fields
}

Additional information about the state of the instance.

func (*Instance_StateInfo) Descriptor deprecated

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

Deprecated: Use Instance_StateInfo.ProtoReflect.Descriptor instead.

func (*Instance_StateInfo) GetInfo

func (m *Instance_StateInfo) GetInfo() isInstance_StateInfo_Info

func (*Instance_StateInfo) GetUpdateInfo

func (*Instance_StateInfo) ProtoMessage

func (*Instance_StateInfo) ProtoMessage()

func (*Instance_StateInfo) ProtoReflect

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

func (*Instance_StateInfo) Reset

func (x *Instance_StateInfo) Reset()

func (*Instance_StateInfo) String

func (x *Instance_StateInfo) String() string

type Instance_StateInfo_UpdateInfo

type Instance_StateInfo_UpdateInfo struct {

	// Output only. Target number of shards for the instance.
	TargetShardCount *int32 `protobuf:"varint,1,opt,name=target_shard_count,json=targetShardCount,proto3,oneof" json:"target_shard_count,omitempty"`
	// Output only. Target number of replica nodes per shard for the instance.
	TargetReplicaCount *int32 `protobuf:"varint,2,opt,name=target_replica_count,json=targetReplicaCount,proto3,oneof" json:"target_replica_count,omitempty"`
	// Output only. Target engine version for the instance.
	TargetEngineVersion *string `` /* 126-byte string literal not displayed */
	// Output only. Target node type for the instance.
	TargetNodeType *Instance_NodeType `` /* 163-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents information about instance with state UPDATING.

func (*Instance_StateInfo_UpdateInfo) Descriptor deprecated

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

Deprecated: Use Instance_StateInfo_UpdateInfo.ProtoReflect.Descriptor instead.

func (*Instance_StateInfo_UpdateInfo) GetTargetEngineVersion added in v0.3.0

func (x *Instance_StateInfo_UpdateInfo) GetTargetEngineVersion() string

func (*Instance_StateInfo_UpdateInfo) GetTargetNodeType added in v0.3.0

func (x *Instance_StateInfo_UpdateInfo) GetTargetNodeType() Instance_NodeType

func (*Instance_StateInfo_UpdateInfo) GetTargetReplicaCount

func (x *Instance_StateInfo_UpdateInfo) GetTargetReplicaCount() int32

func (*Instance_StateInfo_UpdateInfo) GetTargetShardCount

func (x *Instance_StateInfo_UpdateInfo) GetTargetShardCount() int32

func (*Instance_StateInfo_UpdateInfo) ProtoMessage

func (*Instance_StateInfo_UpdateInfo) ProtoMessage()

func (*Instance_StateInfo_UpdateInfo) ProtoReflect

func (*Instance_StateInfo_UpdateInfo) Reset

func (x *Instance_StateInfo_UpdateInfo) Reset()

func (*Instance_StateInfo_UpdateInfo) String

type Instance_StateInfo_UpdateInfo_

type Instance_StateInfo_UpdateInfo_ struct {
	// Output only. Describes ongoing update when instance state is UPDATING.
	UpdateInfo *Instance_StateInfo_UpdateInfo `protobuf:"bytes,1,opt,name=update_info,json=updateInfo,proto3,oneof"`
}

type Instance_TransitEncryptionMode

type Instance_TransitEncryptionMode int32

Possible in-transit encryption modes of the instance.

const (
	// Not set.
	Instance_TRANSIT_ENCRYPTION_MODE_UNSPECIFIED Instance_TransitEncryptionMode = 0
	// In-transit encryption is disabled.
	Instance_TRANSIT_ENCRYPTION_DISABLED Instance_TransitEncryptionMode = 1
	// Server-managed encryption is used for in-transit encryption.
	Instance_SERVER_AUTHENTICATION Instance_TransitEncryptionMode = 2
)

func (Instance_TransitEncryptionMode) Descriptor

func (Instance_TransitEncryptionMode) Enum

func (Instance_TransitEncryptionMode) EnumDescriptor deprecated

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

Deprecated: Use Instance_TransitEncryptionMode.Descriptor instead.

func (Instance_TransitEncryptionMode) Number

func (Instance_TransitEncryptionMode) String

func (Instance_TransitEncryptionMode) Type

type ListBackupCollectionsRequest added in v0.3.0

type ListBackupCollectionsRequest struct {

	// Required. The resource name of the backupCollection location using the
	// form:
	//
	//	`projects/{project_id}/locations/{location_id}`
	//
	// where `location_id` refers to a Google Cloud 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.memorystore.v1.ListBackupCollectionsResponse.next_page_token]
	// to determine if there are more clusters left to be queried.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The `next_page_token` value returned from a previous
	// [ListBackupCollections] request, if any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request for [ListBackupCollections]

func (*ListBackupCollectionsRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ListBackupCollectionsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupCollectionsRequest) GetPageSize added in v0.3.0

func (x *ListBackupCollectionsRequest) GetPageSize() int32

func (*ListBackupCollectionsRequest) GetPageToken added in v0.3.0

func (x *ListBackupCollectionsRequest) GetPageToken() string

func (*ListBackupCollectionsRequest) GetParent added in v0.3.0

func (x *ListBackupCollectionsRequest) GetParent() string

func (*ListBackupCollectionsRequest) ProtoMessage added in v0.3.0

func (*ListBackupCollectionsRequest) ProtoMessage()

func (*ListBackupCollectionsRequest) ProtoReflect added in v0.3.0

func (*ListBackupCollectionsRequest) Reset added in v0.3.0

func (x *ListBackupCollectionsRequest) Reset()

func (*ListBackupCollectionsRequest) String added in v0.3.0

type ListBackupCollectionsResponse added in v0.3.0

type ListBackupCollectionsResponse struct {

	// A list of backupCollections in the project.
	//
	// If the `location_id` in the parent field of the request is "-", all regions
	// available to the project are queried, and the results aggregated.
	// If in such an aggregated query a location is unavailable, a placeholder
	// backupCollection entry is included in the response with the `name` field
	// set to a value of the form
	// `projects/{project_id}/locations/{location_id}/backupCollections/`- and the
	// `status` field set to ERROR and `status_message` field set to "location not
	// available for ListBackupCollections".
	BackupCollections []*BackupCollection `protobuf:"bytes,1,rep,name=backup_collections,json=backupCollections,proto3" json:"backup_collections,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Locations that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response for [ListBackupCollections].

func (*ListBackupCollectionsResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ListBackupCollectionsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupCollectionsResponse) GetBackupCollections added in v0.3.0

func (x *ListBackupCollectionsResponse) GetBackupCollections() []*BackupCollection

func (*ListBackupCollectionsResponse) GetNextPageToken added in v0.3.0

func (x *ListBackupCollectionsResponse) GetNextPageToken() string

func (*ListBackupCollectionsResponse) GetUnreachable added in v0.3.0

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

func (*ListBackupCollectionsResponse) ProtoMessage added in v0.3.0

func (*ListBackupCollectionsResponse) ProtoMessage()

func (*ListBackupCollectionsResponse) ProtoReflect added in v0.3.0

func (*ListBackupCollectionsResponse) Reset added in v0.3.0

func (x *ListBackupCollectionsResponse) Reset()

func (*ListBackupCollectionsResponse) String added in v0.3.0

type ListBackupsRequest added in v0.3.0

type ListBackupsRequest struct {

	// Required. The resource name of the backupCollection using the form:
	// `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. The maximum number of items to return.
	//
	// If not specified, a default value of 1000 will be used by the service.
	// Regardless of the page_size value, the response may include a partial list
	// and a caller should only rely on response's
	// [`next_page_token`][google.cloud.memorystore.v1.ListBackupsResponse.next_page_token]
	// to determine if there are more clusters left to be queried.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. The `next_page_token` value returned from a previous
	// [ListBackupCollections] request, if any.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request for [ListBackups].

func (*ListBackupsRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ListBackupsRequest.ProtoReflect.Descriptor instead.

func (*ListBackupsRequest) GetPageSize added in v0.3.0

func (x *ListBackupsRequest) GetPageSize() int32

func (*ListBackupsRequest) GetPageToken added in v0.3.0

func (x *ListBackupsRequest) GetPageToken() string

func (*ListBackupsRequest) GetParent added in v0.3.0

func (x *ListBackupsRequest) GetParent() string

func (*ListBackupsRequest) ProtoMessage added in v0.3.0

func (*ListBackupsRequest) ProtoMessage()

func (*ListBackupsRequest) ProtoReflect added in v0.3.0

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

func (*ListBackupsRequest) Reset added in v0.3.0

func (x *ListBackupsRequest) Reset()

func (*ListBackupsRequest) String added in v0.3.0

func (x *ListBackupsRequest) String() string

type ListBackupsResponse added in v0.3.0

type ListBackupsResponse struct {

	// A list of backups in the project.
	Backups []*Backup `protobuf:"bytes,1,rep,name=backups,proto3" json:"backups,omitempty"`
	// Token to retrieve the next page of results, or empty if there are no more
	// results in the list.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Backups that could not be reached.
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

Response for [ListBackups].

func (*ListBackupsResponse) Descriptor deprecated added in v0.3.0

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

Deprecated: Use ListBackupsResponse.ProtoReflect.Descriptor instead.

func (*ListBackupsResponse) GetBackups added in v0.3.0

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

func (*ListBackupsResponse) GetNextPageToken added in v0.3.0

func (x *ListBackupsResponse) GetNextPageToken() string

func (*ListBackupsResponse) GetUnreachable added in v0.3.0

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

func (*ListBackupsResponse) ProtoMessage added in v0.3.0

func (*ListBackupsResponse) ProtoMessage()

func (*ListBackupsResponse) ProtoReflect added in v0.3.0

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

func (*ListBackupsResponse) Reset added in v0.3.0

func (x *ListBackupsResponse) Reset()

func (*ListBackupsResponse) String added in v0.3.0

func (x *ListBackupsResponse) String() string

type ListInstancesRequest

type ListInstancesRequest struct {

	// Required. The parent to list instances from.
	// Format: projects/{project}/locations/{location}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Optional. Requested page size. Server may return fewer items than
	// requested. If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Optional. A token identifying a page of results the server should return.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Optional. Expression for filtering results.
	Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
	// Optional. Sort results by a defined order. Supported values: "name",
	// "create_time".
	OrderBy string `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3" json:"order_by,omitempty"`
	// contains filtered or unexported fields
}

Request message for [ListInstances][].

func (*ListInstancesRequest) Descriptor deprecated

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

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetFilter

func (x *ListInstancesRequest) GetFilter() string

func (*ListInstancesRequest) GetOrderBy

func (x *ListInstancesRequest) GetOrderBy() string

func (*ListInstancesRequest) GetPageSize

func (x *ListInstancesRequest) GetPageSize() int32

func (*ListInstancesRequest) GetPageToken

func (x *ListInstancesRequest) GetPageToken() string

func (*ListInstancesRequest) GetParent

func (x *ListInstancesRequest) GetParent() string

func (*ListInstancesRequest) ProtoMessage

func (*ListInstancesRequest) ProtoMessage()

func (*ListInstancesRequest) ProtoReflect

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

func (*ListInstancesRequest) Reset

func (x *ListInstancesRequest) Reset()

func (*ListInstancesRequest) String

func (x *ListInstancesRequest) String() string

type ListInstancesResponse

type ListInstancesResponse struct {

	// If the {location} requested was "-" the response contains a list of
	// instances from all locations. Instances in unreachable locations will be
	// omitted.
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// A token, which can be sent as `page_token` to retrieve the next page.
	// If this field is omitted, there are no subsequent pages.
	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 message for [ListInstances][].

func (*ListInstancesResponse) Descriptor deprecated

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

Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.

func (*ListInstancesResponse) GetInstances

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

func (*ListInstancesResponse) GetNextPageToken

func (x *ListInstancesResponse) GetNextPageToken() string

func (*ListInstancesResponse) GetUnreachable

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

func (*ListInstancesResponse) ProtoMessage

func (*ListInstancesResponse) ProtoMessage()

func (*ListInstancesResponse) ProtoReflect

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

func (*ListInstancesResponse) Reset

func (x *ListInstancesResponse) Reset()

func (*ListInstancesResponse) String

func (x *ListInstancesResponse) String() string

type MaintenancePolicy added in v0.3.0

type MaintenancePolicy struct {

	// Output only. The time when the policy was created.
	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.
	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_window is expected to be one.
	WeeklyMaintenanceWindow []*WeeklyMaintenanceWindow `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

Maintenance policy per instance.

func (*MaintenancePolicy) Descriptor deprecated added in v0.3.0

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

Deprecated: Use MaintenancePolicy.ProtoReflect.Descriptor instead.

func (*MaintenancePolicy) GetCreateTime added in v0.3.0

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

func (*MaintenancePolicy) GetUpdateTime added in v0.3.0

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

func (*MaintenancePolicy) GetWeeklyMaintenanceWindow added in v0.3.0

func (x *MaintenancePolicy) GetWeeklyMaintenanceWindow() []*WeeklyMaintenanceWindow

func (*MaintenancePolicy) ProtoMessage added in v0.3.0

func (*MaintenancePolicy) ProtoMessage()

func (*MaintenancePolicy) ProtoReflect added in v0.3.0

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

func (*MaintenancePolicy) Reset added in v0.3.0

func (x *MaintenancePolicy) Reset()

func (*MaintenancePolicy) String added in v0.3.0

func (x *MaintenancePolicy) String() string

type MaintenanceSchedule added in v0.3.0

type MaintenanceSchedule 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 maintenance schedule.

func (*MaintenanceSchedule) Descriptor deprecated added in v0.3.0

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

Deprecated: Use MaintenanceSchedule.ProtoReflect.Descriptor instead.

func (*MaintenanceSchedule) GetEndTime added in v0.3.0

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

func (*MaintenanceSchedule) GetStartTime added in v0.3.0

func (x *MaintenanceSchedule) GetStartTime() *timestamppb.Timestamp

func (*MaintenanceSchedule) ProtoMessage added in v0.3.0

func (*MaintenanceSchedule) ProtoMessage()

func (*MaintenanceSchedule) ProtoReflect added in v0.3.0

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

func (*MaintenanceSchedule) Reset added in v0.3.0

func (x *MaintenanceSchedule) Reset()

func (*MaintenanceSchedule) String added in v0.3.0

func (x *MaintenanceSchedule) String() string

type MemorystoreClient

type MemorystoreClient interface {
	// Lists Instances in a given project and location.
	ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error)
	// Gets details of a single Instance.
	GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error)
	// Creates a new Instance in a given project and location.
	CreateInstance(ctx context.Context, in *CreateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Instance.
	UpdateInstance(ctx context.Context, in *UpdateInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Deletes a single Instance.
	DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
	// Gets details about the certificate authority for an Instance.
	GetCertificateAuthority(ctx context.Context, in *GetCertificateAuthorityRequest, opts ...grpc.CallOption) (*CertificateAuthority, error)
	// Reschedules upcoming maintenance event.
	RescheduleMaintenance(ctx context.Context, in *RescheduleMaintenanceRequest, 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 Instance.
	// 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 instance'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.
	BackupInstance(ctx context.Context, in *BackupInstanceRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
}

MemorystoreClient is the client API for Memorystore service.

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

type MemorystoreServer

type MemorystoreServer interface {
	// Lists Instances in a given project and location.
	ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
	// Gets details of a single Instance.
	GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
	// Creates a new Instance in a given project and location.
	CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
	// Updates the parameters of a single Instance.
	UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)
	// Deletes a single Instance.
	DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunningpb.Operation, error)
	// Gets details about the certificate authority for an Instance.
	GetCertificateAuthority(context.Context, *GetCertificateAuthorityRequest) (*CertificateAuthority, error)
	// Reschedules upcoming maintenance event.
	RescheduleMaintenance(context.Context, *RescheduleMaintenanceRequest) (*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 Instance.
	// 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 instance'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.
	BackupInstance(context.Context, *BackupInstanceRequest) (*longrunningpb.Operation, error)
}

MemorystoreServer is the server API for Memorystore service. All implementations should embed UnimplementedMemorystoreServer for forward compatibility

type NodeConfig

type NodeConfig struct {

	// Output only. Memory size in GB of the node.
	SizeGb float64 `protobuf:"fixed64,1,opt,name=size_gb,json=sizeGb,proto3" json:"size_gb,omitempty"`
	// contains filtered or unexported fields
}

Represents configuration for nodes of the instance.

func (*NodeConfig) Descriptor deprecated

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

Deprecated: Use NodeConfig.ProtoReflect.Descriptor instead.

func (*NodeConfig) GetSizeGb

func (x *NodeConfig) GetSizeGb() float64

func (*NodeConfig) ProtoMessage

func (*NodeConfig) ProtoMessage()

func (*NodeConfig) ProtoReflect

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

func (*NodeConfig) Reset

func (x *NodeConfig) Reset()

func (*NodeConfig) String

func (x *NodeConfig) String() string

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 been cancelled successfully
	// have [Operation.error][] value with a
	// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
	// `Code.CANCELLED`.
	RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
	// Output only. API version used to start the operation.
	ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// contains filtered or unexported fields
}

Represents the metadata of a long-running operation.

func (*OperationMetadata) Descriptor deprecated

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

Deprecated: Use OperationMetadata.ProtoReflect.Descriptor instead.

func (*OperationMetadata) GetApiVersion

func (x *OperationMetadata) GetApiVersion() string

func (*OperationMetadata) GetCreateTime

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

func (*OperationMetadata) GetEndTime

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

func (*OperationMetadata) GetRequestedCancellation

func (x *OperationMetadata) GetRequestedCancellation() bool

func (*OperationMetadata) GetStatusMessage

func (x *OperationMetadata) GetStatusMessage() string

func (*OperationMetadata) GetTarget

func (x *OperationMetadata) GetTarget() string

func (*OperationMetadata) GetVerb

func (x *OperationMetadata) GetVerb() string

func (*OperationMetadata) ProtoMessage

func (*OperationMetadata) ProtoMessage()

func (*OperationMetadata) ProtoReflect

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

func (*OperationMetadata) Reset

func (x *OperationMetadata) Reset()

func (*OperationMetadata) String

func (x *OperationMetadata) String() string

type PersistenceConfig

type PersistenceConfig struct {

	// Optional. Current persistence mode.
	Mode PersistenceConfig_PersistenceMode `` /* 129-byte string literal not displayed */
	// Optional. RDB configuration. This field will be ignored if mode is not RDB.
	RdbConfig *PersistenceConfig_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 *PersistenceConfig_AOFConfig `protobuf:"bytes,3,opt,name=aof_config,json=aofConfig,proto3" json:"aof_config,omitempty"`
	// contains filtered or unexported fields
}

Represents persistence configuration for a instance.

func (*PersistenceConfig) Descriptor deprecated

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

Deprecated: Use PersistenceConfig.ProtoReflect.Descriptor instead.

func (*PersistenceConfig) GetAofConfig

func (*PersistenceConfig) GetMode

func (*PersistenceConfig) GetRdbConfig

func (*PersistenceConfig) ProtoMessage

func (*PersistenceConfig) ProtoMessage()

func (*PersistenceConfig) ProtoReflect

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

func (*PersistenceConfig) Reset

func (x *PersistenceConfig) Reset()

func (*PersistenceConfig) String

func (x *PersistenceConfig) String() string

type PersistenceConfig_AOFConfig

type PersistenceConfig_AOFConfig struct {

	// Optional. The fsync mode.
	AppendFsync PersistenceConfig_AOFConfig_AppendFsync `` /* 168-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for AOF based persistence.

func (*PersistenceConfig_AOFConfig) Descriptor deprecated

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

Deprecated: Use PersistenceConfig_AOFConfig.ProtoReflect.Descriptor instead.

func (*PersistenceConfig_AOFConfig) GetAppendFsync

func (*PersistenceConfig_AOFConfig) ProtoMessage

func (*PersistenceConfig_AOFConfig) ProtoMessage()

func (*PersistenceConfig_AOFConfig) ProtoReflect

func (*PersistenceConfig_AOFConfig) Reset

func (x *PersistenceConfig_AOFConfig) Reset()

func (*PersistenceConfig_AOFConfig) String

func (x *PersistenceConfig_AOFConfig) String() string

type PersistenceConfig_AOFConfig_AppendFsync

type PersistenceConfig_AOFConfig_AppendFsync int32

Possible fsync modes.

const (
	// Not set. Default: EVERY_SEC
	PersistenceConfig_AOFConfig_APPEND_FSYNC_UNSPECIFIED PersistenceConfig_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.
	PersistenceConfig_AOFConfig_NEVER PersistenceConfig_AOFConfig_AppendFsync = 1
	// Fsync every second. You may lose 1 second of data if there is a
	// disaster.
	PersistenceConfig_AOFConfig_EVERY_SEC PersistenceConfig_AOFConfig_AppendFsync = 2
	// Fsync every time new write commands are appended to the AOF. The best
	// data loss protection at the cost of performance.
	PersistenceConfig_AOFConfig_ALWAYS PersistenceConfig_AOFConfig_AppendFsync = 3
)

func (PersistenceConfig_AOFConfig_AppendFsync) Descriptor

func (PersistenceConfig_AOFConfig_AppendFsync) Enum

func (PersistenceConfig_AOFConfig_AppendFsync) EnumDescriptor deprecated

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

Deprecated: Use PersistenceConfig_AOFConfig_AppendFsync.Descriptor instead.

func (PersistenceConfig_AOFConfig_AppendFsync) Number

func (PersistenceConfig_AOFConfig_AppendFsync) String

func (PersistenceConfig_AOFConfig_AppendFsync) Type

type PersistenceConfig_PersistenceMode

type PersistenceConfig_PersistenceMode int32

Possible persistence modes.

const (
	// Not set.
	PersistenceConfig_PERSISTENCE_MODE_UNSPECIFIED PersistenceConfig_PersistenceMode = 0
	// Persistence is disabled, and any snapshot data is deleted.
	PersistenceConfig_DISABLED PersistenceConfig_PersistenceMode = 1
	// RDB based persistence is enabled.
	PersistenceConfig_RDB PersistenceConfig_PersistenceMode = 2
	// AOF based persistence is enabled.
	PersistenceConfig_AOF PersistenceConfig_PersistenceMode = 3
)

func (PersistenceConfig_PersistenceMode) Descriptor

func (PersistenceConfig_PersistenceMode) Enum

func (PersistenceConfig_PersistenceMode) EnumDescriptor deprecated

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

Deprecated: Use PersistenceConfig_PersistenceMode.Descriptor instead.

func (PersistenceConfig_PersistenceMode) Number

func (PersistenceConfig_PersistenceMode) String

func (PersistenceConfig_PersistenceMode) Type

type PersistenceConfig_RDBConfig

type PersistenceConfig_RDBConfig struct {

	// Optional. Period between RDB snapshots.
	RdbSnapshotPeriod PersistenceConfig_RDBConfig_SnapshotPeriod `` /* 191-byte string literal not displayed */
	// Optional. 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 for RDB based persistence.

func (*PersistenceConfig_RDBConfig) Descriptor deprecated

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

Deprecated: Use PersistenceConfig_RDBConfig.ProtoReflect.Descriptor instead.

func (*PersistenceConfig_RDBConfig) GetRdbSnapshotPeriod

func (*PersistenceConfig_RDBConfig) GetRdbSnapshotStartTime

func (x *PersistenceConfig_RDBConfig) GetRdbSnapshotStartTime() *timestamppb.Timestamp

func (*PersistenceConfig_RDBConfig) ProtoMessage

func (*PersistenceConfig_RDBConfig) ProtoMessage()

func (*PersistenceConfig_RDBConfig) ProtoReflect

func (*PersistenceConfig_RDBConfig) Reset

func (x *PersistenceConfig_RDBConfig) Reset()

func (*PersistenceConfig_RDBConfig) String

func (x *PersistenceConfig_RDBConfig) String() string

type PersistenceConfig_RDBConfig_SnapshotPeriod

type PersistenceConfig_RDBConfig_SnapshotPeriod int32

Possible snapshot periods.

const (
	// Not set.
	PersistenceConfig_RDBConfig_SNAPSHOT_PERIOD_UNSPECIFIED PersistenceConfig_RDBConfig_SnapshotPeriod = 0
	// One hour.
	PersistenceConfig_RDBConfig_ONE_HOUR PersistenceConfig_RDBConfig_SnapshotPeriod = 1
	// Six hours.
	PersistenceConfig_RDBConfig_SIX_HOURS PersistenceConfig_RDBConfig_SnapshotPeriod = 2
	// Twelve hours.
	PersistenceConfig_RDBConfig_TWELVE_HOURS PersistenceConfig_RDBConfig_SnapshotPeriod = 3
	// Twenty four hours.
	PersistenceConfig_RDBConfig_TWENTY_FOUR_HOURS PersistenceConfig_RDBConfig_SnapshotPeriod = 4
)

func (PersistenceConfig_RDBConfig_SnapshotPeriod) Descriptor

func (PersistenceConfig_RDBConfig_SnapshotPeriod) Enum

func (PersistenceConfig_RDBConfig_SnapshotPeriod) EnumDescriptor deprecated

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

Deprecated: Use PersistenceConfig_RDBConfig_SnapshotPeriod.Descriptor instead.

func (PersistenceConfig_RDBConfig_SnapshotPeriod) Number

func (PersistenceConfig_RDBConfig_SnapshotPeriod) String

func (PersistenceConfig_RDBConfig_SnapshotPeriod) Type

type PscAttachmentDetail added in v0.3.0

type PscAttachmentDetail 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 Psc endpoint.
	ConnectionType ConnectionType `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration of a service attachment of the cluster, for creating PSC connections.

func (*PscAttachmentDetail) Descriptor deprecated added in v0.3.0

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

Deprecated: Use PscAttachmentDetail.ProtoReflect.Descriptor instead.

func (*PscAttachmentDetail) GetConnectionType added in v0.3.0

func (x *PscAttachmentDetail) GetConnectionType() ConnectionType

func (*PscAttachmentDetail) GetServiceAttachment added in v0.3.0

func (x *PscAttachmentDetail) GetServiceAttachment() string

func (*PscAttachmentDetail) ProtoMessage added in v0.3.0

func (*PscAttachmentDetail) ProtoMessage()

func (*PscAttachmentDetail) ProtoReflect added in v0.3.0

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

func (*PscAttachmentDetail) Reset added in v0.3.0

func (x *PscAttachmentDetail) Reset()

func (*PscAttachmentDetail) String added in v0.3.0

func (x *PscAttachmentDetail) String() string

type PscAutoConnection

type PscAutoConnection struct {

	// Ports of the exposed endpoint.
	//
	// Types that are assignable to Ports:
	//
	//	*PscAutoConnection_Port
	Ports isPscAutoConnection_Ports `protobuf_oneof:"ports"`
	// 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.
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// Output only. The URI of the consumer side forwarding rule.
	// Format:
	// projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
	ForwardingRule string `protobuf:"bytes,3,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
	// Required. The consumer project_id where PSC connections are established.
	// This should be the same project_id that the instance is being created in.
	ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Required. The network where the PSC endpoints are created, 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: whether a connection exists
	// and ACTIVE or it no longer exists. Please note that this value is updated
	// periodically. Please use Private Service Connect APIs for the latest
	// status.
	PscConnectionStatus PscConnectionStatus `` /* 174-byte string literal not displayed */
	// Output only. Type of the PSC connection.
	ConnectionType ConnectionType `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

Details of consumer resources in a PSC connection.

func (*PscAutoConnection) Descriptor deprecated

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

Deprecated: Use PscAutoConnection.ProtoReflect.Descriptor instead.

func (*PscAutoConnection) GetConnectionType

func (x *PscAutoConnection) GetConnectionType() ConnectionType

func (*PscAutoConnection) GetForwardingRule

func (x *PscAutoConnection) GetForwardingRule() string

func (*PscAutoConnection) GetIpAddress

func (x *PscAutoConnection) GetIpAddress() string

func (*PscAutoConnection) GetNetwork

func (x *PscAutoConnection) GetNetwork() string

func (*PscAutoConnection) GetPort

func (x *PscAutoConnection) GetPort() int32

func (*PscAutoConnection) GetPorts

func (m *PscAutoConnection) GetPorts() isPscAutoConnection_Ports

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 PscAutoConnection_Port

type PscAutoConnection_Port struct {
	// Optional. port will only be set for Primary/Reader or Discovery endpoint.
	Port int32 `protobuf:"varint,9,opt,name=port,proto3,oneof"`
}

type PscConnection

type PscConnection struct {

	// Ports of the exposed endpoint.
	//
	// Types that are assignable to Ports:
	//
	//	*PscConnection_Port
	Ports isPscConnection_Ports `protobuf_oneof:"ports"`
	// 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.
	IpAddress string `protobuf:"bytes,2,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"`
	// Required. The URI of the consumer side forwarding rule.
	// Format:
	// projects/{project}/regions/{region}/forwardingRules/{forwarding_rule}
	ForwardingRule string `protobuf:"bytes,3,opt,name=forwarding_rule,json=forwardingRule,proto3" json:"forwarding_rule,omitempty"`
	// Output only. 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"`
	// 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: whether a connection exists
	// and ACTIVE or it no longer exists. Please note that this value is updated
	// periodically. Please use Private Service Connect APIs for the latest
	// status.
	PscConnectionStatus PscConnectionStatus `` /* 174-byte string literal not displayed */
	// Output only. Type of the PSC connection.
	ConnectionType ConnectionType `` /* 152-byte string literal not displayed */
	// contains filtered or unexported fields
}

User created Psc connection configuration.

func (*PscConnection) Descriptor deprecated

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

Deprecated: Use PscConnection.ProtoReflect.Descriptor instead.

func (*PscConnection) GetConnectionType

func (x *PscConnection) GetConnectionType() ConnectionType

func (*PscConnection) GetForwardingRule

func (x *PscConnection) GetForwardingRule() string

func (*PscConnection) GetIpAddress

func (x *PscConnection) GetIpAddress() string

func (*PscConnection) GetNetwork

func (x *PscConnection) GetNetwork() string

func (*PscConnection) GetPort added in v0.3.0

func (x *PscConnection) GetPort() int32

func (*PscConnection) GetPorts added in v0.3.0

func (m *PscConnection) GetPorts() isPscConnection_Ports

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_ACTIVE PscConnectionStatus = 1
	// Connection not found
	PscConnectionStatus_NOT_FOUND PscConnectionStatus = 2
)

func (PscConnectionStatus) Descriptor

func (PscConnectionStatus) Enum

func (PscConnectionStatus) EnumDescriptor deprecated

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

Deprecated: Use PscConnectionStatus.Descriptor instead.

func (PscConnectionStatus) Number

func (PscConnectionStatus) String

func (x PscConnectionStatus) String() string

func (PscConnectionStatus) Type

type PscConnection_Port added in v0.3.0

type PscConnection_Port struct {
	// Optional. port will only be set for Primary/Reader or Discovery endpoint.
	Port int32 `protobuf:"varint,9,opt,name=port,proto3,oneof"`
}

type RescheduleMaintenanceRequest added in v0.3.0

type RescheduleMaintenanceRequest struct {

	// Required. Name of the instance to reschedule maintenance for:
	// `projects/{project}/locations/{location_id}/instances/{instance}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Required. If reschedule type is SPECIFIC_TIME, schedule_time must be set.
	RescheduleType RescheduleMaintenanceRequest_RescheduleType `` /* 181-byte string literal not displayed */
	// Optional. Timestamp when the maintenance shall be rescheduled to if
	// reschedule_type=SPECIFIC_TIME, in RFC 3339 format.
	// 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 instance maintenance.

func (*RescheduleMaintenanceRequest) Descriptor deprecated added in v0.3.0

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

Deprecated: Use RescheduleMaintenanceRequest.ProtoReflect.Descriptor instead.

func (*RescheduleMaintenanceRequest) GetName added in v0.3.0

func (x *RescheduleMaintenanceRequest) GetName() string

func (*RescheduleMaintenanceRequest) GetRescheduleType added in v0.3.0

func (*RescheduleMaintenanceRequest) GetScheduleTime added in v0.3.0

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

func (*RescheduleMaintenanceRequest) ProtoMessage added in v0.3.0

func (*RescheduleMaintenanceRequest) ProtoMessage()

func (*RescheduleMaintenanceRequest) ProtoReflect added in v0.3.0

func (*RescheduleMaintenanceRequest) Reset added in v0.3.0

func (x *RescheduleMaintenanceRequest) Reset()

func (*RescheduleMaintenanceRequest) String added in v0.3.0

type RescheduleMaintenanceRequest_RescheduleType added in v0.3.0

type RescheduleMaintenanceRequest_RescheduleType int32

Reschedule options.

const (
	// Not set.
	RescheduleMaintenanceRequest_RESCHEDULE_TYPE_UNSPECIFIED RescheduleMaintenanceRequest_RescheduleType = 0
	// If the user wants to schedule the maintenance to happen now.
	RescheduleMaintenanceRequest_IMMEDIATE RescheduleMaintenanceRequest_RescheduleType = 1
	// If the user wants to reschedule the maintenance to a specific time.
	RescheduleMaintenanceRequest_SPECIFIC_TIME RescheduleMaintenanceRequest_RescheduleType = 3
)

func (RescheduleMaintenanceRequest_RescheduleType) Descriptor added in v0.3.0

func (RescheduleMaintenanceRequest_RescheduleType) Enum added in v0.3.0

func (RescheduleMaintenanceRequest_RescheduleType) EnumDescriptor deprecated added in v0.3.0

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

Deprecated: Use RescheduleMaintenanceRequest_RescheduleType.Descriptor instead.

func (RescheduleMaintenanceRequest_RescheduleType) Number added in v0.3.0

func (RescheduleMaintenanceRequest_RescheduleType) String added in v0.3.0

func (RescheduleMaintenanceRequest_RescheduleType) Type added in v0.3.0

type UnimplementedMemorystoreServer

type UnimplementedMemorystoreServer struct {
}

UnimplementedMemorystoreServer should be embedded to have forward compatible implementations.

func (UnimplementedMemorystoreServer) BackupInstance added in v0.3.0

func (UnimplementedMemorystoreServer) CreateInstance

func (UnimplementedMemorystoreServer) DeleteBackup added in v0.3.0

func (UnimplementedMemorystoreServer) DeleteInstance

func (UnimplementedMemorystoreServer) ExportBackup added in v0.3.0

func (UnimplementedMemorystoreServer) GetBackup added in v0.3.0

func (UnimplementedMemorystoreServer) GetBackupCollection added in v0.3.0

func (UnimplementedMemorystoreServer) GetCertificateAuthority

func (UnimplementedMemorystoreServer) GetInstance

func (UnimplementedMemorystoreServer) ListBackupCollections added in v0.3.0

func (UnimplementedMemorystoreServer) ListBackups added in v0.3.0

func (UnimplementedMemorystoreServer) ListInstances

func (UnimplementedMemorystoreServer) RescheduleMaintenance added in v0.3.0

func (UnimplementedMemorystoreServer) UpdateInstance

type UnsafeMemorystoreServer added in v0.3.1

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

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

type UpdateInstanceRequest

type UpdateInstanceRequest struct {

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

Request message for [UpdateInstance][].

func (*UpdateInstanceRequest) Descriptor deprecated

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

Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceRequest) GetInstance

func (x *UpdateInstanceRequest) GetInstance() *Instance

func (*UpdateInstanceRequest) GetRequestId

func (x *UpdateInstanceRequest) GetRequestId() string

func (*UpdateInstanceRequest) GetUpdateMask

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

func (*UpdateInstanceRequest) ProtoMessage

func (*UpdateInstanceRequest) ProtoMessage()

func (*UpdateInstanceRequest) ProtoReflect

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

func (*UpdateInstanceRequest) Reset

func (x *UpdateInstanceRequest) Reset()

func (*UpdateInstanceRequest) String

func (x *UpdateInstanceRequest) String() string

type WeeklyMaintenanceWindow added in v0.3.0

type WeeklyMaintenanceWindow struct {

	// Optional. 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"`
	// Optional. 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 (*WeeklyMaintenanceWindow) Descriptor deprecated added in v0.3.0

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

Deprecated: Use WeeklyMaintenanceWindow.ProtoReflect.Descriptor instead.

func (*WeeklyMaintenanceWindow) GetDay added in v0.3.0

func (*WeeklyMaintenanceWindow) GetStartTime added in v0.3.0

func (x *WeeklyMaintenanceWindow) GetStartTime() *timeofday.TimeOfDay

func (*WeeklyMaintenanceWindow) ProtoMessage added in v0.3.0

func (*WeeklyMaintenanceWindow) ProtoMessage()

func (*WeeklyMaintenanceWindow) ProtoReflect added in v0.3.0

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

func (*WeeklyMaintenanceWindow) Reset added in v0.3.0

func (x *WeeklyMaintenanceWindow) Reset()

func (*WeeklyMaintenanceWindow) String added in v0.3.0

func (x *WeeklyMaintenanceWindow) String() string

type ZoneDistributionConfig

type ZoneDistributionConfig struct {

	// Optional. Defines zone where all resources will be allocated with
	// SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.
	Zone string `protobuf:"bytes,2,opt,name=zone,proto3" json:"zone,omitempty"`
	// Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
	Mode ZoneDistributionConfig_ZoneDistributionMode `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

Zone distribution configuration for allocation of instance resources.

func (*ZoneDistributionConfig) Descriptor deprecated

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

Deprecated: Use ZoneDistributionConfig.ProtoReflect.Descriptor instead.

func (*ZoneDistributionConfig) GetMode

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

Possible zone distribution modes.

const (
	// Not Set. Default: MULTI_ZONE
	ZoneDistributionConfig_ZONE_DISTRIBUTION_MODE_UNSPECIFIED ZoneDistributionConfig_ZoneDistributionMode = 0
	// Distribute resources across 3 zones picked at random within the
	// region.
	ZoneDistributionConfig_MULTI_ZONE ZoneDistributionConfig_ZoneDistributionMode = 1
	// Provision resources in a single zone. Zone field must be specified.
	ZoneDistributionConfig_SINGLE_ZONE ZoneDistributionConfig_ZoneDistributionMode = 2
)

func (ZoneDistributionConfig_ZoneDistributionMode) Descriptor

func (ZoneDistributionConfig_ZoneDistributionMode) Enum

func (ZoneDistributionConfig_ZoneDistributionMode) EnumDescriptor deprecated

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

Deprecated: Use ZoneDistributionConfig_ZoneDistributionMode.Descriptor instead.

func (ZoneDistributionConfig_ZoneDistributionMode) Number

func (ZoneDistributionConfig_ZoneDistributionMode) String

func (ZoneDistributionConfig_ZoneDistributionMode) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL