Skip to content

Commit

Permalink
feat(spanner): update the api
Browse files Browse the repository at this point in the history
#### spanner:v1

The following keys were added:
- schemas.Database.properties.defaultLeader (Total Keys: 2)
- schemas.InstanceConfig.properties.leaderOptions (Total Keys: 2)
  • Loading branch information
yoshi-automation committed Jul 20, 2021
1 parent 9841a39 commit acdb8fc
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 54 deletions.
6 changes: 6 additions & 0 deletions docs/dyn/spanner_v1.projects.instanceConfigs.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ <h3>Method Details</h3>

{ # A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.
&quot;displayName&quot;: &quot;A String&quot;, # The name of this instance configuration as it appears in UIs.
&quot;leaderOptions&quot;: [ # Allowed values of the “default_leader” schema option for databases in instances that use this instance configuration.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`
&quot;replicas&quot;: [ # The geographic placement of nodes in this instance configuration and their replication properties.
{
Expand Down Expand Up @@ -139,6 +142,9 @@ <h3>Method Details</h3>
&quot;instanceConfigs&quot;: [ # The list of requested instance configurations.
{ # A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.
&quot;displayName&quot;: &quot;A String&quot;, # The name of this instance configuration as it appears in UIs.
&quot;leaderOptions&quot;: [ # Allowed values of the “default_leader” schema option for databases in instances that use this instance configuration.
&quot;A String&quot;,
],
&quot;name&quot;: &quot;A String&quot;, # A unique identifier for the instance configuration. Values are of the form `projects//instanceConfigs/a-z*`
&quot;replicas&quot;: [ # The geographic placement of nodes in this instance configuration and their replication properties.
{
Expand Down
2 changes: 2 additions & 0 deletions docs/dyn/spanner_v1.projects.instances.databases.html
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ <h3>Method Details</h3>

{ # A Cloud Spanner database.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. If exists, the time at which the database creation started.
&quot;defaultLeader&quot;: &quot;A String&quot;, # Output only. The read-write region which contains the database&#x27;s leader replicas. This is the same as the value of default_leader database option set using DatabaseAdmin.CreateDatabase or DatabaseAdmin.UpdateDatabaseDdl. If not explicitly set, this is empty.
&quot;earliestVersionTime&quot;: &quot;A String&quot;, # Output only. Earliest timestamp at which older versions of the data can be read. This value is continuously updated by Cloud Spanner and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.
&quot;encryptionConfig&quot;: { # Encryption configuration for a Cloud Spanner database. # Output only. For databases that are using customer managed encryption, this field contains the encryption configuration for the database. For databases that are using Google default or other types of encryption, this field is empty.
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS key to be used for encrypting and decrypting the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`.
Expand Down Expand Up @@ -534,6 +535,7 @@ <h3>Method Details</h3>
&quot;databases&quot;: [ # Databases that matched the request.
{ # A Cloud Spanner database.
&quot;createTime&quot;: &quot;A String&quot;, # Output only. If exists, the time at which the database creation started.
&quot;defaultLeader&quot;: &quot;A String&quot;, # Output only. The read-write region which contains the database&#x27;s leader replicas. This is the same as the value of default_leader database option set using DatabaseAdmin.CreateDatabase or DatabaseAdmin.UpdateDatabaseDdl. If not explicitly set, this is empty.
&quot;earliestVersionTime&quot;: &quot;A String&quot;, # Output only. Earliest timestamp at which older versions of the data can be read. This value is continuously updated by Cloud Spanner and becomes stale the moment it is queried. If you are using this value to recover data, make sure to account for the time from the moment when the value is queried to the moment when you initiate the recovery.
&quot;encryptionConfig&quot;: { # Encryption configuration for a Cloud Spanner database. # Output only. For databases that are using customer managed encryption, this field contains the encryption configuration for the database. For databases that are using Google default or other types of encryption, this field is empty.
&quot;kmsKeyName&quot;: &quot;A String&quot;, # The Cloud KMS key to be used for encrypting and decrypting the database. Values are of the form `projects//locations//keyRings//cryptoKeys/`.
Expand Down
Loading

0 comments on commit acdb8fc

Please sign in to comment.