Skip to content

Commit

Permalink
feat: [common-protos] add audit_context.proto Bazel targets (#1493)
Browse files Browse the repository at this point in the history
* feat: added overrides_by_request_protocol to backend.proto
feat: added field proto_reference_documentation_uri to proto reference documentation.
feat: added SERVICE_NOT_VISIBLE and GCP_SUSPENDED into error reason

PiperOrigin-RevId: 517437454

Source-Link: googleapis/googleapis@ecb1cf0

Source-Link: https://github.com/googleapis/googleapis-gen/commit/8731b8fd2044a93c32309d633dfc2e836bf13cbf
Copy-Tag: eyJwIjoiamF2YS1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiI4NzMxYjhmZDIwNDRhOTNjMzIzMDlkNjMzZGZjMmU4MzZiZjEzY2JmIn0=

chore: regenerate API index

Source-Link: googleapis/googleapis@40a03de

Source-Link: https://github.com/googleapis/googleapis-gen/commit/6c17328e9e1c2b58e9600722e8fc8cbe84600d7f
Copy-Tag: eyJwIjoiamF2YS1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiI2YzE3MzI4ZTllMWMyYjU4ZTk2MDA3MjJlOGZjOGNiZTg0NjAwZDdmIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* feat: add audit_context.proto Bazel targets

PiperOrigin-RevId: 519036970

Source-Link: googleapis/googleapis@c454580

Source-Link: https://github.com/googleapis/googleapis-gen/commit/2fc6ba766b36975078e79155038c79196acb4a3f
Copy-Tag: eyJwIjoiamF2YS1jb21tb24tcHJvdG9zLy5Pd2xCb3QueWFtbCIsImgiOiIyZmM2YmE3NjZiMzY5NzUwNzhlNzkxNTUwMzhjNzkxOTZhY2I0YTNmIn0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Mar 27, 2023
1 parent 5173014 commit 408dba8
Show file tree
Hide file tree
Showing 72 changed files with 3,427 additions and 654 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand All @@ -105,7 +106,8 @@ public java.lang.String getSelector() {
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand Down Expand Up @@ -732,7 +734,8 @@ public Builder mergeFrom(
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand All @@ -755,7 +758,8 @@ public java.lang.String getSelector() {
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand All @@ -778,7 +782,8 @@ public com.google.protobuf.ByteString getSelectorBytes() {
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand All @@ -800,7 +805,8 @@ public Builder setSelector(java.lang.String value) {
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand All @@ -818,7 +824,8 @@ public Builder clearSelector() {
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ public interface AuthenticationRuleOrBuilder
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand All @@ -41,7 +42,8 @@ public interface AuthenticationRuleOrBuilder
*
* <pre>
* Selects the methods to which this rule applies.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
* Refer to [selector][google.api.DocumentationRule.selector] for syntax
* details.
* </pre>
*
* <code>string selector = 1;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_api_BackendRule_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_api_BackendRule_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_fieldAccessorTable;

public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
Expand All @@ -46,19 +50,24 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
java.lang.String[] descriptorData = {
"\n\030google/api/backend.proto\022\ngoogle.api\"1"
+ "\n\007Backend\022&\n\005rules\030\001 \003(\0132\027.google.api.Ba"
+ "ckendRule\"\366\002\n\013BackendRule\022\020\n\010selector\030\001 "
+ "ckendRule\"\262\004\n\013BackendRule\022\020\n\010selector\030\001 "
+ "\001(\t\022\017\n\007address\030\002 \001(\t\022\020\n\010deadline\030\003 \001(\001\022\030"
+ "\n\014min_deadline\030\004 \001(\001B\002\030\001\022\032\n\022operation_de"
+ "adline\030\005 \001(\001\022A\n\020path_translation\030\006 \001(\0162\'"
+ ".google.api.BackendRule.PathTranslation\022"
+ "\026\n\014jwt_audience\030\007 \001(\tH\000\022\026\n\014disable_auth\030"
+ "\010 \001(\010H\000\022\020\n\010protocol\030\t \001(\t\"e\n\017PathTransla"
+ "tion\022 \n\034PATH_TRANSLATION_UNSPECIFIED\020\000\022\024"
+ "\n\020CONSTANT_ADDRESS\020\001\022\032\n\026APPEND_PATH_TO_A"
+ "DDRESS\020\002B\020\n\016authenticationBn\n\016com.google"
+ ".apiB\014BackendProtoP\001ZEgoogle.golang.org/"
+ "genproto/googleapis/api/serviceconfig;se"
+ "rviceconfig\242\002\004GAPIb\006proto3"
+ "\010 \001(\010H\000\022\020\n\010protocol\030\t \001(\t\022^\n\035overrides_b"
+ "y_request_protocol\030\n \003(\01327.google.api.Ba"
+ "ckendRule.OverridesByRequestProtocolEntr"
+ "y\032Z\n\037OverridesByRequestProtocolEntry\022\013\n\003"
+ "key\030\001 \001(\t\022&\n\005value\030\002 \001(\0132\027.google.api.Ba"
+ "ckendRule:\0028\001\"e\n\017PathTranslation\022 \n\034PATH"
+ "_TRANSLATION_UNSPECIFIED\020\000\022\024\n\020CONSTANT_A"
+ "DDRESS\020\001\022\032\n\026APPEND_PATH_TO_ADDRESS\020\002B\020\n\016"
+ "authenticationBn\n\016com.google.apiB\014Backen"
+ "dProtoP\001ZEgoogle.golang.org/genproto/goo"
+ "gleapis/api/serviceconfig;serviceconfig\242"
+ "\002\004GAPIb\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand All @@ -84,8 +93,17 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"JwtAudience",
"DisableAuth",
"Protocol",
"OverridesByRequestProtocol",
"Authentication",
});
internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor =
internal_static_google_api_BackendRule_descriptor.getNestedTypes().get(0);
internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_api_BackendRule_OverridesByRequestProtocolEntry_descriptor,
new java.lang.String[] {
"Key", "Value",
});
}

// @@protoc_insertion_point(outer_class_scope)
Expand Down
Loading

0 comments on commit 408dba8

Please sign in to comment.