package vmwareengine
import "cloud.google.com/go/vmwareengine/apiv1"
Package vmwareengine is an auto-generated package for the VMware Engine API.
The Google VMware Engine API lets you programmatically manage VMware environments.
General documentation
For information that is relevant for all client libraries please reference https://pkg.go.dev/cloud.google.com/go#pkg-overview. Some information on this page includes:
- Authentication and Authorization
- Timeouts and Cancellation
- Testing against Client Libraries
- Debugging Client Libraries
- Inspecting errors
Example usage
To get started with this package, create a client.
// go get cloud.google.com/go/vmwareengine/apiv1@latest ctx := context.Background() // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. // - It may require specifying regional endpoints when creating the service client as shown in: // https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options c, err := vmwareengine.NewClient(ctx) if err != nil { // TODO: Handle error. } defer c.Close()
The client will use your default application credentials. Clients should be reused instead of created as needed. The methods of Client are safe for concurrent use by multiple goroutines. The returned client must be Closed when it is done being used.
Using the Client
The following is an example of making an API call with the newly created client, mentioned above.
req := &vmwareenginepb.CreateClusterRequest{ // TODO: Fill request struct fields. // See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateClusterRequest. } op, err := c.CreateCluster(ctx, req) if err != nil { // TODO: Handle error. } resp, err := op.Wait(ctx) if err != nil { // TODO: Handle error. } // TODO: Use resp. _ = resp
Use of Context
The ctx passed to NewClient is used for authentication requests and for creating the underlying connection, but is not used for subsequent calls. Individual methods on the client use the ctx given to them.
To close the open connection, use the Close() method.
Index ¶
- func DefaultAuthScopes() []string
- type CallOptions
- type Client
- func NewClient(ctx context.Context, opts ...option.ClientOption) (*Client, error)
- func NewRESTClient(ctx context.Context, opts ...option.ClientOption) (*Client, error)
- func (c *Client) Close() error
- func (c *Client) Connection() *grpc.ClientConn
- func (c *Client) CreateCluster(ctx context.Context, req *vmwareenginepb.CreateClusterRequest, opts ...gax.CallOption) (*CreateClusterOperation, error)
- func (c *Client) CreateClusterOperation(name string) *CreateClusterOperation
- func (c *Client) CreateExternalAccessRule(ctx context.Context, req *vmwareenginepb.CreateExternalAccessRuleRequest, opts ...gax.CallOption) (*CreateExternalAccessRuleOperation, error)
- func (c *Client) CreateExternalAccessRuleOperation(name string) *CreateExternalAccessRuleOperation
- func (c *Client) CreateExternalAddress(ctx context.Context, req *vmwareenginepb.CreateExternalAddressRequest, opts ...gax.CallOption) (*CreateExternalAddressOperation, error)
- func (c *Client) CreateExternalAddressOperation(name string) *CreateExternalAddressOperation
- func (c *Client) CreateHcxActivationKey(ctx context.Context, req *vmwareenginepb.CreateHcxActivationKeyRequest, opts ...gax.CallOption) (*CreateHcxActivationKeyOperation, error)
- func (c *Client) CreateHcxActivationKeyOperation(name string) *CreateHcxActivationKeyOperation
- func (c *Client) CreateLoggingServer(ctx context.Context, req *vmwareenginepb.CreateLoggingServerRequest, opts ...gax.CallOption) (*CreateLoggingServerOperation, error)
- func (c *Client) CreateLoggingServerOperation(name string) *CreateLoggingServerOperation
- func (c *Client) CreateManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.CreateManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*CreateManagementDnsZoneBindingOperation, error)
- func (c *Client) CreateManagementDnsZoneBindingOperation(name string) *CreateManagementDnsZoneBindingOperation
- func (c *Client) CreateNetworkPeering(ctx context.Context, req *vmwareenginepb.CreateNetworkPeeringRequest, opts ...gax.CallOption) (*CreateNetworkPeeringOperation, error)
- func (c *Client) CreateNetworkPeeringOperation(name string) *CreateNetworkPeeringOperation
- func (c *Client) CreateNetworkPolicy(ctx context.Context, req *vmwareenginepb.CreateNetworkPolicyRequest, opts ...gax.CallOption) (*CreateNetworkPolicyOperation, error)
- func (c *Client) CreateNetworkPolicyOperation(name string) *CreateNetworkPolicyOperation
- func (c *Client) CreatePrivateCloud(ctx context.Context, req *vmwareenginepb.CreatePrivateCloudRequest, opts ...gax.CallOption) (*CreatePrivateCloudOperation, error)
- func (c *Client) CreatePrivateCloudOperation(name string) *CreatePrivateCloudOperation
- func (c *Client) CreatePrivateConnection(ctx context.Context, req *vmwareenginepb.CreatePrivateConnectionRequest, opts ...gax.CallOption) (*CreatePrivateConnectionOperation, error)
- func (c *Client) CreatePrivateConnectionOperation(name string) *CreatePrivateConnectionOperation
- func (c *Client) CreateVmwareEngineNetwork(ctx context.Context, req *vmwareenginepb.CreateVmwareEngineNetworkRequest, opts ...gax.CallOption) (*CreateVmwareEngineNetworkOperation, error)
- func (c *Client) CreateVmwareEngineNetworkOperation(name string) *CreateVmwareEngineNetworkOperation
- func (c *Client) DeleteCluster(ctx context.Context, req *vmwareenginepb.DeleteClusterRequest, opts ...gax.CallOption) (*DeleteClusterOperation, error)
- func (c *Client) DeleteClusterOperation(name string) *DeleteClusterOperation
- func (c *Client) DeleteExternalAccessRule(ctx context.Context, req *vmwareenginepb.DeleteExternalAccessRuleRequest, opts ...gax.CallOption) (*DeleteExternalAccessRuleOperation, error)
- func (c *Client) DeleteExternalAccessRuleOperation(name string) *DeleteExternalAccessRuleOperation
- func (c *Client) DeleteExternalAddress(ctx context.Context, req *vmwareenginepb.DeleteExternalAddressRequest, opts ...gax.CallOption) (*DeleteExternalAddressOperation, error)
- func (c *Client) DeleteExternalAddressOperation(name string) *DeleteExternalAddressOperation
- func (c *Client) DeleteLoggingServer(ctx context.Context, req *vmwareenginepb.DeleteLoggingServerRequest, opts ...gax.CallOption) (*DeleteLoggingServerOperation, error)
- func (c *Client) DeleteLoggingServerOperation(name string) *DeleteLoggingServerOperation
- func (c *Client) DeleteManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.DeleteManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*DeleteManagementDnsZoneBindingOperation, error)
- func (c *Client) DeleteManagementDnsZoneBindingOperation(name string) *DeleteManagementDnsZoneBindingOperation
- func (c *Client) DeleteNetworkPeering(ctx context.Context, req *vmwareenginepb.DeleteNetworkPeeringRequest, opts ...gax.CallOption) (*DeleteNetworkPeeringOperation, error)
- func (c *Client) DeleteNetworkPeeringOperation(name string) *DeleteNetworkPeeringOperation
- func (c *Client) DeleteNetworkPolicy(ctx context.Context, req *vmwareenginepb.DeleteNetworkPolicyRequest, opts ...gax.CallOption) (*DeleteNetworkPolicyOperation, error)
- func (c *Client) DeleteNetworkPolicyOperation(name string) *DeleteNetworkPolicyOperation
- func (c *Client) DeleteOperation(ctx context.Context, req *longrunningpb.DeleteOperationRequest, opts ...gax.CallOption) error
- func (c *Client) DeletePrivateCloud(ctx context.Context, req *vmwareenginepb.DeletePrivateCloudRequest, opts ...gax.CallOption) (*DeletePrivateCloudOperation, error)
- func (c *Client) DeletePrivateCloudOperation(name string) *DeletePrivateCloudOperation
- func (c *Client) DeletePrivateConnection(ctx context.Context, req *vmwareenginepb.DeletePrivateConnectionRequest, opts ...gax.CallOption) (*DeletePrivateConnectionOperation, error)
- func (c *Client) DeletePrivateConnectionOperation(name string) *DeletePrivateConnectionOperation
- func (c *Client) DeleteVmwareEngineNetwork(ctx context.Context, req *vmwareenginepb.DeleteVmwareEngineNetworkRequest, opts ...gax.CallOption) (*DeleteVmwareEngineNetworkOperation, error)
- func (c *Client) DeleteVmwareEngineNetworkOperation(name string) *DeleteVmwareEngineNetworkOperation
- func (c *Client) FetchNetworkPolicyExternalAddresses(ctx context.Context, req *vmwareenginepb.FetchNetworkPolicyExternalAddressesRequest, opts ...gax.CallOption) *ExternalAddressIterator
- func (c *Client) GetCluster(ctx context.Context, req *vmwareenginepb.GetClusterRequest, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
- func (c *Client) GetDnsBindPermission(ctx context.Context, req *vmwareenginepb.GetDnsBindPermissionRequest, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
- func (c *Client) GetDnsForwarding(ctx context.Context, req *vmwareenginepb.GetDnsForwardingRequest, opts ...gax.CallOption) (*vmwareenginepb.DnsForwarding, error)
- func (c *Client) GetExternalAccessRule(ctx context.Context, req *vmwareenginepb.GetExternalAccessRuleRequest, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
- func (c *Client) GetExternalAddress(ctx context.Context, req *vmwareenginepb.GetExternalAddressRequest, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
- func (c *Client) GetHcxActivationKey(ctx context.Context, req *vmwareenginepb.GetHcxActivationKeyRequest, opts ...gax.CallOption) (*vmwareenginepb.HcxActivationKey, error)
- func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error)
- func (c *Client) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error)
- func (c *Client) GetLoggingServer(ctx context.Context, req *vmwareenginepb.GetLoggingServerRequest, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
- func (c *Client) GetManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.GetManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
- func (c *Client) GetNetworkPeering(ctx context.Context, req *vmwareenginepb.GetNetworkPeeringRequest, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
- func (c *Client) GetNetworkPolicy(ctx context.Context, req *vmwareenginepb.GetNetworkPolicyRequest, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
- func (c *Client) GetNode(ctx context.Context, req *vmwareenginepb.GetNodeRequest, opts ...gax.CallOption) (*vmwareenginepb.Node, error)
- func (c *Client) GetNodeType(ctx context.Context, req *vmwareenginepb.GetNodeTypeRequest, opts ...gax.CallOption) (*vmwareenginepb.NodeType, error)
- func (c *Client) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error)
- func (c *Client) GetPrivateCloud(ctx context.Context, req *vmwareenginepb.GetPrivateCloudRequest, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- func (c *Client) GetPrivateConnection(ctx context.Context, req *vmwareenginepb.GetPrivateConnectionRequest, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
- func (c *Client) GetSubnet(ctx context.Context, req *vmwareenginepb.GetSubnetRequest, opts ...gax.CallOption) (*vmwareenginepb.Subnet, error)
- func (c *Client) GetVmwareEngineNetwork(ctx context.Context, req *vmwareenginepb.GetVmwareEngineNetworkRequest, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
- func (c *Client) GrantDnsBindPermission(ctx context.Context, req *vmwareenginepb.GrantDnsBindPermissionRequest, opts ...gax.CallOption) (*GrantDnsBindPermissionOperation, error)
- func (c *Client) GrantDnsBindPermissionOperation(name string) *GrantDnsBindPermissionOperation
- func (c *Client) ListClusters(ctx context.Context, req *vmwareenginepb.ListClustersRequest, opts ...gax.CallOption) *ClusterIterator
- func (c *Client) ListExternalAccessRules(ctx context.Context, req *vmwareenginepb.ListExternalAccessRulesRequest, opts ...gax.CallOption) *ExternalAccessRuleIterator
- func (c *Client) ListExternalAddresses(ctx context.Context, req *vmwareenginepb.ListExternalAddressesRequest, opts ...gax.CallOption) *ExternalAddressIterator
- func (c *Client) ListHcxActivationKeys(ctx context.Context, req *vmwareenginepb.ListHcxActivationKeysRequest, opts ...gax.CallOption) *HcxActivationKeyIterator
- func (c *Client) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator
- func (c *Client) ListLoggingServers(ctx context.Context, req *vmwareenginepb.ListLoggingServersRequest, opts ...gax.CallOption) *LoggingServerIterator
- func (c *Client) ListManagementDnsZoneBindings(ctx context.Context, req *vmwareenginepb.ListManagementDnsZoneBindingsRequest, opts ...gax.CallOption) *ManagementDnsZoneBindingIterator
- func (c *Client) ListNetworkPeerings(ctx context.Context, req *vmwareenginepb.ListNetworkPeeringsRequest, opts ...gax.CallOption) *NetworkPeeringIterator
- func (c *Client) ListNetworkPolicies(ctx context.Context, req *vmwareenginepb.ListNetworkPoliciesRequest, opts ...gax.CallOption) *NetworkPolicyIterator
- func (c *Client) ListNodeTypes(ctx context.Context, req *vmwareenginepb.ListNodeTypesRequest, opts ...gax.CallOption) *NodeTypeIterator
- func (c *Client) ListNodes(ctx context.Context, req *vmwareenginepb.ListNodesRequest, opts ...gax.CallOption) *NodeIterator
- func (c *Client) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator
- func (c *Client) ListPeeringRoutes(ctx context.Context, req *vmwareenginepb.ListPeeringRoutesRequest, opts ...gax.CallOption) *PeeringRouteIterator
- func (c *Client) ListPrivateClouds(ctx context.Context, req *vmwareenginepb.ListPrivateCloudsRequest, opts ...gax.CallOption) *PrivateCloudIterator
- func (c *Client) ListPrivateConnectionPeeringRoutes(ctx context.Context, req *vmwareenginepb.ListPrivateConnectionPeeringRoutesRequest, opts ...gax.CallOption) *PeeringRouteIterator
- func (c *Client) ListPrivateConnections(ctx context.Context, req *vmwareenginepb.ListPrivateConnectionsRequest, opts ...gax.CallOption) *PrivateConnectionIterator
- func (c *Client) ListSubnets(ctx context.Context, req *vmwareenginepb.ListSubnetsRequest, opts ...gax.CallOption) *SubnetIterator
- func (c *Client) ListVmwareEngineNetworks(ctx context.Context, req *vmwareenginepb.ListVmwareEngineNetworksRequest, opts ...gax.CallOption) *VmwareEngineNetworkIterator
- func (c *Client) RepairManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.RepairManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*RepairManagementDnsZoneBindingOperation, error)
- func (c *Client) RepairManagementDnsZoneBindingOperation(name string) *RepairManagementDnsZoneBindingOperation
- func (c *Client) ResetNsxCredentials(ctx context.Context, req *vmwareenginepb.ResetNsxCredentialsRequest, opts ...gax.CallOption) (*ResetNsxCredentialsOperation, error)
- func (c *Client) ResetNsxCredentialsOperation(name string) *ResetNsxCredentialsOperation
- func (c *Client) ResetVcenterCredentials(ctx context.Context, req *vmwareenginepb.ResetVcenterCredentialsRequest, opts ...gax.CallOption) (*ResetVcenterCredentialsOperation, error)
- func (c *Client) ResetVcenterCredentialsOperation(name string) *ResetVcenterCredentialsOperation
- func (c *Client) RevokeDnsBindPermission(ctx context.Context, req *vmwareenginepb.RevokeDnsBindPermissionRequest, opts ...gax.CallOption) (*RevokeDnsBindPermissionOperation, error)
- func (c *Client) RevokeDnsBindPermissionOperation(name string) *RevokeDnsBindPermissionOperation
- func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error)
- func (c *Client) ShowNsxCredentials(ctx context.Context, req *vmwareenginepb.ShowNsxCredentialsRequest, opts ...gax.CallOption) (*vmwareenginepb.Credentials, error)
- func (c *Client) ShowVcenterCredentials(ctx context.Context, req *vmwareenginepb.ShowVcenterCredentialsRequest, opts ...gax.CallOption) (*vmwareenginepb.Credentials, error)
- func (c *Client) TestIamPermissions(ctx context.Context, req *iampb.TestIamPermissionsRequest, opts ...gax.CallOption) (*iampb.TestIamPermissionsResponse, error)
- func (c *Client) UndeletePrivateCloud(ctx context.Context, req *vmwareenginepb.UndeletePrivateCloudRequest, opts ...gax.CallOption) (*UndeletePrivateCloudOperation, error)
- func (c *Client) UndeletePrivateCloudOperation(name string) *UndeletePrivateCloudOperation
- func (c *Client) UpdateCluster(ctx context.Context, req *vmwareenginepb.UpdateClusterRequest, opts ...gax.CallOption) (*UpdateClusterOperation, error)
- func (c *Client) UpdateClusterOperation(name string) *UpdateClusterOperation
- func (c *Client) UpdateDnsForwarding(ctx context.Context, req *vmwareenginepb.UpdateDnsForwardingRequest, opts ...gax.CallOption) (*UpdateDnsForwardingOperation, error)
- func (c *Client) UpdateDnsForwardingOperation(name string) *UpdateDnsForwardingOperation
- func (c *Client) UpdateExternalAccessRule(ctx context.Context, req *vmwareenginepb.UpdateExternalAccessRuleRequest, opts ...gax.CallOption) (*UpdateExternalAccessRuleOperation, error)
- func (c *Client) UpdateExternalAccessRuleOperation(name string) *UpdateExternalAccessRuleOperation
- func (c *Client) UpdateExternalAddress(ctx context.Context, req *vmwareenginepb.UpdateExternalAddressRequest, opts ...gax.CallOption) (*UpdateExternalAddressOperation, error)
- func (c *Client) UpdateExternalAddressOperation(name string) *UpdateExternalAddressOperation
- func (c *Client) UpdateLoggingServer(ctx context.Context, req *vmwareenginepb.UpdateLoggingServerRequest, opts ...gax.CallOption) (*UpdateLoggingServerOperation, error)
- func (c *Client) UpdateLoggingServerOperation(name string) *UpdateLoggingServerOperation
- func (c *Client) UpdateManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.UpdateManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*UpdateManagementDnsZoneBindingOperation, error)
- func (c *Client) UpdateManagementDnsZoneBindingOperation(name string) *UpdateManagementDnsZoneBindingOperation
- func (c *Client) UpdateNetworkPeering(ctx context.Context, req *vmwareenginepb.UpdateNetworkPeeringRequest, opts ...gax.CallOption) (*UpdateNetworkPeeringOperation, error)
- func (c *Client) UpdateNetworkPeeringOperation(name string) *UpdateNetworkPeeringOperation
- func (c *Client) UpdateNetworkPolicy(ctx context.Context, req *vmwareenginepb.UpdateNetworkPolicyRequest, opts ...gax.CallOption) (*UpdateNetworkPolicyOperation, error)
- func (c *Client) UpdateNetworkPolicyOperation(name string) *UpdateNetworkPolicyOperation
- func (c *Client) UpdatePrivateCloud(ctx context.Context, req *vmwareenginepb.UpdatePrivateCloudRequest, opts ...gax.CallOption) (*UpdatePrivateCloudOperation, error)
- func (c *Client) UpdatePrivateCloudOperation(name string) *UpdatePrivateCloudOperation
- func (c *Client) UpdatePrivateConnection(ctx context.Context, req *vmwareenginepb.UpdatePrivateConnectionRequest, opts ...gax.CallOption) (*UpdatePrivateConnectionOperation, error)
- func (c *Client) UpdatePrivateConnectionOperation(name string) *UpdatePrivateConnectionOperation
- func (c *Client) UpdateSubnet(ctx context.Context, req *vmwareenginepb.UpdateSubnetRequest, opts ...gax.CallOption) (*UpdateSubnetOperation, error)
- func (c *Client) UpdateSubnetOperation(name string) *UpdateSubnetOperation
- func (c *Client) UpdateVmwareEngineNetwork(ctx context.Context, req *vmwareenginepb.UpdateVmwareEngineNetworkRequest, opts ...gax.CallOption) (*UpdateVmwareEngineNetworkOperation, error)
- func (c *Client) UpdateVmwareEngineNetworkOperation(name string) *UpdateVmwareEngineNetworkOperation
- type ClusterIterator
- func (it *ClusterIterator) All() iter.Seq2[*vmwareenginepb.Cluster, error]
- func (it *ClusterIterator) Next() (*vmwareenginepb.Cluster, error)
- func (it *ClusterIterator) PageInfo() *iterator.PageInfo
- type CreateClusterOperation
- func (op *CreateClusterOperation) Done() bool
- func (op *CreateClusterOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateClusterOperation) Name() string
- func (op *CreateClusterOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
- func (op *CreateClusterOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
- type CreateExternalAccessRuleOperation
- func (op *CreateExternalAccessRuleOperation) Done() bool
- func (op *CreateExternalAccessRuleOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateExternalAccessRuleOperation) Name() string
- func (op *CreateExternalAccessRuleOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
- func (op *CreateExternalAccessRuleOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
- type CreateExternalAddressOperation
- func (op *CreateExternalAddressOperation) Done() bool
- func (op *CreateExternalAddressOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateExternalAddressOperation) Name() string
- func (op *CreateExternalAddressOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
- func (op *CreateExternalAddressOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
- type CreateHcxActivationKeyOperation
- func (op *CreateHcxActivationKeyOperation) Done() bool
- func (op *CreateHcxActivationKeyOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateHcxActivationKeyOperation) Name() string
- func (op *CreateHcxActivationKeyOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.HcxActivationKey, error)
- func (op *CreateHcxActivationKeyOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.HcxActivationKey, error)
- type CreateLoggingServerOperation
- func (op *CreateLoggingServerOperation) Done() bool
- func (op *CreateLoggingServerOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateLoggingServerOperation) Name() string
- func (op *CreateLoggingServerOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
- func (op *CreateLoggingServerOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
- type CreateManagementDnsZoneBindingOperation
- func (op *CreateManagementDnsZoneBindingOperation) Done() bool
- func (op *CreateManagementDnsZoneBindingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateManagementDnsZoneBindingOperation) Name() string
- func (op *CreateManagementDnsZoneBindingOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
- func (op *CreateManagementDnsZoneBindingOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
- type CreateNetworkPeeringOperation
- func (op *CreateNetworkPeeringOperation) Done() bool
- func (op *CreateNetworkPeeringOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateNetworkPeeringOperation) Name() string
- func (op *CreateNetworkPeeringOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
- func (op *CreateNetworkPeeringOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
- type CreateNetworkPolicyOperation
- func (op *CreateNetworkPolicyOperation) Done() bool
- func (op *CreateNetworkPolicyOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateNetworkPolicyOperation) Name() string
- func (op *CreateNetworkPolicyOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
- func (op *CreateNetworkPolicyOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
- type CreatePrivateCloudOperation
- func (op *CreatePrivateCloudOperation) Done() bool
- func (op *CreatePrivateCloudOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreatePrivateCloudOperation) Name() string
- func (op *CreatePrivateCloudOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- func (op *CreatePrivateCloudOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- type CreatePrivateConnectionOperation
- func (op *CreatePrivateConnectionOperation) Done() bool
- func (op *CreatePrivateConnectionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreatePrivateConnectionOperation) Name() string
- func (op *CreatePrivateConnectionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
- func (op *CreatePrivateConnectionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
- type CreateVmwareEngineNetworkOperation
- func (op *CreateVmwareEngineNetworkOperation) Done() bool
- func (op *CreateVmwareEngineNetworkOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *CreateVmwareEngineNetworkOperation) Name() string
- func (op *CreateVmwareEngineNetworkOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
- func (op *CreateVmwareEngineNetworkOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
- type DeleteClusterOperation
- func (op *DeleteClusterOperation) Done() bool
- func (op *DeleteClusterOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeleteClusterOperation) Name() string
- func (op *DeleteClusterOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeleteClusterOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type DeleteExternalAccessRuleOperation
- func (op *DeleteExternalAccessRuleOperation) Done() bool
- func (op *DeleteExternalAccessRuleOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeleteExternalAccessRuleOperation) Name() string
- func (op *DeleteExternalAccessRuleOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeleteExternalAccessRuleOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type DeleteExternalAddressOperation
- func (op *DeleteExternalAddressOperation) Done() bool
- func (op *DeleteExternalAddressOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeleteExternalAddressOperation) Name() string
- func (op *DeleteExternalAddressOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeleteExternalAddressOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type DeleteLoggingServerOperation
- func (op *DeleteLoggingServerOperation) Done() bool
- func (op *DeleteLoggingServerOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeleteLoggingServerOperation) Name() string
- func (op *DeleteLoggingServerOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeleteLoggingServerOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type DeleteManagementDnsZoneBindingOperation
- func (op *DeleteManagementDnsZoneBindingOperation) Done() bool
- func (op *DeleteManagementDnsZoneBindingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeleteManagementDnsZoneBindingOperation) Name() string
- func (op *DeleteManagementDnsZoneBindingOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeleteManagementDnsZoneBindingOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type DeleteNetworkPeeringOperation
- func (op *DeleteNetworkPeeringOperation) Done() bool
- func (op *DeleteNetworkPeeringOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeleteNetworkPeeringOperation) Name() string
- func (op *DeleteNetworkPeeringOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeleteNetworkPeeringOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type DeleteNetworkPolicyOperation
- func (op *DeleteNetworkPolicyOperation) Done() bool
- func (op *DeleteNetworkPolicyOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeleteNetworkPolicyOperation) Name() string
- func (op *DeleteNetworkPolicyOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeleteNetworkPolicyOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type DeletePrivateCloudOperation
- func (op *DeletePrivateCloudOperation) Done() bool
- func (op *DeletePrivateCloudOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeletePrivateCloudOperation) Name() string
- func (op *DeletePrivateCloudOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- func (op *DeletePrivateCloudOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- type DeletePrivateConnectionOperation
- func (op *DeletePrivateConnectionOperation) Done() bool
- func (op *DeletePrivateConnectionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeletePrivateConnectionOperation) Name() string
- func (op *DeletePrivateConnectionOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeletePrivateConnectionOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type DeleteVmwareEngineNetworkOperation
- func (op *DeleteVmwareEngineNetworkOperation) Done() bool
- func (op *DeleteVmwareEngineNetworkOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *DeleteVmwareEngineNetworkOperation) Name() string
- func (op *DeleteVmwareEngineNetworkOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
- func (op *DeleteVmwareEngineNetworkOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
- type ExternalAccessRuleIterator
- func (it *ExternalAccessRuleIterator) All() iter.Seq2[*vmwareenginepb.ExternalAccessRule, error]
- func (it *ExternalAccessRuleIterator) Next() (*vmwareenginepb.ExternalAccessRule, error)
- func (it *ExternalAccessRuleIterator) PageInfo() *iterator.PageInfo
- type ExternalAddressIterator
- func (it *ExternalAddressIterator) All() iter.Seq2[*vmwareenginepb.ExternalAddress, error]
- func (it *ExternalAddressIterator) Next() (*vmwareenginepb.ExternalAddress, error)
- func (it *ExternalAddressIterator) PageInfo() *iterator.PageInfo
- type GrantDnsBindPermissionOperation
- func (op *GrantDnsBindPermissionOperation) Done() bool
- func (op *GrantDnsBindPermissionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *GrantDnsBindPermissionOperation) Name() string
- func (op *GrantDnsBindPermissionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
- func (op *GrantDnsBindPermissionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
- type HcxActivationKeyIterator
- func (it *HcxActivationKeyIterator) All() iter.Seq2[*vmwareenginepb.HcxActivationKey, error]
- func (it *HcxActivationKeyIterator) Next() (*vmwareenginepb.HcxActivationKey, error)
- func (it *HcxActivationKeyIterator) PageInfo() *iterator.PageInfo
- type LocationIterator
- func (it *LocationIterator) All() iter.Seq2[*locationpb.Location, error]
- func (it *LocationIterator) Next() (*locationpb.Location, error)
- func (it *LocationIterator) PageInfo() *iterator.PageInfo
- type LoggingServerIterator
- func (it *LoggingServerIterator) All() iter.Seq2[*vmwareenginepb.LoggingServer, error]
- func (it *LoggingServerIterator) Next() (*vmwareenginepb.LoggingServer, error)
- func (it *LoggingServerIterator) PageInfo() *iterator.PageInfo
- type ManagementDnsZoneBindingIterator
- func (it *ManagementDnsZoneBindingIterator) All() iter.Seq2[*vmwareenginepb.ManagementDnsZoneBinding, error]
- func (it *ManagementDnsZoneBindingIterator) Next() (*vmwareenginepb.ManagementDnsZoneBinding, error)
- func (it *ManagementDnsZoneBindingIterator) PageInfo() *iterator.PageInfo
- type NetworkPeeringIterator
- func (it *NetworkPeeringIterator) All() iter.Seq2[*vmwareenginepb.NetworkPeering, error]
- func (it *NetworkPeeringIterator) Next() (*vmwareenginepb.NetworkPeering, error)
- func (it *NetworkPeeringIterator) PageInfo() *iterator.PageInfo
- type NetworkPolicyIterator
- func (it *NetworkPolicyIterator) All() iter.Seq2[*vmwareenginepb.NetworkPolicy, error]
- func (it *NetworkPolicyIterator) Next() (*vmwareenginepb.NetworkPolicy, error)
- func (it *NetworkPolicyIterator) PageInfo() *iterator.PageInfo
- type NodeIterator
- func (it *NodeIterator) All() iter.Seq2[*vmwareenginepb.Node, error]
- func (it *NodeIterator) Next() (*vmwareenginepb.Node, error)
- func (it *NodeIterator) PageInfo() *iterator.PageInfo
- type NodeTypeIterator
- func (it *NodeTypeIterator) All() iter.Seq2[*vmwareenginepb.NodeType, error]
- func (it *NodeTypeIterator) Next() (*vmwareenginepb.NodeType, error)
- func (it *NodeTypeIterator) PageInfo() *iterator.PageInfo
- type OperationIterator
- func (it *OperationIterator) All() iter.Seq2[*longrunningpb.Operation, error]
- func (it *OperationIterator) Next() (*longrunningpb.Operation, error)
- func (it *OperationIterator) PageInfo() *iterator.PageInfo
- type PeeringRouteIterator
- func (it *PeeringRouteIterator) All() iter.Seq2[*vmwareenginepb.PeeringRoute, error]
- func (it *PeeringRouteIterator) Next() (*vmwareenginepb.PeeringRoute, error)
- func (it *PeeringRouteIterator) PageInfo() *iterator.PageInfo
- type PrivateCloudIterator
- func (it *PrivateCloudIterator) All() iter.Seq2[*vmwareenginepb.PrivateCloud, error]
- func (it *PrivateCloudIterator) Next() (*vmwareenginepb.PrivateCloud, error)
- func (it *PrivateCloudIterator) PageInfo() *iterator.PageInfo
- type PrivateConnectionIterator
- func (it *PrivateConnectionIterator) All() iter.Seq2[*vmwareenginepb.PrivateConnection, error]
- func (it *PrivateConnectionIterator) Next() (*vmwareenginepb.PrivateConnection, error)
- func (it *PrivateConnectionIterator) PageInfo() *iterator.PageInfo
- type RepairManagementDnsZoneBindingOperation
- func (op *RepairManagementDnsZoneBindingOperation) Done() bool
- func (op *RepairManagementDnsZoneBindingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *RepairManagementDnsZoneBindingOperation) Name() string
- func (op *RepairManagementDnsZoneBindingOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
- func (op *RepairManagementDnsZoneBindingOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
- type ResetNsxCredentialsOperation
- func (op *ResetNsxCredentialsOperation) Done() bool
- func (op *ResetNsxCredentialsOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *ResetNsxCredentialsOperation) Name() string
- func (op *ResetNsxCredentialsOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- func (op *ResetNsxCredentialsOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- type ResetVcenterCredentialsOperation
- func (op *ResetVcenterCredentialsOperation) Done() bool
- func (op *ResetVcenterCredentialsOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *ResetVcenterCredentialsOperation) Name() string
- func (op *ResetVcenterCredentialsOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- func (op *ResetVcenterCredentialsOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- type RevokeDnsBindPermissionOperation
- func (op *RevokeDnsBindPermissionOperation) Done() bool
- func (op *RevokeDnsBindPermissionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *RevokeDnsBindPermissionOperation) Name() string
- func (op *RevokeDnsBindPermissionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
- func (op *RevokeDnsBindPermissionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
- type SubnetIterator
- func (it *SubnetIterator) All() iter.Seq2[*vmwareenginepb.Subnet, error]
- func (it *SubnetIterator) Next() (*vmwareenginepb.Subnet, error)
- func (it *SubnetIterator) PageInfo() *iterator.PageInfo
- type UndeletePrivateCloudOperation
- func (op *UndeletePrivateCloudOperation) Done() bool
- func (op *UndeletePrivateCloudOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UndeletePrivateCloudOperation) Name() string
- func (op *UndeletePrivateCloudOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- func (op *UndeletePrivateCloudOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- type UpdateClusterOperation
- func (op *UpdateClusterOperation) Done() bool
- func (op *UpdateClusterOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateClusterOperation) Name() string
- func (op *UpdateClusterOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
- func (op *UpdateClusterOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
- type UpdateDnsForwardingOperation
- func (op *UpdateDnsForwardingOperation) Done() bool
- func (op *UpdateDnsForwardingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateDnsForwardingOperation) Name() string
- func (op *UpdateDnsForwardingOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsForwarding, error)
- func (op *UpdateDnsForwardingOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsForwarding, error)
- type UpdateExternalAccessRuleOperation
- func (op *UpdateExternalAccessRuleOperation) Done() bool
- func (op *UpdateExternalAccessRuleOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateExternalAccessRuleOperation) Name() string
- func (op *UpdateExternalAccessRuleOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
- func (op *UpdateExternalAccessRuleOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
- type UpdateExternalAddressOperation
- func (op *UpdateExternalAddressOperation) Done() bool
- func (op *UpdateExternalAddressOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateExternalAddressOperation) Name() string
- func (op *UpdateExternalAddressOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
- func (op *UpdateExternalAddressOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
- type UpdateLoggingServerOperation
- func (op *UpdateLoggingServerOperation) Done() bool
- func (op *UpdateLoggingServerOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateLoggingServerOperation) Name() string
- func (op *UpdateLoggingServerOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
- func (op *UpdateLoggingServerOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
- type UpdateManagementDnsZoneBindingOperation
- func (op *UpdateManagementDnsZoneBindingOperation) Done() bool
- func (op *UpdateManagementDnsZoneBindingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateManagementDnsZoneBindingOperation) Name() string
- func (op *UpdateManagementDnsZoneBindingOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
- func (op *UpdateManagementDnsZoneBindingOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
- type UpdateNetworkPeeringOperation
- func (op *UpdateNetworkPeeringOperation) Done() bool
- func (op *UpdateNetworkPeeringOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateNetworkPeeringOperation) Name() string
- func (op *UpdateNetworkPeeringOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
- func (op *UpdateNetworkPeeringOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
- type UpdateNetworkPolicyOperation
- func (op *UpdateNetworkPolicyOperation) Done() bool
- func (op *UpdateNetworkPolicyOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateNetworkPolicyOperation) Name() string
- func (op *UpdateNetworkPolicyOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
- func (op *UpdateNetworkPolicyOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
- type UpdatePrivateCloudOperation
- func (op *UpdatePrivateCloudOperation) Done() bool
- func (op *UpdatePrivateCloudOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdatePrivateCloudOperation) Name() string
- func (op *UpdatePrivateCloudOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- func (op *UpdatePrivateCloudOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
- type UpdatePrivateConnectionOperation
- func (op *UpdatePrivateConnectionOperation) Done() bool
- func (op *UpdatePrivateConnectionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdatePrivateConnectionOperation) Name() string
- func (op *UpdatePrivateConnectionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
- func (op *UpdatePrivateConnectionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
- type UpdateSubnetOperation
- func (op *UpdateSubnetOperation) Done() bool
- func (op *UpdateSubnetOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateSubnetOperation) Name() string
- func (op *UpdateSubnetOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Subnet, error)
- func (op *UpdateSubnetOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Subnet, error)
- type UpdateVmwareEngineNetworkOperation
- func (op *UpdateVmwareEngineNetworkOperation) Done() bool
- func (op *UpdateVmwareEngineNetworkOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
- func (op *UpdateVmwareEngineNetworkOperation) Name() string
- func (op *UpdateVmwareEngineNetworkOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
- func (op *UpdateVmwareEngineNetworkOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
- type VmwareEngineNetworkIterator
Examples ¶
- Client.CreateCluster
- Client.CreateExternalAccessRule
- Client.CreateExternalAddress
- Client.CreateHcxActivationKey
- Client.CreateLoggingServer
- Client.CreateManagementDnsZoneBinding
- Client.CreateNetworkPeering
- Client.CreateNetworkPolicy
- Client.CreatePrivateCloud
- Client.CreatePrivateConnection
- Client.CreateVmwareEngineNetwork
- Client.DeleteCluster
- Client.DeleteExternalAccessRule
- Client.DeleteExternalAddress
- Client.DeleteLoggingServer
- Client.DeleteManagementDnsZoneBinding
- Client.DeleteNetworkPeering
- Client.DeleteNetworkPolicy
- Client.DeleteOperation
- Client.DeletePrivateCloud
- Client.DeletePrivateConnection
- Client.DeleteVmwareEngineNetwork
- Client.FetchNetworkPolicyExternalAddresses
- Client.FetchNetworkPolicyExternalAddresses (All)
- Client.GetCluster
- Client.GetDnsBindPermission
- Client.GetDnsForwarding
- Client.GetExternalAccessRule
- Client.GetExternalAddress
- Client.GetHcxActivationKey
- Client.GetIamPolicy
- Client.GetLocation
- Client.GetLoggingServer
- Client.GetManagementDnsZoneBinding
- Client.GetNetworkPeering
- Client.GetNetworkPolicy
- Client.GetNode
- Client.GetNodeType
- Client.GetOperation
- Client.GetPrivateCloud
- Client.GetPrivateConnection
- Client.GetSubnet
- Client.GetVmwareEngineNetwork
- Client.GrantDnsBindPermission
- Client.ListClusters
- Client.ListClusters (All)
- Client.ListExternalAccessRules
- Client.ListExternalAccessRules (All)
- Client.ListExternalAddresses
- Client.ListExternalAddresses (All)
- Client.ListHcxActivationKeys
- Client.ListHcxActivationKeys (All)
- Client.ListLocations
- Client.ListLocations (All)
- Client.ListLoggingServers
- Client.ListLoggingServers (All)
- Client.ListManagementDnsZoneBindings
- Client.ListManagementDnsZoneBindings (All)
- Client.ListNetworkPeerings
- Client.ListNetworkPeerings (All)
- Client.ListNetworkPolicies
- Client.ListNetworkPolicies (All)
- Client.ListNodeTypes
- Client.ListNodeTypes (All)
- Client.ListNodes
- Client.ListNodes (All)
- Client.ListOperations
- Client.ListOperations (All)
- Client.ListPeeringRoutes
- Client.ListPeeringRoutes (All)
- Client.ListPrivateClouds
- Client.ListPrivateClouds (All)
- Client.ListPrivateConnectionPeeringRoutes
- Client.ListPrivateConnectionPeeringRoutes (All)
- Client.ListPrivateConnections
- Client.ListPrivateConnections (All)
- Client.ListSubnets
- Client.ListSubnets (All)
- Client.ListVmwareEngineNetworks
- Client.ListVmwareEngineNetworks (All)
- Client.RepairManagementDnsZoneBinding
- Client.ResetNsxCredentials
- Client.ResetVcenterCredentials
- Client.RevokeDnsBindPermission
- Client.SetIamPolicy
- Client.ShowNsxCredentials
- Client.ShowVcenterCredentials
- Client.TestIamPermissions
- Client.UndeletePrivateCloud
- Client.UpdateCluster
- Client.UpdateDnsForwarding
- Client.UpdateExternalAccessRule
- Client.UpdateExternalAddress
- Client.UpdateLoggingServer
- Client.UpdateManagementDnsZoneBinding
- Client.UpdateNetworkPeering
- Client.UpdateNetworkPolicy
- Client.UpdatePrivateCloud
- Client.UpdatePrivateConnection
- Client.UpdateSubnet
- Client.UpdateVmwareEngineNetwork
- NewClient
- NewRESTClient
Functions ¶
func DefaultAuthScopes ¶
func DefaultAuthScopes() []string
DefaultAuthScopes reports the default set of authentication scopes to use with this package.
Types ¶
type CallOptions ¶
type CallOptions struct { ListPrivateClouds []gax.CallOption GetPrivateCloud []gax.CallOption CreatePrivateCloud []gax.CallOption UpdatePrivateCloud []gax.CallOption DeletePrivateCloud []gax.CallOption UndeletePrivateCloud []gax.CallOption ListClusters []gax.CallOption GetCluster []gax.CallOption CreateCluster []gax.CallOption UpdateCluster []gax.CallOption DeleteCluster []gax.CallOption ListNodes []gax.CallOption GetNode []gax.CallOption ListExternalAddresses []gax.CallOption FetchNetworkPolicyExternalAddresses []gax.CallOption GetExternalAddress []gax.CallOption CreateExternalAddress []gax.CallOption UpdateExternalAddress []gax.CallOption DeleteExternalAddress []gax.CallOption ListSubnets []gax.CallOption GetSubnet []gax.CallOption UpdateSubnet []gax.CallOption ListExternalAccessRules []gax.CallOption GetExternalAccessRule []gax.CallOption CreateExternalAccessRule []gax.CallOption UpdateExternalAccessRule []gax.CallOption DeleteExternalAccessRule []gax.CallOption ListLoggingServers []gax.CallOption GetLoggingServer []gax.CallOption CreateLoggingServer []gax.CallOption UpdateLoggingServer []gax.CallOption DeleteLoggingServer []gax.CallOption ListNodeTypes []gax.CallOption GetNodeType []gax.CallOption ShowNsxCredentials []gax.CallOption ShowVcenterCredentials []gax.CallOption ResetNsxCredentials []gax.CallOption ResetVcenterCredentials []gax.CallOption GetDnsForwarding []gax.CallOption UpdateDnsForwarding []gax.CallOption GetNetworkPeering []gax.CallOption ListNetworkPeerings []gax.CallOption CreateNetworkPeering []gax.CallOption DeleteNetworkPeering []gax.CallOption UpdateNetworkPeering []gax.CallOption ListPeeringRoutes []gax.CallOption CreateHcxActivationKey []gax.CallOption ListHcxActivationKeys []gax.CallOption GetHcxActivationKey []gax.CallOption GetNetworkPolicy []gax.CallOption ListNetworkPolicies []gax.CallOption CreateNetworkPolicy []gax.CallOption UpdateNetworkPolicy []gax.CallOption DeleteNetworkPolicy []gax.CallOption ListManagementDnsZoneBindings []gax.CallOption GetManagementDnsZoneBinding []gax.CallOption CreateManagementDnsZoneBinding []gax.CallOption UpdateManagementDnsZoneBinding []gax.CallOption DeleteManagementDnsZoneBinding []gax.CallOption RepairManagementDnsZoneBinding []gax.CallOption CreateVmwareEngineNetwork []gax.CallOption UpdateVmwareEngineNetwork []gax.CallOption DeleteVmwareEngineNetwork []gax.CallOption GetVmwareEngineNetwork []gax.CallOption ListVmwareEngineNetworks []gax.CallOption CreatePrivateConnection []gax.CallOption GetPrivateConnection []gax.CallOption ListPrivateConnections []gax.CallOption UpdatePrivateConnection []gax.CallOption DeletePrivateConnection []gax.CallOption ListPrivateConnectionPeeringRoutes []gax.CallOption GrantDnsBindPermission []gax.CallOption GetDnsBindPermission []gax.CallOption RevokeDnsBindPermission []gax.CallOption GetLocation []gax.CallOption ListLocations []gax.CallOption GetIamPolicy []gax.CallOption SetIamPolicy []gax.CallOption TestIamPermissions []gax.CallOption DeleteOperation []gax.CallOption GetOperation []gax.CallOption ListOperations []gax.CallOption }
CallOptions contains the retry settings for each method of Client.
type Client ¶
type Client struct { // The call options for this service. CallOptions *CallOptions // LROClient is used internally to handle long-running operations. // It is exposed so that its CallOptions can be modified if required. // Users should not Close this client. LROClient *lroauto.OperationsClient // contains filtered or unexported fields }
Client is a client for interacting with VMware Engine API. Methods, except Close, may be called concurrently. However, fields must not be modified concurrently with method calls.
VMwareEngine manages VMware’s private clusters in the Cloud.
func NewClient ¶
NewClient creates a new vmware engine client based on gRPC. The returned client must be Closed when it is done being used to clean up its underlying connections.
VMwareEngine manages VMware’s private clusters in the Cloud.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
// TODO: Use client.
_ = c
}
func NewRESTClient ¶
NewRESTClient creates a new vmware engine rest client.
VMwareEngine manages VMware’s private clusters in the Cloud.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewRESTClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
// TODO: Use client.
_ = c
}
func (*Client) Close ¶
Close closes the connection to the API service. The user should invoke this when the client is no longer required.
func (*Client) Connection ¶
func (c *Client) Connection() *grpc.ClientConn
Connection returns a connection to the API service.
Deprecated: Connections are now pooled so this method does not always return the same resource.
func (*Client) CreateCluster ¶
func (c *Client) CreateCluster(ctx context.Context, req *vmwareenginepb.CreateClusterRequest, opts ...gax.CallOption) (*CreateClusterOperation, error)
CreateCluster 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 (at https://cloud.google.com/vmware-engine/quotas).
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateClusterRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateClusterRequest.
}
op, err := c.CreateCluster(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateClusterOperation ¶
func (c *Client) CreateClusterOperation(name string) *CreateClusterOperation
CreateClusterOperation returns a new CreateClusterOperation from a given name. The name must be that of a previously created CreateClusterOperation, possibly from a different process.
func (*Client) CreateExternalAccessRule ¶
func (c *Client) CreateExternalAccessRule(ctx context.Context, req *vmwareenginepb.CreateExternalAccessRuleRequest, opts ...gax.CallOption) (*CreateExternalAccessRuleOperation, error)
CreateExternalAccessRule creates a new external access rule in a given network policy.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateExternalAccessRuleRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateExternalAccessRuleRequest.
}
op, err := c.CreateExternalAccessRule(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateExternalAccessRuleOperation ¶
func (c *Client) CreateExternalAccessRuleOperation(name string) *CreateExternalAccessRuleOperation
CreateExternalAccessRuleOperation returns a new CreateExternalAccessRuleOperation from a given name. The name must be that of a previously created CreateExternalAccessRuleOperation, possibly from a different process.
func (*Client) CreateExternalAddress ¶
func (c *Client) CreateExternalAddress(ctx context.Context, req *vmwareenginepb.CreateExternalAddressRequest, opts ...gax.CallOption) (*CreateExternalAddressOperation, error)
CreateExternalAddress 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).
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateExternalAddressRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateExternalAddressRequest.
}
op, err := c.CreateExternalAddress(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateExternalAddressOperation ¶
func (c *Client) CreateExternalAddressOperation(name string) *CreateExternalAddressOperation
CreateExternalAddressOperation returns a new CreateExternalAddressOperation from a given name. The name must be that of a previously created CreateExternalAddressOperation, possibly from a different process.
func (*Client) CreateHcxActivationKey ¶
func (c *Client) CreateHcxActivationKey(ctx context.Context, req *vmwareenginepb.CreateHcxActivationKeyRequest, opts ...gax.CallOption) (*CreateHcxActivationKeyOperation, error)
CreateHcxActivationKey creates a new HCX activation key in a given private cloud.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateHcxActivationKeyRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateHcxActivationKeyRequest.
}
op, err := c.CreateHcxActivationKey(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateHcxActivationKeyOperation ¶
func (c *Client) CreateHcxActivationKeyOperation(name string) *CreateHcxActivationKeyOperation
CreateHcxActivationKeyOperation returns a new CreateHcxActivationKeyOperation from a given name. The name must be that of a previously created CreateHcxActivationKeyOperation, possibly from a different process.
func (*Client) CreateLoggingServer ¶
func (c *Client) CreateLoggingServer(ctx context.Context, req *vmwareenginepb.CreateLoggingServerRequest, opts ...gax.CallOption) (*CreateLoggingServerOperation, error)
CreateLoggingServer create a new logging server for a given private cloud.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateLoggingServerRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateLoggingServerRequest.
}
op, err := c.CreateLoggingServer(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateLoggingServerOperation ¶
func (c *Client) CreateLoggingServerOperation(name string) *CreateLoggingServerOperation
CreateLoggingServerOperation returns a new CreateLoggingServerOperation from a given name. The name must be that of a previously created CreateLoggingServerOperation, possibly from a different process.
func (*Client) CreateManagementDnsZoneBinding ¶
func (c *Client) CreateManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.CreateManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*CreateManagementDnsZoneBindingOperation, error)
CreateManagementDnsZoneBinding 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateManagementDnsZoneBindingRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateManagementDnsZoneBindingRequest.
}
op, err := c.CreateManagementDnsZoneBinding(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateManagementDnsZoneBindingOperation ¶
func (c *Client) CreateManagementDnsZoneBindingOperation(name string) *CreateManagementDnsZoneBindingOperation
CreateManagementDnsZoneBindingOperation returns a new CreateManagementDnsZoneBindingOperation from a given name. The name must be that of a previously created CreateManagementDnsZoneBindingOperation, possibly from a different process.
func (*Client) CreateNetworkPeering ¶
func (c *Client) CreateNetworkPeering(ctx context.Context, req *vmwareenginepb.CreateNetworkPeeringRequest, opts ...gax.CallOption) (*CreateNetworkPeeringOperation, error)
CreateNetworkPeering 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateNetworkPeeringRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateNetworkPeeringRequest.
}
op, err := c.CreateNetworkPeering(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateNetworkPeeringOperation ¶
func (c *Client) CreateNetworkPeeringOperation(name string) *CreateNetworkPeeringOperation
CreateNetworkPeeringOperation returns a new CreateNetworkPeeringOperation from a given name. The name must be that of a previously created CreateNetworkPeeringOperation, possibly from a different process.
func (*Client) CreateNetworkPolicy ¶
func (c *Client) CreateNetworkPolicy(ctx context.Context, req *vmwareenginepb.CreateNetworkPolicyRequest, opts ...gax.CallOption) (*CreateNetworkPolicyOperation, error)
CreateNetworkPolicy 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateNetworkPolicyRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateNetworkPolicyRequest.
}
op, err := c.CreateNetworkPolicy(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateNetworkPolicyOperation ¶
func (c *Client) CreateNetworkPolicyOperation(name string) *CreateNetworkPolicyOperation
CreateNetworkPolicyOperation returns a new CreateNetworkPolicyOperation from a given name. The name must be that of a previously created CreateNetworkPolicyOperation, possibly from a different process.
func (*Client) CreatePrivateCloud ¶
func (c *Client) CreatePrivateCloud(ctx context.Context, req *vmwareenginepb.CreatePrivateCloudRequest, opts ...gax.CallOption) (*CreatePrivateCloudOperation, error)
CreatePrivateCloud 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 (at https://cloud.google.com/vmware-engine/docs/concepts-vmware-components)
for that private cloud.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreatePrivateCloudRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreatePrivateCloudRequest.
}
op, err := c.CreatePrivateCloud(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreatePrivateCloudOperation ¶
func (c *Client) CreatePrivateCloudOperation(name string) *CreatePrivateCloudOperation
CreatePrivateCloudOperation returns a new CreatePrivateCloudOperation from a given name. The name must be that of a previously created CreatePrivateCloudOperation, possibly from a different process.
func (*Client) CreatePrivateConnection ¶
func (c *Client) CreatePrivateConnection(ctx context.Context, req *vmwareenginepb.CreatePrivateConnectionRequest, opts ...gax.CallOption) (*CreatePrivateConnectionOperation, error)
CreatePrivateConnection creates a new private connection that can be used for accessing private
Clouds.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreatePrivateConnectionRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreatePrivateConnectionRequest.
}
op, err := c.CreatePrivateConnection(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreatePrivateConnectionOperation ¶
func (c *Client) CreatePrivateConnectionOperation(name string) *CreatePrivateConnectionOperation
CreatePrivateConnectionOperation returns a new CreatePrivateConnectionOperation from a given name. The name must be that of a previously created CreatePrivateConnectionOperation, possibly from a different process.
func (*Client) CreateVmwareEngineNetwork ¶
func (c *Client) CreateVmwareEngineNetwork(ctx context.Context, req *vmwareenginepb.CreateVmwareEngineNetworkRequest, opts ...gax.CallOption) (*CreateVmwareEngineNetworkOperation, error)
CreateVmwareEngineNetwork creates a new VMware Engine network that can be used by a private cloud.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.CreateVmwareEngineNetworkRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#CreateVmwareEngineNetworkRequest.
}
op, err := c.CreateVmwareEngineNetwork(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) CreateVmwareEngineNetworkOperation ¶
func (c *Client) CreateVmwareEngineNetworkOperation(name string) *CreateVmwareEngineNetworkOperation
CreateVmwareEngineNetworkOperation returns a new CreateVmwareEngineNetworkOperation from a given name. The name must be that of a previously created CreateVmwareEngineNetworkOperation, possibly from a different process.
func (*Client) DeleteCluster ¶
func (c *Client) DeleteCluster(ctx context.Context, req *vmwareenginepb.DeleteClusterRequest, opts ...gax.CallOption) (*DeleteClusterOperation, error)
DeleteCluster 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeleteClusterRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeleteClusterRequest.
}
op, err := c.DeleteCluster(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeleteClusterOperation ¶
func (c *Client) DeleteClusterOperation(name string) *DeleteClusterOperation
DeleteClusterOperation returns a new DeleteClusterOperation from a given name. The name must be that of a previously created DeleteClusterOperation, possibly from a different process.
func (*Client) DeleteExternalAccessRule ¶
func (c *Client) DeleteExternalAccessRule(ctx context.Context, req *vmwareenginepb.DeleteExternalAccessRuleRequest, opts ...gax.CallOption) (*DeleteExternalAccessRuleOperation, error)
DeleteExternalAccessRule deletes a single external access rule.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeleteExternalAccessRuleRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeleteExternalAccessRuleRequest.
}
op, err := c.DeleteExternalAccessRule(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeleteExternalAccessRuleOperation ¶
func (c *Client) DeleteExternalAccessRuleOperation(name string) *DeleteExternalAccessRuleOperation
DeleteExternalAccessRuleOperation returns a new DeleteExternalAccessRuleOperation from a given name. The name must be that of a previously created DeleteExternalAccessRuleOperation, possibly from a different process.
func (*Client) DeleteExternalAddress ¶
func (c *Client) DeleteExternalAddress(ctx context.Context, req *vmwareenginepb.DeleteExternalAddressRequest, opts ...gax.CallOption) (*DeleteExternalAddressOperation, error)
DeleteExternalAddress 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeleteExternalAddressRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeleteExternalAddressRequest.
}
op, err := c.DeleteExternalAddress(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeleteExternalAddressOperation ¶
func (c *Client) DeleteExternalAddressOperation(name string) *DeleteExternalAddressOperation
DeleteExternalAddressOperation returns a new DeleteExternalAddressOperation from a given name. The name must be that of a previously created DeleteExternalAddressOperation, possibly from a different process.
func (*Client) DeleteLoggingServer ¶
func (c *Client) DeleteLoggingServer(ctx context.Context, req *vmwareenginepb.DeleteLoggingServerRequest, opts ...gax.CallOption) (*DeleteLoggingServerOperation, error)
DeleteLoggingServer deletes a single logging server.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeleteLoggingServerRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeleteLoggingServerRequest.
}
op, err := c.DeleteLoggingServer(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeleteLoggingServerOperation ¶
func (c *Client) DeleteLoggingServerOperation(name string) *DeleteLoggingServerOperation
DeleteLoggingServerOperation returns a new DeleteLoggingServerOperation from a given name. The name must be that of a previously created DeleteLoggingServerOperation, possibly from a different process.
func (*Client) DeleteManagementDnsZoneBinding ¶
func (c *Client) DeleteManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.DeleteManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*DeleteManagementDnsZoneBindingOperation, error)
DeleteManagementDnsZoneBinding 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeleteManagementDnsZoneBindingRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeleteManagementDnsZoneBindingRequest.
}
op, err := c.DeleteManagementDnsZoneBinding(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeleteManagementDnsZoneBindingOperation ¶
func (c *Client) DeleteManagementDnsZoneBindingOperation(name string) *DeleteManagementDnsZoneBindingOperation
DeleteManagementDnsZoneBindingOperation returns a new DeleteManagementDnsZoneBindingOperation from a given name. The name must be that of a previously created DeleteManagementDnsZoneBindingOperation, possibly from a different process.
func (*Client) DeleteNetworkPeering ¶
func (c *Client) DeleteNetworkPeering(ctx context.Context, req *vmwareenginepb.DeleteNetworkPeeringRequest, opts ...gax.CallOption) (*DeleteNetworkPeeringOperation, error)
DeleteNetworkPeering 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeleteNetworkPeeringRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeleteNetworkPeeringRequest.
}
op, err := c.DeleteNetworkPeering(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeleteNetworkPeeringOperation ¶
func (c *Client) DeleteNetworkPeeringOperation(name string) *DeleteNetworkPeeringOperation
DeleteNetworkPeeringOperation returns a new DeleteNetworkPeeringOperation from a given name. The name must be that of a previously created DeleteNetworkPeeringOperation, possibly from a different process.
func (*Client) DeleteNetworkPolicy ¶
func (c *Client) DeleteNetworkPolicy(ctx context.Context, req *vmwareenginepb.DeleteNetworkPolicyRequest, opts ...gax.CallOption) (*DeleteNetworkPolicyOperation, error)
DeleteNetworkPolicy 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeleteNetworkPolicyRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeleteNetworkPolicyRequest.
}
op, err := c.DeleteNetworkPolicy(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeleteNetworkPolicyOperation ¶
func (c *Client) DeleteNetworkPolicyOperation(name string) *DeleteNetworkPolicyOperation
DeleteNetworkPolicyOperation returns a new DeleteNetworkPolicyOperation from a given name. The name must be that of a previously created DeleteNetworkPolicyOperation, possibly from a different process.
func (*Client) DeleteOperation ¶
func (c *Client) DeleteOperation(ctx context.Context, req *longrunningpb.DeleteOperationRequest, opts ...gax.CallOption) error
DeleteOperation is a utility method from google.longrunning.Operations.
Code:play
Example¶
package main
import (
"context"
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &longrunningpb.DeleteOperationRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#DeleteOperationRequest.
}
err = c.DeleteOperation(ctx, req)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeletePrivateCloud ¶
func (c *Client) DeletePrivateCloud(ctx context.Context, req *vmwareenginepb.DeletePrivateCloudRequest, opts ...gax.CallOption) (*DeletePrivateCloudOperation, error)
DeletePrivateCloud 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeletePrivateCloudRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeletePrivateCloudRequest.
}
op, err := c.DeletePrivateCloud(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) DeletePrivateCloudOperation ¶
func (c *Client) DeletePrivateCloudOperation(name string) *DeletePrivateCloudOperation
DeletePrivateCloudOperation returns a new DeletePrivateCloudOperation from a given name. The name must be that of a previously created DeletePrivateCloudOperation, possibly from a different process.
func (*Client) DeletePrivateConnection ¶
func (c *Client) DeletePrivateConnection(ctx context.Context, req *vmwareenginepb.DeletePrivateConnectionRequest, opts ...gax.CallOption) (*DeletePrivateConnectionOperation, error)
DeletePrivateConnection 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeletePrivateConnectionRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeletePrivateConnectionRequest.
}
op, err := c.DeletePrivateConnection(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeletePrivateConnectionOperation ¶
func (c *Client) DeletePrivateConnectionOperation(name string) *DeletePrivateConnectionOperation
DeletePrivateConnectionOperation returns a new DeletePrivateConnectionOperation from a given name. The name must be that of a previously created DeletePrivateConnectionOperation, possibly from a different process.
func (*Client) DeleteVmwareEngineNetwork ¶
func (c *Client) DeleteVmwareEngineNetwork(ctx context.Context, req *vmwareenginepb.DeleteVmwareEngineNetworkRequest, opts ...gax.CallOption) (*DeleteVmwareEngineNetworkOperation, error)
DeleteVmwareEngineNetwork 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.DeleteVmwareEngineNetworkRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#DeleteVmwareEngineNetworkRequest.
}
op, err := c.DeleteVmwareEngineNetwork(ctx, req)
if err != nil {
// TODO: Handle error.
}
err = op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
}
func (*Client) DeleteVmwareEngineNetworkOperation ¶
func (c *Client) DeleteVmwareEngineNetworkOperation(name string) *DeleteVmwareEngineNetworkOperation
DeleteVmwareEngineNetworkOperation returns a new DeleteVmwareEngineNetworkOperation from a given name. The name must be that of a previously created DeleteVmwareEngineNetworkOperation, possibly from a different process.
func (*Client) FetchNetworkPolicyExternalAddresses ¶
func (c *Client) FetchNetworkPolicyExternalAddresses(ctx context.Context, req *vmwareenginepb.FetchNetworkPolicyExternalAddressesRequest, opts ...gax.CallOption) *ExternalAddressIterator
FetchNetworkPolicyExternalAddresses lists external IP addresses assigned to VMware workload VMs within the
scope of the given network policy.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.FetchNetworkPolicyExternalAddressesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#FetchNetworkPolicyExternalAddressesRequest.
}
it := c.FetchNetworkPolicyExternalAddresses(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.FetchNetworkPolicyExternalAddressesResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.FetchNetworkPolicyExternalAddressesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#FetchNetworkPolicyExternalAddressesRequest.
}
for resp, err := range c.FetchNetworkPolicyExternalAddresses(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) GetCluster ¶
func (c *Client) GetCluster(ctx context.Context, req *vmwareenginepb.GetClusterRequest, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
GetCluster retrieves a Cluster resource by its resource name.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetClusterRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetClusterRequest.
}
resp, err := c.GetCluster(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetDnsBindPermission ¶
func (c *Client) GetDnsBindPermission(ctx context.Context, req *vmwareenginepb.GetDnsBindPermissionRequest, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
GetDnsBindPermission 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetDnsBindPermissionRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetDnsBindPermissionRequest.
}
resp, err := c.GetDnsBindPermission(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetDnsForwarding ¶
func (c *Client) GetDnsForwarding(ctx context.Context, req *vmwareenginepb.GetDnsForwardingRequest, opts ...gax.CallOption) (*vmwareenginepb.DnsForwarding, error)
GetDnsForwarding gets details of the DnsForwarding config.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetDnsForwardingRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetDnsForwardingRequest.
}
resp, err := c.GetDnsForwarding(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetExternalAccessRule ¶
func (c *Client) GetExternalAccessRule(ctx context.Context, req *vmwareenginepb.GetExternalAccessRuleRequest, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
GetExternalAccessRule gets details of a single external access rule.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetExternalAccessRuleRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetExternalAccessRuleRequest.
}
resp, err := c.GetExternalAccessRule(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetExternalAddress ¶
func (c *Client) GetExternalAddress(ctx context.Context, req *vmwareenginepb.GetExternalAddressRequest, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
GetExternalAddress gets details of a single external IP address.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetExternalAddressRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetExternalAddressRequest.
}
resp, err := c.GetExternalAddress(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetHcxActivationKey ¶
func (c *Client) GetHcxActivationKey(ctx context.Context, req *vmwareenginepb.GetHcxActivationKeyRequest, opts ...gax.CallOption) (*vmwareenginepb.HcxActivationKey, error)
GetHcxActivationKey retrieves a HcxActivationKey resource by its resource name.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetHcxActivationKeyRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetHcxActivationKeyRequest.
}
resp, err := c.GetHcxActivationKey(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetIamPolicy ¶
func (c *Client) GetIamPolicy(ctx context.Context, req *iampb.GetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error)
GetIamPolicy gets the access control policy for a resource. Returns an empty policy
if the resource exists and does not have a policy set.
Code:play
Example¶
package main
import (
"context"
iampb "cloud.google.com/go/iam/apiv1/iampb"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &iampb.GetIamPolicyRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#GetIamPolicyRequest.
}
resp, err := c.GetIamPolicy(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetLocation ¶
func (c *Client) GetLocation(ctx context.Context, req *locationpb.GetLocationRequest, opts ...gax.CallOption) (*locationpb.Location, error)
GetLocation gets information about a location.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
locationpb "google.golang.org/genproto/googleapis/cloud/location"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &locationpb.GetLocationRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#GetLocationRequest.
}
resp, err := c.GetLocation(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetLoggingServer ¶
func (c *Client) GetLoggingServer(ctx context.Context, req *vmwareenginepb.GetLoggingServerRequest, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
GetLoggingServer gets details of a logging server.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetLoggingServerRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetLoggingServerRequest.
}
resp, err := c.GetLoggingServer(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetManagementDnsZoneBinding ¶
func (c *Client) GetManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.GetManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
GetManagementDnsZoneBinding retrieves a ‘ManagementDnsZoneBinding’ resource by its resource name.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetManagementDnsZoneBindingRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetManagementDnsZoneBindingRequest.
}
resp, err := c.GetManagementDnsZoneBinding(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetNetworkPeering ¶
func (c *Client) GetNetworkPeering(ctx context.Context, req *vmwareenginepb.GetNetworkPeeringRequest, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
GetNetworkPeering 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetNetworkPeeringRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetNetworkPeeringRequest.
}
resp, err := c.GetNetworkPeering(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetNetworkPolicy ¶
func (c *Client) GetNetworkPolicy(ctx context.Context, req *vmwareenginepb.GetNetworkPolicyRequest, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
GetNetworkPolicy retrieves a NetworkPolicy resource by its resource name.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetNetworkPolicyRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetNetworkPolicyRequest.
}
resp, err := c.GetNetworkPolicy(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetNode ¶
func (c *Client) GetNode(ctx context.Context, req *vmwareenginepb.GetNodeRequest, opts ...gax.CallOption) (*vmwareenginepb.Node, error)
GetNode gets details of a single node.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetNodeRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetNodeRequest.
}
resp, err := c.GetNode(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetNodeType ¶
func (c *Client) GetNodeType(ctx context.Context, req *vmwareenginepb.GetNodeTypeRequest, opts ...gax.CallOption) (*vmwareenginepb.NodeType, error)
GetNodeType gets details of a single NodeType.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetNodeTypeRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetNodeTypeRequest.
}
resp, err := c.GetNodeType(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetOperation ¶
func (c *Client) GetOperation(ctx context.Context, req *longrunningpb.GetOperationRequest, opts ...gax.CallOption) (*longrunningpb.Operation, error)
GetOperation is a utility method from google.longrunning.Operations.
Code:play
Example¶
package main
import (
"context"
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &longrunningpb.GetOperationRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#GetOperationRequest.
}
resp, err := c.GetOperation(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetPrivateCloud ¶
func (c *Client) GetPrivateCloud(ctx context.Context, req *vmwareenginepb.GetPrivateCloudRequest, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
GetPrivateCloud retrieves a PrivateCloud resource by its resource name.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetPrivateCloudRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetPrivateCloudRequest.
}
resp, err := c.GetPrivateCloud(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetPrivateConnection ¶
func (c *Client) GetPrivateConnection(ctx context.Context, req *vmwareenginepb.GetPrivateConnectionRequest, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
GetPrivateConnection retrieves a PrivateConnection resource by its resource name. The resource
contains details of the private connection, such as connected
network, routing mode and state.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetPrivateConnectionRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetPrivateConnectionRequest.
}
resp, err := c.GetPrivateConnection(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetSubnet ¶
func (c *Client) GetSubnet(ctx context.Context, req *vmwareenginepb.GetSubnetRequest, opts ...gax.CallOption) (*vmwareenginepb.Subnet, error)
GetSubnet gets details of a single subnet.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetSubnetRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetSubnetRequest.
}
resp, err := c.GetSubnet(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GetVmwareEngineNetwork ¶
func (c *Client) GetVmwareEngineNetwork(ctx context.Context, req *vmwareenginepb.GetVmwareEngineNetworkRequest, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
GetVmwareEngineNetwork 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).
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GetVmwareEngineNetworkRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GetVmwareEngineNetworkRequest.
}
resp, err := c.GetVmwareEngineNetwork(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GrantDnsBindPermission ¶
func (c *Client) GrantDnsBindPermission(ctx context.Context, req *vmwareenginepb.GrantDnsBindPermissionRequest, opts ...gax.CallOption) (*GrantDnsBindPermissionOperation, error)
GrantDnsBindPermission 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.GrantDnsBindPermissionRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#GrantDnsBindPermissionRequest.
}
op, err := c.GrantDnsBindPermission(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) GrantDnsBindPermissionOperation ¶
func (c *Client) GrantDnsBindPermissionOperation(name string) *GrantDnsBindPermissionOperation
GrantDnsBindPermissionOperation returns a new GrantDnsBindPermissionOperation from a given name. The name must be that of a previously created GrantDnsBindPermissionOperation, possibly from a different process.
func (*Client) ListClusters ¶
func (c *Client) ListClusters(ctx context.Context, req *vmwareenginepb.ListClustersRequest, opts ...gax.CallOption) *ClusterIterator
ListClusters lists Cluster resources in a given private cloud.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListClustersRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListClustersRequest.
}
it := c.ListClusters(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListClustersResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListClustersRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListClustersRequest.
}
for resp, err := range c.ListClusters(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListExternalAccessRules ¶
func (c *Client) ListExternalAccessRules(ctx context.Context, req *vmwareenginepb.ListExternalAccessRulesRequest, opts ...gax.CallOption) *ExternalAccessRuleIterator
ListExternalAccessRules lists ExternalAccessRule resources in the specified network policy.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListExternalAccessRulesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListExternalAccessRulesRequest.
}
it := c.ListExternalAccessRules(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListExternalAccessRulesResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListExternalAccessRulesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListExternalAccessRulesRequest.
}
for resp, err := range c.ListExternalAccessRules(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListExternalAddresses ¶
func (c *Client) ListExternalAddresses(ctx context.Context, req *vmwareenginepb.ListExternalAddressesRequest, opts ...gax.CallOption) *ExternalAddressIterator
ListExternalAddresses lists external IP addresses assigned to VMware workload VMs in a given
private cloud.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListExternalAddressesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListExternalAddressesRequest.
}
it := c.ListExternalAddresses(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListExternalAddressesResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListExternalAddressesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListExternalAddressesRequest.
}
for resp, err := range c.ListExternalAddresses(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListHcxActivationKeys ¶
func (c *Client) ListHcxActivationKeys(ctx context.Context, req *vmwareenginepb.ListHcxActivationKeysRequest, opts ...gax.CallOption) *HcxActivationKeyIterator
ListHcxActivationKeys lists HcxActivationKey resources in a given private cloud.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListHcxActivationKeysRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListHcxActivationKeysRequest.
}
it := c.ListHcxActivationKeys(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListHcxActivationKeysResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListHcxActivationKeysRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListHcxActivationKeysRequest.
}
for resp, err := range c.ListHcxActivationKeys(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListLocations ¶
func (c *Client) ListLocations(ctx context.Context, req *locationpb.ListLocationsRequest, opts ...gax.CallOption) *LocationIterator
ListLocations lists information about the supported locations for this service.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
"google.golang.org/api/iterator"
locationpb "google.golang.org/genproto/googleapis/cloud/location"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &locationpb.ListLocationsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
}
it := c.ListLocations(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*locationpb.ListLocationsResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
locationpb "google.golang.org/genproto/googleapis/cloud/location"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &locationpb.ListLocationsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/google.golang.org/genproto/googleapis/cloud/location#ListLocationsRequest.
}
for resp, err := range c.ListLocations(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListLoggingServers ¶
func (c *Client) ListLoggingServers(ctx context.Context, req *vmwareenginepb.ListLoggingServersRequest, opts ...gax.CallOption) *LoggingServerIterator
ListLoggingServers lists logging servers configured for a given private
cloud.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListLoggingServersRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListLoggingServersRequest.
}
it := c.ListLoggingServers(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListLoggingServersResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListLoggingServersRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListLoggingServersRequest.
}
for resp, err := range c.ListLoggingServers(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListManagementDnsZoneBindings ¶
func (c *Client) ListManagementDnsZoneBindings(ctx context.Context, req *vmwareenginepb.ListManagementDnsZoneBindingsRequest, opts ...gax.CallOption) *ManagementDnsZoneBindingIterator
ListManagementDnsZoneBindings lists Consumer VPCs bound to Management DNS Zone of a given private cloud.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListManagementDnsZoneBindingsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListManagementDnsZoneBindingsRequest.
}
it := c.ListManagementDnsZoneBindings(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListManagementDnsZoneBindingsResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListManagementDnsZoneBindingsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListManagementDnsZoneBindingsRequest.
}
for resp, err := range c.ListManagementDnsZoneBindings(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListNetworkPeerings ¶
func (c *Client) ListNetworkPeerings(ctx context.Context, req *vmwareenginepb.ListNetworkPeeringsRequest, opts ...gax.CallOption) *NetworkPeeringIterator
ListNetworkPeerings lists NetworkPeering resources in a given project. NetworkPeering is a
global resource and location can only be global.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListNetworkPeeringsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListNetworkPeeringsRequest.
}
it := c.ListNetworkPeerings(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListNetworkPeeringsResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListNetworkPeeringsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListNetworkPeeringsRequest.
}
for resp, err := range c.ListNetworkPeerings(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListNetworkPolicies ¶
func (c *Client) ListNetworkPolicies(ctx context.Context, req *vmwareenginepb.ListNetworkPoliciesRequest, opts ...gax.CallOption) *NetworkPolicyIterator
ListNetworkPolicies lists NetworkPolicy resources in a specified project and location.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListNetworkPoliciesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListNetworkPoliciesRequest.
}
it := c.ListNetworkPolicies(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListNetworkPoliciesResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListNetworkPoliciesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListNetworkPoliciesRequest.
}
for resp, err := range c.ListNetworkPolicies(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListNodeTypes ¶
func (c *Client) ListNodeTypes(ctx context.Context, req *vmwareenginepb.ListNodeTypesRequest, opts ...gax.CallOption) *NodeTypeIterator
ListNodeTypes lists node types
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListNodeTypesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListNodeTypesRequest.
}
it := c.ListNodeTypes(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListNodeTypesResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListNodeTypesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListNodeTypesRequest.
}
for resp, err := range c.ListNodeTypes(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListNodes ¶
func (c *Client) ListNodes(ctx context.Context, req *vmwareenginepb.ListNodesRequest, opts ...gax.CallOption) *NodeIterator
ListNodes lists nodes in a given cluster.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListNodesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListNodesRequest.
}
it := c.ListNodes(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListNodesResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListNodesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListNodesRequest.
}
for resp, err := range c.ListNodes(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListOperations ¶
func (c *Client) ListOperations(ctx context.Context, req *longrunningpb.ListOperationsRequest, opts ...gax.CallOption) *OperationIterator
ListOperations is a utility method from google.longrunning.Operations.
Code:play
Code:play
Example¶
package main
import (
"context"
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &longrunningpb.ListOperationsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#ListOperationsRequest.
}
it := c.ListOperations(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*longrunningpb.ListOperationsResponse)
}
}
Example (All)¶
package main
import (
"context"
longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &longrunningpb.ListOperationsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/longrunning/autogen/longrunningpb#ListOperationsRequest.
}
for resp, err := range c.ListOperations(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListPeeringRoutes ¶
func (c *Client) ListPeeringRoutes(ctx context.Context, req *vmwareenginepb.ListPeeringRoutesRequest, opts ...gax.CallOption) *PeeringRouteIterator
ListPeeringRoutes lists the network peering routes exchanged over a peering connection.
NetworkPeering is a global resource and location can only be global.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListPeeringRoutesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListPeeringRoutesRequest.
}
it := c.ListPeeringRoutes(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListPeeringRoutesResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListPeeringRoutesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListPeeringRoutesRequest.
}
for resp, err := range c.ListPeeringRoutes(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListPrivateClouds ¶
func (c *Client) ListPrivateClouds(ctx context.Context, req *vmwareenginepb.ListPrivateCloudsRequest, opts ...gax.CallOption) *PrivateCloudIterator
ListPrivateClouds lists PrivateCloud resources in a given project and location.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListPrivateCloudsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListPrivateCloudsRequest.
}
it := c.ListPrivateClouds(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListPrivateCloudsResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListPrivateCloudsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListPrivateCloudsRequest.
}
for resp, err := range c.ListPrivateClouds(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListPrivateConnectionPeeringRoutes ¶
func (c *Client) ListPrivateConnectionPeeringRoutes(ctx context.Context, req *vmwareenginepb.ListPrivateConnectionPeeringRoutesRequest, opts ...gax.CallOption) *PeeringRouteIterator
ListPrivateConnectionPeeringRoutes lists the private connection routes exchanged over a peering connection.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListPrivateConnectionPeeringRoutesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListPrivateConnectionPeeringRoutesRequest.
}
it := c.ListPrivateConnectionPeeringRoutes(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListPrivateConnectionPeeringRoutesResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListPrivateConnectionPeeringRoutesRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListPrivateConnectionPeeringRoutesRequest.
}
for resp, err := range c.ListPrivateConnectionPeeringRoutes(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListPrivateConnections ¶
func (c *Client) ListPrivateConnections(ctx context.Context, req *vmwareenginepb.ListPrivateConnectionsRequest, opts ...gax.CallOption) *PrivateConnectionIterator
ListPrivateConnections lists PrivateConnection resources in a given project and location.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListPrivateConnectionsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListPrivateConnectionsRequest.
}
it := c.ListPrivateConnections(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListPrivateConnectionsResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListPrivateConnectionsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListPrivateConnectionsRequest.
}
for resp, err := range c.ListPrivateConnections(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListSubnets ¶
func (c *Client) ListSubnets(ctx context.Context, req *vmwareenginepb.ListSubnetsRequest, opts ...gax.CallOption) *SubnetIterator
ListSubnets lists subnets in a given private cloud.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListSubnetsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListSubnetsRequest.
}
it := c.ListSubnets(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListSubnetsResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListSubnetsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListSubnetsRequest.
}
for resp, err := range c.ListSubnets(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) ListVmwareEngineNetworks ¶
func (c *Client) ListVmwareEngineNetworks(ctx context.Context, req *vmwareenginepb.ListVmwareEngineNetworksRequest, opts ...gax.CallOption) *VmwareEngineNetworkIterator
ListVmwareEngineNetworks lists VmwareEngineNetwork resources in a given project and location.
Code:play
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
"google.golang.org/api/iterator"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListVmwareEngineNetworksRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListVmwareEngineNetworksRequest.
}
it := c.ListVmwareEngineNetworks(ctx, req)
for {
resp, err := it.Next()
if err == iterator.Done {
break
}
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
// If you need to access the underlying RPC response,
// you can do so by casting the `Response` as below.
// Otherwise, remove this line. Only populated after
// first call to Next(). Not safe for concurrent access.
_ = it.Response.(*vmwareenginepb.ListVmwareEngineNetworksResponse)
}
}
Example (All)¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ListVmwareEngineNetworksRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ListVmwareEngineNetworksRequest.
}
for resp, err := range c.ListVmwareEngineNetworks(ctx, req).All() {
if err != nil {
// TODO: Handle error and break/return/continue. Iteration will stop after any error.
}
// TODO: Use resp.
_ = resp
}
}
func (*Client) RepairManagementDnsZoneBinding ¶
func (c *Client) RepairManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.RepairManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*RepairManagementDnsZoneBindingOperation, error)
RepairManagementDnsZoneBinding retries to create a ManagementDnsZoneBinding resource that is
in failed state.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.RepairManagementDnsZoneBindingRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#RepairManagementDnsZoneBindingRequest.
}
op, err := c.RepairManagementDnsZoneBinding(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) RepairManagementDnsZoneBindingOperation ¶
func (c *Client) RepairManagementDnsZoneBindingOperation(name string) *RepairManagementDnsZoneBindingOperation
RepairManagementDnsZoneBindingOperation returns a new RepairManagementDnsZoneBindingOperation from a given name. The name must be that of a previously created RepairManagementDnsZoneBindingOperation, possibly from a different process.
func (*Client) ResetNsxCredentials ¶
func (c *Client) ResetNsxCredentials(ctx context.Context, req *vmwareenginepb.ResetNsxCredentialsRequest, opts ...gax.CallOption) (*ResetNsxCredentialsOperation, error)
ResetNsxCredentials resets credentials of the NSX appliance.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ResetNsxCredentialsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ResetNsxCredentialsRequest.
}
op, err := c.ResetNsxCredentials(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) ResetNsxCredentialsOperation ¶
func (c *Client) ResetNsxCredentialsOperation(name string) *ResetNsxCredentialsOperation
ResetNsxCredentialsOperation returns a new ResetNsxCredentialsOperation from a given name. The name must be that of a previously created ResetNsxCredentialsOperation, possibly from a different process.
func (*Client) ResetVcenterCredentials ¶
func (c *Client) ResetVcenterCredentials(ctx context.Context, req *vmwareenginepb.ResetVcenterCredentialsRequest, opts ...gax.CallOption) (*ResetVcenterCredentialsOperation, error)
ResetVcenterCredentials resets credentials of the Vcenter appliance.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ResetVcenterCredentialsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ResetVcenterCredentialsRequest.
}
op, err := c.ResetVcenterCredentials(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) ResetVcenterCredentialsOperation ¶
func (c *Client) ResetVcenterCredentialsOperation(name string) *ResetVcenterCredentialsOperation
ResetVcenterCredentialsOperation returns a new ResetVcenterCredentialsOperation from a given name. The name must be that of a previously created ResetVcenterCredentialsOperation, possibly from a different process.
func (*Client) RevokeDnsBindPermission ¶
func (c *Client) RevokeDnsBindPermission(ctx context.Context, req *vmwareenginepb.RevokeDnsBindPermissionRequest, opts ...gax.CallOption) (*RevokeDnsBindPermissionOperation, error)
RevokeDnsBindPermission 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.RevokeDnsBindPermissionRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#RevokeDnsBindPermissionRequest.
}
op, err := c.RevokeDnsBindPermission(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) RevokeDnsBindPermissionOperation ¶
func (c *Client) RevokeDnsBindPermissionOperation(name string) *RevokeDnsBindPermissionOperation
RevokeDnsBindPermissionOperation returns a new RevokeDnsBindPermissionOperation from a given name. The name must be that of a previously created RevokeDnsBindPermissionOperation, possibly from a different process.
func (*Client) SetIamPolicy ¶
func (c *Client) SetIamPolicy(ctx context.Context, req *iampb.SetIamPolicyRequest, opts ...gax.CallOption) (*iampb.Policy, error)
SetIamPolicy sets the access control policy on the specified resource. Replaces any existing policy.
Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED
errors.
Code:play
Example¶
package main
import (
"context"
iampb "cloud.google.com/go/iam/apiv1/iampb"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &iampb.SetIamPolicyRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#SetIamPolicyRequest.
}
resp, err := c.SetIamPolicy(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) ShowNsxCredentials ¶
func (c *Client) ShowNsxCredentials(ctx context.Context, req *vmwareenginepb.ShowNsxCredentialsRequest, opts ...gax.CallOption) (*vmwareenginepb.Credentials, error)
ShowNsxCredentials gets details of credentials for NSX appliance.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ShowNsxCredentialsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ShowNsxCredentialsRequest.
}
resp, err := c.ShowNsxCredentials(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) ShowVcenterCredentials ¶
func (c *Client) ShowVcenterCredentials(ctx context.Context, req *vmwareenginepb.ShowVcenterCredentialsRequest, opts ...gax.CallOption) (*vmwareenginepb.Credentials, error)
ShowVcenterCredentials gets details of credentials for Vcenter appliance.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.ShowVcenterCredentialsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#ShowVcenterCredentialsRequest.
}
resp, err := c.ShowVcenterCredentials(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) TestIamPermissions ¶
func (c *Client) TestIamPermissions(ctx context.Context, req *iampb.TestIamPermissionsRequest, opts ...gax.CallOption) (*iampb.TestIamPermissionsResponse, error)
TestIamPermissions returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.
Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization
checking. This operation may “fail open” without warning.
Code:play
Example¶
package main
import (
"context"
iampb "cloud.google.com/go/iam/apiv1/iampb"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &iampb.TestIamPermissionsRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/iam/apiv1/iampb#TestIamPermissionsRequest.
}
resp, err := c.TestIamPermissions(ctx, req)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UndeletePrivateCloud ¶
func (c *Client) UndeletePrivateCloud(ctx context.Context, req *vmwareenginepb.UndeletePrivateCloudRequest, opts ...gax.CallOption) (*UndeletePrivateCloudOperation, error)
UndeletePrivateCloud 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UndeletePrivateCloudRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UndeletePrivateCloudRequest.
}
op, err := c.UndeletePrivateCloud(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UndeletePrivateCloudOperation ¶
func (c *Client) UndeletePrivateCloudOperation(name string) *UndeletePrivateCloudOperation
UndeletePrivateCloudOperation returns a new UndeletePrivateCloudOperation from a given name. The name must be that of a previously created UndeletePrivateCloudOperation, possibly from a different process.
func (*Client) UpdateCluster ¶
func (c *Client) UpdateCluster(ctx context.Context, req *vmwareenginepb.UpdateClusterRequest, opts ...gax.CallOption) (*UpdateClusterOperation, error)
UpdateCluster 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateClusterRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateClusterRequest.
}
op, err := c.UpdateCluster(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateClusterOperation ¶
func (c *Client) UpdateClusterOperation(name string) *UpdateClusterOperation
UpdateClusterOperation returns a new UpdateClusterOperation from a given name. The name must be that of a previously created UpdateClusterOperation, possibly from a different process.
func (*Client) UpdateDnsForwarding ¶
func (c *Client) UpdateDnsForwarding(ctx context.Context, req *vmwareenginepb.UpdateDnsForwardingRequest, opts ...gax.CallOption) (*UpdateDnsForwardingOperation, error)
UpdateDnsForwarding updates the parameters of the DnsForwarding config, like associated
domains. Only fields specified in update_mask are applied.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateDnsForwardingRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateDnsForwardingRequest.
}
op, err := c.UpdateDnsForwarding(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateDnsForwardingOperation ¶
func (c *Client) UpdateDnsForwardingOperation(name string) *UpdateDnsForwardingOperation
UpdateDnsForwardingOperation returns a new UpdateDnsForwardingOperation from a given name. The name must be that of a previously created UpdateDnsForwardingOperation, possibly from a different process.
func (*Client) UpdateExternalAccessRule ¶
func (c *Client) UpdateExternalAccessRule(ctx context.Context, req *vmwareenginepb.UpdateExternalAccessRuleRequest, opts ...gax.CallOption) (*UpdateExternalAccessRuleOperation, error)
UpdateExternalAccessRule updates the parameters of a single external access rule.
Only fields specified in update_mask are applied.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateExternalAccessRuleRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateExternalAccessRuleRequest.
}
op, err := c.UpdateExternalAccessRule(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateExternalAccessRuleOperation ¶
func (c *Client) UpdateExternalAccessRuleOperation(name string) *UpdateExternalAccessRuleOperation
UpdateExternalAccessRuleOperation returns a new UpdateExternalAccessRuleOperation from a given name. The name must be that of a previously created UpdateExternalAccessRuleOperation, possibly from a different process.
func (*Client) UpdateExternalAddress ¶
func (c *Client) UpdateExternalAddress(ctx context.Context, req *vmwareenginepb.UpdateExternalAddressRequest, opts ...gax.CallOption) (*UpdateExternalAddressOperation, error)
UpdateExternalAddress 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateExternalAddressRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateExternalAddressRequest.
}
op, err := c.UpdateExternalAddress(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateExternalAddressOperation ¶
func (c *Client) UpdateExternalAddressOperation(name string) *UpdateExternalAddressOperation
UpdateExternalAddressOperation returns a new UpdateExternalAddressOperation from a given name. The name must be that of a previously created UpdateExternalAddressOperation, possibly from a different process.
func (*Client) UpdateLoggingServer ¶
func (c *Client) UpdateLoggingServer(ctx context.Context, req *vmwareenginepb.UpdateLoggingServerRequest, opts ...gax.CallOption) (*UpdateLoggingServerOperation, error)
UpdateLoggingServer updates the parameters of a single logging server.
Only fields specified in update_mask are applied.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateLoggingServerRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateLoggingServerRequest.
}
op, err := c.UpdateLoggingServer(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateLoggingServerOperation ¶
func (c *Client) UpdateLoggingServerOperation(name string) *UpdateLoggingServerOperation
UpdateLoggingServerOperation returns a new UpdateLoggingServerOperation from a given name. The name must be that of a previously created UpdateLoggingServerOperation, possibly from a different process.
func (*Client) UpdateManagementDnsZoneBinding ¶
func (c *Client) UpdateManagementDnsZoneBinding(ctx context.Context, req *vmwareenginepb.UpdateManagementDnsZoneBindingRequest, opts ...gax.CallOption) (*UpdateManagementDnsZoneBindingOperation, error)
UpdateManagementDnsZoneBinding updates a ManagementDnsZoneBinding resource.
Only fields specified in update_mask are applied.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateManagementDnsZoneBindingRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateManagementDnsZoneBindingRequest.
}
op, err := c.UpdateManagementDnsZoneBinding(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateManagementDnsZoneBindingOperation ¶
func (c *Client) UpdateManagementDnsZoneBindingOperation(name string) *UpdateManagementDnsZoneBindingOperation
UpdateManagementDnsZoneBindingOperation returns a new UpdateManagementDnsZoneBindingOperation from a given name. The name must be that of a previously created UpdateManagementDnsZoneBindingOperation, possibly from a different process.
func (*Client) UpdateNetworkPeering ¶
func (c *Client) UpdateNetworkPeering(ctx context.Context, req *vmwareenginepb.UpdateNetworkPeeringRequest, opts ...gax.CallOption) (*UpdateNetworkPeeringOperation, error)
UpdateNetworkPeering 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateNetworkPeeringRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateNetworkPeeringRequest.
}
op, err := c.UpdateNetworkPeering(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateNetworkPeeringOperation ¶
func (c *Client) UpdateNetworkPeeringOperation(name string) *UpdateNetworkPeeringOperation
UpdateNetworkPeeringOperation returns a new UpdateNetworkPeeringOperation from a given name. The name must be that of a previously created UpdateNetworkPeeringOperation, possibly from a different process.
func (*Client) UpdateNetworkPolicy ¶
func (c *Client) UpdateNetworkPolicy(ctx context.Context, req *vmwareenginepb.UpdateNetworkPolicyRequest, opts ...gax.CallOption) (*UpdateNetworkPolicyOperation, error)
UpdateNetworkPolicy 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateNetworkPolicyRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateNetworkPolicyRequest.
}
op, err := c.UpdateNetworkPolicy(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateNetworkPolicyOperation ¶
func (c *Client) UpdateNetworkPolicyOperation(name string) *UpdateNetworkPolicyOperation
UpdateNetworkPolicyOperation returns a new UpdateNetworkPolicyOperation from a given name. The name must be that of a previously created UpdateNetworkPolicyOperation, possibly from a different process.
func (*Client) UpdatePrivateCloud ¶
func (c *Client) UpdatePrivateCloud(ctx context.Context, req *vmwareenginepb.UpdatePrivateCloudRequest, opts ...gax.CallOption) (*UpdatePrivateCloudOperation, error)
UpdatePrivateCloud 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdatePrivateCloudRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdatePrivateCloudRequest.
}
op, err := c.UpdatePrivateCloud(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdatePrivateCloudOperation ¶
func (c *Client) UpdatePrivateCloudOperation(name string) *UpdatePrivateCloudOperation
UpdatePrivateCloudOperation returns a new UpdatePrivateCloudOperation from a given name. The name must be that of a previously created UpdatePrivateCloudOperation, possibly from a different process.
func (*Client) UpdatePrivateConnection ¶
func (c *Client) UpdatePrivateConnection(ctx context.Context, req *vmwareenginepb.UpdatePrivateConnectionRequest, opts ...gax.CallOption) (*UpdatePrivateConnectionOperation, error)
UpdatePrivateConnection modifies a PrivateConnection resource. Only description and
routing_mode fields can be updated. Only fields specified in updateMask
are applied.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdatePrivateConnectionRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdatePrivateConnectionRequest.
}
op, err := c.UpdatePrivateConnection(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdatePrivateConnectionOperation ¶
func (c *Client) UpdatePrivateConnectionOperation(name string) *UpdatePrivateConnectionOperation
UpdatePrivateConnectionOperation returns a new UpdatePrivateConnectionOperation from a given name. The name must be that of a previously created UpdatePrivateConnectionOperation, possibly from a different process.
func (*Client) UpdateSubnet ¶
func (c *Client) UpdateSubnet(ctx context.Context, req *vmwareenginepb.UpdateSubnetRequest, opts ...gax.CallOption) (*UpdateSubnetOperation, error)
UpdateSubnet 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.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateSubnetRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateSubnetRequest.
}
op, err := c.UpdateSubnet(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateSubnetOperation ¶
func (c *Client) UpdateSubnetOperation(name string) *UpdateSubnetOperation
UpdateSubnetOperation returns a new UpdateSubnetOperation from a given name. The name must be that of a previously created UpdateSubnetOperation, possibly from a different process.
func (*Client) UpdateVmwareEngineNetwork ¶
func (c *Client) UpdateVmwareEngineNetwork(ctx context.Context, req *vmwareenginepb.UpdateVmwareEngineNetworkRequest, opts ...gax.CallOption) (*UpdateVmwareEngineNetworkOperation, error)
UpdateVmwareEngineNetwork modifies a VMware Engine network resource. Only the following fields can be
updated: description. Only fields specified in updateMask are
applied.
Code:play
Example¶
package main
import (
"context"
vmwareengine "cloud.google.com/go/vmwareengine/apiv1"
vmwareenginepb "cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb"
)
func main() {
ctx := context.Background()
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in:
// https://pkg.go.dev/cloud.google.com/go#hdr-Client_Options
c, err := vmwareengine.NewClient(ctx)
if err != nil {
// TODO: Handle error.
}
defer c.Close()
req := &vmwareenginepb.UpdateVmwareEngineNetworkRequest{
// TODO: Fill request struct fields.
// See https://pkg.go.dev/cloud.google.com/go/vmwareengine/apiv1/vmwareenginepb#UpdateVmwareEngineNetworkRequest.
}
op, err := c.UpdateVmwareEngineNetwork(ctx, req)
if err != nil {
// TODO: Handle error.
}
resp, err := op.Wait(ctx)
if err != nil {
// TODO: Handle error.
}
// TODO: Use resp.
_ = resp
}
func (*Client) UpdateVmwareEngineNetworkOperation ¶
func (c *Client) UpdateVmwareEngineNetworkOperation(name string) *UpdateVmwareEngineNetworkOperation
UpdateVmwareEngineNetworkOperation returns a new UpdateVmwareEngineNetworkOperation from a given name. The name must be that of a previously created UpdateVmwareEngineNetworkOperation, possibly from a different process.
type ClusterIterator ¶
type ClusterIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.Cluster, nextPageToken string, err error) // contains filtered or unexported fields }
ClusterIterator manages a stream of *vmwareenginepb.Cluster.
func (*ClusterIterator) All ¶
func (it *ClusterIterator) All() iter.Seq2[*vmwareenginepb.Cluster, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*ClusterIterator) Next ¶
func (it *ClusterIterator) Next() (*vmwareenginepb.Cluster, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*ClusterIterator) PageInfo ¶
func (it *ClusterIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type CreateClusterOperation ¶
type CreateClusterOperation struct {
// contains filtered or unexported fields
}
CreateClusterOperation manages a long-running operation from CreateCluster.
func (*CreateClusterOperation) Done ¶
func (op *CreateClusterOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateClusterOperation) Metadata ¶
func (op *CreateClusterOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateClusterOperation) Name ¶
func (op *CreateClusterOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateClusterOperation) Poll ¶
func (op *CreateClusterOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateClusterOperation) Wait ¶
func (op *CreateClusterOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreateExternalAccessRuleOperation ¶
type CreateExternalAccessRuleOperation struct {
// contains filtered or unexported fields
}
CreateExternalAccessRuleOperation manages a long-running operation from CreateExternalAccessRule.
func (*CreateExternalAccessRuleOperation) Done ¶
func (op *CreateExternalAccessRuleOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateExternalAccessRuleOperation) Metadata ¶
func (op *CreateExternalAccessRuleOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateExternalAccessRuleOperation) Name ¶
func (op *CreateExternalAccessRuleOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateExternalAccessRuleOperation) Poll ¶
func (op *CreateExternalAccessRuleOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateExternalAccessRuleOperation) Wait ¶
func (op *CreateExternalAccessRuleOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreateExternalAddressOperation ¶
type CreateExternalAddressOperation struct {
// contains filtered or unexported fields
}
CreateExternalAddressOperation manages a long-running operation from CreateExternalAddress.
func (*CreateExternalAddressOperation) Done ¶
func (op *CreateExternalAddressOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateExternalAddressOperation) Metadata ¶
func (op *CreateExternalAddressOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateExternalAddressOperation) Name ¶
func (op *CreateExternalAddressOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateExternalAddressOperation) Poll ¶
func (op *CreateExternalAddressOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateExternalAddressOperation) Wait ¶
func (op *CreateExternalAddressOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreateHcxActivationKeyOperation ¶
type CreateHcxActivationKeyOperation struct {
// contains filtered or unexported fields
}
CreateHcxActivationKeyOperation manages a long-running operation from CreateHcxActivationKey.
func (*CreateHcxActivationKeyOperation) Done ¶
func (op *CreateHcxActivationKeyOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateHcxActivationKeyOperation) Metadata ¶
func (op *CreateHcxActivationKeyOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateHcxActivationKeyOperation) Name ¶
func (op *CreateHcxActivationKeyOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateHcxActivationKeyOperation) Poll ¶
func (op *CreateHcxActivationKeyOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.HcxActivationKey, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateHcxActivationKeyOperation) Wait ¶
func (op *CreateHcxActivationKeyOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.HcxActivationKey, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreateLoggingServerOperation ¶
type CreateLoggingServerOperation struct {
// contains filtered or unexported fields
}
CreateLoggingServerOperation manages a long-running operation from CreateLoggingServer.
func (*CreateLoggingServerOperation) Done ¶
func (op *CreateLoggingServerOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateLoggingServerOperation) Metadata ¶
func (op *CreateLoggingServerOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateLoggingServerOperation) Name ¶
func (op *CreateLoggingServerOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateLoggingServerOperation) Poll ¶
func (op *CreateLoggingServerOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateLoggingServerOperation) Wait ¶
func (op *CreateLoggingServerOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreateManagementDnsZoneBindingOperation ¶
type CreateManagementDnsZoneBindingOperation struct {
// contains filtered or unexported fields
}
CreateManagementDnsZoneBindingOperation manages a long-running operation from CreateManagementDnsZoneBinding.
func (*CreateManagementDnsZoneBindingOperation) Done ¶
func (op *CreateManagementDnsZoneBindingOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateManagementDnsZoneBindingOperation) Metadata ¶
func (op *CreateManagementDnsZoneBindingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateManagementDnsZoneBindingOperation) Name ¶
func (op *CreateManagementDnsZoneBindingOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateManagementDnsZoneBindingOperation) Poll ¶
func (op *CreateManagementDnsZoneBindingOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateManagementDnsZoneBindingOperation) Wait ¶
func (op *CreateManagementDnsZoneBindingOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreateNetworkPeeringOperation ¶
type CreateNetworkPeeringOperation struct {
// contains filtered or unexported fields
}
CreateNetworkPeeringOperation manages a long-running operation from CreateNetworkPeering.
func (*CreateNetworkPeeringOperation) Done ¶
func (op *CreateNetworkPeeringOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateNetworkPeeringOperation) Metadata ¶
func (op *CreateNetworkPeeringOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateNetworkPeeringOperation) Name ¶
func (op *CreateNetworkPeeringOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateNetworkPeeringOperation) Poll ¶
func (op *CreateNetworkPeeringOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateNetworkPeeringOperation) Wait ¶
func (op *CreateNetworkPeeringOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreateNetworkPolicyOperation ¶
type CreateNetworkPolicyOperation struct {
// contains filtered or unexported fields
}
CreateNetworkPolicyOperation manages a long-running operation from CreateNetworkPolicy.
func (*CreateNetworkPolicyOperation) Done ¶
func (op *CreateNetworkPolicyOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateNetworkPolicyOperation) Metadata ¶
func (op *CreateNetworkPolicyOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateNetworkPolicyOperation) Name ¶
func (op *CreateNetworkPolicyOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateNetworkPolicyOperation) Poll ¶
func (op *CreateNetworkPolicyOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateNetworkPolicyOperation) Wait ¶
func (op *CreateNetworkPolicyOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreatePrivateCloudOperation ¶
type CreatePrivateCloudOperation struct {
// contains filtered or unexported fields
}
CreatePrivateCloudOperation manages a long-running operation from CreatePrivateCloud.
func (*CreatePrivateCloudOperation) Done ¶
func (op *CreatePrivateCloudOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreatePrivateCloudOperation) Metadata ¶
func (op *CreatePrivateCloudOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreatePrivateCloudOperation) Name ¶
func (op *CreatePrivateCloudOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreatePrivateCloudOperation) Poll ¶
func (op *CreatePrivateCloudOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreatePrivateCloudOperation) Wait ¶
func (op *CreatePrivateCloudOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreatePrivateConnectionOperation ¶
type CreatePrivateConnectionOperation struct {
// contains filtered or unexported fields
}
CreatePrivateConnectionOperation manages a long-running operation from CreatePrivateConnection.
func (*CreatePrivateConnectionOperation) Done ¶
func (op *CreatePrivateConnectionOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreatePrivateConnectionOperation) Metadata ¶
func (op *CreatePrivateConnectionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreatePrivateConnectionOperation) Name ¶
func (op *CreatePrivateConnectionOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreatePrivateConnectionOperation) Poll ¶
func (op *CreatePrivateConnectionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreatePrivateConnectionOperation) Wait ¶
func (op *CreatePrivateConnectionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type CreateVmwareEngineNetworkOperation ¶
type CreateVmwareEngineNetworkOperation struct {
// contains filtered or unexported fields
}
CreateVmwareEngineNetworkOperation manages a long-running operation from CreateVmwareEngineNetwork.
func (*CreateVmwareEngineNetworkOperation) Done ¶
func (op *CreateVmwareEngineNetworkOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*CreateVmwareEngineNetworkOperation) Metadata ¶
func (op *CreateVmwareEngineNetworkOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*CreateVmwareEngineNetworkOperation) Name ¶
func (op *CreateVmwareEngineNetworkOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*CreateVmwareEngineNetworkOperation) Poll ¶
func (op *CreateVmwareEngineNetworkOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*CreateVmwareEngineNetworkOperation) Wait ¶
func (op *CreateVmwareEngineNetworkOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeleteClusterOperation ¶
type DeleteClusterOperation struct {
// contains filtered or unexported fields
}
DeleteClusterOperation manages a long-running operation from DeleteCluster.
func (*DeleteClusterOperation) Done ¶
func (op *DeleteClusterOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeleteClusterOperation) Metadata ¶
func (op *DeleteClusterOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeleteClusterOperation) Name ¶
func (op *DeleteClusterOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeleteClusterOperation) Poll ¶
func (op *DeleteClusterOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeleteClusterOperation) Wait ¶
func (op *DeleteClusterOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeleteExternalAccessRuleOperation ¶
type DeleteExternalAccessRuleOperation struct {
// contains filtered or unexported fields
}
DeleteExternalAccessRuleOperation manages a long-running operation from DeleteExternalAccessRule.
func (*DeleteExternalAccessRuleOperation) Done ¶
func (op *DeleteExternalAccessRuleOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeleteExternalAccessRuleOperation) Metadata ¶
func (op *DeleteExternalAccessRuleOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeleteExternalAccessRuleOperation) Name ¶
func (op *DeleteExternalAccessRuleOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeleteExternalAccessRuleOperation) Poll ¶
func (op *DeleteExternalAccessRuleOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeleteExternalAccessRuleOperation) Wait ¶
func (op *DeleteExternalAccessRuleOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeleteExternalAddressOperation ¶
type DeleteExternalAddressOperation struct {
// contains filtered or unexported fields
}
DeleteExternalAddressOperation manages a long-running operation from DeleteExternalAddress.
func (*DeleteExternalAddressOperation) Done ¶
func (op *DeleteExternalAddressOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeleteExternalAddressOperation) Metadata ¶
func (op *DeleteExternalAddressOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeleteExternalAddressOperation) Name ¶
func (op *DeleteExternalAddressOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeleteExternalAddressOperation) Poll ¶
func (op *DeleteExternalAddressOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeleteExternalAddressOperation) Wait ¶
func (op *DeleteExternalAddressOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeleteLoggingServerOperation ¶
type DeleteLoggingServerOperation struct {
// contains filtered or unexported fields
}
DeleteLoggingServerOperation manages a long-running operation from DeleteLoggingServer.
func (*DeleteLoggingServerOperation) Done ¶
func (op *DeleteLoggingServerOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeleteLoggingServerOperation) Metadata ¶
func (op *DeleteLoggingServerOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeleteLoggingServerOperation) Name ¶
func (op *DeleteLoggingServerOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeleteLoggingServerOperation) Poll ¶
func (op *DeleteLoggingServerOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeleteLoggingServerOperation) Wait ¶
func (op *DeleteLoggingServerOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeleteManagementDnsZoneBindingOperation ¶
type DeleteManagementDnsZoneBindingOperation struct {
// contains filtered or unexported fields
}
DeleteManagementDnsZoneBindingOperation manages a long-running operation from DeleteManagementDnsZoneBinding.
func (*DeleteManagementDnsZoneBindingOperation) Done ¶
func (op *DeleteManagementDnsZoneBindingOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeleteManagementDnsZoneBindingOperation) Metadata ¶
func (op *DeleteManagementDnsZoneBindingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeleteManagementDnsZoneBindingOperation) Name ¶
func (op *DeleteManagementDnsZoneBindingOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeleteManagementDnsZoneBindingOperation) Poll ¶
func (op *DeleteManagementDnsZoneBindingOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeleteManagementDnsZoneBindingOperation) Wait ¶
func (op *DeleteManagementDnsZoneBindingOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeleteNetworkPeeringOperation ¶
type DeleteNetworkPeeringOperation struct {
// contains filtered or unexported fields
}
DeleteNetworkPeeringOperation manages a long-running operation from DeleteNetworkPeering.
func (*DeleteNetworkPeeringOperation) Done ¶
func (op *DeleteNetworkPeeringOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeleteNetworkPeeringOperation) Metadata ¶
func (op *DeleteNetworkPeeringOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeleteNetworkPeeringOperation) Name ¶
func (op *DeleteNetworkPeeringOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeleteNetworkPeeringOperation) Poll ¶
func (op *DeleteNetworkPeeringOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeleteNetworkPeeringOperation) Wait ¶
func (op *DeleteNetworkPeeringOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeleteNetworkPolicyOperation ¶
type DeleteNetworkPolicyOperation struct {
// contains filtered or unexported fields
}
DeleteNetworkPolicyOperation manages a long-running operation from DeleteNetworkPolicy.
func (*DeleteNetworkPolicyOperation) Done ¶
func (op *DeleteNetworkPolicyOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeleteNetworkPolicyOperation) Metadata ¶
func (op *DeleteNetworkPolicyOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeleteNetworkPolicyOperation) Name ¶
func (op *DeleteNetworkPolicyOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeleteNetworkPolicyOperation) Poll ¶
func (op *DeleteNetworkPolicyOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeleteNetworkPolicyOperation) Wait ¶
func (op *DeleteNetworkPolicyOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeletePrivateCloudOperation ¶
type DeletePrivateCloudOperation struct {
// contains filtered or unexported fields
}
DeletePrivateCloudOperation manages a long-running operation from DeletePrivateCloud.
func (*DeletePrivateCloudOperation) Done ¶
func (op *DeletePrivateCloudOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeletePrivateCloudOperation) Metadata ¶
func (op *DeletePrivateCloudOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeletePrivateCloudOperation) Name ¶
func (op *DeletePrivateCloudOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeletePrivateCloudOperation) Poll ¶
func (op *DeletePrivateCloudOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeletePrivateCloudOperation) Wait ¶
func (op *DeletePrivateCloudOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeletePrivateConnectionOperation ¶
type DeletePrivateConnectionOperation struct {
// contains filtered or unexported fields
}
DeletePrivateConnectionOperation manages a long-running operation from DeletePrivateConnection.
func (*DeletePrivateConnectionOperation) Done ¶
func (op *DeletePrivateConnectionOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeletePrivateConnectionOperation) Metadata ¶
func (op *DeletePrivateConnectionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeletePrivateConnectionOperation) Name ¶
func (op *DeletePrivateConnectionOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeletePrivateConnectionOperation) Poll ¶
func (op *DeletePrivateConnectionOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeletePrivateConnectionOperation) Wait ¶
func (op *DeletePrivateConnectionOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type DeleteVmwareEngineNetworkOperation ¶
type DeleteVmwareEngineNetworkOperation struct {
// contains filtered or unexported fields
}
DeleteVmwareEngineNetworkOperation manages a long-running operation from DeleteVmwareEngineNetwork.
func (*DeleteVmwareEngineNetworkOperation) Done ¶
func (op *DeleteVmwareEngineNetworkOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*DeleteVmwareEngineNetworkOperation) Metadata ¶
func (op *DeleteVmwareEngineNetworkOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*DeleteVmwareEngineNetworkOperation) Name ¶
func (op *DeleteVmwareEngineNetworkOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*DeleteVmwareEngineNetworkOperation) Poll ¶
func (op *DeleteVmwareEngineNetworkOperation) Poll(ctx context.Context, opts ...gax.CallOption) error
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*DeleteVmwareEngineNetworkOperation) Wait ¶
func (op *DeleteVmwareEngineNetworkOperation) Wait(ctx context.Context, opts ...gax.CallOption) error
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type ExternalAccessRuleIterator ¶
type ExternalAccessRuleIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.ExternalAccessRule, nextPageToken string, err error) // contains filtered or unexported fields }
ExternalAccessRuleIterator manages a stream of *vmwareenginepb.ExternalAccessRule.
func (*ExternalAccessRuleIterator) All ¶
func (it *ExternalAccessRuleIterator) All() iter.Seq2[*vmwareenginepb.ExternalAccessRule, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*ExternalAccessRuleIterator) Next ¶
func (it *ExternalAccessRuleIterator) Next() (*vmwareenginepb.ExternalAccessRule, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*ExternalAccessRuleIterator) PageInfo ¶
func (it *ExternalAccessRuleIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type ExternalAddressIterator ¶
type ExternalAddressIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.ExternalAddress, nextPageToken string, err error) // contains filtered or unexported fields }
ExternalAddressIterator manages a stream of *vmwareenginepb.ExternalAddress.
func (*ExternalAddressIterator) All ¶
func (it *ExternalAddressIterator) All() iter.Seq2[*vmwareenginepb.ExternalAddress, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*ExternalAddressIterator) Next ¶
func (it *ExternalAddressIterator) Next() (*vmwareenginepb.ExternalAddress, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*ExternalAddressIterator) PageInfo ¶
func (it *ExternalAddressIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type GrantDnsBindPermissionOperation ¶
type GrantDnsBindPermissionOperation struct {
// contains filtered or unexported fields
}
GrantDnsBindPermissionOperation manages a long-running operation from GrantDnsBindPermission.
func (*GrantDnsBindPermissionOperation) Done ¶
func (op *GrantDnsBindPermissionOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*GrantDnsBindPermissionOperation) Metadata ¶
func (op *GrantDnsBindPermissionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*GrantDnsBindPermissionOperation) Name ¶
func (op *GrantDnsBindPermissionOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*GrantDnsBindPermissionOperation) Poll ¶
func (op *GrantDnsBindPermissionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*GrantDnsBindPermissionOperation) Wait ¶
func (op *GrantDnsBindPermissionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type HcxActivationKeyIterator ¶
type HcxActivationKeyIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.HcxActivationKey, nextPageToken string, err error) // contains filtered or unexported fields }
HcxActivationKeyIterator manages a stream of *vmwareenginepb.HcxActivationKey.
func (*HcxActivationKeyIterator) All ¶
func (it *HcxActivationKeyIterator) All() iter.Seq2[*vmwareenginepb.HcxActivationKey, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*HcxActivationKeyIterator) Next ¶
func (it *HcxActivationKeyIterator) Next() (*vmwareenginepb.HcxActivationKey, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*HcxActivationKeyIterator) PageInfo ¶
func (it *HcxActivationKeyIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type LocationIterator ¶
type LocationIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*locationpb.Location, nextPageToken string, err error) // contains filtered or unexported fields }
LocationIterator manages a stream of *locationpb.Location.
func (*LocationIterator) All ¶
func (it *LocationIterator) All() iter.Seq2[*locationpb.Location, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*LocationIterator) Next ¶
func (it *LocationIterator) Next() (*locationpb.Location, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*LocationIterator) PageInfo ¶
func (it *LocationIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type LoggingServerIterator ¶
type LoggingServerIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.LoggingServer, nextPageToken string, err error) // contains filtered or unexported fields }
LoggingServerIterator manages a stream of *vmwareenginepb.LoggingServer.
func (*LoggingServerIterator) All ¶
func (it *LoggingServerIterator) All() iter.Seq2[*vmwareenginepb.LoggingServer, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*LoggingServerIterator) Next ¶
func (it *LoggingServerIterator) Next() (*vmwareenginepb.LoggingServer, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*LoggingServerIterator) PageInfo ¶
func (it *LoggingServerIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type ManagementDnsZoneBindingIterator ¶
type ManagementDnsZoneBindingIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.ManagementDnsZoneBinding, nextPageToken string, err error) // contains filtered or unexported fields }
ManagementDnsZoneBindingIterator manages a stream of *vmwareenginepb.ManagementDnsZoneBinding.
func (*ManagementDnsZoneBindingIterator) All ¶
func (it *ManagementDnsZoneBindingIterator) All() iter.Seq2[*vmwareenginepb.ManagementDnsZoneBinding, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*ManagementDnsZoneBindingIterator) Next ¶
func (it *ManagementDnsZoneBindingIterator) Next() (*vmwareenginepb.ManagementDnsZoneBinding, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*ManagementDnsZoneBindingIterator) PageInfo ¶
func (it *ManagementDnsZoneBindingIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type NetworkPeeringIterator ¶
type NetworkPeeringIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.NetworkPeering, nextPageToken string, err error) // contains filtered or unexported fields }
NetworkPeeringIterator manages a stream of *vmwareenginepb.NetworkPeering.
func (*NetworkPeeringIterator) All ¶
func (it *NetworkPeeringIterator) All() iter.Seq2[*vmwareenginepb.NetworkPeering, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*NetworkPeeringIterator) Next ¶
func (it *NetworkPeeringIterator) Next() (*vmwareenginepb.NetworkPeering, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*NetworkPeeringIterator) PageInfo ¶
func (it *NetworkPeeringIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type NetworkPolicyIterator ¶
type NetworkPolicyIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.NetworkPolicy, nextPageToken string, err error) // contains filtered or unexported fields }
NetworkPolicyIterator manages a stream of *vmwareenginepb.NetworkPolicy.
func (*NetworkPolicyIterator) All ¶
func (it *NetworkPolicyIterator) All() iter.Seq2[*vmwareenginepb.NetworkPolicy, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*NetworkPolicyIterator) Next ¶
func (it *NetworkPolicyIterator) Next() (*vmwareenginepb.NetworkPolicy, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*NetworkPolicyIterator) PageInfo ¶
func (it *NetworkPolicyIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type NodeIterator ¶
type NodeIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.Node, nextPageToken string, err error) // contains filtered or unexported fields }
NodeIterator manages a stream of *vmwareenginepb.Node.
func (*NodeIterator) All ¶
func (it *NodeIterator) All() iter.Seq2[*vmwareenginepb.Node, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*NodeIterator) Next ¶
func (it *NodeIterator) Next() (*vmwareenginepb.Node, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*NodeIterator) PageInfo ¶
func (it *NodeIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type NodeTypeIterator ¶
type NodeTypeIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.NodeType, nextPageToken string, err error) // contains filtered or unexported fields }
NodeTypeIterator manages a stream of *vmwareenginepb.NodeType.
func (*NodeTypeIterator) All ¶
func (it *NodeTypeIterator) All() iter.Seq2[*vmwareenginepb.NodeType, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*NodeTypeIterator) Next ¶
func (it *NodeTypeIterator) Next() (*vmwareenginepb.NodeType, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*NodeTypeIterator) PageInfo ¶
func (it *NodeTypeIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type OperationIterator ¶
type OperationIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*longrunningpb.Operation, nextPageToken string, err error) // contains filtered or unexported fields }
OperationIterator manages a stream of *longrunningpb.Operation.
func (*OperationIterator) All ¶
func (it *OperationIterator) All() iter.Seq2[*longrunningpb.Operation, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*OperationIterator) Next ¶
func (it *OperationIterator) Next() (*longrunningpb.Operation, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*OperationIterator) PageInfo ¶
func (it *OperationIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type PeeringRouteIterator ¶
type PeeringRouteIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.PeeringRoute, nextPageToken string, err error) // contains filtered or unexported fields }
PeeringRouteIterator manages a stream of *vmwareenginepb.PeeringRoute.
func (*PeeringRouteIterator) All ¶
func (it *PeeringRouteIterator) All() iter.Seq2[*vmwareenginepb.PeeringRoute, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*PeeringRouteIterator) Next ¶
func (it *PeeringRouteIterator) Next() (*vmwareenginepb.PeeringRoute, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*PeeringRouteIterator) PageInfo ¶
func (it *PeeringRouteIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type PrivateCloudIterator ¶
type PrivateCloudIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.PrivateCloud, nextPageToken string, err error) // contains filtered or unexported fields }
PrivateCloudIterator manages a stream of *vmwareenginepb.PrivateCloud.
func (*PrivateCloudIterator) All ¶
func (it *PrivateCloudIterator) All() iter.Seq2[*vmwareenginepb.PrivateCloud, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*PrivateCloudIterator) Next ¶
func (it *PrivateCloudIterator) Next() (*vmwareenginepb.PrivateCloud, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*PrivateCloudIterator) PageInfo ¶
func (it *PrivateCloudIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type PrivateConnectionIterator ¶
type PrivateConnectionIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.PrivateConnection, nextPageToken string, err error) // contains filtered or unexported fields }
PrivateConnectionIterator manages a stream of *vmwareenginepb.PrivateConnection.
func (*PrivateConnectionIterator) All ¶
func (it *PrivateConnectionIterator) All() iter.Seq2[*vmwareenginepb.PrivateConnection, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*PrivateConnectionIterator) Next ¶
func (it *PrivateConnectionIterator) Next() (*vmwareenginepb.PrivateConnection, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*PrivateConnectionIterator) PageInfo ¶
func (it *PrivateConnectionIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type RepairManagementDnsZoneBindingOperation ¶
type RepairManagementDnsZoneBindingOperation struct {
// contains filtered or unexported fields
}
RepairManagementDnsZoneBindingOperation manages a long-running operation from RepairManagementDnsZoneBinding.
func (*RepairManagementDnsZoneBindingOperation) Done ¶
func (op *RepairManagementDnsZoneBindingOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*RepairManagementDnsZoneBindingOperation) Metadata ¶
func (op *RepairManagementDnsZoneBindingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*RepairManagementDnsZoneBindingOperation) Name ¶
func (op *RepairManagementDnsZoneBindingOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*RepairManagementDnsZoneBindingOperation) Poll ¶
func (op *RepairManagementDnsZoneBindingOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*RepairManagementDnsZoneBindingOperation) Wait ¶
func (op *RepairManagementDnsZoneBindingOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type ResetNsxCredentialsOperation ¶
type ResetNsxCredentialsOperation struct {
// contains filtered or unexported fields
}
ResetNsxCredentialsOperation manages a long-running operation from ResetNsxCredentials.
func (*ResetNsxCredentialsOperation) Done ¶
func (op *ResetNsxCredentialsOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*ResetNsxCredentialsOperation) Metadata ¶
func (op *ResetNsxCredentialsOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*ResetNsxCredentialsOperation) Name ¶
func (op *ResetNsxCredentialsOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*ResetNsxCredentialsOperation) Poll ¶
func (op *ResetNsxCredentialsOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*ResetNsxCredentialsOperation) Wait ¶
func (op *ResetNsxCredentialsOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type ResetVcenterCredentialsOperation ¶
type ResetVcenterCredentialsOperation struct {
// contains filtered or unexported fields
}
ResetVcenterCredentialsOperation manages a long-running operation from ResetVcenterCredentials.
func (*ResetVcenterCredentialsOperation) Done ¶
func (op *ResetVcenterCredentialsOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*ResetVcenterCredentialsOperation) Metadata ¶
func (op *ResetVcenterCredentialsOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*ResetVcenterCredentialsOperation) Name ¶
func (op *ResetVcenterCredentialsOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*ResetVcenterCredentialsOperation) Poll ¶
func (op *ResetVcenterCredentialsOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*ResetVcenterCredentialsOperation) Wait ¶
func (op *ResetVcenterCredentialsOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type RevokeDnsBindPermissionOperation ¶
type RevokeDnsBindPermissionOperation struct {
// contains filtered or unexported fields
}
RevokeDnsBindPermissionOperation manages a long-running operation from RevokeDnsBindPermission.
func (*RevokeDnsBindPermissionOperation) Done ¶
func (op *RevokeDnsBindPermissionOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*RevokeDnsBindPermissionOperation) Metadata ¶
func (op *RevokeDnsBindPermissionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*RevokeDnsBindPermissionOperation) Name ¶
func (op *RevokeDnsBindPermissionOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*RevokeDnsBindPermissionOperation) Poll ¶
func (op *RevokeDnsBindPermissionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*RevokeDnsBindPermissionOperation) Wait ¶
func (op *RevokeDnsBindPermissionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsBindPermission, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type SubnetIterator ¶
type SubnetIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.Subnet, nextPageToken string, err error) // contains filtered or unexported fields }
SubnetIterator manages a stream of *vmwareenginepb.Subnet.
func (*SubnetIterator) All ¶
func (it *SubnetIterator) All() iter.Seq2[*vmwareenginepb.Subnet, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*SubnetIterator) Next ¶
func (it *SubnetIterator) Next() (*vmwareenginepb.Subnet, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*SubnetIterator) PageInfo ¶
func (it *SubnetIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
type UndeletePrivateCloudOperation ¶
type UndeletePrivateCloudOperation struct {
// contains filtered or unexported fields
}
UndeletePrivateCloudOperation manages a long-running operation from UndeletePrivateCloud.
func (*UndeletePrivateCloudOperation) Done ¶
func (op *UndeletePrivateCloudOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UndeletePrivateCloudOperation) Metadata ¶
func (op *UndeletePrivateCloudOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UndeletePrivateCloudOperation) Name ¶
func (op *UndeletePrivateCloudOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UndeletePrivateCloudOperation) Poll ¶
func (op *UndeletePrivateCloudOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UndeletePrivateCloudOperation) Wait ¶
func (op *UndeletePrivateCloudOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateClusterOperation ¶
type UpdateClusterOperation struct {
// contains filtered or unexported fields
}
UpdateClusterOperation manages a long-running operation from UpdateCluster.
func (*UpdateClusterOperation) Done ¶
func (op *UpdateClusterOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateClusterOperation) Metadata ¶
func (op *UpdateClusterOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateClusterOperation) Name ¶
func (op *UpdateClusterOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateClusterOperation) Poll ¶
func (op *UpdateClusterOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateClusterOperation) Wait ¶
func (op *UpdateClusterOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Cluster, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateDnsForwardingOperation ¶
type UpdateDnsForwardingOperation struct {
// contains filtered or unexported fields
}
UpdateDnsForwardingOperation manages a long-running operation from UpdateDnsForwarding.
func (*UpdateDnsForwardingOperation) Done ¶
func (op *UpdateDnsForwardingOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateDnsForwardingOperation) Metadata ¶
func (op *UpdateDnsForwardingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateDnsForwardingOperation) Name ¶
func (op *UpdateDnsForwardingOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateDnsForwardingOperation) Poll ¶
func (op *UpdateDnsForwardingOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsForwarding, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateDnsForwardingOperation) Wait ¶
func (op *UpdateDnsForwardingOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.DnsForwarding, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateExternalAccessRuleOperation ¶
type UpdateExternalAccessRuleOperation struct {
// contains filtered or unexported fields
}
UpdateExternalAccessRuleOperation manages a long-running operation from UpdateExternalAccessRule.
func (*UpdateExternalAccessRuleOperation) Done ¶
func (op *UpdateExternalAccessRuleOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateExternalAccessRuleOperation) Metadata ¶
func (op *UpdateExternalAccessRuleOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateExternalAccessRuleOperation) Name ¶
func (op *UpdateExternalAccessRuleOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateExternalAccessRuleOperation) Poll ¶
func (op *UpdateExternalAccessRuleOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateExternalAccessRuleOperation) Wait ¶
func (op *UpdateExternalAccessRuleOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAccessRule, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateExternalAddressOperation ¶
type UpdateExternalAddressOperation struct {
// contains filtered or unexported fields
}
UpdateExternalAddressOperation manages a long-running operation from UpdateExternalAddress.
func (*UpdateExternalAddressOperation) Done ¶
func (op *UpdateExternalAddressOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateExternalAddressOperation) Metadata ¶
func (op *UpdateExternalAddressOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateExternalAddressOperation) Name ¶
func (op *UpdateExternalAddressOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateExternalAddressOperation) Poll ¶
func (op *UpdateExternalAddressOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateExternalAddressOperation) Wait ¶
func (op *UpdateExternalAddressOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ExternalAddress, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateLoggingServerOperation ¶
type UpdateLoggingServerOperation struct {
// contains filtered or unexported fields
}
UpdateLoggingServerOperation manages a long-running operation from UpdateLoggingServer.
func (*UpdateLoggingServerOperation) Done ¶
func (op *UpdateLoggingServerOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateLoggingServerOperation) Metadata ¶
func (op *UpdateLoggingServerOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateLoggingServerOperation) Name ¶
func (op *UpdateLoggingServerOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateLoggingServerOperation) Poll ¶
func (op *UpdateLoggingServerOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateLoggingServerOperation) Wait ¶
func (op *UpdateLoggingServerOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.LoggingServer, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateManagementDnsZoneBindingOperation ¶
type UpdateManagementDnsZoneBindingOperation struct {
// contains filtered or unexported fields
}
UpdateManagementDnsZoneBindingOperation manages a long-running operation from UpdateManagementDnsZoneBinding.
func (*UpdateManagementDnsZoneBindingOperation) Done ¶
func (op *UpdateManagementDnsZoneBindingOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateManagementDnsZoneBindingOperation) Metadata ¶
func (op *UpdateManagementDnsZoneBindingOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateManagementDnsZoneBindingOperation) Name ¶
func (op *UpdateManagementDnsZoneBindingOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateManagementDnsZoneBindingOperation) Poll ¶
func (op *UpdateManagementDnsZoneBindingOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateManagementDnsZoneBindingOperation) Wait ¶
func (op *UpdateManagementDnsZoneBindingOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.ManagementDnsZoneBinding, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateNetworkPeeringOperation ¶
type UpdateNetworkPeeringOperation struct {
// contains filtered or unexported fields
}
UpdateNetworkPeeringOperation manages a long-running operation from UpdateNetworkPeering.
func (*UpdateNetworkPeeringOperation) Done ¶
func (op *UpdateNetworkPeeringOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateNetworkPeeringOperation) Metadata ¶
func (op *UpdateNetworkPeeringOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateNetworkPeeringOperation) Name ¶
func (op *UpdateNetworkPeeringOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateNetworkPeeringOperation) Poll ¶
func (op *UpdateNetworkPeeringOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateNetworkPeeringOperation) Wait ¶
func (op *UpdateNetworkPeeringOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPeering, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateNetworkPolicyOperation ¶
type UpdateNetworkPolicyOperation struct {
// contains filtered or unexported fields
}
UpdateNetworkPolicyOperation manages a long-running operation from UpdateNetworkPolicy.
func (*UpdateNetworkPolicyOperation) Done ¶
func (op *UpdateNetworkPolicyOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateNetworkPolicyOperation) Metadata ¶
func (op *UpdateNetworkPolicyOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateNetworkPolicyOperation) Name ¶
func (op *UpdateNetworkPolicyOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateNetworkPolicyOperation) Poll ¶
func (op *UpdateNetworkPolicyOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateNetworkPolicyOperation) Wait ¶
func (op *UpdateNetworkPolicyOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.NetworkPolicy, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdatePrivateCloudOperation ¶
type UpdatePrivateCloudOperation struct {
// contains filtered or unexported fields
}
UpdatePrivateCloudOperation manages a long-running operation from UpdatePrivateCloud.
func (*UpdatePrivateCloudOperation) Done ¶
func (op *UpdatePrivateCloudOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdatePrivateCloudOperation) Metadata ¶
func (op *UpdatePrivateCloudOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdatePrivateCloudOperation) Name ¶
func (op *UpdatePrivateCloudOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdatePrivateCloudOperation) Poll ¶
func (op *UpdatePrivateCloudOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdatePrivateCloudOperation) Wait ¶
func (op *UpdatePrivateCloudOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateCloud, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdatePrivateConnectionOperation ¶
type UpdatePrivateConnectionOperation struct {
// contains filtered or unexported fields
}
UpdatePrivateConnectionOperation manages a long-running operation from UpdatePrivateConnection.
func (*UpdatePrivateConnectionOperation) Done ¶
func (op *UpdatePrivateConnectionOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdatePrivateConnectionOperation) Metadata ¶
func (op *UpdatePrivateConnectionOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdatePrivateConnectionOperation) Name ¶
func (op *UpdatePrivateConnectionOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdatePrivateConnectionOperation) Poll ¶
func (op *UpdatePrivateConnectionOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdatePrivateConnectionOperation) Wait ¶
func (op *UpdatePrivateConnectionOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.PrivateConnection, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateSubnetOperation ¶
type UpdateSubnetOperation struct {
// contains filtered or unexported fields
}
UpdateSubnetOperation manages a long-running operation from UpdateSubnet.
func (*UpdateSubnetOperation) Done ¶
func (op *UpdateSubnetOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateSubnetOperation) Metadata ¶
func (op *UpdateSubnetOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateSubnetOperation) Name ¶
func (op *UpdateSubnetOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateSubnetOperation) Poll ¶
func (op *UpdateSubnetOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Subnet, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateSubnetOperation) Wait ¶
func (op *UpdateSubnetOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.Subnet, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type UpdateVmwareEngineNetworkOperation ¶
type UpdateVmwareEngineNetworkOperation struct {
// contains filtered or unexported fields
}
UpdateVmwareEngineNetworkOperation manages a long-running operation from UpdateVmwareEngineNetwork.
func (*UpdateVmwareEngineNetworkOperation) Done ¶
func (op *UpdateVmwareEngineNetworkOperation) Done() bool
Done reports whether the long-running operation has completed.
func (*UpdateVmwareEngineNetworkOperation) Metadata ¶
func (op *UpdateVmwareEngineNetworkOperation) Metadata() (*vmwareenginepb.OperationMetadata, error)
Metadata returns metadata associated with the long-running operation. Metadata itself does not contact the server, but Poll does. To get the latest metadata, call this method after a successful call to Poll. If the metadata is not available, the returned metadata and error are both nil.
func (*UpdateVmwareEngineNetworkOperation) Name ¶
func (op *UpdateVmwareEngineNetworkOperation) Name() string
Name returns the name of the long-running operation. The name is assigned by the server and is unique within the service from which the operation is created.
func (*UpdateVmwareEngineNetworkOperation) Poll ¶
func (op *UpdateVmwareEngineNetworkOperation) Poll(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
Poll fetches the latest state of the long-running operation.
Poll also fetches the latest metadata, which can be retrieved by Metadata.
If Poll fails, the error is returned and op is unmodified. If Poll succeeds and the operation has completed with failure, the error is returned and op.Done will return true. If Poll succeeds and the operation has completed successfully, op.Done will return true, and the response of the operation is returned. If Poll succeeds and the operation has not completed, the returned response and error are both nil.
func (*UpdateVmwareEngineNetworkOperation) Wait ¶
func (op *UpdateVmwareEngineNetworkOperation) Wait(ctx context.Context, opts ...gax.CallOption) (*vmwareenginepb.VmwareEngineNetwork, error)
Wait blocks until the long-running operation is completed, returning the response and any errors encountered.
See documentation of Poll for error-handling information.
type VmwareEngineNetworkIterator ¶
type VmwareEngineNetworkIterator struct { // Response is the raw response for the current page. // It must be cast to the RPC response type. // Calling Next() or InternalFetch() updates this value. Response interface{} // InternalFetch is for use by the Google Cloud Libraries only. // It is not part of the stable interface of this package. // // InternalFetch returns results from a single call to the underlying RPC. // The number of results is no greater than pageSize. // If there are no more results, nextPageToken is empty and err is nil. InternalFetch func(pageSize int, pageToken string) (results []*vmwareenginepb.VmwareEngineNetwork, nextPageToken string, err error) // contains filtered or unexported fields }
VmwareEngineNetworkIterator manages a stream of *vmwareenginepb.VmwareEngineNetwork.
func (*VmwareEngineNetworkIterator) All ¶
func (it *VmwareEngineNetworkIterator) All() iter.Seq2[*vmwareenginepb.VmwareEngineNetwork, error]
All returns an iterator. If an error is returned by the iterator, the iterator will stop after that iteration.
func (*VmwareEngineNetworkIterator) Next ¶
func (it *VmwareEngineNetworkIterator) Next() (*vmwareenginepb.VmwareEngineNetwork, error)
Next returns the next result. Its second return value is iterator.Done if there are no more results. Once Next returns Done, all subsequent calls will return Done.
func (*VmwareEngineNetworkIterator) PageInfo ¶
func (it *VmwareEngineNetworkIterator) PageInfo() *iterator.PageInfo
PageInfo supports pagination. See the google.golang.org/api/iterator package for details.
Source Files ¶
auxiliary.go auxiliary_go123.go doc.go helpers.go version.go vmware_engine_client.go
Directories ¶
Path | Synopsis |
---|---|
apiv1/vmwareenginepb |
- Version
- v1.3.3 (latest)
- Published
- Jan 2, 2025
- Platform
- linux/amd64
- Imports
- 31 packages
- Last checked
- 5 days ago –
Tools for package owners.