Skip to content

Commit

Permalink
feat: add new deliver targets and drop causes for Private Service Con…
Browse files Browse the repository at this point in the history
…nect (#195)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 460906802

Source-Link: googleapis/googleapis@fdb523d

Source-Link: googleapis/googleapis-gen@c70c0dc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzcwYzBkYzFmNmQ5NzA0MWFkMjU4M2Y4NWZhMjA2ODMzY2UwNjk0OSJ9

feat: add fields to support Cloud functions
PiperOrigin-RevId: 460906720

Source-Link: googleapis/googleapis@6f933fe

Source-Link: googleapis/googleapis-gen@6726a0e
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjcyNmEwZTgzYzY5NDBhNjc5YzU4OTM1ODAzYWNlZDY5NGVjMmUzYyJ9

docs: update several comments
PiperOrigin-RevId: 460906639

Source-Link: googleapis/googleapis@b84cdd8

Source-Link: googleapis/googleapis-gen@a3c85bb
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYTNjODViYjQyMzE5YTRkMmQ2YjVmYjRjMTkyMDg1ZWM0ZWZjN2M3MCJ9

feat: add destination egress location field to the probing details
PiperOrigin-RevId: 460906574

Source-Link: googleapis/googleapis@3f2a998

Source-Link: googleapis/googleapis-gen@f030627
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjAzMDYyN2Q4ZjVkZDgwN2NlMmE0MjY0YWRkOTU5MjQ2YTZiZjAzYiJ9

feat: add new abort cause to the abort info
PiperOrigin-RevId: 460906411

Source-Link: googleapis/googleapis@d99bd0c

Source-Link: googleapis/googleapis-gen@84f20ff
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODRmMjBmZmU4ZDZlYmJmMGQxNjBhNGE5ODVjMjRhNDI5ODdiYTU4ZSJ9

feat: add source telemetry agent URI to the endpoint info
PiperOrigin-RevId: 460906095

Source-Link: googleapis/googleapis@c6dddef

Source-Link: googleapis/googleapis-gen@b764ffe
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjc2NGZmZWNhZGMxNzBkZTgzOTM5ZjU5OTUwZTdhMGZhMzliZjdlNyJ9

feat: add new next hop type to the route info
PiperOrigin-RevId: 460906025

Source-Link: googleapis/googleapis@2fc4a7e

Source-Link: googleapis/googleapis-gen@5def6b6
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWRlZjZiNmY4Y2RmNmI4NDE3YzNiODAxNWFmNTJkNmJjNTdmYjdjNiJ9

feat: add new abort cause and new route next hop type
PiperOrigin-RevId: 460402186

Source-Link: googleapis/googleapis@5813dcf

Source-Link: googleapis/googleapis-gen@c0d4294
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYzBkNDI5NGI4ZDZhNTU3ODVmMGRkMjU2OWNhNzQwZTE3ZWI2MmZiZSJ9
  • Loading branch information
gcf-owl-bot[bot] committed Jul 18, 2022
1 parent 9a9e2c7 commit c36b19c
Show file tree
Hide file tree
Showing 55 changed files with 6,497 additions and 606 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,16 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* <code>MISMATCHED_DESTINATION_NETWORK = 14;</code>
*/
MISMATCHED_DESTINATION_NETWORK(14),
/**
*
*
* <pre>
* Aborted because the test scenario is not supported.
* </pre>
*
* <code>UNSUPPORTED = 15;</code>
*/
UNSUPPORTED(15),
UNRECOGNIZED(-1),
;

Expand Down Expand Up @@ -479,6 +489,16 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* <code>MISMATCHED_DESTINATION_NETWORK = 14;</code>
*/
public static final int MISMATCHED_DESTINATION_NETWORK_VALUE = 14;
/**
*
*
* <pre>
* Aborted because the test scenario is not supported.
* </pre>
*
* <code>UNSUPPORTED = 15;</code>
*/
public static final int UNSUPPORTED_VALUE = 15;

public final int getNumber() {
if (this == UNRECOGNIZED) {
Expand Down Expand Up @@ -534,6 +554,8 @@ public static Cause forNumber(int value) {
return DESTINATION_ENDPOINT_NOT_FOUND;
case 14:
return MISMATCHED_DESTINATION_NETWORK;
case 15:
return UNSUPPORTED;
default:
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* <pre>
* Instance with only an internal IP address tries to access external hosts,
* but Cloud NAT is not enabled in the subnet, unless special configurations
* on a VM allow this connection. For more details, see [Special
* configurations for VM
* instances](https://cloud.google.com/vpc/docs/special-configurations).
* on a VM allow this connection.
* </pre>
*
* <code>NO_EXTERNAL_ADDRESS = 9;</code>
Expand Down Expand Up @@ -486,9 +484,7 @@ public enum Cause implements com.google.protobuf.ProtocolMessageEnum {
* <pre>
* Instance with only an internal IP address tries to access external hosts,
* but Cloud NAT is not enabled in the subnet, unless special configurations
* on a VM allow this connection. For more details, see [Special
* configurations for VM
* instances](https://cloud.google.com/vpc/docs/special-configurations).
* on a VM allow this connection.
* </pre>
*
* <code>NO_EXTERNAL_ADDRESS = 9;</code>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,84 +72,85 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "hability.proto\022!google.cloud.networkmana"
+ "gement.v1\032\034google/api/annotations.proto\032"
+ "\027google/api/client.proto\032\037google/api/fie"
+ "ld_behavior.proto\0329google/cloud/networkm"
+ "anagement/v1/connectivity_test.proto\032#go"
+ "ogle/longrunning/operations.proto\032 googl"
+ "e/protobuf/field_mask.proto\032\037google/prot"
+ "obuf/timestamp.proto\"|\n\034ListConnectivity"
+ "TestsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpag"
+ "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filt"
+ "er\030\004 \001(\t\022\020\n\010order_by\030\005 \001(\t\"\225\001\n\035ListConne"
+ "ctivityTestsResponse\022F\n\tresources\030\001 \003(\0132"
+ "3.google.cloud.networkmanagement.v1.Conn"
+ "ectivityTest\022\027\n\017next_page_token\030\002 \001(\t\022\023\n"
+ "\013unreachable\030\003 \003(\t\"/\n\032GetConnectivityTes"
+ "tRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\226\001\n\035CreateCo"
+ "nnectivityTestRequest\022\023\n\006parent\030\001 \001(\tB\003\340"
+ "A\002\022\024\n\007test_id\030\002 \001(\tB\003\340A\002\022J\n\010resource\030\003 \001"
+ "(\01323.google.cloud.networkmanagement.v1.C"
+ "onnectivityTestB\003\340A\002\"\241\001\n\035UpdateConnectiv"
+ "ityTestRequest\0224\n\013update_mask\030\001 \001(\0132\032.go"
+ "ogle.protobuf.FieldMaskB\003\340A\002\022J\n\010resource"
+ "\030\002 \001(\01323.google.cloud.networkmanagement."
+ "v1.ConnectivityTestB\003\340A\002\"2\n\035DeleteConnec"
+ "tivityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034"
+ "RerunConnectivityTestRequest\022\021\n\004name\030\001 \001"
+ "(\tB\003\340A\002\"\326\001\n\021OperationMetadata\022/\n\013create_"
+ "time\030\001 \001(\0132\032.google.protobuf.Timestamp\022,"
+ "\n\010end_time\030\002 \001(\0132\032.google.protobuf.Times"
+ "tamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rst"
+ "atus_detail\030\005 \001(\t\022\030\n\020cancel_requested\030\006 "
+ "\001(\010\022\023\n\013api_version\030\007 \001(\t2\226\r\n\023Reachabilit"
+ "yService\022\347\001\n\025ListConnectivityTests\022?.goo"
+ "gle.cloud.networkmanagement.v1.ListConne"
+ "ctivityTestsRequest\032@.google.cloud.netwo"
+ "rkmanagement.v1.ListConnectivityTestsRes"
+ "ponse\"K\202\323\344\223\002<\022:/v1/{parent=projects/*/lo"
+ "cations/global}/connectivityTests\332A\006pare"
+ "nt\022\324\001\n\023GetConnectivityTest\022=.google.clou"
+ "d.networkmanagement.v1.GetConnectivityTe"
+ "stRequest\0323.google.cloud.networkmanageme"
+ "nt.v1.ConnectivityTest\"I\202\323\344\223\002<\022:/v1/{nam"
+ "e=projects/*/locations/global/connectivi"
+ "tyTests/*}\332A\004name\022\254\002\n\026CreateConnectivity"
+ "Test\022@.google.cloud.networkmanagement.v1"
+ ".CreateConnectivityTestRequest\032\035.google."
+ "longrunning.Operation\"\260\001\202\323\344\223\002F\":/v1/{par"
+ "ent=projects/*/locations/global}/connect"
+ "ivityTests:\010resource\332A\027parent,test_id,re"
+ "source\312AG\n2google.cloud.networkmanagemen"
+ "t.v1.ConnectivityTest\022\021OperationMetadata"
+ "\022\262\002\n\026UpdateConnectivityTest\022@.google.clo"
+ "ud.networkmanagement.v1.UpdateConnectivi"
+ "tyTestRequest\032\035.google.longrunning.Opera"
+ "tion\"\266\001\202\323\344\223\002O2C/v1/{resource.name=projec"
+ "ld_behavior.proto\032\031google/api/resource.p"
+ "roto\0329google/cloud/networkmanagement/v1/"
+ "connectivity_test.proto\032#google/longrunn"
+ "ing/operations.proto\032 google/protobuf/fi"
+ "eld_mask.proto\032\037google/protobuf/timestam"
+ "p.proto\"|\n\034ListConnectivityTestsRequest\022"
+ "\023\n\006parent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022"
+ "\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030\004 \001(\t\022\020\n\010o"
+ "rder_by\030\005 \001(\t\"\225\001\n\035ListConnectivityTestsR"
+ "esponse\022F\n\tresources\030\001 \003(\01323.google.clou"
+ "d.networkmanagement.v1.ConnectivityTest\022"
+ "\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unreachable\030"
+ "\003 \003(\t\"/\n\032GetConnectivityTestRequest\022\021\n\004n"
+ "ame\030\001 \001(\tB\003\340A\002\"\226\001\n\035CreateConnectivityTes"
+ "tRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022\024\n\007test_id"
+ "\030\002 \001(\tB\003\340A\002\022J\n\010resource\030\003 \001(\01323.google.c"
+ "loud.networkmanagement.v1.ConnectivityTe"
+ "stB\003\340A\002\"\241\001\n\035UpdateConnectivityTestReques"
+ "t\0224\n\013update_mask\030\001 \001(\0132\032.google.protobuf"
+ ".FieldMaskB\003\340A\002\022J\n\010resource\030\002 \001(\01323.goog"
+ "le.cloud.networkmanagement.v1.Connectivi"
+ "tyTestB\003\340A\002\"2\n\035DeleteConnectivityTestReq"
+ "uest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"1\n\034RerunConnecti"
+ "vityTestRequest\022\021\n\004name\030\001 \001(\tB\003\340A\002\"\326\001\n\021O"
+ "perationMetadata\022/\n\013create_time\030\001 \001(\0132\032."
+ "google.protobuf.Timestamp\022,\n\010end_time\030\002 "
+ "\001(\0132\032.google.protobuf.Timestamp\022\016\n\006targe"
+ "t\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detail\030\005"
+ " \001(\t\022\030\n\020cancel_requested\030\006 \001(\010\022\023\n\013api_ve"
+ "rsion\030\007 \001(\t2\226\r\n\023ReachabilityService\022\347\001\n\025"
+ "ListConnectivityTests\022?.google.cloud.net"
+ "workmanagement.v1.ListConnectivityTestsR"
+ "equest\032@.google.cloud.networkmanagement."
+ "v1.ListConnectivityTestsResponse\"K\202\323\344\223\002<"
+ "\022:/v1/{parent=projects/*/locations/globa"
+ "l}/connectivityTests\332A\006parent\022\324\001\n\023GetCon"
+ "nectivityTest\022=.google.cloud.networkmana"
+ "gement.v1.GetConnectivityTestRequest\0323.g"
+ "oogle.cloud.networkmanagement.v1.Connect"
+ "ivityTest\"I\202\323\344\223\002<\022:/v1/{name=projects/*/"
+ "locations/global/connectivityTests/*}\332A\004"
+ "name\022\254\002\n\026CreateConnectivityTest\022@.google"
+ ".cloud.networkmanagement.v1.CreateConnec"
+ "tivityTestRequest\032\035.google.longrunning.O"
+ "peration\"\260\001\202\323\344\223\002F\":/v1/{parent=projects/"
+ "*/locations/global}/connectivityTests:\010r"
+ "esource\332A\027parent,test_id,resource\312AG\n2go"
+ "ogle.cloud.networkmanagement.v1.Connecti"
+ "vityTest\022\021OperationMetadata\022\262\002\n\026UpdateCo"
+ "nnectivityTest\022@.google.cloud.networkman"
+ "agement.v1.UpdateConnectivityTestRequest"
+ "\032\035.google.longrunning.Operation\"\266\001\202\323\344\223\002O"
+ "2C/v1/{resource.name=projects/*/location"
+ "s/global/connectivityTests/*}:\010resource\332"
+ "A\024update_mask,resource\312AG\n2google.cloud."
+ "networkmanagement.v1.ConnectivityTest\022\021O"
+ "perationMetadata\022\217\002\n\025RerunConnectivityTe"
+ "st\022?.google.cloud.networkmanagement.v1.R"
+ "erunConnectivityTestRequest\032\035.google.lon"
+ "grunning.Operation\"\225\001\202\323\344\223\002E\"@/v1/{name=p"
+ "rojects/*/locations/global/connectivityT"
+ "ests/*}:rerun:\001*\312AG\n2google.cloud.networ"
+ "kmanagement.v1.ConnectivityTest\022\021Operati"
+ "onMetadata\022\361\001\n\026DeleteConnectivityTest\022@."
+ "google.cloud.networkmanagement.v1.Delete"
+ "ConnectivityTestRequest\032\035.google.longrun"
+ "ning.Operation\"v\202\323\344\223\002<*:/v1/{name=projec"
+ "ts/*/locations/global/connectivityTests/"
+ "*}:\010resource\332A\024update_mask,resource\312AG\n2"
+ "google.cloud.networkmanagement.v1.Connec"
+ "tivityTest\022\021OperationMetadata\022\217\002\n\025RerunC"
+ "onnectivityTest\022?.google.cloud.networkma"
+ "nagement.v1.RerunConnectivityTestRequest"
+ "\032\035.google.longrunning.Operation\"\225\001\202\323\344\223\002E"
+ "\"@/v1/{name=projects/*/locations/global/"
+ "connectivityTests/*}:rerun:\001*\312AG\n2google"
+ ".cloud.networkmanagement.v1.Connectivity"
+ "Test\022\021OperationMetadata\022\361\001\n\026DeleteConnec"
+ "tivityTest\022@.google.cloud.networkmanagem"
+ "ent.v1.DeleteConnectivityTestRequest\032\035.g"
+ "oogle.longrunning.Operation\"v\202\323\344\223\002<*:/v1"
+ "/{name=projects/*/locations/global/conne"
+ "ctivityTests/*}\332A\004name\312A*\n\025google.protob"
+ "uf.Empty\022\021OperationMetadata\032T\312A networkm"
+ "anagement.googleapis.com\322A.https://www.g"
+ "oogleapis.com/auth/cloud-platformB\206\002\n%co"
+ "m.google.cloud.networkmanagement.v1B\030Rea"
+ "chabilityServiceProtoP\001ZRgoogle.golang.o"
+ "rg/genproto/googleapis/cloud/networkmana"
+ "gement/v1;networkmanagement\252\002!Google.Clo"
+ "ud.NetworkManagement.V1\312\002!Google\\Cloud\\N"
+ "etworkManagement\\V1\352\002$Google::Cloud::Net"
+ "workManagement::V1b\006proto3"
+ "*}\332A\004name\312A*\n\025google.protobuf.Empty\022\021Ope"
+ "rationMetadata\032T\312A networkmanagement.goo"
+ "gleapis.com\322A.https://www.googleapis.com"
+ "/auth/cloud-platformB\206\002\n%com.google.clou"
+ "d.networkmanagement.v1B\030ReachabilityServ"
+ "iceProtoP\001ZRgoogle.golang.org/genproto/g"
+ "oogleapis/cloud/networkmanagement/v1;net"
+ "workmanagement\252\002!Google.Cloud.NetworkMan"
+ "agement.V1\312\002!Google\\Cloud\\NetworkManagem"
+ "ent\\V1\352\002$Google::Cloud::NetworkManagemen"
+ "t::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand All @@ -158,6 +159,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.api.ClientProto.getDescriptor(),
com.google.api.FieldBehaviorProto.getDescriptor(),
com.google.api.ResourceProto.getDescriptor(),
com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor(),
com.google.longrunning.OperationsProto.getDescriptor(),
com.google.protobuf.FieldMaskProto.getDescriptor(),
Expand Down Expand Up @@ -246,6 +248,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
com.google.api.AnnotationsProto.getDescriptor();
com.google.api.ClientProto.getDescriptor();
com.google.api.FieldBehaviorProto.getDescriptor();
com.google.api.ResourceProto.getDescriptor();
com.google.cloud.networkmanagement.v1.TestOuterClass.getDescriptor();
com.google.longrunning.OperationsProto.getDescriptor();
com.google.protobuf.FieldMaskProto.getDescriptor();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,18 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
* <code>NEXT_HOP_ILB = 10;</code>
*/
NEXT_HOP_ILB(10),
/**
*
*
* <pre>
* Next hop is a
* [router appliance
* instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
* </pre>
*
* <code>NEXT_HOP_ROUTER_APPLIANCE = 11;</code>
*/
NEXT_HOP_ROUTER_APPLIANCE(11),
UNRECOGNIZED(-1),
;

Expand Down Expand Up @@ -669,6 +681,18 @@ public enum NextHopType implements com.google.protobuf.ProtocolMessageEnum {
* <code>NEXT_HOP_ILB = 10;</code>
*/
public static final int NEXT_HOP_ILB_VALUE = 10;
/**
*
*
* <pre>
* Next hop is a
* [router appliance
* instance](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/ra-overview).
* </pre>
*
* <code>NEXT_HOP_ROUTER_APPLIANCE = 11;</code>
*/
public static final int NEXT_HOP_ROUTER_APPLIANCE_VALUE = 11;

public final int getNumber() {
if (this == UNRECOGNIZED) {
Expand Down Expand Up @@ -716,6 +740,8 @@ public static NextHopType forNumber(int value) {
return NEXT_HOP_BLACKHOLE;
case 10:
return NEXT_HOP_ILB;
case 11:
return NEXT_HOP_ROUTER_APPLIANCE;
default:
return null;
}
Expand Down

0 comments on commit c36b19c

Please sign in to comment.