1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/appengine/v1/app_yaml.proto
5 Package appengine is a generated protocol buffer package.
7 It is generated from these files:
8 google/appengine/v1/app_yaml.proto
9 google/appengine/v1/appengine.proto
10 google/appengine/v1/application.proto
11 google/appengine/v1/deploy.proto
12 google/appengine/v1/instance.proto
13 google/appengine/v1/location.proto
14 google/appengine/v1/operation.proto
15 google/appengine/v1/service.proto
16 google/appengine/v1/version.proto
18 It has these top-level messages:
28 RepairApplicationRequest
69 import proto "github.com/golang/protobuf/proto"
72 import _ "google.golang.org/genproto/googleapis/api/annotations"
73 import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
75 // Reference imports to suppress errors if they are not otherwise used.
80 // This is a compile-time assertion to ensure that this generated file
81 // is compatible with the proto package it is being compiled against.
82 // A compilation error at this line likely means your copy of the
83 // proto package needs to be updated.
84 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
86 // Actions to take when the user is not logged in.
87 type AuthFailAction int32
90 // Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed.
91 AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED AuthFailAction = 0
92 // Redirects user to "accounts.google.com". The user is redirected back to the
93 // application URL after signing in or creating an account.
94 AuthFailAction_AUTH_FAIL_ACTION_REDIRECT AuthFailAction = 1
95 // Rejects request with a `401` HTTP status code and an error
97 AuthFailAction_AUTH_FAIL_ACTION_UNAUTHORIZED AuthFailAction = 2
100 var AuthFailAction_name = map[int32]string{
101 0: "AUTH_FAIL_ACTION_UNSPECIFIED",
102 1: "AUTH_FAIL_ACTION_REDIRECT",
103 2: "AUTH_FAIL_ACTION_UNAUTHORIZED",
105 var AuthFailAction_value = map[string]int32{
106 "AUTH_FAIL_ACTION_UNSPECIFIED": 0,
107 "AUTH_FAIL_ACTION_REDIRECT": 1,
108 "AUTH_FAIL_ACTION_UNAUTHORIZED": 2,
111 func (x AuthFailAction) String() string {
112 return proto.EnumName(AuthFailAction_name, int32(x))
114 func (AuthFailAction) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
116 // Methods to restrict access to a URL based on login status.
117 type LoginRequirement int32
120 // Not specified. `LOGIN_OPTIONAL` is assumed.
121 LoginRequirement_LOGIN_UNSPECIFIED LoginRequirement = 0
122 // Does not require that the user is signed in.
123 LoginRequirement_LOGIN_OPTIONAL LoginRequirement = 1
124 // If the user is not signed in, the `auth_fail_action` is taken.
125 // In addition, if the user is not an administrator for the
126 // application, they are given an error message regardless of
127 // `auth_fail_action`. If the user is an administrator, the handler
129 LoginRequirement_LOGIN_ADMIN LoginRequirement = 2
130 // If the user has signed in, the handler proceeds normally. Otherwise, the
131 // auth_fail_action is taken.
132 LoginRequirement_LOGIN_REQUIRED LoginRequirement = 3
135 var LoginRequirement_name = map[int32]string{
136 0: "LOGIN_UNSPECIFIED",
141 var LoginRequirement_value = map[string]int32{
142 "LOGIN_UNSPECIFIED": 0,
148 func (x LoginRequirement) String() string {
149 return proto.EnumName(LoginRequirement_name, int32(x))
151 func (LoginRequirement) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
153 // Methods to enforce security (HTTPS) on a URL.
154 type SecurityLevel int32
158 SecurityLevel_SECURE_UNSPECIFIED SecurityLevel = 0
159 // Both HTTP and HTTPS requests with URLs that match the handler succeed
160 // without redirects. The application can examine the request to determine
161 // which protocol was used, and respond accordingly.
162 SecurityLevel_SECURE_DEFAULT SecurityLevel = 0
163 // Requests for a URL that match this handler that use HTTPS are automatically
164 // redirected to the HTTP equivalent URL.
165 SecurityLevel_SECURE_NEVER SecurityLevel = 1
166 // Both HTTP and HTTPS requests with URLs that match the handler succeed
167 // without redirects. The application can examine the request to determine
168 // which protocol was used and respond accordingly.
169 SecurityLevel_SECURE_OPTIONAL SecurityLevel = 2
170 // Requests for a URL that match this handler that do not use HTTPS are
171 // automatically redirected to the HTTPS URL with the same path. Query
172 // parameters are reserved for the redirect.
173 SecurityLevel_SECURE_ALWAYS SecurityLevel = 3
176 var SecurityLevel_name = map[int32]string{
177 0: "SECURE_UNSPECIFIED",
178 // Duplicate value: 0: "SECURE_DEFAULT",
180 2: "SECURE_OPTIONAL",
183 var SecurityLevel_value = map[string]int32{
184 "SECURE_UNSPECIFIED": 0,
187 "SECURE_OPTIONAL": 2,
191 func (x SecurityLevel) String() string {
192 return proto.EnumName(SecurityLevel_name, int32(x))
194 func (SecurityLevel) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
197 type ErrorHandler_ErrorCode int32
200 // Not specified. ERROR_CODE_DEFAULT is assumed.
201 ErrorHandler_ERROR_CODE_UNSPECIFIED ErrorHandler_ErrorCode = 0
202 // All other error types.
203 ErrorHandler_ERROR_CODE_DEFAULT ErrorHandler_ErrorCode = 0
204 // Application has exceeded a resource quota.
205 ErrorHandler_ERROR_CODE_OVER_QUOTA ErrorHandler_ErrorCode = 1
206 // Client blocked by the application's Denial of Service protection
208 ErrorHandler_ERROR_CODE_DOS_API_DENIAL ErrorHandler_ErrorCode = 2
209 // Deadline reached before the application responds.
210 ErrorHandler_ERROR_CODE_TIMEOUT ErrorHandler_ErrorCode = 3
213 var ErrorHandler_ErrorCode_name = map[int32]string{
214 0: "ERROR_CODE_UNSPECIFIED",
215 // Duplicate value: 0: "ERROR_CODE_DEFAULT",
216 1: "ERROR_CODE_OVER_QUOTA",
217 2: "ERROR_CODE_DOS_API_DENIAL",
218 3: "ERROR_CODE_TIMEOUT",
220 var ErrorHandler_ErrorCode_value = map[string]int32{
221 "ERROR_CODE_UNSPECIFIED": 0,
222 "ERROR_CODE_DEFAULT": 0,
223 "ERROR_CODE_OVER_QUOTA": 1,
224 "ERROR_CODE_DOS_API_DENIAL": 2,
225 "ERROR_CODE_TIMEOUT": 3,
228 func (x ErrorHandler_ErrorCode) String() string {
229 return proto.EnumName(ErrorHandler_ErrorCode_name, int32(x))
231 func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{1, 0} }
234 type UrlMap_RedirectHttpResponseCode int32
237 // Not specified. `302` is assumed.
238 UrlMap_REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED UrlMap_RedirectHttpResponseCode = 0
239 // `301 Moved Permanently` code.
240 UrlMap_REDIRECT_HTTP_RESPONSE_CODE_301 UrlMap_RedirectHttpResponseCode = 1
241 // `302 Moved Temporarily` code.
242 UrlMap_REDIRECT_HTTP_RESPONSE_CODE_302 UrlMap_RedirectHttpResponseCode = 2
243 // `303 See Other` code.
244 UrlMap_REDIRECT_HTTP_RESPONSE_CODE_303 UrlMap_RedirectHttpResponseCode = 3
245 // `307 Temporary Redirect` code.
246 UrlMap_REDIRECT_HTTP_RESPONSE_CODE_307 UrlMap_RedirectHttpResponseCode = 4
249 var UrlMap_RedirectHttpResponseCode_name = map[int32]string{
250 0: "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED",
251 1: "REDIRECT_HTTP_RESPONSE_CODE_301",
252 2: "REDIRECT_HTTP_RESPONSE_CODE_302",
253 3: "REDIRECT_HTTP_RESPONSE_CODE_303",
254 4: "REDIRECT_HTTP_RESPONSE_CODE_307",
256 var UrlMap_RedirectHttpResponseCode_value = map[string]int32{
257 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED": 0,
258 "REDIRECT_HTTP_RESPONSE_CODE_301": 1,
259 "REDIRECT_HTTP_RESPONSE_CODE_302": 2,
260 "REDIRECT_HTTP_RESPONSE_CODE_303": 3,
261 "REDIRECT_HTTP_RESPONSE_CODE_307": 4,
264 func (x UrlMap_RedirectHttpResponseCode) String() string {
265 return proto.EnumName(UrlMap_RedirectHttpResponseCode_name, int32(x))
267 func (UrlMap_RedirectHttpResponseCode) EnumDescriptor() ([]byte, []int) {
268 return fileDescriptor0, []int{2, 0}
271 // [Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/)
272 // configuration for API handlers.
273 type ApiConfigHandler struct {
274 // Action to take when users access resources that require
275 // authentication. Defaults to `redirect`.
276 AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
277 // Level of login required to access this resource. Defaults to
279 Login LoginRequirement `protobuf:"varint,2,opt,name=login,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
280 // Path to the script from the application root directory.
281 Script string `protobuf:"bytes,3,opt,name=script" json:"script,omitempty"`
282 // Security (HTTPS) enforcement for this URL.
283 SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
284 // URL to serve the endpoint at.
285 Url string `protobuf:"bytes,5,opt,name=url" json:"url,omitempty"`
288 func (m *ApiConfigHandler) Reset() { *m = ApiConfigHandler{} }
289 func (m *ApiConfigHandler) String() string { return proto.CompactTextString(m) }
290 func (*ApiConfigHandler) ProtoMessage() {}
291 func (*ApiConfigHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} }
293 func (m *ApiConfigHandler) GetAuthFailAction() AuthFailAction {
295 return m.AuthFailAction
297 return AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED
300 func (m *ApiConfigHandler) GetLogin() LoginRequirement {
304 return LoginRequirement_LOGIN_UNSPECIFIED
307 func (m *ApiConfigHandler) GetScript() string {
314 func (m *ApiConfigHandler) GetSecurityLevel() SecurityLevel {
316 return m.SecurityLevel
318 return SecurityLevel_SECURE_UNSPECIFIED
321 func (m *ApiConfigHandler) GetUrl() string {
328 // Custom static error page to be served when an error occurs.
329 type ErrorHandler struct {
330 // Error condition this handler applies to.
331 ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"`
332 // Static file content to be served for this error.
333 StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile" json:"static_file,omitempty"`
334 // MIME type of file. Defaults to `text/html`.
335 MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
338 func (m *ErrorHandler) Reset() { *m = ErrorHandler{} }
339 func (m *ErrorHandler) String() string { return proto.CompactTextString(m) }
340 func (*ErrorHandler) ProtoMessage() {}
341 func (*ErrorHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{1} }
343 func (m *ErrorHandler) GetErrorCode() ErrorHandler_ErrorCode {
347 return ErrorHandler_ERROR_CODE_UNSPECIFIED
350 func (m *ErrorHandler) GetStaticFile() string {
357 func (m *ErrorHandler) GetMimeType() string {
364 // URL pattern and description of how the URL should be handled. App Engine can
365 // handle URLs by executing application code or by serving static files
366 // uploaded with the version, such as images, CSS, or JavaScript.
368 // URL prefix. Uses regular expression syntax, which means regexp
369 // special characters must be escaped, but should not contain groupings.
370 // All URLs that begin with this prefix are handled by this handler, using the
371 // portion of the URL after the prefix as part of the file path.
372 UrlRegex string `protobuf:"bytes,1,opt,name=url_regex,json=urlRegex" json:"url_regex,omitempty"`
373 // Type of handler for this URL pattern.
375 // Types that are valid to be assigned to HandlerType:
376 // *UrlMap_StaticFiles
378 // *UrlMap_ApiEndpoint
379 HandlerType isUrlMap_HandlerType `protobuf_oneof:"handler_type"`
380 // Security (HTTPS) enforcement for this URL.
381 SecurityLevel SecurityLevel `protobuf:"varint,5,opt,name=security_level,json=securityLevel,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"`
382 // Level of login required to access this resource.
383 Login LoginRequirement `protobuf:"varint,6,opt,name=login,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"`
384 // Action to take when users access resources that require
385 // authentication. Defaults to `redirect`.
386 AuthFailAction AuthFailAction `protobuf:"varint,7,opt,name=auth_fail_action,json=authFailAction,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"`
387 // `30x` code to use when performing redirects for the `secure` field.
388 // Defaults to `302`.
389 RedirectHttpResponseCode UrlMap_RedirectHttpResponseCode `protobuf:"varint,8,opt,name=redirect_http_response_code,json=redirectHttpResponseCode,enum=google.appengine.v1.UrlMap_RedirectHttpResponseCode" json:"redirect_http_response_code,omitempty"`
392 func (m *UrlMap) Reset() { *m = UrlMap{} }
393 func (m *UrlMap) String() string { return proto.CompactTextString(m) }
394 func (*UrlMap) ProtoMessage() {}
395 func (*UrlMap) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{2} }
397 type isUrlMap_HandlerType interface {
398 isUrlMap_HandlerType()
401 type UrlMap_StaticFiles struct {
402 StaticFiles *StaticFilesHandler `protobuf:"bytes,2,opt,name=static_files,json=staticFiles,oneof"`
404 type UrlMap_Script struct {
405 Script *ScriptHandler `protobuf:"bytes,3,opt,name=script,oneof"`
407 type UrlMap_ApiEndpoint struct {
408 ApiEndpoint *ApiEndpointHandler `protobuf:"bytes,4,opt,name=api_endpoint,json=apiEndpoint,oneof"`
411 func (*UrlMap_StaticFiles) isUrlMap_HandlerType() {}
412 func (*UrlMap_Script) isUrlMap_HandlerType() {}
413 func (*UrlMap_ApiEndpoint) isUrlMap_HandlerType() {}
415 func (m *UrlMap) GetHandlerType() isUrlMap_HandlerType {
422 func (m *UrlMap) GetUrlRegex() string {
429 func (m *UrlMap) GetStaticFiles() *StaticFilesHandler {
430 if x, ok := m.GetHandlerType().(*UrlMap_StaticFiles); ok {
436 func (m *UrlMap) GetScript() *ScriptHandler {
437 if x, ok := m.GetHandlerType().(*UrlMap_Script); ok {
443 func (m *UrlMap) GetApiEndpoint() *ApiEndpointHandler {
444 if x, ok := m.GetHandlerType().(*UrlMap_ApiEndpoint); ok {
450 func (m *UrlMap) GetSecurityLevel() SecurityLevel {
452 return m.SecurityLevel
454 return SecurityLevel_SECURE_UNSPECIFIED
457 func (m *UrlMap) GetLogin() LoginRequirement {
461 return LoginRequirement_LOGIN_UNSPECIFIED
464 func (m *UrlMap) GetAuthFailAction() AuthFailAction {
466 return m.AuthFailAction
468 return AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED
471 func (m *UrlMap) GetRedirectHttpResponseCode() UrlMap_RedirectHttpResponseCode {
473 return m.RedirectHttpResponseCode
475 return UrlMap_REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED
478 // XXX_OneofFuncs is for the internal use of the proto package.
479 func (*UrlMap) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
480 return _UrlMap_OneofMarshaler, _UrlMap_OneofUnmarshaler, _UrlMap_OneofSizer, []interface{}{
481 (*UrlMap_StaticFiles)(nil),
482 (*UrlMap_Script)(nil),
483 (*UrlMap_ApiEndpoint)(nil),
487 func _UrlMap_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
490 switch x := m.HandlerType.(type) {
491 case *UrlMap_StaticFiles:
492 b.EncodeVarint(2<<3 | proto.WireBytes)
493 if err := b.EncodeMessage(x.StaticFiles); err != nil {
497 b.EncodeVarint(3<<3 | proto.WireBytes)
498 if err := b.EncodeMessage(x.Script); err != nil {
501 case *UrlMap_ApiEndpoint:
502 b.EncodeVarint(4<<3 | proto.WireBytes)
503 if err := b.EncodeMessage(x.ApiEndpoint); err != nil {
508 return fmt.Errorf("UrlMap.HandlerType has unexpected type %T", x)
513 func _UrlMap_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
516 case 2: // handler_type.static_files
517 if wire != proto.WireBytes {
518 return true, proto.ErrInternalBadWireType
520 msg := new(StaticFilesHandler)
521 err := b.DecodeMessage(msg)
522 m.HandlerType = &UrlMap_StaticFiles{msg}
524 case 3: // handler_type.script
525 if wire != proto.WireBytes {
526 return true, proto.ErrInternalBadWireType
528 msg := new(ScriptHandler)
529 err := b.DecodeMessage(msg)
530 m.HandlerType = &UrlMap_Script{msg}
532 case 4: // handler_type.api_endpoint
533 if wire != proto.WireBytes {
534 return true, proto.ErrInternalBadWireType
536 msg := new(ApiEndpointHandler)
537 err := b.DecodeMessage(msg)
538 m.HandlerType = &UrlMap_ApiEndpoint{msg}
545 func _UrlMap_OneofSizer(msg proto.Message) (n int) {
548 switch x := m.HandlerType.(type) {
549 case *UrlMap_StaticFiles:
550 s := proto.Size(x.StaticFiles)
551 n += proto.SizeVarint(2<<3 | proto.WireBytes)
552 n += proto.SizeVarint(uint64(s))
555 s := proto.Size(x.Script)
556 n += proto.SizeVarint(3<<3 | proto.WireBytes)
557 n += proto.SizeVarint(uint64(s))
559 case *UrlMap_ApiEndpoint:
560 s := proto.Size(x.ApiEndpoint)
561 n += proto.SizeVarint(4<<3 | proto.WireBytes)
562 n += proto.SizeVarint(uint64(s))
566 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
571 // Files served directly to the user for a given URL, such as images, CSS
572 // stylesheets, or JavaScript source files. Static file handlers describe which
573 // files in the application directory are static files, and which URLs serve
575 type StaticFilesHandler struct {
576 // Path to the static files matched by the URL pattern, from the
577 // application root directory. The path can refer to text matched in groupings
578 // in the URL pattern.
579 Path string `protobuf:"bytes,1,opt,name=path" json:"path,omitempty"`
580 // Regular expression that matches the file paths for all files that should be
581 // referenced by this handler.
582 UploadPathRegex string `protobuf:"bytes,2,opt,name=upload_path_regex,json=uploadPathRegex" json:"upload_path_regex,omitempty"`
583 // HTTP headers to use for all responses from these URLs.
584 HttpHeaders map[string]string `protobuf:"bytes,3,rep,name=http_headers,json=httpHeaders" json:"http_headers,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
585 // MIME type used to serve all files served by this handler.
587 // Defaults to file-specific MIME types, which are derived from each file's
588 // filename extension.
589 MimeType string `protobuf:"bytes,4,opt,name=mime_type,json=mimeType" json:"mime_type,omitempty"`
590 // Time a static file served by this handler should be cached
591 // by web proxies and browsers.
592 Expiration *google_protobuf1.Duration `protobuf:"bytes,5,opt,name=expiration" json:"expiration,omitempty"`
593 // Whether this handler should match the request if the file
594 // referenced by the handler does not exist.
595 RequireMatchingFile bool `protobuf:"varint,6,opt,name=require_matching_file,json=requireMatchingFile" json:"require_matching_file,omitempty"`
596 // Whether files should also be uploaded as code data. By default, files
597 // declared in static file handlers are uploaded as static
598 // data and are only served to end users; they cannot be read by the
599 // application. If enabled, uploads are charged against both your code and
600 // static data storage resource quotas.
601 ApplicationReadable bool `protobuf:"varint,7,opt,name=application_readable,json=applicationReadable" json:"application_readable,omitempty"`
604 func (m *StaticFilesHandler) Reset() { *m = StaticFilesHandler{} }
605 func (m *StaticFilesHandler) String() string { return proto.CompactTextString(m) }
606 func (*StaticFilesHandler) ProtoMessage() {}
607 func (*StaticFilesHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{3} }
609 func (m *StaticFilesHandler) GetPath() string {
616 func (m *StaticFilesHandler) GetUploadPathRegex() string {
618 return m.UploadPathRegex
623 func (m *StaticFilesHandler) GetHttpHeaders() map[string]string {
630 func (m *StaticFilesHandler) GetMimeType() string {
637 func (m *StaticFilesHandler) GetExpiration() *google_protobuf1.Duration {
644 func (m *StaticFilesHandler) GetRequireMatchingFile() bool {
646 return m.RequireMatchingFile
651 func (m *StaticFilesHandler) GetApplicationReadable() bool {
653 return m.ApplicationReadable
658 // Executes a script to handle the request that matches the URL pattern.
659 type ScriptHandler struct {
660 // Path to the script from the application root directory.
661 ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath" json:"script_path,omitempty"`
664 func (m *ScriptHandler) Reset() { *m = ScriptHandler{} }
665 func (m *ScriptHandler) String() string { return proto.CompactTextString(m) }
666 func (*ScriptHandler) ProtoMessage() {}
667 func (*ScriptHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{4} }
669 func (m *ScriptHandler) GetScriptPath() string {
676 // Uses Google Cloud Endpoints to handle requests.
677 type ApiEndpointHandler struct {
678 // Path to the script from the application root directory.
679 ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath" json:"script_path,omitempty"`
682 func (m *ApiEndpointHandler) Reset() { *m = ApiEndpointHandler{} }
683 func (m *ApiEndpointHandler) String() string { return proto.CompactTextString(m) }
684 func (*ApiEndpointHandler) ProtoMessage() {}
685 func (*ApiEndpointHandler) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{5} }
687 func (m *ApiEndpointHandler) GetScriptPath() string {
694 // Health checking configuration for VM instances. Unhealthy instances
695 // are killed and replaced with new instances. Only applicable for
696 // instances in App Engine flexible environment.
697 type HealthCheck struct {
698 // Whether to explicitly disable health checks for this instance.
699 DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck" json:"disable_health_check,omitempty"`
700 // Host header to send when performing an HTTP health check.
701 // Example: "myapp.appspot.com"
702 Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
703 // Number of consecutive successful health checks required before receiving
705 HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold" json:"healthy_threshold,omitempty"`
706 // Number of consecutive failed health checks required before removing
708 UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold" json:"unhealthy_threshold,omitempty"`
709 // Number of consecutive failed health checks required before an instance is
711 RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold" json:"restart_threshold,omitempty"`
712 // Interval between health checks.
713 CheckInterval *google_protobuf1.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval" json:"check_interval,omitempty"`
714 // Time before the health check is considered failed.
715 Timeout *google_protobuf1.Duration `protobuf:"bytes,7,opt,name=timeout" json:"timeout,omitempty"`
718 func (m *HealthCheck) Reset() { *m = HealthCheck{} }
719 func (m *HealthCheck) String() string { return proto.CompactTextString(m) }
720 func (*HealthCheck) ProtoMessage() {}
721 func (*HealthCheck) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{6} }
723 func (m *HealthCheck) GetDisableHealthCheck() bool {
725 return m.DisableHealthCheck
730 func (m *HealthCheck) GetHost() string {
737 func (m *HealthCheck) GetHealthyThreshold() uint32 {
739 return m.HealthyThreshold
744 func (m *HealthCheck) GetUnhealthyThreshold() uint32 {
746 return m.UnhealthyThreshold
751 func (m *HealthCheck) GetRestartThreshold() uint32 {
753 return m.RestartThreshold
758 func (m *HealthCheck) GetCheckInterval() *google_protobuf1.Duration {
760 return m.CheckInterval
765 func (m *HealthCheck) GetTimeout() *google_protobuf1.Duration {
772 // Third-party Python runtime library that is required by the application.
773 type Library struct {
774 // Name of the library. Example: "django".
775 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
776 // Version of the library to select, or "latest".
777 Version string `protobuf:"bytes,2,opt,name=version" json:"version,omitempty"`
780 func (m *Library) Reset() { *m = Library{} }
781 func (m *Library) String() string { return proto.CompactTextString(m) }
782 func (*Library) ProtoMessage() {}
783 func (*Library) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{7} }
785 func (m *Library) GetName() string {
792 func (m *Library) GetVersion() string {
800 proto.RegisterType((*ApiConfigHandler)(nil), "google.appengine.v1.ApiConfigHandler")
801 proto.RegisterType((*ErrorHandler)(nil), "google.appengine.v1.ErrorHandler")
802 proto.RegisterType((*UrlMap)(nil), "google.appengine.v1.UrlMap")
803 proto.RegisterType((*StaticFilesHandler)(nil), "google.appengine.v1.StaticFilesHandler")
804 proto.RegisterType((*ScriptHandler)(nil), "google.appengine.v1.ScriptHandler")
805 proto.RegisterType((*ApiEndpointHandler)(nil), "google.appengine.v1.ApiEndpointHandler")
806 proto.RegisterType((*HealthCheck)(nil), "google.appengine.v1.HealthCheck")
807 proto.RegisterType((*Library)(nil), "google.appengine.v1.Library")
808 proto.RegisterEnum("google.appengine.v1.AuthFailAction", AuthFailAction_name, AuthFailAction_value)
809 proto.RegisterEnum("google.appengine.v1.LoginRequirement", LoginRequirement_name, LoginRequirement_value)
810 proto.RegisterEnum("google.appengine.v1.SecurityLevel", SecurityLevel_name, SecurityLevel_value)
811 proto.RegisterEnum("google.appengine.v1.ErrorHandler_ErrorCode", ErrorHandler_ErrorCode_name, ErrorHandler_ErrorCode_value)
812 proto.RegisterEnum("google.appengine.v1.UrlMap_RedirectHttpResponseCode", UrlMap_RedirectHttpResponseCode_name, UrlMap_RedirectHttpResponseCode_value)
815 func init() { proto.RegisterFile("google/appengine/v1/app_yaml.proto", fileDescriptor0) }
817 var fileDescriptor0 = []byte{
818 // 1232 bytes of a gzipped FileDescriptorProto
819 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x56, 0xdd, 0x6e, 0x13, 0x47,
820 0x14, 0xc6, 0x76, 0x7e, 0x8f, 0x1d, 0xb3, 0x99, 0x00, 0x75, 0x02, 0x94, 0xd4, 0xa8, 0x02, 0x25,
821 0x92, 0x4d, 0x92, 0x56, 0xd0, 0x82, 0xaa, 0x2e, 0xf6, 0xa6, 0xde, 0xca, 0x89, 0xcd, 0xd8, 0xa6,
822 0x82, 0x5e, 0x8c, 0x26, 0xf6, 0xc4, 0x3b, 0x62, 0xbd, 0xbb, 0x9d, 0x1d, 0x47, 0xf8, 0x39, 0xaa,
823 0xbe, 0x07, 0xb7, 0x7d, 0x90, 0x5e, 0xf5, 0x65, 0xaa, 0x99, 0x1d, 0xff, 0x25, 0x0e, 0xa9, 0xb8,
824 0x9b, 0x73, 0xce, 0xf7, 0x9d, 0x9d, 0xf3, 0x3b, 0x0b, 0xc5, 0x7e, 0x18, 0xf6, 0x7d, 0x56, 0xa6,
825 0x51, 0xc4, 0x82, 0x3e, 0x0f, 0x58, 0xf9, 0xe2, 0x40, 0x09, 0x64, 0x44, 0x07, 0x7e, 0x29, 0x12,
826 0xa1, 0x0c, 0xd1, 0x56, 0x82, 0x29, 0x4d, 0x30, 0xa5, 0x8b, 0x83, 0x9d, 0x07, 0x13, 0x22, 0x2f,
827 0xd3, 0x20, 0x08, 0x25, 0x95, 0x3c, 0x0c, 0xe2, 0x84, 0xb2, 0xf3, 0xb5, 0xb1, 0x6a, 0xe9, 0x6c,
828 0x78, 0x5e, 0xee, 0x0d, 0x85, 0x06, 0x24, 0xf6, 0xe2, 0x9f, 0x69, 0xb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 0xe8, 0x45, 0x21, 0x0f, 0xa4, 0xee, 0xa0, 0xeb, 0xee, 0x62, 0x47, 0xdc, 0x31,
852 0xb8, 0x99, 0xbb, 0xd0, 0xa9, 0x76, 0x41, 0x47, 0x2e, 0x7f, 0x69, 0x47, 0x4e, 0x26, 0x66, 0xe5,
853 0x0b, 0x26, 0x66, 0xd1, 0xf4, 0xae, 0x7e, 0xf9, 0xf4, 0xc6, 0x70, 0x5f, 0xb0, 0x1e, 0x17, 0xac,
854 0x2b, 0x89, 0x27, 0x65, 0x44, 0x04, 0x8b, 0xa3, 0x30, 0x88, 0x59, 0x32, 0x0b, 0x6b, 0xda, 0xf3,
855 0x77, 0x0b, 0x3d, 0x27, 0xfd, 0x50, 0xc2, 0x86, 0x5e, 0x93, 0x32, 0xc2, 0x86, 0xac, 0x87, 0xa2,
856 0x20, 0xae, 0xb1, 0x14, 0xff, 0x4d, 0x41, 0xe1, 0x3a, 0x1a, 0xda, 0x87, 0x27, 0xd8, 0xa9, 0xba,
857 0xd8, 0xa9, 0xb4, 0x49, 0xad, 0xdd, 0x6e, 0x12, 0xec, 0xb4, 0x9a, 0x8d, 0xd3, 0x96, 0xb3, 0x68,
858 0x0a, 0x1e, 0xc3, 0xa3, 0xcf, 0x81, 0x8f, 0x9e, 0x1d, 0x58, 0xa9, 0x9b, 0x41, 0x87, 0x56, 0xfa,
859 0x66, 0xd0, 0x91, 0x95, 0xb9, 0x19, 0xf4, 0xdc, 0x5a, 0x7a, 0x9d, 0x87, 0x9c, 0x97, 0xf4, 0x90,
860 0x9e, 0xf1, 0xe2, 0xa7, 0x0c, 0xa0, 0xab, 0xbd, 0x8e, 0x10, 0x2c, 0x45, 0x54, 0x7a, 0x66, 0x84,
861 0xf4, 0x19, 0xed, 0xc1, 0xe6, 0x30, 0xf2, 0x43, 0xda, 0x23, 0x4a, 0x34, 0x33, 0x96, 0xac, 0x90,
862 0xdb, 0x89, 0xa1, 0x49, 0xa5, 0x97, 0x8c, 0xda, 0xef, 0x90, 0xd3, 0x05, 0xf3, 0x18, 0xed, 0x31,
863 0x11, 0x17, 0x32, 0xbb, 0x99, 0xa7, 0xd9, 0xc3, 0x17, 0xff, 0x73, 0xd4, 0x4a, 0x2a, 0xef, 0xb5,
864 0x84, 0xea, 0x04, 0x52, 0x8c, 0x70, 0xd6, 0x9b, 0x6a, 0xe6, 0x97, 0xd4, 0xd2, 0xfc, 0x92, 0x42,
865 0x3f, 0x00, 0xb0, 0x8f, 0x11, 0x4f, 0x5e, 0x1a, 0x3d, 0x06, 0xd9, 0xc3, 0xed, 0xf1, 0x77, 0xc7,
866 0x4f, 0x51, 0xa9, 0x6a, 0x9e, 0x22, 0x3c, 0x03, 0x46, 0x87, 0x70, 0x57, 0x24, 0x3d, 0x4d, 0x06,
867 0x54, 0x76, 0x3d, 0x1e, 0xf4, 0x93, 0x3d, 0xa9, 0x46, 0x61, 0x0d, 0x6f, 0x19, 0xe3, 0x89, 0xb1,
868 0xe9, 0x85, 0x79, 0x00, 0x77, 0x68, 0x14, 0xf9, 0xbc, 0xab, 0x5d, 0x10, 0xc1, 0x68, 0x8f, 0x9e,
869 0xf9, 0x4c, 0x77, 0xfd, 0x1a, 0xde, 0x9a, 0xb1, 0x61, 0x63, 0xda, 0xf9, 0x09, 0xac, 0xcb, 0xf1,
870 0xa9, 0x77, 0xe0, 0x03, 0x1b, 0x99, 0x74, 0xab, 0x23, 0xba, 0x03, 0xcb, 0x17, 0xd4, 0x1f, 0x8e,
871 0x97, 0x74, 0x22, 0xfc, 0x98, 0x7e, 0x91, 0x2a, 0x3e, 0x83, 0x8d, 0xb9, 0xad, 0xa2, 0xb7, 0xba,
872 0x56, 0x90, 0x99, 0x9a, 0x41, 0xa2, 0x52, 0x25, 0x29, 0x7e, 0x0f, 0xe8, 0xea, 0x0e, 0xb9, 0x99,
873 0xf6, 0x4f, 0x1a, 0xb2, 0x35, 0x46, 0x7d, 0xe9, 0x55, 0x3c, 0xd6, 0xfd, 0x80, 0x9e, 0x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