google-apis-spanner_v1 0.7.0 → 0.8.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: 968ad8bc1d63f27fa28ed1ca706bda5a5f416d19850ab1fe57dc43b5f4456b66
4
- data.tar.gz: 5cce24c7792a710d4ba6ee22b4e0761aae41b5c1a8b223e371d0f4eea012a722
3
+ metadata.gz: fa93acb8b2af0cdff02da833137a8d7739b76929c6ef4f919098293f4e650e76
4
+ data.tar.gz: f4737f3d9865e65c979b018db62a6fb4023db787206a41ae53871a1f74e7db63
5
5
  SHA512:
6
- metadata.gz: 3b86bb700283b586fbacd97cd1441fed2e100d13d567f33e7209dcf9b4cacad76b245bc7420c12dba4111c72f95535e8982cf4268d0ccf5dad50fbb145f602b5
7
- data.tar.gz: 25d611a12f3ababdd4e000a273c4339f85c54d904de5413bebbf2a50ed93d3c29f4e245f0c3b162aaaef876380d483f8bc40464bf6da5a6e751fc7968e0a24d0
6
+ metadata.gz: ff893b3cabf1ef613c3a9019c41e9138e5dd0920d704cfb4846daa4f11d99885febcd342a47abfd7c332e1ccc27e13048ed9d077b9066d519524417aca9a3e64
7
+ data.tar.gz: 5535e70257368597d5800580e63d024e817e8dae48e16c9be20119f2fbb4e4a48acba642433301fc59d6a095d8fb203a9ccd519f314b203bea483f7a96175515
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-spanner_v1
2
2
 
3
+ ### v0.8.0 (2021-04-01)
4
+
5
+ * Regenerated from discovery document revision 20210325
6
+
3
7
  ### v0.7.0 (2021-03-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20210318
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # View and manage your data across Google Cloud Platform services
33
+ # See, edit, configure, and delete your Google Cloud Platform data
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # Administer your Spanner databases
@@ -2799,6 +2799,25 @@ module Google
2799
2799
  # @return [String]
2800
2800
  attr_accessor :priority
2801
2801
 
2802
+ # A per-request tag which can be applied to queries or reads, used for
2803
+ # statistics collection. Both request_tag and transaction_tag can be specified
2804
+ # for a read or query that belongs to a transaction. This field is ignored for
2805
+ # requests where it's not applicable (e.g. CommitRequest). `request_tag` must be
2806
+ # a valid identifier of the form: `a-zA-Z` between 2 and 64 characters in length
2807
+ # Corresponds to the JSON property `requestTag`
2808
+ # @return [String]
2809
+ attr_accessor :request_tag
2810
+
2811
+ # A tag used for statistics collection about this transaction. Both request_tag
2812
+ # and transaction_tag can be specified for a read or query that belongs to a
2813
+ # transaction. The value of transaction_tag should be the same for all requests
2814
+ # belonging to the same transaction. If this request doesn’t belong to any
2815
+ # transaction, transaction_tag will be ignored. `transaction_tag` must be a
2816
+ # valid identifier of the format: `a-zA-Z`0,49``
2817
+ # Corresponds to the JSON property `transactionTag`
2818
+ # @return [String]
2819
+ attr_accessor :transaction_tag
2820
+
2802
2821
  def initialize(**args)
2803
2822
  update!(**args)
2804
2823
  end
@@ -2806,6 +2825,8 @@ module Google
2806
2825
  # Update properties of this object
2807
2826
  def update!(**args)
2808
2827
  @priority = args[:priority] if args.key?(:priority)
2828
+ @request_tag = args[:request_tag] if args.key?(:request_tag)
2829
+ @transaction_tag = args[:transaction_tag] if args.key?(:transaction_tag)
2809
2830
  end
2810
2831
  end
2811
2832
 
@@ -3957,6 +3978,16 @@ module Google
3957
3978
  # @return [String]
3958
3979
  attr_accessor :database
3959
3980
 
3981
+ # The progress of the UpdateDatabaseDdl operations. Currently, only index
3982
+ # creation statements will have a continuously updating progress. For non-index
3983
+ # creation statements, `progress[i]` will have start time and end time populated
3984
+ # with commit timestamp of operation, as well as a progress of 100% once the
3985
+ # operation has completed. `progress[i]` is the operation progress for `
3986
+ # statements[i]`.
3987
+ # Corresponds to the JSON property `progress`
3988
+ # @return [Array<Google::Apis::SpannerV1::OperationProgress>]
3989
+ attr_accessor :progress
3990
+
3960
3991
  # For an update this list contains all the statements. For an individual
3961
3992
  # statement, this list contains only that statement.
3962
3993
  # Corresponds to the JSON property `statements`
@@ -3979,6 +4010,7 @@ module Google
3979
4010
  def update!(**args)
3980
4011
  @commit_timestamps = args[:commit_timestamps] if args.key?(:commit_timestamps)
3981
4012
  @database = args[:database] if args.key?(:database)
4013
+ @progress = args[:progress] if args.key?(:progress)
3982
4014
  @statements = args[:statements] if args.key?(:statements)
3983
4015
  @throttled = args[:throttled] if args.key?(:throttled)
3984
4016
  end
@@ -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.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210318"
25
+ REVISION = "20210325"
26
26
  end
27
27
  end
28
28
  end
@@ -1158,6 +1158,8 @@ module Google
1158
1158
  # @private
1159
1159
  class Representation < Google::Apis::Core::JsonRepresentation
1160
1160
  property :priority, as: 'priority'
1161
+ property :request_tag, as: 'requestTag'
1162
+ property :transaction_tag, as: 'transactionTag'
1161
1163
  end
1162
1164
  end
1163
1165
 
@@ -1359,6 +1361,8 @@ module Google
1359
1361
  class Representation < Google::Apis::Core::JsonRepresentation
1360
1362
  collection :commit_timestamps, as: 'commitTimestamps'
1361
1363
  property :database, as: 'database'
1364
+ collection :progress, as: 'progress', class: Google::Apis::SpannerV1::OperationProgress, decorator: Google::Apis::SpannerV1::OperationProgress::Representation
1365
+
1362
1366
  collection :statements, as: 'statements'
1363
1367
  property :throttled, as: 'throttled'
1364
1368
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-spanner_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-29 00:00:00.000000000 Z
11
+ date: 2021-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -52,7 +52,7 @@ licenses:
52
52
  metadata:
53
53
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
54
54
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.7.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.8.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
57
57
  post_install_message:
58
58
  rdoc_options: []