google-apis-spanner_v1 0.45.0 → 0.46.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 998106fc7b59053485fbe747c99d7a207897e378f0e425f22f25ca32eab20822
|
|
4
|
+
data.tar.gz: 908165719b7a513cef3cd747a9e35ee7086e5674e2ece49fb09a5ca6e3870688
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7dfa2f26271b259fc80a8955dbc5d7bf952f0660215f2fcda80c2bac7ba16305e469d4c80db1f5ba59d61da4a348b77b0ebb3683f6b057929f4b8376a6607ea9
|
|
7
|
+
data.tar.gz: 5048dd9bd25d8773fc67614fe9c1384d7ce2232a97f4490e738e7cba82e98b4459be8d68fc18d266fc0ea11f1b68910a8f00f61dd8270b39f76f5a76818ecc91
|
data/CHANGELOG.md
CHANGED
|
@@ -674,10 +674,11 @@ module Google
|
|
|
674
674
|
class BatchCreateSessionsRequest
|
|
675
675
|
include Google::Apis::Core::Hashable
|
|
676
676
|
|
|
677
|
-
# Required. The number of sessions to be created in this batch call.
|
|
678
|
-
#
|
|
679
|
-
# sessions are desired, the client can make
|
|
680
|
-
# BatchCreateSessions` (adjusting session_count as
|
|
677
|
+
# Required. The number of sessions to be created in this batch call. At least
|
|
678
|
+
# one session is created. The API can return fewer than the requested number of
|
|
679
|
+
# sessions. If a specific number of sessions are desired, the client can make
|
|
680
|
+
# additional calls to `BatchCreateSessions` (adjusting session_count as
|
|
681
|
+
# necessary).
|
|
681
682
|
# Corresponds to the JSON property `sessionCount`
|
|
682
683
|
# @return [Fixnum]
|
|
683
684
|
attr_accessor :session_count
|
|
@@ -3469,6 +3470,11 @@ module Google
|
|
|
3469
3470
|
class InstancePartition
|
|
3470
3471
|
include Google::Apis::Core::Hashable
|
|
3471
3472
|
|
|
3473
|
+
# Autoscaling configuration for an instance.
|
|
3474
|
+
# Corresponds to the JSON property `autoscalingConfig`
|
|
3475
|
+
# @return [Google::Apis::SpannerV1::AutoscalingConfig]
|
|
3476
|
+
attr_accessor :autoscaling_config
|
|
3477
|
+
|
|
3472
3478
|
# Required. The name of the instance partition's configuration. Values are of
|
|
3473
3479
|
# the form `projects//instanceConfigs/`. See also InstanceConfig and
|
|
3474
3480
|
# ListInstanceConfigs.
|
|
@@ -3556,6 +3562,7 @@ module Google
|
|
|
3556
3562
|
|
|
3557
3563
|
# Update properties of this object
|
|
3558
3564
|
def update!(**args)
|
|
3565
|
+
@autoscaling_config = args[:autoscaling_config] if args.key?(:autoscaling_config)
|
|
3559
3566
|
@config = args[:config] if args.key?(:config)
|
|
3560
3567
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
3561
3568
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
@@ -4158,6 +4165,13 @@ module Google
|
|
|
4158
4165
|
# @return [Array<Google::Apis::SpannerV1::Operation>]
|
|
4159
4166
|
attr_accessor :operations
|
|
4160
4167
|
|
|
4168
|
+
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
4169
|
+
# ListOperationsRequest.return_partial_success` and reads across collections e.g.
|
|
4170
|
+
# when attempting to list all resources across all supported locations.
|
|
4171
|
+
# Corresponds to the JSON property `unreachable`
|
|
4172
|
+
# @return [Array<String>]
|
|
4173
|
+
attr_accessor :unreachable
|
|
4174
|
+
|
|
4161
4175
|
def initialize(**args)
|
|
4162
4176
|
update!(**args)
|
|
4163
4177
|
end
|
|
@@ -4166,6 +4180,7 @@ module Google
|
|
|
4166
4180
|
def update!(**args)
|
|
4167
4181
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
4168
4182
|
@operations = args[:operations] if args.key?(:operations)
|
|
4183
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
|
4169
4184
|
end
|
|
4170
4185
|
end
|
|
4171
4186
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module SpannerV1
|
|
18
18
|
# Version of the google-apis-spanner_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.46.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20251031"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -1918,6 +1918,8 @@ module Google
|
|
|
1918
1918
|
class InstancePartition
|
|
1919
1919
|
# @private
|
|
1920
1920
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1921
|
+
property :autoscaling_config, as: 'autoscalingConfig', class: Google::Apis::SpannerV1::AutoscalingConfig, decorator: Google::Apis::SpannerV1::AutoscalingConfig::Representation
|
|
1922
|
+
|
|
1921
1923
|
property :config, as: 'config'
|
|
1922
1924
|
property :create_time, as: 'createTime'
|
|
1923
1925
|
property :display_name, as: 'displayName'
|
|
@@ -2106,6 +2108,7 @@ module Google
|
|
|
2106
2108
|
property :next_page_token, as: 'nextPageToken'
|
|
2107
2109
|
collection :operations, as: 'operations', class: Google::Apis::SpannerV1::Operation, decorator: Google::Apis::SpannerV1::Operation::Representation
|
|
2108
2110
|
|
|
2111
|
+
collection :unreachable, as: 'unreachable'
|
|
2109
2112
|
end
|
|
2110
2113
|
end
|
|
2111
2114
|
|
|
@@ -458,6 +458,13 @@ module Google
|
|
|
458
458
|
# The standard list page size.
|
|
459
459
|
# @param [String] page_token
|
|
460
460
|
# The standard list page token.
|
|
461
|
+
# @param [Boolean] return_partial_success
|
|
462
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
463
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
464
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
465
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
466
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
467
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
461
468
|
# @param [String] fields
|
|
462
469
|
# Selector specifying which fields to include in a partial response.
|
|
463
470
|
# @param [String] quota_user
|
|
@@ -475,7 +482,7 @@ module Google
|
|
|
475
482
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
476
483
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
477
484
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
478
|
-
def list_project_instance_config_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
485
|
+
def list_project_instance_config_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
479
486
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
480
487
|
command.response_representation = Google::Apis::SpannerV1::ListOperationsResponse::Representation
|
|
481
488
|
command.response_class = Google::Apis::SpannerV1::ListOperationsResponse
|
|
@@ -483,6 +490,7 @@ module Google
|
|
|
483
490
|
command.query['filter'] = filter unless filter.nil?
|
|
484
491
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
485
492
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
493
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
486
494
|
command.query['fields'] = fields unless fields.nil?
|
|
487
495
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
488
496
|
execute_or_queue_command(command, &block)
|
|
@@ -599,6 +607,13 @@ module Google
|
|
|
599
607
|
# The standard list page size.
|
|
600
608
|
# @param [String] page_token
|
|
601
609
|
# The standard list page token.
|
|
610
|
+
# @param [Boolean] return_partial_success
|
|
611
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
612
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
613
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
614
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
615
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
616
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
602
617
|
# @param [String] fields
|
|
603
618
|
# Selector specifying which fields to include in a partial response.
|
|
604
619
|
# @param [String] quota_user
|
|
@@ -616,7 +631,7 @@ module Google
|
|
|
616
631
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
617
632
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
618
633
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
619
|
-
def list_project_instance_config_ssd_cach_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
634
|
+
def list_project_instance_config_ssd_cach_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
620
635
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
621
636
|
command.response_representation = Google::Apis::SpannerV1::ListOperationsResponse::Representation
|
|
622
637
|
command.response_class = Google::Apis::SpannerV1::ListOperationsResponse
|
|
@@ -624,6 +639,7 @@ module Google
|
|
|
624
639
|
command.query['filter'] = filter unless filter.nil?
|
|
625
640
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
626
641
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
642
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
627
643
|
command.query['fields'] = fields unless fields.nil?
|
|
628
644
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
629
645
|
execute_or_queue_command(command, &block)
|
|
@@ -1639,6 +1655,13 @@ module Google
|
|
|
1639
1655
|
# The standard list page size.
|
|
1640
1656
|
# @param [String] page_token
|
|
1641
1657
|
# The standard list page token.
|
|
1658
|
+
# @param [Boolean] return_partial_success
|
|
1659
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
1660
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
1661
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
1662
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
1663
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
1664
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
1642
1665
|
# @param [String] fields
|
|
1643
1666
|
# Selector specifying which fields to include in a partial response.
|
|
1644
1667
|
# @param [String] quota_user
|
|
@@ -1656,7 +1679,7 @@ module Google
|
|
|
1656
1679
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1657
1680
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1658
1681
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1659
|
-
def list_project_instance_backup_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1682
|
+
def list_project_instance_backup_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1660
1683
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
1661
1684
|
command.response_representation = Google::Apis::SpannerV1::ListOperationsResponse::Representation
|
|
1662
1685
|
command.response_class = Google::Apis::SpannerV1::ListOperationsResponse
|
|
@@ -1664,6 +1687,7 @@ module Google
|
|
|
1664
1687
|
command.query['filter'] = filter unless filter.nil?
|
|
1665
1688
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1666
1689
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1690
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
1667
1691
|
command.query['fields'] = fields unless fields.nil?
|
|
1668
1692
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1669
1693
|
execute_or_queue_command(command, &block)
|
|
@@ -2788,6 +2812,13 @@ module Google
|
|
|
2788
2812
|
# The standard list page size.
|
|
2789
2813
|
# @param [String] page_token
|
|
2790
2814
|
# The standard list page token.
|
|
2815
|
+
# @param [Boolean] return_partial_success
|
|
2816
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
2817
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
2818
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
2819
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
2820
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
2821
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
2791
2822
|
# @param [String] fields
|
|
2792
2823
|
# Selector specifying which fields to include in a partial response.
|
|
2793
2824
|
# @param [String] quota_user
|
|
@@ -2805,7 +2836,7 @@ module Google
|
|
|
2805
2836
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
2806
2837
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2807
2838
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2808
|
-
def list_project_instance_database_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2839
|
+
def list_project_instance_database_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
2809
2840
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
2810
2841
|
command.response_representation = Google::Apis::SpannerV1::ListOperationsResponse::Representation
|
|
2811
2842
|
command.response_class = Google::Apis::SpannerV1::ListOperationsResponse
|
|
@@ -2813,6 +2844,7 @@ module Google
|
|
|
2813
2844
|
command.query['filter'] = filter unless filter.nil?
|
|
2814
2845
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
2815
2846
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
2847
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
2816
2848
|
command.query['fields'] = fields unless fields.nil?
|
|
2817
2849
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
2818
2850
|
execute_or_queue_command(command, &block)
|
|
@@ -3926,6 +3958,13 @@ module Google
|
|
|
3926
3958
|
# The standard list page size.
|
|
3927
3959
|
# @param [String] page_token
|
|
3928
3960
|
# The standard list page token.
|
|
3961
|
+
# @param [Boolean] return_partial_success
|
|
3962
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
3963
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
3964
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
3965
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
3966
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
3967
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
3929
3968
|
# @param [String] fields
|
|
3930
3969
|
# Selector specifying which fields to include in a partial response.
|
|
3931
3970
|
# @param [String] quota_user
|
|
@@ -3943,7 +3982,7 @@ module Google
|
|
|
3943
3982
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
3944
3983
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3945
3984
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3946
|
-
def list_project_instance_instance_partition_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3985
|
+
def list_project_instance_instance_partition_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
3947
3986
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
3948
3987
|
command.response_representation = Google::Apis::SpannerV1::ListOperationsResponse::Representation
|
|
3949
3988
|
command.response_class = Google::Apis::SpannerV1::ListOperationsResponse
|
|
@@ -3951,6 +3990,7 @@ module Google
|
|
|
3951
3990
|
command.query['filter'] = filter unless filter.nil?
|
|
3952
3991
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
3953
3992
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
3993
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
3954
3994
|
command.query['fields'] = fields unless fields.nil?
|
|
3955
3995
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
3956
3996
|
execute_or_queue_command(command, &block)
|
|
@@ -4067,6 +4107,13 @@ module Google
|
|
|
4067
4107
|
# The standard list page size.
|
|
4068
4108
|
# @param [String] page_token
|
|
4069
4109
|
# The standard list page token.
|
|
4110
|
+
# @param [Boolean] return_partial_success
|
|
4111
|
+
# When set to `true`, operations that are reachable are returned as normal, and
|
|
4112
|
+
# those that are unreachable are returned in the [ListOperationsResponse.
|
|
4113
|
+
# unreachable] field. This can only be `true` when reading across collections e.
|
|
4114
|
+
# g. when `parent` is set to `"projects/example/locations/-"`. This field is not
|
|
4115
|
+
# by default supported and will result in an `UNIMPLEMENTED` error if set unless
|
|
4116
|
+
# explicitly documented otherwise in service or product specific documentation.
|
|
4070
4117
|
# @param [String] fields
|
|
4071
4118
|
# Selector specifying which fields to include in a partial response.
|
|
4072
4119
|
# @param [String] quota_user
|
|
@@ -4084,7 +4131,7 @@ module Google
|
|
|
4084
4131
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
4085
4132
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
4086
4133
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
4087
|
-
def list_project_instance_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4134
|
+
def list_project_instance_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
4088
4135
|
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
4089
4136
|
command.response_representation = Google::Apis::SpannerV1::ListOperationsResponse::Representation
|
|
4090
4137
|
command.response_class = Google::Apis::SpannerV1::ListOperationsResponse
|
|
@@ -4092,6 +4139,7 @@ module Google
|
|
|
4092
4139
|
command.query['filter'] = filter unless filter.nil?
|
|
4093
4140
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
4094
4141
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
4142
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
4095
4143
|
command.query['fields'] = fields unless fields.nil?
|
|
4096
4144
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
4097
4145
|
execute_or_queue_command(command, &block)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-spanner_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.46.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.46.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-spanner_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|