...

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

Documentation: google.golang.org/genproto/googleapis/cloud/shell/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 shell aliases all exported identifiers in package
    18  // "cloud.google.com/go/shell/apiv1/shellpb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package shell
    24  
    25  import (
    26  	src "cloud.google.com/go/shell/apiv1/shellpb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/shell/apiv1/shellpb
    31  const (
    32  	CloudShellErrorDetails_CLOUD_SHELL_DISABLED               = src.CloudShellErrorDetails_CLOUD_SHELL_DISABLED
    33  	CloudShellErrorDetails_CLOUD_SHELL_ERROR_CODE_UNSPECIFIED = src.CloudShellErrorDetails_CLOUD_SHELL_ERROR_CODE_UNSPECIFIED
    34  	CloudShellErrorDetails_IMAGE_UNAVAILABLE                  = src.CloudShellErrorDetails_IMAGE_UNAVAILABLE
    35  	CloudShellErrorDetails_QUOTA_EXCEEDED                     = src.CloudShellErrorDetails_QUOTA_EXCEEDED
    36  	CloudShellErrorDetails_TOS_VIOLATION                      = src.CloudShellErrorDetails_TOS_VIOLATION
    37  	Environment_DELETING                                      = src.Environment_DELETING
    38  	Environment_PENDING                                       = src.Environment_PENDING
    39  	Environment_RUNNING                                       = src.Environment_RUNNING
    40  	Environment_STATE_UNSPECIFIED                             = src.Environment_STATE_UNSPECIFIED
    41  	Environment_SUSPENDED                                     = src.Environment_SUSPENDED
    42  	StartEnvironmentMetadata_AWAITING_COMPUTE_RESOURCES       = src.StartEnvironmentMetadata_AWAITING_COMPUTE_RESOURCES
    43  	StartEnvironmentMetadata_FINISHED                         = src.StartEnvironmentMetadata_FINISHED
    44  	StartEnvironmentMetadata_STARTING                         = src.StartEnvironmentMetadata_STARTING
    45  	StartEnvironmentMetadata_STATE_UNSPECIFIED                = src.StartEnvironmentMetadata_STATE_UNSPECIFIED
    46  	StartEnvironmentMetadata_UNARCHIVING_DISK                 = src.StartEnvironmentMetadata_UNARCHIVING_DISK
    47  )
    48  
    49  // Deprecated: Please use vars in: cloud.google.com/go/shell/apiv1/shellpb
    50  var (
    51  	CloudShellErrorDetails_CloudShellErrorCode_name  = src.CloudShellErrorDetails_CloudShellErrorCode_name
    52  	CloudShellErrorDetails_CloudShellErrorCode_value = src.CloudShellErrorDetails_CloudShellErrorCode_value
    53  	Environment_State_name                           = src.Environment_State_name
    54  	Environment_State_value                          = src.Environment_State_value
    55  	File_google_cloud_shell_v1_cloudshell_proto      = src.File_google_cloud_shell_v1_cloudshell_proto
    56  	StartEnvironmentMetadata_State_name              = src.StartEnvironmentMetadata_State_name
    57  	StartEnvironmentMetadata_State_value             = src.StartEnvironmentMetadata_State_value
    58  )
    59  
    60  // Message included in the metadata field of operations returned from
    61  // [AddPublicKey][google.cloud.shell.v1.CloudShellService.AddPublicKey].
    62  //
    63  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
    64  type AddPublicKeyMetadata = src.AddPublicKeyMetadata
    65  
    66  // Request message for
    67  // [AddPublicKey][google.cloud.shell.v1.CloudShellService.AddPublicKey].
    68  //
    69  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
    70  type AddPublicKeyRequest = src.AddPublicKeyRequest
    71  
    72  // Response message for
    73  // [AddPublicKey][google.cloud.shell.v1.CloudShellService.AddPublicKey].
    74  //
    75  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
    76  type AddPublicKeyResponse = src.AddPublicKeyResponse
    77  
    78  // Message included in the metadata field of operations returned from
    79  // [AuthorizeEnvironment][google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment].
    80  //
    81  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
    82  type AuthorizeEnvironmentMetadata = src.AuthorizeEnvironmentMetadata
    83  
    84  // Request message for
    85  // [AuthorizeEnvironment][google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment].
    86  //
    87  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
    88  type AuthorizeEnvironmentRequest = src.AuthorizeEnvironmentRequest
    89  
    90  // Response message for
    91  // [AuthorizeEnvironment][google.cloud.shell.v1.CloudShellService.AuthorizeEnvironment].
    92  //
    93  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
    94  type AuthorizeEnvironmentResponse = src.AuthorizeEnvironmentResponse
    95  
    96  // Cloud-shell specific information that will be included as details in
    97  // failure responses.
    98  //
    99  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   100  type CloudShellErrorDetails = src.CloudShellErrorDetails
   101  
   102  // Set of possible errors returned from API calls.
   103  //
   104  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   105  type CloudShellErrorDetails_CloudShellErrorCode = src.CloudShellErrorDetails_CloudShellErrorCode
   106  
   107  // CloudShellServiceClient is the client API for CloudShellService service.
   108  // For semantics around ctx use and closing/ending streaming RPCs, please refer
   109  // to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   110  //
   111  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   112  type CloudShellServiceClient = src.CloudShellServiceClient
   113  
   114  // CloudShellServiceServer is the server API for CloudShellService service.
   115  //
   116  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   117  type CloudShellServiceServer = src.CloudShellServiceServer
   118  
   119  // Message included in the metadata field of operations returned from
   120  // [CreateEnvironment][google.cloud.shell.v1.CloudShellService.CreateEnvironment].
   121  //
   122  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   123  type CreateEnvironmentMetadata = src.CreateEnvironmentMetadata
   124  
   125  // Message included in the metadata field of operations returned from
   126  // [DeleteEnvironment][google.cloud.shell.v1.CloudShellService.DeleteEnvironment].
   127  //
   128  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   129  type DeleteEnvironmentMetadata = src.DeleteEnvironmentMetadata
   130  
   131  // A Cloud Shell environment, which is defined as the combination of a Docker
   132  // image specifying what is installed on the environment and a home directory
   133  // containing the user's data that will remain across sessions. Each user has
   134  // at least an environment with the ID "default".
   135  //
   136  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   137  type Environment = src.Environment
   138  
   139  // Possible execution states for an environment.
   140  //
   141  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   142  type Environment_State = src.Environment_State
   143  
   144  // Request message for
   145  // [GetEnvironment][google.cloud.shell.v1.CloudShellService.GetEnvironment].
   146  //
   147  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   148  type GetEnvironmentRequest = src.GetEnvironmentRequest
   149  
   150  // Message included in the metadata field of operations returned from
   151  // [RemovePublicKey][google.cloud.shell.v1.CloudShellService.RemovePublicKey].
   152  //
   153  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   154  type RemovePublicKeyMetadata = src.RemovePublicKeyMetadata
   155  
   156  // Request message for
   157  // [RemovePublicKey][google.cloud.shell.v1.CloudShellService.RemovePublicKey].
   158  //
   159  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   160  type RemovePublicKeyRequest = src.RemovePublicKeyRequest
   161  
   162  // Response message for
   163  // [RemovePublicKey][google.cloud.shell.v1.CloudShellService.RemovePublicKey].
   164  //
   165  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   166  type RemovePublicKeyResponse = src.RemovePublicKeyResponse
   167  
   168  // Message included in the metadata field of operations returned from
   169  // [StartEnvironment][google.cloud.shell.v1.CloudShellService.StartEnvironment].
   170  //
   171  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   172  type StartEnvironmentMetadata = src.StartEnvironmentMetadata
   173  
   174  // Possible states an environment might transition between during startup.
   175  // These states are not normally actionable by clients, but may be used to show
   176  // a progress message to the user. An environment won't necessarily go through
   177  // all of these states when starting. More states are likely to be added in the
   178  // future.
   179  //
   180  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   181  type StartEnvironmentMetadata_State = src.StartEnvironmentMetadata_State
   182  
   183  // Request message for
   184  // [StartEnvironment][google.cloud.shell.v1.CloudShellService.StartEnvironment].
   185  //
   186  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   187  type StartEnvironmentRequest = src.StartEnvironmentRequest
   188  
   189  // Message included in the response field of operations returned from
   190  // [StartEnvironment][google.cloud.shell.v1.CloudShellService.StartEnvironment]
   191  // once the operation is complete.
   192  //
   193  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   194  type StartEnvironmentResponse = src.StartEnvironmentResponse
   195  
   196  // UnimplementedCloudShellServiceServer can be embedded to have forward
   197  // compatible implementations.
   198  //
   199  // Deprecated: Please use types in: cloud.google.com/go/shell/apiv1/shellpb
   200  type UnimplementedCloudShellServiceServer = src.UnimplementedCloudShellServiceServer
   201  
   202  // Deprecated: Please use funcs in: cloud.google.com/go/shell/apiv1/shellpb
   203  func NewCloudShellServiceClient(cc grpc.ClientConnInterface) CloudShellServiceClient {
   204  	return src.NewCloudShellServiceClient(cc)
   205  }
   206  
   207  // Deprecated: Please use funcs in: cloud.google.com/go/shell/apiv1/shellpb
   208  func RegisterCloudShellServiceServer(s *grpc.Server, srv CloudShellServiceServer) {
   209  	src.RegisterCloudShellServiceServer(s, srv)
   210  }
   211  

View as plain text