...

Source file src/google.golang.org/genproto/googleapis/cloud/edgecontainer/v1/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/edgecontainer/v1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package edgecontainer aliases all exported identifiers in package
    18  // "cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package edgecontainer
    24  
    25  import (
    26  	src "cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    31  const (
    32  	KmsKeyState_KMS_KEY_STATE_KEY_AVAILABLE    = src.KmsKeyState_KMS_KEY_STATE_KEY_AVAILABLE
    33  	KmsKeyState_KMS_KEY_STATE_KEY_UNAVAILABLE  = src.KmsKeyState_KMS_KEY_STATE_KEY_UNAVAILABLE
    34  	KmsKeyState_KMS_KEY_STATE_UNSPECIFIED      = src.KmsKeyState_KMS_KEY_STATE_UNSPECIFIED
    35  	VpnConnection_BGP_ROUTING_MODE_UNSPECIFIED = src.VpnConnection_BGP_ROUTING_MODE_UNSPECIFIED
    36  	VpnConnection_Details_STATE_CONNECTED      = src.VpnConnection_Details_STATE_CONNECTED
    37  	VpnConnection_Details_STATE_CONNECTING     = src.VpnConnection_Details_STATE_CONNECTING
    38  	VpnConnection_Details_STATE_ERROR          = src.VpnConnection_Details_STATE_ERROR
    39  	VpnConnection_Details_STATE_UNSPECIFIED    = src.VpnConnection_Details_STATE_UNSPECIFIED
    40  	VpnConnection_GLOBAL                       = src.VpnConnection_GLOBAL
    41  	VpnConnection_REGIONAL                     = src.VpnConnection_REGIONAL
    42  )
    43  
    44  // Deprecated: Please use vars in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    45  var (
    46  	File_google_cloud_edgecontainer_v1_resources_proto = src.File_google_cloud_edgecontainer_v1_resources_proto
    47  	File_google_cloud_edgecontainer_v1_service_proto   = src.File_google_cloud_edgecontainer_v1_service_proto
    48  	KmsKeyState_name                                   = src.KmsKeyState_name
    49  	KmsKeyState_value                                  = src.KmsKeyState_value
    50  	VpnConnection_BgpRoutingMode_name                  = src.VpnConnection_BgpRoutingMode_name
    51  	VpnConnection_BgpRoutingMode_value                 = src.VpnConnection_BgpRoutingMode_value
    52  	VpnConnection_Details_State_name                   = src.VpnConnection_Details_State_name
    53  	VpnConnection_Details_State_value                  = src.VpnConnection_Details_State_value
    54  )
    55  
    56  // RBAC policy that will be applied and managed by GEC.
    57  //
    58  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    59  type Authorization = src.Authorization
    60  
    61  // A Google Distributed Cloud Edge Kubernetes cluster.
    62  //
    63  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    64  type Cluster = src.Cluster
    65  
    66  // Cluster-wide networking configuration.
    67  //
    68  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    69  type ClusterNetworking = src.ClusterNetworking
    70  
    71  // A user principal for an RBAC policy.
    72  //
    73  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    74  type ClusterUser = src.ClusterUser
    75  
    76  // Creates a cluster.
    77  //
    78  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    79  type CreateClusterRequest = src.CreateClusterRequest
    80  
    81  // Creates a node pool.
    82  //
    83  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    84  type CreateNodePoolRequest = src.CreateNodePoolRequest
    85  
    86  // Creates a VPN connection.
    87  //
    88  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    89  type CreateVpnConnectionRequest = src.CreateVpnConnectionRequest
    90  
    91  // Deletes a cluster.
    92  //
    93  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    94  type DeleteClusterRequest = src.DeleteClusterRequest
    95  
    96  // Deletes a node pool.
    97  //
    98  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
    99  type DeleteNodePoolRequest = src.DeleteNodePoolRequest
   100  
   101  // Deletes a vpn connection.
   102  //
   103  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   104  type DeleteVpnConnectionRequest = src.DeleteVpnConnectionRequest
   105  
   106  // EdgeContainerClient is the client API for EdgeContainer service. For
   107  // semantics around ctx use and closing/ending streaming RPCs, please refer to
   108  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   109  //
   110  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   111  type EdgeContainerClient = src.EdgeContainerClient
   112  
   113  // EdgeContainerServer is the server API for EdgeContainer service.
   114  //
   115  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   116  type EdgeContainerServer = src.EdgeContainerServer
   117  
   118  // Fleet related configuration. Fleets are a Google Cloud concept for
   119  // logically organizing clusters, letting you use and manage multi-cluster
   120  // capabilities and apply consistent policies across your systems.
   121  //
   122  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   123  type Fleet = src.Fleet
   124  
   125  // Generates an access token for a cluster.
   126  //
   127  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   128  type GenerateAccessTokenRequest = src.GenerateAccessTokenRequest
   129  
   130  // An access token for a cluster.
   131  //
   132  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   133  type GenerateAccessTokenResponse = src.GenerateAccessTokenResponse
   134  
   135  // Gets a cluster.
   136  //
   137  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   138  type GetClusterRequest = src.GetClusterRequest
   139  
   140  // Gets a machine.
   141  //
   142  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   143  type GetMachineRequest = src.GetMachineRequest
   144  
   145  // Gets a node pool.
   146  //
   147  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   148  type GetNodePoolRequest = src.GetNodePoolRequest
   149  
   150  // Gets a VPN connection.
   151  //
   152  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   153  type GetVpnConnectionRequest = src.GetVpnConnectionRequest
   154  
   155  // Represents the accessibility state of a customer-managed KMS key used for
   156  // CMEK integration.
   157  //
   158  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   159  type KmsKeyState = src.KmsKeyState
   160  
   161  // Lists clusters in a location.
   162  //
   163  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   164  type ListClustersRequest = src.ListClustersRequest
   165  
   166  // List of clusters in a location.
   167  //
   168  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   169  type ListClustersResponse = src.ListClustersResponse
   170  
   171  // Lists machines in a site.
   172  //
   173  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   174  type ListMachinesRequest = src.ListMachinesRequest
   175  
   176  // List of machines in a site.
   177  //
   178  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   179  type ListMachinesResponse = src.ListMachinesResponse
   180  
   181  // Lists node pools in a cluster.
   182  //
   183  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   184  type ListNodePoolsRequest = src.ListNodePoolsRequest
   185  
   186  // List of node pools in a cluster.
   187  //
   188  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   189  type ListNodePoolsResponse = src.ListNodePoolsResponse
   190  
   191  // Lists VPN connections.
   192  //
   193  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   194  type ListVpnConnectionsRequest = src.ListVpnConnectionsRequest
   195  
   196  // List of VPN connections in a location.
   197  //
   198  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   199  type ListVpnConnectionsResponse = src.ListVpnConnectionsResponse
   200  
   201  // Metadata for a given
   202  // [google.cloud.location.Location][google.cloud.location.Location].
   203  //
   204  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   205  type LocationMetadata = src.LocationMetadata
   206  
   207  // A Google Distributed Cloud Edge machine capable of acting as a Kubernetes
   208  // node.
   209  //
   210  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   211  type Machine = src.Machine
   212  
   213  // Maintenance policy configuration.
   214  //
   215  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   216  type MaintenancePolicy = src.MaintenancePolicy
   217  
   218  // Maintenance window configuration
   219  //
   220  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   221  type MaintenanceWindow = src.MaintenanceWindow
   222  
   223  // A set of Kubernetes nodes in a cluster with common configuration and
   224  // specification.
   225  //
   226  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   227  type NodePool = src.NodePool
   228  
   229  // Configuration for CMEK support for edge machine local disk encryption.
   230  //
   231  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   232  type NodePool_LocalDiskEncryption = src.NodePool_LocalDiskEncryption
   233  
   234  // Long-running operation metadata for Edge Container API methods.
   235  //
   236  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   237  type OperationMetadata = src.OperationMetadata
   238  
   239  // Represents quota for Edge Container resources.
   240  //
   241  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   242  type Quota = src.Quota
   243  
   244  // Represents an arbitrary window of time that recurs.
   245  //
   246  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   247  type RecurringTimeWindow = src.RecurringTimeWindow
   248  
   249  // Represents an arbitrary window of time.
   250  //
   251  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   252  type TimeWindow = src.TimeWindow
   253  
   254  // UnimplementedEdgeContainerServer can be embedded to have forward compatible
   255  // implementations.
   256  //
   257  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   258  type UnimplementedEdgeContainerServer = src.UnimplementedEdgeContainerServer
   259  
   260  // Updates a cluster.
   261  //
   262  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   263  type UpdateClusterRequest = src.UpdateClusterRequest
   264  
   265  // Updates a node pool.
   266  //
   267  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   268  type UpdateNodePoolRequest = src.UpdateNodePoolRequest
   269  
   270  // A VPN connection .
   271  //
   272  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   273  type VpnConnection = src.VpnConnection
   274  
   275  // Routing mode.
   276  //
   277  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   278  type VpnConnection_BgpRoutingMode = src.VpnConnection_BgpRoutingMode
   279  
   280  // The created connection details.
   281  //
   282  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   283  type VpnConnection_Details = src.VpnConnection_Details
   284  
   285  // The Cloud Router info.
   286  //
   287  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   288  type VpnConnection_Details_CloudRouter = src.VpnConnection_Details_CloudRouter
   289  
   290  // The Cloud VPN info.
   291  //
   292  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   293  type VpnConnection_Details_CloudVpn = src.VpnConnection_Details_CloudVpn
   294  
   295  // The current connection state.
   296  //
   297  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   298  type VpnConnection_Details_State = src.VpnConnection_Details_State
   299  
   300  // Project detail of the VPC network.
   301  //
   302  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   303  type VpnConnection_VpcProject = src.VpnConnection_VpcProject
   304  
   305  // A Google Distributed Cloud Edge zone where edge machines are located.
   306  //
   307  // Deprecated: Please use types in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   308  type ZoneMetadata = src.ZoneMetadata
   309  
   310  // Deprecated: Please use funcs in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   311  func NewEdgeContainerClient(cc grpc.ClientConnInterface) EdgeContainerClient {
   312  	return src.NewEdgeContainerClient(cc)
   313  }
   314  
   315  // Deprecated: Please use funcs in: cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb
   316  func RegisterEdgeContainerServer(s *grpc.Server, srv EdgeContainerServer) {
   317  	src.RegisterEdgeContainerServer(s, srv)
   318  }
   319  

View as plain text