mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
chore(json): update all apis
And bring in 5 new ones, including cloudkms. Also update dependencies to make things compile again.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *appengine* crate version *1.0.4+20161208*, where *20161208* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.4*.
|
||||
//! This documentation was generated from *appengine* crate version *1.0.4+20170522*, where *20170522* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.4*.
|
||||
//!
|
||||
//! Everything else about the *appengine* *v1* API can be found at the
|
||||
//! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/).
|
||||
@@ -380,6 +380,35 @@ pub struct ListInstancesResponse {
|
||||
impl ResponseResult for ListInstancesResponse {}
|
||||
|
||||
|
||||
/// Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct LivenessCheck {
|
||||
/// Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com"
|
||||
pub host: Option<String>,
|
||||
/// Time before the check is considered failed.
|
||||
pub timeout: Option<String>,
|
||||
/// Interval between health checks.
|
||||
#[serde(rename="checkInterval")]
|
||||
pub check_interval: Option<String>,
|
||||
/// The request path.
|
||||
pub path: Option<String>,
|
||||
/// Number of consecutive successful checks required before considering the VM healthy.
|
||||
#[serde(rename="successThreshold")]
|
||||
pub success_threshold: Option<u32>,
|
||||
/// The initial delay before starting to execute the checks.
|
||||
#[serde(rename="initialDelay")]
|
||||
pub initial_delay: Option<String>,
|
||||
/// Number of consecutive failed checks required before considering the VM unhealthy.
|
||||
#[serde(rename="failureThreshold")]
|
||||
pub failure_threshold: Option<u32>,
|
||||
}
|
||||
|
||||
impl Part for LivenessCheck {}
|
||||
|
||||
|
||||
/// Extra network settings. Only applicable for VM runtimes.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
@@ -394,7 +423,10 @@ pub struct Network {
|
||||
pub forwarded_ports: Option<Vec<String>>,
|
||||
/// Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
|
||||
pub name: Option<String>,
|
||||
/// 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 the VM instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network the VM 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 the VM 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 Flex app.
|
||||
/// 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 the VM instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.
|
||||
/// If the network the VM 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 the VM 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 Flex app.
|
||||
#[serde(rename="subnetworkName")]
|
||||
pub subnetwork_name: Option<String>,
|
||||
}
|
||||
@@ -414,10 +446,10 @@ impl Part for Network {}
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Service {
|
||||
/// Mapping that defines fractional HTTP traffic diversion to different versions within the service.
|
||||
pub split: Option<TrafficSplit>,
|
||||
/// Relative name of the service within the application. Example: default.@OutputOnly
|
||||
pub id: Option<String>,
|
||||
/// Mapping that defines fractional HTTP traffic diversion to different versions within the service.
|
||||
pub split: Option<TrafficSplit>,
|
||||
/// Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly
|
||||
pub name: Option<String>,
|
||||
}
|
||||
@@ -459,26 +491,34 @@ pub struct Application {
|
||||
pub default_hostname: Option<String>,
|
||||
/// Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly
|
||||
pub name: Option<String>,
|
||||
/// The Google Container Registry domain used for storing managed build docker images for this application.
|
||||
#[serde(rename="gcrDomain")]
|
||||
pub gcr_domain: Option<String>,
|
||||
/// 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
|
||||
#[serde(rename="codeBucket")]
|
||||
pub code_bucket: Option<String>,
|
||||
/// Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly
|
||||
#[serde(rename="defaultBucket")]
|
||||
pub default_bucket: Option<String>,
|
||||
/// HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent.@OutputOnly
|
||||
/// 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.@OutputOnly
|
||||
#[serde(rename="dispatchRules")]
|
||||
pub dispatch_rules: Option<Vec<UrlDispatchRule>>,
|
||||
/// Cookie expiration policy for this application.
|
||||
#[serde(rename="defaultCookieExpiration")]
|
||||
pub default_cookie_expiration: Option<String>,
|
||||
/// 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.
|
||||
pub id: Option<String>,
|
||||
/// Location from which this application will be run. Application instances will run out of data centers in the chosen location, which is also where all of the application's end user content is stored.Defaults to us-central.Options are:us-central - Central USeurope-west - Western Europeus-east1 - Eastern US
|
||||
#[serde(rename="locationId")]
|
||||
pub location_id: Option<String>,
|
||||
/// Serving status of this application.
|
||||
#[serde(rename="servingStatus")]
|
||||
pub serving_status: Option<String>,
|
||||
/// Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.
|
||||
#[serde(rename="authDomain")]
|
||||
pub auth_domain: Option<String>,
|
||||
/// 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.
|
||||
pub id: Option<String>,
|
||||
/// no description provided
|
||||
pub iap: Option<IdentityAwareProxy>,
|
||||
}
|
||||
|
||||
impl RequestValue for Application {}
|
||||
@@ -492,8 +532,8 @@ impl ResponseResult for Application {}
|
||||
/// This type is used in activities, which are methods you may call on this type or where this type is involved in.
|
||||
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
|
||||
///
|
||||
/// * [services versions get apps](struct.AppServiceVersionGetCall.html) (response)
|
||||
/// * [services versions create apps](struct.AppServiceVersionCreateCall.html) (request)
|
||||
/// * [services versions get apps](struct.AppServiceVersionGetCall.html) (response)
|
||||
/// * [services versions patch apps](struct.AppServiceVersionPatchCall.html) (request)
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
@@ -501,14 +541,14 @@ pub struct Version {
|
||||
/// Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud Endpoints Extensible Service Proxy will be provided to serve the API implemented by the app.
|
||||
#[serde(rename="endpointsApiService")]
|
||||
pub endpoints_api_service: Option<EndpointsApiService>,
|
||||
/// Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="defaultExpiration")]
|
||||
pub default_expiration: Option<String>,
|
||||
/// Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
|
||||
pub name: Option<String>,
|
||||
/// 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.
|
||||
#[serde(rename="basicScaling")]
|
||||
pub basic_scaling: Option<BasicScaling>,
|
||||
/// Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly
|
||||
pub name: Option<String>,
|
||||
/// Metadata settings that are supplied to this version to enable beta runtime features.
|
||||
#[serde(rename="betaSettings")]
|
||||
pub beta_settings: Option<HashMap<String, String>>,
|
||||
/// A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.
|
||||
#[serde(rename="manualScaling")]
|
||||
pub manual_scaling: Option<ManualScaling>,
|
||||
@@ -520,9 +560,14 @@ pub struct Version {
|
||||
/// Before an application can receive email or XMPP messages, the application must be configured to enable the service.
|
||||
#[serde(rename="inboundServices")]
|
||||
pub inbound_services: Option<Vec<String>>,
|
||||
/// Instance class that is used to run this version. Valid values are: AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
|
||||
/// Instance class that is used to run this version. Valid values are:
|
||||
/// AutomaticScaling: F1, F2, F4, F4_1G
|
||||
/// ManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.
|
||||
#[serde(rename="instanceClass")]
|
||||
pub instance_class: Option<String>,
|
||||
/// Metadata settings that are supplied to this version to enable beta runtime features.
|
||||
#[serde(rename="betaSettings")]
|
||||
pub beta_settings: Option<HashMap<String, String>>,
|
||||
/// Email address of the user who created this version.@OutputOnly
|
||||
#[serde(rename="createdBy")]
|
||||
pub created_by: Option<String>,
|
||||
@@ -531,29 +576,32 @@ pub struct Version {
|
||||
/// Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="errorHandlers")]
|
||||
pub error_handlers: Option<Vec<ErrorHandler>>,
|
||||
/// Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="nobuildFilesRegex")]
|
||||
pub nobuild_files_regex: Option<String>,
|
||||
/// Current serving status of this version. Only the versions with a SERVING status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.
|
||||
#[serde(rename="servingStatus")]
|
||||
pub serving_status: Option<String>,
|
||||
/// Relative name of the version within the service. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: "default", "latest", and any name with the prefix "ah-".
|
||||
pub id: Option<String>,
|
||||
/// Extra network settings. Only applicable for VM runtimes.
|
||||
pub network: Option<Network>,
|
||||
/// Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="readinessCheck")]
|
||||
pub readiness_check: Option<ReadinessCheck>,
|
||||
/// Whether multiple requests can be dispatched to this version at once.
|
||||
pub threadsafe: Option<bool>,
|
||||
/// Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="apiConfig")]
|
||||
pub api_config: Option<ApiConfigHandler>,
|
||||
/// Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="nobuildFilesRegex")]
|
||||
pub nobuild_files_regex: Option<String>,
|
||||
/// Whether multiple requests can be dispatched to this version at once.
|
||||
pub threadsafe: Option<bool>,
|
||||
/// Configures liveness health checking for VM instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="livenessCheck")]
|
||||
pub liveness_check: Option<LivenessCheck>,
|
||||
/// Extra network settings. Only applicable for VM runtimes.
|
||||
pub network: Option<Network>,
|
||||
/// An ordered list of URL-matching patterns that should be applied to incoming requests. The first matching URL handles the request and other request handlers are not attempted.Only returned in GET requests if view=FULL is set.
|
||||
pub handlers: Option<Vec<UrlMap>>,
|
||||
/// Configures health checking for VM instances. Unhealthy instances are stopped and replaced with new instances. Only applicable for VM runtimes.Only returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="healthCheck")]
|
||||
pub health_check: Option<HealthCheck>,
|
||||
/// Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.
|
||||
#[serde(rename="defaultExpiration")]
|
||||
pub default_expiration: Option<String>,
|
||||
/// Serving URL for this version. Example: "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly
|
||||
#[serde(rename="versionUrl")]
|
||||
pub version_url: Option<String>,
|
||||
@@ -580,7 +628,7 @@ impl RequestValue for Version {}
|
||||
impl ResponseResult for Version {}
|
||||
|
||||
|
||||
/// The response message for LocationService.ListLocations.
|
||||
/// The response message for Locations.ListLocations.
|
||||
///
|
||||
/// # Activities
|
||||
///
|
||||
@@ -612,7 +660,9 @@ impl ResponseResult for ListLocationsResponse {}
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Location {
|
||||
/// Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
|
||||
/// Cross-service attributes for the location. For example
|
||||
/// {"cloud.googleapis.com/region": "us-east1"}
|
||||
///
|
||||
pub labels: Option<HashMap<String, String>>,
|
||||
/// The canonical id for this location. For example: "us-east1".
|
||||
#[serde(rename="locationId")]
|
||||
@@ -637,7 +687,9 @@ impl ResponseResult for Location {}
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct DebugInstanceRequest {
|
||||
/// 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).
|
||||
/// 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).
|
||||
#[serde(rename="sshKey")]
|
||||
pub ssh_key: Option<String>,
|
||||
}
|
||||
@@ -683,7 +735,14 @@ pub struct Resources {
|
||||
impl Part for Resources {}
|
||||
|
||||
|
||||
/// 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). The error model is designed to be: Simple to use and understand for most users Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc which can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include: Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors. Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting purpose. Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response. Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message. Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.
|
||||
/// 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). The error model is designed to be:
|
||||
/// Simple to use and understand for most users
|
||||
/// Flexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include:
|
||||
/// Partial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors.
|
||||
/// Workflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting.
|
||||
/// Batch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response.
|
||||
/// Asynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message.
|
||||
/// Logging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
@@ -810,25 +869,21 @@ pub struct Volume {
|
||||
impl Part for Volume {}
|
||||
|
||||
|
||||
/// Response message for Services.ListServices.
|
||||
/// Code and application artifacts used to deploy a version to App Engine.
|
||||
///
|
||||
/// # Activities
|
||||
///
|
||||
/// This type is used in activities, which are methods you may call on this type or where this type is involved in.
|
||||
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
|
||||
///
|
||||
/// * [services list apps](struct.AppServiceListCall.html) (response)
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct ListServicesResponse {
|
||||
/// The services belonging to the requested application.
|
||||
pub services: Option<Vec<Service>>,
|
||||
/// Continuation token for fetching the next page of results.
|
||||
#[serde(rename="nextPageToken")]
|
||||
pub next_page_token: Option<String>,
|
||||
pub struct Deployment {
|
||||
/// 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.
|
||||
pub files: Option<HashMap<String, FileInfo>>,
|
||||
/// The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment.
|
||||
pub container: Option<ContainerInfo>,
|
||||
/// The zip file for this deployment, if this is a zip deployment.
|
||||
pub zip: Option<ZipInfo>,
|
||||
}
|
||||
|
||||
impl ResponseResult for ListServicesResponse {}
|
||||
impl Part for Deployment {}
|
||||
|
||||
|
||||
/// Executes a script to handle the request that matches the URL pattern.
|
||||
@@ -845,21 +900,17 @@ pub struct ScriptHandler {
|
||||
impl Part for ScriptHandler {}
|
||||
|
||||
|
||||
/// Rules to match an HTTP request and dispatch that request to a service.
|
||||
/// 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.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct UrlDispatchRule {
|
||||
/// Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path. The sum of the lengths of the domain and path may not exceed 100 characters.
|
||||
pub path: Option<String>,
|
||||
/// Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*".
|
||||
pub domain: Option<String>,
|
||||
/// Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
|
||||
pub service: Option<String>,
|
||||
pub struct ContainerInfo {
|
||||
/// 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"
|
||||
pub image: Option<String>,
|
||||
}
|
||||
|
||||
impl Part for UrlDispatchRule {}
|
||||
impl Part for ContainerInfo {}
|
||||
|
||||
|
||||
/// Uses Google Cloud Endpoints to handle requests.
|
||||
@@ -906,21 +957,26 @@ pub struct HealthCheck {
|
||||
impl Part for HealthCheck {}
|
||||
|
||||
|
||||
/// Code and application artifacts used to deploy a version to App Engine.
|
||||
/// Identity-Aware Proxy
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Deployment {
|
||||
/// 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.
|
||||
pub files: Option<HashMap<String, FileInfo>>,
|
||||
/// A Docker image that App Engine uses to run the version. Only applicable for instances in App Engine flexible environment.
|
||||
pub container: Option<ContainerInfo>,
|
||||
/// The zip file for this deployment, if this is a zip deployment.
|
||||
pub zip: Option<ZipInfo>,
|
||||
pub struct IdentityAwareProxy {
|
||||
/// OAuth2 client ID to use for the authentication flow.
|
||||
#[serde(rename="oauth2ClientId")]
|
||||
pub oauth2_client_id: Option<String>,
|
||||
/// 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.
|
||||
pub enabled: Option<bool>,
|
||||
/// 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
|
||||
#[serde(rename="oauth2ClientSecret")]
|
||||
pub oauth2_client_secret: Option<String>,
|
||||
/// Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
||||
#[serde(rename="oauth2ClientSecretSha256")]
|
||||
pub oauth2_client_secret_sha256: Option<String>,
|
||||
}
|
||||
|
||||
impl Part for Deployment {}
|
||||
impl Part for IdentityAwareProxy {}
|
||||
|
||||
|
||||
/// Custom static error page to be served when an error occurs.
|
||||
@@ -955,18 +1011,18 @@ pub struct AutomaticScaling {
|
||||
/// Target scaling by network usage.
|
||||
#[serde(rename="networkUtilization")]
|
||||
pub network_utilization: Option<NetworkUtilization>,
|
||||
/// Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
|
||||
#[serde(rename="minIdleInstances")]
|
||||
pub min_idle_instances: Option<i32>,
|
||||
/// Target scaling by disk usage.
|
||||
#[serde(rename="diskUtilization")]
|
||||
pub disk_utilization: Option<DiskUtilization>,
|
||||
/// Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.
|
||||
#[serde(rename="maxPendingLatency")]
|
||||
pub max_pending_latency: Option<String>,
|
||||
/// Maximum number of idle instances that should be maintained for this version.
|
||||
#[serde(rename="maxIdleInstances")]
|
||||
pub max_idle_instances: Option<i32>,
|
||||
/// Target scaling by disk usage.
|
||||
#[serde(rename="diskUtilization")]
|
||||
pub disk_utilization: Option<DiskUtilization>,
|
||||
/// Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.
|
||||
#[serde(rename="minIdleInstances")]
|
||||
pub min_idle_instances: Option<i32>,
|
||||
/// Target scaling by request utilization.
|
||||
#[serde(rename="requestUtilization")]
|
||||
pub request_utilization: Option<RequestUtilization>,
|
||||
@@ -1032,7 +1088,7 @@ pub struct FileInfo {
|
||||
/// The MIME type of the file.Defaults to the value from Google Cloud Storage.
|
||||
#[serde(rename="mimeType")]
|
||||
pub mime_type: Option<String>,
|
||||
/// 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//'.
|
||||
/// 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>'.
|
||||
#[serde(rename="sourceUrl")]
|
||||
pub source_url: Option<String>,
|
||||
/// The SHA1 hash of the file, in hex.
|
||||
@@ -1052,7 +1108,7 @@ pub struct ZipInfo {
|
||||
/// An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.
|
||||
#[serde(rename="filesCount")]
|
||||
pub files_count: Option<i32>,
|
||||
/// URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
|
||||
/// URL of the zip file to deploy from. Must be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.googleapis.com/<bucket>/<object>'.
|
||||
#[serde(rename="sourceUrl")]
|
||||
pub source_url: Option<String>,
|
||||
}
|
||||
@@ -1087,11 +1143,11 @@ impl Part for EndpointsApiService {}
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct ListOperationsResponse {
|
||||
/// A list of operations that matches the specified filter in the request.
|
||||
pub operations: Option<Vec<Operation>>,
|
||||
/// The standard List next-page token.
|
||||
#[serde(rename="nextPageToken")]
|
||||
pub next_page_token: Option<String>,
|
||||
/// A list of operations that matches the specified filter in the request.
|
||||
pub operations: Option<Vec<Operation>>,
|
||||
}
|
||||
|
||||
impl ResponseResult for ListOperationsResponse {}
|
||||
@@ -1128,8 +1184,8 @@ pub struct Instance {
|
||||
pub vm_ip: Option<String>,
|
||||
/// Average queries per second (QPS) over the last minute.@OutputOnly
|
||||
pub qps: Option<f32>,
|
||||
/// Availability of the instance.@OutputOnly
|
||||
pub availability: Option<String>,
|
||||
/// Relative name of the instance within the version. Example: instance-1.@OutputOnly
|
||||
pub id: Option<String>,
|
||||
/// Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly
|
||||
pub name: Option<String>,
|
||||
/// Number of errors since this instance was started.@OutputOnly
|
||||
@@ -1137,8 +1193,8 @@ pub struct Instance {
|
||||
/// Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly
|
||||
#[serde(rename="vmStatus")]
|
||||
pub vm_status: Option<String>,
|
||||
/// Relative name of the instance within the version. Example: instance-1.@OutputOnly
|
||||
pub id: Option<String>,
|
||||
/// Availability of the instance.@OutputOnly
|
||||
pub availability: Option<String>,
|
||||
/// Average latency (ms) over the last minute.@OutputOnly
|
||||
#[serde(rename="averageLatency")]
|
||||
pub average_latency: Option<i32>,
|
||||
@@ -1262,17 +1318,68 @@ pub struct RequestUtilization {
|
||||
impl Part for RequestUtilization {}
|
||||
|
||||
|
||||
/// Docker image that is used to start a VM container for the version you deploy.
|
||||
/// Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct ContainerInfo {
|
||||
/// URI to the hosted container image in a Docker repository. 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"
|
||||
pub image: Option<String>,
|
||||
pub struct ReadinessCheck {
|
||||
/// Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"
|
||||
pub host: Option<String>,
|
||||
/// Time before the check is considered failed.
|
||||
pub timeout: Option<String>,
|
||||
/// Interval between health checks.
|
||||
#[serde(rename="checkInterval")]
|
||||
pub check_interval: Option<String>,
|
||||
/// The request path.
|
||||
pub path: Option<String>,
|
||||
/// Number of consecutive successful checks required before receiving traffic.
|
||||
#[serde(rename="successThreshold")]
|
||||
pub success_threshold: Option<u32>,
|
||||
/// Number of consecutive failed checks required before removing traffic.
|
||||
#[serde(rename="failureThreshold")]
|
||||
pub failure_threshold: Option<u32>,
|
||||
}
|
||||
|
||||
impl Part for ContainerInfo {}
|
||||
impl Part for ReadinessCheck {}
|
||||
|
||||
|
||||
/// Response message for Services.ListServices.
|
||||
///
|
||||
/// # Activities
|
||||
///
|
||||
/// This type is used in activities, which are methods you may call on this type or where this type is involved in.
|
||||
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
|
||||
///
|
||||
/// * [services list apps](struct.AppServiceListCall.html) (response)
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct ListServicesResponse {
|
||||
/// The services belonging to the requested application.
|
||||
pub services: Option<Vec<Service>>,
|
||||
/// Continuation token for fetching the next page of results.
|
||||
#[serde(rename="nextPageToken")]
|
||||
pub next_page_token: Option<String>,
|
||||
}
|
||||
|
||||
impl ResponseResult for ListServicesResponse {}
|
||||
|
||||
|
||||
/// Rules to match an HTTP request and dispatch that request to a service.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct UrlDispatchRule {
|
||||
/// Pathname within the host. Must start with a "/". A single "*" can be included at the end of the path.The sum of the lengths of the domain and path may not exceed 100 characters.
|
||||
pub path: Option<String>,
|
||||
/// Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to matching all domains: "*".
|
||||
pub domain: Option<String>,
|
||||
/// Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.
|
||||
pub service: Option<String>,
|
||||
}
|
||||
|
||||
impl Part for UrlDispatchRule {}
|
||||
|
||||
|
||||
/// This resource represents a long-running operation that is the result of a network API call.
|
||||
@@ -1296,16 +1403,16 @@ impl Part for ContainerInfo {}
|
||||
///
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Operation {
|
||||
/// Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
||||
pub metadata: Option<HashMap<String, String>>,
|
||||
/// The error result of the operation in case of failure or cancellation.
|
||||
pub error: Option<Status>,
|
||||
/// If the value is false, it means the operation is still in progress. If true, the operation is completed, and either error or response is available.
|
||||
pub done: Option<bool>,
|
||||
/// The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
|
||||
pub response: Option<HashMap<String, String>>,
|
||||
/// The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should have the format of operations/some/unique/name.
|
||||
pub name: Option<String>,
|
||||
/// The error result of the operation in case of failure or cancellation.
|
||||
pub error: Option<Status>,
|
||||
/// Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
|
||||
pub metadata: Option<HashMap<String, String>>,
|
||||
}
|
||||
|
||||
impl ResponseResult for Operation {}
|
||||
@@ -1356,7 +1463,7 @@ impl<'a, C, A> AppMethods<'a, C, A> {
|
||||
|
||||
/// Create a builder to help you perform the following task:
|
||||
///
|
||||
/// Lists the instances of a version.
|
||||
/// 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).
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
@@ -1463,7 +1570,9 @@ impl<'a, C, A> AppMethods<'a, C, A> {
|
||||
|
||||
/// Create a builder to help you perform the following task:
|
||||
///
|
||||
/// Updates the specified Application resource. You can update the following fields: auth_domain (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.auth_domain) default_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.default_cookie_expiration)
|
||||
/// 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.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
@@ -1506,7 +1615,11 @@ impl<'a, C, A> AppMethods<'a, C, A> {
|
||||
|
||||
/// Create a builder to help you perform the following task:
|
||||
///
|
||||
/// 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: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine 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): For Version resources that use automatic scaling and run in the App Engine standard environment. automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.
|
||||
/// 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:
|
||||
/// serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.
|
||||
/// instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine 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): For Version resources that use automatic scaling and run in the App Engine standard environment.
|
||||
/// automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
@@ -1752,7 +1865,9 @@ impl<'a, C, A> AppMethods<'a, C, A> {
|
||||
|
||||
/// Create a builder to help you perform the following task:
|
||||
///
|
||||
/// Creates an App Engine application for a Google Cloud Platform project. This requires a project that excludes an App Engine application. For details about creating a project without an application, see the Google Cloud Resource Manager create project topic (https://cloud.google.com/resource-manager/docs/creating-project).
|
||||
/// 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/python/console/).
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
@@ -1798,7 +1913,7 @@ impl<'a, C, A> AppMethods<'a, C, A> {
|
||||
// CallBuilders ###
|
||||
// #################
|
||||
|
||||
/// Lists the instances of a version.
|
||||
/// 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).
|
||||
///
|
||||
/// A builder for the *services.versions.instances.list* method supported by a *app* resource.
|
||||
/// It is not used directly, but through a `AppMethods` instance.
|
||||
@@ -2049,10 +2164,10 @@ impl<'a, C, A> AppServiceVersionInstanceListCall<'a, C, A> where C: BorrowMut<hy
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -2333,10 +2448,10 @@ impl<'a, C, A> AppServiceVersionCreateCall<'a, C, A> where C: BorrowMut<hyper::C
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -2605,10 +2720,10 @@ impl<'a, C, A> AppRepairCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -2913,10 +3028,10 @@ impl<'a, C, A> AppServiceVersionInstanceDebugCall<'a, C, A> where C: BorrowMut<h
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -3166,10 +3281,10 @@ impl<'a, C, A> AppServiceGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -3204,7 +3319,9 @@ impl<'a, C, A> AppServiceGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
|
||||
}
|
||||
|
||||
|
||||
/// Updates the specified Application resource. You can update the following fields: auth_domain (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.auth_domain) default_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.default_cookie_expiration)
|
||||
/// 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.
|
||||
///
|
||||
/// A builder for the *patch* method supported by a *app* resource.
|
||||
/// It is not used directly, but through a `AppMethods` instance.
|
||||
@@ -3450,10 +3567,10 @@ impl<'a, C, A> AppPatchCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oaut
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -3727,10 +3844,10 @@ impl<'a, C, A> AppServiceVersionInstanceDeleteCall<'a, C, A> where C: BorrowMut<
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -3765,7 +3882,11 @@ impl<'a, C, A> AppServiceVersionInstanceDeleteCall<'a, C, A> where C: BorrowMut<
|
||||
}
|
||||
|
||||
|
||||
/// 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: serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine 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): For Version resources that use automatic scaling and run in the App Engine standard environment. automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.
|
||||
/// 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:
|
||||
/// serving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.
|
||||
/// instance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine 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): For Version resources that use automatic scaling and run in the App Engine standard environment.
|
||||
/// automatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.
|
||||
///
|
||||
/// A builder for the *services.versions.patch* method supported by a *app* resource.
|
||||
/// It is not used directly, but through a `AppMethods` instance.
|
||||
@@ -4035,10 +4156,10 @@ impl<'a, C, A> AppServiceVersionPatchCall<'a, C, A> where C: BorrowMut<hyper::Cl
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -4324,10 +4445,10 @@ impl<'a, C, A> AppServiceVersionListCall<'a, C, A> where C: BorrowMut<hyper::Cli
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -4577,10 +4698,10 @@ impl<'a, C, A> AppOperationGetCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -4842,10 +4963,10 @@ impl<'a, C, A> AppServiceListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -5119,10 +5240,10 @@ impl<'a, C, A> AppLocationListCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -5396,10 +5517,10 @@ impl<'a, C, A> AppServiceVersionInstanceGetCall<'a, C, A> where C: BorrowMut<hyp
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -5673,10 +5794,10 @@ impl<'a, C, A> AppOperationListCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -5938,10 +6059,10 @@ impl<'a, C, A> AppServiceVersionDeleteCall<'a, C, A> where C: BorrowMut<hyper::C
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -6191,10 +6312,10 @@ impl<'a, C, A> AppLocationGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -6472,7 +6593,7 @@ impl<'a, C, A> AppServicePatchCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
self._update_mask = Some(new_value.to_string());
|
||||
self
|
||||
}
|
||||
/// Set to true to gradually shift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
|
||||
/// Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions must be located within instances that are configured for both warmup requests (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby) field in the Service resource. Gradual traffic migration is not supported in the App Engine flexible environment. For examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
|
||||
///
|
||||
/// Sets the *migrate traffic* query property to the given value.
|
||||
pub fn migrate_traffic(mut self, new_value: bool) -> AppServicePatchCall<'a, C, A> {
|
||||
@@ -6499,10 +6620,10 @@ impl<'a, C, A> AppServicePatchCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -6740,10 +6861,10 @@ impl<'a, C, A> AppGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oauth2
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -6993,10 +7114,10 @@ impl<'a, C, A> AppServiceDeleteCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -7031,7 +7152,9 @@ impl<'a, C, A> AppServiceDeleteCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
}
|
||||
|
||||
|
||||
/// Creates an App Engine application for a Google Cloud Platform project. This requires a project that excludes an App Engine application. For details about creating a project without an application, see the Google Cloud Resource Manager create project topic (https://cloud.google.com/resource-manager/docs/creating-project).
|
||||
/// 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/python/console/).
|
||||
///
|
||||
/// A builder for the *create* method supported by a *app* resource.
|
||||
/// It is not used directly, but through a `AppMethods` instance.
|
||||
@@ -7232,10 +7355,10 @@ impl<'a, C, A> AppCreateCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
@@ -7509,10 +7632,10 @@ impl<'a, C, A> AppServiceVersionGetCall<'a, C, A> where C: BorrowMut<hyper::Clie
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *pp* (query-boolean) - Pretty-print response.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
/// * *bearer_token* (query-string) - OAuth bearer token.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
|
||||
Reference in New Issue
Block a user