Module google_appengine1::api

source ·

Structs§

  • Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration for API handlers.
  • Uses Google Cloud Endpoints to handle requests.
  • Uploads the specified SSL certificate.
  • Deletes the specified SSL certificate.
  • Gets the specified SSL certificate.
  • Lists all SSL certificates the user is authorized to administer.
  • 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.
  • Lists all domains the user is authorized to administer.
  • 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/).
  • 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.
  • Deletes the specified domain mapping. A user must be authorized to administer the associated domain in order to delete a DomainMapping resource.
  • Gets the specified domain mapping.
  • Lists the domain mappings on an application.
  • 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.
  • 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.
  • Creates a firewall rule for the application.
  • Deletes the specified firewall rule.
  • Gets the specified firewall rule.
  • Lists the firewall rules of an application.
  • Updates the specified firewall rule.
  • Gets information about an application.
  • Lists all the available runtimes for the application.
  • Gets information about a location.
  • Lists information about the supported locations for this service.
  • A builder providing access to all methods supported on app resources. It is not used directly, but through the Appengine hub.
  • Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
  • Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.
  • 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. iap - Identity-Aware Proxy properties for the application.
  • 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.
  • Deletes the specified service and all enclosed versions.
  • Gets the current configuration of the specified service.
  • Lists all the services in the application.
  • Updates the configuration of the specified service.
  • Deploys code and resource files to a new version.
  • Deletes an existing Version resource.
  • Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.
  • 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.
  • 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.
  • Gets instance information.
  • 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).
  • Lists the versions of a service.
  • Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment: automatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) automaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible environment serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment: automatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) automatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual scaling in the flexible environment: manual_scaling.instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
  • Central instance to access all Appengine related resource activities
  • An Application resource contains the top-level configuration of an App Engine application.
  • 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.
  • A domain that a user has been authorized to administer. To authorize use of a domain, verify ownership via Search Console (https://search.google.com/search-console/welcome).
  • Automatic scaling is based on request rate, response latencies, and other application metrics.
  • 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.
  • Request message for Firewall.BatchUpdateIngressRules.
  • Response message for Firewall.UpdateAllIngressRules.
  • An SSL certificate obtained from a certificate authority.
  • 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.
  • 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.
  • Target scaling by CPU usage.
  • Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: A full date, with non-zero year, month, and day values. A month and day, with a zero year (for example, an anniversary). A year on its own, with a zero month and a zero day. A year and month, with a zero day (for example, a credit card expiration date).Related types: google.type.TimeOfDay google.type.DateTime google.protobuf.Timestamp
  • Request message for Instances.DebugInstance.
  • Code and application artifacts used to deploy a version to App Engine.
  • Target scaling by disk usage. Only applicable in the App Engine flexible environment.
  • A domain serving an App Engine application.
  • A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
  • Google 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).
  • The entrypoint for the application.
  • Custom static error page to be served when an error occurs.
  • The feature specific settings to be used in the application. These define behaviors that are user configurable.
  • Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.
  • A single firewall rule that is evaluated against incoming traffic and provides an action to take on matched requests.
  • Runtime settings for the App Engine flexible environment.
  • Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
  • Identity-Aware Proxy
  • An Instance resource is the computing unit that App Engine uses to automatically scale an application.
  • Third-party Python runtime library that is required by the application.
  • Response message for AuthorizedCertificates.ListAuthorizedCertificates.
  • Response message for AuthorizedDomains.ListAuthorizedDomains.
  • Response message for DomainMappings.ListDomainMappings.
  • Response message for Firewall.ListIngressRules.
  • Response message for Instances.ListInstances.
  • The response message for Locations.ListLocations.
  • The response message for Operations.ListOperations.
  • Response message for Applications.ListRuntimes.
  • Response message for Services.ListServices.
  • Response message for Versions.ListVersions.
  • Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
  • A resource that represents a Google Cloud location.
  • A certificate managed by App Engine.
  • A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
  • Extra network settings. Only applicable in the App Engine flexible environment.
  • A NetworkSettings resource is a container for ingress settings for a version or service.
  • Target scaling by network usage. Only applicable in the App Engine flexible environment.
  • This resource represents a long-running operation that is the result of a network API call.
  • Lists all domains the user is authorized to administer.
  • A builder providing access to all methods supported on project resources. It is not used directly, but through the Appengine hub.
  • Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
  • Request message for ‘Applications.RepairApplication’.
  • Target scaling by request utilization. Only applicable in the App Engine flexible environment.
  • A DNS resource record.
  • Machine resources for a version.
  • Runtime versions for App Engine.
  • Executes a script to handle the request that matches the URL pattern.
  • 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.
  • SSL configuration for a DomainMapping resource.
  • Scheduler settings for standard environment.
  • Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them.
  • The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces of data: error code, error message, and error details.You can find out more about this error model and how to work with it in the API Design Guide (https://cloud.google.com/apis/design/errors).
  • Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.
  • Rules to match an HTTP request and dispatch that request to a service.
  • URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.
  • A Version resource is a specific set of source code and configuration files that are deployed into a service.
  • Volumes mounted within the app container. Only applicable in the App Engine flexible environment.
  • VPC access connector specification.
  • The zip file information for a zip deployment.

Enums§