Skip to content

Commit

Permalink
feat: Adding private connection CRUD, updating management subnets and…
Browse files Browse the repository at this point in the history
… time-limited PC features

PiperOrigin-RevId: 538382998

Source-Link: googleapis/googleapis@e51050b

Source-Link: https://github.com/googleapis/googleapis-gen/commit/3bbb92be95f03a8df4e5747eeec924752392c396
Copy-Tag: eyJwIjoiamF2YS12bXdhcmVlbmdpbmUvLk93bEJvdC55YW1sIiwiaCI6IjNiYmI5MmJlOTVmMDNhOGRmNGU1NzQ3ZWVlYzkyNDc1MjM5MmMzOTYifQ==
  • Loading branch information
gcf-owl-bot[bot] committed Jun 16, 2023
1 parent 1403745 commit d2e6412
Show file tree
Hide file tree
Showing 358 changed files with 43,627 additions and 29,075 deletions.

This file was deleted.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
import static com.google.cloud.vmwareengine.v1.VmwareEngineClient.ListNetworkPoliciesPagedResponse;
import static com.google.cloud.vmwareengine.v1.VmwareEngineClient.ListNodeTypesPagedResponse;
import static com.google.cloud.vmwareengine.v1.VmwareEngineClient.ListPrivateCloudsPagedResponse;
import static com.google.cloud.vmwareengine.v1.VmwareEngineClient.ListPrivateConnectionPeeringRoutesPagedResponse;
import static com.google.cloud.vmwareengine.v1.VmwareEngineClient.ListPrivateConnectionsPagedResponse;
import static com.google.cloud.vmwareengine.v1.VmwareEngineClient.ListSubnetsPagedResponse;
import static com.google.cloud.vmwareengine.v1.VmwareEngineClient.ListVmwareEngineNetworksPagedResponse;

Expand All @@ -36,6 +38,7 @@
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.OperationCallSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.cloud.location.GetLocationRequest;
Expand Down Expand Up @@ -199,6 +202,22 @@ public UnaryCallSettings<DeleteClusterRequest, Operation> deleteClusterSettings(
return ((VmwareEngineStubSettings) getStubSettings()).listSubnetsSettings();
}

/** Returns the object with the settings used for calls to getSubnet. */
public UnaryCallSettings<GetSubnetRequest, Subnet> getSubnetSettings() {
return ((VmwareEngineStubSettings) getStubSettings()).getSubnetSettings();
}

/** Returns the object with the settings used for calls to updateSubnet. */
public UnaryCallSettings<UpdateSubnetRequest, Operation> updateSubnetSettings() {
return ((VmwareEngineStubSettings) getStubSettings()).updateSubnetSettings();
}

/** Returns the object with the settings used for calls to updateSubnet. */
public OperationCallSettings<UpdateSubnetRequest, Subnet, OperationMetadata>
updateSubnetOperationSettings() {
return ((VmwareEngineStubSettings) getStubSettings()).updateSubnetOperationSettings();
}

/** Returns the object with the settings used for calls to listNodeTypes. */
public PagedCallSettings<ListNodeTypesRequest, ListNodeTypesResponse, ListNodeTypesPagedResponse>
listNodeTypesSettings() {
Expand Down Expand Up @@ -373,6 +392,70 @@ public UnaryCallSettings<DeleteNetworkPolicyRequest, Operation> deleteNetworkPol
return ((VmwareEngineStubSettings) getStubSettings()).listVmwareEngineNetworksSettings();
}

/** Returns the object with the settings used for calls to createPrivateConnection. */
public UnaryCallSettings<CreatePrivateConnectionRequest, Operation>
createPrivateConnectionSettings() {
return ((VmwareEngineStubSettings) getStubSettings()).createPrivateConnectionSettings();
}

/** Returns the object with the settings used for calls to createPrivateConnection. */
public OperationCallSettings<CreatePrivateConnectionRequest, PrivateConnection, OperationMetadata>
createPrivateConnectionOperationSettings() {
return ((VmwareEngineStubSettings) getStubSettings())
.createPrivateConnectionOperationSettings();
}

/** Returns the object with the settings used for calls to getPrivateConnection. */
public UnaryCallSettings<GetPrivateConnectionRequest, PrivateConnection>
getPrivateConnectionSettings() {
return ((VmwareEngineStubSettings) getStubSettings()).getPrivateConnectionSettings();
}

/** Returns the object with the settings used for calls to listPrivateConnections. */
public PagedCallSettings<
ListPrivateConnectionsRequest,
ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return ((VmwareEngineStubSettings) getStubSettings()).listPrivateConnectionsSettings();
}

/** Returns the object with the settings used for calls to updatePrivateConnection. */
public UnaryCallSettings<UpdatePrivateConnectionRequest, Operation>
updatePrivateConnectionSettings() {
return ((VmwareEngineStubSettings) getStubSettings()).updatePrivateConnectionSettings();
}

/** Returns the object with the settings used for calls to updatePrivateConnection. */
public OperationCallSettings<UpdatePrivateConnectionRequest, PrivateConnection, OperationMetadata>
updatePrivateConnectionOperationSettings() {
return ((VmwareEngineStubSettings) getStubSettings())
.updatePrivateConnectionOperationSettings();
}

/** Returns the object with the settings used for calls to deletePrivateConnection. */
public UnaryCallSettings<DeletePrivateConnectionRequest, Operation>
deletePrivateConnectionSettings() {
return ((VmwareEngineStubSettings) getStubSettings()).deletePrivateConnectionSettings();
}

/** Returns the object with the settings used for calls to deletePrivateConnection. */
public OperationCallSettings<DeletePrivateConnectionRequest, Empty, OperationMetadata>
deletePrivateConnectionOperationSettings() {
return ((VmwareEngineStubSettings) getStubSettings())
.deletePrivateConnectionOperationSettings();
}

/** Returns the object with the settings used for calls to listPrivateConnectionPeeringRoutes. */
public PagedCallSettings<
ListPrivateConnectionPeeringRoutesRequest,
ListPrivateConnectionPeeringRoutesResponse,
ListPrivateConnectionPeeringRoutesPagedResponse>
listPrivateConnectionPeeringRoutesSettings() {
return ((VmwareEngineStubSettings) getStubSettings())
.listPrivateConnectionPeeringRoutesSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
Expand Down Expand Up @@ -629,6 +712,22 @@ public UnaryCallSettings.Builder<DeleteClusterRequest, Operation> deleteClusterS
return getStubSettingsBuilder().listSubnetsSettings();
}

/** Returns the builder for the settings used for calls to getSubnet. */
public UnaryCallSettings.Builder<GetSubnetRequest, Subnet> getSubnetSettings() {
return getStubSettingsBuilder().getSubnetSettings();
}

/** Returns the builder for the settings used for calls to updateSubnet. */
public UnaryCallSettings.Builder<UpdateSubnetRequest, Operation> updateSubnetSettings() {
return getStubSettingsBuilder().updateSubnetSettings();
}

/** Returns the builder for the settings used for calls to updateSubnet. */
public OperationCallSettings.Builder<UpdateSubnetRequest, Subnet, OperationMetadata>
updateSubnetOperationSettings() {
return getStubSettingsBuilder().updateSubnetOperationSettings();
}

/** Returns the builder for the settings used for calls to listNodeTypes. */
public PagedCallSettings.Builder<
ListNodeTypesRequest, ListNodeTypesResponse, ListNodeTypesPagedResponse>
Expand Down Expand Up @@ -813,6 +912,70 @@ public UnaryCallSettings.Builder<GetNodeTypeRequest, NodeType> getNodeTypeSettin
return getStubSettingsBuilder().listVmwareEngineNetworksSettings();
}

/** Returns the builder for the settings used for calls to createPrivateConnection. */
public UnaryCallSettings.Builder<CreatePrivateConnectionRequest, Operation>
createPrivateConnectionSettings() {
return getStubSettingsBuilder().createPrivateConnectionSettings();
}

/** Returns the builder for the settings used for calls to createPrivateConnection. */
public OperationCallSettings.Builder<
CreatePrivateConnectionRequest, PrivateConnection, OperationMetadata>
createPrivateConnectionOperationSettings() {
return getStubSettingsBuilder().createPrivateConnectionOperationSettings();
}

/** Returns the builder for the settings used for calls to getPrivateConnection. */
public UnaryCallSettings.Builder<GetPrivateConnectionRequest, PrivateConnection>
getPrivateConnectionSettings() {
return getStubSettingsBuilder().getPrivateConnectionSettings();
}

/** Returns the builder for the settings used for calls to listPrivateConnections. */
public PagedCallSettings.Builder<
ListPrivateConnectionsRequest,
ListPrivateConnectionsResponse,
ListPrivateConnectionsPagedResponse>
listPrivateConnectionsSettings() {
return getStubSettingsBuilder().listPrivateConnectionsSettings();
}

/** Returns the builder for the settings used for calls to updatePrivateConnection. */
public UnaryCallSettings.Builder<UpdatePrivateConnectionRequest, Operation>
updatePrivateConnectionSettings() {
return getStubSettingsBuilder().updatePrivateConnectionSettings();
}

/** Returns the builder for the settings used for calls to updatePrivateConnection. */
public OperationCallSettings.Builder<
UpdatePrivateConnectionRequest, PrivateConnection, OperationMetadata>
updatePrivateConnectionOperationSettings() {
return getStubSettingsBuilder().updatePrivateConnectionOperationSettings();
}

/** Returns the builder for the settings used for calls to deletePrivateConnection. */
public UnaryCallSettings.Builder<DeletePrivateConnectionRequest, Operation>
deletePrivateConnectionSettings() {
return getStubSettingsBuilder().deletePrivateConnectionSettings();
}

/** Returns the builder for the settings used for calls to deletePrivateConnection. */
public OperationCallSettings.Builder<DeletePrivateConnectionRequest, Empty, OperationMetadata>
deletePrivateConnectionOperationSettings() {
return getStubSettingsBuilder().deletePrivateConnectionOperationSettings();
}

/**
* Returns the builder for the settings used for calls to listPrivateConnectionPeeringRoutes.
*/
public PagedCallSettings.Builder<
ListPrivateConnectionPeeringRoutesRequest,
ListPrivateConnectionPeeringRoutesResponse,
ListPrivateConnectionPeeringRoutesPagedResponse>
listPrivateConnectionPeeringRoutesSettings() {
return getStubSettingsBuilder().listPrivateConnectionPeeringRoutesSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
"CreatePrivateCloud": {
"methods": ["createPrivateCloudAsync", "createPrivateCloudAsync", "createPrivateCloudAsync", "createPrivateCloudOperationCallable", "createPrivateCloudCallable"]
},
"CreatePrivateConnection": {
"methods": ["createPrivateConnectionAsync", "createPrivateConnectionAsync", "createPrivateConnectionAsync", "createPrivateConnectionOperationCallable", "createPrivateConnectionCallable"]
},
"CreateVmwareEngineNetwork": {
"methods": ["createVmwareEngineNetworkAsync", "createVmwareEngineNetworkAsync", "createVmwareEngineNetworkAsync", "createVmwareEngineNetworkOperationCallable", "createVmwareEngineNetworkCallable"]
},
Expand All @@ -34,6 +37,9 @@
"DeletePrivateCloud": {
"methods": ["deletePrivateCloudAsync", "deletePrivateCloudAsync", "deletePrivateCloudAsync", "deletePrivateCloudOperationCallable", "deletePrivateCloudCallable"]
},
"DeletePrivateConnection": {
"methods": ["deletePrivateConnectionAsync", "deletePrivateConnectionAsync", "deletePrivateConnectionAsync", "deletePrivateConnectionOperationCallable", "deletePrivateConnectionCallable"]
},
"DeleteVmwareEngineNetwork": {
"methods": ["deleteVmwareEngineNetworkAsync", "deleteVmwareEngineNetworkAsync", "deleteVmwareEngineNetworkAsync", "deleteVmwareEngineNetworkOperationCallable", "deleteVmwareEngineNetworkCallable"]
},
Expand All @@ -58,6 +64,12 @@
"GetPrivateCloud": {
"methods": ["getPrivateCloud", "getPrivateCloud", "getPrivateCloud", "getPrivateCloudCallable"]
},
"GetPrivateConnection": {
"methods": ["getPrivateConnection", "getPrivateConnection", "getPrivateConnection", "getPrivateConnectionCallable"]
},
"GetSubnet": {
"methods": ["getSubnet", "getSubnet", "getSubnet", "getSubnetCallable"]
},
"GetVmwareEngineNetwork": {
"methods": ["getVmwareEngineNetwork", "getVmwareEngineNetwork", "getVmwareEngineNetwork", "getVmwareEngineNetworkCallable"]
},
Expand All @@ -79,6 +91,12 @@
"ListPrivateClouds": {
"methods": ["listPrivateClouds", "listPrivateClouds", "listPrivateClouds", "listPrivateCloudsPagedCallable", "listPrivateCloudsCallable"]
},
"ListPrivateConnectionPeeringRoutes": {
"methods": ["listPrivateConnectionPeeringRoutes", "listPrivateConnectionPeeringRoutes", "listPrivateConnectionPeeringRoutes", "listPrivateConnectionPeeringRoutesPagedCallable", "listPrivateConnectionPeeringRoutesCallable"]
},
"ListPrivateConnections": {
"methods": ["listPrivateConnections", "listPrivateConnections", "listPrivateConnections", "listPrivateConnectionsPagedCallable", "listPrivateConnectionsCallable"]
},
"ListSubnets": {
"methods": ["listSubnets", "listSubnets", "listSubnets", "listSubnetsPagedCallable", "listSubnetsCallable"]
},
Expand Down Expand Up @@ -115,6 +133,12 @@
"UpdatePrivateCloud": {
"methods": ["updatePrivateCloudAsync", "updatePrivateCloudAsync", "updatePrivateCloudOperationCallable", "updatePrivateCloudCallable"]
},
"UpdatePrivateConnection": {
"methods": ["updatePrivateConnectionAsync", "updatePrivateConnectionAsync", "updatePrivateConnectionOperationCallable", "updatePrivateConnectionCallable"]
},
"UpdateSubnet": {
"methods": ["updateSubnetAsync", "updateSubnetAsync", "updateSubnetOperationCallable", "updateSubnetCallable"]
},
"UpdateVmwareEngineNetwork": {
"methods": ["updateVmwareEngineNetworkAsync", "updateVmwareEngineNetworkAsync", "updateVmwareEngineNetworkOperationCallable", "updateVmwareEngineNetworkCallable"]
}
Expand Down
Loading

0 comments on commit d2e6412

Please sign in to comment.