Package com.google.cloud.vmwareengine.v1
Class VmwareEngineGrpc.VmwareEngineStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<VmwareEngineGrpc.VmwareEngineStub>
-
- com.google.cloud.vmwareengine.v1.VmwareEngineGrpc.VmwareEngineStub
-
- Enclosing class:
- VmwareEngineGrpc
public static final class VmwareEngineGrpc.VmwareEngineStub extends io.grpc.stub.AbstractAsyncStub<VmwareEngineGrpc.VmwareEngineStub>
A stub to allow clients to do asynchronous rpc calls to service VmwareEngine.VMwareEngine manages VMware's private clusters in the Cloud.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected VmwareEngineGrpc.VmwareEngineStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
createCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new cluster in a given private cloud.void
createHcxActivationKey(CreateHcxActivationKeyRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new HCX activation key in a given private cloud.void
createNetworkPolicy(CreateNetworkPolicyRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new network policy in a given VMware Engine network of a project and location (region).void
createPrivateCloud(CreatePrivateCloudRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new `PrivateCloud` resource in a given project and location.void
createPrivateConnection(CreatePrivateConnectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new private connection that can be used for accessing private Clouds.void
createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new VMware Engine network that can be used by a private cloud.void
deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a `Cluster` resource.void
deleteNetworkPolicy(DeleteNetworkPolicyRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a `NetworkPolicy` resource.void
deletePrivateCloud(DeletePrivateCloudRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Schedules a `PrivateCloud` resource for deletion.void
deletePrivateConnection(DeletePrivateConnectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a `PrivateConnection` resource.void
deleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a `VmwareEngineNetwork` resource.void
getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Retrieves a `Cluster` resource by its resource name.void
getHcxActivationKey(GetHcxActivationKeyRequest request, io.grpc.stub.StreamObserver<HcxActivationKey> responseObserver)
Retrieves a `HcxActivationKey` resource by its resource name.void
getNetworkPolicy(GetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<NetworkPolicy> responseObserver)
Retrieves a `NetworkPolicy` resource by its resource name.void
getNodeType(GetNodeTypeRequest request, io.grpc.stub.StreamObserver<NodeType> responseObserver)
Gets details of a single `NodeType`.void
getPrivateCloud(GetPrivateCloudRequest request, io.grpc.stub.StreamObserver<PrivateCloud> responseObserver)
Retrieves a `PrivateCloud` resource by its resource name.void
getPrivateConnection(GetPrivateConnectionRequest request, io.grpc.stub.StreamObserver<PrivateConnection> responseObserver)
Retrieves a `PrivateConnection` resource by its resource name.void
getSubnet(GetSubnetRequest request, io.grpc.stub.StreamObserver<Subnet> responseObserver)
Gets details of a single subnet.void
getVmwareEngineNetwork(GetVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<VmwareEngineNetwork> responseObserver)
Retrieves a `VmwareEngineNetwork` resource by its resource name.void
listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists `Cluster` resources in a given private cloud.void
listHcxActivationKeys(ListHcxActivationKeysRequest request, io.grpc.stub.StreamObserver<ListHcxActivationKeysResponse> responseObserver)
Lists `HcxActivationKey` resources in a given private cloud.void
listNetworkPolicies(ListNetworkPoliciesRequest request, io.grpc.stub.StreamObserver<ListNetworkPoliciesResponse> responseObserver)
Lists `NetworkPolicy` resources in a specified project and location.void
listNodeTypes(ListNodeTypesRequest request, io.grpc.stub.StreamObserver<ListNodeTypesResponse> responseObserver)
Lists node typesvoid
listPrivateClouds(ListPrivateCloudsRequest request, io.grpc.stub.StreamObserver<ListPrivateCloudsResponse> responseObserver)
Lists `PrivateCloud` resources in a given project and location.void
listPrivateConnectionPeeringRoutes(ListPrivateConnectionPeeringRoutesRequest request, io.grpc.stub.StreamObserver<ListPrivateConnectionPeeringRoutesResponse> responseObserver)
Lists the private connection routes exchanged over a peering connection.void
listPrivateConnections(ListPrivateConnectionsRequest request, io.grpc.stub.StreamObserver<ListPrivateConnectionsResponse> responseObserver)
Lists `PrivateConnection` resources in a given project and location.void
listSubnets(ListSubnetsRequest request, io.grpc.stub.StreamObserver<ListSubnetsResponse> responseObserver)
Lists subnets in a given private cloud.void
listVmwareEngineNetworks(ListVmwareEngineNetworksRequest request, io.grpc.stub.StreamObserver<ListVmwareEngineNetworksResponse> responseObserver)
Lists `VmwareEngineNetwork` resources in a given project and location.void
resetNsxCredentials(ResetNsxCredentialsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets credentials of the NSX appliance.void
resetVcenterCredentials(ResetVcenterCredentialsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets credentials of the Vcenter appliance.void
showNsxCredentials(ShowNsxCredentialsRequest request, io.grpc.stub.StreamObserver<Credentials> responseObserver)
Gets details of credentials for NSX appliance.void
showVcenterCredentials(ShowVcenterCredentialsRequest request, io.grpc.stub.StreamObserver<Credentials> responseObserver)
Gets details of credentials for Vcenter appliance.void
undeletePrivateCloud(UndeletePrivateCloudRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`.void
updateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a `Cluster` resource.void
updateNetworkPolicy(UpdateNetworkPolicyRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a `NetworkPolicy` resource.void
updatePrivateCloud(UpdatePrivateCloudRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a `PrivateCloud` resource.void
updatePrivateConnection(UpdatePrivateConnectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a `PrivateConnection` resource.void
updateSubnet(UpdateSubnetRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single subnet.void
updateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a VMware Engine network resource.
-
-
-
Method Detail
-
build
protected VmwareEngineGrpc.VmwareEngineStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<VmwareEngineGrpc.VmwareEngineStub>
-
listPrivateClouds
public void listPrivateClouds(ListPrivateCloudsRequest request, io.grpc.stub.StreamObserver<ListPrivateCloudsResponse> responseObserver)
Lists `PrivateCloud` resources in a given project and location.
-
getPrivateCloud
public void getPrivateCloud(GetPrivateCloudRequest request, io.grpc.stub.StreamObserver<PrivateCloud> responseObserver)
Retrieves a `PrivateCloud` resource by its resource name.
-
createPrivateCloud
public void createPrivateCloud(CreatePrivateCloudRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new `PrivateCloud` resource in a given project and location. Private clouds can only be created in zones, regional private clouds are not supported. Creating a private cloud also creates a [management cluster](https://cloud.google.com/vmware-engine/docs/concepts-vmware-components) for that private cloud.
-
updatePrivateCloud
public void updatePrivateCloud(UpdatePrivateCloudRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a `PrivateCloud` resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.
-
deletePrivateCloud
public void deletePrivateCloud(DeletePrivateCloudRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Schedules a `PrivateCloud` resource for deletion. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `expireTime` set to the time when deletion is final and can no longer be reversed. The delete operation is marked as done as soon as the `PrivateCloud` is successfully scheduled for deletion (this also applies when `delayHours` is set to zero), and the operation is not kept in pending state until `PrivateCloud` is purged. `PrivateCloud` can be restored using `UndeletePrivateCloud` method before the `expireTime` elapses. When `expireTime` is reached, deletion is final and all private cloud resources are irreversibly removed and billing stops. During the final removal process, `PrivateCloud.state` is set to `PURGING`. `PrivateCloud` can be polled using standard `GET` method for the whole period of deletion and purging. It will not be returned only when it is completely purged.
-
undeletePrivateCloud
public void undeletePrivateCloud(UndeletePrivateCloudRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Restores a private cloud that was previously scheduled for deletion by `DeletePrivateCloud`. A `PrivateCloud` resource scheduled for deletion has `PrivateCloud.state` set to `DELETED` and `PrivateCloud.expireTime` set to the time when deletion can no longer be reversed.
-
listClusters
public void listClusters(ListClustersRequest request, io.grpc.stub.StreamObserver<ListClustersResponse> responseObserver)
Lists `Cluster` resources in a given private cloud.
-
getCluster
public void getCluster(GetClusterRequest request, io.grpc.stub.StreamObserver<Cluster> responseObserver)
Retrieves a `Cluster` resource by its resource name.
-
createCluster
public void createCluster(CreateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new cluster in a given private cloud. Creating a new cluster provides additional nodes for use in the parent private cloud and requires sufficient [node quota](https://cloud.google.com/vmware-engine/quotas).
-
updateCluster
public void updateCluster(UpdateClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a `Cluster` resource. Only the following fields can be updated: `node_type_configs.*.node_count`. Only fields specified in `updateMask` are applied. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.
-
deleteCluster
public void deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a `Cluster` resource. To avoid unintended data loss, migrate or gracefully shut down any workloads running on the cluster before deletion. You cannot delete the management cluster of a private cloud using this method.
-
listSubnets
public void listSubnets(ListSubnetsRequest request, io.grpc.stub.StreamObserver<ListSubnetsResponse> responseObserver)
Lists subnets in a given private cloud.
-
getSubnet
public void getSubnet(GetSubnetRequest request, io.grpc.stub.StreamObserver<Subnet> responseObserver)
Gets details of a single subnet.
-
updateSubnet
public void updateSubnet(UpdateSubnetRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Updates the parameters of a single subnet. Only fields specified in `update_mask` are applied. *Note*: This API is synchronous and always returns a successful `google.longrunning.Operation` (LRO). The returned LRO will only have `done` and `response` fields.
-
listNodeTypes
public void listNodeTypes(ListNodeTypesRequest request, io.grpc.stub.StreamObserver<ListNodeTypesResponse> responseObserver)
Lists node types
-
getNodeType
public void getNodeType(GetNodeTypeRequest request, io.grpc.stub.StreamObserver<NodeType> responseObserver)
Gets details of a single `NodeType`.
-
showNsxCredentials
public void showNsxCredentials(ShowNsxCredentialsRequest request, io.grpc.stub.StreamObserver<Credentials> responseObserver)
Gets details of credentials for NSX appliance.
-
showVcenterCredentials
public void showVcenterCredentials(ShowVcenterCredentialsRequest request, io.grpc.stub.StreamObserver<Credentials> responseObserver)
Gets details of credentials for Vcenter appliance.
-
resetNsxCredentials
public void resetNsxCredentials(ResetNsxCredentialsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets credentials of the NSX appliance.
-
resetVcenterCredentials
public void resetVcenterCredentials(ResetVcenterCredentialsRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Resets credentials of the Vcenter appliance.
-
createHcxActivationKey
public void createHcxActivationKey(CreateHcxActivationKeyRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new HCX activation key in a given private cloud.
-
listHcxActivationKeys
public void listHcxActivationKeys(ListHcxActivationKeysRequest request, io.grpc.stub.StreamObserver<ListHcxActivationKeysResponse> responseObserver)
Lists `HcxActivationKey` resources in a given private cloud.
-
getHcxActivationKey
public void getHcxActivationKey(GetHcxActivationKeyRequest request, io.grpc.stub.StreamObserver<HcxActivationKey> responseObserver)
Retrieves a `HcxActivationKey` resource by its resource name.
-
getNetworkPolicy
public void getNetworkPolicy(GetNetworkPolicyRequest request, io.grpc.stub.StreamObserver<NetworkPolicy> responseObserver)
Retrieves a `NetworkPolicy` resource by its resource name.
-
listNetworkPolicies
public void listNetworkPolicies(ListNetworkPoliciesRequest request, io.grpc.stub.StreamObserver<ListNetworkPoliciesResponse> responseObserver)
Lists `NetworkPolicy` resources in a specified project and location.
-
createNetworkPolicy
public void createNetworkPolicy(CreateNetworkPolicyRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new network policy in a given VMware Engine network of a project and location (region). A new network policy cannot be created if another network policy already exists in the same scope.
-
updateNetworkPolicy
public void updateNetworkPolicy(UpdateNetworkPolicyRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a `NetworkPolicy` resource. Only the following fields can be updated: `internet_access`, `external_ip`, `edge_services_cidr`. Only fields specified in `updateMask` are applied. When updating a network policy, the external IP network service can only be disabled if there are no external IP addresses present in the scope of the policy. Also, a `NetworkService` cannot be updated when `NetworkService.state` is set to `RECONCILING`. During operation processing, the resource is temporarily in the `ACTIVE` state before the operation fully completes. For that period of time, you can't update the resource. Use the operation status to determine when the processing fully completes.
-
deleteNetworkPolicy
public void deleteNetworkPolicy(DeleteNetworkPolicyRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a `NetworkPolicy` resource. A network policy cannot be deleted when `NetworkService.state` is set to `RECONCILING` for either its external IP or internet access service.
-
createVmwareEngineNetwork
public void createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new VMware Engine network that can be used by a private cloud.
-
updateVmwareEngineNetwork
public void updateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a VMware Engine network resource. Only the following fields can be updated: `description`. Only fields specified in `updateMask` are applied.
-
deleteVmwareEngineNetwork
public void deleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a `VmwareEngineNetwork` resource. You can only delete a VMware Engine network after all resources that refer to it are deleted. For example, a private cloud, a network peering, and a network policy can all refer to the same VMware Engine network.
-
getVmwareEngineNetwork
public void getVmwareEngineNetwork(GetVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<VmwareEngineNetwork> responseObserver)
Retrieves a `VmwareEngineNetwork` resource by its resource name. The resource contains details of the VMware Engine network, such as its VMware Engine network type, peered networks in a service project, and state (for example, `CREATING`, `ACTIVE`, `DELETING`).
-
listVmwareEngineNetworks
public void listVmwareEngineNetworks(ListVmwareEngineNetworksRequest request, io.grpc.stub.StreamObserver<ListVmwareEngineNetworksResponse> responseObserver)
Lists `VmwareEngineNetwork` resources in a given project and location.
-
createPrivateConnection
public void createPrivateConnection(CreatePrivateConnectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Creates a new private connection that can be used for accessing private Clouds.
-
getPrivateConnection
public void getPrivateConnection(GetPrivateConnectionRequest request, io.grpc.stub.StreamObserver<PrivateConnection> responseObserver)
Retrieves a `PrivateConnection` resource by its resource name. The resource contains details of the private connection, such as connected network, routing mode and state.
-
listPrivateConnections
public void listPrivateConnections(ListPrivateConnectionsRequest request, io.grpc.stub.StreamObserver<ListPrivateConnectionsResponse> responseObserver)
Lists `PrivateConnection` resources in a given project and location.
-
updatePrivateConnection
public void updatePrivateConnection(UpdatePrivateConnectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Modifies a `PrivateConnection` resource. Only `description` and `routing_mode` fields can be updated. Only fields specified in `updateMask` are applied.
-
deletePrivateConnection
public void deletePrivateConnection(DeletePrivateConnectionRequest request, io.grpc.stub.StreamObserver<com.google.longrunning.Operation> responseObserver)
Deletes a `PrivateConnection` resource. When a private connection is deleted for a VMware Engine network, the connected network becomes inaccessible to that VMware Engine network.
-
listPrivateConnectionPeeringRoutes
public void listPrivateConnectionPeeringRoutes(ListPrivateConnectionPeeringRoutesRequest request, io.grpc.stub.StreamObserver<ListPrivateConnectionPeeringRoutesResponse> responseObserver)
Lists the private connection routes exchanged over a peering connection.
-
-