...

Source file src/google.golang.org/genproto/googleapis/cloud/run/v2/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/run/v2

     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 run aliases all exported identifiers in package
    18  // "cloud.google.com/go/run/apiv2/runpb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package run
    24  
    25  import (
    26  	src "cloud.google.com/go/run/apiv2/runpb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/run/apiv2/runpb
    31  const (
    32  	Condition_ACTIVE_REVISION_LIMIT_REACHED                                = src.Condition_ACTIVE_REVISION_LIMIT_REACHED
    33  	Condition_CANCELLED                                                    = src.Condition_CANCELLED
    34  	Condition_COMMON_REASON_UNDEFINED                                      = src.Condition_COMMON_REASON_UNDEFINED
    35  	Condition_CONDITION_FAILED                                             = src.Condition_CONDITION_FAILED
    36  	Condition_CONDITION_PENDING                                            = src.Condition_CONDITION_PENDING
    37  	Condition_CONDITION_RECONCILING                                        = src.Condition_CONDITION_RECONCILING
    38  	Condition_CONDITION_SUCCEEDED                                          = src.Condition_CONDITION_SUCCEEDED
    39  	Condition_CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED                   = src.Condition_CONTAINER_IMAGE_AUTHORIZATION_CHECK_FAILED
    40  	Condition_CONTAINER_IMAGE_UNAUTHORIZED                                 = src.Condition_CONTAINER_IMAGE_UNAUTHORIZED
    41  	Condition_CONTAINER_MISSING                                            = src.Condition_CONTAINER_MISSING
    42  	Condition_CONTAINER_PERMISSION_DENIED                                  = src.Condition_CONTAINER_PERMISSION_DENIED
    43  	Condition_CUSTOMIZED_PATH_RESPONSE_PENDING                             = src.Condition_CUSTOMIZED_PATH_RESPONSE_PENDING
    44  	Condition_ENCRYPTION_KEY_CHECK_FAILED                                  = src.Condition_ENCRYPTION_KEY_CHECK_FAILED
    45  	Condition_ENCRYPTION_KEY_PERMISSION_DENIED                             = src.Condition_ENCRYPTION_KEY_PERMISSION_DENIED
    46  	Condition_ERROR                                                        = src.Condition_ERROR
    47  	Condition_EXECUTION_REASON_UNDEFINED                                   = src.Condition_EXECUTION_REASON_UNDEFINED
    48  	Condition_HEALTH_CHECK_CONTAINER_ERROR                                 = src.Condition_HEALTH_CHECK_CONTAINER_ERROR
    49  	Condition_HEALTH_CHECK_SKIPPED                                         = src.Condition_HEALTH_CHECK_SKIPPED
    50  	Condition_IMMEDIATE_RETRY                                              = src.Condition_IMMEDIATE_RETRY
    51  	Condition_INFO                                                         = src.Condition_INFO
    52  	Condition_INTERNAL                                                     = src.Condition_INTERNAL
    53  	Condition_JOB_STATUS_SERVICE_POLLING_ERROR                             = src.Condition_JOB_STATUS_SERVICE_POLLING_ERROR
    54  	Condition_MIN_INSTANCES_NOT_PROVISIONED                                = src.Condition_MIN_INSTANCES_NOT_PROVISIONED
    55  	Condition_NON_ZERO_EXIT_CODE                                           = src.Condition_NON_ZERO_EXIT_CODE
    56  	Condition_NO_DEPLOYMENT                                                = src.Condition_NO_DEPLOYMENT
    57  	Condition_PENDING                                                      = src.Condition_PENDING
    58  	Condition_POSTPONED_RETRY                                              = src.Condition_POSTPONED_RETRY
    59  	Condition_PROGRESS_DEADLINE_EXCEEDED                                   = src.Condition_PROGRESS_DEADLINE_EXCEEDED
    60  	Condition_RECREATING                                                   = src.Condition_RECREATING
    61  	Condition_RESERVE                                                      = src.Condition_RESERVE
    62  	Condition_RETIRED                                                      = src.Condition_RETIRED
    63  	Condition_RETIRING                                                     = src.Condition_RETIRING
    64  	Condition_REVISION_FAILED                                              = src.Condition_REVISION_FAILED
    65  	Condition_REVISION_REASON_UNDEFINED                                    = src.Condition_REVISION_REASON_UNDEFINED
    66  	Condition_SECRETS_ACCESS_CHECK_FAILED                                  = src.Condition_SECRETS_ACCESS_CHECK_FAILED
    67  	Condition_SEVERITY_UNSPECIFIED                                         = src.Condition_SEVERITY_UNSPECIFIED
    68  	Condition_STATE_UNSPECIFIED                                            = src.Condition_STATE_UNSPECIFIED
    69  	Condition_UNKNOWN                                                      = src.Condition_UNKNOWN
    70  	Condition_WAITING_FOR_OPERATION                                        = src.Condition_WAITING_FOR_OPERATION
    71  	Condition_WARNING                                                      = src.Condition_WARNING
    72  	ExecutionEnvironment_EXECUTION_ENVIRONMENT_GEN1                        = src.ExecutionEnvironment_EXECUTION_ENVIRONMENT_GEN1
    73  	ExecutionEnvironment_EXECUTION_ENVIRONMENT_GEN2                        = src.ExecutionEnvironment_EXECUTION_ENVIRONMENT_GEN2
    74  	ExecutionEnvironment_EXECUTION_ENVIRONMENT_UNSPECIFIED                 = src.ExecutionEnvironment_EXECUTION_ENVIRONMENT_UNSPECIFIED
    75  	IngressTraffic_INGRESS_TRAFFIC_ALL                                     = src.IngressTraffic_INGRESS_TRAFFIC_ALL
    76  	IngressTraffic_INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER                  = src.IngressTraffic_INGRESS_TRAFFIC_INTERNAL_LOAD_BALANCER
    77  	IngressTraffic_INGRESS_TRAFFIC_INTERNAL_ONLY                           = src.IngressTraffic_INGRESS_TRAFFIC_INTERNAL_ONLY
    78  	IngressTraffic_INGRESS_TRAFFIC_UNSPECIFIED                             = src.IngressTraffic_INGRESS_TRAFFIC_UNSPECIFIED
    79  	TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST      = src.TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_LATEST
    80  	TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION    = src.TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_REVISION
    81  	TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED = src.TrafficTargetAllocationType_TRAFFIC_TARGET_ALLOCATION_TYPE_UNSPECIFIED
    82  	VpcAccess_ALL_TRAFFIC                                                  = src.VpcAccess_ALL_TRAFFIC
    83  	VpcAccess_PRIVATE_RANGES_ONLY                                          = src.VpcAccess_PRIVATE_RANGES_ONLY
    84  	VpcAccess_VPC_EGRESS_UNSPECIFIED                                       = src.VpcAccess_VPC_EGRESS_UNSPECIFIED
    85  )
    86  
    87  // Deprecated: Please use vars in: cloud.google.com/go/run/apiv2/runpb
    88  var (
    89  	Condition_CommonReason_name                      = src.Condition_CommonReason_name
    90  	Condition_CommonReason_value                     = src.Condition_CommonReason_value
    91  	Condition_ExecutionReason_name                   = src.Condition_ExecutionReason_name
    92  	Condition_ExecutionReason_value                  = src.Condition_ExecutionReason_value
    93  	Condition_RevisionReason_name                    = src.Condition_RevisionReason_name
    94  	Condition_RevisionReason_value                   = src.Condition_RevisionReason_value
    95  	Condition_Severity_name                          = src.Condition_Severity_name
    96  	Condition_Severity_value                         = src.Condition_Severity_value
    97  	Condition_State_name                             = src.Condition_State_name
    98  	Condition_State_value                            = src.Condition_State_value
    99  	ExecutionEnvironment_name                        = src.ExecutionEnvironment_name
   100  	ExecutionEnvironment_value                       = src.ExecutionEnvironment_value
   101  	File_google_cloud_run_v2_condition_proto         = src.File_google_cloud_run_v2_condition_proto
   102  	File_google_cloud_run_v2_k8s_min_proto           = src.File_google_cloud_run_v2_k8s_min_proto
   103  	File_google_cloud_run_v2_revision_proto          = src.File_google_cloud_run_v2_revision_proto
   104  	File_google_cloud_run_v2_revision_template_proto = src.File_google_cloud_run_v2_revision_template_proto
   105  	File_google_cloud_run_v2_service_proto           = src.File_google_cloud_run_v2_service_proto
   106  	File_google_cloud_run_v2_traffic_target_proto    = src.File_google_cloud_run_v2_traffic_target_proto
   107  	File_google_cloud_run_v2_vendor_settings_proto   = src.File_google_cloud_run_v2_vendor_settings_proto
   108  	IngressTraffic_name                              = src.IngressTraffic_name
   109  	IngressTraffic_value                             = src.IngressTraffic_value
   110  	TrafficTargetAllocationType_name                 = src.TrafficTargetAllocationType_name
   111  	TrafficTargetAllocationType_value                = src.TrafficTargetAllocationType_value
   112  	VpcAccess_VpcEgress_name                         = src.VpcAccess_VpcEgress_name
   113  	VpcAccess_VpcEgress_value                        = src.VpcAccess_VpcEgress_value
   114  )
   115  
   116  // Settings for Binary Authorization feature.
   117  //
   118  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   119  type BinaryAuthorization = src.BinaryAuthorization
   120  type BinaryAuthorization_UseDefault = src.BinaryAuthorization_UseDefault
   121  
   122  // Represents a specific Cloud SQL instance.
   123  //
   124  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   125  type CloudSqlInstance = src.CloudSqlInstance
   126  
   127  // Defines a status condition for a resource.
   128  //
   129  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   130  type Condition = src.Condition
   131  
   132  // Reasons common to all types of conditions.
   133  //
   134  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   135  type Condition_CommonReason = src.Condition_CommonReason
   136  
   137  // Reasons specific to Execution resource.
   138  //
   139  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   140  type Condition_ExecutionReason = src.Condition_ExecutionReason
   141  type Condition_ExecutionReason_ = src.Condition_ExecutionReason_
   142  type Condition_Reason = src.Condition_Reason
   143  
   144  // Reasons specific to Revision resource.
   145  //
   146  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   147  type Condition_RevisionReason = src.Condition_RevisionReason
   148  type Condition_RevisionReason_ = src.Condition_RevisionReason_
   149  
   150  // Represents the severity of the condition failures.
   151  //
   152  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   153  type Condition_Severity = src.Condition_Severity
   154  
   155  // Represents the possible Condition states.
   156  //
   157  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   158  type Condition_State = src.Condition_State
   159  
   160  // A single application container. This specifies both the container to run,
   161  // the command to run in the container and the arguments to supply to it. Note
   162  // that additional arguments may be supplied by the system to the container at
   163  // runtime.
   164  //
   165  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   166  type Container = src.Container
   167  
   168  // ContainerPort represents a network port in a single container.
   169  //
   170  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   171  type ContainerPort = src.ContainerPort
   172  
   173  // Request message for creating a Service.
   174  //
   175  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   176  type CreateServiceRequest = src.CreateServiceRequest
   177  
   178  // Request message for deleting a retired Revision. Revision lifecycle is
   179  // usually managed by making changes to the parent Service. Only retired
   180  // revisions can be deleted with this API.
   181  //
   182  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   183  type DeleteRevisionRequest = src.DeleteRevisionRequest
   184  
   185  // Request message to delete a Service by its full name.
   186  //
   187  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   188  type DeleteServiceRequest = src.DeleteServiceRequest
   189  
   190  // EnvVar represents an environment variable present in a Container.
   191  //
   192  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   193  type EnvVar = src.EnvVar
   194  
   195  // EnvVarSource represents a source for the value of an EnvVar.
   196  //
   197  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   198  type EnvVarSource = src.EnvVarSource
   199  type EnvVar_Value = src.EnvVar_Value
   200  type EnvVar_ValueSource = src.EnvVar_ValueSource
   201  
   202  // Alternatives for execution environments.
   203  //
   204  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   205  type ExecutionEnvironment = src.ExecutionEnvironment
   206  
   207  // Request message for obtaining a Revision by its full name.
   208  //
   209  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   210  type GetRevisionRequest = src.GetRevisionRequest
   211  
   212  // Request message for obtaining a Service by its full name.
   213  //
   214  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   215  type GetServiceRequest = src.GetServiceRequest
   216  
   217  // HTTPGetAction describes an action based on HTTP Get requests.
   218  //
   219  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   220  type HTTPGetAction = src.HTTPGetAction
   221  
   222  // HTTPHeader describes a custom header to be used in HTTP probes
   223  //
   224  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   225  type HTTPHeader = src.HTTPHeader
   226  
   227  // Allowed ingress traffic for the Container.
   228  //
   229  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   230  type IngressTraffic = src.IngressTraffic
   231  
   232  // Request message for retrieving a list of Revisions.
   233  //
   234  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   235  type ListRevisionsRequest = src.ListRevisionsRequest
   236  
   237  // Response message containing a list of Revisions.
   238  //
   239  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   240  type ListRevisionsResponse = src.ListRevisionsResponse
   241  
   242  // Request message for retrieving a list of Services.
   243  //
   244  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   245  type ListServicesRequest = src.ListServicesRequest
   246  
   247  // Response message containing a list of Services.
   248  //
   249  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   250  type ListServicesResponse = src.ListServicesResponse
   251  
   252  // Probe describes a health check to be performed against a container to
   253  // determine whether it is alive or ready to receive traffic.
   254  //
   255  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   256  type Probe = src.Probe
   257  type Probe_HttpGet = src.Probe_HttpGet
   258  type Probe_TcpSocket = src.Probe_TcpSocket
   259  
   260  // ResourceRequirements describes the compute resource requirements.
   261  //
   262  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   263  type ResourceRequirements = src.ResourceRequirements
   264  
   265  // A Revision is an immutable snapshot of code and configuration. A Revision
   266  // references a container image. Revisions are only created by updates to its
   267  // parent Service.
   268  //
   269  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   270  type Revision = src.Revision
   271  
   272  // Settings for revision-level scaling settings.
   273  //
   274  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   275  type RevisionScaling = src.RevisionScaling
   276  
   277  // RevisionTemplate describes the data a revision should have when created
   278  // from a template.
   279  //
   280  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   281  type RevisionTemplate = src.RevisionTemplate
   282  
   283  // RevisionsClient is the client API for Revisions service. For semantics
   284  // around ctx use and closing/ending streaming RPCs, please refer to
   285  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   286  //
   287  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   288  type RevisionsClient = src.RevisionsClient
   289  
   290  // RevisionsServer is the server API for Revisions service.
   291  //
   292  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   293  type RevisionsServer = src.RevisionsServer
   294  
   295  // SecretEnvVarSource represents a source for the value of an EnvVar.
   296  //
   297  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   298  type SecretKeySelector = src.SecretKeySelector
   299  
   300  // The secret's value will be presented as the content of a file whose name is
   301  // defined in the item path. If no items are defined, the name of the file is
   302  // the secret.
   303  //
   304  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   305  type SecretVolumeSource = src.SecretVolumeSource
   306  
   307  // Service acts as a top-level container that manages a set of configurations
   308  // and revision templates which implement a network service. Service exists to
   309  // provide a singular abstraction which can be access controlled, reasoned
   310  // about, and which encapsulates software lifecycle decisions such as rollout
   311  // policy and team resource ownership.
   312  //
   313  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   314  type Service = src.Service
   315  
   316  // ServicesClient is the client API for Services service. For semantics around
   317  // ctx use and closing/ending streaming RPCs, please refer to
   318  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   319  //
   320  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   321  type ServicesClient = src.ServicesClient
   322  
   323  // ServicesServer is the server API for Services service.
   324  //
   325  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   326  type ServicesServer = src.ServicesServer
   327  
   328  // TCPSocketAction describes an action based on opening a socket
   329  //
   330  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   331  type TCPSocketAction = src.TCPSocketAction
   332  
   333  // Holds a single traffic routing entry for the Service. Allocations can be
   334  // done to a specific Revision name, or pointing to the latest Ready Revision.
   335  //
   336  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   337  type TrafficTarget = src.TrafficTarget
   338  
   339  // The type of instance allocation.
   340  //
   341  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   342  type TrafficTargetAllocationType = src.TrafficTargetAllocationType
   343  
   344  // Represents the observed state of a single `TrafficTarget` entry.
   345  //
   346  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   347  type TrafficTargetStatus = src.TrafficTargetStatus
   348  
   349  // UnimplementedRevisionsServer can be embedded to have forward compatible
   350  // implementations.
   351  //
   352  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   353  type UnimplementedRevisionsServer = src.UnimplementedRevisionsServer
   354  
   355  // UnimplementedServicesServer can be embedded to have forward compatible
   356  // implementations.
   357  //
   358  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   359  type UnimplementedServicesServer = src.UnimplementedServicesServer
   360  
   361  // Request message for updating a service.
   362  //
   363  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   364  type UpdateServiceRequest = src.UpdateServiceRequest
   365  
   366  // VersionToPath maps a specific version of a secret to a relative file to
   367  // mount to, relative to VolumeMount's mount_path.
   368  //
   369  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   370  type VersionToPath = src.VersionToPath
   371  
   372  // Volume represents a named volume in a container.
   373  //
   374  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   375  type Volume = src.Volume
   376  
   377  // VolumeMount describes a mounting of a Volume within a container.
   378  //
   379  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   380  type VolumeMount = src.VolumeMount
   381  type Volume_CloudSqlInstance = src.Volume_CloudSqlInstance
   382  type Volume_Secret = src.Volume_Secret
   383  
   384  // VPC Access settings. For more information on creating a VPC Connector,
   385  // visit https://cloud.google.com/vpc/docs/configure-serverless-vpc-access For
   386  // information on how to configure Cloud Run with an existing VPC Connector,
   387  // visit https://cloud.google.com/run/docs/configuring/connecting-vpc
   388  //
   389  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   390  type VpcAccess = src.VpcAccess
   391  
   392  // Egress options for VPC access.
   393  //
   394  // Deprecated: Please use types in: cloud.google.com/go/run/apiv2/runpb
   395  type VpcAccess_VpcEgress = src.VpcAccess_VpcEgress
   396  
   397  // Deprecated: Please use funcs in: cloud.google.com/go/run/apiv2/runpb
   398  func NewRevisionsClient(cc grpc.ClientConnInterface) RevisionsClient {
   399  	return src.NewRevisionsClient(cc)
   400  }
   401  
   402  // Deprecated: Please use funcs in: cloud.google.com/go/run/apiv2/runpb
   403  func NewServicesClient(cc grpc.ClientConnInterface) ServicesClient { return src.NewServicesClient(cc) }
   404  
   405  // Deprecated: Please use funcs in: cloud.google.com/go/run/apiv2/runpb
   406  func RegisterRevisionsServer(s *grpc.Server, srv RevisionsServer) {
   407  	src.RegisterRevisionsServer(s, srv)
   408  }
   409  
   410  // Deprecated: Please use funcs in: cloud.google.com/go/run/apiv2/runpb
   411  func RegisterServicesServer(s *grpc.Server, srv ServicesServer) { src.RegisterServicesServer(s, srv) }
   412  

View as plain text