Skip to content

Commit 17f845e

Browse files
feat: Exposing InstanceType in Instance configuration (to define PROVISIONED or FREE spanner instance)
feat: Exposing FreeInstanceMetadata in Instance configuration (to define the metadata related to FREE instance type) feat: Exposing storage_limit_per_processing_unit in InstanceConfig feat: Exposing QuorumType in InstanceConfig feat: Exposing FreeInstanceAvailability in InstanceConfig docs: A comment for method `ListInstanceConfigs` in service `InstanceAdmin` is changed docs: A comment for method `CreateInstanceConfig` in service `InstanceAdmin` is changed docs: A comment for method `UpdateInstanceConfig` in service `InstanceAdmin` is changed docs: A comment for method `ListInstanceConfigOperations` in service `InstanceAdmin` is changed docs: A comment for method `CreateInstance` in service `InstanceAdmin` is changed docs: A comment for method `UpdateInstance` in service `InstanceAdmin` is changed docs: A comment for method `CreateInstancePartition` in service `InstanceAdmin` is changed docs: A comment for method `UpdateInstancePartition` in service `InstanceAdmin` is changed docs: A comment for method `ListInstancePartitionOperations` in service `InstanceAdmin` is changed docs: A comment for method `MoveInstance` in service `InstanceAdmin` is changed docs: A comment for field `location` in message `.google.spanner.admin.instance.v1.ReplicaInfo` is changed docs: A comment for enum value `GOOGLE_MANAGED` in enum `Type` is changed docs: A comment for enum value `USER_MANAGED` in enum `Type` is changed docs: A comment for field `replicas` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed docs: A comment for field `optional_replicas` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed docs: A comment for field `base_config` in message `.google.spanner.admin.instance.v1.InstanceConfig` is changed docs: A comment for field `storage_utilization_percent` in message `.google.spanner.admin.instance.v1.AutoscalingConfig` is changed docs: A comment for enum `DefaultBackupScheduleType` is changed docs: A comment for enum value `NONE` in enum `DefaultBackupScheduleType` is changed docs: A comment for enum value `AUTOMATIC` in enum `DefaultBackupScheduleType` is changed docs: A comment for field `node_count` in message `.google.spanner.admin.instance.v1.Instance` is changed docs: A comment for field `processing_units` in message `.google.spanner.admin.instance.v1.Instance` is changed docs: A comment for field `default_backup_schedule_type` in message `.google.spanner.admin.instance.v1.Instance` is changed docs: A comment for message `CreateInstanceConfigRequest` is changed docs: A comment for field `instance_config` in message `.google.spanner.admin.instance.v1.CreateInstanceConfigRequest` is changed docs: A comment for message `UpdateInstanceConfigRequest` is changed docs: A comment for message `DeleteInstanceConfigRequest` is changed docs: A comment for field `filter` in message `.google.spanner.admin.instance.v1.ListInstanceConfigOperationsRequest` is changed docs: A comment for field `operations` in message `.google.spanner.admin.instance.v1.ListInstanceConfigOperationsResponse` is changed docs: A comment for field `node_count` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed docs: A comment for field `processing_units` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed docs: A comment for field `referencing_backups` in message `.google.spanner.admin.instance.v1.InstancePartition` is changed docs: A comment for field `parent` in message `.google.spanner.admin.instance.v1.ListInstancePartitionsRequest` is changed docs: A comment for field `unreachable` in message `.google.spanner.admin.instance.v1.ListInstancePartitionsResponse` is changed docs: A comment for field `filter` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest` is changed docs: A comment for field `instance_partition_deadline` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsRequest` is changed docs: A comment for field `operations` in message `.google.spanner.admin.instance.v1.ListInstancePartitionOperationsResponse` is changed PiperOrigin-RevId: 706945550 Source-Link: googleapis/googleapis@3db0452 Source-Link: googleapis/googleapis-gen@6c42be3 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNmM0MmJlM2JmNTQ2ZjEwZjA5Y2FkOThiM2Y1NmY3N2MyNzFmYzhlMiJ9
1 parent 22bc842 commit 17f845e

File tree

279 files changed

+125412
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

279 files changed

+125412
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[run]
2+
branch = True
3+
4+
[report]
5+
show_missing = True
6+
omit =
7+
google/cloud/spanner/__init__.py
8+
google/cloud/spanner/gapic_version.py
9+
exclude_lines =
10+
# Re-enable the standard pragma
11+
pragma: NO COVER
12+
# Ignore debug-only repr
13+
def __repr__

owl-bot-staging/spanner/v1/.flake8

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# -*- coding: utf-8 -*-
2+
#
3+
# Copyright 2020 Google LLC
4+
#
5+
# Licensed under the Apache License, Version 2.0 (the "License");
6+
# you may not use this file except in compliance with the License.
7+
# You may obtain a copy of the License at
8+
#
9+
# https://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing, software
12+
# distributed under the License is distributed on an "AS IS" BASIS,
13+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
# See the License for the specific language governing permissions and
15+
# limitations under the License.
16+
17+
# Generated by synthtool. DO NOT EDIT!
18+
[flake8]
19+
ignore = E203, E266, E501, W503
20+
exclude =
21+
# Exclude generated code.
22+
**/proto/**
23+
**/gapic/**
24+
**/services/**
25+
**/types/**
26+
*_pb2.py
27+
28+
# Standard linting exemptions.
29+
**/.nox/**
30+
__pycache__,
31+
.git,
32+
*.pyc,
33+
conf.py
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
recursive-include google/cloud/spanner *.py
2+
recursive-include google/cloud/spanner_v1 *.py
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
Python Client for Google Cloud Spanner API
2+
=================================================
3+
4+
Quick Start
5+
-----------
6+
7+
In order to use this library, you first need to go through the following steps:
8+
9+
1. `Select or create a Cloud Platform project.`_
10+
2. `Enable billing for your project.`_
11+
3. Enable the Google Cloud Spanner API.
12+
4. `Setup Authentication.`_
13+
14+
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
15+
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
16+
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
17+
18+
Installation
19+
~~~~~~~~~~~~
20+
21+
Install this library in a `virtualenv`_ using pip. `virtualenv`_ is a tool to
22+
create isolated Python environments. The basic problem it addresses is one of
23+
dependencies and versions, and indirectly permissions.
24+
25+
With `virtualenv`_, it's possible to install this library without needing system
26+
install permissions, and without clashing with the installed system
27+
dependencies.
28+
29+
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
30+
31+
32+
Mac/Linux
33+
^^^^^^^^^
34+
35+
.. code-block:: console
36+
37+
python3 -m venv <your-env>
38+
source <your-env>/bin/activate
39+
<your-env>/bin/pip install /path/to/library
40+
41+
42+
Windows
43+
^^^^^^^
44+
45+
.. code-block:: console
46+
47+
python3 -m venv <your-env>
48+
<your-env>\Scripts\activate
49+
<your-env>\Scripts\pip.exe install \path\to\library
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dl.field-list > dt {
2+
min-width: 100px
3+
}

0 commit comments

Comments
 (0)