google-cloud-spanner-admin-instance-v1 1.4.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/client.rb +53 -45
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/operations.rb +7 -0
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/rest/client.rb +53 -45
- data/lib/google/cloud/spanner/admin/instance/v1/instance_admin/rest/operations.rb +7 -0
- data/lib/google/cloud/spanner/admin/instance/v1/version.rb +1 -1
- data/lib/google/spanner/admin/instance/v1/common_pb.rb +2 -1
- data/lib/google/spanner/admin/instance/v1/spanner_instance_admin_pb.rb +6 -1
- data/lib/google/spanner/admin/instance/v1/spanner_instance_admin_services_pb.rb +36 -36
- data/proto_docs/google/longrunning/operations.rb +4 -0
- data/proto_docs/google/spanner/admin/instance/v1/spanner_instance_admin.rb +193 -57
- metadata +6 -9
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
module V1
|
26
26
|
# @!attribute [rw] location
|
27
27
|
# @return [::String]
|
28
|
-
# The location of the serving resources, e.g
|
28
|
+
# The location of the serving resources, e.g., "us-central1".
|
29
29
|
# @!attribute [rw] type
|
30
30
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo::ReplicaType]
|
31
31
|
# The type of replica.
|
@@ -94,16 +94,21 @@ module Google
|
|
94
94
|
# @return [::Array<::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo>]
|
95
95
|
# The geographic placement of nodes in this instance configuration and their
|
96
96
|
# replication properties.
|
97
|
+
#
|
98
|
+
# To create user-managed configurations, input
|
99
|
+
# `replicas` must include all replicas in `replicas` of the `base_config`
|
100
|
+
# and include one or more replicas in the `optional_replicas` of the
|
101
|
+
# `base_config`.
|
97
102
|
# @!attribute [r] optional_replicas
|
98
103
|
# @return [::Array<::Google::Cloud::Spanner::Admin::Instance::V1::ReplicaInfo>]
|
99
|
-
# Output only. The available optional replicas to choose from for
|
100
|
-
# managed configurations. Populated for Google
|
104
|
+
# Output only. The available optional replicas to choose from for
|
105
|
+
# user-managed configurations. Populated for Google-managed configurations.
|
101
106
|
# @!attribute [rw] base_config
|
102
107
|
# @return [::String]
|
103
108
|
# Base configuration name, e.g. projects/<project_name>/instanceConfigs/nam3,
|
104
|
-
# based on which this configuration is created. Only set for user
|
109
|
+
# based on which this configuration is created. Only set for user-managed
|
105
110
|
# configurations. `base_config` must refer to a configuration of type
|
106
|
-
# GOOGLE_MANAGED in the same project as this configuration.
|
111
|
+
# `GOOGLE_MANAGED` in the same project as this configuration.
|
107
112
|
# @!attribute [rw] labels
|
108
113
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
109
114
|
# Cloud Labels are a flexible and lightweight mechanism for organizing cloud
|
@@ -153,6 +158,16 @@ module Google
|
|
153
158
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig::State]
|
154
159
|
# Output only. The current instance configuration state. Applicable only for
|
155
160
|
# `USER_MANAGED` configurations.
|
161
|
+
# @!attribute [r] free_instance_availability
|
162
|
+
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig::FreeInstanceAvailability]
|
163
|
+
# Output only. Describes whether free instances are available to be created
|
164
|
+
# in this instance configuration.
|
165
|
+
# @!attribute [r] quorum_type
|
166
|
+
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig::QuorumType]
|
167
|
+
# Output only. The `QuorumType` of the instance configuration.
|
168
|
+
# @!attribute [r] storage_limit_per_processing_unit
|
169
|
+
# @return [::Integer]
|
170
|
+
# Output only. The storage limit in bytes per processing unit.
|
156
171
|
class InstanceConfig
|
157
172
|
include ::Google::Protobuf::MessageExts
|
158
173
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -171,10 +186,10 @@ module Google
|
|
171
186
|
# Unspecified.
|
172
187
|
TYPE_UNSPECIFIED = 0
|
173
188
|
|
174
|
-
# Google
|
189
|
+
# Google-managed configuration.
|
175
190
|
GOOGLE_MANAGED = 1
|
176
191
|
|
177
|
-
# User
|
192
|
+
# User-managed configuration.
|
178
193
|
USER_MANAGED = 2
|
179
194
|
end
|
180
195
|
|
@@ -190,6 +205,53 @@ module Google
|
|
190
205
|
# create instances.
|
191
206
|
READY = 2
|
192
207
|
end
|
208
|
+
|
209
|
+
# Describes the availability for free instances to be created in an instance
|
210
|
+
# configuration.
|
211
|
+
module FreeInstanceAvailability
|
212
|
+
# Not specified.
|
213
|
+
FREE_INSTANCE_AVAILABILITY_UNSPECIFIED = 0
|
214
|
+
|
215
|
+
# Indicates that free instances are available to be created in this
|
216
|
+
# instance configuration.
|
217
|
+
AVAILABLE = 1
|
218
|
+
|
219
|
+
# Indicates that free instances are not supported in this instance
|
220
|
+
# configuration.
|
221
|
+
UNSUPPORTED = 2
|
222
|
+
|
223
|
+
# Indicates that free instances are currently not available to be created
|
224
|
+
# in this instance configuration.
|
225
|
+
DISABLED = 3
|
226
|
+
|
227
|
+
# Indicates that additional free instances cannot be created in this
|
228
|
+
# instance configuration because the project has reached its limit of free
|
229
|
+
# instances.
|
230
|
+
QUOTA_EXCEEDED = 4
|
231
|
+
end
|
232
|
+
|
233
|
+
# Indicates the quorum type of this instance configuration.
|
234
|
+
module QuorumType
|
235
|
+
# Quorum type not specified.
|
236
|
+
QUORUM_TYPE_UNSPECIFIED = 0
|
237
|
+
|
238
|
+
# An instance configuration tagged with `REGION` quorum type forms a write
|
239
|
+
# quorum in a single region.
|
240
|
+
REGION = 1
|
241
|
+
|
242
|
+
# An instance configuration tagged with the `DUAL_REGION` quorum type forms
|
243
|
+
# a write quorum with exactly two read-write regions in a multi-region
|
244
|
+
# configuration.
|
245
|
+
#
|
246
|
+
# This instance configuration requires failover in the event of
|
247
|
+
# regional failures.
|
248
|
+
DUAL_REGION = 2
|
249
|
+
|
250
|
+
# An instance configuration tagged with the `MULTI_REGION` quorum type
|
251
|
+
# forms a write quorum from replicas that are spread across more than one
|
252
|
+
# region in a multi-region configuration.
|
253
|
+
MULTI_REGION = 3
|
254
|
+
end
|
193
255
|
end
|
194
256
|
|
195
257
|
# ReplicaComputeCapacity describes the amount of server resources that are
|
@@ -204,12 +266,16 @@ module Google
|
|
204
266
|
#
|
205
267
|
# This may be zero in API responses for instances that are not yet in
|
206
268
|
# state `READY`.
|
269
|
+
#
|
270
|
+
# Note: The following fields are mutually exclusive: `node_count`, `processing_units`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
207
271
|
# @!attribute [rw] processing_units
|
208
272
|
# @return [::Integer]
|
209
273
|
# The number of processing units allocated to each replica.
|
210
274
|
#
|
211
275
|
# This may be zero in API responses for instances that are not yet in
|
212
276
|
# state `READY`.
|
277
|
+
#
|
278
|
+
# Note: The following fields are mutually exclusive: `processing_units`, `node_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
213
279
|
class ReplicaComputeCapacity
|
214
280
|
include ::Google::Protobuf::MessageExts
|
215
281
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -246,19 +312,27 @@ module Google
|
|
246
312
|
# @return [::Integer]
|
247
313
|
# Minimum number of nodes allocated to the instance. If set, this number
|
248
314
|
# should be greater than or equal to 1.
|
315
|
+
#
|
316
|
+
# Note: The following fields are mutually exclusive: `min_nodes`, `min_processing_units`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
249
317
|
# @!attribute [rw] min_processing_units
|
250
318
|
# @return [::Integer]
|
251
319
|
# Minimum number of processing units allocated to the instance. If set,
|
252
320
|
# this number should be multiples of 1000.
|
321
|
+
#
|
322
|
+
# Note: The following fields are mutually exclusive: `min_processing_units`, `min_nodes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
253
323
|
# @!attribute [rw] max_nodes
|
254
324
|
# @return [::Integer]
|
255
325
|
# Maximum number of nodes allocated to the instance. If set, this number
|
256
326
|
# should be greater than or equal to min_nodes.
|
327
|
+
#
|
328
|
+
# Note: The following fields are mutually exclusive: `max_nodes`, `max_processing_units`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
257
329
|
# @!attribute [rw] max_processing_units
|
258
330
|
# @return [::Integer]
|
259
331
|
# Maximum number of processing units allocated to the instance. If set,
|
260
332
|
# this number should be multiples of 1000 and be greater than or equal to
|
261
333
|
# min_processing_units.
|
334
|
+
#
|
335
|
+
# Note: The following fields are mutually exclusive: `max_processing_units`, `max_nodes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
262
336
|
class AutoscalingLimits
|
263
337
|
include ::Google::Protobuf::MessageExts
|
264
338
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -276,7 +350,7 @@ module Google
|
|
276
350
|
# Required. The target storage utilization percentage that the autoscaler
|
277
351
|
# should be trying to achieve for the instance. This number is on a scale
|
278
352
|
# from 0 (no utilization) to 100 (full utilization). The valid range is
|
279
|
-
# [10,
|
353
|
+
# [10, 99] inclusive.
|
280
354
|
class AutoscalingTargets
|
281
355
|
include ::Google::Protobuf::MessageExts
|
282
356
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -347,9 +421,6 @@ module Google
|
|
347
421
|
# This might be zero in API responses for instances that are not yet in the
|
348
422
|
# `READY` state.
|
349
423
|
#
|
350
|
-
# If the instance has varying node count across replicas (achieved by
|
351
|
-
# setting asymmetric_autoscaling_options in autoscaling config), the
|
352
|
-
# node_count here is the maximum node count across all replicas.
|
353
424
|
#
|
354
425
|
# For more information, see
|
355
426
|
# [Compute capacity, nodes, and processing
|
@@ -369,10 +440,6 @@ module Google
|
|
369
440
|
# This might be zero in API responses for instances that are not yet in the
|
370
441
|
# `READY` state.
|
371
442
|
#
|
372
|
-
# If the instance has varying processing units per replica
|
373
|
-
# (achieved by setting asymmetric_autoscaling_options in autoscaling config),
|
374
|
-
# the processing_units here is the maximum processing units across all
|
375
|
-
# replicas.
|
376
443
|
#
|
377
444
|
# For more information, see
|
378
445
|
# [Compute capacity, nodes and processing
|
@@ -418,6 +485,9 @@ module Google
|
|
418
485
|
# specific characters being disallowed. For example, representing labels
|
419
486
|
# as the string: name + "_" + value would prove problematic if we were to
|
420
487
|
# allow "_" in a future release.
|
488
|
+
# @!attribute [rw] instance_type
|
489
|
+
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::Instance::InstanceType]
|
490
|
+
# The `InstanceType` of the current instance.
|
421
491
|
# @!attribute [rw] endpoint_uris
|
422
492
|
# @return [::Array<::String>]
|
423
493
|
# Deprecated. This field is not populated.
|
@@ -427,20 +497,24 @@ module Google
|
|
427
497
|
# @!attribute [r] update_time
|
428
498
|
# @return [::Google::Protobuf::Timestamp]
|
429
499
|
# Output only. The time at which the instance was most recently updated.
|
500
|
+
# @!attribute [rw] free_instance_metadata
|
501
|
+
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::FreeInstanceMetadata]
|
502
|
+
# Free instance metadata. Only populated for free instances.
|
430
503
|
# @!attribute [rw] edition
|
431
504
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::Instance::Edition]
|
432
505
|
# Optional. The `Edition` of the current instance.
|
433
506
|
# @!attribute [rw] default_backup_schedule_type
|
434
507
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::Instance::DefaultBackupScheduleType]
|
435
|
-
# Optional. Controls the default backup behavior for new databases
|
436
|
-
# instance.
|
508
|
+
# Optional. Controls the default backup schedule behavior for new databases
|
509
|
+
# within the instance. By default, a backup schedule is created automatically
|
510
|
+
# when a new database is created in a new instance.
|
437
511
|
#
|
438
|
-
# Note that `AUTOMATIC`
|
439
|
-
# backup schedules
|
512
|
+
# Note that the `AUTOMATIC` value isn't permitted for free instances,
|
513
|
+
# as backups and backup schedules aren't supported for free instances.
|
440
514
|
#
|
441
515
|
# In the `GetInstance` or `ListInstances` response, if the value of
|
442
|
-
# default_backup_schedule_type
|
443
|
-
#
|
516
|
+
# `default_backup_schedule_type` isn't set, or set to `NONE`, Spanner doesn't
|
517
|
+
# create a default backup schedule for new databases in the instance.
|
444
518
|
class Instance
|
445
519
|
include ::Google::Protobuf::MessageExts
|
446
520
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -469,6 +543,24 @@ module Google
|
|
469
543
|
READY = 2
|
470
544
|
end
|
471
545
|
|
546
|
+
# The type of this instance. The type can be used to distinguish product
|
547
|
+
# variants, that can affect aspects like: usage restrictions, quotas and
|
548
|
+
# billing. Currently this is used to distinguish FREE_INSTANCE vs PROVISIONED
|
549
|
+
# instances.
|
550
|
+
module InstanceType
|
551
|
+
# Not specified.
|
552
|
+
INSTANCE_TYPE_UNSPECIFIED = 0
|
553
|
+
|
554
|
+
# Provisioned instances have dedicated resources, standard usage limits and
|
555
|
+
# support.
|
556
|
+
PROVISIONED = 1
|
557
|
+
|
558
|
+
# Free instances provide no guarantee for dedicated resources,
|
559
|
+
# [node_count, processing_units] should be 0. They come
|
560
|
+
# with stricter usage limits and limited support.
|
561
|
+
FREE_INSTANCE = 2
|
562
|
+
end
|
563
|
+
|
472
564
|
# The edition selected for this instance. Different editions provide
|
473
565
|
# different capabilities at different price points.
|
474
566
|
module Edition
|
@@ -485,21 +577,22 @@ module Google
|
|
485
577
|
ENTERPRISE_PLUS = 3
|
486
578
|
end
|
487
579
|
|
488
|
-
# Indicates the
|
489
|
-
#
|
580
|
+
# Indicates the
|
581
|
+
# [default backup
|
582
|
+
# schedule](https://cloud.google.com/spanner/docs/backup#default-backup-schedules)
|
583
|
+
# behavior for new databases within the instance.
|
490
584
|
module DefaultBackupScheduleType
|
491
585
|
# Not specified.
|
492
586
|
DEFAULT_BACKUP_SCHEDULE_TYPE_UNSPECIFIED = 0
|
493
587
|
|
494
|
-
#
|
495
|
-
#
|
588
|
+
# A default backup schedule isn't created automatically when a new database
|
589
|
+
# is created in the instance.
|
496
590
|
NONE = 1
|
497
591
|
|
498
|
-
# A default backup schedule
|
499
|
-
#
|
500
|
-
# backup every 24 hours
|
501
|
-
#
|
502
|
-
# other backup schedule.
|
592
|
+
# A default backup schedule is created automatically when a new database
|
593
|
+
# is created in the instance. The default backup schedule creates a full
|
594
|
+
# backup every 24 hours. These full backups are retained for 7 days.
|
595
|
+
# You can edit or delete the default backup schedule once it's created.
|
503
596
|
AUTOMATIC = 2
|
504
597
|
end
|
505
598
|
end
|
@@ -553,7 +646,7 @@ module Google
|
|
553
646
|
end
|
554
647
|
|
555
648
|
# The request for
|
556
|
-
#
|
649
|
+
# {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Client#create_instance_config CreateInstanceConfig}.
|
557
650
|
# @!attribute [rw] parent
|
558
651
|
# @return [::String]
|
559
652
|
# Required. The name of the project in which to create the instance
|
@@ -566,10 +659,10 @@ module Google
|
|
566
659
|
# conflicts with Google-managed configurations.
|
567
660
|
# @!attribute [rw] instance_config
|
568
661
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig]
|
569
|
-
# Required. The InstanceConfig proto of the configuration to create.
|
570
|
-
# instance_config.name must be
|
662
|
+
# Required. The `InstanceConfig` proto of the configuration to create.
|
663
|
+
# `instance_config.name` must be
|
571
664
|
# `<parent>/instanceConfigs/<instance_config_id>`.
|
572
|
-
# instance_config.base_config must be a Google
|
665
|
+
# `instance_config.base_config` must be a Google-managed configuration name,
|
573
666
|
# e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
|
574
667
|
# @!attribute [rw] validate_only
|
575
668
|
# @return [::Boolean]
|
@@ -581,7 +674,7 @@ module Google
|
|
581
674
|
end
|
582
675
|
|
583
676
|
# The request for
|
584
|
-
#
|
677
|
+
# {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Client#update_instance_config UpdateInstanceConfig}.
|
585
678
|
# @!attribute [rw] instance_config
|
586
679
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig]
|
587
680
|
# Required. The user instance configuration to update, which must always
|
@@ -609,7 +702,7 @@ module Google
|
|
609
702
|
end
|
610
703
|
|
611
704
|
# The request for
|
612
|
-
#
|
705
|
+
# {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Client#delete_instance_config DeleteInstanceConfig}.
|
613
706
|
# @!attribute [rw] name
|
614
707
|
# @return [::String]
|
615
708
|
# Required. The name of the instance configuration to be deleted.
|
@@ -649,8 +742,7 @@ module Google
|
|
649
742
|
# must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
|
650
743
|
# Colon `:` is the contains operator. Filter rules are not case sensitive.
|
651
744
|
#
|
652
|
-
# The following fields in the
|
653
|
-
# are eligible for filtering:
|
745
|
+
# The following fields in the Operation are eligible for filtering:
|
654
746
|
#
|
655
747
|
# * `name` - The name of the long-running operation
|
656
748
|
# * `done` - False if the operation is in progress, else true.
|
@@ -704,10 +796,10 @@ module Google
|
|
704
796
|
# {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Client#list_instance_config_operations ListInstanceConfigOperations}.
|
705
797
|
# @!attribute [rw] operations
|
706
798
|
# @return [::Array<::Google::Longrunning::Operation>]
|
707
|
-
# The list of matching instance configuration
|
708
|
-
#
|
799
|
+
# The list of matching instance configuration long-running operations. Each
|
800
|
+
# operation's name will be
|
709
801
|
# prefixed by the name of the instance configuration. The operation's
|
710
|
-
#
|
802
|
+
# metadata field type
|
711
803
|
# `metadata.type_url` describes the type of the metadata.
|
712
804
|
# @!attribute [rw] next_page_token
|
713
805
|
# @return [::String]
|
@@ -910,6 +1002,42 @@ module Google
|
|
910
1002
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
911
1003
|
end
|
912
1004
|
|
1005
|
+
# Free instance specific metadata that is kept even after an instance has been
|
1006
|
+
# upgraded for tracking purposes.
|
1007
|
+
# @!attribute [r] expire_time
|
1008
|
+
# @return [::Google::Protobuf::Timestamp]
|
1009
|
+
# Output only. Timestamp after which the instance will either be upgraded or
|
1010
|
+
# scheduled for deletion after a grace period. ExpireBehavior is used to
|
1011
|
+
# choose between upgrading or scheduling the free instance for deletion. This
|
1012
|
+
# timestamp is set during the creation of a free instance.
|
1013
|
+
# @!attribute [r] upgrade_time
|
1014
|
+
# @return [::Google::Protobuf::Timestamp]
|
1015
|
+
# Output only. If present, the timestamp at which the free instance was
|
1016
|
+
# upgraded to a provisioned instance.
|
1017
|
+
# @!attribute [rw] expire_behavior
|
1018
|
+
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::FreeInstanceMetadata::ExpireBehavior]
|
1019
|
+
# Specifies the expiration behavior of a free instance. The default of
|
1020
|
+
# ExpireBehavior is `REMOVE_AFTER_GRACE_PERIOD`. This can be modified during
|
1021
|
+
# or after creation, and before expiration.
|
1022
|
+
class FreeInstanceMetadata
|
1023
|
+
include ::Google::Protobuf::MessageExts
|
1024
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1025
|
+
|
1026
|
+
# Allows users to change behavior when a free instance expires.
|
1027
|
+
module ExpireBehavior
|
1028
|
+
# Not specified.
|
1029
|
+
EXPIRE_BEHAVIOR_UNSPECIFIED = 0
|
1030
|
+
|
1031
|
+
# When the free instance expires, upgrade the instance to a provisioned
|
1032
|
+
# instance.
|
1033
|
+
FREE_TO_PROVISIONED = 1
|
1034
|
+
|
1035
|
+
# When the free instance expires, disable the instance, and delete it
|
1036
|
+
# after the grace period passes if it has not been upgraded.
|
1037
|
+
REMOVE_AFTER_GRACE_PERIOD = 2
|
1038
|
+
end
|
1039
|
+
end
|
1040
|
+
|
913
1041
|
# Metadata type for the operation returned by
|
914
1042
|
# {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Client#create_instance_config CreateInstanceConfig}.
|
915
1043
|
# @!attribute [rw] instance_config
|
@@ -970,20 +1098,24 @@ module Google
|
|
970
1098
|
# @return [::Integer]
|
971
1099
|
# The number of nodes allocated to this instance partition.
|
972
1100
|
#
|
973
|
-
# Users can set the node_count field to specify the target number of
|
974
|
-
# allocated to the instance partition.
|
1101
|
+
# Users can set the `node_count` field to specify the target number of
|
1102
|
+
# nodes allocated to the instance partition.
|
975
1103
|
#
|
976
1104
|
# This may be zero in API responses for instance partitions that are not
|
977
1105
|
# yet in state `READY`.
|
1106
|
+
#
|
1107
|
+
# Note: The following fields are mutually exclusive: `node_count`, `processing_units`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
978
1108
|
# @!attribute [rw] processing_units
|
979
1109
|
# @return [::Integer]
|
980
1110
|
# The number of processing units allocated to this instance partition.
|
981
1111
|
#
|
982
|
-
# Users can set the processing_units field to specify the target number
|
983
|
-
# processing units allocated to the instance partition.
|
1112
|
+
# Users can set the `processing_units` field to specify the target number
|
1113
|
+
# of processing units allocated to the instance partition.
|
984
1114
|
#
|
985
|
-
# This
|
986
|
-
# yet in
|
1115
|
+
# This might be zero in API responses for instance partitions that are not
|
1116
|
+
# yet in the `READY` state.
|
1117
|
+
#
|
1118
|
+
# Note: The following fields are mutually exclusive: `processing_units`, `node_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
987
1119
|
# @!attribute [r] state
|
988
1120
|
# @return [::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition::State]
|
989
1121
|
# Output only. The current instance partition state.
|
@@ -1001,7 +1133,9 @@ module Google
|
|
1001
1133
|
# The existence of any referencing database prevents the instance partition
|
1002
1134
|
# from being deleted.
|
1003
1135
|
# @!attribute [r] referencing_backups
|
1136
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
1004
1137
|
# @return [::Array<::String>]
|
1138
|
+
# Output only. Deprecated: This field is not populated.
|
1005
1139
|
# Output only. The names of the backups that reference this instance
|
1006
1140
|
# partition. Referencing backups should share the parent instance. The
|
1007
1141
|
# existence of any referencing backup prevents the instance partition from
|
@@ -1162,7 +1296,9 @@ module Google
|
|
1162
1296
|
# @!attribute [rw] parent
|
1163
1297
|
# @return [::String]
|
1164
1298
|
# Required. The instance whose instance partitions should be listed. Values
|
1165
|
-
# are of the form `projects/<project>/instances/<instance>`.
|
1299
|
+
# are of the form `projects/<project>/instances/<instance>`. Use `{instance}
|
1300
|
+
# = '-'` to list instance partitions for all Instances in a project, e.g.,
|
1301
|
+
# `projects/myproject/instances/-`.
|
1166
1302
|
# @!attribute [rw] page_size
|
1167
1303
|
# @return [::Integer]
|
1168
1304
|
# Number of instance partitions to be returned in the response. If 0 or less,
|
@@ -1198,9 +1334,9 @@ module Google
|
|
1198
1334
|
# call to fetch more of the matching instance partitions.
|
1199
1335
|
# @!attribute [rw] unreachable
|
1200
1336
|
# @return [::Array<::String>]
|
1201
|
-
# The list of unreachable instance partitions.
|
1202
|
-
# It includes the names of instance partitions whose metadata
|
1203
|
-
# not be retrieved within
|
1337
|
+
# The list of unreachable instances or instance partitions.
|
1338
|
+
# It includes the names of instances or instance partitions whose metadata
|
1339
|
+
# could not be retrieved within
|
1204
1340
|
# {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionsRequest#instance_partition_deadline instance_partition_deadline}.
|
1205
1341
|
class ListInstancePartitionsResponse
|
1206
1342
|
include ::Google::Protobuf::MessageExts
|
@@ -1223,8 +1359,7 @@ module Google
|
|
1223
1359
|
# must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
|
1224
1360
|
# Colon `:` is the contains operator. Filter rules are not case sensitive.
|
1225
1361
|
#
|
1226
|
-
# The following fields in the
|
1227
|
-
# are eligible for filtering:
|
1362
|
+
# The following fields in the Operation are eligible for filtering:
|
1228
1363
|
#
|
1229
1364
|
# * `name` - The name of the long-running operation
|
1230
1365
|
# * `done` - False if the operation is in progress, else true.
|
@@ -1274,7 +1409,8 @@ module Google
|
|
1274
1409
|
# Optional. Deadline used while retrieving metadata for instance partition
|
1275
1410
|
# operations. Instance partitions whose operation metadata cannot be
|
1276
1411
|
# retrieved within this deadline will be added to
|
1277
|
-
#
|
1412
|
+
# {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionOperationsResponse#unreachable_instance_partitions unreachable_instance_partitions}
|
1413
|
+
# in
|
1278
1414
|
# {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionOperationsResponse ListInstancePartitionOperationsResponse}.
|
1279
1415
|
class ListInstancePartitionOperationsRequest
|
1280
1416
|
include ::Google::Protobuf::MessageExts
|
@@ -1285,10 +1421,10 @@ module Google
|
|
1285
1421
|
# {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceAdmin::Client#list_instance_partition_operations ListInstancePartitionOperations}.
|
1286
1422
|
# @!attribute [rw] operations
|
1287
1423
|
# @return [::Array<::Google::Longrunning::Operation>]
|
1288
|
-
# The list of matching instance partition
|
1289
|
-
#
|
1424
|
+
# The list of matching instance partition long-running operations. Each
|
1425
|
+
# operation's name will be
|
1290
1426
|
# prefixed by the instance partition's name. The operation's
|
1291
|
-
#
|
1427
|
+
# metadata field type
|
1292
1428
|
# `metadata.type_url` describes the type of the metadata.
|
1293
1429
|
# @!attribute [rw] next_page_token
|
1294
1430
|
# @return [::String]
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-spanner-admin-instance-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -109,7 +108,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
109
108
|
licenses:
|
110
109
|
- Apache-2.0
|
111
110
|
metadata: {}
|
112
|
-
post_install_message:
|
113
111
|
rdoc_options: []
|
114
112
|
require_paths:
|
115
113
|
- lib
|
@@ -117,15 +115,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
115
|
requirements:
|
118
116
|
- - ">="
|
119
117
|
- !ruby/object:Gem::Version
|
120
|
-
version: '
|
118
|
+
version: '3.0'
|
121
119
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
122
120
|
requirements:
|
123
121
|
- - ">="
|
124
122
|
- !ruby/object:Gem::Version
|
125
123
|
version: '0'
|
126
124
|
requirements: []
|
127
|
-
rubygems_version: 3.
|
128
|
-
signing_key:
|
125
|
+
rubygems_version: 3.6.2
|
129
126
|
specification_version: 4
|
130
127
|
summary: API Client library for the Cloud Spanner Instance Admin V1 API
|
131
128
|
test_files: []
|