import "google.golang.org/genproto/googleapis/appengine/v1"
app_yaml.pb.go appengine.pb.go application.pb.go audit_data.pb.go certificate.pb.go deploy.pb.go deployed_files.pb.go domain.pb.go domain_mapping.pb.go firewall.pb.go instance.pb.go location.pb.go network_settings.pb.go operation.pb.go service.pb.go version.pb.go
var ( AuthFailAction_name = map[int32]string{ 0: "AUTH_FAIL_ACTION_UNSPECIFIED", 1: "AUTH_FAIL_ACTION_REDIRECT", 2: "AUTH_FAIL_ACTION_UNAUTHORIZED", } AuthFailAction_value = map[string]int32{ "AUTH_FAIL_ACTION_UNSPECIFIED": 0, "AUTH_FAIL_ACTION_REDIRECT": 1, "AUTH_FAIL_ACTION_UNAUTHORIZED": 2, } )
Enum value maps for AuthFailAction.
var ( LoginRequirement_name = map[int32]string{ 0: "LOGIN_UNSPECIFIED", 1: "LOGIN_OPTIONAL", 2: "LOGIN_ADMIN", 3: "LOGIN_REQUIRED", } LoginRequirement_value = map[string]int32{ "LOGIN_UNSPECIFIED": 0, "LOGIN_OPTIONAL": 1, "LOGIN_ADMIN": 2, "LOGIN_REQUIRED": 3, } )
Enum value maps for LoginRequirement.
var ( SecurityLevel_name = map[int32]string{ 0: "SECURE_UNSPECIFIED", 1: "SECURE_NEVER", 2: "SECURE_OPTIONAL", 3: "SECURE_ALWAYS", } SecurityLevel_value = map[string]int32{ "SECURE_UNSPECIFIED": 0, "SECURE_DEFAULT": 0, "SECURE_NEVER": 1, "SECURE_OPTIONAL": 2, "SECURE_ALWAYS": 3, } )
Enum value maps for SecurityLevel.
var ( ErrorHandler_ErrorCode_name = map[int32]string{ 0: "ERROR_CODE_UNSPECIFIED", 1: "ERROR_CODE_OVER_QUOTA", 2: "ERROR_CODE_DOS_API_DENIAL", 3: "ERROR_CODE_TIMEOUT", } ErrorHandler_ErrorCode_value = map[string]int32{ "ERROR_CODE_UNSPECIFIED": 0, "ERROR_CODE_DEFAULT": 0, "ERROR_CODE_OVER_QUOTA": 1, "ERROR_CODE_DOS_API_DENIAL": 2, "ERROR_CODE_TIMEOUT": 3, } )
Enum value maps for ErrorHandler_ErrorCode.
var ( UrlMap_RedirectHttpResponseCode_name = map[int32]string{ 0: "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", 1: "REDIRECT_HTTP_RESPONSE_CODE_301", 2: "REDIRECT_HTTP_RESPONSE_CODE_302", 3: "REDIRECT_HTTP_RESPONSE_CODE_303", 4: "REDIRECT_HTTP_RESPONSE_CODE_307", } UrlMap_RedirectHttpResponseCode_value = map[string]int32{ "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED": 0, "REDIRECT_HTTP_RESPONSE_CODE_301": 1, "REDIRECT_HTTP_RESPONSE_CODE_302": 2, "REDIRECT_HTTP_RESPONSE_CODE_303": 3, "REDIRECT_HTTP_RESPONSE_CODE_307": 4, } )
Enum value maps for UrlMap_RedirectHttpResponseCode.
var ( VersionView_name = map[int32]string{ 0: "BASIC", 1: "FULL", } VersionView_value = map[string]int32{ "BASIC": 0, "FULL": 1, } )
Enum value maps for VersionView.
var ( AuthorizedCertificateView_name = map[int32]string{ 0: "BASIC_CERTIFICATE", 1: "FULL_CERTIFICATE", } AuthorizedCertificateView_value = map[string]int32{ "BASIC_CERTIFICATE": 0, "FULL_CERTIFICATE": 1, } )
Enum value maps for AuthorizedCertificateView.
var ( DomainOverrideStrategy_name = map[int32]string{ 0: "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY", 1: "STRICT", 2: "OVERRIDE", } DomainOverrideStrategy_value = map[string]int32{ "UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY": 0, "STRICT": 1, "OVERRIDE": 2, } )
Enum value maps for DomainOverrideStrategy.
var ( Application_ServingStatus_name = map[int32]string{ 0: "UNSPECIFIED", 1: "SERVING", 2: "USER_DISABLED", 3: "SYSTEM_DISABLED", } Application_ServingStatus_value = map[string]int32{ "UNSPECIFIED": 0, "SERVING": 1, "USER_DISABLED": 2, "SYSTEM_DISABLED": 3, } )
Enum value maps for Application_ServingStatus.
var ( Application_DatabaseType_name = map[int32]string{ 0: "DATABASE_TYPE_UNSPECIFIED", 1: "CLOUD_DATASTORE", 2: "CLOUD_FIRESTORE", 3: "CLOUD_DATASTORE_COMPATIBILITY", } Application_DatabaseType_value = map[string]int32{ "DATABASE_TYPE_UNSPECIFIED": 0, "CLOUD_DATASTORE": 1, "CLOUD_FIRESTORE": 2, "CLOUD_DATASTORE_COMPATIBILITY": 3, } )
Enum value maps for Application_DatabaseType.
var ( ManagementStatus_name = map[int32]string{ 0: "MANAGEMENT_STATUS_UNSPECIFIED", 1: "OK", 2: "PENDING", 4: "FAILED_RETRYING_NOT_VISIBLE", 6: "FAILED_PERMANENT", 7: "FAILED_RETRYING_CAA_FORBIDDEN", 8: "FAILED_RETRYING_CAA_CHECKING", } ManagementStatus_value = map[string]int32{ "MANAGEMENT_STATUS_UNSPECIFIED": 0, "OK": 1, "PENDING": 2, "FAILED_RETRYING_NOT_VISIBLE": 4, "FAILED_PERMANENT": 6, "FAILED_RETRYING_CAA_FORBIDDEN": 7, "FAILED_RETRYING_CAA_CHECKING": 8, } )
Enum value maps for ManagementStatus.
var ( SslSettings_SslManagementType_name = map[int32]string{ 0: "SSL_MANAGEMENT_TYPE_UNSPECIFIED", 1: "AUTOMATIC", 2: "MANUAL", } SslSettings_SslManagementType_value = map[string]int32{ "SSL_MANAGEMENT_TYPE_UNSPECIFIED": 0, "AUTOMATIC": 1, "MANUAL": 2, } )
Enum value maps for SslSettings_SslManagementType.
var ( ResourceRecord_RecordType_name = map[int32]string{ 0: "RECORD_TYPE_UNSPECIFIED", 1: "A", 2: "AAAA", 3: "CNAME", } ResourceRecord_RecordType_value = map[string]int32{ "RECORD_TYPE_UNSPECIFIED": 0, "A": 1, "AAAA": 2, "CNAME": 3, } )
Enum value maps for ResourceRecord_RecordType.
var ( FirewallRule_Action_name = map[int32]string{ 0: "UNSPECIFIED_ACTION", 1: "ALLOW", 2: "DENY", } FirewallRule_Action_value = map[string]int32{ "UNSPECIFIED_ACTION": 0, "ALLOW": 1, "DENY": 2, } )
Enum value maps for FirewallRule_Action.
var ( Instance_Availability_name = map[int32]string{ 0: "UNSPECIFIED", 1: "RESIDENT", 2: "DYNAMIC", } Instance_Availability_value = map[string]int32{ "UNSPECIFIED": 0, "RESIDENT": 1, "DYNAMIC": 2, } )
Enum value maps for Instance_Availability.
var ( TrafficSplit_ShardBy_name = map[int32]string{ 0: "UNSPECIFIED", 1: "COOKIE", 2: "IP", 3: "RANDOM", } TrafficSplit_ShardBy_value = map[string]int32{ "UNSPECIFIED": 0, "COOKIE": 1, "IP": 2, "RANDOM": 3, } )
Enum value maps for TrafficSplit_ShardBy.
var ( InboundServiceType_name = map[int32]string{ 0: "INBOUND_SERVICE_UNSPECIFIED", 1: "INBOUND_SERVICE_MAIL", 2: "INBOUND_SERVICE_MAIL_BOUNCE", 3: "INBOUND_SERVICE_XMPP_ERROR", 4: "INBOUND_SERVICE_XMPP_MESSAGE", 5: "INBOUND_SERVICE_XMPP_SUBSCRIBE", 6: "INBOUND_SERVICE_XMPP_PRESENCE", 7: "INBOUND_SERVICE_CHANNEL_PRESENCE", 9: "INBOUND_SERVICE_WARMUP", } InboundServiceType_value = map[string]int32{ "INBOUND_SERVICE_UNSPECIFIED": 0, "INBOUND_SERVICE_MAIL": 1, "INBOUND_SERVICE_MAIL_BOUNCE": 2, "INBOUND_SERVICE_XMPP_ERROR": 3, "INBOUND_SERVICE_XMPP_MESSAGE": 4, "INBOUND_SERVICE_XMPP_SUBSCRIBE": 5, "INBOUND_SERVICE_XMPP_PRESENCE": 6, "INBOUND_SERVICE_CHANNEL_PRESENCE": 7, "INBOUND_SERVICE_WARMUP": 9, } )
Enum value maps for InboundServiceType.
var ( ServingStatus_name = map[int32]string{ 0: "SERVING_STATUS_UNSPECIFIED", 1: "SERVING", 2: "STOPPED", } ServingStatus_value = map[string]int32{ "SERVING_STATUS_UNSPECIFIED": 0, "SERVING": 1, "STOPPED": 2, } )
Enum value maps for ServingStatus.
var ( EndpointsApiService_RolloutStrategy_name = map[int32]string{ 0: "UNSPECIFIED_ROLLOUT_STRATEGY", 1: "FIXED", 2: "MANAGED", } EndpointsApiService_RolloutStrategy_value = map[string]int32{ "UNSPECIFIED_ROLLOUT_STRATEGY": 0, "FIXED": 1, "MANAGED": 2, } )
Enum value maps for EndpointsApiService_RolloutStrategy.
var File_google_appengine_v1_app_yaml_proto protoreflect.FileDescriptor
var File_google_appengine_v1_appengine_proto protoreflect.FileDescriptor
var File_google_appengine_v1_application_proto protoreflect.FileDescriptor
var File_google_appengine_v1_audit_data_proto protoreflect.FileDescriptor
var File_google_appengine_v1_certificate_proto protoreflect.FileDescriptor
var File_google_appengine_v1_deploy_proto protoreflect.FileDescriptor
var File_google_appengine_v1_deployed_files_proto protoreflect.FileDescriptor
var File_google_appengine_v1_domain_mapping_proto protoreflect.FileDescriptor
var File_google_appengine_v1_domain_proto protoreflect.FileDescriptor
var File_google_appengine_v1_firewall_proto protoreflect.FileDescriptor
var File_google_appengine_v1_instance_proto protoreflect.FileDescriptor
var File_google_appengine_v1_location_proto protoreflect.FileDescriptor
var File_google_appengine_v1_network_settings_proto protoreflect.FileDescriptor
var File_google_appengine_v1_operation_proto protoreflect.FileDescriptor
var File_google_appengine_v1_service_proto protoreflect.FileDescriptor
var File_google_appengine_v1_version_proto protoreflect.FileDescriptor
func RegisterApplicationsServer(s *grpc.Server, srv ApplicationsServer)
func RegisterAuthorizedCertificatesServer(s *grpc.Server, srv AuthorizedCertificatesServer)
func RegisterAuthorizedDomainsServer(s *grpc.Server, srv AuthorizedDomainsServer)
func RegisterDomainMappingsServer(s *grpc.Server, srv DomainMappingsServer)
func RegisterFirewallServer(s *grpc.Server, srv FirewallServer)
func RegisterInstancesServer(s *grpc.Server, srv InstancesServer)
func RegisterServicesServer(s *grpc.Server, srv ServicesServer)
func RegisterVersionsServer(s *grpc.Server, srv VersionsServer)
type ApiConfigHandler struct { // Action to take when users access resources that require // authentication. Defaults to `redirect`. AuthFailAction AuthFailAction `protobuf:"varint,1,opt,name=auth_fail_action,json=authFailAction,proto3,enum=google.appengine.v1.AuthFailAction" json:"auth_fail_action,omitempty"` // Level of login required to access this resource. Defaults to // `optional`. Login LoginRequirement `protobuf:"varint,2,opt,name=login,proto3,enum=google.appengine.v1.LoginRequirement" json:"login,omitempty"` // Path to the script from the application root directory. Script string `protobuf:"bytes,3,opt,name=script,proto3" json:"script,omitempty"` // Security (HTTPS) enforcement for this URL. SecurityLevel SecurityLevel `protobuf:"varint,4,opt,name=security_level,json=securityLevel,proto3,enum=google.appengine.v1.SecurityLevel" json:"security_level,omitempty"` // URL to serve the endpoint at. Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
[Google Cloud Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.
func (*ApiConfigHandler) Descriptor() ([]byte, []int)
Deprecated: Use ApiConfigHandler.ProtoReflect.Descriptor instead.
func (x *ApiConfigHandler) GetAuthFailAction() AuthFailAction
func (x *ApiConfigHandler) GetLogin() LoginRequirement
func (x *ApiConfigHandler) GetScript() string
func (x *ApiConfigHandler) GetSecurityLevel() SecurityLevel
func (x *ApiConfigHandler) GetUrl() string
func (*ApiConfigHandler) ProtoMessage()
func (x *ApiConfigHandler) ProtoReflect() protoreflect.Message
func (x *ApiConfigHandler) Reset()
func (x *ApiConfigHandler) String() string
type ApiEndpointHandler struct { // Path to the script from the application root directory. ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"` // contains filtered or unexported fields }
Uses Google Cloud Endpoints to handle requests.
func (*ApiEndpointHandler) Descriptor() ([]byte, []int)
Deprecated: Use ApiEndpointHandler.ProtoReflect.Descriptor instead.
func (x *ApiEndpointHandler) GetScriptPath() string
func (*ApiEndpointHandler) ProtoMessage()
func (x *ApiEndpointHandler) ProtoReflect() protoreflect.Message
func (x *ApiEndpointHandler) Reset()
func (x *ApiEndpointHandler) String() string
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. // Up to 20 dispatch rules can be supported. 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 runs. Application instances // run out of the data centers in the specified location, which is also where // all of the application's end user content is stored. // // Defaults to `us-central`. // // View the list of // [supported locations](https://cloud.google.com/appengine/docs/locations). 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. DefaultCookieExpiration *durationpb.Duration `protobuf:"bytes,9,opt,name=default_cookie_expiration,json=defaultCookieExpiration,proto3" json:"default_cookie_expiration,omitempty"` // Serving status of this application. ServingStatus Application_ServingStatus `protobuf:"varint,10,opt,name=serving_status,json=servingStatus,proto3,enum=google.appengine.v1.Application_ServingStatus" json:"serving_status,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"` Iap *Application_IdentityAwareProxy `protobuf:"bytes,14,opt,name=iap,proto3" json:"iap,omitempty"` // The Google Container Registry domain used for storing managed build docker // images for this application. GcrDomain string `protobuf:"bytes,16,opt,name=gcr_domain,json=gcrDomain,proto3" json:"gcr_domain,omitempty"` // The type of the Cloud Firestore or Cloud Datastore database associated with // this application. DatabaseType Application_DatabaseType `protobuf:"varint,17,opt,name=database_type,json=databaseType,proto3,enum=google.appengine.v1.Application_DatabaseType" json:"database_type,omitempty"` // The feature specific settings to be used in the application. FeatureSettings *Application_FeatureSettings `protobuf:"bytes,18,opt,name=feature_settings,json=featureSettings,proto3" json:"feature_settings,omitempty"` // contains filtered or unexported fields }
An Application resource contains the top-level configuration of an App Engine application.
func (*Application) Descriptor() ([]byte, []int)
Deprecated: Use Application.ProtoReflect.Descriptor instead.
func (x *Application) GetAuthDomain() string
func (x *Application) GetCodeBucket() string
func (x *Application) GetDatabaseType() Application_DatabaseType
func (x *Application) GetDefaultBucket() string
func (x *Application) GetDefaultCookieExpiration() *durationpb.Duration
func (x *Application) GetDefaultHostname() string
func (x *Application) GetDispatchRules() []*UrlDispatchRule
func (x *Application) GetFeatureSettings() *Application_FeatureSettings
func (x *Application) GetGcrDomain() string
func (x *Application) GetIap() *Application_IdentityAwareProxy
func (x *Application) GetId() string
func (x *Application) GetLocationId() string
func (x *Application) GetName() string
func (x *Application) GetServingStatus() Application_ServingStatus
func (*Application) ProtoMessage()
func (x *Application) ProtoReflect() protoreflect.Message
func (x *Application) Reset()
func (x *Application) String() string
const ( // Database type is unspecified. Application_DATABASE_TYPE_UNSPECIFIED Application_DatabaseType = 0 // Cloud Datastore Application_CLOUD_DATASTORE Application_DatabaseType = 1 // Cloud Firestore Native Application_CLOUD_FIRESTORE Application_DatabaseType = 2 // Cloud Firestore in Datastore Mode Application_CLOUD_DATASTORE_COMPATIBILITY Application_DatabaseType = 3 )
func (Application_DatabaseType) Descriptor() protoreflect.EnumDescriptor
func (x Application_DatabaseType) Enum() *Application_DatabaseType
func (Application_DatabaseType) EnumDescriptor() ([]byte, []int)
Deprecated: Use Application_DatabaseType.Descriptor instead.
func (x Application_DatabaseType) Number() protoreflect.EnumNumber
func (x Application_DatabaseType) String() string
func (Application_DatabaseType) Type() protoreflect.EnumType
type Application_FeatureSettings struct { // Boolean value indicating if split health checks should be used instead // of the legacy health checks. At an app.yaml level, this means defaulting // to 'readiness_check' and 'liveness_check' values instead of // 'health_check' ones. Once the legacy 'health_check' behavior is // deprecated, and this value is always true, this setting can // be removed. SplitHealthChecks bool `protobuf:"varint,1,opt,name=split_health_checks,json=splitHealthChecks,proto3" json:"split_health_checks,omitempty"` // If true, use [Container-Optimized OS](https://cloud.google.com/container-optimized-os/) // base image for VMs, rather than a base Debian image. UseContainerOptimizedOs bool `protobuf:"varint,2,opt,name=use_container_optimized_os,json=useContainerOptimizedOs,proto3" json:"use_container_optimized_os,omitempty"` // contains filtered or unexported fields }
The feature specific settings to be used in the application. These define behaviors that are user configurable.
func (*Application_FeatureSettings) Descriptor() ([]byte, []int)
Deprecated: Use Application_FeatureSettings.ProtoReflect.Descriptor instead.
func (x *Application_FeatureSettings) GetSplitHealthChecks() bool
func (x *Application_FeatureSettings) GetUseContainerOptimizedOs() bool
func (*Application_FeatureSettings) ProtoMessage()
func (x *Application_FeatureSettings) ProtoReflect() protoreflect.Message
func (x *Application_FeatureSettings) Reset()
func (x *Application_FeatureSettings) String() string
type Application_IdentityAwareProxy struct { // Whether the serving infrastructure will authenticate and // authorize all incoming requests. // // If true, the `oauth2_client_id` and `oauth2_client_secret` // fields must be non-empty. Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"` // OAuth2 client ID to use for the authentication flow. Oauth2ClientId string `protobuf:"bytes,2,opt,name=oauth2_client_id,json=oauth2ClientId,proto3" json:"oauth2_client_id,omitempty"` // OAuth2 client secret to use for the authentication flow. // // For security reasons, this value cannot be retrieved via the API. // Instead, the SHA-256 hash of the value is returned in the // `oauth2_client_secret_sha256` field. // // @InputOnly Oauth2ClientSecret string `protobuf:"bytes,3,opt,name=oauth2_client_secret,json=oauth2ClientSecret,proto3" json:"oauth2_client_secret,omitempty"` // Hex-encoded SHA-256 hash of the client secret. // // @OutputOnly Oauth2ClientSecretSha256 string `protobuf:"bytes,4,opt,name=oauth2_client_secret_sha256,json=oauth2ClientSecretSha256,proto3" json:"oauth2_client_secret_sha256,omitempty"` // contains filtered or unexported fields }
Identity-Aware Proxy
func (*Application_IdentityAwareProxy) Descriptor() ([]byte, []int)
Deprecated: Use Application_IdentityAwareProxy.ProtoReflect.Descriptor instead.
func (x *Application_IdentityAwareProxy) GetEnabled() bool
func (x *Application_IdentityAwareProxy) GetOauth2ClientId() string
func (x *Application_IdentityAwareProxy) GetOauth2ClientSecret() string
func (x *Application_IdentityAwareProxy) GetOauth2ClientSecretSha256() string
func (*Application_IdentityAwareProxy) ProtoMessage()
func (x *Application_IdentityAwareProxy) ProtoReflect() protoreflect.Message
func (x *Application_IdentityAwareProxy) Reset()
func (x *Application_IdentityAwareProxy) String() string
const ( // Serving status is unspecified. Application_UNSPECIFIED Application_ServingStatus = 0 // Application is serving. Application_SERVING Application_ServingStatus = 1 // Application has been disabled by the user. Application_USER_DISABLED Application_ServingStatus = 2 // Application has been disabled by the system. Application_SYSTEM_DISABLED Application_ServingStatus = 3 )
func (Application_ServingStatus) Descriptor() protoreflect.EnumDescriptor
func (x Application_ServingStatus) Enum() *Application_ServingStatus
func (Application_ServingStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use Application_ServingStatus.Descriptor instead.
func (x Application_ServingStatus) Number() protoreflect.EnumNumber
func (x Application_ServingStatus) String() string
func (Application_ServingStatus) Type() protoreflect.EnumType
type ApplicationsClient interface { // Gets information about an application. GetApplication(ctx context.Context, in *GetApplicationRequest, opts ...grpc.CallOption) (*Application, error) // Creates an App Engine application for a Google Cloud Platform project. // Required fields: // // * `id` - The ID of the target Cloud Platform project. // * *location* - The [region](https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. // // For more information about App Engine applications, see [Managing Projects, Applications, and Billing](https://cloud.google.com/appengine/docs/standard/python/console/). CreateApplication(ctx context.Context, in *CreateApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the specified Application resource. // You can update the following fields: // // * `auth_domain` - Google authentication domain for controlling user access to the application. // * `default_cookie_expiration` - Cookie expiration policy for the application. UpdateApplication(ctx context.Context, in *UpdateApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Recreates the required App Engine features for the specified App Engine // application, for example a Cloud Storage bucket or App Engine service // account. // Use this method if you receive an error message about a missing feature, // for example, *Error retrieving the App Engine service account*. // If you have deleted your App Engine service account, this will // not be able to recreate it. Instead, you should attempt to use the // IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . // If the deletion was recent, the numeric ID can be found in the Cloud // Console Activity Log. RepairApplication(ctx context.Context, in *RepairApplicationRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) }
ApplicationsClient is the client API for Applications service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewApplicationsClient(cc grpc.ClientConnInterface) ApplicationsClient
type ApplicationsServer interface { // Gets information about an application. GetApplication(context.Context, *GetApplicationRequest) (*Application, error) // Creates an App Engine application for a Google Cloud Platform project. // Required fields: // // * `id` - The ID of the target Cloud Platform project. // * *location* - The [region](https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located. // // For more information about App Engine applications, see [Managing Projects, Applications, and Billing](https://cloud.google.com/appengine/docs/standard/python/console/). CreateApplication(context.Context, *CreateApplicationRequest) (*longrunning.Operation, error) // Updates the specified Application resource. // You can update the following fields: // // * `auth_domain` - Google authentication domain for controlling user access to the application. // * `default_cookie_expiration` - Cookie expiration policy for the application. UpdateApplication(context.Context, *UpdateApplicationRequest) (*longrunning.Operation, error) // Recreates the required App Engine features for the specified App Engine // application, for example a Cloud Storage bucket or App Engine service // account. // Use this method if you receive an error message about a missing feature, // for example, *Error retrieving the App Engine service account*. // If you have deleted your App Engine service account, this will // not be able to recreate it. Instead, you should attempt to use the // IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D . // If the deletion was recent, the numeric ID can be found in the Cloud // Console Activity Log. RepairApplication(context.Context, *RepairApplicationRequest) (*longrunning.Operation, error) }
ApplicationsServer is the server API for Applications service.
type AuditData struct { // Detailed information about methods that require it. Does not include // simple Get, List or Delete methods because all significant information // (resource name, number of returned elements for List operations) is already // included in parent audit log message. // // Types that are assignable to Method: // *AuditData_UpdateService // *AuditData_CreateVersion Method isAuditData_Method `protobuf_oneof:"method"` // contains filtered or unexported fields }
App Engine admin service audit log.
Deprecated: Use AuditData.ProtoReflect.Descriptor instead.
func (x *AuditData) GetCreateVersion() *CreateVersionMethod
func (x *AuditData) GetUpdateService() *UpdateServiceMethod
func (x *AuditData) ProtoReflect() protoreflect.Message
type AuditData_CreateVersion struct { // Detailed information about CreateVersion call. CreateVersion *CreateVersionMethod `protobuf:"bytes,2,opt,name=create_version,json=createVersion,proto3,oneof"` }
type AuditData_UpdateService struct { // Detailed information about UpdateService call. UpdateService *UpdateServiceMethod `protobuf:"bytes,1,opt,name=update_service,json=updateService,proto3,oneof"` }
Actions to take when the user is not logged in.
const ( // Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed. AuthFailAction_AUTH_FAIL_ACTION_UNSPECIFIED AuthFailAction = 0 // Redirects user to "accounts.google.com". The user is redirected back to the // application URL after signing in or creating an account. AuthFailAction_AUTH_FAIL_ACTION_REDIRECT AuthFailAction = 1 // Rejects request with a `401` HTTP status code and an error // message. AuthFailAction_AUTH_FAIL_ACTION_UNAUTHORIZED AuthFailAction = 2 )
func (AuthFailAction) Descriptor() protoreflect.EnumDescriptor
func (x AuthFailAction) Enum() *AuthFailAction
func (AuthFailAction) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthFailAction.Descriptor instead.
func (x AuthFailAction) Number() protoreflect.EnumNumber
func (x AuthFailAction) String() string
func (AuthFailAction) Type() protoreflect.EnumType
type AuthorizedCertificate struct { // Full path to the `AuthorizedCertificate` resource in the API. Example: // `apps/myapp/authorizedCertificates/12345`. // // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Relative name of the certificate. This is a unique value autogenerated // on `AuthorizedCertificate` resource creation. Example: `12345`. // // @OutputOnly Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // The user-specified display name of the certificate. This is not // guaranteed to be unique. Example: `My Certificate`. DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` // Topmost applicable domains of this certificate. This certificate // applies to these domains and their subdomains. Example: `example.com`. // // @OutputOnly DomainNames []string `protobuf:"bytes,4,rep,name=domain_names,json=domainNames,proto3" json:"domain_names,omitempty"` // The time when this certificate expires. To update the renewal time on this // certificate, upload an SSL certificate with a different expiration time // using [`AuthorizedCertificates.UpdateAuthorizedCertificate`](). // // @OutputOnly ExpireTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` // The SSL certificate serving the `AuthorizedCertificate` resource. This // must be obtained independently from a certificate authority. CertificateRawData *CertificateRawData `protobuf:"bytes,6,opt,name=certificate_raw_data,json=certificateRawData,proto3" json:"certificate_raw_data,omitempty"` // Only applicable if this certificate is managed by App Engine. Managed // certificates are tied to the lifecycle of a `DomainMapping` and cannot be // updated or deleted via the `AuthorizedCertificates` API. If this // certificate is manually administered by the user, this field will be empty. // // @OutputOnly ManagedCertificate *ManagedCertificate `protobuf:"bytes,7,opt,name=managed_certificate,json=managedCertificate,proto3" json:"managed_certificate,omitempty"` // The full paths to user visible Domain Mapping resources that have this // certificate mapped. Example: `apps/myapp/domainMappings/example.com`. // // This may not represent the full list of mapped domain mappings if the user // does not have `VIEWER` permissions on all of the applications that have // this certificate mapped. See `domain_mappings_count` for a complete count. // // Only returned by `GET` or `LIST` requests when specifically requested by // the `view=FULL_CERTIFICATE` option. // // @OutputOnly VisibleDomainMappings []string `protobuf:"bytes,8,rep,name=visible_domain_mappings,json=visibleDomainMappings,proto3" json:"visible_domain_mappings,omitempty"` // Aggregate count of the domain mappings with this certificate mapped. This // count includes domain mappings on applications for which the user does not // have `VIEWER` permissions. // // Only returned by `GET` or `LIST` requests when specifically requested by // the `view=FULL_CERTIFICATE` option. // // @OutputOnly DomainMappingsCount int32 `protobuf:"varint,9,opt,name=domain_mappings_count,json=domainMappingsCount,proto3" json:"domain_mappings_count,omitempty"` // contains filtered or unexported fields }
An SSL certificate that a user has been authorized to administer. A user is authorized to administer any certificate that applies to one of their authorized domains.
func (*AuthorizedCertificate) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedCertificate.ProtoReflect.Descriptor instead.
func (x *AuthorizedCertificate) GetCertificateRawData() *CertificateRawData
func (x *AuthorizedCertificate) GetDisplayName() string
func (x *AuthorizedCertificate) GetDomainMappingsCount() int32
func (x *AuthorizedCertificate) GetDomainNames() []string
func (x *AuthorizedCertificate) GetExpireTime() *timestamppb.Timestamp
func (x *AuthorizedCertificate) GetId() string
func (x *AuthorizedCertificate) GetManagedCertificate() *ManagedCertificate
func (x *AuthorizedCertificate) GetName() string
func (x *AuthorizedCertificate) GetVisibleDomainMappings() []string
func (*AuthorizedCertificate) ProtoMessage()
func (x *AuthorizedCertificate) ProtoReflect() protoreflect.Message
func (x *AuthorizedCertificate) Reset()
func (x *AuthorizedCertificate) String() string
Fields that should be returned when an AuthorizedCertificate resource is retrieved.
const ( // Basic certificate information, including applicable domains and expiration // date. AuthorizedCertificateView_BASIC_CERTIFICATE AuthorizedCertificateView = 0 // The information from `BASIC_CERTIFICATE`, plus detailed information on the // domain mappings that have this certificate mapped. AuthorizedCertificateView_FULL_CERTIFICATE AuthorizedCertificateView = 1 )
func (AuthorizedCertificateView) Descriptor() protoreflect.EnumDescriptor
func (x AuthorizedCertificateView) Enum() *AuthorizedCertificateView
func (AuthorizedCertificateView) EnumDescriptor() ([]byte, []int)
Deprecated: Use AuthorizedCertificateView.Descriptor instead.
func (x AuthorizedCertificateView) Number() protoreflect.EnumNumber
func (x AuthorizedCertificateView) String() string
func (AuthorizedCertificateView) Type() protoreflect.EnumType
type AuthorizedCertificatesClient interface { // Lists all SSL certificates the user is authorized to administer. ListAuthorizedCertificates(ctx context.Context, in *ListAuthorizedCertificatesRequest, opts ...grpc.CallOption) (*ListAuthorizedCertificatesResponse, error) // Gets the specified SSL certificate. GetAuthorizedCertificate(ctx context.Context, in *GetAuthorizedCertificateRequest, opts ...grpc.CallOption) (*AuthorizedCertificate, error) // Uploads the specified SSL certificate. CreateAuthorizedCertificate(ctx context.Context, in *CreateAuthorizedCertificateRequest, opts ...grpc.CallOption) (*AuthorizedCertificate, error) // Updates the specified SSL certificate. To renew a certificate and maintain // its existing domain mappings, update `certificate_data` with a new // certificate. The new certificate must be applicable to the same domains as // the original certificate. The certificate `display_name` may also be // updated. UpdateAuthorizedCertificate(ctx context.Context, in *UpdateAuthorizedCertificateRequest, opts ...grpc.CallOption) (*AuthorizedCertificate, error) // Deletes the specified SSL certificate. DeleteAuthorizedCertificate(ctx context.Context, in *DeleteAuthorizedCertificateRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
AuthorizedCertificatesClient is the client API for AuthorizedCertificates service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthorizedCertificatesClient(cc grpc.ClientConnInterface) AuthorizedCertificatesClient
type AuthorizedCertificatesServer interface { // Lists all SSL certificates the user is authorized to administer. ListAuthorizedCertificates(context.Context, *ListAuthorizedCertificatesRequest) (*ListAuthorizedCertificatesResponse, error) // Gets the specified SSL certificate. GetAuthorizedCertificate(context.Context, *GetAuthorizedCertificateRequest) (*AuthorizedCertificate, error) // Uploads the specified SSL certificate. CreateAuthorizedCertificate(context.Context, *CreateAuthorizedCertificateRequest) (*AuthorizedCertificate, error) // Updates the specified SSL certificate. To renew a certificate and maintain // its existing domain mappings, update `certificate_data` with a new // certificate. The new certificate must be applicable to the same domains as // the original certificate. The certificate `display_name` may also be // updated. UpdateAuthorizedCertificate(context.Context, *UpdateAuthorizedCertificateRequest) (*AuthorizedCertificate, error) // Deletes the specified SSL certificate. DeleteAuthorizedCertificate(context.Context, *DeleteAuthorizedCertificateRequest) (*emptypb.Empty, error) }
AuthorizedCertificatesServer is the server API for AuthorizedCertificates service.
type AuthorizedDomain struct { // Full path to the `AuthorizedDomain` resource in the API. Example: // `apps/myapp/authorizedDomains/example.com`. // // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fully qualified domain name of the domain authorized for use. Example: // `example.com`. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via [Webmaster Central](https://www.google.com/webmasters/verification/home).
func (*AuthorizedDomain) Descriptor() ([]byte, []int)
Deprecated: Use AuthorizedDomain.ProtoReflect.Descriptor instead.
func (x *AuthorizedDomain) GetId() string
func (x *AuthorizedDomain) GetName() string
func (*AuthorizedDomain) ProtoMessage()
func (x *AuthorizedDomain) ProtoReflect() protoreflect.Message
func (x *AuthorizedDomain) Reset()
func (x *AuthorizedDomain) String() string
type AuthorizedDomainsClient interface { // Lists all domains the user is authorized to administer. ListAuthorizedDomains(ctx context.Context, in *ListAuthorizedDomainsRequest, opts ...grpc.CallOption) (*ListAuthorizedDomainsResponse, error) }
AuthorizedDomainsClient is the client API for AuthorizedDomains service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAuthorizedDomainsClient(cc grpc.ClientConnInterface) AuthorizedDomainsClient
type AuthorizedDomainsServer interface { // Lists all domains the user is authorized to administer. ListAuthorizedDomains(context.Context, *ListAuthorizedDomainsRequest) (*ListAuthorizedDomainsResponse, error) }
AuthorizedDomainsServer is the server API for AuthorizedDomains service.
type AutomaticScaling struct { // The time period that the // [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) // should wait before it starts collecting information from a new instance. // This prevents the autoscaler from collecting information when the instance // is initializing, during which the collected usage would not be reliable. // Only applicable in the App Engine flexible environment. CoolDownPeriod *durationpb.Duration `protobuf:"bytes,1,opt,name=cool_down_period,json=coolDownPeriod,proto3" json:"cool_down_period,omitempty"` // Target scaling by CPU usage. CpuUtilization *CpuUtilization `protobuf:"bytes,2,opt,name=cpu_utilization,json=cpuUtilization,proto3" json:"cpu_utilization,omitempty"` // Number of concurrent requests an automatic scaling instance can accept // before the scheduler spawns a new instance. // // Defaults to a runtime-specific value. MaxConcurrentRequests int32 `protobuf:"varint,3,opt,name=max_concurrent_requests,json=maxConcurrentRequests,proto3" json:"max_concurrent_requests,omitempty"` // Maximum number of idle instances that should be maintained for this // version. MaxIdleInstances int32 `protobuf:"varint,4,opt,name=max_idle_instances,json=maxIdleInstances,proto3" json:"max_idle_instances,omitempty"` // Maximum number of instances that should be started to handle requests for // this version. MaxTotalInstances int32 `protobuf:"varint,5,opt,name=max_total_instances,json=maxTotalInstances,proto3" json:"max_total_instances,omitempty"` // Maximum amount of time that a request should wait in the pending queue // before starting a new instance to handle it. MaxPendingLatency *durationpb.Duration `protobuf:"bytes,6,opt,name=max_pending_latency,json=maxPendingLatency,proto3" json:"max_pending_latency,omitempty"` // Minimum number of idle instances that should be maintained for // this version. Only applicable for the default version of a service. MinIdleInstances int32 `protobuf:"varint,7,opt,name=min_idle_instances,json=minIdleInstances,proto3" json:"min_idle_instances,omitempty"` // Minimum number of running instances that should be maintained for this // version. MinTotalInstances int32 `protobuf:"varint,8,opt,name=min_total_instances,json=minTotalInstances,proto3" json:"min_total_instances,omitempty"` // Minimum amount of time a request should wait in the pending queue before // starting a new instance to handle it. MinPendingLatency *durationpb.Duration `protobuf:"bytes,9,opt,name=min_pending_latency,json=minPendingLatency,proto3" json:"min_pending_latency,omitempty"` // Target scaling by request utilization. RequestUtilization *RequestUtilization `protobuf:"bytes,10,opt,name=request_utilization,json=requestUtilization,proto3" json:"request_utilization,omitempty"` // Target scaling by disk usage. DiskUtilization *DiskUtilization `protobuf:"bytes,11,opt,name=disk_utilization,json=diskUtilization,proto3" json:"disk_utilization,omitempty"` // Target scaling by network usage. NetworkUtilization *NetworkUtilization `protobuf:"bytes,12,opt,name=network_utilization,json=networkUtilization,proto3" json:"network_utilization,omitempty"` // Scheduler settings for standard environment. StandardSchedulerSettings *StandardSchedulerSettings `protobuf:"bytes,20,opt,name=standard_scheduler_settings,json=standardSchedulerSettings,proto3" json:"standard_scheduler_settings,omitempty"` // contains filtered or unexported fields }
Automatic scaling is based on request rate, response latencies, and other application metrics.
func (*AutomaticScaling) Descriptor() ([]byte, []int)
Deprecated: Use AutomaticScaling.ProtoReflect.Descriptor instead.
func (x *AutomaticScaling) GetCoolDownPeriod() *durationpb.Duration
func (x *AutomaticScaling) GetCpuUtilization() *CpuUtilization
func (x *AutomaticScaling) GetDiskUtilization() *DiskUtilization
func (x *AutomaticScaling) GetMaxConcurrentRequests() int32
func (x *AutomaticScaling) GetMaxIdleInstances() int32
func (x *AutomaticScaling) GetMaxPendingLatency() *durationpb.Duration
func (x *AutomaticScaling) GetMaxTotalInstances() int32
func (x *AutomaticScaling) GetMinIdleInstances() int32
func (x *AutomaticScaling) GetMinPendingLatency() *durationpb.Duration
func (x *AutomaticScaling) GetMinTotalInstances() int32
func (x *AutomaticScaling) GetNetworkUtilization() *NetworkUtilization
func (x *AutomaticScaling) GetRequestUtilization() *RequestUtilization
func (x *AutomaticScaling) GetStandardSchedulerSettings() *StandardSchedulerSettings
func (*AutomaticScaling) ProtoMessage()
func (x *AutomaticScaling) ProtoReflect() protoreflect.Message
func (x *AutomaticScaling) Reset()
func (x *AutomaticScaling) String() string
type BasicScaling struct { // Duration of time after the last request that an instance must wait before // the instance is shut down. IdleTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=idle_timeout,json=idleTimeout,proto3" json:"idle_timeout,omitempty"` // Maximum number of instances to create for this version. MaxInstances int32 `protobuf:"varint,2,opt,name=max_instances,json=maxInstances,proto3" json:"max_instances,omitempty"` // contains filtered or unexported fields }
A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.
func (*BasicScaling) Descriptor() ([]byte, []int)
Deprecated: Use BasicScaling.ProtoReflect.Descriptor instead.
func (x *BasicScaling) GetIdleTimeout() *durationpb.Duration
func (x *BasicScaling) GetMaxInstances() int32
func (*BasicScaling) ProtoMessage()
func (x *BasicScaling) ProtoReflect() protoreflect.Message
func (x *BasicScaling) Reset()
func (x *BasicScaling) String() string
type BatchUpdateIngressRulesRequest struct { // Name of the Firewall collection to set. // Example: `apps/myapp/firewall/ingressRules`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A list of FirewallRules to replace the existing set. IngressRules []*FirewallRule `protobuf:"bytes,2,rep,name=ingress_rules,json=ingressRules,proto3" json:"ingress_rules,omitempty"` // contains filtered or unexported fields }
Request message for `Firewall.BatchUpdateIngressRules`.
func (*BatchUpdateIngressRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateIngressRulesRequest.ProtoReflect.Descriptor instead.
func (x *BatchUpdateIngressRulesRequest) GetIngressRules() []*FirewallRule
func (x *BatchUpdateIngressRulesRequest) GetName() string
func (*BatchUpdateIngressRulesRequest) ProtoMessage()
func (x *BatchUpdateIngressRulesRequest) ProtoReflect() protoreflect.Message
func (x *BatchUpdateIngressRulesRequest) Reset()
func (x *BatchUpdateIngressRulesRequest) String() string
type BatchUpdateIngressRulesResponse struct { // The full list of ingress FirewallRules for this application. IngressRules []*FirewallRule `protobuf:"bytes,1,rep,name=ingress_rules,json=ingressRules,proto3" json:"ingress_rules,omitempty"` // contains filtered or unexported fields }
Response message for `Firewall.UpdateAllIngressRules`.
func (*BatchUpdateIngressRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use BatchUpdateIngressRulesResponse.ProtoReflect.Descriptor instead.
func (x *BatchUpdateIngressRulesResponse) GetIngressRules() []*FirewallRule
func (*BatchUpdateIngressRulesResponse) ProtoMessage()
func (x *BatchUpdateIngressRulesResponse) ProtoReflect() protoreflect.Message
func (x *BatchUpdateIngressRulesResponse) Reset()
func (x *BatchUpdateIngressRulesResponse) String() string
type CertificateRawData struct { // PEM encoded x.509 public key certificate. This field is set once on // certificate creation. Must include the header and footer. Example: // <pre> // -----BEGIN CERTIFICATE----- // <certificate_value> // -----END CERTIFICATE----- // </pre> PublicCertificate string `protobuf:"bytes,1,opt,name=public_certificate,json=publicCertificate,proto3" json:"public_certificate,omitempty"` // Unencrypted PEM encoded RSA private key. This field is set once on // certificate creation and then encrypted. The key size must be 2048 // bits or fewer. Must include the header and footer. Example: // <pre> // -----BEGIN RSA PRIVATE KEY----- // <unencrypted_key_value> // -----END RSA PRIVATE KEY----- // </pre> // @InputOnly PrivateKey string `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"` // contains filtered or unexported fields }
An SSL certificate obtained from a certificate authority.
func (*CertificateRawData) Descriptor() ([]byte, []int)
Deprecated: Use CertificateRawData.ProtoReflect.Descriptor instead.
func (x *CertificateRawData) GetPrivateKey() string
func (x *CertificateRawData) GetPublicCertificate() string
func (*CertificateRawData) ProtoMessage()
func (x *CertificateRawData) ProtoReflect() protoreflect.Message
func (x *CertificateRawData) Reset()
func (x *CertificateRawData) String() string
type CloudBuildOptions struct { // Path to the yaml file used in deployment, used to determine runtime // configuration details. // // Required for flexible environment builds. // // See https://cloud.google.com/appengine/docs/standard/python/config/appref // for more details. AppYamlPath string `protobuf:"bytes,1,opt,name=app_yaml_path,json=appYamlPath,proto3" json:"app_yaml_path,omitempty"` // The Cloud Build timeout used as part of any dependent builds performed by // version creation. Defaults to 10 minutes. CloudBuildTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=cloud_build_timeout,json=cloudBuildTimeout,proto3" json:"cloud_build_timeout,omitempty"` // contains filtered or unexported fields }
Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly.
func (*CloudBuildOptions) Descriptor() ([]byte, []int)
Deprecated: Use CloudBuildOptions.ProtoReflect.Descriptor instead.
func (x *CloudBuildOptions) GetAppYamlPath() string
func (x *CloudBuildOptions) GetCloudBuildTimeout() *durationpb.Duration
func (*CloudBuildOptions) ProtoMessage()
func (x *CloudBuildOptions) ProtoReflect() protoreflect.Message
func (x *CloudBuildOptions) Reset()
func (x *CloudBuildOptions) String() string
type ContainerInfo struct { // URI to the hosted container image in Google Container Registry. The URI // must be fully qualified and include a tag or digest. // Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" Image string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // contains filtered or unexported fields }
Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.
func (*ContainerInfo) Descriptor() ([]byte, []int)
Deprecated: Use ContainerInfo.ProtoReflect.Descriptor instead.
func (x *ContainerInfo) GetImage() string
func (*ContainerInfo) ProtoMessage()
func (x *ContainerInfo) ProtoReflect() protoreflect.Message
func (x *ContainerInfo) Reset()
func (x *ContainerInfo) String() string
type CpuUtilization struct { // Period of time over which CPU utilization is calculated. AggregationWindowLength *durationpb.Duration `protobuf:"bytes,1,opt,name=aggregation_window_length,json=aggregationWindowLength,proto3" json:"aggregation_window_length,omitempty"` // Target CPU utilization ratio to maintain when scaling. Must be between 0 // and 1. TargetUtilization float64 `protobuf:"fixed64,2,opt,name=target_utilization,json=targetUtilization,proto3" json:"target_utilization,omitempty"` // contains filtered or unexported fields }
Target scaling by CPU usage.
func (*CpuUtilization) Descriptor() ([]byte, []int)
Deprecated: Use CpuUtilization.ProtoReflect.Descriptor instead.
func (x *CpuUtilization) GetAggregationWindowLength() *durationpb.Duration
func (x *CpuUtilization) GetTargetUtilization() float64
func (*CpuUtilization) ProtoMessage()
func (x *CpuUtilization) ProtoReflect() protoreflect.Message
func (x *CpuUtilization) Reset()
func (x *CpuUtilization) String() string
type CreateApplicationRequest struct { // Application configuration. Application *Application `protobuf:"bytes,2,opt,name=application,proto3" json:"application,omitempty"` // contains filtered or unexported fields }
Request message for `Applications.CreateApplication`.
func (*CreateApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateApplicationRequest.ProtoReflect.Descriptor instead.
func (x *CreateApplicationRequest) GetApplication() *Application
func (*CreateApplicationRequest) ProtoMessage()
func (x *CreateApplicationRequest) ProtoReflect() protoreflect.Message
func (x *CreateApplicationRequest) Reset()
func (x *CreateApplicationRequest) String() string
type CreateAuthorizedCertificateRequest struct { // Name of the parent `Application` resource. Example: `apps/myapp`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // SSL certificate data. Certificate *AuthorizedCertificate `protobuf:"bytes,2,opt,name=certificate,proto3" json:"certificate,omitempty"` // contains filtered or unexported fields }
Request message for `AuthorizedCertificates.CreateAuthorizedCertificate`.
func (*CreateAuthorizedCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateAuthorizedCertificateRequest.ProtoReflect.Descriptor instead.
func (x *CreateAuthorizedCertificateRequest) GetCertificate() *AuthorizedCertificate
func (x *CreateAuthorizedCertificateRequest) GetParent() string
func (*CreateAuthorizedCertificateRequest) ProtoMessage()
func (x *CreateAuthorizedCertificateRequest) ProtoReflect() protoreflect.Message
func (x *CreateAuthorizedCertificateRequest) Reset()
func (x *CreateAuthorizedCertificateRequest) String() string
type CreateDomainMappingRequest struct { // Name of the parent Application resource. Example: `apps/myapp`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Domain mapping configuration. DomainMapping *DomainMapping `protobuf:"bytes,2,opt,name=domain_mapping,json=domainMapping,proto3" json:"domain_mapping,omitempty"` // Whether the domain creation should override any existing mappings for this // domain. By default, overrides are rejected. OverrideStrategy DomainOverrideStrategy `protobuf:"varint,4,opt,name=override_strategy,json=overrideStrategy,proto3,enum=google.appengine.v1.DomainOverrideStrategy" json:"override_strategy,omitempty"` // contains filtered or unexported fields }
Request message for `DomainMappings.CreateDomainMapping`.
func (*CreateDomainMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateDomainMappingRequest.ProtoReflect.Descriptor instead.
func (x *CreateDomainMappingRequest) GetDomainMapping() *DomainMapping
func (x *CreateDomainMappingRequest) GetOverrideStrategy() DomainOverrideStrategy
func (x *CreateDomainMappingRequest) GetParent() string
func (*CreateDomainMappingRequest) ProtoMessage()
func (x *CreateDomainMappingRequest) ProtoReflect() protoreflect.Message
func (x *CreateDomainMappingRequest) Reset()
func (x *CreateDomainMappingRequest) String() string
type CreateIngressRuleRequest struct { // Name of the parent Firewall collection in which to create a new rule. // Example: `apps/myapp/firewall/ingressRules`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // A FirewallRule containing the new resource. // // The user may optionally provide a position at which the new rule will be // placed. The positions define a sequential list starting at 1. If a rule // already exists at the given position, rules greater than the provided // position will be moved forward by one. // // If no position is provided, the server will place the rule as the second to // last rule in the sequence before the required default allow-all or deny-all // rule. Rule *FirewallRule `protobuf:"bytes,2,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
Request message for `Firewall.CreateIngressRule`.
func (*CreateIngressRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateIngressRuleRequest.ProtoReflect.Descriptor instead.
func (x *CreateIngressRuleRequest) GetParent() string
func (x *CreateIngressRuleRequest) GetRule() *FirewallRule
func (*CreateIngressRuleRequest) ProtoMessage()
func (x *CreateIngressRuleRequest) ProtoReflect() protoreflect.Message
func (x *CreateIngressRuleRequest) Reset()
func (x *CreateIngressRuleRequest) String() string
type CreateVersionMetadataV1 struct { // The Cloud Build ID if one was created as part of the version create. // @OutputOnly CloudBuildId string `protobuf:"bytes,1,opt,name=cloud_build_id,json=cloudBuildId,proto3" json:"cloud_build_id,omitempty"` // contains filtered or unexported fields }
Metadata for the given [google.longrunning.Operation][google.longrunning.Operation] during a [google.appengine.v1.CreateVersionRequest][google.appengine.v1.CreateVersionRequest].
func (*CreateVersionMetadataV1) Descriptor() ([]byte, []int)
Deprecated: Use CreateVersionMetadataV1.ProtoReflect.Descriptor instead.
func (x *CreateVersionMetadataV1) GetCloudBuildId() string
func (*CreateVersionMetadataV1) ProtoMessage()
func (x *CreateVersionMetadataV1) ProtoReflect() protoreflect.Message
func (x *CreateVersionMetadataV1) Reset()
func (x *CreateVersionMetadataV1) String() string
type CreateVersionMethod struct { // Create version request. Request *CreateVersionRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
Detailed information about CreateVersion call.
func (*CreateVersionMethod) Descriptor() ([]byte, []int)
Deprecated: Use CreateVersionMethod.ProtoReflect.Descriptor instead.
func (x *CreateVersionMethod) GetRequest() *CreateVersionRequest
func (*CreateVersionMethod) ProtoMessage()
func (x *CreateVersionMethod) ProtoReflect() protoreflect.Message
func (x *CreateVersionMethod) Reset()
func (x *CreateVersionMethod) String() string
type CreateVersionRequest struct { // Name of the parent resource to create this version under. Example: // `apps/myapp/services/default`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Application deployment configuration. Version *Version `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Request message for `Versions.CreateVersion`.
func (*CreateVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVersionRequest.ProtoReflect.Descriptor instead.
func (x *CreateVersionRequest) GetParent() string
func (x *CreateVersionRequest) GetVersion() *Version
func (*CreateVersionRequest) ProtoMessage()
func (x *CreateVersionRequest) ProtoReflect() protoreflect.Message
func (x *CreateVersionRequest) Reset()
func (x *CreateVersionRequest) String() string
type DebugInstanceRequest struct { // Name of the resource requested. Example: // `apps/myapp/services/default/versions/v1/instances/instance-1`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Public SSH key to add to the instance. Examples: // // * `[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]` // * `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}` // // For more information, see // [Adding and Removing SSH Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys). SshKey string `protobuf:"bytes,2,opt,name=ssh_key,json=sshKey,proto3" json:"ssh_key,omitempty"` // contains filtered or unexported fields }
Request message for `Instances.DebugInstance`.
func (*DebugInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DebugInstanceRequest.ProtoReflect.Descriptor instead.
func (x *DebugInstanceRequest) GetName() string
func (x *DebugInstanceRequest) GetSshKey() string
func (*DebugInstanceRequest) ProtoMessage()
func (x *DebugInstanceRequest) ProtoReflect() protoreflect.Message
func (x *DebugInstanceRequest) Reset()
func (x *DebugInstanceRequest) String() string
type DeleteAuthorizedCertificateRequest struct { // Name of the resource to delete. Example: // `apps/myapp/authorizedCertificates/12345`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `AuthorizedCertificates.DeleteAuthorizedCertificate`.
func (*DeleteAuthorizedCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAuthorizedCertificateRequest.ProtoReflect.Descriptor instead.
func (x *DeleteAuthorizedCertificateRequest) GetName() string
func (*DeleteAuthorizedCertificateRequest) ProtoMessage()
func (x *DeleteAuthorizedCertificateRequest) ProtoReflect() protoreflect.Message
func (x *DeleteAuthorizedCertificateRequest) Reset()
func (x *DeleteAuthorizedCertificateRequest) String() string
type DeleteDomainMappingRequest struct { // Name of the resource to delete. Example: // `apps/myapp/domainMappings/example.com`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `DomainMappings.DeleteDomainMapping`.
func (*DeleteDomainMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteDomainMappingRequest.ProtoReflect.Descriptor instead.
func (x *DeleteDomainMappingRequest) GetName() string
func (*DeleteDomainMappingRequest) ProtoMessage()
func (x *DeleteDomainMappingRequest) ProtoReflect() protoreflect.Message
func (x *DeleteDomainMappingRequest) Reset()
func (x *DeleteDomainMappingRequest) String() string
type DeleteIngressRuleRequest struct { // Name of the Firewall resource to delete. // Example: `apps/myapp/firewall/ingressRules/100`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `Firewall.DeleteIngressRule`.
func (*DeleteIngressRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteIngressRuleRequest.ProtoReflect.Descriptor instead.
func (x *DeleteIngressRuleRequest) GetName() string
func (*DeleteIngressRuleRequest) ProtoMessage()
func (x *DeleteIngressRuleRequest) ProtoReflect() protoreflect.Message
func (x *DeleteIngressRuleRequest) Reset()
func (x *DeleteIngressRuleRequest) String() string
type DeleteInstanceRequest struct { // Name of the resource requested. Example: // `apps/myapp/services/default/versions/v1/instances/instance-1`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `Instances.DeleteInstance`.
func (*DeleteInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInstanceRequest.ProtoReflect.Descriptor instead.
func (x *DeleteInstanceRequest) GetName() string
func (*DeleteInstanceRequest) ProtoMessage()
func (x *DeleteInstanceRequest) ProtoReflect() protoreflect.Message
func (x *DeleteInstanceRequest) Reset()
func (x *DeleteInstanceRequest) String() string
type DeleteServiceRequest struct { // Name of the resource requested. Example: `apps/myapp/services/default`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `Services.DeleteService`.
func (*DeleteServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteServiceRequest.ProtoReflect.Descriptor instead.
func (x *DeleteServiceRequest) GetName() string
func (*DeleteServiceRequest) ProtoMessage()
func (x *DeleteServiceRequest) ProtoReflect() protoreflect.Message
func (x *DeleteServiceRequest) Reset()
func (x *DeleteServiceRequest) String() string
type DeleteVersionRequest struct { // Name of the resource requested. Example: // `apps/myapp/services/default/versions/v1`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `Versions.DeleteVersion`.
func (*DeleteVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVersionRequest.ProtoReflect.Descriptor instead.
func (x *DeleteVersionRequest) GetName() string
func (*DeleteVersionRequest) ProtoMessage()
func (x *DeleteVersionRequest) ProtoReflect() protoreflect.Message
func (x *DeleteVersionRequest) Reset()
func (x *DeleteVersionRequest) String() string
type Deployment struct { // Manifest of the files stored in Google Cloud Storage that are included // as part of this version. All files must be readable using the // credentials supplied with this call. Files map[string]*FileInfo `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The Docker image for the container that runs the version. // Only applicable for instances running in the App Engine flexible environment. Container *ContainerInfo `protobuf:"bytes,2,opt,name=container,proto3" json:"container,omitempty"` // The zip file for this deployment, if this is a zip deployment. Zip *ZipInfo `protobuf:"bytes,3,opt,name=zip,proto3" json:"zip,omitempty"` // Options for any Google Cloud Build builds created as a part of this // deployment. // // These options will only be used if a new build is created, such as when // deploying to the App Engine flexible environment using files or zip. CloudBuildOptions *CloudBuildOptions `protobuf:"bytes,6,opt,name=cloud_build_options,json=cloudBuildOptions,proto3" json:"cloud_build_options,omitempty"` // contains filtered or unexported fields }
Code and application artifacts used to deploy a version to App Engine.
func (*Deployment) Descriptor() ([]byte, []int)
Deprecated: Use Deployment.ProtoReflect.Descriptor instead.
func (x *Deployment) GetCloudBuildOptions() *CloudBuildOptions
func (x *Deployment) GetContainer() *ContainerInfo
func (x *Deployment) GetFiles() map[string]*FileInfo
func (x *Deployment) GetZip() *ZipInfo
func (*Deployment) ProtoMessage()
func (x *Deployment) ProtoReflect() protoreflect.Message
func (x *Deployment) Reset()
func (x *Deployment) String() string
type DiskUtilization struct { // Target bytes written per second. TargetWriteBytesPerSecond int32 `protobuf:"varint,14,opt,name=target_write_bytes_per_second,json=targetWriteBytesPerSecond,proto3" json:"target_write_bytes_per_second,omitempty"` // Target ops written per second. TargetWriteOpsPerSecond int32 `protobuf:"varint,15,opt,name=target_write_ops_per_second,json=targetWriteOpsPerSecond,proto3" json:"target_write_ops_per_second,omitempty"` // Target bytes read per second. TargetReadBytesPerSecond int32 `protobuf:"varint,16,opt,name=target_read_bytes_per_second,json=targetReadBytesPerSecond,proto3" json:"target_read_bytes_per_second,omitempty"` // Target ops read per seconds. TargetReadOpsPerSecond int32 `protobuf:"varint,17,opt,name=target_read_ops_per_second,json=targetReadOpsPerSecond,proto3" json:"target_read_ops_per_second,omitempty"` // contains filtered or unexported fields }
Target scaling by disk usage. Only applicable in the App Engine flexible environment.
func (*DiskUtilization) Descriptor() ([]byte, []int)
Deprecated: Use DiskUtilization.ProtoReflect.Descriptor instead.
func (x *DiskUtilization) GetTargetReadBytesPerSecond() int32
func (x *DiskUtilization) GetTargetReadOpsPerSecond() int32
func (x *DiskUtilization) GetTargetWriteBytesPerSecond() int32
func (x *DiskUtilization) GetTargetWriteOpsPerSecond() int32
func (*DiskUtilization) ProtoMessage()
func (x *DiskUtilization) ProtoReflect() protoreflect.Message
func (x *DiskUtilization) Reset()
func (x *DiskUtilization) String() string
type DomainMapping struct { // Full path to the `DomainMapping` resource in the API. Example: // `apps/myapp/domainMapping/example.com`. // // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Relative name of the domain serving the application. Example: // `example.com`. Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // SSL configuration for this domain. If unconfigured, this domain will not // serve with SSL. SslSettings *SslSettings `protobuf:"bytes,3,opt,name=ssl_settings,json=sslSettings,proto3" json:"ssl_settings,omitempty"` // The resource records required to configure this domain mapping. These // records must be added to the domain's DNS configuration in order to // serve the application via this domain mapping. // // @OutputOnly ResourceRecords []*ResourceRecord `protobuf:"bytes,4,rep,name=resource_records,json=resourceRecords,proto3" json:"resource_records,omitempty"` // contains filtered or unexported fields }
A domain serving an App Engine application.
func (*DomainMapping) Descriptor() ([]byte, []int)
Deprecated: Use DomainMapping.ProtoReflect.Descriptor instead.
func (x *DomainMapping) GetId() string
func (x *DomainMapping) GetName() string
func (x *DomainMapping) GetResourceRecords() []*ResourceRecord
func (x *DomainMapping) GetSslSettings() *SslSettings
func (*DomainMapping) ProtoMessage()
func (x *DomainMapping) ProtoReflect() protoreflect.Message
func (x *DomainMapping) Reset()
func (x *DomainMapping) String() string
type DomainMappingsClient interface { // Lists the domain mappings on an application. ListDomainMappings(ctx context.Context, in *ListDomainMappingsRequest, opts ...grpc.CallOption) (*ListDomainMappingsResponse, error) // Gets the specified domain mapping. GetDomainMapping(ctx context.Context, in *GetDomainMappingRequest, opts ...grpc.CallOption) (*DomainMapping, error) // Maps a domain to an application. A user must be authorized to administer a // domain in order to map it to an application. For a list of available // authorized domains, see [`AuthorizedDomains.ListAuthorizedDomains`](). CreateDomainMapping(ctx context.Context, in *CreateDomainMappingRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Updates the specified domain mapping. To map an SSL certificate to a // domain mapping, update `certificate_id` to point to an `AuthorizedCertificate` // resource. A user must be authorized to administer the associated domain // in order to update a `DomainMapping` resource. UpdateDomainMapping(ctx context.Context, in *UpdateDomainMappingRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Deletes the specified domain mapping. A user must be authorized to // administer the associated domain in order to delete a `DomainMapping` // resource. DeleteDomainMapping(ctx context.Context, in *DeleteDomainMappingRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) }
DomainMappingsClient is the client API for DomainMappings service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDomainMappingsClient(cc grpc.ClientConnInterface) DomainMappingsClient
type DomainMappingsServer interface { // Lists the domain mappings on an application. ListDomainMappings(context.Context, *ListDomainMappingsRequest) (*ListDomainMappingsResponse, error) // Gets the specified domain mapping. GetDomainMapping(context.Context, *GetDomainMappingRequest) (*DomainMapping, error) // Maps a domain to an application. A user must be authorized to administer a // domain in order to map it to an application. For a list of available // authorized domains, see [`AuthorizedDomains.ListAuthorizedDomains`](). CreateDomainMapping(context.Context, *CreateDomainMappingRequest) (*longrunning.Operation, error) // Updates the specified domain mapping. To map an SSL certificate to a // domain mapping, update `certificate_id` to point to an `AuthorizedCertificate` // resource. A user must be authorized to administer the associated domain // in order to update a `DomainMapping` resource. UpdateDomainMapping(context.Context, *UpdateDomainMappingRequest) (*longrunning.Operation, error) // Deletes the specified domain mapping. A user must be authorized to // administer the associated domain in order to delete a `DomainMapping` // resource. DeleteDomainMapping(context.Context, *DeleteDomainMappingRequest) (*longrunning.Operation, error) }
DomainMappingsServer is the server API for DomainMappings service.
Override strategy for mutating an existing mapping.
const ( // Strategy unspecified. Defaults to `STRICT`. DomainOverrideStrategy_UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY DomainOverrideStrategy = 0 // Overrides not allowed. If a mapping already exists for the // specified domain, the request will return an ALREADY_EXISTS (409). DomainOverrideStrategy_STRICT DomainOverrideStrategy = 1 // Overrides allowed. If a mapping already exists for the specified domain, // the request will overwrite it. Note that this might stop another // Google product from serving. For example, if the domain is // mapped to another App Engine application, that app will no // longer serve from that domain. DomainOverrideStrategy_OVERRIDE DomainOverrideStrategy = 2 )
func (DomainOverrideStrategy) Descriptor() protoreflect.EnumDescriptor
func (x DomainOverrideStrategy) Enum() *DomainOverrideStrategy
func (DomainOverrideStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use DomainOverrideStrategy.Descriptor instead.
func (x DomainOverrideStrategy) Number() protoreflect.EnumNumber
func (x DomainOverrideStrategy) String() string
func (DomainOverrideStrategy) Type() protoreflect.EnumType
type EndpointsApiService struct { // Endpoints service name which is the name of the "service" resource in the // Service Management API. For example "myapi.endpoints.myproject.cloud.goog" Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Endpoints service configuration ID as specified by the Service Management // API. For example "2016-09-19r1". // // By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. // This means that Endpoints starts up with a particular configuration ID. // When a new configuration is rolled out, Endpoints must be given the new // configuration ID. The `config_id` field is used to give the configuration // ID and is required in this case. // // Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. // When using this, Endpoints fetches the latest configuration and does not // need the configuration ID. In this case, `config_id` must be omitted. ConfigId string `protobuf:"bytes,2,opt,name=config_id,json=configId,proto3" json:"config_id,omitempty"` // Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If // `MANAGED`, `config_id` must be omitted. RolloutStrategy EndpointsApiService_RolloutStrategy `protobuf:"varint,3,opt,name=rollout_strategy,json=rolloutStrategy,proto3,enum=google.appengine.v1.EndpointsApiService_RolloutStrategy" json:"rollout_strategy,omitempty"` // Enable or disable trace sampling. By default, this is set to false for // enabled. DisableTraceSampling bool `protobuf:"varint,4,opt,name=disable_trace_sampling,json=disableTraceSampling,proto3" json:"disable_trace_sampling,omitempty"` // contains filtered or unexported fields }
[Cloud Endpoints](https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.
The fields here refer to the name and configuration ID of a "service" resource in the [Service Management API](https://cloud.google.com/service-management/overview).
func (*EndpointsApiService) Descriptor() ([]byte, []int)
Deprecated: Use EndpointsApiService.ProtoReflect.Descriptor instead.
func (x *EndpointsApiService) GetConfigId() string
func (x *EndpointsApiService) GetDisableTraceSampling() bool
func (x *EndpointsApiService) GetName() string
func (x *EndpointsApiService) GetRolloutStrategy() EndpointsApiService_RolloutStrategy
func (*EndpointsApiService) ProtoMessage()
func (x *EndpointsApiService) ProtoReflect() protoreflect.Message
func (x *EndpointsApiService) Reset()
func (x *EndpointsApiService) String() string
Available rollout strategies.
const ( // Not specified. Defaults to `FIXED`. EndpointsApiService_UNSPECIFIED_ROLLOUT_STRATEGY EndpointsApiService_RolloutStrategy = 0 // Endpoints service configuration ID will be fixed to the configuration ID // specified by `config_id`. EndpointsApiService_FIXED EndpointsApiService_RolloutStrategy = 1 // Endpoints service configuration ID will be updated with each rollout. EndpointsApiService_MANAGED EndpointsApiService_RolloutStrategy = 2 )
func (EndpointsApiService_RolloutStrategy) Descriptor() protoreflect.EnumDescriptor
func (x EndpointsApiService_RolloutStrategy) Enum() *EndpointsApiService_RolloutStrategy
func (EndpointsApiService_RolloutStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use EndpointsApiService_RolloutStrategy.Descriptor instead.
func (x EndpointsApiService_RolloutStrategy) Number() protoreflect.EnumNumber
func (x EndpointsApiService_RolloutStrategy) String() string
func (EndpointsApiService_RolloutStrategy) Type() protoreflect.EnumType
type Entrypoint struct { // The command to run. // // Types that are assignable to Command: // *Entrypoint_Shell Command isEntrypoint_Command `protobuf_oneof:"command"` // contains filtered or unexported fields }
The entrypoint for the application.
func (*Entrypoint) Descriptor() ([]byte, []int)
Deprecated: Use Entrypoint.ProtoReflect.Descriptor instead.
func (m *Entrypoint) GetCommand() isEntrypoint_Command
func (x *Entrypoint) GetShell() string
func (*Entrypoint) ProtoMessage()
func (x *Entrypoint) ProtoReflect() protoreflect.Message
func (x *Entrypoint) Reset()
func (x *Entrypoint) String() string
type Entrypoint_Shell struct { // The format should be a shell command that can be fed to `bash -c`. Shell string `protobuf:"bytes,1,opt,name=shell,proto3,oneof"` }
type ErrorHandler struct { // Error condition this handler applies to. ErrorCode ErrorHandler_ErrorCode `protobuf:"varint,1,opt,name=error_code,json=errorCode,proto3,enum=google.appengine.v1.ErrorHandler_ErrorCode" json:"error_code,omitempty"` // Static file content to be served for this error. StaticFile string `protobuf:"bytes,2,opt,name=static_file,json=staticFile,proto3" json:"static_file,omitempty"` // MIME type of file. Defaults to `text/html`. MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // contains filtered or unexported fields }
Custom static error page to be served when an error occurs.
func (*ErrorHandler) Descriptor() ([]byte, []int)
Deprecated: Use ErrorHandler.ProtoReflect.Descriptor instead.
func (x *ErrorHandler) GetErrorCode() ErrorHandler_ErrorCode
func (x *ErrorHandler) GetMimeType() string
func (x *ErrorHandler) GetStaticFile() string
func (*ErrorHandler) ProtoMessage()
func (x *ErrorHandler) ProtoReflect() protoreflect.Message
func (x *ErrorHandler) Reset()
func (x *ErrorHandler) String() string
Error codes.
const ( // Not specified. ERROR_CODE_DEFAULT is assumed. ErrorHandler_ERROR_CODE_UNSPECIFIED ErrorHandler_ErrorCode = 0 // All other error types. ErrorHandler_ERROR_CODE_DEFAULT ErrorHandler_ErrorCode = 0 // Application has exceeded a resource quota. ErrorHandler_ERROR_CODE_OVER_QUOTA ErrorHandler_ErrorCode = 1 // Client blocked by the application's Denial of Service protection // configuration. ErrorHandler_ERROR_CODE_DOS_API_DENIAL ErrorHandler_ErrorCode = 2 // Deadline reached before the application responds. ErrorHandler_ERROR_CODE_TIMEOUT ErrorHandler_ErrorCode = 3 )
func (ErrorHandler_ErrorCode) Descriptor() protoreflect.EnumDescriptor
func (x ErrorHandler_ErrorCode) Enum() *ErrorHandler_ErrorCode
func (ErrorHandler_ErrorCode) EnumDescriptor() ([]byte, []int)
Deprecated: Use ErrorHandler_ErrorCode.Descriptor instead.
func (x ErrorHandler_ErrorCode) Number() protoreflect.EnumNumber
func (x ErrorHandler_ErrorCode) String() string
func (ErrorHandler_ErrorCode) Type() protoreflect.EnumType
type FileInfo struct { // URL source to use to fetch this file. Must be a URL to a resource in // Google Cloud Storage in the form // 'http(s)://storage.googleapis.com/\<bucket\>/\<object\>'. SourceUrl string `protobuf:"bytes,1,opt,name=source_url,json=sourceUrl,proto3" json:"source_url,omitempty"` // The SHA1 hash of the file, in hex. Sha1Sum string `protobuf:"bytes,2,opt,name=sha1_sum,json=sha1Sum,proto3" json:"sha1_sum,omitempty"` // The MIME type of the file. // // Defaults to the value from Google Cloud Storage. MimeType string `protobuf:"bytes,3,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` // contains filtered or unexported fields }
Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
Deprecated: Use FileInfo.ProtoReflect.Descriptor instead.
func (x *FileInfo) ProtoReflect() protoreflect.Message
type FirewallClient interface { // Lists the firewall rules of an application. ListIngressRules(ctx context.Context, in *ListIngressRulesRequest, opts ...grpc.CallOption) (*ListIngressRulesResponse, error) // Replaces the entire firewall ruleset in one bulk operation. This overrides // and replaces the rules of an existing firewall with the new rules. // // If the final rule does not match traffic with the '*' wildcard IP range, // then an "allow all" rule is explicitly added to the end of the list. BatchUpdateIngressRules(ctx context.Context, in *BatchUpdateIngressRulesRequest, opts ...grpc.CallOption) (*BatchUpdateIngressRulesResponse, error) // Creates a firewall rule for the application. CreateIngressRule(ctx context.Context, in *CreateIngressRuleRequest, opts ...grpc.CallOption) (*FirewallRule, error) // Gets the specified firewall rule. GetIngressRule(ctx context.Context, in *GetIngressRuleRequest, opts ...grpc.CallOption) (*FirewallRule, error) // Updates the specified firewall rule. UpdateIngressRule(ctx context.Context, in *UpdateIngressRuleRequest, opts ...grpc.CallOption) (*FirewallRule, error) // Deletes the specified firewall rule. DeleteIngressRule(ctx context.Context, in *DeleteIngressRuleRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) }
FirewallClient is the client API for Firewall service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewFirewallClient(cc grpc.ClientConnInterface) FirewallClient
type FirewallRule struct { // A positive integer between [1, Int32.MaxValue-1] that defines the order of // rule evaluation. Rules with the lowest priority are evaluated first. // // A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic // when no previous rule matches. Only the action of this rule can be modified // by the user. Priority int32 `protobuf:"varint,1,opt,name=priority,proto3" json:"priority,omitempty"` // The action to take on matched requests. Action FirewallRule_Action `protobuf:"varint,2,opt,name=action,proto3,enum=google.appengine.v1.FirewallRule_Action" json:"action,omitempty"` // IP address or range, defined using CIDR notation, of requests that this // rule applies to. You can use the wildcard character "*" to match all IPs // equivalent to "0/0" and "::/0" together. // Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` // or `2001:0db8:0000:0042:0000:8a2e:0370:7334`. // // // <p>Truncation will be silently performed on addresses which are not // properly truncated. For example, `1.2.3.4/24` is accepted as the same // address as `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` is accepted // as the same address as `2001:db8::/32`. SourceRange string `protobuf:"bytes,3,opt,name=source_range,json=sourceRange,proto3" json:"source_range,omitempty"` // An optional string description of this rule. // This field has a maximum length of 100 characters. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // contains filtered or unexported fields }
A single firewall rule that is evaluated against incoming traffic and provides an action to take on matched requests.
func (*FirewallRule) Descriptor() ([]byte, []int)
Deprecated: Use FirewallRule.ProtoReflect.Descriptor instead.
func (x *FirewallRule) GetAction() FirewallRule_Action
func (x *FirewallRule) GetDescription() string
func (x *FirewallRule) GetPriority() int32
func (x *FirewallRule) GetSourceRange() string
func (*FirewallRule) ProtoMessage()
func (x *FirewallRule) ProtoReflect() protoreflect.Message
func (x *FirewallRule) Reset()
func (x *FirewallRule) String() string
Available actions to take on matching requests.
const ( FirewallRule_UNSPECIFIED_ACTION FirewallRule_Action = 0 // Matching requests are allowed. FirewallRule_ALLOW FirewallRule_Action = 1 // Matching requests are denied. FirewallRule_DENY FirewallRule_Action = 2 )
func (FirewallRule_Action) Descriptor() protoreflect.EnumDescriptor
func (x FirewallRule_Action) Enum() *FirewallRule_Action
func (FirewallRule_Action) EnumDescriptor() ([]byte, []int)
Deprecated: Use FirewallRule_Action.Descriptor instead.
func (x FirewallRule_Action) Number() protoreflect.EnumNumber
func (x FirewallRule_Action) String() string
func (FirewallRule_Action) Type() protoreflect.EnumType
type FirewallServer interface { // Lists the firewall rules of an application. ListIngressRules(context.Context, *ListIngressRulesRequest) (*ListIngressRulesResponse, error) // Replaces the entire firewall ruleset in one bulk operation. This overrides // and replaces the rules of an existing firewall with the new rules. // // If the final rule does not match traffic with the '*' wildcard IP range, // then an "allow all" rule is explicitly added to the end of the list. BatchUpdateIngressRules(context.Context, *BatchUpdateIngressRulesRequest) (*BatchUpdateIngressRulesResponse, error) // Creates a firewall rule for the application. CreateIngressRule(context.Context, *CreateIngressRuleRequest) (*FirewallRule, error) // Gets the specified firewall rule. GetIngressRule(context.Context, *GetIngressRuleRequest) (*FirewallRule, error) // Updates the specified firewall rule. UpdateIngressRule(context.Context, *UpdateIngressRuleRequest) (*FirewallRule, error) // Deletes the specified firewall rule. DeleteIngressRule(context.Context, *DeleteIngressRuleRequest) (*emptypb.Empty, error) }
FirewallServer is the server API for Firewall service.
type GetApplicationRequest struct { // Name of the Application resource to get. Example: `apps/myapp`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `Applications.GetApplication`.
func (*GetApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetApplicationRequest.ProtoReflect.Descriptor instead.
func (x *GetApplicationRequest) GetName() string
func (*GetApplicationRequest) ProtoMessage()
func (x *GetApplicationRequest) ProtoReflect() protoreflect.Message
func (x *GetApplicationRequest) Reset()
func (x *GetApplicationRequest) String() string
type GetAuthorizedCertificateRequest struct { // Name of the resource requested. Example: // `apps/myapp/authorizedCertificates/12345`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Controls the set of fields returned in the `GET` response. View AuthorizedCertificateView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.AuthorizedCertificateView" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for `AuthorizedCertificates.GetAuthorizedCertificate`.
func (*GetAuthorizedCertificateRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAuthorizedCertificateRequest.ProtoReflect.Descriptor instead.
func (x *GetAuthorizedCertificateRequest) GetName() string
func (x *GetAuthorizedCertificateRequest) GetView() AuthorizedCertificateView
func (*GetAuthorizedCertificateRequest) ProtoMessage()
func (x *GetAuthorizedCertificateRequest) ProtoReflect() protoreflect.Message
func (x *GetAuthorizedCertificateRequest) Reset()
func (x *GetAuthorizedCertificateRequest) String() string
type GetDomainMappingRequest struct { // Name of the resource requested. Example: // `apps/myapp/domainMappings/example.com`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `DomainMappings.GetDomainMapping`.
func (*GetDomainMappingRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetDomainMappingRequest.ProtoReflect.Descriptor instead.
func (x *GetDomainMappingRequest) GetName() string
func (*GetDomainMappingRequest) ProtoMessage()
func (x *GetDomainMappingRequest) ProtoReflect() protoreflect.Message
func (x *GetDomainMappingRequest) Reset()
func (x *GetDomainMappingRequest) String() string
type GetIngressRuleRequest struct { // Name of the Firewall resource to retrieve. // Example: `apps/myapp/firewall/ingressRules/100`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `Firewall.GetIngressRule`.
func (*GetIngressRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetIngressRuleRequest.ProtoReflect.Descriptor instead.
func (x *GetIngressRuleRequest) GetName() string
func (*GetIngressRuleRequest) ProtoMessage()
func (x *GetIngressRuleRequest) ProtoReflect() protoreflect.Message
func (x *GetIngressRuleRequest) Reset()
func (x *GetIngressRuleRequest) String() string
type GetInstanceRequest struct { // Name of the resource requested. Example: // `apps/myapp/services/default/versions/v1/instances/instance-1`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `Instances.GetInstance`.
func (*GetInstanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInstanceRequest.ProtoReflect.Descriptor instead.
func (x *GetInstanceRequest) GetName() string
func (*GetInstanceRequest) ProtoMessage()
func (x *GetInstanceRequest) ProtoReflect() protoreflect.Message
func (x *GetInstanceRequest) Reset()
func (x *GetInstanceRequest) String() string
type GetServiceRequest struct { // Name of the resource requested. Example: `apps/myapp/services/default`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for `Services.GetService`.
func (*GetServiceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetServiceRequest.ProtoReflect.Descriptor instead.
func (x *GetServiceRequest) GetName() string
func (*GetServiceRequest) ProtoMessage()
func (x *GetServiceRequest) ProtoReflect() protoreflect.Message
func (x *GetServiceRequest) Reset()
func (x *GetServiceRequest) String() string
type GetVersionRequest struct { // Name of the resource requested. Example: // `apps/myapp/services/default/versions/v1`. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Controls the set of fields returned in the `Get` response. View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.VersionView" json:"view,omitempty"` // contains filtered or unexported fields }
Request message for `Versions.GetVersion`.
func (*GetVersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetVersionRequest.ProtoReflect.Descriptor instead.
func (x *GetVersionRequest) GetName() string
func (x *GetVersionRequest) GetView() VersionView
func (*GetVersionRequest) ProtoMessage()
func (x *GetVersionRequest) ProtoReflect() protoreflect.Message
func (x *GetVersionRequest) Reset()
func (x *GetVersionRequest) String() string
type HealthCheck struct { // Whether to explicitly disable health checks for this instance. DisableHealthCheck bool `protobuf:"varint,1,opt,name=disable_health_check,json=disableHealthCheck,proto3" json:"disable_health_check,omitempty"` // Host header to send when performing an HTTP health check. // Example: "myapp.appspot.com" Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // Number of consecutive successful health checks required before receiving // traffic. HealthyThreshold uint32 `protobuf:"varint,3,opt,name=healthy_threshold,json=healthyThreshold,proto3" json:"healthy_threshold,omitempty"` // Number of consecutive failed health checks required before removing // traffic. UnhealthyThreshold uint32 `protobuf:"varint,4,opt,name=unhealthy_threshold,json=unhealthyThreshold,proto3" json:"unhealthy_threshold,omitempty"` // Number of consecutive failed health checks required before an instance is // restarted. RestartThreshold uint32 `protobuf:"varint,5,opt,name=restart_threshold,json=restartThreshold,proto3" json:"restart_threshold,omitempty"` // Interval between health checks. CheckInterval *durationpb.Duration `protobuf:"bytes,6,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"` // Time before the health check is considered failed. Timeout *durationpb.Duration `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
func (*HealthCheck) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheck.ProtoReflect.Descriptor instead.
func (x *HealthCheck) GetCheckInterval() *durationpb.Duration
func (x *HealthCheck) GetDisableHealthCheck() bool
func (x *HealthCheck) GetHealthyThreshold() uint32
func (x *HealthCheck) GetHost() string
func (x *HealthCheck) GetRestartThreshold() uint32
func (x *HealthCheck) GetTimeout() *durationpb.Duration
func (x *HealthCheck) GetUnhealthyThreshold() uint32
func (*HealthCheck) ProtoMessage()
func (x *HealthCheck) ProtoReflect() protoreflect.Message
func (x *HealthCheck) Reset()
func (x *HealthCheck) String() string
Available inbound services.
const ( // Not specified. InboundServiceType_INBOUND_SERVICE_UNSPECIFIED InboundServiceType = 0 // Allows an application to receive mail. InboundServiceType_INBOUND_SERVICE_MAIL InboundServiceType = 1 // Allows an application to receive email-bound notifications. InboundServiceType_INBOUND_SERVICE_MAIL_BOUNCE InboundServiceType = 2 // Allows an application to receive error stanzas. InboundServiceType_INBOUND_SERVICE_XMPP_ERROR InboundServiceType = 3 // Allows an application to receive instant messages. InboundServiceType_INBOUND_SERVICE_XMPP_MESSAGE InboundServiceType = 4 // Allows an application to receive user subscription POSTs. InboundServiceType_INBOUND_SERVICE_XMPP_SUBSCRIBE InboundServiceType = 5 // Allows an application to receive a user's chat presence. InboundServiceType_INBOUND_SERVICE_XMPP_PRESENCE InboundServiceType = 6 // Registers an application for notifications when a client connects or // disconnects from a channel. InboundServiceType_INBOUND_SERVICE_CHANNEL_PRESENCE InboundServiceType = 7 // Enables warmup requests. InboundServiceType_INBOUND_SERVICE_WARMUP InboundServiceType = 9 )
func (InboundServiceType) Descriptor() protoreflect.EnumDescriptor
func (x InboundServiceType) Enum() *InboundServiceType
func (InboundServiceType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InboundServiceType.Descriptor instead.
func (x InboundServiceType) Number() protoreflect.EnumNumber
func (x InboundServiceType) String() string
func (InboundServiceType) Type() protoreflect.EnumType
type Instance struct { // Full path to the Instance resource in the API. // Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. // // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Relative name of the instance within the version. // Example: `instance-1`. // // @OutputOnly Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // App Engine release this instance is running on. // // @OutputOnly AppEngineRelease string `protobuf:"bytes,3,opt,name=app_engine_release,json=appEngineRelease,proto3" json:"app_engine_release,omitempty"` // Availability of the instance. // // @OutputOnly Availability Instance_Availability `protobuf:"varint,4,opt,name=availability,proto3,enum=google.appengine.v1.Instance_Availability" json:"availability,omitempty"` // Name of the virtual machine where this instance lives. Only applicable // for instances in App Engine flexible environment. // // @OutputOnly VmName string `protobuf:"bytes,5,opt,name=vm_name,json=vmName,proto3" json:"vm_name,omitempty"` // Zone where the virtual machine is located. Only applicable for instances // in App Engine flexible environment. // // @OutputOnly VmZoneName string `protobuf:"bytes,6,opt,name=vm_zone_name,json=vmZoneName,proto3" json:"vm_zone_name,omitempty"` // Virtual machine ID of this instance. Only applicable for instances in // App Engine flexible environment. // // @OutputOnly VmId string `protobuf:"bytes,7,opt,name=vm_id,json=vmId,proto3" json:"vm_id,omitempty"` // Time that this instance was started. // // @OutputOnly StartTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // Number of requests since this instance was started. // // @OutputOnly Requests int32 `protobuf:"varint,9,opt,name=requests,proto3" json:"requests,omitempty"` // Number of errors since this instance was started. // // @OutputOnly Errors int32 `protobuf:"varint,10,opt,name=errors,proto3" json:"errors,omitempty"` // Average queries per second (QPS) over the last minute. // // @OutputOnly Qps float32 `protobuf:"fixed32,11,opt,name=qps,proto3" json:"qps,omitempty"` // Average latency (ms) over the last minute. // // @OutputOnly AverageLatency int32 `protobuf:"varint,12,opt,name=average_latency,json=averageLatency,proto3" json:"average_latency,omitempty"` // Total memory in use (bytes). // // @OutputOnly MemoryUsage int64 `protobuf:"varint,13,opt,name=memory_usage,json=memoryUsage,proto3" json:"memory_usage,omitempty"` // Status of the virtual machine where this instance lives. Only applicable // for instances in App Engine flexible environment. // // @OutputOnly VmStatus string `protobuf:"bytes,14,opt,name=vm_status,json=vmStatus,proto3" json:"vm_status,omitempty"` // Whether this instance is in debug mode. Only applicable for instances in // App Engine flexible environment. // // @OutputOnly VmDebugEnabled bool `protobuf:"varint,15,opt,name=vm_debug_enabled,json=vmDebugEnabled,proto3" json:"vm_debug_enabled,omitempty"` // The IP address of this instance. Only applicable for instances in App // Engine flexible environment. // // @OutputOnly VmIp string `protobuf:"bytes,16,opt,name=vm_ip,json=vmIp,proto3" json:"vm_ip,omitempty"` // contains filtered or unexported fields }
An Instance resource is the computing unit that App Engine uses to automatically scale an application.
Deprecated: Use Instance.ProtoReflect.Descriptor instead.
func (x *Instance) GetAvailability() Instance_Availability
func (x *Instance) GetStartTime() *timestamppb.Timestamp
func (x *Instance) ProtoReflect() protoreflect.Message
Availability of the instance.
const ( Instance_UNSPECIFIED Instance_Availability = 0 Instance_RESIDENT Instance_Availability = 1 Instance_DYNAMIC Instance_Availability = 2 )
func (Instance_Availability) Descriptor() protoreflect.EnumDescriptor
func (x Instance_Availability) Enum() *Instance_Availability
func (Instance_Availability) EnumDescriptor() ([]byte, []int)
Deprecated: Use Instance_Availability.Descriptor instead.
func (x Instance_Availability) Number() protoreflect.EnumNumber
func (x Instance_Availability) String() string
func (Instance_Availability) Type() protoreflect.EnumType
type InstancesClient interface { // Lists the instances of a version. // // Tip: To aggregate details about instances over time, see the // [Stackdriver Monitoring API](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). ListInstances(ctx context.Context, in *ListInstancesRequest, opts ...grpc.CallOption) (*ListInstancesResponse, error) // Gets instance information. GetInstance(ctx context.Context, in *GetInstanceRequest, opts ...grpc.CallOption) (*Instance, error) // Stops a running instance. // // The instance might be automatically recreated based on the scaling settings // of the version. For more information, see "How Instances are Managed" // ([standard environment](https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | // [flexible environment](https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)). // // To ensure that instances are not re-created and avoid getting billed, you // can stop all instances within the target version by changing the serving // status of the version to `STOPPED` with the // [`apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) // method. DeleteInstance(ctx context.Context, in *DeleteInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) // Enables debugging on a VM instance. This allows you to use the SSH // command to connect to the virtual machine where the instance lives. // While in "debug mode", the instance continues to serve live traffic. // You should delete the instance when you are done debugging and then // allow the system to take over and determine if another instance // should be started. // // Only applicable for instances in App Engine flexible environment. DebugInstance(ctx context.Context, in *DebugInstanceRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) }
InstancesClient is the client API for Instances service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewInstancesClient(cc grpc.ClientConnInterface) InstancesClient
type InstancesServer interface { // Lists the instances of a version. // // Tip: To aggregate details about instances over time, see the // [Stackdriver Monitoring API](https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list). ListInstances(context.Context, *ListInstancesRequest) (*ListInstancesResponse, error) // Gets instance information. GetInstance(context.Context, *GetInstanceRequest) (*Instance, error) // Stops a running instance. // // The instance might be automatically recreated based on the scaling settings // of the version. For more information, see "How Instances are Managed" // ([standard environment](https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) | // [flexible environment](https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)). // // To ensure that instances are not re-created and avoid getting billed, you // can stop all instances within the target version by changing the serving // status of the version to `STOPPED` with the // [`apps.services.versions.patch`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) // method. DeleteInstance(context.Context, *DeleteInstanceRequest) (*longrunning.Operation, error) // Enables debugging on a VM instance. This allows you to use the SSH // command to connect to the virtual machine where the instance lives. // While in "debug mode", the instance continues to serve live traffic. // You should delete the instance when you are done debugging and then // allow the system to take over and determine if another instance // should be started. // // Only applicable for instances in App Engine flexible environment. DebugInstance(context.Context, *DebugInstanceRequest) (*longrunning.Operation, error) }
InstancesServer is the server API for Instances service.
type Library struct { // Name of the library. Example: "django". Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version of the library to select, or "latest". Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` // contains filtered or unexported fields }
Third-party Python runtime library that is required by the application.
Deprecated: Use Library.ProtoReflect.Descriptor instead.
func (x *Library) ProtoReflect() protoreflect.Message
type ListAuthorizedCertificatesRequest struct { // Name of the parent `Application` resource. Example: `apps/myapp`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Controls the set of fields returned in the `LIST` response. View AuthorizedCertificateView `protobuf:"varint,4,opt,name=view,proto3,enum=google.appengine.v1.AuthorizedCertificateView" json:"view,omitempty"` // Maximum results to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Continuation token for fetching the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for `AuthorizedCertificates.ListAuthorizedCertificates`.
func (*ListAuthorizedCertificatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthorizedCertificatesRequest.ProtoReflect.Descriptor instead.
func (x *ListAuthorizedCertificatesRequest) GetPageSize() int32
func (x *ListAuthorizedCertificatesRequest) GetPageToken() string
func (x *ListAuthorizedCertificatesRequest) GetParent() string
func (x *ListAuthorizedCertificatesRequest) GetView() AuthorizedCertificateView
func (*ListAuthorizedCertificatesRequest) ProtoMessage()
func (x *ListAuthorizedCertificatesRequest) ProtoReflect() protoreflect.Message
func (x *ListAuthorizedCertificatesRequest) Reset()
func (x *ListAuthorizedCertificatesRequest) String() string
type ListAuthorizedCertificatesResponse struct { // The SSL certificates the user is authorized to administer. Certificates []*AuthorizedCertificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"` // Continuation token for fetching the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for `AuthorizedCertificates.ListAuthorizedCertificates`.
func (*ListAuthorizedCertificatesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthorizedCertificatesResponse.ProtoReflect.Descriptor instead.
func (x *ListAuthorizedCertificatesResponse) GetCertificates() []*AuthorizedCertificate
func (x *ListAuthorizedCertificatesResponse) GetNextPageToken() string
func (*ListAuthorizedCertificatesResponse) ProtoMessage()
func (x *ListAuthorizedCertificatesResponse) ProtoReflect() protoreflect.Message
func (x *ListAuthorizedCertificatesResponse) Reset()
func (x *ListAuthorizedCertificatesResponse) String() string
type ListAuthorizedDomainsRequest struct { // Name of the parent Application resource. Example: `apps/myapp`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum results to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Continuation token for fetching the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for `AuthorizedDomains.ListAuthorizedDomains`.
func (*ListAuthorizedDomainsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthorizedDomainsRequest.ProtoReflect.Descriptor instead.
func (x *ListAuthorizedDomainsRequest) GetPageSize() int32
func (x *ListAuthorizedDomainsRequest) GetPageToken() string
func (x *ListAuthorizedDomainsRequest) GetParent() string
func (*ListAuthorizedDomainsRequest) ProtoMessage()
func (x *ListAuthorizedDomainsRequest) ProtoReflect() protoreflect.Message
func (x *ListAuthorizedDomainsRequest) Reset()
func (x *ListAuthorizedDomainsRequest) String() string
type ListAuthorizedDomainsResponse struct { // The authorized domains belonging to the user. Domains []*AuthorizedDomain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"` // Continuation token for fetching the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for `AuthorizedDomains.ListAuthorizedDomains`.
func (*ListAuthorizedDomainsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAuthorizedDomainsResponse.ProtoReflect.Descriptor instead.
func (x *ListAuthorizedDomainsResponse) GetDomains() []*AuthorizedDomain
func (x *ListAuthorizedDomainsResponse) GetNextPageToken() string
func (*ListAuthorizedDomainsResponse) ProtoMessage()
func (x *ListAuthorizedDomainsResponse) ProtoReflect() protoreflect.Message
func (x *ListAuthorizedDomainsResponse) Reset()
func (x *ListAuthorizedDomainsResponse) String() string
type ListDomainMappingsRequest struct { // Name of the parent Application resource. Example: `apps/myapp`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum results to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Continuation token for fetching the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for `DomainMappings.ListDomainMappings`.
func (*ListDomainMappingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainMappingsRequest.ProtoReflect.Descriptor instead.
func (x *ListDomainMappingsRequest) GetPageSize() int32
func (x *ListDomainMappingsRequest) GetPageToken() string
func (x *ListDomainMappingsRequest) GetParent() string
func (*ListDomainMappingsRequest) ProtoMessage()
func (x *ListDomainMappingsRequest) ProtoReflect() protoreflect.Message
func (x *ListDomainMappingsRequest) Reset()
func (x *ListDomainMappingsRequest) String() string
type ListDomainMappingsResponse struct { // The domain mappings for the application. DomainMappings []*DomainMapping `protobuf:"bytes,1,rep,name=domain_mappings,json=domainMappings,proto3" json:"domain_mappings,omitempty"` // Continuation token for fetching the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for `DomainMappings.ListDomainMappings`.
func (*ListDomainMappingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListDomainMappingsResponse.ProtoReflect.Descriptor instead.
func (x *ListDomainMappingsResponse) GetDomainMappings() []*DomainMapping
func (x *ListDomainMappingsResponse) GetNextPageToken() string
func (*ListDomainMappingsResponse) ProtoMessage()
func (x *ListDomainMappingsResponse) ProtoReflect() protoreflect.Message
func (x *ListDomainMappingsResponse) Reset()
func (x *ListDomainMappingsResponse) String() string
type ListIngressRulesRequest struct { // Name of the Firewall collection to retrieve. // Example: `apps/myapp/firewall/ingressRules`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum results to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Continuation token for fetching the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // A valid IP Address. If set, only rules matching this address will be // returned. The first returned rule will be the rule that fires on requests // from this IP. MatchingAddress string `protobuf:"bytes,4,opt,name=matching_address,json=matchingAddress,proto3" json:"matching_address,omitempty"` // contains filtered or unexported fields }
Request message for `Firewall.ListIngressRules`.
func (*ListIngressRulesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListIngressRulesRequest.ProtoReflect.Descriptor instead.
func (x *ListIngressRulesRequest) GetMatchingAddress() string
func (x *ListIngressRulesRequest) GetPageSize() int32
func (x *ListIngressRulesRequest) GetPageToken() string
func (x *ListIngressRulesRequest) GetParent() string
func (*ListIngressRulesRequest) ProtoMessage()
func (x *ListIngressRulesRequest) ProtoReflect() protoreflect.Message
func (x *ListIngressRulesRequest) Reset()
func (x *ListIngressRulesRequest) String() string
type ListIngressRulesResponse struct { // The ingress FirewallRules for this application. IngressRules []*FirewallRule `protobuf:"bytes,1,rep,name=ingress_rules,json=ingressRules,proto3" json:"ingress_rules,omitempty"` // Continuation token for fetching the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for `Firewall.ListIngressRules`.
func (*ListIngressRulesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListIngressRulesResponse.ProtoReflect.Descriptor instead.
func (x *ListIngressRulesResponse) GetIngressRules() []*FirewallRule
func (x *ListIngressRulesResponse) GetNextPageToken() string
func (*ListIngressRulesResponse) ProtoMessage()
func (x *ListIngressRulesResponse) ProtoReflect() protoreflect.Message
func (x *ListIngressRulesResponse) Reset()
func (x *ListIngressRulesResponse) String() string
type ListInstancesRequest struct { // Name of the parent Version resource. Example: // `apps/myapp/services/default/versions/v1`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum results to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Continuation token for fetching the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for `Instances.ListInstances`.
func (*ListInstancesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesRequest.ProtoReflect.Descriptor instead.
func (x *ListInstancesRequest) GetPageSize() int32
func (x *ListInstancesRequest) GetPageToken() string
func (x *ListInstancesRequest) GetParent() string
func (*ListInstancesRequest) ProtoMessage()
func (x *ListInstancesRequest) ProtoReflect() protoreflect.Message
func (x *ListInstancesRequest) Reset()
func (x *ListInstancesRequest) String() string
type ListInstancesResponse struct { // The instances belonging to the requested version. Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` // Continuation token for fetching the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for `Instances.ListInstances`.
func (*ListInstancesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInstancesResponse.ProtoReflect.Descriptor instead.
func (x *ListInstancesResponse) GetInstances() []*Instance
func (x *ListInstancesResponse) GetNextPageToken() string
func (*ListInstancesResponse) ProtoMessage()
func (x *ListInstancesResponse) ProtoReflect() protoreflect.Message
func (x *ListInstancesResponse) Reset()
func (x *ListInstancesResponse) String() string
type ListServicesRequest struct { // Name of the parent Application resource. Example: `apps/myapp`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Maximum results to return per page. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Continuation token for fetching the next page of results. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for `Services.ListServices`.
func (*ListServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesRequest.ProtoReflect.Descriptor instead.
func (x *ListServicesRequest) GetPageSize() int32
func (x *ListServicesRequest) GetPageToken() string
func (x *ListServicesRequest) GetParent() string
func (*ListServicesRequest) ProtoMessage()
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message
func (x *ListServicesRequest) Reset()
func (x *ListServicesRequest) String() string
type ListServicesResponse struct { // The services belonging to the requested application. Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // Continuation token for fetching the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for `Services.ListServices`.
func (*ListServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListServicesResponse.ProtoReflect.Descriptor instead.
func (x *ListServicesResponse) GetNextPageToken() string
func (x *ListServicesResponse) GetServices() []*Service
func (*ListServicesResponse) ProtoMessage()
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message
func (x *ListServicesResponse) Reset()
func (x *ListServicesResponse) String() string
type ListVersionsRequest struct { // Name of the parent Service resource. Example: // `apps/myapp/services/default`. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"` // Controls the set of fields returned in the `List` response. View VersionView `protobuf:"varint,2,opt,name=view,proto3,enum=google.appengine.v1.VersionView" json:"view,omitempty"` // Maximum results to return per page. PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // Continuation token for fetching the next page of results. PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // contains filtered or unexported fields }
Request message for `Versions.ListVersions`.
func (*ListVersionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsRequest.ProtoReflect.Descriptor instead.
func (x *ListVersionsRequest) GetPageSize() int32
func (x *ListVersionsRequest) GetPageToken() string
func (x *ListVersionsRequest) GetParent() string
func (x *ListVersionsRequest) GetView() VersionView
func (*ListVersionsRequest) ProtoMessage()
func (x *ListVersionsRequest) ProtoReflect() protoreflect.Message
func (x *ListVersionsRequest) Reset()
func (x *ListVersionsRequest) String() string
type ListVersionsResponse struct { // The versions belonging to the requested service. Versions []*Version `protobuf:"bytes,1,rep,name=versions,proto3" json:"versions,omitempty"` // Continuation token for fetching the next page of results. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
Response message for `Versions.ListVersions`.
func (*ListVersionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListVersionsResponse.ProtoReflect.Descriptor instead.
func (x *ListVersionsResponse) GetNextPageToken() string
func (x *ListVersionsResponse) GetVersions() []*Version
func (*ListVersionsResponse) ProtoMessage()
func (x *ListVersionsResponse) ProtoReflect() protoreflect.Message
func (x *ListVersionsResponse) Reset()
func (x *ListVersionsResponse) String() string
type LivenessCheck struct { // The request path. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Host header to send when performing a HTTP Liveness check. // Example: "myapp.appspot.com" Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // Number of consecutive failed checks required before considering the // VM unhealthy. FailureThreshold uint32 `protobuf:"varint,3,opt,name=failure_threshold,json=failureThreshold,proto3" json:"failure_threshold,omitempty"` // Number of consecutive successful checks required before considering // the VM healthy. SuccessThreshold uint32 `protobuf:"varint,4,opt,name=success_threshold,json=successThreshold,proto3" json:"success_threshold,omitempty"` // Interval between health checks. CheckInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"` // Time before the check is considered failed. Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` // The initial delay before starting to execute the checks. InitialDelay *durationpb.Duration `protobuf:"bytes,7,opt,name=initial_delay,json=initialDelay,proto3" json:"initial_delay,omitempty"` // contains filtered or unexported fields }
Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
func (*LivenessCheck) Descriptor() ([]byte, []int)
Deprecated: Use LivenessCheck.ProtoReflect.Descriptor instead.
func (x *LivenessCheck) GetCheckInterval() *durationpb.Duration
func (x *LivenessCheck) GetFailureThreshold() uint32
func (x *LivenessCheck) GetHost() string
func (x *LivenessCheck) GetInitialDelay() *durationpb.Duration
func (x *LivenessCheck) GetPath() string
func (x *LivenessCheck) GetSuccessThreshold() uint32
func (x *LivenessCheck) GetTimeout() *durationpb.Duration
func (*LivenessCheck) ProtoMessage()
func (x *LivenessCheck) ProtoReflect() protoreflect.Message
func (x *LivenessCheck) Reset()
func (x *LivenessCheck) String() string
type LocationMetadata struct { // App Engine standard environment is available in the given location. // // @OutputOnly StandardEnvironmentAvailable bool `protobuf:"varint,2,opt,name=standard_environment_available,json=standardEnvironmentAvailable,proto3" json:"standard_environment_available,omitempty"` // App Engine flexible environment is available in the given location. // // @OutputOnly FlexibleEnvironmentAvailable bool `protobuf:"varint,4,opt,name=flexible_environment_available,json=flexibleEnvironmentAvailable,proto3" json:"flexible_environment_available,omitempty"` // contains filtered or unexported fields }
Metadata for the given [google.cloud.location.Location][google.cloud.location.Location].
func (*LocationMetadata) Descriptor() ([]byte, []int)
Deprecated: Use LocationMetadata.ProtoReflect.Descriptor instead.
func (x *LocationMetadata) GetFlexibleEnvironmentAvailable() bool
func (x *LocationMetadata) GetStandardEnvironmentAvailable() bool
func (*LocationMetadata) ProtoMessage()
func (x *LocationMetadata) ProtoReflect() protoreflect.Message
func (x *LocationMetadata) Reset()
func (x *LocationMetadata) String() string
Methods to restrict access to a URL based on login status.
const ( // Not specified. `LOGIN_OPTIONAL` is assumed. LoginRequirement_LOGIN_UNSPECIFIED LoginRequirement = 0 // Does not require that the user is signed in. LoginRequirement_LOGIN_OPTIONAL LoginRequirement = 1 // If the user is not signed in, the `auth_fail_action` is taken. // In addition, if the user is not an administrator for the // application, they are given an error message regardless of // `auth_fail_action`. If the user is an administrator, the handler // proceeds. LoginRequirement_LOGIN_ADMIN LoginRequirement = 2 // If the user has signed in, the handler proceeds normally. Otherwise, the // auth_fail_action is taken. LoginRequirement_LOGIN_REQUIRED LoginRequirement = 3 )
func (LoginRequirement) Descriptor() protoreflect.EnumDescriptor
func (x LoginRequirement) Enum() *LoginRequirement
func (LoginRequirement) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoginRequirement.Descriptor instead.
func (x LoginRequirement) Number() protoreflect.EnumNumber
func (x LoginRequirement) String() string
func (LoginRequirement) Type() protoreflect.EnumType
type ManagedCertificate struct { // Time at which the certificate was last renewed. The renewal process is // fully managed. Certificate renewal will automatically occur before the // certificate expires. Renewal errors can be tracked via `ManagementStatus`. // // @OutputOnly LastRenewalTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=last_renewal_time,json=lastRenewalTime,proto3" json:"last_renewal_time,omitempty"` // Status of certificate management. Refers to the most recent certificate // acquisition or renewal attempt. // // @OutputOnly Status ManagementStatus `protobuf:"varint,2,opt,name=status,proto3,enum=google.appengine.v1.ManagementStatus" json:"status,omitempty"` // contains filtered or unexported fields }
A certificate managed by App Engine.
func (*ManagedCertificate) Descriptor() ([]byte, []int)
Deprecated: Use ManagedCertificate.ProtoReflect.Descriptor instead.
func (x *ManagedCertificate) GetLastRenewalTime() *timestamppb.Timestamp
func (x *ManagedCertificate) GetStatus() ManagementStatus
func (*ManagedCertificate) ProtoMessage()
func (x *ManagedCertificate) ProtoReflect() protoreflect.Message
func (x *ManagedCertificate) Reset()
func (x *ManagedCertificate) String() string
State of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
const ( ManagementStatus_MANAGEMENT_STATUS_UNSPECIFIED ManagementStatus = 0 // Certificate was successfully obtained and inserted into the serving // system. ManagementStatus_OK ManagementStatus = 1 // Certificate is under active attempts to acquire or renew. ManagementStatus_PENDING ManagementStatus = 2 // Most recent renewal failed due to an invalid DNS setup and will be // retried. Renewal attempts will continue to fail until the certificate // domain's DNS configuration is fixed. The last successfully provisioned // certificate may still be serving. ManagementStatus_FAILED_RETRYING_NOT_VISIBLE ManagementStatus = 4 // All renewal attempts have been exhausted, likely due to an invalid DNS // setup. ManagementStatus_FAILED_PERMANENT ManagementStatus = 6 // Most recent renewal failed due to an explicit CAA record that does not // include one of the in-use CAs (Google CA and Let's Encrypt). Renewals will // continue to fail until the CAA is reconfigured. The last successfully // provisioned certificate may still be serving. ManagementStatus_FAILED_RETRYING_CAA_FORBIDDEN ManagementStatus = 7 // Most recent renewal failed due to a CAA retrieval failure. This means that // the domain's DNS provider does not properly handle CAA records, failing // requests for CAA records when no CAA records are defined. Renewals will // continue to fail until the DNS provider is changed or a CAA record is // added for the given domain. The last successfully provisioned certificate // may still be serving. ManagementStatus_FAILED_RETRYING_CAA_CHECKING ManagementStatus = 8 )
func (ManagementStatus) Descriptor() protoreflect.EnumDescriptor
func (x ManagementStatus) Enum() *ManagementStatus
func (ManagementStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ManagementStatus.Descriptor instead.
func (x ManagementStatus) Number() protoreflect.EnumNumber
func (x ManagementStatus) String() string
func (ManagementStatus) Type() protoreflect.EnumType
type ManualScaling struct { // Number of instances to assign to the service at the start. This number // can later be altered by using the // [Modules API](https://cloud.google.com/appengine/docs/python/modules/functions) // `set_num_instances()` function. Instances int32 `protobuf:"varint,1,opt,name=instances,proto3" json:"instances,omitempty"` // contains filtered or unexported fields }
A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
func (*ManualScaling) Descriptor() ([]byte, []int)
Deprecated: Use ManualScaling.ProtoReflect.Descriptor instead.
func (x *ManualScaling) GetInstances() int32
func (*ManualScaling) ProtoMessage()
func (x *ManualScaling) ProtoReflect() protoreflect.Message
func (x *ManualScaling) Reset()
func (x *ManualScaling) String() string
type Network struct { // List of ports, or port pairs, to forward from the virtual machine to the // application container. // Only applicable in the App Engine flexible environment. ForwardedPorts []string `protobuf:"bytes,1,rep,name=forwarded_ports,json=forwardedPorts,proto3" json:"forwarded_ports,omitempty"` // Tag to apply to the instance during creation. // Only applicable in the App Engine flexible environment. InstanceTag string `protobuf:"bytes,2,opt,name=instance_tag,json=instanceTag,proto3" json:"instance_tag,omitempty"` // Google Compute Engine network where the virtual machines are created. // Specify the short name, not the resource path. // // Defaults to `default`. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // Google Cloud Platform sub-network where the virtual machines are created. // Specify the short name, not the resource path. // // If a subnetwork name is specified, a network name will also be required // unless it is for the default network. // // * If the network that the instance is being created in is a Legacy network, // then the IP address is allocated from the IPv4Range. // * If the network that the instance is being created in is an auto Subnet // Mode Network, then only network name should be specified (not the // subnetwork_name) and the IP address is created from the IPCidrRange of the // subnetwork that exists in that zone for that network. // * If the network that the instance is being created in is a custom Subnet // Mode Network, then the subnetwork_name must be specified and the // IP address is created from the IPCidrRange of the subnetwork. // // If specified, the subnetwork must exist in the same region as the // App Engine flexible environment application. SubnetworkName string `protobuf:"bytes,4,opt,name=subnetwork_name,json=subnetworkName,proto3" json:"subnetwork_name,omitempty"` // Enable session affinity. // Only applicable in the App Engine flexible environment. SessionAffinity bool `protobuf:"varint,5,opt,name=session_affinity,json=sessionAffinity,proto3" json:"session_affinity,omitempty"` // contains filtered or unexported fields }
Extra network settings. Only applicable in the App Engine flexible environment.
Deprecated: Use Network.ProtoReflect.Descriptor instead.
func (x *Network) ProtoReflect() protoreflect.Message
type NetworkUtilization struct { // Target bytes sent per second. TargetSentBytesPerSecond int32 `protobuf:"varint,1,opt,name=target_sent_bytes_per_second,json=targetSentBytesPerSecond,proto3" json:"target_sent_bytes_per_second,omitempty"` // Target packets sent per second. TargetSentPacketsPerSecond int32 `protobuf:"varint,11,opt,name=target_sent_packets_per_second,json=targetSentPacketsPerSecond,proto3" json:"target_sent_packets_per_second,omitempty"` // Target bytes received per second. TargetReceivedBytesPerSecond int32 `protobuf:"varint,12,opt,name=target_received_bytes_per_second,json=targetReceivedBytesPerSecond,proto3" json:"target_received_bytes_per_second,omitempty"` // Target packets received per second. TargetReceivedPacketsPerSecond int32 `protobuf:"varint,13,opt,name=target_received_packets_per_second,json=targetReceivedPacketsPerSecond,proto3" json:"target_received_packets_per_second,omitempty"` // contains filtered or unexported fields }
Target scaling by network usage. Only applicable in the App Engine flexible environment.
func (*NetworkUtilization) Descriptor() ([]byte, []int)
Deprecated: Use NetworkUtilization.ProtoReflect.Descriptor instead.
func (x *NetworkUtilization) GetTargetReceivedBytesPerSecond() int32
func (x *NetworkUtilization) GetTargetReceivedPacketsPerSecond() int32
func (x *NetworkUtilization) GetTargetSentBytesPerSecond() int32
func (x *NetworkUtilization) GetTargetSentPacketsPerSecond() int32
func (*NetworkUtilization) ProtoMessage()
func (x *NetworkUtilization) ProtoReflect() protoreflect.Message
func (x *NetworkUtilization) Reset()
func (x *NetworkUtilization) String() string
type OperationMetadataV1 struct { // API method that initiated this operation. Example: // `google.appengine.v1.Versions.CreateVersion`. // // @OutputOnly Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"` // Time that this operation was created. // // @OutputOnly InsertTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=insert_time,json=insertTime,proto3" json:"insert_time,omitempty"` // Time that this operation completed. // // @OutputOnly EndTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` // User who requested this operation. // // @OutputOnly User string `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"` // Name of the resource that this operation is acting on. Example: // `apps/myapp/services/default`. // // @OutputOnly Target string `protobuf:"bytes,5,opt,name=target,proto3" json:"target,omitempty"` // Ephemeral message that may change every time the operation is polled. // @OutputOnly EphemeralMessage string `protobuf:"bytes,6,opt,name=ephemeral_message,json=ephemeralMessage,proto3" json:"ephemeral_message,omitempty"` // Durable messages that persist on every operation poll. // @OutputOnly Warning []string `protobuf:"bytes,7,rep,name=warning,proto3" json:"warning,omitempty"` // Metadata specific to the type of operation in progress. // @OutputOnly // // Types that are assignable to MethodMetadata: // *OperationMetadataV1_CreateVersionMetadata MethodMetadata isOperationMetadataV1_MethodMetadata `protobuf_oneof:"method_metadata"` // contains filtered or unexported fields }
Metadata for the given [google.longrunning.Operation][google.longrunning.Operation].
func (*OperationMetadataV1) Descriptor() ([]byte, []int)
Deprecated: Use OperationMetadataV1.ProtoReflect.Descriptor instead.
func (x *OperationMetadataV1) GetCreateVersionMetadata() *CreateVersionMetadataV1
func (x *OperationMetadataV1) GetEndTime() *timestamppb.Timestamp
func (x *OperationMetadataV1) GetEphemeralMessage() string
func (x *OperationMetadataV1) GetInsertTime() *timestamppb.Timestamp
func (x *OperationMetadataV1) GetMethod() string
func (m *OperationMetadataV1) GetMethodMetadata() isOperationMetadataV1_MethodMetadata
func (x *OperationMetadataV1) GetTarget() string
func (x *OperationMetadataV1) GetUser() string
func (x *OperationMetadataV1) GetWarning() []string
func (*OperationMetadataV1) ProtoMessage()
func (x *OperationMetadataV1) ProtoReflect() protoreflect.Message
func (x *OperationMetadataV1) Reset()
func (x *OperationMetadataV1) String() string
type OperationMetadataV1_CreateVersionMetadata struct { CreateVersionMetadata *CreateVersionMetadataV1 `protobuf:"bytes,8,opt,name=create_version_metadata,json=createVersionMetadata,proto3,oneof"` }
type ReadinessCheck struct { // The request path. Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` // Host header to send when performing a HTTP Readiness check. // Example: "myapp.appspot.com" Host string `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` // Number of consecutive failed checks required before removing // traffic. FailureThreshold uint32 `protobuf:"varint,3,opt,name=failure_threshold,json=failureThreshold,proto3" json:"failure_threshold,omitempty"` // Number of consecutive successful checks required before receiving // traffic. SuccessThreshold uint32 `protobuf:"varint,4,opt,name=success_threshold,json=successThreshold,proto3" json:"success_threshold,omitempty"` // Interval between health checks. CheckInterval *durationpb.Duration `protobuf:"bytes,5,opt,name=check_interval,json=checkInterval,proto3" json:"check_interval,omitempty"` // Time before the check is considered failed. Timeout *durationpb.Duration `protobuf:"bytes,6,opt,name=timeout,proto3" json:"timeout,omitempty"` // A maximum time limit on application initialization, measured from moment // the application successfully replies to a healthcheck until it is ready to // serve traffic. AppStartTimeout *durationpb.Duration `protobuf:"bytes,7,opt,name=app_start_timeout,json=appStartTimeout,proto3" json:"app_start_timeout,omitempty"` // contains filtered or unexported fields }
Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
func (*ReadinessCheck) Descriptor() ([]byte, []int)
Deprecated: Use ReadinessCheck.ProtoReflect.Descriptor instead.
func (x *ReadinessCheck) GetAppStartTimeout() *durationpb.Duration
func (x *ReadinessCheck) GetCheckInterval() *durationpb.Duration
func (x *ReadinessCheck) GetFailureThreshold() uint32
func (x *ReadinessCheck) GetHost() string
func (x *ReadinessCheck) GetPath() string
func (x *ReadinessCheck) GetSuccessThreshold() uint32
func (x *ReadinessCheck) GetTimeout() *durationpb.Duration
func (*ReadinessCheck) ProtoMessage()
func (x *ReadinessCheck) ProtoReflect() protoreflect.Message
func (x *ReadinessCheck) Reset()
func (x *ReadinessCheck) String() string
type RepairApplicationRequest struct { // Name of the application to repair. Example: `apps/myapp` Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Request message for 'Applications.RepairApplication'.
func (*RepairApplicationRequest) Descriptor() ([]byte, []int)
Deprecated: Use RepairApplicationRequest.ProtoReflect.Descriptor instead.
func (x *RepairApplicationRequest) GetName() string
func (*RepairApplicationRequest) ProtoMessage()
func (x *RepairApplicationRequest) ProtoReflect() protoreflect.Message
func (x *RepairApplicationRequest) Reset()
func (x *RepairApplicationRequest) String() string
type RequestUtilization struct { // Target requests per second. TargetRequestCountPerSecond int32 `protobuf:"varint,1,opt,name=target_request_count_per_second,json=targetRequestCountPerSecond,proto3" json:"target_request_count_per_second,omitempty"` // Target number of concurrent requests. TargetConcurrentRequests int32 `protobuf:"varint,2,opt,name=target_concurrent_requests,json=targetConcurrentRequests,proto3" json:"target_concurrent_requests,omitempty"` // contains filtered or unexported fields }
Target scaling by request utilization. Only applicable in the App Engine flexible environment.
func (*RequestUtilization) Descriptor() ([]byte, []int)
Deprecated: Use RequestUtilization.ProtoReflect.Descriptor instead.
func (x *RequestUtilization) GetTargetConcurrentRequests() int32
func (x *RequestUtilization) GetTargetRequestCountPerSecond() int32
func (*RequestUtilization) ProtoMessage()
func (x *RequestUtilization) ProtoReflect() protoreflect.Message
func (x *RequestUtilization) Reset()
func (x *RequestUtilization) String() string
type ResourceRecord struct { // Relative name of the object affected by this record. Only applicable for // `CNAME` records. Example: 'www'. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Data for this record. Values vary by record type, as defined in RFC 1035 // (section 5) and RFC 1034 (section 3.6.1). Rrdata string `protobuf:"bytes,2,opt,name=rrdata,proto3" json:"rrdata,omitempty"` // Resource record type. Example: `AAAA`. Type ResourceRecord_RecordType `protobuf:"varint,3,opt,name=type,proto3,enum=google.appengine.v1.ResourceRecord_RecordType" json:"type,omitempty"` // contains filtered or unexported fields }
A DNS resource record.
func (*ResourceRecord) Descriptor() ([]byte, []int)
Deprecated: Use ResourceRecord.ProtoReflect.Descriptor instead.
func (x *ResourceRecord) GetName() string
func (x *ResourceRecord) GetRrdata() string
func (x *ResourceRecord) GetType() ResourceRecord_RecordType
func (*ResourceRecord) ProtoMessage()
func (x *ResourceRecord) ProtoReflect() protoreflect.Message
func (x *ResourceRecord) Reset()
func (x *ResourceRecord) String() string
A resource record type.
const ( // An unknown resource record. ResourceRecord_RECORD_TYPE_UNSPECIFIED ResourceRecord_RecordType = 0 // An A resource record. Data is an IPv4 address. ResourceRecord_A ResourceRecord_RecordType = 1 // An AAAA resource record. Data is an IPv6 address. ResourceRecord_AAAA ResourceRecord_RecordType = 2 // A CNAME resource record. Data is a domain name to be aliased. ResourceRecord_CNAME ResourceRecord_RecordType = 3 )
func (ResourceRecord_RecordType) Descriptor() protoreflect.EnumDescriptor
func (x ResourceRecord_RecordType) Enum() *ResourceRecord_RecordType
func (ResourceRecord_RecordType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ResourceRecord_RecordType.Descriptor instead.
func (x ResourceRecord_RecordType) Number() protoreflect.EnumNumber
func (x ResourceRecord_RecordType) String() string
func (ResourceRecord_RecordType) Type() protoreflect.EnumType
type Resources struct { // Number of CPU cores needed. Cpu float64 `protobuf:"fixed64,1,opt,name=cpu,proto3" json:"cpu,omitempty"` // Disk size (GB) needed. DiskGb float64 `protobuf:"fixed64,2,opt,name=disk_gb,json=diskGb,proto3" json:"disk_gb,omitempty"` // Memory (GB) needed. MemoryGb float64 `protobuf:"fixed64,3,opt,name=memory_gb,json=memoryGb,proto3" json:"memory_gb,omitempty"` // User specified volumes. Volumes []*Volume `protobuf:"bytes,4,rep,name=volumes,proto3" json:"volumes,omitempty"` // contains filtered or unexported fields }
Machine resources for a version.
Deprecated: Use Resources.ProtoReflect.Descriptor instead.
func (x *Resources) ProtoReflect() protoreflect.Message
type ScriptHandler struct { // Path to the script from the application root directory. ScriptPath string `protobuf:"bytes,1,opt,name=script_path,json=scriptPath,proto3" json:"script_path,omitempty"` // contains filtered or unexported fields }
Executes a script to handle the request that matches the URL pattern.
func (*ScriptHandler) Descriptor() ([]byte, []int)
Deprecated: Use ScriptHandler.ProtoReflect.Descriptor instead.
func (x *ScriptHandler) GetScriptPath() string
func (*ScriptHandler) ProtoMessage()
func (x *ScriptHandler) ProtoReflect() protoreflect.Message
func (x *ScriptHandler) Reset()
func (x *ScriptHandler) String() string
Methods to enforce security (HTTPS) on a URL.
const ( // Not specified. SecurityLevel_SECURE_UNSPECIFIED SecurityLevel = 0 // Both HTTP and HTTPS requests with URLs that match the handler succeed // without redirects. The application can examine the request to determine // which protocol was used, and respond accordingly. SecurityLevel_SECURE_DEFAULT SecurityLevel = 0 // Requests for a URL that match this handler that use HTTPS are automatically // redirected to the HTTP equivalent URL. SecurityLevel_SECURE_NEVER SecurityLevel = 1 // Both HTTP and HTTPS requests with URLs that match the handler succeed // without redirects. The application can examine the request to determine // which protocol was used and respond accordingly. SecurityLevel_SECURE_OPTIONAL SecurityLevel = 2 // Requests for a URL that match this handler that do not use HTTPS are // automatically redirected to the HTTPS URL with the same path. Query // parameters are reserved for the redirect. SecurityLevel_SECURE_ALWAYS SecurityLevel = 3 )
func (SecurityLevel) Descriptor() protoreflect.EnumDescriptor
func (x SecurityLevel) Enum() *SecurityLevel
func (SecurityLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use SecurityLevel.Descriptor instead.
func (x SecurityLevel) Number() protoreflect.EnumNumber
func (x SecurityLevel) String() string
func (SecurityLevel) Type() protoreflect.EnumType
type Service struct { // Full path to the Service resource in the API. // Example: `apps/myapp/services/default`. // // @OutputOnly Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Relative name of the service within the application. // Example: `default`. // // @OutputOnly Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` // Mapping that defines fractional HTTP traffic diversion to // different versions within the service. Split *TrafficSplit `protobuf:"bytes,3,opt,name=split,proto3" json:"split,omitempty"` // contains filtered or unexported fields }
A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.
Deprecated: Use Service.ProtoReflect.Descriptor instead.