- 1.73.0 (latest)
- 1.72.0
- 1.71.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.67.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.1
- 1.52.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.1
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.1
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.1
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.1
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.1
- 1.13.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.
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_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.
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
func (*AutoscalingConfig_AsymmetricAutoscalingOption) Descriptor() ([]byte, []int)
Deprecated: Use AutoscalingConfig_AsymmetricAutoscalingOption.ProtoReflect.Descriptor instead.
func (*AutoscalingConfig_AsymmetricAutoscalingOption) GetOverrides
func (x *AutoscalingConfig_AsymmetricAutoscalingOption) GetOverrides() *AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides
func (*AutoscalingConfig_AsymmetricAutoscalingOption) GetReplicaSelection
func (x *AutoscalingConfig_AsymmetricAutoscalingOption) GetReplicaSelection() *ReplicaSelection
func (*AutoscalingConfig_AsymmetricAutoscalingOption) ProtoMessage
func (*AutoscalingConfig_AsymmetricAutoscalingOption) ProtoMessage()
func (*AutoscalingConfig_AsymmetricAutoscalingOption) ProtoReflect
func (x *AutoscalingConfig_AsymmetricAutoscalingOption) ProtoReflect() protoreflect.Message
func (*AutoscalingConfig_AsymmetricAutoscalingOption) Reset
func (x *AutoscalingConfig_AsymmetricAutoscalingOption) Reset()
func (*AutoscalingConfig_AsymmetricAutoscalingOption) String
func (x *AutoscalingConfig_AsymmetricAutoscalingOption) String() 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
func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) Descriptor() ([]byte, []int)
Deprecated: Use AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides.ProtoReflect.Descriptor instead.
func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) GetAutoscalingLimits
func (x *AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) GetAutoscalingLimits() *AutoscalingConfig_AutoscalingLimits
func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) GetAutoscalingTargetHighPriorityCpuUtilizationPercent
func (x *AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) GetAutoscalingTargetHighPriorityCpuUtilizationPercent() int32
func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) ProtoMessage
func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) ProtoMessage()
func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) ProtoReflect
func (x *AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) ProtoReflect() protoreflect.Message
func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) Reset
func (x *AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) Reset()
func (*AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) String
func (x *AutoscalingConfig_AsymmetricAutoscalingOption_AutoscalingConfigOverrides) String() 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 (x *AutoscalingConfig_AutoscalingLimits) ProtoReflect() protoreflect.Message
func (*AutoscalingConfig_AutoscalingLimits) Reset
func (x *AutoscalingConfig_AutoscalingLimits) Reset()
func (*AutoscalingConfig_AutoscalingLimits) String
func (x *AutoscalingConfig_AutoscalingLimits) String() 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 (x *AutoscalingConfig_AutoscalingTargets) ProtoReflect() protoreflect.Message
func (*AutoscalingConfig_AutoscalingTargets) Reset
func (x *AutoscalingConfig_AutoscalingTargets) Reset()
func (*AutoscalingConfig_AutoscalingTargets) String
func (x *AutoscalingConfig_AutoscalingTargets) String() 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 (x *CreateInstanceConfigMetadata) GetCancelTime() *timestamppb.Timestamp
func (*CreateInstanceConfigMetadata) GetInstanceConfig
func (x *CreateInstanceConfigMetadata) GetInstanceConfig() *InstanceConfig
func (*CreateInstanceConfigMetadata) GetProgress
func (x *CreateInstanceConfigMetadata) GetProgress() *OperationProgress
func (*CreateInstanceConfigMetadata) ProtoMessage
func (*CreateInstanceConfigMetadata) ProtoMessage()
func (*CreateInstanceConfigMetadata) ProtoReflect
func (x *CreateInstanceConfigMetadata) ProtoReflect() protoreflect.Message
func (*CreateInstanceConfigMetadata) Reset
func (x *CreateInstanceConfigMetadata) Reset()
func (*CreateInstanceConfigMetadata) String
func (x *CreateInstanceConfigMetadata) String() 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 [CreateInstanceConfigRequest][InstanceAdmin.CreateInstanceConfigRequest].
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 (x *CreateInstanceConfigRequest) ProtoReflect() protoreflect.Message
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 (x *CreateInstancePartitionMetadata) GetCancelTime() *timestamppb.Timestamp
func (*CreateInstancePartitionMetadata) GetEndTime
func (x *CreateInstancePartitionMetadata) GetEndTime() *timestamppb.Timestamp
func (*CreateInstancePartitionMetadata) GetInstancePartition
func (x *CreateInstancePartitionMetadata) GetInstancePartition() *InstancePartition
func (*CreateInstancePartitionMetadata) GetStartTime
func (x *CreateInstancePartitionMetadata) GetStartTime() *timestamppb.Timestamp
func (*CreateInstancePartitionMetadata) ProtoMessage
func (*CreateInstancePartitionMetadata) ProtoMessage()
func (*CreateInstancePartitionMetadata) ProtoReflect
func (x *CreateInstancePartitionMetadata) ProtoReflect() protoreflect.Message
func (*CreateInstancePartitionMetadata) Reset
func (x *CreateInstancePartitionMetadata) Reset()
func (*CreateInstancePartitionMetadata) String
func (x *CreateInstancePartitionMetadata) String() 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 (x *CreateInstancePartitionRequest) ProtoReflect() protoreflect.Message
func (*CreateInstancePartitionRequest) Reset
func (x *CreateInstancePartitionRequest) Reset()
func (*CreateInstancePartitionRequest) String
func (x *CreateInstancePartitionRequest) String() 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 [DeleteInstanceConfigRequest][InstanceAdmin.DeleteInstanceConfigRequest].
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 (x *DeleteInstanceConfigRequest) ProtoReflect() protoreflect.Message
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 (x *DeleteInstancePartitionRequest) GetEtag() string
func (*DeleteInstancePartitionRequest) GetName
func (x *DeleteInstancePartitionRequest) GetName() string
func (*DeleteInstancePartitionRequest) ProtoMessage
func (*DeleteInstancePartitionRequest) ProtoMessage()
func (*DeleteInstancePartitionRequest) ProtoReflect
func (x *DeleteInstancePartitionRequest) ProtoReflect() protoreflect.Message
func (*DeleteInstancePartitionRequest) Reset
func (x *DeleteInstancePartitionRequest) Reset()
func (*DeleteInstancePartitionRequest) String
func (x *DeleteInstancePartitionRequest) String() 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
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) Descriptor() protoreflect.EnumDescriptor
func (FulfillmentPeriod) Enum
func (x FulfillmentPeriod) Enum() *FulfillmentPeriod
func (FulfillmentPeriod) EnumDescriptor
func (FulfillmentPeriod) EnumDescriptor() ([]byte, []int)
Deprecated: Use FulfillmentPeriod.Descriptor instead.
func (FulfillmentPeriod) Number
func (x FulfillmentPeriod) Number() protoreflect.EnumNumber
func (FulfillmentPeriod) String
func (x FulfillmentPeriod) String() string
func (FulfillmentPeriod) Type
func (FulfillmentPeriod) Type() protoreflect.EnumType
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 (x *GetInstancePartitionRequest) ProtoReflect() protoreflect.Message
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 */
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"`
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
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (*Instance) GetAutoscalingConfig
func (x *Instance) GetAutoscalingConfig() *AutoscalingConfig
func (*Instance) GetConfig
func (*Instance) GetCreateTime
func (x *Instance) GetCreateTime() *timestamppb.Timestamp
func (*Instance) GetDefaultBackupScheduleType
func (x *Instance) GetDefaultBackupScheduleType() Instance_DefaultBackupScheduleType
func (*Instance) GetDisplayName
func (*Instance) GetEdition
func (x *Instance) GetEdition() Instance_Edition
func (*Instance) GetEndpointUris
func (*Instance) GetLabels
func (*Instance) GetName
func (*Instance) GetNodeCount
func (*Instance) GetProcessingUnits
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
InstanceAdminClient
type InstanceAdminClient interface {
// Lists the supported instance configurations for a given project.
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][google.longrunning.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][google.longrunning.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.
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][google.longrunning.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][google.longrunning.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"`
}
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) 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) 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) 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_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) Descriptor() protoreflect.EnumDescriptor
func (InstanceConfig_State) Enum
func (x InstanceConfig_State) Enum() *InstanceConfig_State
func (InstanceConfig_State) EnumDescriptor
func (InstanceConfig_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceConfig_State.Descriptor instead.
func (InstanceConfig_State) Number
func (x InstanceConfig_State) Number() protoreflect.EnumNumber
func (InstanceConfig_State) String
func (x InstanceConfig_State) String() string
func (InstanceConfig_State) Type
func (InstanceConfig_State) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (InstanceConfig_Type) Enum
func (x InstanceConfig_Type) Enum() *InstanceConfig_Type
func (InstanceConfig_Type) EnumDescriptor
func (InstanceConfig_Type) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstanceConfig_Type.Descriptor instead.
func (InstanceConfig_Type) Number
func (x InstanceConfig_Type) Number() protoreflect.EnumNumber
func (InstanceConfig_Type) String
func (x InstanceConfig_Type) String() string
func (InstanceConfig_Type) Type
func (InstanceConfig_Type) Type() protoreflect.EnumType
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
func (*InstancePartition) GetReferencingDatabases
func (x *InstancePartition) GetReferencingDatabases() []string
func (*InstancePartition) GetState
func (x *InstancePartition) GetState() InstancePartition_State
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 may be zero in API responses for instance partitions that are not
// yet in state `READY`.
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) Descriptor() protoreflect.EnumDescriptor
func (InstancePartition_State) Enum
func (x InstancePartition_State) Enum() *InstancePartition_State
func (InstancePartition_State) EnumDescriptor
func (InstancePartition_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstancePartition_State.Descriptor instead.
func (InstancePartition_State) Number
func (x InstancePartition_State) Number() protoreflect.EnumNumber
func (InstancePartition_State) String
func (x InstancePartition_State) String() string
func (InstancePartition_State) Type
func (InstancePartition_State) Type() protoreflect.EnumType
Instance_DefaultBackupScheduleType
type Instance_DefaultBackupScheduleType int32
Indicates the default backup 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
// No default backup schedule will be created automatically on creation of a
// database within the instance.
Instance_NONE Instance_DefaultBackupScheduleType = 1
// A default backup schedule will be created automatically on creation of a
// database within the instance. The default backup schedule creates a full
// backup every 24 hours and retains the backup for a period of 7 days. Once
// created, the default backup schedule can be edited/deleted similar to any
// other backup schedule.
Instance_AUTOMATIC Instance_DefaultBackupScheduleType = 2
)
func (Instance_DefaultBackupScheduleType) Descriptor
func (Instance_DefaultBackupScheduleType) Descriptor() protoreflect.EnumDescriptor
func (Instance_DefaultBackupScheduleType) Enum
func (x Instance_DefaultBackupScheduleType) Enum() *Instance_DefaultBackupScheduleType
func (Instance_DefaultBackupScheduleType) EnumDescriptor
func (Instance_DefaultBackupScheduleType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_DefaultBackupScheduleType.Descriptor instead.
func (Instance_DefaultBackupScheduleType) Number
func (x Instance_DefaultBackupScheduleType) Number() protoreflect.EnumNumber
func (Instance_DefaultBackupScheduleType) String
func (x Instance_DefaultBackupScheduleType) String() string
func (Instance_DefaultBackupScheduleType) Type
func (Instance_DefaultBackupScheduleType) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
func (Instance_Edition) Enum
func (x Instance_Edition) Enum() *Instance_Edition
func (Instance_Edition) EnumDescriptor
func (Instance_Edition) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_Edition.Descriptor instead.
func (Instance_Edition) Number
func (x Instance_Edition) Number() protoreflect.EnumNumber
func (Instance_Edition) String
func (x Instance_Edition) String() string
func (Instance_Edition) Type
func (Instance_Edition) Type() protoreflect.EnumType
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) Descriptor() protoreflect.EnumDescriptor
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 (x Instance_State) Number() protoreflect.EnumNumber
func (Instance_State) String
func (x Instance_State) String() string
func (Instance_State) Type
func (Instance_State) Type() protoreflect.EnumType
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 (x *ListInstanceConfigOperationsRequest) GetFilter() string
func (*ListInstanceConfigOperationsRequest) GetPageSize
func (x *ListInstanceConfigOperationsRequest) GetPageSize() int32
func (*ListInstanceConfigOperationsRequest) GetPageToken
func (x *ListInstanceConfigOperationsRequest) GetPageToken() string
func (*ListInstanceConfigOperationsRequest) GetParent
func (x *ListInstanceConfigOperationsRequest) GetParent() string
func (*ListInstanceConfigOperationsRequest) ProtoMessage
func (*ListInstanceConfigOperationsRequest) ProtoMessage()
func (*ListInstanceConfigOperationsRequest) ProtoReflect
func (x *ListInstanceConfigOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListInstanceConfigOperationsRequest) Reset
func (x *ListInstanceConfigOperationsRequest) Reset()
func (*ListInstanceConfigOperationsRequest) String
func (x *ListInstanceConfigOperationsRequest) String() string
ListInstanceConfigOperationsResponse
type ListInstanceConfigOperationsResponse struct {
// The list of matching instance configuration [long-running
// operations][google.longrunning.Operation]. Each operation's name will be
// prefixed by the name of the instance configuration. The operation's
// [metadata][google.longrunning.Operation.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 (x *ListInstanceConfigOperationsResponse) GetOperations() []*longrunningpb.Operation
func (*ListInstanceConfigOperationsResponse) ProtoMessage
func (*ListInstanceConfigOperationsResponse) ProtoMessage()
func (*ListInstanceConfigOperationsResponse) ProtoReflect
func (x *ListInstanceConfigOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListInstanceConfigOperationsResponse) Reset
func (x *ListInstanceConfigOperationsResponse) Reset()
func (*ListInstanceConfigOperationsResponse) String
func (x *ListInstanceConfigOperationsResponse) String() 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 (x *ListInstanceConfigsRequest) ProtoReflect() protoreflect.Message
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 (x *ListInstanceConfigsResponse) ProtoReflect() protoreflect.Message
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 (x *ListInstancePartitionOperationsRequest) GetFilter() string
func (*ListInstancePartitionOperationsRequest) GetInstancePartitionDeadline
func (x *ListInstancePartitionOperationsRequest) GetInstancePartitionDeadline() *timestamppb.Timestamp
func (*ListInstancePartitionOperationsRequest) GetPageSize
func (x *ListInstancePartitionOperationsRequest) GetPageSize() int32
func (*ListInstancePartitionOperationsRequest) GetPageToken
func (x *ListInstancePartitionOperationsRequest) GetPageToken() string
func (*ListInstancePartitionOperationsRequest) GetParent
func (x *ListInstancePartitionOperationsRequest) GetParent() string
func (*ListInstancePartitionOperationsRequest) ProtoMessage
func (*ListInstancePartitionOperationsRequest) ProtoMessage()
func (*ListInstancePartitionOperationsRequest) ProtoReflect
func (x *ListInstancePartitionOperationsRequest) ProtoReflect() protoreflect.Message
func (*ListInstancePartitionOperationsRequest) Reset
func (x *ListInstancePartitionOperationsRequest) Reset()
func (*ListInstancePartitionOperationsRequest) String
func (x *ListInstancePartitionOperationsRequest) String() 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 (x *ListInstancePartitionOperationsResponse) GetOperations() []*longrunningpb.Operation
func (*ListInstancePartitionOperationsResponse) GetUnreachableInstancePartitions
func (x *ListInstancePartitionOperationsResponse) GetUnreachableInstancePartitions() []string
func (*ListInstancePartitionOperationsResponse) ProtoMessage
func (*ListInstancePartitionOperationsResponse) ProtoMessage()
func (*ListInstancePartitionOperationsResponse) ProtoReflect
func (x *ListInstancePartitionOperationsResponse) ProtoReflect() protoreflect.Message
func (*ListInstancePartitionOperationsResponse) Reset
func (x *ListInstancePartitionOperationsResponse) Reset()
func (*ListInstancePartitionOperationsResponse) String
func (x *ListInstancePartitionOperationsResponse) String() 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 (x *ListInstancePartitionsRequest) ProtoReflect() protoreflect.Message
func (*ListInstancePartitionsRequest) Reset
func (x *ListInstancePartitionsRequest) Reset()
func (*ListInstancePartitionsRequest) String
func (x *ListInstancePartitionsRequest) String() 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 instance partitions.
// It includes the names of 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 (x *ListInstancePartitionsResponse) ProtoReflect() protoreflect.Message
func (*ListInstancePartitionsResponse) Reset
func (x *ListInstancePartitionsResponse) Reset()
func (*ListInstancePartitionsResponse) String
func (x *ListInstancePartitionsResponse) String() 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) Descriptor() protoreflect.EnumDescriptor
func (ReplicaInfo_ReplicaType) Enum
func (x ReplicaInfo_ReplicaType) Enum() *ReplicaInfo_ReplicaType
func (ReplicaInfo_ReplicaType) EnumDescriptor
func (ReplicaInfo_ReplicaType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReplicaInfo_ReplicaType.Descriptor instead.
func (ReplicaInfo_ReplicaType) Number
func (x ReplicaInfo_ReplicaType) Number() protoreflect.EnumNumber
func (ReplicaInfo_ReplicaType) String
func (x ReplicaInfo_ReplicaType) String() string
func (ReplicaInfo_ReplicaType) Type
func (ReplicaInfo_ReplicaType) Type() protoreflect.EnumType
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) CreateInstance(context.Context, *CreateInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedInstanceAdminServer) CreateInstanceConfig
func (*UnimplementedInstanceAdminServer) CreateInstanceConfig(context.Context, *CreateInstanceConfigRequest) (*longrunningpb.Operation, error)
func (*UnimplementedInstanceAdminServer) CreateInstancePartition
func (*UnimplementedInstanceAdminServer) CreateInstancePartition(context.Context, *CreateInstancePartitionRequest) (*longrunningpb.Operation, error)
func (*UnimplementedInstanceAdminServer) DeleteInstance
func (*UnimplementedInstanceAdminServer) DeleteInstance(context.Context, *DeleteInstanceRequest) (*emptypb.Empty, error)
func (*UnimplementedInstanceAdminServer) DeleteInstanceConfig
func (*UnimplementedInstanceAdminServer) DeleteInstanceConfig(context.Context, *DeleteInstanceConfigRequest) (*emptypb.Empty, error)
func (*UnimplementedInstanceAdminServer) DeleteInstancePartition
func (*UnimplementedInstanceAdminServer) DeleteInstancePartition(context.Context, *DeleteInstancePartitionRequest) (*emptypb.Empty, error)
func (*UnimplementedInstanceAdminServer) GetIamPolicy
func (*UnimplementedInstanceAdminServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedInstanceAdminServer) GetInstance
func (*UnimplementedInstanceAdminServer) GetInstance(context.Context, *GetInstanceRequest) (*Instance, error)
func (*UnimplementedInstanceAdminServer) GetInstanceConfig
func (*UnimplementedInstanceAdminServer) GetInstanceConfig(context.Context, *GetInstanceConfigRequest) (*InstanceConfig, error)
func (*UnimplementedInstanceAdminServer) GetInstancePartition
func (*UnimplementedInstanceAdminServer) GetInstancePartition(context.Context, *GetInstancePartitionRequest) (*InstancePartition, error)
func (*UnimplementedInstanceAdminServer) ListInstanceConfigOperations
func (*UnimplementedInstanceAdminServer) ListInstanceConfigOperations(context.Context, *ListInstanceConfigOperationsRequest) (*ListInstanceConfigOperationsResponse, error)
func (*UnimplementedInstanceAdminServer) ListInstanceConfigs
func (*UnimplementedInstanceAdminServer) ListInstanceConfigs(context.Context, *ListInstanceConfigsRequest) (*ListInstanceConfigsResponse, error)
func (*UnimplementedInstanceAdminServer) ListInstancePartitionOperations
func (*UnimplementedInstanceAdminServer) ListInstancePartitionOperations(context.Context, *ListInstancePartitionOperationsRequest) (*ListInstancePartitionOperationsResponse, error)
func (*UnimplementedInstanceAdminServer) ListInstancePartitions
func (*UnimplementedInstanceAdminServer) ListInstancePartitions(context.Context, *ListInstancePartitionsRequest) (*ListInstancePartitionsResponse, error)
func (*UnimplementedInstanceAdminServer) ListInstances
func (*UnimplementedInstanceAdminServer) ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error)
func (*UnimplementedInstanceAdminServer) MoveInstance
func (*UnimplementedInstanceAdminServer) MoveInstance(context.Context, *MoveInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedInstanceAdminServer) SetIamPolicy
func (*UnimplementedInstanceAdminServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
func (*UnimplementedInstanceAdminServer) TestIamPermissions
func (*UnimplementedInstanceAdminServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
func (*UnimplementedInstanceAdminServer) UpdateInstance
func (*UnimplementedInstanceAdminServer) UpdateInstance(context.Context, *UpdateInstanceRequest) (*longrunningpb.Operation, error)
func (*UnimplementedInstanceAdminServer) UpdateInstanceConfig
func (*UnimplementedInstanceAdminServer) UpdateInstanceConfig(context.Context, *UpdateInstanceConfigRequest) (*longrunningpb.Operation, error)
func (*UnimplementedInstanceAdminServer) UpdateInstancePartition
func (*UnimplementedInstanceAdminServer) UpdateInstancePartition(context.Context, *UpdateInstancePartitionRequest) (*longrunningpb.Operation, error)
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 (x *UpdateInstanceConfigMetadata) GetCancelTime() *timestamppb.Timestamp
func (*UpdateInstanceConfigMetadata) GetInstanceConfig
func (x *UpdateInstanceConfigMetadata) GetInstanceConfig() *InstanceConfig
func (*UpdateInstanceConfigMetadata) GetProgress
func (x *UpdateInstanceConfigMetadata) GetProgress() *OperationProgress
func (*UpdateInstanceConfigMetadata) ProtoMessage
func (*UpdateInstanceConfigMetadata) ProtoMessage()
func (*UpdateInstanceConfigMetadata) ProtoReflect
func (x *UpdateInstanceConfigMetadata) ProtoReflect() protoreflect.Message
func (*UpdateInstanceConfigMetadata) Reset
func (x *UpdateInstanceConfigMetadata) Reset()
func (*UpdateInstanceConfigMetadata) String
func (x *UpdateInstanceConfigMetadata) String() 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 [UpdateInstanceConfigRequest][InstanceAdmin.UpdateInstanceConfigRequest].
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 (x *UpdateInstanceConfigRequest) GetUpdateMask() *fieldmaskpb.FieldMask
func (*UpdateInstanceConfigRequest) GetValidateOnly
func (x *UpdateInstanceConfigRequest) GetValidateOnly() bool
func (*UpdateInstanceConfigRequest) ProtoMessage
func (*UpdateInstanceConfigRequest) ProtoMessage()
func (*UpdateInstanceConfigRequest) ProtoReflect
func (x *UpdateInstanceConfigRequest) ProtoReflect() protoreflect.Message
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 (x *UpdateInstancePartitionMetadata) GetCancelTime() *timestamppb.Timestamp
func (*UpdateInstancePartitionMetadata) GetEndTime
func (x *UpdateInstancePartitionMetadata) GetEndTime() *timestamppb.Timestamp
func (*UpdateInstancePartitionMetadata) GetInstancePartition
func (x *UpdateInstancePartitionMetadata) GetInstancePartition() *InstancePartition
func (*UpdateInstancePartitionMetadata) GetStartTime
func (x *UpdateInstancePartitionMetadata) GetStartTime() *timestamppb.Timestamp
func (*UpdateInstancePartitionMetadata) ProtoMessage
func (*UpdateInstancePartitionMetadata) ProtoMessage()
func (*UpdateInstancePartitionMetadata) ProtoReflect
func (x *UpdateInstancePartitionMetadata) ProtoReflect() protoreflect.Message
func (*UpdateInstancePartitionMetadata) Reset
func (x *UpdateInstancePartitionMetadata) Reset()
func (*UpdateInstancePartitionMetadata) String
func (x *UpdateInstancePartitionMetadata) String() 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 (x *UpdateInstancePartitionRequest) GetFieldMask() *fieldmaskpb.FieldMask
func (*UpdateInstancePartitionRequest) GetInstancePartition
func (x *UpdateInstancePartitionRequest) GetInstancePartition() *InstancePartition
func (*UpdateInstancePartitionRequest) ProtoMessage
func (*UpdateInstancePartitionRequest) ProtoMessage()
func (*UpdateInstancePartitionRequest) ProtoReflect
func (x *UpdateInstancePartitionRequest) ProtoReflect() protoreflect.Message
func (*UpdateInstancePartitionRequest) Reset
func (x *UpdateInstancePartitionRequest) Reset()
func (*UpdateInstancePartitionRequest) String
func (x *UpdateInstancePartitionRequest) String() 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