Skip to content

Commit

Permalink
docs: remove EXPERIMENTAL tag from Schema service (via synth) (#307)
Browse files Browse the repository at this point in the history
* 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 <noreply@google.com>
Source-Date: Fri Feb 26 14:51:50 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 9adc11e84218d5e234392e7fe81676e778895525
Source-Link: googleapis/googleapis@9adc11e

* docs: Remove experimental note for schema APIs

PiperOrigin-RevId: 360714464

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Mar 3 11:13:45 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 479acf6990eada1213f8666f1c795a018f8496f9
Source-Link: googleapis/googleapis@479acf6

* chore(release): update Java microgenerator to 1.0.1

Committer: @miraleung
PiperOrigin-RevId: 360805639

Source-Author: Google APIs <noreply@google.com>
Source-Date: Wed Mar 3 18:34:03 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 3befd26ca55723d3e8111909331eac1249837987
Source-Link: googleapis/googleapis@3befd26
  • Loading branch information
yoshi-automation authored Mar 4, 2021
1 parent 6e43f4c commit ad85202
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 26 deletions.
2 changes: 0 additions & 2 deletions google/cloud/pubsub_v1/proto/pubsub.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions google/cloud/pubsub_v1/proto/schema.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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) =
Expand Down
4 changes: 2 additions & 2 deletions google/pubsub_v1/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,14 +118,14 @@
"ReceivedMessage",
"RetryPolicy",
"Schema",
"SchemaServiceClient",
"SchemaSettings",
"SchemaView",
"SeekRequest",
"SeekResponse",
"Snapshot",
"StreamingPullRequest",
"StreamingPullResponse",
"SubscriberClient",
"Subscription",
"Topic",
"UpdateSnapshotRequest",
Expand All @@ -135,5 +135,5 @@
"ValidateMessageResponse",
"ValidateSchemaRequest",
"ValidateSchemaResponse",
"SubscriberClient",
"SchemaServiceClient",
)
5 changes: 1 addition & 4 deletions google/pubsub_v1/services/schema_service/async_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 1 addition & 4 deletions google/pubsub_v1/services/schema_service/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
4 changes: 1 addition & 3 deletions google/pubsub_v1/services/schema_service/transports/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions google/pubsub_v1/types/pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand Down

0 comments on commit ad85202

Please sign in to comment.