Package cloud.google.com/go/spanner/admin/instance/apiv1/instancepb (v1.77.0)

Variables

FulfillmentPeriod_name, FulfillmentPeriod_value

var (
	FulfillmentPeriod_name = map[int32]string{
		0: "FULFILLMENT_PERIOD_UNSPECIFIED",
		1: "FULFILLMENT_PERIOD_NORMAL",
		2: "FULFILLMENT_PERIOD_EXTENDED",
	}
	FulfillmentPeriod_value = map[string]int32{
		"FULFILLMENT_PERIOD_UNSPECIFIED": 0,
		"FULFILLMENT_PERIOD_NORMAL":      1,
		"FULFILLMENT_PERIOD_EXTENDED":    2,
	}
)

Enum value maps for FulfillmentPeriod.

ReplicaInfo_ReplicaType_name, ReplicaInfo_ReplicaType_value

var (
	ReplicaInfo_ReplicaType_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "READ_WRITE",
		2: "READ_ONLY",
		3: "WITNESS",
	}
	ReplicaInfo_ReplicaType_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"READ_WRITE":       1,
		"READ_ONLY":        2,
		"WITNESS":          3,
	}
)

Enum value maps for ReplicaInfo_ReplicaType.

InstanceConfig_Type_name, InstanceConfig_Type_value

var (
	InstanceConfig_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "GOOGLE_MANAGED",
		2: "USER_MANAGED",
	}
	InstanceConfig_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"GOOGLE_MANAGED":   1,
		"USER_MANAGED":     2,
	}
)

Enum value maps for InstanceConfig_Type.

InstanceConfig_State_name, InstanceConfig_State_value

var (
	InstanceConfig_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
	}
	InstanceConfig_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"READY":             2,
	}
)

Enum value maps for InstanceConfig_State.

InstanceConfig_FreeInstanceAvailability_name, InstanceConfig_FreeInstanceAvailability_value

var (
	InstanceConfig_FreeInstanceAvailability_name = map[int32]string{
		0: "FREE_INSTANCE_AVAILABILITY_UNSPECIFIED",
		1: "AVAILABLE",
		2: "UNSUPPORTED",
		3: "DISABLED",
		4: "QUOTA_EXCEEDED",
	}
	InstanceConfig_FreeInstanceAvailability_value = map[string]int32{
		"FREE_INSTANCE_AVAILABILITY_UNSPECIFIED": 0,
		"AVAILABLE":                              1,
		"UNSUPPORTED":                            2,
		"DISABLED":                               3,
		"QUOTA_EXCEEDED":                         4,
	}
)

Enum value maps for InstanceConfig_FreeInstanceAvailability.

InstanceConfig_QuorumType_name, InstanceConfig_QuorumType_value

var (
	InstanceConfig_QuorumType_name = map[int32]string{
		0: "QUORUM_TYPE_UNSPECIFIED",
		1: "REGION",
		2: "DUAL_REGION",
		3: "MULTI_REGION",
	}
	InstanceConfig_QuorumType_value = map[string]int32{
		"QUORUM_TYPE_UNSPECIFIED": 0,
		"REGION":                  1,
		"DUAL_REGION":             2,
		"MULTI_REGION":            3,
	}
)

Enum value maps for InstanceConfig_QuorumType.

Instance_State_name, Instance_State_value

var (
	Instance_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
	}
	Instance_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"READY":             2,
	}
)

Enum value maps for Instance_State.

Instance_InstanceType_name, Instance_InstanceType_value

var (
	Instance_InstanceType_name = map[int32]string{
		0: "INSTANCE_TYPE_UNSPECIFIED",
		1: "PROVISIONED",
		2: "FREE_INSTANCE",
	}
	Instance_InstanceType_value = map[string]int32{
		"INSTANCE_TYPE_UNSPECIFIED": 0,
		"PROVISIONED":               1,
		"FREE_INSTANCE":             2,
	}
)

Enum value maps for Instance_InstanceType.

Instance_Edition_name, Instance_Edition_value

var (
	Instance_Edition_name = map[int32]string{
		0: "EDITION_UNSPECIFIED",
		1: "STANDARD",
		2: "ENTERPRISE",
		3: "ENTERPRISE_PLUS",
	}
	Instance_Edition_value = map[string]int32{
		"EDITION_UNSPECIFIED": 0,
		"STANDARD":            1,
		"ENTERPRISE":          2,
		"ENTERPRISE_PLUS":     3,
	}
)

Enum value maps for Instance_Edition.

Instance_DefaultBackupScheduleType_name, Instance_DefaultBackupScheduleType_value

var (
	Instance_DefaultBackupScheduleType_name = map[int32]string{
		0: "DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED",
		1: "NONE",
		2: "AUTOMATIC",
	}
	Instance_DefaultBackupScheduleType_value = map[string]int32{
		"DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED": 0,
		"NONE":      1,
		"AUTOMATIC": 2,
	}
)

Enum value maps for Instance_DefaultBackupScheduleType.

FreeInstanceMetadata_ExpireBehavior_name, FreeInstanceMetadata_ExpireBehavior_value

var (
	FreeInstanceMetadata_ExpireBehavior_name = map[int32]string{
		0: "EXPIRE_BEHAVIOR_UNSPECIFIED",
		1: "FREE_TO_PROVISIONED",
		2: "REMOVE_AFTER_GRACE_PERIOD",
	}
	FreeInstanceMetadata_ExpireBehavior_value = map[string]int32{
		"EXPIRE_BEHAVIOR_UNSPECIFIED": 0,
		"FREE_TO_PROVISIONED":         1,
		"REMOVE_AFTER_GRACE_PERIOD":   2,
	}
)

Enum value maps for FreeInstanceMetadata_ExpireBehavior.

InstancePartition_State_name, InstancePartition_State_value

var (
	InstancePartition_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "CREATING",
		2: "READY",
	}
	InstancePartition_State_value = map[string]int32{
		"STATE_UNSPECIFIED": 0,
		"CREATING":          1,
		"READY":             2,
	}
)

Enum value maps for InstancePartition_State.

File_google_spanner_admin_instance_v1_common_proto

var File_google_spanner_admin_instance_v1_common_proto protoreflect.FileDescriptor

File_google_spanner_admin_instance_v1_spanner_instance_admin_proto

var File_google_spanner_admin_instance_v1_spanner_instance_admin_proto protoreflect.FileDescriptor

Functions

func RegisterInstanceAdminServer

func RegisterInstanceAdminServer(s *grpc.Server, srv InstanceAdminServer)

AutoscalingConfig

type AutoscalingConfig struct {
	AutoscalingLimits *AutoscalingConfig_AutoscalingLimits `protobuf:"bytes,1,opt,name=autoscaling_limits,json=autoscalingLimits,proto3" json:"autoscaling_limits,omitempty"`

	AutoscalingTargets *AutoscalingConfig_AutoscalingTargets `protobuf:"bytes,2,opt,name=autoscaling_targets,json=autoscalingTargets,proto3" json:"autoscaling_targets,omitempty"`

	AsymmetricAutoscalingOptions []*AutoscalingConfig_AsymmetricAutoscalingOption "" /* 147 byte string literal not displayed */

}

Autoscaling configuration for an instance.

func (*AutoscalingConfig) Descriptor

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

Deprecated: Use AutoscalingConfig.ProtoReflect.Descriptor instead.

func (*AutoscalingConfig) GetAsymmetricAutoscalingOptions

func (x *AutoscalingConfig) GetAsymmetricAutoscalingOptions() []*AutoscalingConfig_AsymmetricAutoscalingOption

func (*AutoscalingConfig) GetAutoscalingLimits

func (x *AutoscalingConfig) GetAutoscalingLimits() *AutoscalingConfig_AutoscalingLimits

func (*AutoscalingConfig) GetAutoscalingTargets

func (x *AutoscalingConfig) GetAutoscalingTargets() *AutoscalingConfig_AutoscalingTargets

func (*AutoscalingConfig) ProtoMessage

func (*AutoscalingConfig) ProtoMessage()

func (*AutoscalingConfig) ProtoReflect

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

func (*AutoscalingConfig) Reset

func (x *AutoscalingConfig) Reset()

func (*AutoscalingConfig) String

func (x *AutoscalingConfig) String() string

AutoscalingConfig_AsymmetricAutoscalingOption

type AutoscalingConfig_AsymmetricAutoscalingOption struct {

	// Required. Selects the replicas to which this AsymmetricAutoscalingOption
	// applies. Only read-only replicas are supported.
	ReplicaSelection *ReplicaSelection `protobuf:"bytes,1,opt,name=replica_selection,json=replicaSelection,proto3" json:"replica_selection,omitempty"`
	// Optional. Overrides applied to the top-level autoscaling configuration
	// for the selected replicas.
	Overrides *AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides `protobuf:"bytes,2,opt,name=overrides,proto3" json:"overrides,omitempty"`
	// contains filtered or unexported fields
}

AsymmetricAutoscalingOption specifies the scaling of replicas identified by the given selection.

func (*AutoscalingConfig_AsymmetricAutoscalingOption) Descriptor

Deprecated: Use AutoscalingConfig_AsymmetricAutoscalingOption.ProtoReflect.Descriptor instead.

func (*AutoscalingConfig_AsymmetricAutoscalingOption) GetOverrides

func (*AutoscalingConfig_AsymmetricAutoscalingOption) GetReplicaSelection

func (*AutoscalingConfig_AsymmetricAutoscalingOption) ProtoMessage

func (*AutoscalingConfig_AsymmetricAutoscalingOption) ProtoReflect

func (*AutoscalingConfig_AsymmetricAutoscalingOption) Reset

func (*AutoscalingConfig_AsymmetricAutoscalingOption) String

AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides

type AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides struct {
	AutoscalingLimits *AutoscalingConfig_AutoscalingLimits `protobuf:"bytes,1,opt,name=autoscaling_limits,json=autoscalingLimits,proto3" json:"autoscaling_limits,omitempty"`

	AutoscalingTargetHighPriorityCpuUtilizationPercent int32 "" /* 222 byte string literal not displayed */

}

Overrides the top-level autoscaling configuration for the replicas identified by replica_selection. All fields in this message are optional. Any unspecified fields will use the corresponding values from the top-level autoscaling configuration.

func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) Descriptor

Deprecated: Use AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides.ProtoReflect.Descriptor instead.

func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) GetAutoscalingLimits

func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) GetAutoscalingTargetHighPriorityCpuUtilizationPercent

func (x *AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) GetAutoscalingTargetHighPriorityCpuUtilizationPercent() int32

func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) ProtoMessage

func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) ProtoReflect

func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) Reset

func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) String

AutoscalingConfig_AutoscalingLimits

type AutoscalingConfig_AutoscalingLimits struct {

	// The minimum compute capacity for the instance.
	//
	// Types that are assignable to MinLimit:
	//
	//	*AutoscalingConfig_AutoscalingLimits_MinNodes
	//	*AutoscalingConfig_AutoscalingLimits_MinProcessingUnits
	MinLimit isAutoscalingConfig_AutoscalingLimits_MinLimit `protobuf_oneof:"min_limit"`
	// The maximum compute capacity for the instance. The maximum compute
	// capacity should be less than or equal to 10X the minimum compute
	// capacity.
	//
	// Types that are assignable to MaxLimit:
	//
	//	*AutoscalingConfig_AutoscalingLimits_MaxNodes
	//	*AutoscalingConfig_AutoscalingLimits_MaxProcessingUnits
	MaxLimit isAutoscalingConfig_AutoscalingLimits_MaxLimit `protobuf_oneof:"max_limit"`
	// contains filtered or unexported fields
}

The autoscaling limits for the instance. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the min_limit and max_limit.

func (*AutoscalingConfig_AutoscalingLimits) Descriptor

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

Deprecated: Use AutoscalingConfig_AutoscalingLimits.ProtoReflect.Descriptor instead.

func (*AutoscalingConfig_AutoscalingLimits) GetMaxLimit

func (m *AutoscalingConfig_AutoscalingLimits) GetMaxLimit() isAutoscalingConfig_AutoscalingLimits_MaxLimit

func (*AutoscalingConfig_AutoscalingLimits) GetMaxNodes

func (x *AutoscalingConfig_AutoscalingLimits) GetMaxNodes() int32

func (*AutoscalingConfig_AutoscalingLimits) GetMaxProcessingUnits

func (x *AutoscalingConfig_AutoscalingLimits) GetMaxProcessingUnits() int32

func (*AutoscalingConfig_AutoscalingLimits) GetMinLimit

func (m *AutoscalingConfig_AutoscalingLimits) GetMinLimit() isAutoscalingConfig_AutoscalingLimits_MinLimit

func (*AutoscalingConfig_AutoscalingLimits) GetMinNodes

func (x *AutoscalingConfig_AutoscalingLimits) GetMinNodes() int32

func (*AutoscalingConfig_AutoscalingLimits) GetMinProcessingUnits

func (x *AutoscalingConfig_AutoscalingLimits) GetMinProcessingUnits() int32

func (*AutoscalingConfig_AutoscalingLimits) ProtoMessage

func (*AutoscalingConfig_AutoscalingLimits) ProtoMessage()

func (*AutoscalingConfig_AutoscalingLimits) ProtoReflect

func (*AutoscalingConfig_AutoscalingLimits) Reset

func (*AutoscalingConfig_AutoscalingLimits) String

AutoscalingConfig_AutoscalingLimits_MaxNodes

type AutoscalingConfig_AutoscalingLimits_MaxNodes struct {
	// Maximum number of nodes allocated to the instance. If set, this number
	// should be greater than or equal to min_nodes.
	MaxNodes int32 `protobuf:"varint,3,opt,name=max_nodes,json=maxNodes,proto3,oneof"`
}

AutoscalingConfig_AutoscalingLimits_MaxProcessingUnits

type AutoscalingConfig_AutoscalingLimits_MaxProcessingUnits struct {
	// Maximum number of processing units allocated to the instance. If set,
	// this number should be multiples of 1000 and be greater than or equal to
	// min_processing_units.
	MaxProcessingUnits int32 `protobuf:"varint,4,opt,name=max_processing_units,json=maxProcessingUnits,proto3,oneof"`
}

AutoscalingConfig_AutoscalingLimits_MinNodes

type AutoscalingConfig_AutoscalingLimits_MinNodes struct {
	// Minimum number of nodes allocated to the instance. If set, this number
	// should be greater than or equal to 1.
	MinNodes int32 `protobuf:"varint,1,opt,name=min_nodes,json=minNodes,proto3,oneof"`
}

AutoscalingConfig_AutoscalingLimits_MinProcessingUnits

type AutoscalingConfig_AutoscalingLimits_MinProcessingUnits struct {
	// Minimum number of processing units allocated to the instance. If set,
	// this number should be multiples of 1000.
	MinProcessingUnits int32 `protobuf:"varint,2,opt,name=min_processing_units,json=minProcessingUnits,proto3,oneof"`
}

AutoscalingConfig_AutoscalingTargets

type AutoscalingConfig_AutoscalingTargets struct {
	HighPriorityCpuUtilizationPercent int32 "" /* 167 byte string literal not displayed */

	StorageUtilizationPercent int32 "" /* 139 byte string literal not displayed */

}

The autoscaling targets for an instance.

func (*AutoscalingConfig_AutoscalingTargets) Descriptor

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

Deprecated: Use AutoscalingConfig_AutoscalingTargets.ProtoReflect.Descriptor instead.

func (*AutoscalingConfig_AutoscalingTargets) GetHighPriorityCpuUtilizationPercent

func (x *AutoscalingConfig_AutoscalingTargets) GetHighPriorityCpuUtilizationPercent() int32

func (*AutoscalingConfig_AutoscalingTargets) GetStorageUtilizationPercent

func (x *AutoscalingConfig_AutoscalingTargets) GetStorageUtilizationPercent() int32

func (*AutoscalingConfig_AutoscalingTargets) ProtoMessage

func (*AutoscalingConfig_AutoscalingTargets) ProtoMessage()

func (*AutoscalingConfig_AutoscalingTargets) ProtoReflect

func (*AutoscalingConfig_AutoscalingTargets) Reset

func (*AutoscalingConfig_AutoscalingTargets) String

CreateInstanceConfigMetadata

type CreateInstanceConfigMetadata struct {

	// The target instance configuration end state.
	InstanceConfig *InstanceConfig `protobuf:"bytes,1,opt,name=instance_config,json=instanceConfig,proto3" json:"instance_config,omitempty"`
	// The progress of the
	// [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig]
	// operation.
	Progress *OperationProgress `protobuf:"bytes,2,opt,name=progress,proto3" json:"progress,omitempty"`
	// The time at which this operation was cancelled.
	CancelTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata type for the operation returned by [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].

func (*CreateInstanceConfigMetadata) Descriptor

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

Deprecated: Use CreateInstanceConfigMetadata.ProtoReflect.Descriptor instead.

func (*CreateInstanceConfigMetadata) GetCancelTime

func (*CreateInstanceConfigMetadata) GetInstanceConfig

func (x *CreateInstanceConfigMetadata) GetInstanceConfig() *InstanceConfig

func (*CreateInstanceConfigMetadata) GetProgress

func (*CreateInstanceConfigMetadata) ProtoMessage

func (*CreateInstanceConfigMetadata) ProtoMessage()

func (*CreateInstanceConfigMetadata) ProtoReflect

func (*CreateInstanceConfigMetadata) Reset

func (x *CreateInstanceConfigMetadata) Reset()

func (*CreateInstanceConfigMetadata) String

CreateInstanceConfigRequest

type CreateInstanceConfigRequest struct {

	// Required. The name of the project in which to create the instance
	// configuration. Values are of the form `projects/

The request for [CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].

func (*CreateInstanceConfigRequest) Descriptor

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

Deprecated: Use CreateInstanceConfigRequest.ProtoReflect.Descriptor instead.

func (*CreateInstanceConfigRequest) GetInstanceConfig

func (x *CreateInstanceConfigRequest) GetInstanceConfig() *InstanceConfig

func (*CreateInstanceConfigRequest) GetInstanceConfigId

func (x *CreateInstanceConfigRequest) GetInstanceConfigId() string

func (*CreateInstanceConfigRequest) GetParent

func (x *CreateInstanceConfigRequest) GetParent() string

func (*CreateInstanceConfigRequest) GetValidateOnly

func (x *CreateInstanceConfigRequest) GetValidateOnly() bool

func (*CreateInstanceConfigRequest) ProtoMessage

func (*CreateInstanceConfigRequest) ProtoMessage()

func (*CreateInstanceConfigRequest) ProtoReflect

func (*CreateInstanceConfigRequest) Reset

func (x *CreateInstanceConfigRequest) Reset()

func (*CreateInstanceConfigRequest) String

func (x *CreateInstanceConfigRequest) String() string

CreateInstanceMetadata

type CreateInstanceMetadata struct {
	Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`

	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	CancelTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"`

	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`

	ExpectedFulfillmentPeriod FulfillmentPeriod "" /* 195 byte string literal not displayed */

}

Metadata type for the operation returned by [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].

func (*CreateInstanceMetadata) Descriptor

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

Deprecated: Use CreateInstanceMetadata.ProtoReflect.Descriptor instead.

func (*CreateInstanceMetadata) GetCancelTime

func (x *CreateInstanceMetadata) GetCancelTime() *timestamppb.Timestamp

func (*CreateInstanceMetadata) GetEndTime

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

func (*CreateInstanceMetadata) GetExpectedFulfillmentPeriod

func (x *CreateInstanceMetadata) GetExpectedFulfillmentPeriod() FulfillmentPeriod

func (*CreateInstanceMetadata) GetInstance

func (x *CreateInstanceMetadata) GetInstance() *Instance

func (*CreateInstanceMetadata) GetStartTime

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

func (*CreateInstanceMetadata) ProtoMessage

func (*CreateInstanceMetadata) ProtoMessage()

func (*CreateInstanceMetadata) ProtoReflect

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

func (*CreateInstanceMetadata) Reset

func (x *CreateInstanceMetadata) Reset()

func (*CreateInstanceMetadata) String

func (x *CreateInstanceMetadata) String() string

CreateInstancePartitionMetadata

type CreateInstancePartitionMetadata struct {

	// The instance partition being created.
	InstancePartition *InstancePartition `protobuf:"bytes,1,opt,name=instance_partition,json=instancePartition,proto3" json:"instance_partition,omitempty"`
	// The time at which the
	// [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition]
	// request was received.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time at which this operation was cancelled. If set, this operation is
	// in the process of undoing itself (which is guaranteed to succeed) and
	// cannot be cancelled again.
	CancelTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"`
	// The time at which this operation failed or was completed successfully.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata type for the operation returned by [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition].

func (*CreateInstancePartitionMetadata) Descriptor

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

Deprecated: Use CreateInstancePartitionMetadata.ProtoReflect.Descriptor instead.

func (*CreateInstancePartitionMetadata) GetCancelTime

func (*CreateInstancePartitionMetadata) GetEndTime

func (*CreateInstancePartitionMetadata) GetInstancePartition

func (x *CreateInstancePartitionMetadata) GetInstancePartition() *InstancePartition

func (*CreateInstancePartitionMetadata) GetStartTime

func (*CreateInstancePartitionMetadata) ProtoMessage

func (*CreateInstancePartitionMetadata) ProtoMessage()

func (*CreateInstancePartitionMetadata) ProtoReflect

func (*CreateInstancePartitionMetadata) Reset

func (*CreateInstancePartitionMetadata) String

CreateInstancePartitionRequest

type CreateInstancePartitionRequest struct {

	// Required. The name of the instance in which to create the instance
	// partition. Values are of the form
	// `projects/

The request for [CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition].

func (*CreateInstancePartitionRequest) Descriptor

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

Deprecated: Use CreateInstancePartitionRequest.ProtoReflect.Descriptor instead.

func (*CreateInstancePartitionRequest) GetInstancePartition

func (x *CreateInstancePartitionRequest) GetInstancePartition() *InstancePartition

func (*CreateInstancePartitionRequest) GetInstancePartitionId

func (x *CreateInstancePartitionRequest) GetInstancePartitionId() string

func (*CreateInstancePartitionRequest) GetParent

func (x *CreateInstancePartitionRequest) GetParent() string

func (*CreateInstancePartitionRequest) ProtoMessage

func (*CreateInstancePartitionRequest) ProtoMessage()

func (*CreateInstancePartitionRequest) ProtoReflect

func (*CreateInstancePartitionRequest) Reset

func (x *CreateInstancePartitionRequest) Reset()

func (*CreateInstancePartitionRequest) String

CreateInstanceRequest

type CreateInstanceRequest struct {

	// Required. The name of the project in which to create the instance. Values
	// are of the form `projects/

The request for [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].

func (*CreateInstanceRequest) Descriptor

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

DeleteInstanceConfigRequest

type DeleteInstanceConfigRequest struct {

	// Required. The name of the instance configuration to be deleted.
	// Values are of the form
	// `projects/

The request for [DeleteInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstanceConfig].

func (*DeleteInstanceConfigRequest) Descriptor

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

Deprecated: Use DeleteInstanceConfigRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceConfigRequest) GetEtag

func (x *DeleteInstanceConfigRequest) GetEtag() string

func (*DeleteInstanceConfigRequest) GetName

func (x *DeleteInstanceConfigRequest) GetName() string

func (*DeleteInstanceConfigRequest) GetValidateOnly

func (x *DeleteInstanceConfigRequest) GetValidateOnly() bool

func (*DeleteInstanceConfigRequest) ProtoMessage

func (*DeleteInstanceConfigRequest) ProtoMessage()

func (*DeleteInstanceConfigRequest) ProtoReflect

func (*DeleteInstanceConfigRequest) Reset

func (x *DeleteInstanceConfigRequest) Reset()

func (*DeleteInstanceConfigRequest) String

func (x *DeleteInstanceConfigRequest) String() string

DeleteInstancePartitionRequest

type DeleteInstancePartitionRequest struct {

	// Required. The name of the instance partition to be deleted.
	// Values are of the form
	// `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. If not empty, the API only deletes the instance partition when
	// the etag provided matches the current status of the requested instance
	// partition. Otherwise, deletes the instance partition without checking the
	// current status of the requested instance partition.
	Etag string `protobuf:"bytes,2,opt,name=etag,proto3" json:"etag,omitempty"`
	// contains filtered or unexported fields
}

The request for [DeleteInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstancePartition].

func (*DeleteInstancePartitionRequest) Descriptor

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

Deprecated: Use DeleteInstancePartitionRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstancePartitionRequest) GetEtag

func (*DeleteInstancePartitionRequest) GetName

func (*DeleteInstancePartitionRequest) ProtoMessage

func (*DeleteInstancePartitionRequest) ProtoMessage()

func (*DeleteInstancePartitionRequest) ProtoReflect

func (*DeleteInstancePartitionRequest) Reset

func (x *DeleteInstancePartitionRequest) Reset()

func (*DeleteInstancePartitionRequest) String

DeleteInstanceRequest

type DeleteInstanceRequest struct {

	// Required. The name of the instance to be deleted. Values are of the form
	// `projects/

The request for [DeleteInstance][google.spanner.admin.instance.v1.InstanceAdmin.DeleteInstance].

func (*DeleteInstanceRequest) Descriptor

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

Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.

func (*DeleteInstanceRequest) GetName

func (x *DeleteInstanceRequest) GetName() 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

FreeInstanceMetadata

type FreeInstanceMetadata struct {
	ExpireTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"`

	UpgradeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=upgrade_time,json=upgradeTime,proto3" json:"upgrade_time,omitempty"`

	ExpireBehavior FreeInstanceMetadata_ExpireBehavior "" /* 178 byte string literal not displayed */

}

Free instance specific metadata that is kept even after an instance has been upgraded for tracking purposes.

func (*FreeInstanceMetadata) Descriptor

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

Deprecated: Use FreeInstanceMetadata.ProtoReflect.Descriptor instead.

func (*FreeInstanceMetadata) GetExpireBehavior

func (*FreeInstanceMetadata) GetExpireTime

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

func (*FreeInstanceMetadata) GetUpgradeTime

func (x *FreeInstanceMetadata) GetUpgradeTime() *timestamppb.Timestamp

func (*FreeInstanceMetadata) ProtoMessage

func (*FreeInstanceMetadata) ProtoMessage()

func (*FreeInstanceMetadata) ProtoReflect

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

func (*FreeInstanceMetadata) Reset

func (x *FreeInstanceMetadata) Reset()

func (*FreeInstanceMetadata) String

func (x *FreeInstanceMetadata) String() string

FreeInstanceMetadata_ExpireBehavior

type FreeInstanceMetadata_ExpireBehavior int32

Allows users to change behavior when a free instance expires.

FreeInstanceMetadata_EXPIRE_BEHAVIOR_UNSPECIFIED, FreeInstanceMetadata_FREE_TO_PROVISIONED, FreeInstanceMetadata_REMOVE_AFTER_GRACE_PERIOD

const (
	// Not specified.
	FreeInstanceMetadata_EXPIRE_BEHAVIOR_UNSPECIFIED FreeInstanceMetadata_ExpireBehavior = 0
	// When the free instance expires, upgrade the instance to a provisioned
	// instance.
	FreeInstanceMetadata_FREE_TO_PROVISIONED FreeInstanceMetadata_ExpireBehavior = 1
	// When the free instance expires, disable the instance, and delete it
	// after the grace period passes if it has not been upgraded.
	FreeInstanceMetadata_REMOVE_AFTER_GRACE_PERIOD FreeInstanceMetadata_ExpireBehavior = 2
)

func (FreeInstanceMetadata_ExpireBehavior) Descriptor

func (FreeInstanceMetadata_ExpireBehavior) Enum

func (FreeInstanceMetadata_ExpireBehavior) EnumDescriptor

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

Deprecated: Use FreeInstanceMetadata_ExpireBehavior.Descriptor instead.

func (FreeInstanceMetadata_ExpireBehavior) Number

func (FreeInstanceMetadata_ExpireBehavior) String

func (FreeInstanceMetadata_ExpireBehavior) Type

FulfillmentPeriod

type FulfillmentPeriod int32

Indicates the expected fulfillment period of an operation.

FulfillmentPeriod_FULFILLMENT_PERIOD_UNSPECIFIED, FulfillmentPeriod_FULFILLMENT_PERIOD_NORMAL, FulfillmentPeriod_FULFILLMENT_PERIOD_EXTENDED

const (
	// Not specified.
	FulfillmentPeriod_FULFILLMENT_PERIOD_UNSPECIFIED FulfillmentPeriod = 0
	// Normal fulfillment period. The operation is expected to complete within
	// minutes.
	FulfillmentPeriod_FULFILLMENT_PERIOD_NORMAL FulfillmentPeriod = 1
	// Extended fulfillment period. It can take up to an hour for the operation
	// to complete.
	FulfillmentPeriod_FULFILLMENT_PERIOD_EXTENDED FulfillmentPeriod = 2
)

func (FulfillmentPeriod) Descriptor

func (FulfillmentPeriod) Enum

func (FulfillmentPeriod) EnumDescriptor

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

Deprecated: Use FulfillmentPeriod.Descriptor instead.

func (FulfillmentPeriod) Number

func (FulfillmentPeriod) String

func (x FulfillmentPeriod) String() string

func (FulfillmentPeriod) Type

GetInstanceConfigRequest

type GetInstanceConfigRequest struct {

	// Required. The name of the requested instance configuration. Values are of
	// the form `projects/

The request for [GetInstanceConfigRequest][google.spanner.admin.instance.v1.InstanceAdmin.GetInstanceConfig].

func (*GetInstanceConfigRequest) Descriptor

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

Deprecated: Use GetInstanceConfigRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceConfigRequest) GetName

func (x *GetInstanceConfigRequest) GetName() string

func (*GetInstanceConfigRequest) ProtoMessage

func (*GetInstanceConfigRequest) ProtoMessage()

func (*GetInstanceConfigRequest) ProtoReflect

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

func (*GetInstanceConfigRequest) Reset

func (x *GetInstanceConfigRequest) Reset()

func (*GetInstanceConfigRequest) String

func (x *GetInstanceConfigRequest) String() string

GetInstancePartitionRequest

type GetInstancePartitionRequest struct {

	// Required. The name of the requested instance partition. Values are of
	// the form
	// `projects/{project}/instances/{instance}/instancePartitions/{instance_partition}`.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

The request for [GetInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.GetInstancePartition].

func (*GetInstancePartitionRequest) Descriptor

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

Deprecated: Use GetInstancePartitionRequest.ProtoReflect.Descriptor instead.

func (*GetInstancePartitionRequest) GetName

func (x *GetInstancePartitionRequest) GetName() string

func (*GetInstancePartitionRequest) ProtoMessage

func (*GetInstancePartitionRequest) ProtoMessage()

func (*GetInstancePartitionRequest) ProtoReflect

func (*GetInstancePartitionRequest) Reset

func (x *GetInstancePartitionRequest) Reset()

func (*GetInstancePartitionRequest) String

func (x *GetInstancePartitionRequest) String() string

GetInstanceRequest

type GetInstanceRequest struct {

	// Required. The name of the requested instance. Values are of the form
	// `projects/

The request for [GetInstance][google.spanner.admin.instance.v1.InstanceAdmin.GetInstance].

func (*GetInstanceRequest) Descriptor

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

Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.

func (*GetInstanceRequest) GetFieldMask

func (x *GetInstanceRequest) GetFieldMask() *fieldmaskpb.FieldMask

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

Instance

type Instance struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	Config string `protobuf:"bytes,2,opt,name=config,proto3" json:"config,omitempty"`

	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`

	ProcessingUnits int32 `protobuf:"varint,9,opt,name=processing_units,json=processingUnits,proto3" json:"processing_units,omitempty"`

	ReplicaComputeCapacity []*ReplicaComputeCapacity "" /* 130 byte string literal not displayed */

	AutoscalingConfig *AutoscalingConfig `protobuf:"bytes,17,opt,name=autoscaling_config,json=autoscalingConfig,proto3" json:"autoscaling_config,omitempty"`

	State Instance_State `protobuf:"varint,6,opt,name=state,proto3,enum=google.spanner.admin.instance.v1.Instance_State" json:"state,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	InstanceType Instance_InstanceType "" /* 159 byte string literal not displayed */

	EndpointUris []string `protobuf:"bytes,8,rep,name=endpoint_uris,json=endpointUris,proto3" json:"endpoint_uris,omitempty"`

	CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	FreeInstanceMetadata *FreeInstanceMetadata `protobuf:"bytes,13,opt,name=free_instance_metadata,json=freeInstanceMetadata,proto3" json:"free_instance_metadata,omitempty"`

	Edition Instance_Edition `protobuf:"varint,20,opt,name=edition,proto3,enum=google.spanner.admin.instance.v1.Instance_Edition" json:"edition,omitempty"`

	DefaultBackupScheduleType Instance_DefaultBackupScheduleType "" /* 215 byte string literal not displayed */

}

An isolated set of Cloud Spanner resources on which databases can be hosted.

func (*Instance) Descriptor

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

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetAutoscalingConfig

func (x *Instance) GetAutoscalingConfig() *AutoscalingConfig

func (*Instance) GetConfig

func (x *Instance) GetConfig() string

func (*Instance) GetCreateTime

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

func (*Instance) GetDefaultBackupScheduleType

func (x *Instance) GetDefaultBackupScheduleType() Instance_DefaultBackupScheduleType

func (*Instance) GetDisplayName

func (x *Instance) GetDisplayName() string

func (*Instance) GetEdition

func (x *Instance) GetEdition() Instance_Edition

func (*Instance) GetEndpointUris

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

func (*Instance) GetFreeInstanceMetadata

func (x *Instance) GetFreeInstanceMetadata() *FreeInstanceMetadata

func (*Instance) GetInstanceType

func (x *Instance) GetInstanceType() Instance_InstanceType

func (*Instance) GetLabels

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

func (*Instance) GetName

func (x *Instance) GetName() string

func (*Instance) GetNodeCount

func (x *Instance) GetNodeCount() int32

func (*Instance) GetProcessingUnits

func (x *Instance) GetProcessingUnits() int32

func (*Instance) GetReplicaComputeCapacity

func (x *Instance) GetReplicaComputeCapacity() []*ReplicaComputeCapacity

func (*Instance) GetState

func (x *Instance) GetState() Instance_State

func (*Instance) GetUpdateTime

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

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

InstanceAdminClient

type InstanceAdminClient interface {
	// Lists the supported instance configurations for a given project.
	//
	// Returns both Google-managed configurations and user-managed
	// configurations.
	ListInstanceConfigs(ctx context.Context, in *ListInstanceConfigsRequest, opts ...grpc.CallOption) (*ListInstanceConfigsResponse, error)
	// Gets information about a particular instance configuration.
	GetInstanceConfig(ctx context.Context, in *GetInstanceConfigRequest, opts ...grpc.CallOption) (*InstanceConfig, error)
	// Creates an instance configuration and begins preparing it to be used. The
	// returned long-running operation
	// can be used to track the progress of preparing the new
	// instance configuration. The instance configuration name is assigned by the
	// caller. If the named instance configuration already exists,
	// `CreateInstanceConfig` returns `ALREADY_EXISTS`.
	//
	// Immediately after the request returns:
	//
	//   - The instance configuration is readable via the API, with all requested
	//     attributes. The instance configuration's
	//     [reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]
	//     field is set to true. Its state is `CREATING`.
	//
	// While the operation is pending:
	//
	//   - Cancelling the operation renders the instance configuration immediately
	//     unreadable via the API.
	//   - Except for deleting the creating resource, all other attempts to modify
	//     the instance configuration are rejected.
	//
	// Upon completion of the returned operation:
	//
	//   - Instances can be created using the instance configuration.
	//   - The instance configuration's
	//     [reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]
	//     field becomes false. Its state becomes `READY`.
	//
	// The returned long-running operation will
	// have a name of the format
	// `

InstanceAdminClient is the client API for InstanceAdmin service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewInstanceAdminClient

func NewInstanceAdminClient(cc grpc.ClientConnInterface) InstanceAdminClient

InstanceAdminServer

type InstanceAdminServer interface {
	// Lists the supported instance configurations for a given project.
	//
	// Returns both Google-managed configurations and user-managed
	// configurations.
	ListInstanceConfigs(context.Context, *ListInstanceConfigsRequest) (*ListInstanceConfigsResponse, error)
	// Gets information about a particular instance configuration.
	GetInstanceConfig(context.Context, *GetInstanceConfigRequest) (*InstanceConfig, error)
	// Creates an instance configuration and begins preparing it to be used. The
	// returned long-running operation
	// can be used to track the progress of preparing the new
	// instance configuration. The instance configuration name is assigned by the
	// caller. If the named instance configuration already exists,
	// `CreateInstanceConfig` returns `ALREADY_EXISTS`.
	//
	// Immediately after the request returns:
	//
	//   - The instance configuration is readable via the API, with all requested
	//     attributes. The instance configuration's
	//     [reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]
	//     field is set to true. Its state is `CREATING`.
	//
	// While the operation is pending:
	//
	//   - Cancelling the operation renders the instance configuration immediately
	//     unreadable via the API.
	//   - Except for deleting the creating resource, all other attempts to modify
	//     the instance configuration are rejected.
	//
	// Upon completion of the returned operation:
	//
	//   - Instances can be created using the instance configuration.
	//   - The instance configuration's
	//     [reconciling][google.spanner.admin.instance.v1.InstanceConfig.reconciling]
	//     field becomes false. Its state becomes `READY`.
	//
	// The returned long-running operation will
	// have a name of the format
	// `

InstanceAdminServer is the server API for InstanceAdmin service.

InstanceConfig

type InstanceConfig struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`

	ConfigType InstanceConfig_Type "" /* 150 byte string literal not displayed */

	Replicas []*ReplicaInfo `protobuf:"bytes,3,rep,name=replicas,proto3" json:"replicas,omitempty"`

	OptionalReplicas []*ReplicaInfo `protobuf:"bytes,6,rep,name=optional_replicas,json=optionalReplicas,proto3" json:"optional_replicas,omitempty"`

	BaseConfig string `protobuf:"bytes,7,opt,name=base_config,json=baseConfig,proto3" json:"base_config,omitempty"`

	Labels map[string]string "" /* 153 byte string literal not displayed */

	Etag string `protobuf:"bytes,9,opt,name=etag,proto3" json:"etag,omitempty"`

	LeaderOptions []string `protobuf:"bytes,4,rep,name=leader_options,json=leaderOptions,proto3" json:"leader_options,omitempty"`

	Reconciling bool `protobuf:"varint,10,opt,name=reconciling,proto3" json:"reconciling,omitempty"`

	State InstanceConfig_State `protobuf:"varint,11,opt,name=state,proto3,enum=google.spanner.admin.instance.v1.InstanceConfig_State" json:"state,omitempty"`

	FreeInstanceAvailability InstanceConfig_FreeInstanceAvailability "" /* 215 byte string literal not displayed */

	QuorumType InstanceConfig_QuorumType "" /* 157 byte string literal not displayed */

	StorageLimitPerProcessingUnit int64 "" /* 156 byte string literal not displayed */

}

A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.

func (*InstanceConfig) Descriptor

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

Deprecated: Use InstanceConfig.ProtoReflect.Descriptor instead.

func (*InstanceConfig) GetBaseConfig

func (x *InstanceConfig) GetBaseConfig() string

func (*InstanceConfig) GetConfigType

func (x *InstanceConfig) GetConfigType() InstanceConfig_Type

func (*InstanceConfig) GetDisplayName

func (x *InstanceConfig) GetDisplayName() string

func (*InstanceConfig) GetEtag

func (x *InstanceConfig) GetEtag() string

func (*InstanceConfig) GetFreeInstanceAvailability

func (x *InstanceConfig) GetFreeInstanceAvailability() InstanceConfig_FreeInstanceAvailability

func (*InstanceConfig) GetLabels

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

func (*InstanceConfig) GetLeaderOptions

func (x *InstanceConfig) GetLeaderOptions() []string

func (*InstanceConfig) GetName

func (x *InstanceConfig) GetName() string

func (*InstanceConfig) GetOptionalReplicas

func (x *InstanceConfig) GetOptionalReplicas() []*ReplicaInfo

func (*InstanceConfig) GetQuorumType

func (x *InstanceConfig) GetQuorumType() InstanceConfig_QuorumType

func (*InstanceConfig) GetReconciling

func (x *InstanceConfig) GetReconciling() bool

func (*InstanceConfig) GetReplicas

func (x *InstanceConfig) GetReplicas() []*ReplicaInfo

func (*InstanceConfig) GetState

func (x *InstanceConfig) GetState() InstanceConfig_State

func (*InstanceConfig) GetStorageLimitPerProcessingUnit

func (x *InstanceConfig) GetStorageLimitPerProcessingUnit() int64

func (*InstanceConfig) ProtoMessage

func (*InstanceConfig) ProtoMessage()

func (*InstanceConfig) ProtoReflect

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

func (*InstanceConfig) Reset

func (x *InstanceConfig) Reset()

func (*InstanceConfig) String

func (x *InstanceConfig) String() string

InstanceConfig_FreeInstanceAvailability

type InstanceConfig_FreeInstanceAvailability int32

Describes the availability for free instances to be created in an instance configuration.

InstanceConfig_FREE_INSTANCE_AVAILABILITY_UNSPECIFIED, InstanceConfig_AVAILABLE, InstanceConfig_UNSUPPORTED, InstanceConfig_DISABLED, InstanceConfig_QUOTA_EXCEEDED

const (
	// Not specified.
	InstanceConfig_FREE_INSTANCE_AVAILABILITY_UNSPECIFIED InstanceConfig_FreeInstanceAvailability = 0
	// Indicates that free instances are available to be created in this
	// instance configuration.
	InstanceConfig_AVAILABLE InstanceConfig_FreeInstanceAvailability = 1
	// Indicates that free instances are not supported in this instance
	// configuration.
	InstanceConfig_UNSUPPORTED InstanceConfig_FreeInstanceAvailability = 2
	// Indicates that free instances are currently not available to be created
	// in this instance configuration.
	InstanceConfig_DISABLED InstanceConfig_FreeInstanceAvailability = 3
	// Indicates that additional free instances cannot be created in this
	// instance configuration because the project has reached its limit of free
	// instances.
	InstanceConfig_QUOTA_EXCEEDED InstanceConfig_FreeInstanceAvailability = 4
)

func (InstanceConfig_FreeInstanceAvailability) Descriptor

func (InstanceConfig_FreeInstanceAvailability) Enum

func (InstanceConfig_FreeInstanceAvailability) EnumDescriptor

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

Deprecated: Use InstanceConfig_FreeInstanceAvailability.Descriptor instead.

func (InstanceConfig_FreeInstanceAvailability) Number

func (InstanceConfig_FreeInstanceAvailability) String

func (InstanceConfig_FreeInstanceAvailability) Type

InstanceConfig_QuorumType

type InstanceConfig_QuorumType int32

Indicates the quorum type of this instance configuration.

InstanceConfig_QUORUM_TYPE_UNSPECIFIED, InstanceConfig_REGION, InstanceConfig_DUAL_REGION, InstanceConfig_MULTI_REGION

const (
	// Quorum type not specified.
	InstanceConfig_QUORUM_TYPE_UNSPECIFIED InstanceConfig_QuorumType = 0
	// An instance configuration tagged with `REGION` quorum type forms a write
	// quorum in a single region.
	InstanceConfig_REGION InstanceConfig_QuorumType = 1
	// An instance configuration tagged with the `DUAL_REGION` quorum type forms
	// a write quorum with exactly two read-write regions in a multi-region
	// configuration.
	//
	// This instance configuration requires failover in the event of
	// regional failures.
	InstanceConfig_DUAL_REGION InstanceConfig_QuorumType = 2
	// An instance configuration tagged with the `MULTI_REGION` quorum type
	// forms a write quorum from replicas that are spread across more than one
	// region in a multi-region configuration.
	InstanceConfig_MULTI_REGION InstanceConfig_QuorumType = 3
)

func (InstanceConfig_QuorumType) Descriptor

func (InstanceConfig_QuorumType) Enum

func (InstanceConfig_QuorumType) EnumDescriptor

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

Deprecated: Use InstanceConfig_QuorumType.Descriptor instead.

func (InstanceConfig_QuorumType) Number

func (InstanceConfig_QuorumType) String

func (x InstanceConfig_QuorumType) String() string

func (InstanceConfig_QuorumType) Type

InstanceConfig_State

type InstanceConfig_State int32

Indicates the current state of the instance configuration.

InstanceConfig_STATE_UNSPECIFIED, InstanceConfig_CREATING, InstanceConfig_READY

const (
	// Not specified.
	InstanceConfig_STATE_UNSPECIFIED InstanceConfig_State = 0
	// The instance configuration is still being created.
	InstanceConfig_CREATING InstanceConfig_State = 1
	// The instance configuration is fully created and ready to be used to
	// create instances.
	InstanceConfig_READY InstanceConfig_State = 2
)

func (InstanceConfig_State) Descriptor

func (InstanceConfig_State) Enum

func (InstanceConfig_State) EnumDescriptor

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

Deprecated: Use InstanceConfig_State.Descriptor instead.

func (InstanceConfig_State) Number

func (InstanceConfig_State) String

func (x InstanceConfig_State) String() string

func (InstanceConfig_State) Type

InstanceConfig_Type

type InstanceConfig_Type int32

The type of this configuration.

InstanceConfig_TYPE_UNSPECIFIED, InstanceConfig_GOOGLE_MANAGED, InstanceConfig_USER_MANAGED

const (
	// Unspecified.
	InstanceConfig_TYPE_UNSPECIFIED InstanceConfig_Type = 0
	// Google-managed configuration.
	InstanceConfig_GOOGLE_MANAGED InstanceConfig_Type = 1
	// User-managed configuration.
	InstanceConfig_USER_MANAGED InstanceConfig_Type = 2
)

func (InstanceConfig_Type) Descriptor

func (InstanceConfig_Type) Enum

func (InstanceConfig_Type) EnumDescriptor

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

Deprecated: Use InstanceConfig_Type.Descriptor instead.

func (InstanceConfig_Type) Number

func (InstanceConfig_Type) String

func (x InstanceConfig_Type) String() string

func (InstanceConfig_Type) Type

InstancePartition

type InstancePartition struct {

	// Required. A unique identifier for the instance partition. Values are of the
	// form
	// `projects/

An isolated set of Cloud Spanner resources that databases can define placements on.

func (*InstancePartition) Descriptor

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

Deprecated: Use InstancePartition.ProtoReflect.Descriptor instead.

func (*InstancePartition) GetComputeCapacity

func (m *InstancePartition) GetComputeCapacity() isInstancePartition_ComputeCapacity

func (*InstancePartition) GetConfig

func (x *InstancePartition) GetConfig() string

func (*InstancePartition) GetCreateTime

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

func (*InstancePartition) GetDisplayName

func (x *InstancePartition) GetDisplayName() string

func (*InstancePartition) GetEtag

func (x *InstancePartition) GetEtag() string

func (*InstancePartition) GetName

func (x *InstancePartition) GetName() string

func (*InstancePartition) GetNodeCount

func (x *InstancePartition) GetNodeCount() int32

func (*InstancePartition) GetProcessingUnits

func (x *InstancePartition) GetProcessingUnits() int32

func (*InstancePartition) GetReferencingBackups

func (x *InstancePartition) GetReferencingBackups() []string

Deprecated: Marked as deprecated in google/spanner/admin/instance/v1/spanner_instance_admin.proto.

func (*InstancePartition) GetReferencingDatabases

func (x *InstancePartition) GetReferencingDatabases() []string

func (*InstancePartition) GetState

func (*InstancePartition) GetUpdateTime

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

func (*InstancePartition) ProtoMessage

func (*InstancePartition) ProtoMessage()

func (*InstancePartition) ProtoReflect

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

func (*InstancePartition) Reset

func (x *InstancePartition) Reset()

func (*InstancePartition) String

func (x *InstancePartition) String() string

InstancePartition_NodeCount

type InstancePartition_NodeCount struct {
	// The number of nodes allocated to this instance partition.
	//
	// Users can set the `node_count` field to specify the target number of
	// nodes allocated to the instance partition.
	//
	// This may be zero in API responses for instance partitions that are not
	// yet in state `READY`.
	NodeCount int32 `protobuf:"varint,5,opt,name=node_count,json=nodeCount,proto3,oneof"`
}

InstancePartition_ProcessingUnits

type InstancePartition_ProcessingUnits struct {
	// The number of processing units allocated to this instance partition.
	//
	// Users can set the `processing_units` field to specify the target number
	// of processing units allocated to the instance partition.
	//
	// This might be zero in API responses for instance partitions that are not
	// yet in the `READY` state.
	ProcessingUnits int32 `protobuf:"varint,6,opt,name=processing_units,json=processingUnits,proto3,oneof"`
}

InstancePartition_State

type InstancePartition_State int32

Indicates the current state of the instance partition.

InstancePartition_STATE_UNSPECIFIED, InstancePartition_CREATING, InstancePartition_READY

const (
	// Not specified.
	InstancePartition_STATE_UNSPECIFIED InstancePartition_State = 0
	// The instance partition is still being created. Resources may not be
	// available yet, and operations such as creating placements using this
	// instance partition may not work.
	InstancePartition_CREATING InstancePartition_State = 1
	// The instance partition is fully created and ready to do work such as
	// creating placements and using in databases.
	InstancePartition_READY InstancePartition_State = 2
)

func (InstancePartition_State) Descriptor

func (InstancePartition_State) Enum

func (InstancePartition_State) EnumDescriptor

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

Deprecated: Use InstancePartition_State.Descriptor instead.

func (InstancePartition_State) Number

func (InstancePartition_State) String

func (x InstancePartition_State) String() string

func (InstancePartition_State) Type

Instance_DefaultBackupScheduleType

type Instance_DefaultBackupScheduleType int32

Indicates the default backup schedule behavior for new databases within the instance.

Instance_DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED, Instance_NONE, Instance_AUTOMATIC

const (
	// Not specified.
	Instance_DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED Instance_DefaultBackupScheduleType = 0
	// A default backup schedule isn't created automatically when a new database
	// is created in the instance.
	Instance_NONE Instance_DefaultBackupScheduleType = 1
	// A default backup schedule is created automatically when a new database
	// is created in the instance. The default backup schedule creates a full
	// backup every 24 hours. These full backups are retained for 7 days.
	// You can edit or delete the default backup schedule once it's created.
	Instance_AUTOMATIC Instance_DefaultBackupScheduleType = 2
)

func (Instance_DefaultBackupScheduleType) Descriptor

func (Instance_DefaultBackupScheduleType) Enum

func (Instance_DefaultBackupScheduleType) EnumDescriptor

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

Deprecated: Use Instance_DefaultBackupScheduleType.Descriptor instead.

func (Instance_DefaultBackupScheduleType) Number

func (Instance_DefaultBackupScheduleType) String

func (Instance_DefaultBackupScheduleType) Type

Instance_Edition

type Instance_Edition int32

The edition selected for this instance. Different editions provide different capabilities at different price points.

Instance_EDITION_UNSPECIFIED, Instance_STANDARD, Instance_ENTERPRISE, Instance_ENTERPRISE_PLUS

const (
	// Edition not specified.
	Instance_EDITION_UNSPECIFIED Instance_Edition = 0
	// Standard edition.
	Instance_STANDARD Instance_Edition = 1
	// Enterprise edition.
	Instance_ENTERPRISE Instance_Edition = 2
	// Enterprise Plus edition.
	Instance_ENTERPRISE_PLUS Instance_Edition = 3
)

func (Instance_Edition) Descriptor

func (Instance_Edition) Enum

func (Instance_Edition) EnumDescriptor

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

Deprecated: Use Instance_Edition.Descriptor instead.

func (Instance_Edition) Number

func (Instance_Edition) String

func (x Instance_Edition) String() string

func (Instance_Edition) Type

Instance_InstanceType

type Instance_InstanceType int32

The type of this instance. The type can be used to distinguish product variants, that can affect aspects like: usage restrictions, quotas and billing. Currently this is used to distinguish FREE_INSTANCE vs PROVISIONED instances.

Instance_INSTANCE_TYPE_UNSPECIFIED, Instance_PROVISIONED, Instance_FREE_INSTANCE

const (
	// Not specified.
	Instance_INSTANCE_TYPE_UNSPECIFIED Instance_InstanceType = 0
	// Provisioned instances have dedicated resources, standard usage limits and
	// support.
	Instance_PROVISIONED Instance_InstanceType = 1
	// Free instances provide no guarantee for dedicated resources,
	// [node_count, processing_units] should be 0. They come
	// with stricter usage limits and limited support.
	Instance_FREE_INSTANCE Instance_InstanceType = 2
)

func (Instance_InstanceType) Descriptor

func (Instance_InstanceType) Enum

func (Instance_InstanceType) EnumDescriptor

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

Deprecated: Use Instance_InstanceType.Descriptor instead.

func (Instance_InstanceType) Number

func (Instance_InstanceType) String

func (x Instance_InstanceType) String() string

func (Instance_InstanceType) Type

Instance_State

type Instance_State int32

Indicates the current state of the instance.

Instance_STATE_UNSPECIFIED, Instance_CREATING, Instance_READY

const (
	// Not specified.
	Instance_STATE_UNSPECIFIED Instance_State = 0
	// The instance is still being created. Resources may not be
	// available yet, and operations such as database creation may not
	// work.
	Instance_CREATING Instance_State = 1
	// The instance is fully created and ready to do work such as
	// creating databases.
	Instance_READY Instance_State = 2
)

func (Instance_State) Descriptor

func (Instance_State) Enum

func (x Instance_State) Enum() *Instance_State

func (Instance_State) EnumDescriptor

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

ListInstanceConfigOperationsRequest

type ListInstanceConfigOperationsRequest struct {

	// Required. The project of the instance configuration operations.
	// Values are of the form `projects/

The request for [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].

func (*ListInstanceConfigOperationsRequest) Descriptor

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

Deprecated: Use ListInstanceConfigOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListInstanceConfigOperationsRequest) GetFilter

func (*ListInstanceConfigOperationsRequest) GetPageSize

func (x *ListInstanceConfigOperationsRequest) GetPageSize() int32

func (*ListInstanceConfigOperationsRequest) GetPageToken

func (x *ListInstanceConfigOperationsRequest) GetPageToken() string

func (*ListInstanceConfigOperationsRequest) GetParent

func (*ListInstanceConfigOperationsRequest) ProtoMessage

func (*ListInstanceConfigOperationsRequest) ProtoMessage()

func (*ListInstanceConfigOperationsRequest) ProtoReflect

func (*ListInstanceConfigOperationsRequest) Reset

func (*ListInstanceConfigOperationsRequest) String

ListInstanceConfigOperationsResponse

type ListInstanceConfigOperationsResponse struct {

	// The list of matching instance configuration long-running operations. Each
	// operation's name will be
	// prefixed by the name of the instance configuration. The operation's
	// metadata field type
	// `metadata.type_url` describes the type of the metadata.
	Operations []*longrunningpb.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`
	// `next_page_token` can be sent in a subsequent
	// [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations]
	// call to fetch more of the matching metadata.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response for [ListInstanceConfigOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigOperations].

func (*ListInstanceConfigOperationsResponse) Descriptor

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

Deprecated: Use ListInstanceConfigOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListInstanceConfigOperationsResponse) GetNextPageToken

func (x *ListInstanceConfigOperationsResponse) GetNextPageToken() string

func (*ListInstanceConfigOperationsResponse) GetOperations

func (*ListInstanceConfigOperationsResponse) ProtoMessage

func (*ListInstanceConfigOperationsResponse) ProtoMessage()

func (*ListInstanceConfigOperationsResponse) ProtoReflect

func (*ListInstanceConfigOperationsResponse) Reset

func (*ListInstanceConfigOperationsResponse) String

ListInstanceConfigsRequest

type ListInstanceConfigsRequest struct {

	// Required. The name of the project for which a list of supported instance
	// configurations is requested. Values are of the form
	// `projects/

The request for [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].

func (*ListInstanceConfigsRequest) Descriptor

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

Deprecated: Use ListInstanceConfigsRequest.ProtoReflect.Descriptor instead.

func (*ListInstanceConfigsRequest) GetPageSize

func (x *ListInstanceConfigsRequest) GetPageSize() int32

func (*ListInstanceConfigsRequest) GetPageToken

func (x *ListInstanceConfigsRequest) GetPageToken() string

func (*ListInstanceConfigsRequest) GetParent

func (x *ListInstanceConfigsRequest) GetParent() string

func (*ListInstanceConfigsRequest) ProtoMessage

func (*ListInstanceConfigsRequest) ProtoMessage()

func (*ListInstanceConfigsRequest) ProtoReflect

func (*ListInstanceConfigsRequest) Reset

func (x *ListInstanceConfigsRequest) Reset()

func (*ListInstanceConfigsRequest) String

func (x *ListInstanceConfigsRequest) String() string

ListInstanceConfigsResponse

type ListInstanceConfigsResponse struct {

	// The list of requested instance configurations.
	InstanceConfigs []*InstanceConfig `protobuf:"bytes,1,rep,name=instance_configs,json=instanceConfigs,proto3" json:"instance_configs,omitempty"`
	// `next_page_token` can be sent in a subsequent
	// [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs]
	// call to fetch more of the matching instance configurations.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

The response for [ListInstanceConfigs][google.spanner.admin.instance.v1.InstanceAdmin.ListInstanceConfigs].

func (*ListInstanceConfigsResponse) Descriptor

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

Deprecated: Use ListInstanceConfigsResponse.ProtoReflect.Descriptor instead.

func (*ListInstanceConfigsResponse) GetInstanceConfigs

func (x *ListInstanceConfigsResponse) GetInstanceConfigs() []*InstanceConfig

func (*ListInstanceConfigsResponse) GetNextPageToken

func (x *ListInstanceConfigsResponse) GetNextPageToken() string

func (*ListInstanceConfigsResponse) ProtoMessage

func (*ListInstanceConfigsResponse) ProtoMessage()

func (*ListInstanceConfigsResponse) ProtoReflect

func (*ListInstanceConfigsResponse) Reset

func (x *ListInstanceConfigsResponse) Reset()

func (*ListInstanceConfigsResponse) String

func (x *ListInstanceConfigsResponse) String() string

ListInstancePartitionOperationsRequest

type ListInstancePartitionOperationsRequest struct {
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`

	Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`

	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`

	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`

	InstancePartitionDeadline *timestamppb.Timestamp "" /* 138 byte string literal not displayed */

}

The request for [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations].

func (*ListInstancePartitionOperationsRequest) Descriptor

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

Deprecated: Use ListInstancePartitionOperationsRequest.ProtoReflect.Descriptor instead.

func (*ListInstancePartitionOperationsRequest) GetFilter

func (*ListInstancePartitionOperationsRequest) GetInstancePartitionDeadline

func (x *ListInstancePartitionOperationsRequest) GetInstancePartitionDeadline() *timestamppb.Timestamp

func (*ListInstancePartitionOperationsRequest) GetPageSize

func (*ListInstancePartitionOperationsRequest) GetPageToken

func (*ListInstancePartitionOperationsRequest) GetParent

func (*ListInstancePartitionOperationsRequest) ProtoMessage

func (*ListInstancePartitionOperationsRequest) ProtoReflect

func (*ListInstancePartitionOperationsRequest) Reset

func (*ListInstancePartitionOperationsRequest) String

ListInstancePartitionOperationsResponse

type ListInstancePartitionOperationsResponse struct {
	Operations []*longrunningpb.Operation `protobuf:"bytes,1,rep,name=operations,proto3" json:"operations,omitempty"`

	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`

	UnreachableInstancePartitions []string "" /* 150 byte string literal not displayed */

}

The response for [ListInstancePartitionOperations][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitionOperations].

func (*ListInstancePartitionOperationsResponse) Descriptor

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

Deprecated: Use ListInstancePartitionOperationsResponse.ProtoReflect.Descriptor instead.

func (*ListInstancePartitionOperationsResponse) GetNextPageToken

func (x *ListInstancePartitionOperationsResponse) GetNextPageToken() string

func (*ListInstancePartitionOperationsResponse) GetOperations

func (*ListInstancePartitionOperationsResponse) GetUnreachableInstancePartitions

func (x *ListInstancePartitionOperationsResponse) GetUnreachableInstancePartitions() []string

func (*ListInstancePartitionOperationsResponse) ProtoMessage

func (*ListInstancePartitionOperationsResponse) ProtoReflect

func (*ListInstancePartitionOperationsResponse) Reset

func (*ListInstancePartitionOperationsResponse) String

ListInstancePartitionsRequest

type ListInstancePartitionsRequest struct {
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`

	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`

	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`

	InstancePartitionDeadline *timestamppb.Timestamp "" /* 138 byte string literal not displayed */

}

The request for [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions].

func (*ListInstancePartitionsRequest) Descriptor

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

Deprecated: Use ListInstancePartitionsRequest.ProtoReflect.Descriptor instead.

func (*ListInstancePartitionsRequest) GetInstancePartitionDeadline

func (x *ListInstancePartitionsRequest) GetInstancePartitionDeadline() *timestamppb.Timestamp

func (*ListInstancePartitionsRequest) GetPageSize

func (x *ListInstancePartitionsRequest) GetPageSize() int32

func (*ListInstancePartitionsRequest) GetPageToken

func (x *ListInstancePartitionsRequest) GetPageToken() string

func (*ListInstancePartitionsRequest) GetParent

func (x *ListInstancePartitionsRequest) GetParent() string

func (*ListInstancePartitionsRequest) ProtoMessage

func (*ListInstancePartitionsRequest) ProtoMessage()

func (*ListInstancePartitionsRequest) ProtoReflect

func (*ListInstancePartitionsRequest) Reset

func (x *ListInstancePartitionsRequest) Reset()

func (*ListInstancePartitionsRequest) String

ListInstancePartitionsResponse

type ListInstancePartitionsResponse struct {

	// The list of requested instancePartitions.
	InstancePartitions []*InstancePartition `protobuf:"bytes,1,rep,name=instance_partitions,json=instancePartitions,proto3" json:"instance_partitions,omitempty"`
	// `next_page_token` can be sent in a subsequent
	// [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions]
	// call to fetch more of the matching instance partitions.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The list of unreachable instances or instance partitions.
	// It includes the names of instances or instance partitions whose metadata
	// could not be retrieved within
	// [instance_partition_deadline][google.spanner.admin.instance.v1.ListInstancePartitionsRequest.instance_partition_deadline].
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

The response for [ListInstancePartitions][google.spanner.admin.instance.v1.InstanceAdmin.ListInstancePartitions].

func (*ListInstancePartitionsResponse) Descriptor

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

Deprecated: Use ListInstancePartitionsResponse.ProtoReflect.Descriptor instead.

func (*ListInstancePartitionsResponse) GetInstancePartitions

func (x *ListInstancePartitionsResponse) GetInstancePartitions() []*InstancePartition

func (*ListInstancePartitionsResponse) GetNextPageToken

func (x *ListInstancePartitionsResponse) GetNextPageToken() string

func (*ListInstancePartitionsResponse) GetUnreachable

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

func (*ListInstancePartitionsResponse) ProtoMessage

func (*ListInstancePartitionsResponse) ProtoMessage()

func (*ListInstancePartitionsResponse) ProtoReflect

func (*ListInstancePartitionsResponse) Reset

func (x *ListInstancePartitionsResponse) Reset()

func (*ListInstancePartitionsResponse) String

ListInstancesRequest

type ListInstancesRequest struct {

	// Required. The name of the project for which a list of instances is
	// requested. Values are of the form `projects/

The request for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].

func (*ListInstancesRequest) Descriptor

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

Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.

func (*ListInstancesRequest) GetFilter

func (x *ListInstancesRequest) GetFilter() string

func (*ListInstancesRequest) GetInstanceDeadline

func (x *ListInstancesRequest) GetInstanceDeadline() *timestamppb.Timestamp

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

ListInstancesResponse

type ListInstancesResponse struct {

	// The list of requested instances.
	Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"`
	// `next_page_token` can be sent in a subsequent
	// [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances]
	// call to fetch more of the matching instances.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// The list of unreachable instances.
	// It includes the names of instances whose metadata could not be retrieved
	// within
	// [instance_deadline][google.spanner.admin.instance.v1.ListInstancesRequest.instance_deadline].
	Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
	// contains filtered or unexported fields
}

The response for [ListInstances][google.spanner.admin.instance.v1.InstanceAdmin.ListInstances].

func (*ListInstancesResponse) Descriptor

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

MoveInstanceMetadata

type MoveInstanceMetadata struct {

	// The target instance configuration where to move the instance.
	// Values are of the form `projects/

Metadata type for the operation returned by [MoveInstance][google.spanner.admin.instance.v1.InstanceAdmin.MoveInstance].

func (*MoveInstanceMetadata) Descriptor

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

Deprecated: Use MoveInstanceMetadata.ProtoReflect.Descriptor instead.

func (*MoveInstanceMetadata) GetCancelTime

func (x *MoveInstanceMetadata) GetCancelTime() *timestamppb.Timestamp

func (*MoveInstanceMetadata) GetProgress

func (x *MoveInstanceMetadata) GetProgress() *OperationProgress

func (*MoveInstanceMetadata) GetTargetConfig

func (x *MoveInstanceMetadata) GetTargetConfig() string

func (*MoveInstanceMetadata) ProtoMessage

func (*MoveInstanceMetadata) ProtoMessage()

func (*MoveInstanceMetadata) ProtoReflect

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

func (*MoveInstanceMetadata) Reset

func (x *MoveInstanceMetadata) Reset()

func (*MoveInstanceMetadata) String

func (x *MoveInstanceMetadata) String() string

MoveInstanceRequest

type MoveInstanceRequest struct {

	// Required. The instance to move.
	// Values are of the form `projects/

The request for [MoveInstance][google.spanner.admin.instance.v1.InstanceAdmin.MoveInstance].

func (*MoveInstanceRequest) Descriptor

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

Deprecated: Use MoveInstanceRequest.ProtoReflect.Descriptor instead.

func (*MoveInstanceRequest) GetName

func (x *MoveInstanceRequest) GetName() string

func (*MoveInstanceRequest) GetTargetConfig

func (x *MoveInstanceRequest) GetTargetConfig() string

func (*MoveInstanceRequest) ProtoMessage

func (*MoveInstanceRequest) ProtoMessage()

func (*MoveInstanceRequest) ProtoReflect

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

func (*MoveInstanceRequest) Reset

func (x *MoveInstanceRequest) Reset()

func (*MoveInstanceRequest) String

func (x *MoveInstanceRequest) String() string

MoveInstanceResponse

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

The response for [MoveInstance][google.spanner.admin.instance.v1.InstanceAdmin.MoveInstance].

func (*MoveInstanceResponse) Descriptor

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

Deprecated: Use MoveInstanceResponse.ProtoReflect.Descriptor instead.

func (*MoveInstanceResponse) ProtoMessage

func (*MoveInstanceResponse) ProtoMessage()

func (*MoveInstanceResponse) ProtoReflect

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

func (*MoveInstanceResponse) Reset

func (x *MoveInstanceResponse) Reset()

func (*MoveInstanceResponse) String

func (x *MoveInstanceResponse) String() string

OperationProgress

type OperationProgress struct {

	// Percent completion of the operation.
	// Values are between 0 and 100 inclusive.
	ProgressPercent int32 `protobuf:"varint,1,opt,name=progress_percent,json=progressPercent,proto3" json:"progress_percent,omitempty"`
	// Time the request was received.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// If set, the time at which this operation failed or was completed
	// successfully.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Encapsulates progress related information for a Cloud Spanner long running instance operations.

func (*OperationProgress) Descriptor

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

Deprecated: Use OperationProgress.ProtoReflect.Descriptor instead.

func (*OperationProgress) GetEndTime

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

func (*OperationProgress) GetProgressPercent

func (x *OperationProgress) GetProgressPercent() int32

func (*OperationProgress) GetStartTime

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

func (*OperationProgress) ProtoMessage

func (*OperationProgress) ProtoMessage()

func (*OperationProgress) ProtoReflect

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

func (*OperationProgress) Reset

func (x *OperationProgress) Reset()

func (*OperationProgress) String

func (x *OperationProgress) String() string

ReplicaComputeCapacity

type ReplicaComputeCapacity struct {

	// Required. Identifies replicas by specified properties.
	// All replicas in the selection have the same amount of compute capacity.
	ReplicaSelection *ReplicaSelection `protobuf:"bytes,1,opt,name=replica_selection,json=replicaSelection,proto3" json:"replica_selection,omitempty"`
	// Compute capacity allocated to each replica identified by the specified
	// selection.
	// The unit is selected based on the unit used to specify the instance size
	// for non-autoscaling instances, or the unit used in autoscaling limit for
	// autoscaling instances.
	//
	// Types that are assignable to ComputeCapacity:
	//
	//	*ReplicaComputeCapacity_NodeCount
	//	*ReplicaComputeCapacity_ProcessingUnits
	ComputeCapacity isReplicaComputeCapacity_ComputeCapacity `protobuf_oneof:"compute_capacity"`
	// contains filtered or unexported fields
}

ReplicaComputeCapacity describes the amount of server resources that are allocated to each replica identified by the replica selection.

func (*ReplicaComputeCapacity) Descriptor

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

Deprecated: Use ReplicaComputeCapacity.ProtoReflect.Descriptor instead.

func (*ReplicaComputeCapacity) GetComputeCapacity

func (m *ReplicaComputeCapacity) GetComputeCapacity() isReplicaComputeCapacity_ComputeCapacity

func (*ReplicaComputeCapacity) GetNodeCount

func (x *ReplicaComputeCapacity) GetNodeCount() int32

func (*ReplicaComputeCapacity) GetProcessingUnits

func (x *ReplicaComputeCapacity) GetProcessingUnits() int32

func (*ReplicaComputeCapacity) GetReplicaSelection

func (x *ReplicaComputeCapacity) GetReplicaSelection() *ReplicaSelection

func (*ReplicaComputeCapacity) ProtoMessage

func (*ReplicaComputeCapacity) ProtoMessage()

func (*ReplicaComputeCapacity) ProtoReflect

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

func (*ReplicaComputeCapacity) Reset

func (x *ReplicaComputeCapacity) Reset()

func (*ReplicaComputeCapacity) String

func (x *ReplicaComputeCapacity) String() string

ReplicaComputeCapacity_NodeCount

type ReplicaComputeCapacity_NodeCount struct {
	// The number of nodes allocated to each replica.
	//
	// This may be zero in API responses for instances that are not yet in
	// state `READY`.
	NodeCount int32 `protobuf:"varint,2,opt,name=node_count,json=nodeCount,proto3,oneof"`
}

ReplicaComputeCapacity_ProcessingUnits

type ReplicaComputeCapacity_ProcessingUnits struct {
	// The number of processing units allocated to each replica.
	//
	// This may be zero in API responses for instances that are not yet in
	// state `READY`.
	ProcessingUnits int32 `protobuf:"varint,3,opt,name=processing_units,json=processingUnits,proto3,oneof"`
}

ReplicaInfo

type ReplicaInfo struct {
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`

	Type ReplicaInfo_ReplicaType `protobuf:"varint,2,opt,name=type,proto3,enum=google.spanner.admin.instance.v1.ReplicaInfo_ReplicaType" json:"type,omitempty"`

	DefaultLeaderLocation bool "" /* 127 byte string literal not displayed */

}

func (*ReplicaInfo) Descriptor

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

Deprecated: Use ReplicaInfo.ProtoReflect.Descriptor instead.

func (*ReplicaInfo) GetDefaultLeaderLocation

func (x *ReplicaInfo) GetDefaultLeaderLocation() bool

func (*ReplicaInfo) GetLocation

func (x *ReplicaInfo) GetLocation() string

func (*ReplicaInfo) GetType

func (x *ReplicaInfo) GetType() ReplicaInfo_ReplicaType

func (*ReplicaInfo) ProtoMessage

func (*ReplicaInfo) ProtoMessage()

func (*ReplicaInfo) ProtoReflect

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

func (*ReplicaInfo) Reset

func (x *ReplicaInfo) Reset()

func (*ReplicaInfo) String

func (x *ReplicaInfo) String() string

ReplicaInfo_ReplicaType

type ReplicaInfo_ReplicaType int32

Indicates the type of replica. See the replica types documentation for more details.

ReplicaInfo_TYPE_UNSPECIFIED, ReplicaInfo_READ_WRITE, ReplicaInfo_READ_ONLY, ReplicaInfo_WITNESS

const (
	// Not specified.
	ReplicaInfo_TYPE_UNSPECIFIED ReplicaInfo_ReplicaType = 0
	// Read-write replicas support both reads and writes. These replicas:
	//
	// * Maintain a full copy of your data.
	// * Serve reads.
	// * Can vote whether to commit a write.
	// * Participate in leadership election.
	// * Are eligible to become a leader.
	ReplicaInfo_READ_WRITE ReplicaInfo_ReplicaType = 1
	// Read-only replicas only support reads (not writes). Read-only replicas:
	//
	// * Maintain a full copy of your data.
	// * Serve reads.
	// * Do not participate in voting to commit writes.
	// * Are not eligible to become a leader.
	ReplicaInfo_READ_ONLY ReplicaInfo_ReplicaType = 2
	// Witness replicas don't support reads but do participate in voting to
	// commit writes. Witness replicas:
	//
	// * Do not maintain a full copy of data.
	// * Do not serve reads.
	// * Vote whether to commit writes.
	// * Participate in leader election but are not eligible to become leader.
	ReplicaInfo_WITNESS ReplicaInfo_ReplicaType = 3
)

func (ReplicaInfo_ReplicaType) Descriptor

func (ReplicaInfo_ReplicaType) Enum

func (ReplicaInfo_ReplicaType) EnumDescriptor

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

Deprecated: Use ReplicaInfo_ReplicaType.Descriptor instead.

func (ReplicaInfo_ReplicaType) Number

func (ReplicaInfo_ReplicaType) String

func (x ReplicaInfo_ReplicaType) String() string

func (ReplicaInfo_ReplicaType) Type

ReplicaSelection

type ReplicaSelection struct {

	// Required. Name of the location of the replicas (e.g., "us-central1").
	Location string `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

ReplicaSelection identifies replicas with common properties.

func (*ReplicaSelection) Descriptor

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

Deprecated: Use ReplicaSelection.ProtoReflect.Descriptor instead.

func (*ReplicaSelection) GetLocation

func (x *ReplicaSelection) GetLocation() string

func (*ReplicaSelection) ProtoMessage

func (*ReplicaSelection) ProtoMessage()

func (*ReplicaSelection) ProtoReflect

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

func (*ReplicaSelection) Reset

func (x *ReplicaSelection) Reset()

func (*ReplicaSelection) String

func (x *ReplicaSelection) String() string

UnimplementedInstanceAdminServer

type UnimplementedInstanceAdminServer struct {
}

UnimplementedInstanceAdminServer can be embedded to have forward compatible implementations.

func (*UnimplementedInstanceAdminServer) CreateInstance

func (*UnimplementedInstanceAdminServer) CreateInstanceConfig

func (*UnimplementedInstanceAdminServer) CreateInstancePartition

func (*UnimplementedInstanceAdminServer) DeleteInstance

func (*UnimplementedInstanceAdminServer) DeleteInstanceConfig

func (*UnimplementedInstanceAdminServer) DeleteInstancePartition

func (*UnimplementedInstanceAdminServer) GetIamPolicy

func (*UnimplementedInstanceAdminServer) GetInstance

func (*UnimplementedInstanceAdminServer) GetInstanceConfig

func (*UnimplementedInstanceAdminServer) GetInstancePartition

func (*UnimplementedInstanceAdminServer) ListInstanceConfigOperations

func (*UnimplementedInstanceAdminServer) ListInstanceConfigs

func (*UnimplementedInstanceAdminServer) ListInstancePartitionOperations

func (*UnimplementedInstanceAdminServer) ListInstancePartitions

func (*UnimplementedInstanceAdminServer) ListInstances

func (*UnimplementedInstanceAdminServer) MoveInstance

func (*UnimplementedInstanceAdminServer) SetIamPolicy

func (*UnimplementedInstanceAdminServer) TestIamPermissions

func (*UnimplementedInstanceAdminServer) UpdateInstance

func (*UnimplementedInstanceAdminServer) UpdateInstanceConfig

func (*UnimplementedInstanceAdminServer) UpdateInstancePartition

UpdateInstanceConfigMetadata

type UpdateInstanceConfigMetadata struct {

	// The desired instance configuration after updating.
	InstanceConfig *InstanceConfig `protobuf:"bytes,1,opt,name=instance_config,json=instanceConfig,proto3" json:"instance_config,omitempty"`
	// The progress of the
	// [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig]
	// operation.
	Progress *OperationProgress `protobuf:"bytes,2,opt,name=progress,proto3" json:"progress,omitempty"`
	// The time at which this operation was cancelled.
	CancelTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata type for the operation returned by [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].

func (*UpdateInstanceConfigMetadata) Descriptor

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

Deprecated: Use UpdateInstanceConfigMetadata.ProtoReflect.Descriptor instead.

func (*UpdateInstanceConfigMetadata) GetCancelTime

func (*UpdateInstanceConfigMetadata) GetInstanceConfig

func (x *UpdateInstanceConfigMetadata) GetInstanceConfig() *InstanceConfig

func (*UpdateInstanceConfigMetadata) GetProgress

func (*UpdateInstanceConfigMetadata) ProtoMessage

func (*UpdateInstanceConfigMetadata) ProtoMessage()

func (*UpdateInstanceConfigMetadata) ProtoReflect

func (*UpdateInstanceConfigMetadata) Reset

func (x *UpdateInstanceConfigMetadata) Reset()

func (*UpdateInstanceConfigMetadata) String

UpdateInstanceConfigRequest

type UpdateInstanceConfigRequest struct {

	// Required. The user instance configuration to update, which must always
	// include the instance configuration name. Otherwise, only fields mentioned
	// in
	// [update_mask][google.spanner.admin.instance.v1.UpdateInstanceConfigRequest.update_mask]
	// need be included. To prevent conflicts of concurrent updates,
	// [etag][google.spanner.admin.instance.v1.InstanceConfig.reconciling] can
	// be used.
	InstanceConfig *InstanceConfig `protobuf:"bytes,1,opt,name=instance_config,json=instanceConfig,proto3" json:"instance_config,omitempty"`
	// Required. A mask specifying which fields in
	// [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig] should be
	// updated. The field mask must always be specified; this prevents any future
	// fields in [InstanceConfig][google.spanner.admin.instance.v1.InstanceConfig]
	// from being erased accidentally by clients that do not know about them. Only
	// display_name and labels can be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// An option to validate, but not actually execute, a request,
	// and provide the same response.
	ValidateOnly bool `protobuf:"varint,3,opt,name=validate_only,json=validateOnly,proto3" json:"validate_only,omitempty"`
	// contains filtered or unexported fields
}

The request for [UpdateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstanceConfig].

func (*UpdateInstanceConfigRequest) Descriptor

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

Deprecated: Use UpdateInstanceConfigRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceConfigRequest) GetInstanceConfig

func (x *UpdateInstanceConfigRequest) GetInstanceConfig() *InstanceConfig

func (*UpdateInstanceConfigRequest) GetUpdateMask

func (*UpdateInstanceConfigRequest) GetValidateOnly

func (x *UpdateInstanceConfigRequest) GetValidateOnly() bool

func (*UpdateInstanceConfigRequest) ProtoMessage

func (*UpdateInstanceConfigRequest) ProtoMessage()

func (*UpdateInstanceConfigRequest) ProtoReflect

func (*UpdateInstanceConfigRequest) Reset

func (x *UpdateInstanceConfigRequest) Reset()

func (*UpdateInstanceConfigRequest) String

func (x *UpdateInstanceConfigRequest) String() string

UpdateInstanceMetadata

type UpdateInstanceMetadata struct {
	Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`

	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`

	CancelTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"`

	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`

	ExpectedFulfillmentPeriod FulfillmentPeriod "" /* 195 byte string literal not displayed */

}

Metadata type for the operation returned by [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].

func (*UpdateInstanceMetadata) Descriptor

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

Deprecated: Use UpdateInstanceMetadata.ProtoReflect.Descriptor instead.

func (*UpdateInstanceMetadata) GetCancelTime

func (x *UpdateInstanceMetadata) GetCancelTime() *timestamppb.Timestamp

func (*UpdateInstanceMetadata) GetEndTime

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

func (*UpdateInstanceMetadata) GetExpectedFulfillmentPeriod

func (x *UpdateInstanceMetadata) GetExpectedFulfillmentPeriod() FulfillmentPeriod

func (*UpdateInstanceMetadata) GetInstance

func (x *UpdateInstanceMetadata) GetInstance() *Instance

func (*UpdateInstanceMetadata) GetStartTime

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

func (*UpdateInstanceMetadata) ProtoMessage

func (*UpdateInstanceMetadata) ProtoMessage()

func (*UpdateInstanceMetadata) ProtoReflect

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

func (*UpdateInstanceMetadata) Reset

func (x *UpdateInstanceMetadata) Reset()

func (*UpdateInstanceMetadata) String

func (x *UpdateInstanceMetadata) String() string

UpdateInstancePartitionMetadata

type UpdateInstancePartitionMetadata struct {

	// The desired end state of the update.
	InstancePartition *InstancePartition `protobuf:"bytes,1,opt,name=instance_partition,json=instancePartition,proto3" json:"instance_partition,omitempty"`
	// The time at which
	// [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition]
	// request was received.
	StartTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// The time at which this operation was cancelled. If set, this operation is
	// in the process of undoing itself (which is guaranteed to succeed) and
	// cannot be cancelled again.
	CancelTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=cancel_time,json=cancelTime,proto3" json:"cancel_time,omitempty"`
	// The time at which this operation failed or was completed successfully.
	EndTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

Metadata type for the operation returned by [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].

func (*UpdateInstancePartitionMetadata) Descriptor

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

Deprecated: Use UpdateInstancePartitionMetadata.ProtoReflect.Descriptor instead.

func (*UpdateInstancePartitionMetadata) GetCancelTime

func (*UpdateInstancePartitionMetadata) GetEndTime

func (*UpdateInstancePartitionMetadata) GetInstancePartition

func (x *UpdateInstancePartitionMetadata) GetInstancePartition() *InstancePartition

func (*UpdateInstancePartitionMetadata) GetStartTime

func (*UpdateInstancePartitionMetadata) ProtoMessage

func (*UpdateInstancePartitionMetadata) ProtoMessage()

func (*UpdateInstancePartitionMetadata) ProtoReflect

func (*UpdateInstancePartitionMetadata) Reset

func (*UpdateInstancePartitionMetadata) String

UpdateInstancePartitionRequest

type UpdateInstancePartitionRequest struct {

	// Required. The instance partition to update, which must always include the
	// instance partition name. Otherwise, only fields mentioned in
	// [field_mask][google.spanner.admin.instance.v1.UpdateInstancePartitionRequest.field_mask]
	// need be included.
	InstancePartition *InstancePartition `protobuf:"bytes,1,opt,name=instance_partition,json=instancePartition,proto3" json:"instance_partition,omitempty"`
	// Required. A mask specifying which fields in
	// [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
	// should be updated. The field mask must always be specified; this prevents
	// any future fields in
	// [InstancePartition][google.spanner.admin.instance.v1.InstancePartition]
	// from being erased accidentally by clients that do not know about them.
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

The request for [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].

func (*UpdateInstancePartitionRequest) Descriptor

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

Deprecated: Use UpdateInstancePartitionRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstancePartitionRequest) GetFieldMask

func (*UpdateInstancePartitionRequest) GetInstancePartition

func (x *UpdateInstancePartitionRequest) GetInstancePartition() *InstancePartition

func (*UpdateInstancePartitionRequest) ProtoMessage

func (*UpdateInstancePartitionRequest) ProtoMessage()

func (*UpdateInstancePartitionRequest) ProtoReflect

func (*UpdateInstancePartitionRequest) Reset

func (x *UpdateInstancePartitionRequest) Reset()

func (*UpdateInstancePartitionRequest) String

UpdateInstanceRequest

type UpdateInstanceRequest struct {

	// Required. The instance to update, which must always include the instance
	// name.  Otherwise, only fields mentioned in
	// [field_mask][google.spanner.admin.instance.v1.UpdateInstanceRequest.field_mask]
	// need be included.
	Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
	// Required. A mask specifying which fields in
	// [Instance][google.spanner.admin.instance.v1.Instance] should be updated.
	// The field mask must always be specified; this prevents any future fields in
	// [Instance][google.spanner.admin.instance.v1.Instance] from being erased
	// accidentally by clients that do not know about them.
	FieldMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=field_mask,json=fieldMask,proto3" json:"field_mask,omitempty"`
	// contains filtered or unexported fields
}

The request for [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].

func (*UpdateInstanceRequest) Descriptor

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

Deprecated: Use UpdateInstanceRequest.ProtoReflect.Descriptor instead.

func (*UpdateInstanceRequest) GetFieldMask

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

func (*UpdateInstanceRequest) GetInstance

func (x *UpdateInstanceRequest) GetInstance() *Instance

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