google-apis-spanner_v1 0.14.0 → 0.18.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: c4e365d7961157ce00c492b5c328fa3c75dec95f6561ded7c8d039d1f9e10a76
4
- data.tar.gz: b9c001b73c4739d5f9bc617a7ad516860e413858e27267746432178315cccb6b
3
+ metadata.gz: 65f291bc4c13a877c513f8b6ac04a3649db401654adb0e09ae58552151b3014a
4
+ data.tar.gz: 25d78f30d9b22e2d035ee29638ed7e896cddc89b531af81f5422a336d0c5c720
5
5
  SHA512:
6
- metadata.gz: 855b5dee0234ceec4ec8b23d29766e9a29032d37753385df1bdbd48868763c48202a8a98f3441e85764403a9232b7bff6130bbbc1397ca40d873900469bc3229
7
- data.tar.gz: 4a6fad9130539418072cf2b8c60344d7c1d9767d5ca77ac8416c4b04a92310fb0decf60f8a3772e14cc42289b3a833e72464c780021faca87fba8bc12feeeab8
6
+ metadata.gz: 69c490c9ee531e44481798c6f97a81063bfae060b3b30dcc42271f6f96ac364bc7dc03896145d4d9c1e51bcbc8da81be87cabc048911ec76d188b08d2e1f713b
7
+ data.tar.gz: 780daa7897e74b6d85e3a09a2c148c73f3241a620be09ee254331bdaf04fac84fe6f7c8f47a85149518ef811e62f72d76364a3955071f961cadb6e646fa3f108
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-spanner_v1
2
2
 
3
+ ### v0.18.0 (2021-08-30)
4
+
5
+ * Regenerated from discovery document revision 20210825
6
+
7
+ ### v0.17.0 (2021-08-21)
8
+
9
+ * Regenerated from discovery document revision 20210816
10
+
11
+ ### v0.16.0 (2021-07-31)
12
+
13
+ * Regenerated from discovery document revision 20210723
14
+
15
+ ### v0.15.0 (2021-07-12)
16
+
17
+ * Regenerated from discovery document revision 20210703
18
+
3
19
  ### v0.14.0 (2021-07-03)
4
20
 
5
21
  * Regenerated from discovery document revision 20210624
@@ -980,6 +980,14 @@ module Google
980
980
  # @return [String]
981
981
  attr_accessor :create_time
982
982
 
983
+ # Output only. The read-write region which contains the database's leader
984
+ # replicas. This is the same as the value of default_leader database option set
985
+ # using DatabaseAdmin.CreateDatabase or DatabaseAdmin.UpdateDatabaseDdl. If not
986
+ # explicitly set, this is empty.
987
+ # Corresponds to the JSON property `defaultLeader`
988
+ # @return [String]
989
+ attr_accessor :default_leader
990
+
983
991
  # Output only. Earliest timestamp at which older versions of the data can be
984
992
  # read. This value is continuously updated by Cloud Spanner and becomes stale
985
993
  # the moment it is queried. If you are using this value to recover data, make
@@ -1036,6 +1044,7 @@ module Google
1036
1044
  # Update properties of this object
1037
1045
  def update!(**args)
1038
1046
  @create_time = args[:create_time] if args.key?(:create_time)
1047
+ @default_leader = args[:default_leader] if args.key?(:default_leader)
1039
1048
  @earliest_version_time = args[:earliest_version_time] if args.key?(:earliest_version_time)
1040
1049
  @encryption_config = args[:encryption_config] if args.key?(:encryption_config)
1041
1050
  @encryption_info = args[:encryption_info] if args.key?(:encryption_info)
@@ -1642,16 +1651,16 @@ module Google
1642
1651
  # resources. They can be used to control how resource metrics are aggregated.
1643
1652
  # And they can be used as arguments to policy management rules (e.g. route,
1644
1653
  # firewall, load balancing, etc.). * Label keys must be between 1 and 63
1645
- # characters long and must conform to the following regular expression: `[a-z]([-
1646
- # a-z0-9]*[a-z0-9])?`. * Label values must be between 0 and 63 characters long
1647
- # and must conform to the regular expression `([a-z]([-a-z0-9]*[a-z0-9])?)?`. *
1648
- # No more than 64 labels can be associated with a given resource. See https://
1649
- # goo.gl/xmQnxf for more information on and examples of labels. If you plan to
1650
- # use labels in your own code, please note that additional characters may be
1651
- # allowed in the future. And so you are advised to use an internal label
1652
- # representation, such as JSON, which doesn't rely upon specific characters
1653
- # being disallowed. For example, representing labels as the string: name + "_" +
1654
- # value would prove problematic if we were to allow "_" in a future release.
1654
+ # characters long and must conform to the following regular expression: `a-z`0,
1655
+ # 62``. * Label values must be between 0 and 63 characters long and must conform
1656
+ # to the regular expression `[a-z0-9_-]`0,63``. * No more than 64 labels can be
1657
+ # associated with a given resource. See https://goo.gl/xmQnxf for more
1658
+ # information on and examples of labels. If you plan to use labels in your own
1659
+ # code, please note that additional characters may be allowed in the future. And
1660
+ # so you are advised to use an internal label representation, such as JSON,
1661
+ # which doesn't rely upon specific characters being disallowed. For example,
1662
+ # representing labels as the string: name + "_" + value would prove problematic
1663
+ # if we were to allow "_" in a future release.
1655
1664
  # Corresponds to the JSON property `labels`
1656
1665
  # @return [Hash<String,String>]
1657
1666
  attr_accessor :labels
@@ -1664,17 +1673,20 @@ module Google
1664
1673
  # @return [String]
1665
1674
  attr_accessor :name
1666
1675
 
1667
- # The number of nodes allocated to this instance. This may be zero in API
1668
- # responses for instances that are not yet in state `READY`. See [the
1669
- # documentation](https://cloud.google.com/spanner/docs/instances#node_count) for
1670
- # more information about nodes.
1676
+ # The number of nodes allocated to this instance. At most one of either
1677
+ # node_count or processing_units should be present in the message. This may be
1678
+ # zero in API responses for instances that are not yet in state `READY`. See [
1679
+ # the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for
1680
+ # more information about nodes and processing units.
1671
1681
  # Corresponds to the JSON property `nodeCount`
1672
1682
  # @return [Fixnum]
1673
1683
  attr_accessor :node_count
1674
1684
 
1675
1685
  # The number of processing units allocated to this instance. At most one of
1676
1686
  # processing_units or node_count should be present in the message. This may be
1677
- # zero in API responses for instances that are not yet in state `READY`.
1687
+ # zero in API responses for instances that are not yet in state `READY`. See [
1688
+ # the documentation](https://cloud.google.com/spanner/docs/compute-capacity) for
1689
+ # more information about nodes and processing units.
1678
1690
  # Corresponds to the JSON property `processingUnits`
1679
1691
  # @return [Fixnum]
1680
1692
  attr_accessor :processing_units
@@ -1713,8 +1725,14 @@ module Google
1713
1725
  # @return [String]
1714
1726
  attr_accessor :display_name
1715
1727
 
1728
+ # Allowed values of the “default_leader” schema option for databases in
1729
+ # instances that use this instance configuration.
1730
+ # Corresponds to the JSON property `leaderOptions`
1731
+ # @return [Array<String>]
1732
+ attr_accessor :leader_options
1733
+
1716
1734
  # A unique identifier for the instance configuration. Values are of the form `
1717
- # projects//instanceConfigs/a-z*`
1735
+ # projects//instanceConfigs/a-z*`.
1718
1736
  # Corresponds to the JSON property `name`
1719
1737
  # @return [String]
1720
1738
  attr_accessor :name
@@ -1732,6 +1750,7 @@ module Google
1732
1750
  # Update properties of this object
1733
1751
  def update!(**args)
1734
1752
  @display_name = args[:display_name] if args.key?(:display_name)
1753
+ @leader_options = args[:leader_options] if args.key?(:leader_options)
1735
1754
  @name = args[:name] if args.key?(:name)
1736
1755
  @replicas = args[:replicas] if args.key?(:replicas)
1737
1756
  end
@@ -2918,7 +2937,7 @@ module Google
2918
2937
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
2919
2938
  # roles/resourcemanager.organizationViewer condition: title: expirable access
2920
2939
  # description: Does not grant access after Sep 2020 expression: request.time <
2921
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
2940
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
2922
2941
  # description of IAM and its features, see the [IAM documentation](https://cloud.
2923
2942
  # google.com/iam/docs/).
2924
2943
  class Policy
@@ -3319,7 +3338,8 @@ module Google
3319
3338
  # requests where it's not applicable (e.g. CommitRequest). Legal characters for `
3320
3339
  # request_tag` values are all printable characters (ASCII 32 - 126) and the
3321
3340
  # length of a request_tag is limited to 50 characters. Values that exceed this
3322
- # limit are truncated.
3341
+ # limit are truncated. Any leading underscore (_) characters will be removed
3342
+ # from the string.
3323
3343
  # Corresponds to the JSON property `requestTag`
3324
3344
  # @return [String]
3325
3345
  attr_accessor :request_tag
@@ -3331,7 +3351,8 @@ module Google
3331
3351
  # transaction, transaction_tag will be ignored. Legal characters for `
3332
3352
  # transaction_tag` values are all printable characters (ASCII 32 - 126) and the
3333
3353
  # length of a transaction_tag is limited to 50 characters. Values that exceed
3334
- # this limit are truncated.
3354
+ # this limit are truncated. Any leading underscore (_) characters will be
3355
+ # removed from the string.
3335
3356
  # Corresponds to the JSON property `transactionTag`
3336
3357
  # @return [String]
3337
3358
  attr_accessor :transaction_tag
@@ -3770,7 +3791,7 @@ module Google
3770
3791
  # resourcemanager.organizationAdmin - members: - user:eve@example.com role:
3771
3792
  # roles/resourcemanager.organizationViewer condition: title: expirable access
3772
3793
  # description: Does not grant access after Sep 2020 expression: request.time <
3773
- # timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
3794
+ # timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a
3774
3795
  # description of IAM and its features, see the [IAM documentation](https://cloud.
3775
3796
  # google.com/iam/docs/).
3776
3797
  # Corresponds to the JSON property `policy`
@@ -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.14.0"
19
+ GEM_VERSION = "0.18.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210624"
25
+ REVISION = "20210825"
26
26
  end
27
27
  end
28
28
  end
@@ -807,6 +807,7 @@ module Google
807
807
  # @private
808
808
  class Representation < Google::Apis::Core::JsonRepresentation
809
809
  property :create_time, as: 'createTime'
810
+ property :default_leader, as: 'defaultLeader'
810
811
  property :earliest_version_time, as: 'earliestVersionTime'
811
812
  property :encryption_config, as: 'encryptionConfig', class: Google::Apis::SpannerV1::EncryptionConfig, decorator: Google::Apis::SpannerV1::EncryptionConfig::Representation
812
813
 
@@ -993,6 +994,7 @@ module Google
993
994
  # @private
994
995
  class Representation < Google::Apis::Core::JsonRepresentation
995
996
  property :display_name, as: 'displayName'
997
+ collection :leader_options, as: 'leaderOptions'
996
998
  property :name, as: 'name'
997
999
  collection :replicas, as: 'replicas', class: Google::Apis::SpannerV1::ReplicaInfo, decorator: Google::Apis::SpannerV1::ReplicaInfo::Representation
998
1000
 
@@ -350,7 +350,7 @@ module Google
350
350
  # the format `/operations/` and can be used to track the instance modification.
351
351
  # The metadata field type is UpdateInstanceMetadata. The response field type is
352
352
  # Instance, if successful. Authorization requires `spanner.instances.update`
353
- # permission on resource name.
353
+ # permission on the resource name.
354
354
  # @param [String] name
355
355
  # Required. A unique identifier for the instance, which cannot be changed after
356
356
  # the instance is created. Values are of the form `projects//instances/a-z*[a-z0-
@@ -30,7 +30,7 @@ module Google
30
30
  # This is NOT the gem version.
31
31
  VERSION = 'V1'
32
32
 
33
- # See, edit, configure, and delete your Google Cloud Platform data
33
+ # See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
34
34
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
35
35
 
36
36
  # Administer your Spanner databases
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.14.0
4
+ version: 0.18.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-07-05 00:00:00.000000000 Z
11
+ date: 2021-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-spanner_v1/v0.18.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-spanner_v1
63
63
  post_install_message:
64
64
  rdoc_options: []