Skip to content

Commit 0a459af

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new field unversioned_package_disabled is added to message .google.api.PythonSettings
docs: A comment for field `content` in message `.google.api.Page` is changed docs: A comment for message `RoutingRule` is changed PiperOrigin-RevId: 724453235
1 parent a7ee03d commit 0a459af

9 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎google/api/client.proto‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ message PythonSettings {
281281
// enabled by default 1 month after launching the feature in preview
282282
// packages.
283283
bool protobuf_pythonic_types_enabled = 2;
284+
285+
// Disables generation of an unversioned Python package for this client
286+
// library. This means that the module names will need to be versioned in
287+
// import statements. For example `import google.cloud.library_v2` instead
288+
// of `import google.cloud.library`.
289+
bool unversioned_package_disabled = 3;
284290
}
285291

286292
// Some settings.

‎google/api/documentation.proto‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@ message Page {
157157
// `[Java][Tutorial.Java]`.
158158
string name = 1;
159159

160-
// The Markdown content of the page. You can use <code>&#40;== include {path}
161-
// ==&#41;</code> to include content from a Markdown file. The content can be
162-
// used to produce the documentation page such as HTML format page.
160+
// The Markdown content of the page. You can use ```(== include {path}
161+
// ==)``` to include content from a Markdown file. The content can be used
162+
// to produce the documentation page such as HTML format page.
163163
string content = 2;
164164

165165
// Subpages of this page. The order of subpages specified here will be

‎google/api/http.proto‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ syntax = "proto3";
1616

1717
package google.api;
1818

19-
option cc_enable_arenas = true;
2019
option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
2120
option java_multiple_files = true;
2221
option java_outer_classname = "HttpProto";

‎google/api/label.proto‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ syntax = "proto3";
1616

1717
package google.api;
1818

19-
option cc_enable_arenas = true;
2019
option go_package = "google.golang.org/genproto/googleapis/api/label;label";
2120
option java_multiple_files = true;
2221
option java_outer_classname = "LabelProto";

‎google/api/monitored_resource.proto‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import "google/api/label.proto";
2020
import "google/api/launch_stage.proto";
2121
import "google/protobuf/struct.proto";
2222

23-
option cc_enable_arenas = true;
2423
option go_package = "google.golang.org/genproto/googleapis/api/monitoredres;monitoredres";
2524
option java_multiple_files = true;
2625
option java_outer_classname = "MonitoredResourceProto";

‎google/api/policy.proto‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package google.api;
1818

1919
import "google/protobuf/descriptor.proto";
2020

21-
option cc_enable_arenas = true;
2221
option go_package = "google.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig";
2322
option java_multiple_files = true;
2423
option java_outer_classname = "PolicyProto";

‎google/api/resource.proto‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package google.api;
1818

1919
import "google/protobuf/descriptor.proto";
2020

21-
option cc_enable_arenas = true;
2221
option go_package = "google.golang.org/genproto/googleapis/api/annotations;annotations";
2322
option java_multiple_files = true;
2423
option java_outer_classname = "ResourceProto";

‎google/api/routing.proto‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ extend google.protobuf.MethodOptions {
6262
// The routing header consists of one or multiple key-value pairs. Every key
6363
// and value must be percent-encoded, and joined together in the format of
6464
// `key1=value1&key2=value2`.
65-
// In the examples below I am skipping the percent-encoding for readablity.
65+
// The examples below skip the percent-encoding for readability.
6666
//
6767
// Example 1
6868
//

‎google/api/visibility.proto‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ package google.api;
1818

1919
import "google/protobuf/descriptor.proto";
2020

21-
option cc_enable_arenas = true;
2221
option go_package = "google.golang.org/genproto/googleapis/api/visibility;visibility";
2322
option java_multiple_files = true;
2423
option java_outer_classname = "VisibilityProto";

0 commit comments

Comments
 (0)