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 Details

    • build

      protected VmwareEngineGrpc.VmwareEngineStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.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<Operation> responseObserver)
       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 void updatePrivateCloud(UpdatePrivateCloudRequest request, io.grpc.stub.StreamObserver<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<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<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<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<Operation> responseObserver)
       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 void deleteCluster(DeleteClusterRequest request, io.grpc.stub.StreamObserver<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.
       
    • listNodes

      public void listNodes(ListNodesRequest request, io.grpc.stub.StreamObserver<ListNodesResponse> responseObserver)
       Lists nodes in a given cluster.
       
    • getNode

      public void getNode(GetNodeRequest request, io.grpc.stub.StreamObserver<Node> responseObserver)
       Gets details of a single node.
       
    • listExternalAddresses

      public void listExternalAddresses(ListExternalAddressesRequest request, io.grpc.stub.StreamObserver<ListExternalAddressesResponse> responseObserver)
       Lists external IP addresses assigned to VMware workload VMs in a given
       private cloud.
       
    • fetchNetworkPolicyExternalAddresses

      public void fetchNetworkPolicyExternalAddresses(FetchNetworkPolicyExternalAddressesRequest request, io.grpc.stub.StreamObserver<FetchNetworkPolicyExternalAddressesResponse> responseObserver)
       Lists external IP addresses assigned to VMware workload VMs within the
       scope of the given network policy.
       
    • getExternalAddress

      public void getExternalAddress(GetExternalAddressRequest request, io.grpc.stub.StreamObserver<ExternalAddress> responseObserver)
       Gets details of a single external IP address.
       
    • createExternalAddress

      public void createExternalAddress(CreateExternalAddressRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void updateExternalAddress(UpdateExternalAddressRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void deleteExternalAddress(DeleteExternalAddressRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 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<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.
       
    • listExternalAccessRules

      public void listExternalAccessRules(ListExternalAccessRulesRequest request, io.grpc.stub.StreamObserver<ListExternalAccessRulesResponse> responseObserver)
       Lists `ExternalAccessRule` resources in the specified network policy.
       
    • getExternalAccessRule

      public void getExternalAccessRule(GetExternalAccessRuleRequest request, io.grpc.stub.StreamObserver<ExternalAccessRule> responseObserver)
       Gets details of a single external access rule.
       
    • createExternalAccessRule

      public void createExternalAccessRule(CreateExternalAccessRuleRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates a new external access rule in a given network policy.
       
    • updateExternalAccessRule

      public void updateExternalAccessRule(UpdateExternalAccessRuleRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates the parameters of a single external access rule.
       Only fields specified in `update_mask` are applied.
       
    • deleteExternalAccessRule

      public void deleteExternalAccessRule(DeleteExternalAccessRuleRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a single external access rule.
       
    • listLoggingServers

      public void listLoggingServers(ListLoggingServersRequest request, io.grpc.stub.StreamObserver<ListLoggingServersResponse> responseObserver)
       Lists logging servers configured for a given private
       cloud.
       
    • getLoggingServer

      public void getLoggingServer(GetLoggingServerRequest request, io.grpc.stub.StreamObserver<LoggingServer> responseObserver)
       Gets details of a logging server.
       
    • createLoggingServer

      public void createLoggingServer(CreateLoggingServerRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Create a new logging server for a given private cloud.
       
    • updateLoggingServer

      public void updateLoggingServer(UpdateLoggingServerRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates the parameters of a single logging server.
       Only fields specified in `update_mask` are applied.
       
    • deleteLoggingServer

      public void deleteLoggingServer(DeleteLoggingServerRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Deletes a single logging server.
       
    • 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<Operation> responseObserver)
       Resets credentials of the NSX appliance.
       
    • resetVcenterCredentials

      public void resetVcenterCredentials(ResetVcenterCredentialsRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Resets credentials of the Vcenter appliance.
       
    • getDnsForwarding

      public void getDnsForwarding(GetDnsForwardingRequest request, io.grpc.stub.StreamObserver<DnsForwarding> responseObserver)
       Gets details of the `DnsForwarding` config.
       
    • updateDnsForwarding

      public void updateDnsForwarding(UpdateDnsForwardingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates the parameters of the `DnsForwarding` config, like associated
       domains. Only fields specified in `update_mask` are applied.
       
    • getNetworkPeering

      public void getNetworkPeering(GetNetworkPeeringRequest request, io.grpc.stub.StreamObserver<NetworkPeering> responseObserver)
       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 void listNetworkPeerings(ListNetworkPeeringsRequest request, io.grpc.stub.StreamObserver<ListNetworkPeeringsResponse> responseObserver)
       Lists `NetworkPeering` resources in a given project. NetworkPeering is a
       global resource and location can only be global.
       
    • createNetworkPeering

      public void createNetworkPeering(CreateNetworkPeeringRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void deleteNetworkPeering(DeleteNetworkPeeringRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void updateNetworkPeering(UpdateNetworkPeeringRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void listPeeringRoutes(ListPeeringRoutesRequest request, io.grpc.stub.StreamObserver<ListPeeringRoutesResponse> responseObserver)
       Lists the network peering routes exchanged over a peering connection.
       NetworkPeering is a global resource and location can only be global.
       
    • createHcxActivationKey

      public void createHcxActivationKey(CreateHcxActivationKeyRequest request, io.grpc.stub.StreamObserver<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<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<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<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.
       
    • listManagementDnsZoneBindings

      public void listManagementDnsZoneBindings(ListManagementDnsZoneBindingsRequest request, io.grpc.stub.StreamObserver<ListManagementDnsZoneBindingsResponse> responseObserver)
       Lists Consumer VPCs bound to Management DNS Zone of a given private cloud.
       
    • getManagementDnsZoneBinding

      public void getManagementDnsZoneBinding(GetManagementDnsZoneBindingRequest request, io.grpc.stub.StreamObserver<ManagementDnsZoneBinding> responseObserver)
       Retrieves a 'ManagementDnsZoneBinding' resource by its resource name.
       
    • createManagementDnsZoneBinding

      public void createManagementDnsZoneBinding(CreateManagementDnsZoneBindingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void updateManagementDnsZoneBinding(UpdateManagementDnsZoneBindingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates a `ManagementDnsZoneBinding` resource.
       Only fields specified in `update_mask` are applied.
       
    • deleteManagementDnsZoneBinding

      public void deleteManagementDnsZoneBinding(DeleteManagementDnsZoneBindingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void repairManagementDnsZoneBinding(RepairManagementDnsZoneBindingRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Retries to create a `ManagementDnsZoneBinding` resource that is
       in failed state.
       
    • createVmwareEngineNetwork

      public void createVmwareEngineNetwork(CreateVmwareEngineNetworkRequest request, io.grpc.stub.StreamObserver<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<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<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<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<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<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.
       
    • grantDnsBindPermission

      public void grantDnsBindPermission(GrantDnsBindPermissionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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 void getDnsBindPermission(GetDnsBindPermissionRequest request, io.grpc.stub.StreamObserver<DnsBindPermission> responseObserver)
       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 void revokeDnsBindPermission(RevokeDnsBindPermissionRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       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.