Class VmwareEngineGrpc.VmwareEngineFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<VmwareEngineGrpc.VmwareEngineFutureStub>
com.google.cloud.vmwareengine.v1.VmwareEngineGrpc.VmwareEngineFutureStub
Enclosing class:
VmwareEngineGrpc

public static final class VmwareEngineGrpc.VmwareEngineFutureStub extends io.grpc.stub.AbstractFutureStub<VmwareEngineGrpc.VmwareEngineFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service VmwareEngine.
 VMwareEngine manages VMware's private clusters in the Cloud.
 
  • Method Details

    • build

      protected VmwareEngineGrpc.VmwareEngineFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<VmwareEngineGrpc.VmwareEngineFutureStub>
    • listPrivateClouds

      public com.google.common.util.concurrent.ListenableFuture<ListPrivateCloudsResponse> listPrivateClouds(ListPrivateCloudsRequest request)
       Lists `PrivateCloud` resources in a given project and location.
       
    • getPrivateCloud

      public com.google.common.util.concurrent.ListenableFuture<PrivateCloud> getPrivateCloud(GetPrivateCloudRequest request)
       Retrieves a `PrivateCloud` resource by its resource name.
       
    • createPrivateCloud

      public com.google.common.util.concurrent.ListenableFuture<Operation> createPrivateCloud(CreatePrivateCloudRequest request)
       Creates a new `PrivateCloud` resource in a given project and location.
       Private clouds of type `STANDARD` and
       `TIME_LIMITED` are zonal resources, `STRETCHED` private clouds are
       regional.
       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 com.google.common.util.concurrent.ListenableFuture<Operation> updatePrivateCloud(UpdatePrivateCloudRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<Operation> deletePrivateCloud(DeletePrivateCloudRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<Operation> undeletePrivateCloud(UndeletePrivateCloudRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<ListClustersResponse> listClusters(ListClustersRequest request)
       Lists `Cluster` resources in a given private cloud.
       
    • getCluster

      public com.google.common.util.concurrent.ListenableFuture<Cluster> getCluster(GetClusterRequest request)
       Retrieves a `Cluster` resource by its resource name.
       
    • createCluster

      public com.google.common.util.concurrent.ListenableFuture<Operation> createCluster(CreateClusterRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<Operation> updateCluster(UpdateClusterRequest request)
       Modifies a `Cluster` resource. 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 com.google.common.util.concurrent.ListenableFuture<Operation> deleteCluster(DeleteClusterRequest request)
       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.
       
    • listNodes

      public com.google.common.util.concurrent.ListenableFuture<ListNodesResponse> listNodes(ListNodesRequest request)
       Lists nodes in a given cluster.
       
    • getNode

      public com.google.common.util.concurrent.ListenableFuture<Node> getNode(GetNodeRequest request)
       Gets details of a single node.
       
    • listExternalAddresses

      public com.google.common.util.concurrent.ListenableFuture<ListExternalAddressesResponse> listExternalAddresses(ListExternalAddressesRequest request)
       Lists external IP addresses assigned to VMware workload VMs in a given
       private cloud.
       
    • fetchNetworkPolicyExternalAddresses

      public com.google.common.util.concurrent.ListenableFuture<FetchNetworkPolicyExternalAddressesResponse> fetchNetworkPolicyExternalAddresses(FetchNetworkPolicyExternalAddressesRequest request)
       Lists external IP addresses assigned to VMware workload VMs within the
       scope of the given network policy.
       
    • getExternalAddress

      public com.google.common.util.concurrent.ListenableFuture<ExternalAddress> getExternalAddress(GetExternalAddressRequest request)
       Gets details of a single external IP address.
       
    • createExternalAddress

      public com.google.common.util.concurrent.ListenableFuture<Operation> createExternalAddress(CreateExternalAddressRequest request)
       Creates a new `ExternalAddress` resource in a given private cloud. The
       network policy that corresponds to the private cloud must have the external
       IP address network service enabled (`NetworkPolicy.external_ip`).
       
    • updateExternalAddress

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateExternalAddress(UpdateExternalAddressRequest request)
       Updates the parameters of a single external IP address.
       Only fields specified in `update_mask` 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.
       
    • deleteExternalAddress

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteExternalAddress(DeleteExternalAddressRequest request)
       Deletes a single external IP address. When you delete an external IP
       address, connectivity between the external IP address and the corresponding
       internal IP address is lost.
       
    • listSubnets

      public com.google.common.util.concurrent.ListenableFuture<ListSubnetsResponse> listSubnets(ListSubnetsRequest request)
       Lists subnets in a given private cloud.
       
    • getSubnet

      public com.google.common.util.concurrent.ListenableFuture<Subnet> getSubnet(GetSubnetRequest request)
       Gets details of a single subnet.
       
    • updateSubnet

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateSubnet(UpdateSubnetRequest request)
       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.
       
    • listExternalAccessRules

      public com.google.common.util.concurrent.ListenableFuture<ListExternalAccessRulesResponse> listExternalAccessRules(ListExternalAccessRulesRequest request)
       Lists `ExternalAccessRule` resources in the specified network policy.
       
    • getExternalAccessRule

      public com.google.common.util.concurrent.ListenableFuture<ExternalAccessRule> getExternalAccessRule(GetExternalAccessRuleRequest request)
       Gets details of a single external access rule.
       
    • createExternalAccessRule

      public com.google.common.util.concurrent.ListenableFuture<Operation> createExternalAccessRule(CreateExternalAccessRuleRequest request)
       Creates a new external access rule in a given network policy.
       
    • updateExternalAccessRule

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateExternalAccessRule(UpdateExternalAccessRuleRequest request)
       Updates the parameters of a single external access rule.
       Only fields specified in `update_mask` are applied.
       
    • deleteExternalAccessRule

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteExternalAccessRule(DeleteExternalAccessRuleRequest request)
       Deletes a single external access rule.
       
    • listLoggingServers

      public com.google.common.util.concurrent.ListenableFuture<ListLoggingServersResponse> listLoggingServers(ListLoggingServersRequest request)
       Lists logging servers configured for a given private
       cloud.
       
    • getLoggingServer

      public com.google.common.util.concurrent.ListenableFuture<LoggingServer> getLoggingServer(GetLoggingServerRequest request)
       Gets details of a logging server.
       
    • createLoggingServer

      public com.google.common.util.concurrent.ListenableFuture<Operation> createLoggingServer(CreateLoggingServerRequest request)
       Create a new logging server for a given private cloud.
       
    • updateLoggingServer

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateLoggingServer(UpdateLoggingServerRequest request)
       Updates the parameters of a single logging server.
       Only fields specified in `update_mask` are applied.
       
    • deleteLoggingServer

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteLoggingServer(DeleteLoggingServerRequest request)
       Deletes a single logging server.
       
    • listNodeTypes

      public com.google.common.util.concurrent.ListenableFuture<ListNodeTypesResponse> listNodeTypes(ListNodeTypesRequest request)
       Lists node types
       
    • getNodeType

      public com.google.common.util.concurrent.ListenableFuture<NodeType> getNodeType(GetNodeTypeRequest request)
       Gets details of a single `NodeType`.
       
    • showNsxCredentials

      public com.google.common.util.concurrent.ListenableFuture<Credentials> showNsxCredentials(ShowNsxCredentialsRequest request)
       Gets details of credentials for NSX appliance.
       
    • showVcenterCredentials

      public com.google.common.util.concurrent.ListenableFuture<Credentials> showVcenterCredentials(ShowVcenterCredentialsRequest request)
       Gets details of credentials for Vcenter appliance.
       
    • resetNsxCredentials

      public com.google.common.util.concurrent.ListenableFuture<Operation> resetNsxCredentials(ResetNsxCredentialsRequest request)
       Resets credentials of the NSX appliance.
       
    • resetVcenterCredentials

      public com.google.common.util.concurrent.ListenableFuture<Operation> resetVcenterCredentials(ResetVcenterCredentialsRequest request)
       Resets credentials of the Vcenter appliance.
       
    • getDnsForwarding

      public com.google.common.util.concurrent.ListenableFuture<DnsForwarding> getDnsForwarding(GetDnsForwardingRequest request)
       Gets details of the `DnsForwarding` config.
       
    • updateDnsForwarding

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateDnsForwarding(UpdateDnsForwardingRequest request)
       Updates the parameters of the `DnsForwarding` config, like associated
       domains. Only fields specified in `update_mask` are applied.
       
    • getNetworkPeering

      public com.google.common.util.concurrent.ListenableFuture<NetworkPeering> getNetworkPeering(GetNetworkPeeringRequest request)
       Retrieves a `NetworkPeering` resource by its resource name. The resource
       contains details of the network peering, such as peered
       networks, import and export custom route configurations, and peering state.
       NetworkPeering is a global resource and location can only be global.
       
    • listNetworkPeerings

      public com.google.common.util.concurrent.ListenableFuture<ListNetworkPeeringsResponse> listNetworkPeerings(ListNetworkPeeringsRequest request)
       Lists `NetworkPeering` resources in a given project. NetworkPeering is a
       global resource and location can only be global.
       
    • createNetworkPeering

      public com.google.common.util.concurrent.ListenableFuture<Operation> createNetworkPeering(CreateNetworkPeeringRequest request)
       Creates a new network peering between the peer network and VMware Engine
       network provided in a `NetworkPeering` resource. NetworkPeering is a
       global resource and location can only be global.
       
    • deleteNetworkPeering

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteNetworkPeering(DeleteNetworkPeeringRequest request)
       Deletes a `NetworkPeering` resource. When a network peering is deleted for
       a VMware Engine network, the peer network becomes inaccessible to that
       VMware Engine network. NetworkPeering is a global resource and location can
       only be global.
       
    • updateNetworkPeering

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateNetworkPeering(UpdateNetworkPeeringRequest request)
       Modifies a `NetworkPeering` resource. Only the `description` field can be
       updated. Only fields specified in `updateMask` are applied. NetworkPeering
       is a global resource and location can only be global.
       
    • listPeeringRoutes

      public com.google.common.util.concurrent.ListenableFuture<ListPeeringRoutesResponse> listPeeringRoutes(ListPeeringRoutesRequest request)
       Lists the network peering routes exchanged over a peering connection.
       NetworkPeering is a global resource and location can only be global.
       
    • createHcxActivationKey

      public com.google.common.util.concurrent.ListenableFuture<Operation> createHcxActivationKey(CreateHcxActivationKeyRequest request)
       Creates a new HCX activation key in a given private cloud.
       
    • listHcxActivationKeys

      public com.google.common.util.concurrent.ListenableFuture<ListHcxActivationKeysResponse> listHcxActivationKeys(ListHcxActivationKeysRequest request)
       Lists `HcxActivationKey` resources in a given private cloud.
       
    • getHcxActivationKey

      public com.google.common.util.concurrent.ListenableFuture<HcxActivationKey> getHcxActivationKey(GetHcxActivationKeyRequest request)
       Retrieves a `HcxActivationKey` resource by its resource name.
       
    • getNetworkPolicy

      public com.google.common.util.concurrent.ListenableFuture<NetworkPolicy> getNetworkPolicy(GetNetworkPolicyRequest request)
       Retrieves a `NetworkPolicy` resource by its resource name.
       
    • listNetworkPolicies

      public com.google.common.util.concurrent.ListenableFuture<ListNetworkPoliciesResponse> listNetworkPolicies(ListNetworkPoliciesRequest request)
       Lists `NetworkPolicy` resources in a specified project and location.
       
    • createNetworkPolicy

      public com.google.common.util.concurrent.ListenableFuture<Operation> createNetworkPolicy(CreateNetworkPolicyRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<Operation> updateNetworkPolicy(UpdateNetworkPolicyRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<Operation> deleteNetworkPolicy(DeleteNetworkPolicyRequest request)
       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.
       
    • listManagementDnsZoneBindings

      public com.google.common.util.concurrent.ListenableFuture<ListManagementDnsZoneBindingsResponse> listManagementDnsZoneBindings(ListManagementDnsZoneBindingsRequest request)
       Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.
       
    • getManagementDnsZoneBinding

      public com.google.common.util.concurrent.ListenableFuture<ManagementDnsZoneBinding> getManagementDnsZoneBinding(GetManagementDnsZoneBindingRequest request)
       Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
       
    • createManagementDnsZoneBinding

      public com.google.common.util.concurrent.ListenableFuture<Operation> createManagementDnsZoneBinding(CreateManagementDnsZoneBindingRequest request)
       Creates a new `ManagementDnsZoneBinding` resource in a private cloud.
       This RPC creates the DNS binding and the resource that represents the
       DNS binding of the consumer VPC network to the management DNS zone. A
       management DNS zone is the Cloud DNS cross-project binding zone that
       VMware Engine creates for each private cloud. It contains FQDNs and
       corresponding IP addresses for the private cloud's ESXi hosts and
       management VM appliances like vCenter and NSX Manager.
       
    • updateManagementDnsZoneBinding

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateManagementDnsZoneBinding(UpdateManagementDnsZoneBindingRequest request)
       Updates a `ManagementDnsZoneBinding` resource.
       Only fields specified in `update_mask` are applied.
       
    • deleteManagementDnsZoneBinding

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteManagementDnsZoneBinding(DeleteManagementDnsZoneBindingRequest request)
       Deletes a `ManagementDnsZoneBinding` resource. When a management DNS zone
       binding is deleted, the corresponding consumer VPC network is no longer
       bound to the management DNS zone.
       
    • repairManagementDnsZoneBinding

      public com.google.common.util.concurrent.ListenableFuture<Operation> repairManagementDnsZoneBinding(RepairManagementDnsZoneBindingRequest request)
       Retries to create a `ManagementDnsZoneBinding` resource that is
       in failed state.
       
    • createVmwareEngineNetwork

      public com.google.common.util.concurrent.ListenableFuture<Operation> createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request)
       Creates a new VMware Engine network that can be used by a private cloud.
       
    • updateVmwareEngineNetwork

      public com.google.common.util.concurrent.ListenableFuture<Operation> updateVmwareEngineNetwork(UpdateVmwareEngineNetworkRequest request)
       Modifies a VMware Engine network resource. Only the following fields can be
       updated: `description`. Only fields specified in `updateMask` are
       applied.
       
    • deleteVmwareEngineNetwork

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteVmwareEngineNetwork(DeleteVmwareEngineNetworkRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<VmwareEngineNetwork> getVmwareEngineNetwork(GetVmwareEngineNetworkRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<ListVmwareEngineNetworksResponse> listVmwareEngineNetworks(ListVmwareEngineNetworksRequest request)
       Lists `VmwareEngineNetwork` resources in a given project and location.
       
    • createPrivateConnection

      public com.google.common.util.concurrent.ListenableFuture<Operation> createPrivateConnection(CreatePrivateConnectionRequest request)
       Creates a new private connection that can be used for accessing private
       Clouds.
       
    • getPrivateConnection

      public com.google.common.util.concurrent.ListenableFuture<PrivateConnection> getPrivateConnection(GetPrivateConnectionRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<ListPrivateConnectionsResponse> listPrivateConnections(ListPrivateConnectionsRequest request)
       Lists `PrivateConnection` resources in a given project and location.
       
    • updatePrivateConnection

      public com.google.common.util.concurrent.ListenableFuture<Operation> updatePrivateConnection(UpdatePrivateConnectionRequest request)
       Modifies a `PrivateConnection` resource. Only `description` and
       `routing_mode` fields can be updated. Only fields specified in `updateMask`
       are applied.
       
    • deletePrivateConnection

      public com.google.common.util.concurrent.ListenableFuture<Operation> deletePrivateConnection(DeletePrivateConnectionRequest request)
       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 com.google.common.util.concurrent.ListenableFuture<ListPrivateConnectionPeeringRoutesResponse> listPrivateConnectionPeeringRoutes(ListPrivateConnectionPeeringRoutesRequest request)
       Lists the private connection routes exchanged over a peering connection.
       
    • grantDnsBindPermission

      public com.google.common.util.concurrent.ListenableFuture<Operation> grantDnsBindPermission(GrantDnsBindPermissionRequest request)
       Grants the bind permission to the customer provided principal(user /
       service account) to bind their DNS zone with the intranet VPC associated
       with the project. DnsBindPermission is a global resource and location can
       only be global.
       
    • getDnsBindPermission

      public com.google.common.util.concurrent.ListenableFuture<DnsBindPermission> getDnsBindPermission(GetDnsBindPermissionRequest request)
       Gets all the principals having bind permission on the intranet VPC
       associated with the consumer project granted by the Grant API.
       DnsBindPermission is a global resource and location can only be global.
       
    • revokeDnsBindPermission

      public com.google.common.util.concurrent.ListenableFuture<Operation> revokeDnsBindPermission(RevokeDnsBindPermissionRequest request)
       Revokes the bind permission from the customer provided principal(user /
       service account) on the intranet VPC associated with the consumer project.
       DnsBindPermission is a global resource and location can only be global.