Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

feat: add new deliver targets and drop causes for Private Service Connect #195

Merged
merged 13 commits into from
Jul 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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\[email protected]"
+ "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\[email protected]"
+ ".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\[email protected]"
+ "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\[email protected]."
+ "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\[email protected]"
+ ".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\[email protected]"
+ "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\[email protected]"
+ "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
Loading