mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-30 09:41:19 +00:00
275 lines
10 KiB
Go
275 lines
10 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: google/appengine/v1/application.proto
|
||
|
|
||
|
package appengine // import "google.golang.org/genproto/googleapis/appengine/v1"
|
||
|
|
||
|
import proto "github.com/golang/protobuf/proto"
|
||
|
import fmt "fmt"
|
||
|
import math "math"
|
||
|
import duration "github.com/golang/protobuf/ptypes/duration"
|
||
|
import _ "google.golang.org/genproto/googleapis/api/annotations"
|
||
|
|
||
|
// Reference imports to suppress errors if they are not otherwise used.
|
||
|
var _ = proto.Marshal
|
||
|
var _ = fmt.Errorf
|
||
|
var _ = math.Inf
|
||
|
|
||
|
// This is a compile-time assertion to ensure that this generated file
|
||
|
// is compatible with the proto package it is being compiled against.
|
||
|
// A compilation error at this line likely means your copy of the
|
||
|
// proto package needs to be updated.
|
||
|
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
|
||
|
|
||
|
// An Application resource contains the top-level configuration of an App
|
||
|
// Engine application.
|
||
|
type Application struct {
|
||
|
// Full path to the Application resource in the API.
|
||
|
// Example: `apps/myapp`.
|
||
|
//
|
||
|
// @OutputOnly
|
||
|
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
|
||
|
// Identifier of the Application resource. This identifier is equivalent
|
||
|
// to the project ID of the Google Cloud Platform project where you want to
|
||
|
// deploy your application.
|
||
|
// Example: `myapp`.
|
||
|
Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
|
||
|
// HTTP path dispatch rules for requests to the application that do not
|
||
|
// explicitly target a service or version. Rules are order-dependent.
|
||
|
//
|
||
|
// @OutputOnly
|
||
|
DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules,proto3" json:"dispatch_rules,omitempty"`
|
||
|
// Google Apps authentication domain that controls which users can access
|
||
|
// this application.
|
||
|
//
|
||
|
// Defaults to open access for any Google Account.
|
||
|
AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain,proto3" json:"auth_domain,omitempty"`
|
||
|
// Location from which this application will be run. Application instances
|
||
|
// will run out of data centers in the chosen location, which is also where
|
||
|
// all of the application's end user content is stored.
|
||
|
//
|
||
|
// Defaults to `us-central`.
|
||
|
//
|
||
|
// Options are:
|
||
|
//
|
||
|
// `us-central` - Central US
|
||
|
//
|
||
|
// `europe-west` - Western Europe
|
||
|
//
|
||
|
// `us-east1` - Eastern US
|
||
|
LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId,proto3" json:"location_id,omitempty"`
|
||
|
// Google Cloud Storage bucket that can be used for storing files
|
||
|
// associated with this application. This bucket is associated with the
|
||
|
// application and can be used by the gcloud deployment commands.
|
||
|
//
|
||
|
// @OutputOnly
|
||
|
CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket,proto3" json:"code_bucket,omitempty"`
|
||
|
// Cookie expiration policy for this application.
|
||
|
//
|
||
|
// @OutputOnly
|
||
|
DefaultCookieExpiration *duration.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration,proto3" json:"default_cookie_expiration,omitempty"`
|
||
|
// Hostname used to reach this application, as resolved by App Engine.
|
||
|
//
|
||
|
// @OutputOnly
|
||
|
DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname,proto3" json:"default_hostname,omitempty"`
|
||
|
// Google Cloud Storage bucket that can be used by this application to store
|
||
|
// content.
|
||
|
//
|
||
|
// @OutputOnly
|
||
|
DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket,proto3" json:"default_bucket,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *Application) Reset() { *m = Application{} }
|
||
|
func (m *Application) String() string { return proto.CompactTextString(m) }
|
||
|
func (*Application) ProtoMessage() {}
|
||
|
func (*Application) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_application_8376614ded493b3c, []int{0}
|
||
|
}
|
||
|
func (m *Application) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_Application.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *Application) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_Application.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *Application) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_Application.Merge(dst, src)
|
||
|
}
|
||
|
func (m *Application) XXX_Size() int {
|
||
|
return xxx_messageInfo_Application.Size(m)
|
||
|
}
|
||
|
func (m *Application) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_Application.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_Application proto.InternalMessageInfo
|
||
|
|
||
|
func (m *Application) GetName() string {
|
||
|
if m != nil {
|
||
|
return m.Name
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Application) GetId() string {
|
||
|
if m != nil {
|
||
|
return m.Id
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Application) GetDispatchRules() []*UrlDispatchRule {
|
||
|
if m != nil {
|
||
|
return m.DispatchRules
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Application) GetAuthDomain() string {
|
||
|
if m != nil {
|
||
|
return m.AuthDomain
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Application) GetLocationId() string {
|
||
|
if m != nil {
|
||
|
return m.LocationId
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Application) GetCodeBucket() string {
|
||
|
if m != nil {
|
||
|
return m.CodeBucket
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Application) GetDefaultCookieExpiration() *duration.Duration {
|
||
|
if m != nil {
|
||
|
return m.DefaultCookieExpiration
|
||
|
}
|
||
|
return nil
|
||
|
}
|
||
|
|
||
|
func (m *Application) GetDefaultHostname() string {
|
||
|
if m != nil {
|
||
|
return m.DefaultHostname
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *Application) GetDefaultBucket() string {
|
||
|
if m != nil {
|
||
|
return m.DefaultBucket
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
// Rules to match an HTTP request and dispatch that request to a service.
|
||
|
type UrlDispatchRule struct {
|
||
|
// Domain name to match against. The wildcard "`*`" is supported if
|
||
|
// specified before a period: "`*.`".
|
||
|
//
|
||
|
// Defaults to matching all domains: "`*`".
|
||
|
Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
|
||
|
// Pathname within the host. Must start with a "`/`". A
|
||
|
// single "`*`" can be included at the end of the path. The sum
|
||
|
// of the lengths of the domain and path may not exceed 100
|
||
|
// characters.
|
||
|
Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
|
||
|
// Resource ID of a service in this application that should
|
||
|
// serve the matched request. The service must already
|
||
|
// exist. Example: `default`.
|
||
|
Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *UrlDispatchRule) Reset() { *m = UrlDispatchRule{} }
|
||
|
func (m *UrlDispatchRule) String() string { return proto.CompactTextString(m) }
|
||
|
func (*UrlDispatchRule) ProtoMessage() {}
|
||
|
func (*UrlDispatchRule) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_application_8376614ded493b3c, []int{1}
|
||
|
}
|
||
|
func (m *UrlDispatchRule) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_UrlDispatchRule.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *UrlDispatchRule) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_UrlDispatchRule.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (dst *UrlDispatchRule) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_UrlDispatchRule.Merge(dst, src)
|
||
|
}
|
||
|
func (m *UrlDispatchRule) XXX_Size() int {
|
||
|
return xxx_messageInfo_UrlDispatchRule.Size(m)
|
||
|
}
|
||
|
func (m *UrlDispatchRule) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_UrlDispatchRule.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_UrlDispatchRule proto.InternalMessageInfo
|
||
|
|
||
|
func (m *UrlDispatchRule) GetDomain() string {
|
||
|
if m != nil {
|
||
|
return m.Domain
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UrlDispatchRule) GetPath() string {
|
||
|
if m != nil {
|
||
|
return m.Path
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *UrlDispatchRule) GetService() string {
|
||
|
if m != nil {
|
||
|
return m.Service
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*Application)(nil), "google.appengine.v1.Application")
|
||
|
proto.RegisterType((*UrlDispatchRule)(nil), "google.appengine.v1.UrlDispatchRule")
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor_application_8376614ded493b3c)
|
||
|
}
|
||
|
|
||
|
var fileDescriptor_application_8376614ded493b3c = []byte{
|
||
|
// 409 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5f, 0x6b, 0xdb, 0x30,
|
||
|
0x14, 0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