Python release fixes (#47)

* Use the correct Python package name for publishing packages

* Fix documentation bug

* Add service-level documentation, because Sphinx depends on a class docstring in the generated Python code. It generates a blank page otherwise.

* Ignore Eclipse files
pull/48/head
Brian J. Watson 9 years ago committed by GitHub
parent 0487f76443
commit 996ca3e05b
  1. 1
      .gitignore
  2. 2
      google/logging/v2/log_entry.proto
  3. 2
      google/logging/v2/logging_config.proto
  4. 2
      google/logging/v2/logging_gapic.yaml
  5. 1
      google/logging/v2/logging_metrics.proto
  6. 2
      google/pubsub/v1/pubsub_gapic.yaml

1
.gitignore vendored

@ -2,3 +2,4 @@ OWNERS
README.google
google/internal
google/protobuf
.project

@ -104,7 +104,7 @@ message LogEntryOperation {
// Required. An arbitrary producer identifier. The combination of
// `id` and `producer` must be globally unique. Examples for `producer`:
// `"MyDivision.MyBigCompany.com"`, "github.com/MyProject/MyApplication"`.
// `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`.
//
string producer = 2;

@ -25,6 +25,8 @@ option java_outer_classname = "LoggingConfig";
option java_package = "com.google.logging.v2";
// Service for configuring sinks used to export log entries outside Stackdriver
// Logging.
service ConfigServiceV2 {
// Lists sinks.
rpc ListSinks(ListSinksRequest) returns (ListSinksResponse) {

@ -4,7 +4,7 @@ language_settings:
java:
package_name: com.google.cloud.logging.spi.v2
python:
package_name: gcloud.logging
package_name: google.logging.v2
go:
package_name: google.golang.org/cloud/logging
csharp:

@ -23,6 +23,7 @@ option java_multiple_files = true;
option java_package = "com.google.logging.v2";
// Service for configuring logs-based metrics.
service MetricsServiceV2 {
// Lists logs-based metrics.
rpc ListLogMetrics(ListLogMetricsRequest) returns (ListLogMetricsResponse) {

@ -4,7 +4,7 @@ language_settings:
java:
package_name: com.google.cloud.pubsub.spi.v1
python:
package_name: gcloud.pubsub
package_name: google.pubsub.v1
go:
package_name: google.golang.org/cloud/pubsub
csharp:

Loading…
Cancel
Save