google-cloud-spanner-admin-instance-v1 2.1.0 → 2.3.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: 1fe9545d3ef4a44b2336552b2027c9bb5db94e07f5568eef063832890a75f734
4
- data.tar.gz: 62b0fa667018b1140da020bd19d231ad3c714d4ece095b052daef98f3542c124
3
+ metadata.gz: 56ca41c93e406f2c45f90994863f3274e769411dd8990a6da575f26ab152122b
4
+ data.tar.gz: 11f51f9f7292033950d43afc43dddba760c7d7c523f12acf97864b72166c3eae
5
5
  SHA512:
6
- metadata.gz: 3180a2b8a940d0a5820818de639da397e14bdc195f9801727e1e3e26f7ce309881207723fd7959dd686e406ba7c5d23d67468fd60aeb9fb655817dced530c6ca
7
- data.tar.gz: 2d253024dac5f342331f6e609d7fde53f5516c85ed6b6934d1ccf679bb086960a4c1a1886f4bcfbf5f34caf7a30d6fe71996e552ca0a4b1bc21621f2c853a415
6
+ metadata.gz: 1c80dfd61cf65192b7bb48d1388c3de5e1290933eeaee884e2bb9404a7d715e2459f5427b0160a47e865b87f03ca528e8d0d4bb71433393dfb41a1ad4d2fc6d9
7
+ data.tar.gz: 967c693f96aa1a2cd3c2fb16080d514665d1aa89bdb51e6ab9972543398dd3ef5c329eec3e787410ef1e7eed601187e438a29c23c6a5b27a1a9082159210bc5b
data/README.md CHANGED
@@ -1,9 +1,8 @@
1
1
  # Ruby Client for the Cloud Spanner Instance Admin V1 API
2
2
 
3
- API Client library for the Cloud Spanner Instance Admin V1 API
4
-
5
3
  Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service.
6
4
 
5
+
7
6
  https://github.com/googleapis/google-cloud-ruby
8
7
 
9
8
  This gem is a _versioned_ client. It provides basic client classes for a
@@ -1713,7 +1713,7 @@ module Google
1713
1713
  # existing policy.
1714
1714
  #
1715
1715
  # Authorization requires `spanner.instances.setIamPolicy` on
1716
- # {::Google::Iam::V1::SetIamPolicyRequest#resource resource}.
1716
+ # [resource][google.iam.v1.SetIamPolicyRequest.resource].
1717
1717
  #
1718
1718
  # @overload set_iam_policy(request, options = nil)
1719
1719
  # Pass arguments to `set_iam_policy` via a request object, either of type
@@ -1814,7 +1814,7 @@ module Google
1814
1814
  # policy if an instance exists but does not have a policy set.
1815
1815
  #
1816
1816
  # Authorization requires `spanner.instances.getIamPolicy` on
1817
- # {::Google::Iam::V1::GetIamPolicyRequest#resource resource}.
1817
+ # [resource][google.iam.v1.GetIamPolicyRequest.resource].
1818
1818
  #
1819
1819
  # @overload get_iam_policy(request, options = nil)
1820
1820
  # Pass arguments to `get_iam_policy` via a request object, either of type
@@ -136,7 +136,7 @@ module Google
136
136
  # @param options [::Gapic::CallOptions, ::Hash]
137
137
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
138
138
  #
139
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
139
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
140
140
  # Pass arguments to `list_operations` via keyword arguments. Note that at
141
141
  # least one keyword argument is required. To specify no parameters, or to keep all
142
142
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -149,6 +149,17 @@ module Google
149
149
  # The standard list page size.
150
150
  # @param page_token [::String]
151
151
  # The standard list page token.
152
+ # @param return_partial_success [::Boolean]
153
+ # When set to `true`, operations that are reachable are returned as normal,
154
+ # and those that are unreachable are returned in the
155
+ # [ListOperationsResponse.unreachable] field.
156
+ #
157
+ # This can only be `true` when reading across collections e.g. when `parent`
158
+ # is set to `"projects/example/locations/-"`.
159
+ #
160
+ # This field is not by default supported and will result in an
161
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
162
+ # service or product specific documentation.
152
163
  #
153
164
  # @yield [response, operation] Access the result along with the RPC operation
154
165
  # @yieldparam response [::Gapic::PagedEnumerable<::Gapic::Operation>]
@@ -1621,7 +1621,7 @@ module Google
1621
1621
  # existing policy.
1622
1622
  #
1623
1623
  # Authorization requires `spanner.instances.setIamPolicy` on
1624
- # {::Google::Iam::V1::SetIamPolicyRequest#resource resource}.
1624
+ # [resource][google.iam.v1.SetIamPolicyRequest.resource].
1625
1625
  #
1626
1626
  # @overload set_iam_policy(request, options = nil)
1627
1627
  # Pass arguments to `set_iam_policy` via a request object, either of type
@@ -1715,7 +1715,7 @@ module Google
1715
1715
  # policy if an instance exists but does not have a policy set.
1716
1716
  #
1717
1717
  # Authorization requires `spanner.instances.getIamPolicy` on
1718
- # {::Google::Iam::V1::GetIamPolicyRequest#resource resource}.
1718
+ # [resource][google.iam.v1.GetIamPolicyRequest.resource].
1719
1719
  #
1720
1720
  # @overload get_iam_policy(request, options = nil)
1721
1721
  # Pass arguments to `get_iam_policy` via a request object, either of type
@@ -127,7 +127,7 @@ module Google
127
127
  # @param options [::Gapic::CallOptions, ::Hash]
128
128
  # Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
129
129
  #
130
- # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil)
130
+ # @overload list_operations(name: nil, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil)
131
131
  # Pass arguments to `list_operations` via keyword arguments. Note that at
132
132
  # least one keyword argument is required. To specify no parameters, or to keep all
133
133
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -140,6 +140,17 @@ module Google
140
140
  # The standard list page size.
141
141
  # @param page_token [::String]
142
142
  # The standard list page token.
143
+ # @param return_partial_success [::Boolean]
144
+ # When set to `true`, operations that are reachable are returned as normal,
145
+ # and those that are unreachable are returned in the
146
+ # [ListOperationsResponse.unreachable] field.
147
+ #
148
+ # This can only be `true` when reading across collections e.g. when `parent`
149
+ # is set to `"projects/example/locations/-"`.
150
+ #
151
+ # This field is not by default supported and will result in an
152
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
153
+ # service or product specific documentation.
143
154
  # @yield [result, operation] Access the result along with the TransportOperation object
144
155
  # @yieldparam result [::Gapic::Operation]
145
156
  # @yieldparam operation [::Gapic::Rest::TransportOperation]
@@ -848,6 +859,34 @@ module Google
848
859
  ["name", %r{^projects/[^/]+/instances/[^/]+/operations/?$}, false]
849
860
  ]
850
861
  )
862
+ .with_bindings(
863
+ uri_method: :get,
864
+ uri_template: "/v1/{name}",
865
+ matches: [
866
+ ["name", %r{^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations/?$}, false]
867
+ ]
868
+ )
869
+ .with_bindings(
870
+ uri_method: :get,
871
+ uri_template: "/v1/{name}",
872
+ matches: [
873
+ ["name", %r{^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/?$}, false]
874
+ ]
875
+ )
876
+ .with_bindings(
877
+ uri_method: :get,
878
+ uri_template: "/v1/{name}",
879
+ matches: [
880
+ ["name", %r{^projects/[^/]+/instanceConfigs/[^/]+/operations/?$}, false]
881
+ ]
882
+ )
883
+ .with_bindings(
884
+ uri_method: :get,
885
+ uri_template: "/v1/{name}",
886
+ matches: [
887
+ ["name", %r{^projects/[^/]+/instanceConfigs/[^/]+/ssdCaches/[^/]+/operations/?$}, false]
888
+ ]
889
+ )
851
890
  transcoder.transcode request_pb
852
891
  end
853
892
 
@@ -876,6 +915,34 @@ module Google
876
915
  ["name", %r{^projects/[^/]+/instances/[^/]+/operations/[^/]+/?$}, false]
877
916
  ]
878
917
  )
918
+ .with_bindings(
919
+ uri_method: :get,
920
+ uri_template: "/v1/{name}",
921
+ matches: [
922
+ ["name", %r{^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations/[^/]+/?$}, false]
923
+ ]
924
+ )
925
+ .with_bindings(
926
+ uri_method: :get,
927
+ uri_template: "/v1/{name}",
928
+ matches: [
929
+ ["name", %r{^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+/?$}, false]
930
+ ]
931
+ )
932
+ .with_bindings(
933
+ uri_method: :get,
934
+ uri_template: "/v1/{name}",
935
+ matches: [
936
+ ["name", %r{^projects/[^/]+/instanceConfigs/[^/]+/operations/[^/]+/?$}, false]
937
+ ]
938
+ )
939
+ .with_bindings(
940
+ uri_method: :get,
941
+ uri_template: "/v1/{name}",
942
+ matches: [
943
+ ["name", %r{^projects/[^/]+/instanceConfigs/[^/]+/ssdCaches/[^/]+/operations/[^/]+/?$}, false]
944
+ ]
945
+ )
879
946
  transcoder.transcode request_pb
880
947
  end
881
948
 
@@ -904,6 +971,34 @@ module Google
904
971
  ["name", %r{^projects/[^/]+/instances/[^/]+/operations/[^/]+/?$}, false]
905
972
  ]
906
973
  )
974
+ .with_bindings(
975
+ uri_method: :delete,
976
+ uri_template: "/v1/{name}",
977
+ matches: [
978
+ ["name", %r{^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations/[^/]+/?$}, false]
979
+ ]
980
+ )
981
+ .with_bindings(
982
+ uri_method: :delete,
983
+ uri_template: "/v1/{name}",
984
+ matches: [
985
+ ["name", %r{^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+/?$}, false]
986
+ ]
987
+ )
988
+ .with_bindings(
989
+ uri_method: :delete,
990
+ uri_template: "/v1/{name}",
991
+ matches: [
992
+ ["name", %r{^projects/[^/]+/instanceConfigs/[^/]+/operations/[^/]+/?$}, false]
993
+ ]
994
+ )
995
+ .with_bindings(
996
+ uri_method: :delete,
997
+ uri_template: "/v1/{name}",
998
+ matches: [
999
+ ["name", %r{^projects/[^/]+/instanceConfigs/[^/]+/ssdCaches/[^/]+/operations/[^/]+/?$}, false]
1000
+ ]
1001
+ )
907
1002
  transcoder.transcode request_pb
908
1003
  end
909
1004
 
@@ -932,6 +1027,34 @@ module Google
932
1027
  ["name", %r{^projects/[^/]+/instances/[^/]+/operations/[^/]+/?$}, false]
933
1028
  ]
934
1029
  )
1030
+ .with_bindings(
1031
+ uri_method: :post,
1032
+ uri_template: "/v1/{name}:cancel",
1033
+ matches: [
1034
+ ["name", %r{^projects/[^/]+/instances/[^/]+/backups/[^/]+/operations/[^/]+/?$}, false]
1035
+ ]
1036
+ )
1037
+ .with_bindings(
1038
+ uri_method: :post,
1039
+ uri_template: "/v1/{name}:cancel",
1040
+ matches: [
1041
+ ["name", %r{^projects/[^/]+/instances/[^/]+/instancePartitions/[^/]+/operations/[^/]+/?$}, false]
1042
+ ]
1043
+ )
1044
+ .with_bindings(
1045
+ uri_method: :post,
1046
+ uri_template: "/v1/{name}:cancel",
1047
+ matches: [
1048
+ ["name", %r{^projects/[^/]+/instanceConfigs/[^/]+/operations/[^/]+/?$}, false]
1049
+ ]
1050
+ )
1051
+ .with_bindings(
1052
+ uri_method: :post,
1053
+ uri_template: "/v1/{name}:cancel",
1054
+ matches: [
1055
+ ["name", %r{^projects/[^/]+/instanceConfigs/[^/]+/ssdCaches/[^/]+/operations/[^/]+/?$}, false]
1056
+ ]
1057
+ )
935
1058
  transcoder.transcode request_pb
936
1059
  end
937
1060
  end
@@ -23,7 +23,7 @@ module Google
23
23
  module Admin
24
24
  module Instance
25
25
  module V1
26
- VERSION = "2.1.0"
26
+ VERSION = "2.3.0"
27
27
  end
28
28
  end
29
29
  end
@@ -313,7 +313,7 @@ module Google
313
313
  # Specifies the identities that do not cause logging for this type of
314
314
  # permission.
315
315
  # Follows the same format of
316
- # {::Google::Iam::V1::Binding#members Binding.members}.
316
+ # [Binding.members][google.iam.v1.Binding.members].
317
317
  class AuditLogConfig
318
318
  include ::Google::Protobuf::MessageExts
319
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -83,6 +83,18 @@ module Google
83
83
  # @!attribute [rw] page_token
84
84
  # @return [::String]
85
85
  # The standard list page token.
86
+ # @!attribute [rw] return_partial_success
87
+ # @return [::Boolean]
88
+ # When set to `true`, operations that are reachable are returned as normal,
89
+ # and those that are unreachable are returned in the
90
+ # [ListOperationsResponse.unreachable] field.
91
+ #
92
+ # This can only be `true` when reading across collections e.g. when `parent`
93
+ # is set to `"projects/example/locations/-"`.
94
+ #
95
+ # This field is not by default supported and will result in an
96
+ # `UNIMPLEMENTED` error if set unless explicitly documented otherwise in
97
+ # service or product specific documentation.
86
98
  class ListOperationsRequest
87
99
  include ::Google::Protobuf::MessageExts
88
100
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -96,6 +108,12 @@ module Google
96
108
  # @!attribute [rw] next_page_token
97
109
  # @return [::String]
98
110
  # The standard List next-page token.
111
+ # @!attribute [rw] unreachable
112
+ # @return [::Array<::String>]
113
+ # Unordered list. Unreachable resources. Populated when the request sets
114
+ # `ListOperationsRequest.return_partial_success` and reads across
115
+ # collections e.g. when attempting to list all resources across all supported
116
+ # locations.
99
117
  class ListOperationsResponse
100
118
  include ::Google::Protobuf::MessageExts
101
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-spanner-admin-instance-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -116,7 +116,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.6.8
119
+ rubygems_version: 3.6.9
120
120
  specification_version: 4
121
- summary: API Client library for the Cloud Spanner Instance Admin V1 API
121
+ summary: Cloud Spanner is a managed, mission-critical, globally consistent and scalable
122
+ relational database service.
122
123
  test_files: []