google-cloud-spanner-admin-instance-v1 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96acd673d20b00e3741ae06619e7862339482f0f2f6383b93f948d0f48c89a2a
4
- data.tar.gz: b526506524a3bdc43048e377124924394737a48b2b775718a76f8f95e34e90c3
3
+ metadata.gz: ffefb9b2f53566b7a1daf8189189bf0d48be02a21bb0c874edea7fadc2b97ff2
4
+ data.tar.gz: 439a5e7ddaf7359a7fdaaa27aa20eef8ba06ef20891f14f80c20326e963c143b
5
5
  SHA512:
6
- metadata.gz: 6c38818d6839ead43f5fed31b7d8ef62caaf86f2d46c552ad1c4f27992a3b81a9ee6f3c8bdbab919a8ed0e44c1a46a9fc8dd66710109d987c2e018dfdc1c7b1f
7
- data.tar.gz: 83c7ade0d395b7ce8d431aa5d230ee185662dea2af2314d901cdc6b292e891d2f0e4493b216772ef44ce68f31646d17d85f0f79d8fded71368cbb171c4132e34
6
+ metadata.gz: 0c7d87f03197e14aed4c8c5981c2523a393098247ef4c24cbdb195cf7390712c5232018e4250f6a3e5ce7bb09ab43b245c1073d14976a3f8b73167a39cd31e69
7
+ data.tar.gz: 8d3e5952aa56fdbe787dd2dafe814baea4c538aa9c8e32adbe147780e09a6121a3547efdf4df3a060147b343643840e24af996bb8219b8dd2f011c8e0904ad58
@@ -260,6 +260,9 @@ module Google
260
260
  ##
261
261
  # Lists the supported instance configurations for a given project.
262
262
  #
263
+ # Returns both Google-managed configurations and user-managed
264
+ # configurations.
265
+ #
263
266
  # @overload list_instance_configs(request, options = nil)
264
267
  # Pass arguments to `list_instance_configs` via a request object, either of type
265
268
  # {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstanceConfigsRequest} or an equivalent Hash.
@@ -446,7 +449,7 @@ module Google
446
449
 
447
450
  ##
448
451
  # Creates an instance configuration and begins preparing it to be used. The
449
- # returned {::Google::Longrunning::Operation long-running operation}
452
+ # returned long-running operation
450
453
  # can be used to track the progress of preparing the new
451
454
  # instance configuration. The instance configuration name is assigned by the
452
455
  # caller. If the named instance configuration already exists,
@@ -473,13 +476,13 @@ module Google
473
476
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig#reconciling reconciling}
474
477
  # field becomes false. Its state becomes `READY`.
475
478
  #
476
- # The returned {::Google::Longrunning::Operation long-running operation} will
479
+ # The returned long-running operation will
477
480
  # have a name of the format
478
481
  # `<instance_config_name>/operations/<operation_id>` and can be used to track
479
482
  # creation of the instance configuration. The
480
- # {::Google::Longrunning::Operation#metadata metadata} field type is
483
+ # metadata field type is
481
484
  # {::Google::Cloud::Spanner::Admin::Instance::V1::CreateInstanceConfigMetadata CreateInstanceConfigMetadata}.
482
- # The {::Google::Longrunning::Operation#response response} field type is
485
+ # The response field type is
483
486
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig InstanceConfig}, if
484
487
  # successful.
485
488
  #
@@ -511,10 +514,10 @@ module Google
511
514
  # characters in length. The `custom-` prefix is required to avoid name
512
515
  # conflicts with Google-managed configurations.
513
516
  # @param instance_config [::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig, ::Hash]
514
- # Required. The InstanceConfig proto of the configuration to create.
515
- # instance_config.name must be
517
+ # Required. The `InstanceConfig` proto of the configuration to create.
518
+ # `instance_config.name` must be
516
519
  # `<parent>/instanceConfigs/<instance_config_id>`.
517
- # instance_config.base_config must be a Google managed configuration name,
520
+ # `instance_config.base_config` must be a Google-managed configuration name,
518
521
  # e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
519
522
  # @param validate_only [::Boolean]
520
523
  # An option to validate, but not actually execute, a request,
@@ -595,7 +598,7 @@ module Google
595
598
 
596
599
  ##
597
600
  # Updates an instance configuration. The returned
598
- # {::Google::Longrunning::Operation long-running operation} can be used to track
601
+ # long-running operation can be used to track
599
602
  # the progress of updating the instance. If the named instance configuration
600
603
  # does not exist, returns `NOT_FOUND`.
601
604
  #
@@ -626,13 +629,13 @@ module Google
626
629
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig#reconciling reconciling}
627
630
  # field becomes false.
628
631
  #
629
- # The returned {::Google::Longrunning::Operation long-running operation} will
632
+ # The returned long-running operation will
630
633
  # have a name of the format
631
634
  # `<instance_config_name>/operations/<operation_id>` and can be used to track
632
635
  # the instance configuration modification. The
633
- # {::Google::Longrunning::Operation#metadata metadata} field type is
636
+ # metadata field type is
634
637
  # {::Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceConfigMetadata UpdateInstanceConfigMetadata}.
635
- # The {::Google::Longrunning::Operation#response response} field type is
638
+ # The response field type is
636
639
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig InstanceConfig}, if
637
640
  # successful.
638
641
  #
@@ -852,12 +855,12 @@ module Google
852
855
  end
853
856
 
854
857
  ##
855
- # Lists the user-managed instance configuration [long-running
856
- # operations][google.longrunning.Operation] in the given project. An instance
858
+ # Lists the user-managed instance configuration long-running
859
+ # operations in the given project. An instance
857
860
  # configuration operation has a name of the form
858
861
  # `projects/<project>/instanceConfigs/<instance_config>/operations/<operation>`.
859
862
  # The long-running operation
860
- # {::Google::Longrunning::Operation#metadata metadata} field type
863
+ # metadata field type
861
864
  # `metadata.type_url` describes the type of the metadata. Operations returned
862
865
  # include those that have completed/failed/canceled within the last 7 days,
863
866
  # and pending operations. Operations returned are ordered by
@@ -891,8 +894,7 @@ module Google
891
894
  # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
892
895
  # Colon `:` is the contains operator. Filter rules are not case sensitive.
893
896
  #
894
- # The following fields in the {::Google::Longrunning::Operation Operation}
895
- # are eligible for filtering:
897
+ # The following fields in the Operation are eligible for filtering:
896
898
  #
897
899
  # * `name` - The name of the long-running operation
898
900
  # * `done` - False if the operation is in progress, else true.
@@ -1154,7 +1156,9 @@ module Google
1154
1156
  #
1155
1157
  # @param parent [::String]
1156
1158
  # Required. The instance whose instance partitions should be listed. Values
1157
- # are of the form `projects/<project>/instances/<instance>`.
1159
+ # are of the form `projects/<project>/instances/<instance>`. Use `{instance}
1160
+ # = '-'` to list instance partitions for all Instances in a project, e.g.,
1161
+ # `projects/myproject/instances/-`.
1158
1162
  # @param page_size [::Integer]
1159
1163
  # Number of instance partitions to be returned in the response. If 0 or less,
1160
1164
  # defaults to the server's maximum allowed page size.
@@ -1334,7 +1338,7 @@ module Google
1334
1338
 
1335
1339
  ##
1336
1340
  # Creates an instance and begins preparing it to begin serving. The
1337
- # returned {::Google::Longrunning::Operation long-running operation}
1341
+ # returned long-running operation
1338
1342
  # can be used to track the progress of preparing the new
1339
1343
  # instance. The instance name is assigned by the caller. If the
1340
1344
  # named instance already exists, `CreateInstance` returns
@@ -1360,12 +1364,12 @@ module Google
1360
1364
  # * The instance's allocated resource levels are readable via the API.
1361
1365
  # * The instance's state becomes `READY`.
1362
1366
  #
1363
- # The returned {::Google::Longrunning::Operation long-running operation} will
1367
+ # The returned long-running operation will
1364
1368
  # have a name of the format `<instance_name>/operations/<operation_id>` and
1365
1369
  # can be used to track creation of the instance. The
1366
- # {::Google::Longrunning::Operation#metadata metadata} field type is
1370
+ # metadata field type is
1367
1371
  # {::Google::Cloud::Spanner::Admin::Instance::V1::CreateInstanceMetadata CreateInstanceMetadata}.
1368
- # The {::Google::Longrunning::Operation#response response} field type is
1372
+ # The response field type is
1369
1373
  # {::Google::Cloud::Spanner::Admin::Instance::V1::Instance Instance}, if successful.
1370
1374
  #
1371
1375
  # @overload create_instance(request, options = nil)
@@ -1469,8 +1473,7 @@ module Google
1469
1473
 
1470
1474
  ##
1471
1475
  # Updates an instance, and begins allocating or releasing resources
1472
- # as requested. The returned [long-running
1473
- # operation][google.longrunning.Operation] can be used to track the
1476
+ # as requested. The returned long-running operation can be used to track the
1474
1477
  # progress of updating the instance. If the named instance does not
1475
1478
  # exist, returns `NOT_FOUND`.
1476
1479
  #
@@ -1498,12 +1501,12 @@ module Google
1498
1501
  # tables.
1499
1502
  # * The instance's new resource levels are readable via the API.
1500
1503
  #
1501
- # The returned {::Google::Longrunning::Operation long-running operation} will
1504
+ # The returned long-running operation will
1502
1505
  # have a name of the format `<instance_name>/operations/<operation_id>` and
1503
1506
  # can be used to track the instance modification. The
1504
- # {::Google::Longrunning::Operation#metadata metadata} field type is
1507
+ # metadata field type is
1505
1508
  # {::Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceMetadata UpdateInstanceMetadata}.
1506
- # The {::Google::Longrunning::Operation#response response} field type is
1509
+ # The response field type is
1507
1510
  # {::Google::Cloud::Spanner::Admin::Instance::V1::Instance Instance}, if successful.
1508
1511
  #
1509
1512
  # Authorization requires `spanner.instances.update` permission on
@@ -2084,7 +2087,7 @@ module Google
2084
2087
 
2085
2088
  ##
2086
2089
  # Creates an instance partition and begins preparing it to be used. The
2087
- # returned {::Google::Longrunning::Operation long-running operation}
2090
+ # returned long-running operation
2088
2091
  # can be used to track the progress of preparing the new instance partition.
2089
2092
  # The instance partition name is assigned by the caller. If the named
2090
2093
  # instance partition already exists, `CreateInstancePartition` returns
@@ -2111,13 +2114,13 @@ module Google
2111
2114
  # API.
2112
2115
  # * The instance partition's state becomes `READY`.
2113
2116
  #
2114
- # The returned {::Google::Longrunning::Operation long-running operation} will
2117
+ # The returned long-running operation will
2115
2118
  # have a name of the format
2116
2119
  # `<instance_partition_name>/operations/<operation_id>` and can be used to
2117
2120
  # track creation of the instance partition. The
2118
- # {::Google::Longrunning::Operation#metadata metadata} field type is
2121
+ # metadata field type is
2119
2122
  # {::Google::Cloud::Spanner::Admin::Instance::V1::CreateInstancePartitionMetadata CreateInstancePartitionMetadata}.
2120
- # The {::Google::Longrunning::Operation#response response} field type is
2123
+ # The response field type is
2121
2124
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition InstancePartition}, if
2122
2125
  # successful.
2123
2126
  #
@@ -2322,8 +2325,7 @@ module Google
2322
2325
 
2323
2326
  ##
2324
2327
  # Updates an instance partition, and begins allocating or releasing resources
2325
- # as requested. The returned [long-running
2326
- # operation][google.longrunning.Operation] can be used to track the
2328
+ # as requested. The returned long-running operation can be used to track the
2327
2329
  # progress of updating the instance partition. If the named instance
2328
2330
  # partition does not exist, returns `NOT_FOUND`.
2329
2331
  #
@@ -2352,13 +2354,13 @@ module Google
2352
2354
  # partition's tables.
2353
2355
  # * The instance partition's new resource levels are readable via the API.
2354
2356
  #
2355
- # The returned {::Google::Longrunning::Operation long-running operation} will
2357
+ # The returned long-running operation will
2356
2358
  # have a name of the format
2357
2359
  # `<instance_partition_name>/operations/<operation_id>` and can be used to
2358
2360
  # track the instance partition modification. The
2359
- # {::Google::Longrunning::Operation#metadata metadata} field type is
2361
+ # metadata field type is
2360
2362
  # {::Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstancePartitionMetadata UpdateInstancePartitionMetadata}.
2361
- # The {::Google::Longrunning::Operation#response response} field type is
2363
+ # The response field type is
2362
2364
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition InstancePartition}, if
2363
2365
  # successful.
2364
2366
  #
@@ -2468,12 +2470,11 @@ module Google
2468
2470
  end
2469
2471
 
2470
2472
  ##
2471
- # Lists instance partition [long-running
2472
- # operations][google.longrunning.Operation] in the given instance.
2473
+ # Lists instance partition long-running operations in the given instance.
2473
2474
  # An instance partition operation has a name of the form
2474
2475
  # `projects/<project>/instances/<instance>/instancePartitions/<instance_partition>/operations/<operation>`.
2475
2476
  # The long-running operation
2476
- # {::Google::Longrunning::Operation#metadata metadata} field type
2477
+ # metadata field type
2477
2478
  # `metadata.type_url` describes the type of the metadata. Operations returned
2478
2479
  # include those that have completed/failed/canceled within the last 7 days,
2479
2480
  # and pending operations. Operations returned are ordered by
@@ -2511,8 +2512,7 @@ module Google
2511
2512
  # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
2512
2513
  # Colon `:` is the contains operator. Filter rules are not case sensitive.
2513
2514
  #
2514
- # The following fields in the {::Google::Longrunning::Operation Operation}
2515
- # are eligible for filtering:
2515
+ # The following fields in the Operation are eligible for filtering:
2516
2516
  #
2517
2517
  # * `name` - The name of the long-running operation
2518
2518
  # * `done` - False if the operation is in progress, else true.
@@ -2559,7 +2559,8 @@ module Google
2559
2559
  # Optional. Deadline used while retrieving metadata for instance partition
2560
2560
  # operations. Instance partitions whose operation metadata cannot be
2561
2561
  # retrieved within this deadline will be added to
2562
- # [unreachable][ListInstancePartitionOperationsResponse.unreachable] in
2562
+ # {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionOperationsResponse#unreachable_instance_partitions unreachable_instance_partitions}
2563
+ # in
2563
2564
  # {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionOperationsResponse ListInstancePartitionOperationsResponse}.
2564
2565
  #
2565
2566
  # @yield [response, operation] Access the result along with the RPC operation
@@ -2635,7 +2636,7 @@ module Google
2635
2636
 
2636
2637
  ##
2637
2638
  # Moves an instance to the target instance configuration. You can use the
2638
- # returned {::Google::Longrunning::Operation long-running operation} to track
2639
+ # returned long-running operation to track
2639
2640
  # the progress of moving the instance.
2640
2641
  #
2641
2642
  # `MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of
@@ -2666,13 +2667,13 @@ module Google
2666
2667
  # transaction abort rate. However, moving an instance doesn't cause any
2667
2668
  # downtime.
2668
2669
  #
2669
- # The returned {::Google::Longrunning::Operation long-running operation} has
2670
+ # The returned long-running operation has
2670
2671
  # a name of the format
2671
2672
  # `<instance_name>/operations/<operation_id>` and can be used to track
2672
2673
  # the move instance operation. The
2673
- # {::Google::Longrunning::Operation#metadata metadata} field type is
2674
+ # metadata field type is
2674
2675
  # {::Google::Cloud::Spanner::Admin::Instance::V1::MoveInstanceMetadata MoveInstanceMetadata}.
2675
- # The {::Google::Longrunning::Operation#response response} field type is
2676
+ # The response field type is
2676
2677
  # {::Google::Cloud::Spanner::Admin::Instance::V1::Instance Instance},
2677
2678
  # if successful.
2678
2679
  # Cancelling the operation sets its metadata's
@@ -253,6 +253,9 @@ module Google
253
253
  ##
254
254
  # Lists the supported instance configurations for a given project.
255
255
  #
256
+ # Returns both Google-managed configurations and user-managed
257
+ # configurations.
258
+ #
256
259
  # @overload list_instance_configs(request, options = nil)
257
260
  # Pass arguments to `list_instance_configs` via a request object, either of type
258
261
  # {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstanceConfigsRequest} or an equivalent Hash.
@@ -425,7 +428,7 @@ module Google
425
428
 
426
429
  ##
427
430
  # Creates an instance configuration and begins preparing it to be used. The
428
- # returned {::Google::Longrunning::Operation long-running operation}
431
+ # returned long-running operation
429
432
  # can be used to track the progress of preparing the new
430
433
  # instance configuration. The instance configuration name is assigned by the
431
434
  # caller. If the named instance configuration already exists,
@@ -452,13 +455,13 @@ module Google
452
455
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig#reconciling reconciling}
453
456
  # field becomes false. Its state becomes `READY`.
454
457
  #
455
- # The returned {::Google::Longrunning::Operation long-running operation} will
458
+ # The returned long-running operation will
456
459
  # have a name of the format
457
460
  # `<instance_config_name>/operations/<operation_id>` and can be used to track
458
461
  # creation of the instance configuration. The
459
- # {::Google::Longrunning::Operation#metadata metadata} field type is
462
+ # metadata field type is
460
463
  # {::Google::Cloud::Spanner::Admin::Instance::V1::CreateInstanceConfigMetadata CreateInstanceConfigMetadata}.
461
- # The {::Google::Longrunning::Operation#response response} field type is
464
+ # The response field type is
462
465
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig InstanceConfig}, if
463
466
  # successful.
464
467
  #
@@ -490,10 +493,10 @@ module Google
490
493
  # characters in length. The `custom-` prefix is required to avoid name
491
494
  # conflicts with Google-managed configurations.
492
495
  # @param instance_config [::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig, ::Hash]
493
- # Required. The InstanceConfig proto of the configuration to create.
494
- # instance_config.name must be
496
+ # Required. The `InstanceConfig` proto of the configuration to create.
497
+ # `instance_config.name` must be
495
498
  # `<parent>/instanceConfigs/<instance_config_id>`.
496
- # instance_config.base_config must be a Google managed configuration name,
499
+ # `instance_config.base_config` must be a Google-managed configuration name,
497
500
  # e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
498
501
  # @param validate_only [::Boolean]
499
502
  # An option to validate, but not actually execute, a request,
@@ -567,7 +570,7 @@ module Google
567
570
 
568
571
  ##
569
572
  # Updates an instance configuration. The returned
570
- # {::Google::Longrunning::Operation long-running operation} can be used to track
573
+ # long-running operation can be used to track
571
574
  # the progress of updating the instance. If the named instance configuration
572
575
  # does not exist, returns `NOT_FOUND`.
573
576
  #
@@ -598,13 +601,13 @@ module Google
598
601
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig#reconciling reconciling}
599
602
  # field becomes false.
600
603
  #
601
- # The returned {::Google::Longrunning::Operation long-running operation} will
604
+ # The returned long-running operation will
602
605
  # have a name of the format
603
606
  # `<instance_config_name>/operations/<operation_id>` and can be used to track
604
607
  # the instance configuration modification. The
605
- # {::Google::Longrunning::Operation#metadata metadata} field type is
608
+ # metadata field type is
606
609
  # {::Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceConfigMetadata UpdateInstanceConfigMetadata}.
607
- # The {::Google::Longrunning::Operation#response response} field type is
610
+ # The response field type is
608
611
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstanceConfig InstanceConfig}, if
609
612
  # successful.
610
613
  #
@@ -810,12 +813,12 @@ module Google
810
813
  end
811
814
 
812
815
  ##
813
- # Lists the user-managed instance configuration [long-running
814
- # operations][google.longrunning.Operation] in the given project. An instance
816
+ # Lists the user-managed instance configuration long-running
817
+ # operations in the given project. An instance
815
818
  # configuration operation has a name of the form
816
819
  # `projects/<project>/instanceConfigs/<instance_config>/operations/<operation>`.
817
820
  # The long-running operation
818
- # {::Google::Longrunning::Operation#metadata metadata} field type
821
+ # metadata field type
819
822
  # `metadata.type_url` describes the type of the metadata. Operations returned
820
823
  # include those that have completed/failed/canceled within the last 7 days,
821
824
  # and pending operations. Operations returned are ordered by
@@ -849,8 +852,7 @@ module Google
849
852
  # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
850
853
  # Colon `:` is the contains operator. Filter rules are not case sensitive.
851
854
  #
852
- # The following fields in the {::Google::Longrunning::Operation Operation}
853
- # are eligible for filtering:
855
+ # The following fields in the Operation are eligible for filtering:
854
856
  #
855
857
  # * `name` - The name of the long-running operation
856
858
  # * `done` - False if the operation is in progress, else true.
@@ -1095,7 +1097,9 @@ module Google
1095
1097
  #
1096
1098
  # @param parent [::String]
1097
1099
  # Required. The instance whose instance partitions should be listed. Values
1098
- # are of the form `projects/<project>/instances/<instance>`.
1100
+ # are of the form `projects/<project>/instances/<instance>`. Use `{instance}
1101
+ # = '-'` to list instance partitions for all Instances in a project, e.g.,
1102
+ # `projects/myproject/instances/-`.
1099
1103
  # @param page_size [::Integer]
1100
1104
  # Number of instance partitions to be returned in the response. If 0 or less,
1101
1105
  # defaults to the server's maximum allowed page size.
@@ -1259,7 +1263,7 @@ module Google
1259
1263
 
1260
1264
  ##
1261
1265
  # Creates an instance and begins preparing it to begin serving. The
1262
- # returned {::Google::Longrunning::Operation long-running operation}
1266
+ # returned long-running operation
1263
1267
  # can be used to track the progress of preparing the new
1264
1268
  # instance. The instance name is assigned by the caller. If the
1265
1269
  # named instance already exists, `CreateInstance` returns
@@ -1285,12 +1289,12 @@ module Google
1285
1289
  # * The instance's allocated resource levels are readable via the API.
1286
1290
  # * The instance's state becomes `READY`.
1287
1291
  #
1288
- # The returned {::Google::Longrunning::Operation long-running operation} will
1292
+ # The returned long-running operation will
1289
1293
  # have a name of the format `<instance_name>/operations/<operation_id>` and
1290
1294
  # can be used to track creation of the instance. The
1291
- # {::Google::Longrunning::Operation#metadata metadata} field type is
1295
+ # metadata field type is
1292
1296
  # {::Google::Cloud::Spanner::Admin::Instance::V1::CreateInstanceMetadata CreateInstanceMetadata}.
1293
- # The {::Google::Longrunning::Operation#response response} field type is
1297
+ # The response field type is
1294
1298
  # {::Google::Cloud::Spanner::Admin::Instance::V1::Instance Instance}, if successful.
1295
1299
  #
1296
1300
  # @overload create_instance(request, options = nil)
@@ -1387,8 +1391,7 @@ module Google
1387
1391
 
1388
1392
  ##
1389
1393
  # Updates an instance, and begins allocating or releasing resources
1390
- # as requested. The returned [long-running
1391
- # operation][google.longrunning.Operation] can be used to track the
1394
+ # as requested. The returned long-running operation can be used to track the
1392
1395
  # progress of updating the instance. If the named instance does not
1393
1396
  # exist, returns `NOT_FOUND`.
1394
1397
  #
@@ -1416,12 +1419,12 @@ module Google
1416
1419
  # tables.
1417
1420
  # * The instance's new resource levels are readable via the API.
1418
1421
  #
1419
- # The returned {::Google::Longrunning::Operation long-running operation} will
1422
+ # The returned long-running operation will
1420
1423
  # have a name of the format `<instance_name>/operations/<operation_id>` and
1421
1424
  # can be used to track the instance modification. The
1422
- # {::Google::Longrunning::Operation#metadata metadata} field type is
1425
+ # metadata field type is
1423
1426
  # {::Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstanceMetadata UpdateInstanceMetadata}.
1424
- # The {::Google::Longrunning::Operation#response response} field type is
1427
+ # The response field type is
1425
1428
  # {::Google::Cloud::Spanner::Admin::Instance::V1::Instance Instance}, if successful.
1426
1429
  #
1427
1430
  # Authorization requires `spanner.instances.update` permission on
@@ -1960,7 +1963,7 @@ module Google
1960
1963
 
1961
1964
  ##
1962
1965
  # Creates an instance partition and begins preparing it to be used. The
1963
- # returned {::Google::Longrunning::Operation long-running operation}
1966
+ # returned long-running operation
1964
1967
  # can be used to track the progress of preparing the new instance partition.
1965
1968
  # The instance partition name is assigned by the caller. If the named
1966
1969
  # instance partition already exists, `CreateInstancePartition` returns
@@ -1987,13 +1990,13 @@ module Google
1987
1990
  # API.
1988
1991
  # * The instance partition's state becomes `READY`.
1989
1992
  #
1990
- # The returned {::Google::Longrunning::Operation long-running operation} will
1993
+ # The returned long-running operation will
1991
1994
  # have a name of the format
1992
1995
  # `<instance_partition_name>/operations/<operation_id>` and can be used to
1993
1996
  # track creation of the instance partition. The
1994
- # {::Google::Longrunning::Operation#metadata metadata} field type is
1997
+ # metadata field type is
1995
1998
  # {::Google::Cloud::Spanner::Admin::Instance::V1::CreateInstancePartitionMetadata CreateInstancePartitionMetadata}.
1996
- # The {::Google::Longrunning::Operation#response response} field type is
1999
+ # The response field type is
1997
2000
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition InstancePartition}, if
1998
2001
  # successful.
1999
2002
  #
@@ -2184,8 +2187,7 @@ module Google
2184
2187
 
2185
2188
  ##
2186
2189
  # Updates an instance partition, and begins allocating or releasing resources
2187
- # as requested. The returned [long-running
2188
- # operation][google.longrunning.Operation] can be used to track the
2190
+ # as requested. The returned long-running operation can be used to track the
2189
2191
  # progress of updating the instance partition. If the named instance
2190
2192
  # partition does not exist, returns `NOT_FOUND`.
2191
2193
  #
@@ -2214,13 +2216,13 @@ module Google
2214
2216
  # partition's tables.
2215
2217
  # * The instance partition's new resource levels are readable via the API.
2216
2218
  #
2217
- # The returned {::Google::Longrunning::Operation long-running operation} will
2219
+ # The returned long-running operation will
2218
2220
  # have a name of the format
2219
2221
  # `<instance_partition_name>/operations/<operation_id>` and can be used to
2220
2222
  # track the instance partition modification. The
2221
- # {::Google::Longrunning::Operation#metadata metadata} field type is
2223
+ # metadata field type is
2222
2224
  # {::Google::Cloud::Spanner::Admin::Instance::V1::UpdateInstancePartitionMetadata UpdateInstancePartitionMetadata}.
2223
- # The {::Google::Longrunning::Operation#response response} field type is
2225
+ # The response field type is
2224
2226
  # {::Google::Cloud::Spanner::Admin::Instance::V1::InstancePartition InstancePartition}, if
2225
2227
  # successful.
2226
2228
  #
@@ -2323,12 +2325,11 @@ module Google
2323
2325
  end
2324
2326
 
2325
2327
  ##
2326
- # Lists instance partition [long-running
2327
- # operations][google.longrunning.Operation] in the given instance.
2328
+ # Lists instance partition long-running operations in the given instance.
2328
2329
  # An instance partition operation has a name of the form
2329
2330
  # `projects/<project>/instances/<instance>/instancePartitions/<instance_partition>/operations/<operation>`.
2330
2331
  # The long-running operation
2331
- # {::Google::Longrunning::Operation#metadata metadata} field type
2332
+ # metadata field type
2332
2333
  # `metadata.type_url` describes the type of the metadata. Operations returned
2333
2334
  # include those that have completed/failed/canceled within the last 7 days,
2334
2335
  # and pending operations. Operations returned are ordered by
@@ -2366,8 +2367,7 @@ module Google
2366
2367
  # must be one of: `<`, `>`, `<=`, `>=`, `!=`, `=`, or `:`.
2367
2368
  # Colon `:` is the contains operator. Filter rules are not case sensitive.
2368
2369
  #
2369
- # The following fields in the {::Google::Longrunning::Operation Operation}
2370
- # are eligible for filtering:
2370
+ # The following fields in the Operation are eligible for filtering:
2371
2371
  #
2372
2372
  # * `name` - The name of the long-running operation
2373
2373
  # * `done` - False if the operation is in progress, else true.
@@ -2414,7 +2414,8 @@ module Google
2414
2414
  # Optional. Deadline used while retrieving metadata for instance partition
2415
2415
  # operations. Instance partitions whose operation metadata cannot be
2416
2416
  # retrieved within this deadline will be added to
2417
- # [unreachable][ListInstancePartitionOperationsResponse.unreachable] in
2417
+ # {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionOperationsResponse#unreachable_instance_partitions unreachable_instance_partitions}
2418
+ # in
2418
2419
  # {::Google::Cloud::Spanner::Admin::Instance::V1::ListInstancePartitionOperationsResponse ListInstancePartitionOperationsResponse}.
2419
2420
  # @yield [result, operation] Access the result along with the TransportOperation object
2420
2421
  # @yieldparam result [::Gapic::Operation]
@@ -2482,7 +2483,7 @@ module Google
2482
2483
 
2483
2484
  ##
2484
2485
  # Moves an instance to the target instance configuration. You can use the
2485
- # returned {::Google::Longrunning::Operation long-running operation} to track
2486
+ # returned long-running operation to track
2486
2487
  # the progress of moving the instance.
2487
2488
  #
2488
2489
  # `MoveInstance` returns `FAILED_PRECONDITION` if the instance meets any of
@@ -2513,13 +2514,13 @@ module Google
2513
2514
  # transaction abort rate. However, moving an instance doesn't cause any
2514
2515
  # downtime.
2515
2516
  #
2516
- # The returned {::Google::Longrunning::Operation long-running operation} has
2517
+ # The returned long-running operation has
2517
2518
  # a name of the format
2518
2519
  # `<instance_name>/operations/<operation_id>` and can be used to track
2519
2520
  # the move instance operation. The
2520
- # {::Google::Longrunning::Operation#metadata metadata} field type is
2521
+ # metadata field type is
2521
2522
  # {::Google::Cloud::Spanner::Admin::Instance::V1::MoveInstanceMetadata MoveInstanceMetadata}.
2522
- # The {::Google::Longrunning::Operation#response response} field type is
2523
+ # The response field type is
2523
2524
  # {::Google::Cloud::Spanner::Admin::Instance::V1::Instance Instance},
2524
2525
  # if successful.
2525
2526
  # Cancelling the operation sets its metadata's
@@ -23,7 +23,7 @@ module Google
23
23
  module Admin
24
24
  module Instance
25
25
  module V1
26
- VERSION = "1.4.0"
26
+ VERSION = "1.5.0"
27
27
  end
28
28
  end
29
29
  end
@@ -5,10 +5,11 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/field_behavior_pb'
8
+ require 'google/api/resource_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
 
10
11
 
11
- descriptor_data = "\n-google/spanner/admin/instance/v1/common.proto\x12 google.spanner.admin.instance.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x01\n\x11OperationProgress\x12\x18\n\x10progress_percent\x18\x01 \x01(\x05\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\")\n\x10ReplicaSelection\x12\x15\n\x08location\x18\x01 \x01(\tB\x03\xe0\x41\x02*w\n\x11\x46ulfillmentPeriod\x12\"\n\x1e\x46ULFILLMENT_PERIOD_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x46ULFILLMENT_PERIOD_NORMAL\x10\x01\x12\x1f\n\x1b\x46ULFILLMENT_PERIOD_EXTENDED\x10\x02\x42\xfd\x01\n$com.google.spanner.admin.instance.v1B\x0b\x43ommonProtoP\x01ZFcloud.google.com/go/spanner/admin/instance/apiv1/instancepb;instancepb\xaa\x02&Google.Cloud.Spanner.Admin.Instance.V1\xca\x02&Google\\Cloud\\Spanner\\Admin\\Instance\\V1\xea\x02+Google::Cloud::Spanner::Admin::Instance::V1b\x06proto3"
12
+ descriptor_data = "\n-google/spanner/admin/instance/v1/common.proto\x12 google.spanner.admin.instance.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x8b\x01\n\x11OperationProgress\x12\x18\n\x10progress_percent\x18\x01 \x01(\x05\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\")\n\x10ReplicaSelection\x12\x15\n\x08location\x18\x01 \x01(\tB\x03\xe0\x41\x02*w\n\x11\x46ulfillmentPeriod\x12\"\n\x1e\x46ULFILLMENT_PERIOD_UNSPECIFIED\x10\x00\x12\x1d\n\x19\x46ULFILLMENT_PERIOD_NORMAL\x10\x01\x12\x1f\n\x1b\x46ULFILLMENT_PERIOD_EXTENDED\x10\x02\x42\xfd\x01\n$com.google.spanner.admin.instance.v1B\x0b\x43ommonProtoP\x01ZFcloud.google.com/go/spanner/admin/instance/apiv1/instancepb;instancepb\xaa\x02&Google.Cloud.Spanner.Admin.Instance.V1\xca\x02&Google\\Cloud\\Spanner\\Admin\\Instance\\V1\xea\x02+Google::Cloud::Spanner::Admin::Instance::V1b\x06proto3"
12
13
 
13
14
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
15