| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent bb5095d commit 8b6f154
23 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -81,9 +81,10 @@ def __init__( | |||
| 81 | 81 | credentials identify the application to the service; if none | |
| 82 | 82 | are specified, the client will attempt to ascertain the | |
| 83 | 83 | credentials from the environment. | |
| 84 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 84 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 85 | 85 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 86 | - This argument is mutually exclusive with credentials. | ||
| 86 | + This argument is mutually exclusive with credentials. This argument will be | ||
| 87 | + removed in the next major version of this library. | ||
| 87 | 88 | scopes (Optional[Sequence[str]]): A list of scopes. | |
| 88 | 89 | quota_project_id (Optional[str]): An optional project to use for billing | |
| 89 | 90 | and quota. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -169,9 +169,10 @@ def __init__( | |||
| 169 | 169 | are specified, the client will attempt to ascertain the | |
| 170 | 170 | credentials from the environment. | |
| 171 | 171 | This argument is ignored if a ``channel`` instance is provided. | |
| 172 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 172 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 173 | 173 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 174 | 174 | This argument is ignored if a ``channel`` instance is provided. | |
| 175 | + This argument will be removed in the next major version of this library. | ||
| 175 | 176 | scopes (Optional(Sequence[str])): A list of scopes. This argument is | |
| 176 | 177 | ignored if a ``channel`` instance is provided. | |
| 177 | 178 | channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]): | |
@@ -306,9 +307,10 @@ def create_channel( | |||
| 306 | 307 | credentials identify this application to the service. If | |
| 307 | 308 | none are specified, the client will attempt to ascertain | |
| 308 | 309 | the credentials from the environment. | |
| 309 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 310 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 310 | 311 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 311 | - This argument is mutually exclusive with credentials. | ||
| 312 | + This argument is mutually exclusive with credentials. This argument will be | ||
| 313 | + removed in the next major version of this library. | ||
| 312 | 314 | scopes (Optional[Sequence[str]]): A optional list of scopes needed for this | |
| 313 | 315 | service. These are only used when credentials are not specified and | |
| 314 | 316 | are passed to :func:`google.auth.default`. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -166,8 +166,9 @@ def create_channel( | |||
| 166 | 166 | credentials identify this application to the service. If | |
| 167 | 167 | none are specified, the client will attempt to ascertain | |
| 168 | 168 | the credentials from the environment. | |
| 169 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 170 | - be loaded with :func:`google.auth.load_credentials_from_file`. | ||
| 169 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 170 | + be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be | ||
| 171 | + removed in the next major version of this library. | ||
| 171 | 172 | scopes (Optional[Sequence[str]]): A optional list of scopes needed for this | |
| 172 | 173 | service. These are only used when credentials are not specified and | |
| 173 | 174 | are passed to :func:`google.auth.default`. | |
@@ -218,9 +219,10 @@ def __init__( | |||
| 218 | 219 | are specified, the client will attempt to ascertain the | |
| 219 | 220 | credentials from the environment. | |
| 220 | 221 | This argument is ignored if a ``channel`` instance is provided. | |
| 221 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 222 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 222 | 223 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 223 | 224 | This argument is ignored if a ``channel`` instance is provided. | |
| 225 | + This argument will be removed in the next major version of this library. | ||
| 224 | 226 | scopes (Optional[Sequence[str]]): A optional list of scopes needed for this | |
| 225 | 227 | service. These are only used when credentials are not specified and | |
| 226 | 228 | are passed to :func:`google.auth.default`. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1622,9 +1622,10 @@ def __init__( | |||
| 1622 | 1622 | are specified, the client will attempt to ascertain the | |
| 1623 | 1623 | credentials from the environment. | |
| 1624 | 1624 | ||
| 1625 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 1625 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 1626 | 1626 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 1627 | - This argument is ignored if ``channel`` is provided. | ||
| 1627 | + This argument is ignored if ``channel`` is provided. This argument will be | ||
| 1628 | + removed in the next major version of this library. | ||
| 1628 | 1629 | scopes (Optional(Sequence[str])): A list of scopes. This argument is | |
| 1629 | 1630 | ignored if ``channel`` is provided. | |
| 1630 | 1631 | client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -75,9 +75,10 @@ def __init__( | |||
| 75 | 75 | credentials identify the application to the service; if none | |
| 76 | 76 | are specified, the client will attempt to ascertain the | |
| 77 | 77 | credentials from the environment. | |
| 78 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 78 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 79 | 79 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 80 | - This argument is mutually exclusive with credentials. | ||
| 80 | + This argument is mutually exclusive with credentials. This argument will be | ||
| 81 | + removed in the next major version of this library. | ||
| 81 | 82 | scopes (Optional[Sequence[str]]): A list of scopes. | |
| 82 | 83 | quota_project_id (Optional[str]): An optional project to use for billing | |
| 83 | 84 | and quota. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -178,9 +178,10 @@ def __init__( | |||
| 178 | 178 | are specified, the client will attempt to ascertain the | |
| 179 | 179 | credentials from the environment. | |
| 180 | 180 | This argument is ignored if a ``channel`` instance is provided. | |
| 181 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 181 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 182 | 182 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 183 | 183 | This argument is ignored if a ``channel`` instance is provided. | |
| 184 | + This argument will be removed in the next major version of this library. | ||
| 184 | 185 | scopes (Optional(Sequence[str])): A list of scopes. This argument is | |
| 185 | 186 | ignored if a ``channel`` instance is provided. | |
| 186 | 187 | channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]): | |
@@ -315,9 +316,10 @@ def create_channel( | |||
| 315 | 316 | credentials identify this application to the service. If | |
| 316 | 317 | none are specified, the client will attempt to ascertain | |
| 317 | 318 | the credentials from the environment. | |
| 318 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 319 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 319 | 320 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 320 | - This argument is mutually exclusive with credentials. | ||
| 321 | + This argument is mutually exclusive with credentials. This argument will be | ||
| 322 | + removed in the next major version of this library. | ||
| 321 | 323 | scopes (Optional[Sequence[str]]): A optional list of scopes needed for this | |
| 322 | 324 | service. These are only used when credentials are not specified and | |
| 323 | 325 | are passed to :func:`google.auth.default`. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -175,8 +175,9 @@ def create_channel( | |||
| 175 | 175 | credentials identify this application to the service. If | |
| 176 | 176 | none are specified, the client will attempt to ascertain | |
| 177 | 177 | the credentials from the environment. | |
| 178 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 179 | - be loaded with :func:`google.auth.load_credentials_from_file`. | ||
| 178 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 179 | + be loaded with :func:`google.auth.load_credentials_from_file`. This argument will be | ||
| 180 | + removed in the next major version of this library. | ||
| 180 | 181 | scopes (Optional[Sequence[str]]): A optional list of scopes needed for this | |
| 181 | 182 | service. These are only used when credentials are not specified and | |
| 182 | 183 | are passed to :func:`google.auth.default`. | |
@@ -227,9 +228,10 @@ def __init__( | |||
| 227 | 228 | are specified, the client will attempt to ascertain the | |
| 228 | 229 | credentials from the environment. | |
| 229 | 230 | This argument is ignored if a ``channel`` instance is provided. | |
| 230 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 231 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 231 | 232 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 232 | 233 | This argument is ignored if a ``channel`` instance is provided. | |
| 234 | + This argument will be removed in the next major version of this library. | ||
| 233 | 235 | scopes (Optional[Sequence[str]]): A optional list of scopes needed for this | |
| 234 | 236 | service. These are only used when credentials are not specified and | |
| 235 | 237 | are passed to :func:`google.auth.default`. | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1355,9 +1355,10 @@ def __init__( | |||
| 1355 | 1355 | are specified, the client will attempt to ascertain the | |
| 1356 | 1356 | credentials from the environment. | |
| 1357 | 1357 | ||
| 1358 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 1358 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 1359 | 1359 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 1360 | - This argument is ignored if ``channel`` is provided. | ||
| 1360 | + This argument is ignored if ``channel`` is provided. This argument will be | ||
| 1361 | + removed in the next major version of this library. | ||
| 1361 | 1362 | scopes (Optional(Sequence[str])): A list of scopes. This argument is | |
| 1362 | 1363 | ignored if ``channel`` is provided. | |
| 1363 | 1364 | client_cert_source_for_mtls (Callable[[], Tuple[bytes, bytes]]): Client | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1765,6 +1765,12 @@ class InstancePartition(proto.Message): | |||
| 1765 | 1765 | that are not yet in the ``READY`` state. | |
| 1766 | 1766 | ||
| 1767 | 1767 | This field is a member of `oneof`_ ``compute_capacity``. | |
| 1768 | + autoscaling_config (google.cloud.spanner_admin_instance_v1.types.AutoscalingConfig): | ||
| 1769 | + Optional. The autoscaling configuration. Autoscaling is | ||
| 1770 | + enabled if this field is set. When autoscaling is enabled, | ||
| 1771 | + fields in compute_capacity are treated as OUTPUT_ONLY fields | ||
| 1772 | + and reflect the current compute capacity allocated to the | ||
| 1773 | + instance partition. | ||
| 1768 | 1774 | state (google.cloud.spanner_admin_instance_v1.types.InstancePartition.State): | |
| 1769 | 1775 | Output only. The current instance partition | |
| 1770 | 1776 | state. | |
@@ -1848,6 +1854,11 @@ class State(proto.Enum): | |||
| 1848 | 1854 | number=6, | |
| 1849 | 1855 | oneof="compute_capacity", | |
| 1850 | 1856 | ) | |
| 1857 | + autoscaling_config: "AutoscalingConfig" = proto.Field( | ||
| 1858 | + proto.MESSAGE, | ||
| 1859 | + number=13, | ||
| 1860 | + message="AutoscalingConfig", | ||
| 1861 | + ) | ||
| 1851 | 1862 | state: State = proto.Field( | |
| 1852 | 1863 | proto.ENUM, | |
| 1853 | 1864 | number=7, | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -76,9 +76,10 @@ def __init__( | |||
| 76 | 76 | credentials identify the application to the service; if none | |
| 77 | 77 | are specified, the client will attempt to ascertain the | |
| 78 | 78 | credentials from the environment. | |
| 79 | - credentials_file (Optional[str]): A file with credentials that can | ||
| 79 | + credentials_file (Optional[str]): Deprecated. A file with credentials that can | ||
| 80 | 80 | be loaded with :func:`google.auth.load_credentials_from_file`. | |
| 81 | - This argument is mutually exclusive with credentials. | ||
| 81 | + This argument is mutually exclusive with credentials. This argument will be | ||
| 82 | + removed in the next major version of this library. | ||
| 82 | 83 | scopes (Optional[Sequence[str]]): A list of scopes. | |
| 83 | 84 | quota_project_id (Optional[str]): An optional project to use for billing | |
| 84 | 85 | and quota. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments