From ad852028836520db779c5cc33689ffd7e5458a7d Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Thu, 4 Mar 2021 10:44:28 -0800 Subject: [PATCH] docs: remove EXPERIMENTAL tag from Schema service (via synth) (#307) * changes without context autosynth cannot find the source of changes triggered by earlier changes in this repository, or by version upgrades to tools such as linters. * fix: Update to PHP micro-generator beta02; fixes some bazel build issues. PiperOrigin-RevId: 359844338 Source-Author: Google APIs Source-Date: Fri Feb 26 14:51:50 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 9adc11e84218d5e234392e7fe81676e778895525 Source-Link: https://github.com/googleapis/googleapis/commit/9adc11e84218d5e234392e7fe81676e778895525 * docs: Remove experimental note for schema APIs PiperOrigin-RevId: 360714464 Source-Author: Google APIs Source-Date: Wed Mar 3 11:13:45 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 479acf6990eada1213f8666f1c795a018f8496f9 Source-Link: https://github.com/googleapis/googleapis/commit/479acf6990eada1213f8666f1c795a018f8496f9 * chore(release): update Java microgenerator to 1.0.1 Committer: @miraleung PiperOrigin-RevId: 360805639 Source-Author: Google APIs Source-Date: Wed Mar 3 18:34:03 2021 -0800 Source-Repo: googleapis/googleapis Source-Sha: 3befd26ca55723d3e8111909331eac1249837987 Source-Link: https://github.com/googleapis/googleapis/commit/3befd26ca55723d3e8111909331eac1249837987 --- google/cloud/pubsub_v1/proto/pubsub.proto | 2 -- google/cloud/pubsub_v1/proto/schema.proto | 3 --- google/pubsub_v1/__init__.py | 4 ++-- google/pubsub_v1/services/schema_service/async_client.py | 5 +---- google/pubsub_v1/services/schema_service/client.py | 5 +---- google/pubsub_v1/services/schema_service/transports/grpc.py | 4 +--- .../services/schema_service/transports/grpc_asyncio.py | 4 +--- google/pubsub_v1/types/pubsub.py | 2 -- synth.metadata | 6 +++--- 9 files changed, 9 insertions(+), 26 deletions(-) diff --git a/google/cloud/pubsub_v1/proto/pubsub.proto b/google/cloud/pubsub_v1/proto/pubsub.proto index 9bc678e3a..0da37dd7d 100644 --- a/google/cloud/pubsub_v1/proto/pubsub.proto +++ b/google/cloud/pubsub_v1/proto/pubsub.proto @@ -191,8 +191,6 @@ message Topic { string kms_key_name = 5; // Settings for validating messages published against a schema. - // - // EXPERIMENTAL: Schema support is in development and may not work yet. SchemaSettings schema_settings = 6; // Reserved for future use. This field is set only in responses from the diff --git a/google/cloud/pubsub_v1/proto/schema.proto b/google/cloud/pubsub_v1/proto/schema.proto index ae402ac4d..1ace7ef3b 100644 --- a/google/cloud/pubsub_v1/proto/schema.proto +++ b/google/cloud/pubsub_v1/proto/schema.proto @@ -32,9 +32,6 @@ option php_namespace = "Google\\Cloud\\PubSub\\V1"; option ruby_package = "Google::Cloud::PubSub::V1"; // Service for doing schema-related operations. -// -// EXPERIMENTAL: The Schema service is in development and may not work yet. - service SchemaService { option (google.api.default_host) = "pubsub.googleapis.com"; option (google.api.oauth_scopes) = diff --git a/google/pubsub_v1/__init__.py b/google/pubsub_v1/__init__.py index 8152d60f3..fce58c7ad 100644 --- a/google/pubsub_v1/__init__.py +++ b/google/pubsub_v1/__init__.py @@ -118,7 +118,6 @@ "ReceivedMessage", "RetryPolicy", "Schema", - "SchemaServiceClient", "SchemaSettings", "SchemaView", "SeekRequest", @@ -126,6 +125,7 @@ "Snapshot", "StreamingPullRequest", "StreamingPullResponse", + "SubscriberClient", "Subscription", "Topic", "UpdateSnapshotRequest", @@ -135,5 +135,5 @@ "ValidateMessageResponse", "ValidateSchemaRequest", "ValidateSchemaResponse", - "SubscriberClient", + "SchemaServiceClient", ) diff --git a/google/pubsub_v1/services/schema_service/async_client.py b/google/pubsub_v1/services/schema_service/async_client.py index 39de60587..9aeb62990 100644 --- a/google/pubsub_v1/services/schema_service/async_client.py +++ b/google/pubsub_v1/services/schema_service/async_client.py @@ -40,10 +40,7 @@ class SchemaServiceAsyncClient: - """ Service for doing schema-related operations. - EXPERIMENTAL: The Schema service is in development and may not - work yet. - """ + """Service for doing schema-related operations.""" _client: SchemaServiceClient diff --git a/google/pubsub_v1/services/schema_service/client.py b/google/pubsub_v1/services/schema_service/client.py index d569af8f3..5f65a0388 100644 --- a/google/pubsub_v1/services/schema_service/client.py +++ b/google/pubsub_v1/services/schema_service/client.py @@ -75,10 +75,7 @@ def get_transport_class(cls, label: str = None,) -> Type[SchemaServiceTransport] class SchemaServiceClient(metaclass=SchemaServiceClientMeta): - """ Service for doing schema-related operations. - EXPERIMENTAL: The Schema service is in development and may not - work yet. - """ + """Service for doing schema-related operations.""" @staticmethod def _get_default_mtls_endpoint(api_endpoint): diff --git a/google/pubsub_v1/services/schema_service/transports/grpc.py b/google/pubsub_v1/services/schema_service/transports/grpc.py index 3a724e073..51fff0e85 100644 --- a/google/pubsub_v1/services/schema_service/transports/grpc.py +++ b/google/pubsub_v1/services/schema_service/transports/grpc.py @@ -38,9 +38,7 @@ class SchemaServiceGrpcTransport(SchemaServiceTransport): """gRPC backend transport for SchemaService. - Service for doing schema-related operations. - EXPERIMENTAL: The Schema service is in development and may not - work yet. + Service for doing schema-related operations. This class defines the same methods as the primary client, so the primary client can load the underlying transport implementation diff --git a/google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py b/google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py index 080bcc6f5..d8c7cac09 100644 --- a/google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py +++ b/google/pubsub_v1/services/schema_service/transports/grpc_asyncio.py @@ -40,9 +40,7 @@ class SchemaServiceGrpcAsyncIOTransport(SchemaServiceTransport): """gRPC AsyncIO backend transport for SchemaService. - Service for doing schema-related operations. - EXPERIMENTAL: The Schema service is in development and may not - work yet. + Service for doing schema-related operations. This class defines the same methods as the primary client, so the primary client can load the underlying transport implementation diff --git a/google/pubsub_v1/types/pubsub.py b/google/pubsub_v1/types/pubsub.py index 001eea88a..6fb73e8c9 100644 --- a/google/pubsub_v1/types/pubsub.py +++ b/google/pubsub_v1/types/pubsub.py @@ -143,8 +143,6 @@ class Topic(proto.Message): schema_settings (google.pubsub_v1.types.SchemaSettings): Settings for validating messages published against a schema. - EXPERIMENTAL: Schema support is in development - and may not work yet. satisfies_pzs (bool): Reserved for future use. This field is set only in responses from the server; it is ignored diff --git a/synth.metadata b/synth.metadata index 71975f632..a0d4cbdb6 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,15 +4,15 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/python-pubsub.git", - "sha": "970924ec144a8dd2556fa7e1b55c14088935d5fd" + "sha": "6e43f4ca8411c6625bac1720172807632dc4b500" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "9adc11e84218d5e234392e7fe81676e778895525", - "internalRef": "359844338" + "sha": "3befd26ca55723d3e8111909331eac1249837987", + "internalRef": "360805639" } }, {