1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: google/appengine/v1/application.proto
6 import proto "github.com/golang/protobuf/proto"
9 import _ "google.golang.org/genproto/googleapis/api/annotations"
10 import google_protobuf1 "github.com/golang/protobuf/ptypes/duration"
12 // Reference imports to suppress errors if they are not otherwise used.
17 // An Application resource contains the top-level configuration of an App
18 // Engine application.
19 type Application struct {
20 // Full path to the Application resource in the API.
21 // Example: `apps/myapp`.
24 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
25 // Identifier of the Application resource. This identifier is equivalent
26 // to the project ID of the Google Cloud Platform project where you want to
27 // deploy your application.
29 Id string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"`
30 // HTTP path dispatch rules for requests to the application that do not
31 // explicitly target a service or version. Rules are order-dependent.
34 DispatchRules []*UrlDispatchRule `protobuf:"bytes,3,rep,name=dispatch_rules,json=dispatchRules" json:"dispatch_rules,omitempty"`
35 // Google Apps authentication domain that controls which users can access
38 // Defaults to open access for any Google Account.
39 AuthDomain string `protobuf:"bytes,6,opt,name=auth_domain,json=authDomain" json:"auth_domain,omitempty"`
40 // Location from which this application will be run. Application instances
41 // will run out of data centers in the chosen location, which is also where
42 // all of the application's end user content is stored.
44 // Defaults to `us-central`.
48 // `us-central` - Central US
50 // `europe-west` - Western Europe
52 // `us-east1` - Eastern US
53 LocationId string `protobuf:"bytes,7,opt,name=location_id,json=locationId" json:"location_id,omitempty"`
54 // Google Cloud Storage bucket that can be used for storing files
55 // associated with this application. This bucket is associated with the
56 // application and can be used by the gcloud deployment commands.
59 CodeBucket string `protobuf:"bytes,8,opt,name=code_bucket,json=codeBucket" json:"code_bucket,omitempty"`
60 // Cookie expiration policy for this application.
63 DefaultCookieExpiration *google_protobuf1.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration" json:"default_cookie_expiration,omitempty"`
64 // Hostname used to reach this application, as resolved by App Engine.
67 DefaultHostname string `protobuf:"bytes,11,opt,name=default_hostname,json=defaultHostname" json:"default_hostname,omitempty"`
68 // Google Cloud Storage bucket that can be used by this application to store
72 DefaultBucket string `protobuf:"bytes,12,opt,name=default_bucket,json=defaultBucket" json:"default_bucket,omitempty"`
75 func (m *Application) Reset() { *m = Application{} }
76 func (m *Application) String() string { return proto.CompactTextString(m) }
77 func (*Application) ProtoMessage() {}
78 func (*Application) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{0} }
80 func (m *Application) GetName() string {
87 func (m *Application) GetId() string {
94 func (m *Application) GetDispatchRules() []*UrlDispatchRule {
96 return m.DispatchRules
101 func (m *Application) GetAuthDomain() string {
108 func (m *Application) GetLocationId() string {
115 func (m *Application) GetCodeBucket() string {
122 func (m *Application) GetDefaultCookieExpiration() *google_protobuf1.Duration {
124 return m.DefaultCookieExpiration
129 func (m *Application) GetDefaultHostname() string {
131 return m.DefaultHostname
136 func (m *Application) GetDefaultBucket() string {
138 return m.DefaultBucket
143 // Rules to match an HTTP request and dispatch that request to a service.
144 type UrlDispatchRule struct {
145 // Domain name to match against. The wildcard "`*`" is supported if
146 // specified before a period: "`*.`".
148 // Defaults to matching all domains: "`*`".
149 Domain string `protobuf:"bytes,1,opt,name=domain" json:"domain,omitempty"`
150 // Pathname within the host. Must start with a "`/`". A
151 // single "`*`" can be included at the end of the path. The sum
152 // of the lengths of the domain and path may not exceed 100
154 Path string `protobuf:"bytes,2,opt,name=path" json:"path,omitempty"`
155 // Resource ID of a service in this application that should
156 // serve the matched request. The service must already
157 // exist. Example: `default`.
158 Service string `protobuf:"bytes,3,opt,name=service" json:"service,omitempty"`
161 func (m *UrlDispatchRule) Reset() { *m = UrlDispatchRule{} }
162 func (m *UrlDispatchRule) String() string { return proto.CompactTextString(m) }
163 func (*UrlDispatchRule) ProtoMessage() {}
164 func (*UrlDispatchRule) Descriptor() ([]byte, []int) { return fileDescriptor2, []int{1} }
166 func (m *UrlDispatchRule) GetDomain() string {
173 func (m *UrlDispatchRule) GetPath() string {
180 func (m *UrlDispatchRule) GetService() string {
188 proto.RegisterType((*Application)(nil), "google.appengine.v1.Application")
189 proto.RegisterType((*UrlDispatchRule)(nil), "google.appengine.v1.UrlDispatchRule")
192 func init() { proto.RegisterFile("google/appengine/v1/application.proto", fileDescriptor2) }
194 var fileDescriptor2 = []byte{
195 // 409 bytes of a gzipped FileDescriptorProto
196 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x92, 0x5f, 0x6b, 0xdb, 0x30,
197 0x14, 0xc5, 0x71, 0x3c, 0x92, 0x45, 0x5e, 0xfe, 0xa0, 0xc1, 0xa2, 0x84, 0xb1, 0x85, 0xb0, 0x40,
198 0xf6, 0x62, 0x93, 0xec, 0x71, 0x7b, 0x59, 0x9a, 0x42, 0x4b, 0x5f, 0x82, 0x21, 0x14, 0xfa, 0x62,
199 0x14, 0x4b, 0xb1, 0x45, 0x14, 0xc9, 0xd8, 0x72, 0xe8, 0x67, 0xe8, 0xa7, 0x2e, 0x96, 0x64, 0x37,
200 0x2d, 0x79, 0xd3, 0x3d, 0xfa, 0x1d, 0xdd, 0xeb, 0x73, 0x0d, 0xe6, 0x89, 0x94, 0x09, 0xa7, 0x01,
201 0xce, 0x32, 0x2a, 0x12, 0x26, 0x68, 0x70, 0x5e, 0x56, 0x05, 0x67, 0x31, 0x56, 0x4c, 0x0a, 0x3f,
202 0xcb, 0xa5, 0x92, 0xf0, 0xab, 0xc1, 0xfc, 0x06, 0xf3, 0xcf, 0xcb, 0xc9, 0xf7, 0xc6, 0xcb, 0x02,
203 0x2c, 0x84, 0x54, 0xda, 0x51, 0x18, 0xcb, 0xe4, 0x87, 0xbd, 0xd5, 0xd5, 0xbe, 0x3c, 0x04, 0xa4,
204 0xcc, 0x2f, 0x9e, 0x9c, 0xbd, 0xb8, 0xc0, 0xfb, 0xff, 0xd6, 0x08, 0x42, 0xf0, 0x49, 0xe0, 0x13,
205 0x45, 0xce, 0xd4, 0x59, 0x74, 0x43, 0x7d, 0x86, 0x7d, 0xd0, 0x62, 0x04, 0xb5, 0xb4, 0xd2, 0x62,
206 0x04, 0x3e, 0x80, 0x3e, 0x61, 0x45, 0x86, 0x55, 0x9c, 0x46, 0x79, 0xc9, 0x69, 0x81, 0xdc, 0xa9,
207 0xbb, 0xf0, 0x56, 0xbf, 0xfc, 0x2b, 0xf3, 0xf9, 0xbb, 0x9c, 0x6f, 0x2c, 0x1d, 0x96, 0x9c, 0x86,
208 0x3d, 0x72, 0x51, 0x15, 0xf0, 0x27, 0xf0, 0x70, 0xa9, 0xd2, 0x88, 0xc8, 0x13, 0x66, 0x02, 0xb5,
209 0x75, 0x17, 0x50, 0x49, 0x1b, 0xad, 0x54, 0x00, 0x97, 0x66, 0xba, 0x88, 0x11, 0xd4, 0x31, 0x40,
210 0x2d, 0xdd, 0x93, 0x0a, 0x88, 0x25, 0xa1, 0xd1, 0xbe, 0x8c, 0x8f, 0x54, 0xa1, 0xcf, 0x06, 0xa8,
211 0xa4, 0xb5, 0x56, 0xe0, 0x0e, 0x8c, 0x09, 0x3d, 0xe0, 0x92, 0xab, 0x28, 0x96, 0xf2, 0xc8, 0x68,
212 0x44, 0x9f, 0x33, 0x66, 0x62, 0x40, 0xdd, 0xa9, 0xb3, 0xf0, 0x56, 0xe3, 0x7a, 0xf4, 0x3a, 0x27,
213 0x7f, 0x63, 0x73, 0x0a, 0x47, 0xd6, 0x7b, 0xa3, 0xad, 0xb7, 0x8d, 0x13, 0xfe, 0x06, 0xc3, 0xfa,
214 0xd9, 0x54, 0x16, 0x4a, 0xc7, 0xe6, 0xe9, 0xe6, 0x03, 0xab, 0xdf, 0x59, 0x19, 0xce, 0x41, 0xbf,
215 0x46, 0xed, 0x94, 0x5f, 0x34, 0xd8, 0xb3, 0xaa, 0x19, 0x74, 0xf6, 0x08, 0x06, 0x1f, 0xd2, 0x82,
216 0xdf, 0x40, 0xdb, 0x26, 0x63, 0x36, 0x62, 0xab, 0x6a, 0x4f, 0x19, 0x56, 0xa9, 0xdd, 0x8a, 0x3e,
217 0x43, 0x04, 0x3a, 0x05, 0xcd, 0xcf, 0x2c, 0xa6, 0xc8, 0xd5, 0x72, 0x5d, 0xae, 0x8f, 0x60, 0x14,
218 0xcb, 0xd3, 0xb5, 0xf5, 0xac, 0x87, 0x17, 0xdb, 0xdf, 0x56, 0x1f, 0xbf, 0x75, 0x9e, 0xfe, 0x59,
219 0x30, 0x91, 0x1c, 0x8b, 0xc4, 0x97, 0x79, 0x12, 0x24, 0x54, 0xe8, 0x68, 0x02, 0x73, 0x85, 0x33,
220 0x56, 0xbc, 0xfb, 0x5b, 0xff, 0x36, 0xc5, 0xbe, 0xad, 0xc1, 0x3f, 0xaf, 0x01, 0x00, 0x00, 0xff,
221 0xff, 0x7a, 0x51, 0x2e, 0x3c, 0xd5, 0x02, 0x00, 0x00,