Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [vmwareengine] Adding private connection CRUD, updating management subnets and time-limited PC features #9531

Merged
merged 2 commits into from
Jun 16, 2023
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
2 changes: 1 addition & 1 deletion java-vmwareengine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.16.0</version>
<version>26.17.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down

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 Down Expand Up @@ -199,6 +201,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 +391,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 +711,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 +911,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