mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
regen all APIs
This commit is contained in:
@@ -23,7 +23,7 @@ use crate::{client, client::GetToken, client::serde_with};
|
||||
/// Identifies the an OAuth2 authorization scope.
|
||||
/// A scope is needed when requesting an
|
||||
/// [authorization token](https://developers.google.com/youtube/v3/guides/authentication).
|
||||
#[derive(PartialEq, Eq, Hash)]
|
||||
#[derive(PartialEq, Eq, Ord, PartialOrd, Hash, Debug, Clone, Copy)]
|
||||
pub enum Scope {
|
||||
/// View and manage your applications deployed on Google App Engine
|
||||
Admin,
|
||||
@@ -230,7 +230,6 @@ impl client::Part for ApiEndpointHandler {}
|
||||
/// * [create apps](AppCreateCall) (request)
|
||||
/// * [get apps](AppGetCall) (response)
|
||||
/// * [patch apps](AppPatchCall) (request)
|
||||
/// * [locations applications get projects](ProjectLocationApplicationGetCall) (response)
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Application {
|
||||
@@ -238,7 +237,7 @@ pub struct Application {
|
||||
#[serde(rename="authDomain")]
|
||||
|
||||
pub auth_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
|
||||
/// Output only. 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>,
|
||||
@@ -246,7 +245,7 @@ pub struct Application {
|
||||
#[serde(rename="databaseType")]
|
||||
|
||||
pub database_type: Option<String>,
|
||||
/// Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly
|
||||
/// Output only. Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly
|
||||
#[serde(rename="defaultBucket")]
|
||||
|
||||
pub default_bucket: Option<String>,
|
||||
@@ -255,7 +254,7 @@ pub struct Application {
|
||||
|
||||
#[serde_as(as = "Option<::client::serde::duration::Wrapper>")]
|
||||
pub default_cookie_expiration: Option<client::chrono::Duration>,
|
||||
/// Hostname used to reach this application, as resolved by App Engine.@OutputOnly
|
||||
/// Output only. Hostname used to reach this application, as resolved by App Engine.@OutputOnly
|
||||
#[serde(rename="defaultHostname")]
|
||||
|
||||
pub default_hostname: Option<String>,
|
||||
@@ -267,10 +266,14 @@ pub struct Application {
|
||||
#[serde(rename="featureSettings")]
|
||||
|
||||
pub feature_settings: Option<FeatureSettings>,
|
||||
/// The Google Container Registry domain used for storing managed build docker images for this application.
|
||||
/// Output only. The Google Container Registry domain used for storing managed build docker images for this application.
|
||||
#[serde(rename="gcrDomain")]
|
||||
|
||||
pub gcr_domain: Option<String>,
|
||||
/// Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetApplicationRequest
|
||||
#[serde(rename="generatedCustomerMetadata")]
|
||||
|
||||
pub generated_customer_metadata: Option<HashMap<String, json::Value>>,
|
||||
/// no description provided
|
||||
|
||||
pub iap: Option<IdentityAwareProxy>,
|
||||
@@ -281,7 +284,7 @@ pub struct Application {
|
||||
#[serde(rename="locationId")]
|
||||
|
||||
pub location_id: Option<String>,
|
||||
/// Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly
|
||||
/// Output only. Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly
|
||||
|
||||
pub name: Option<String>,
|
||||
/// The service account associated with the application. This is the app-level default identity. If no identity provided during create version, Admin API will fallback to this one.
|
||||
@@ -351,7 +354,7 @@ impl client::RequestValue for AuthorizedCertificate {}
|
||||
impl client::ResponseResult for AuthorizedCertificate {}
|
||||
|
||||
|
||||
/// 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).
|
||||
/// 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).
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
@@ -574,6 +577,27 @@ pub struct CpuUtilization {
|
||||
impl client::Part for CpuUtilization {}
|
||||
|
||||
|
||||
/// 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
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Date {
|
||||
/// Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
|
||||
|
||||
pub day: Option<i32>,
|
||||
/// Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
|
||||
|
||||
pub month: Option<i32>,
|
||||
/// Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
|
||||
|
||||
pub year: Option<i32>,
|
||||
}
|
||||
|
||||
impl client::Part for Date {}
|
||||
|
||||
|
||||
/// Request message for Instances.DebugInstance.
|
||||
///
|
||||
/// # Activities
|
||||
@@ -838,6 +862,26 @@ impl client::RequestValue for FirewallRule {}
|
||||
impl client::ResponseResult for FirewallRule {}
|
||||
|
||||
|
||||
/// Runtime settings for the App Engine flexible environment.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct FlexibleRuntimeSettings {
|
||||
/// The operating system of the application runtime.
|
||||
#[serde(rename="operatingSystem")]
|
||||
|
||||
pub operating_system: Option<String>,
|
||||
/// The runtime version of an App Engine flexible application.
|
||||
#[serde(rename="runtimeVersion")]
|
||||
|
||||
pub runtime_version: Option<String>,
|
||||
}
|
||||
|
||||
impl client::Part for FlexibleRuntimeSettings {}
|
||||
|
||||
|
||||
/// Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
@@ -896,7 +940,7 @@ pub struct IdentityAwareProxy {
|
||||
#[serde(rename="oauth2ClientSecret")]
|
||||
|
||||
pub oauth2_client_secret: Option<String>,
|
||||
/// Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
||||
/// Output only. Hex-encoded SHA-256 hash of the client secret.@OutputOnly
|
||||
#[serde(rename="oauth2ClientSecretSha256")]
|
||||
|
||||
pub oauth2_client_secret_sha256: Option<String>,
|
||||
@@ -1033,6 +1077,7 @@ impl client::ResponseResult for ListAuthorizedCertificatesResponse {}
|
||||
/// The list links the activity name, along with information about where it is used (one of *request* and *response*).
|
||||
///
|
||||
/// * [authorized domains list apps](AppAuthorizedDomainListCall) (response)
|
||||
/// * [locations applications authorized domains list projects](ProjectLocationApplicationAuthorizedDomainListCall) (response)
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct ListAuthorizedDomainsResponse {
|
||||
@@ -1165,6 +1210,29 @@ pub struct ListOperationsResponse {
|
||||
impl client::ResponseResult for ListOperationsResponse {}
|
||||
|
||||
|
||||
/// Response message for Applications.ListRuntimes.
|
||||
///
|
||||
/// # 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*).
|
||||
///
|
||||
/// * [list runtimes apps](AppListRuntimeCall) (response)
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct ListRuntimesResponse {
|
||||
/// Continuation token for fetching the next page of results.
|
||||
#[serde(rename="nextPageToken")]
|
||||
|
||||
pub next_page_token: Option<String>,
|
||||
/// The runtimes available to the requested application.
|
||||
|
||||
pub runtimes: Option<Vec<Runtime>>,
|
||||
}
|
||||
|
||||
impl client::ResponseResult for ListRuntimesResponse {}
|
||||
|
||||
|
||||
/// Response message for Services.ListServices.
|
||||
///
|
||||
/// # Activities
|
||||
@@ -1251,7 +1319,7 @@ pub struct LivenessCheck {
|
||||
impl client::Part for LivenessCheck {}
|
||||
|
||||
|
||||
/// A resource that represents Google Cloud Platform location.
|
||||
/// A resource that represents a Google Cloud location.
|
||||
///
|
||||
/// # Activities
|
||||
///
|
||||
@@ -1433,7 +1501,7 @@ pub struct Operation {
|
||||
/// 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 be a resource name ending with operations/{unique_id}.
|
||||
|
||||
pub name: Option<String>,
|
||||
/// 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.
|
||||
/// The normal, successful response of the operation. 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, json::Value>>,
|
||||
}
|
||||
@@ -1568,6 +1636,50 @@ pub struct Resources {
|
||||
impl client::Part for Resources {}
|
||||
|
||||
|
||||
/// Runtime versions for App Engine.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Runtime {
|
||||
/// Date when Runtime is decommissioned.
|
||||
#[serde(rename="decommissionedDate")]
|
||||
|
||||
pub decommissioned_date: Option<Date>,
|
||||
/// Date when Runtime is deprecated.
|
||||
#[serde(rename="deprecationDate")]
|
||||
|
||||
pub deprecation_date: Option<Date>,
|
||||
/// User-friendly display name, e.g. 'Node.js 12', etc.
|
||||
#[serde(rename="displayName")]
|
||||
|
||||
pub display_name: Option<String>,
|
||||
/// Date when Runtime is end of support.
|
||||
#[serde(rename="endOfSupportDate")]
|
||||
|
||||
pub end_of_support_date: Option<Date>,
|
||||
/// The environment of the runtime.
|
||||
|
||||
pub environment: Option<String>,
|
||||
/// The name of the runtime, e.g., 'go113', 'nodejs12', etc.
|
||||
|
||||
pub name: Option<String>,
|
||||
/// The stage of life this runtime is in, e.g., BETA, GA, etc.
|
||||
|
||||
pub stage: Option<String>,
|
||||
/// Supported operating systems for the runtime, e.g., 'ubuntu22', etc.
|
||||
#[serde(rename="supportedOperatingSystems")]
|
||||
|
||||
pub supported_operating_systems: Option<Vec<String>>,
|
||||
/// Warning messages, e.g., a deprecation warning.
|
||||
|
||||
pub warnings: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
impl client::Part for Runtime {}
|
||||
|
||||
|
||||
/// Executes a script to handle the request that matches the URL pattern.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
@@ -1596,6 +1708,10 @@ impl client::Part for ScriptHandler {}
|
||||
#[serde_with::serde_as(crate = "::client::serde_with")]
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct Service {
|
||||
/// Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetServiceRequest
|
||||
#[serde(rename="generatedCustomerMetadata")]
|
||||
|
||||
pub generated_customer_metadata: Option<HashMap<String, json::Value>>,
|
||||
/// Relative name of the service within the application. Example: default.@OutputOnly
|
||||
|
||||
pub id: Option<String>,
|
||||
@@ -1888,10 +2004,18 @@ pub struct Version {
|
||||
#[serde(rename="errorHandlers")]
|
||||
|
||||
pub error_handlers: Option<Vec<ErrorHandler>>,
|
||||
/// Settings for App Engine flexible runtimes.
|
||||
#[serde(rename="flexibleRuntimeSettings")]
|
||||
|
||||
pub flexible_runtime_settings: Option<FlexibleRuntimeSettings>,
|
||||
/// Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested by setting the IncludeExtraData field in GetVersionRequest
|
||||
#[serde(rename="generatedCustomerMetadata")]
|
||||
|
||||
pub generated_customer_metadata: Option<HashMap<String, json::Value>>,
|
||||
/// 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 instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.Only returned in GET requests if view=FULL is set.
|
||||
/// Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. Only applicable in the App Engine flexible environment.
|
||||
#[serde(rename="healthCheck")]
|
||||
|
||||
pub health_check: Option<HealthCheck>,
|
||||
@@ -1909,7 +2033,7 @@ pub struct Version {
|
||||
/// Configuration for third-party Python runtime libraries that are required by the application.Only returned in GET requests if view=FULL is set.
|
||||
|
||||
pub libraries: Option<Vec<Library>>,
|
||||
/// Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instancesOnly returned in GET requests if view=FULL is set.
|
||||
/// Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new instances
|
||||
#[serde(rename="livenessCheck")]
|
||||
|
||||
pub liveness_check: Option<LivenessCheck>,
|
||||
@@ -1927,7 +2051,7 @@ pub struct Version {
|
||||
#[serde(rename="nobuildFilesRegex")]
|
||||
|
||||
pub nobuild_files_regex: Option<String>,
|
||||
/// Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set.
|
||||
/// Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic rotation.
|
||||
#[serde(rename="readinessCheck")]
|
||||
|
||||
pub readiness_check: Option<ReadinessCheck>,
|
||||
@@ -2014,7 +2138,7 @@ pub struct VpcAccessConnector {
|
||||
#[serde(rename="egressSetting")]
|
||||
|
||||
pub egress_setting: Option<String>,
|
||||
/// Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/us-central1/connectors/c1.
|
||||
/// Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1.
|
||||
|
||||
pub name: Option<String>,
|
||||
}
|
||||
@@ -2070,7 +2194,7 @@ impl client::Part for ZipInfo {}
|
||||
/// ).build().await.unwrap();
|
||||
/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
|
||||
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
|
||||
/// // like `authorized_certificates_create(...)`, `authorized_certificates_delete(...)`, `authorized_certificates_get(...)`, `authorized_certificates_list(...)`, `authorized_certificates_patch(...)`, `authorized_domains_list(...)`, `create(...)`, `domain_mappings_create(...)`, `domain_mappings_delete(...)`, `domain_mappings_get(...)`, `domain_mappings_list(...)`, `domain_mappings_patch(...)`, `firewall_ingress_rules_batch_update(...)`, `firewall_ingress_rules_create(...)`, `firewall_ingress_rules_delete(...)`, `firewall_ingress_rules_get(...)`, `firewall_ingress_rules_list(...)`, `firewall_ingress_rules_patch(...)`, `get(...)`, `locations_get(...)`, `locations_list(...)`, `operations_get(...)`, `operations_list(...)`, `patch(...)`, `repair(...)`, `services_delete(...)`, `services_get(...)`, `services_list(...)`, `services_patch(...)`, `services_versions_create(...)`, `services_versions_delete(...)`, `services_versions_get(...)`, `services_versions_instances_debug(...)`, `services_versions_instances_delete(...)`, `services_versions_instances_get(...)`, `services_versions_instances_list(...)`, `services_versions_list(...)` and `services_versions_patch(...)`
|
||||
/// // like `authorized_certificates_create(...)`, `authorized_certificates_delete(...)`, `authorized_certificates_get(...)`, `authorized_certificates_list(...)`, `authorized_certificates_patch(...)`, `authorized_domains_list(...)`, `create(...)`, `domain_mappings_create(...)`, `domain_mappings_delete(...)`, `domain_mappings_get(...)`, `domain_mappings_list(...)`, `domain_mappings_patch(...)`, `firewall_ingress_rules_batch_update(...)`, `firewall_ingress_rules_create(...)`, `firewall_ingress_rules_delete(...)`, `firewall_ingress_rules_get(...)`, `firewall_ingress_rules_list(...)`, `firewall_ingress_rules_patch(...)`, `get(...)`, `list_runtimes(...)`, `locations_get(...)`, `locations_list(...)`, `operations_get(...)`, `operations_list(...)`, `patch(...)`, `repair(...)`, `services_delete(...)`, `services_get(...)`, `services_list(...)`, `services_patch(...)`, `services_versions_create(...)`, `services_versions_delete(...)`, `services_versions_get(...)`, `services_versions_instances_debug(...)`, `services_versions_instances_delete(...)`, `services_versions_instances_get(...)`, `services_versions_instances_list(...)`, `services_versions_list(...)` and `services_versions_patch(...)`
|
||||
/// // to build up your call.
|
||||
/// let rb = hub.apps();
|
||||
/// # }
|
||||
@@ -2481,7 +2605,7 @@ impl<'a, S> AppMethods<'a, S> {
|
||||
|
||||
/// Create a builder to help you perform the following task:
|
||||
///
|
||||
/// Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
|
||||
/// Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
@@ -2811,6 +2935,25 @@ impl<'a, S> AppMethods<'a, S> {
|
||||
AppGetCall {
|
||||
hub: self.hub,
|
||||
_apps_id: apps_id.to_string(),
|
||||
_include_extra_data: Default::default(),
|
||||
_delegate: Default::default(),
|
||||
_additional_params: Default::default(),
|
||||
_scopes: Default::default(),
|
||||
}
|
||||
}
|
||||
|
||||
/// Create a builder to help you perform the following task:
|
||||
///
|
||||
/// Lists all the available runtimes for the application.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
/// * `appsId` - Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.
|
||||
pub fn list_runtimes(&self, apps_id: &str) -> AppListRuntimeCall<'a, S> {
|
||||
AppListRuntimeCall {
|
||||
hub: self.hub,
|
||||
_apps_id: apps_id.to_string(),
|
||||
_environment: Default::default(),
|
||||
_delegate: Default::default(),
|
||||
_additional_params: Default::default(),
|
||||
_scopes: Default::default(),
|
||||
@@ -2882,7 +3025,7 @@ impl<'a, S> AppMethods<'a, S> {
|
||||
/// ).build().await.unwrap();
|
||||
/// let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
|
||||
/// // Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
|
||||
/// // like `locations_applications_get(...)`
|
||||
/// // like `locations_applications_authorized_domains_list(...)`
|
||||
/// // to build up your call.
|
||||
/// let rb = hub.projects();
|
||||
/// # }
|
||||
@@ -2899,19 +3042,21 @@ impl<'a, S> ProjectMethods<'a, S> {
|
||||
|
||||
/// Create a builder to help you perform the following task:
|
||||
///
|
||||
/// Gets information about an application.
|
||||
/// Lists all domains the user is authorized to administer.
|
||||
///
|
||||
/// # Arguments
|
||||
///
|
||||
/// * `projectsId` - Part of `name`. Name of the Application resource to get. Example: apps/myapp.
|
||||
/// * `locationsId` - Part of `name`. See documentation of `projectsId`.
|
||||
/// * `applicationsId` - Part of `name`. See documentation of `projectsId`.
|
||||
pub fn locations_applications_get(&self, projects_id: &str, locations_id: &str, applications_id: &str) -> ProjectLocationApplicationGetCall<'a, S> {
|
||||
ProjectLocationApplicationGetCall {
|
||||
/// * `projectsId` - Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
/// * `locationsId` - Part of `parent`. See documentation of `projectsId`.
|
||||
/// * `applicationsId` - Part of `parent`. See documentation of `projectsId`.
|
||||
pub fn locations_applications_authorized_domains_list(&self, projects_id: &str, locations_id: &str, applications_id: &str) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {
|
||||
ProjectLocationApplicationAuthorizedDomainListCall {
|
||||
hub: self.hub,
|
||||
_projects_id: projects_id.to_string(),
|
||||
_locations_id: locations_id.to_string(),
|
||||
_applications_id: applications_id.to_string(),
|
||||
_page_token: Default::default(),
|
||||
_page_size: Default::default(),
|
||||
_delegate: Default::default(),
|
||||
_additional_params: Default::default(),
|
||||
_scopes: Default::default(),
|
||||
@@ -8725,7 +8870,7 @@ where
|
||||
}
|
||||
|
||||
|
||||
/// Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.
|
||||
/// Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.
|
||||
///
|
||||
/// A builder for the *operations.list* method supported by a *app* resource.
|
||||
/// It is not used directly, but through a [`AppMethods`] instance.
|
||||
@@ -13245,6 +13390,7 @@ where
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.apps().get("appsId")
|
||||
/// .include_extra_data("ipsum")
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
@@ -13253,6 +13399,7 @@ pub struct AppGetCall<'a, S>
|
||||
|
||||
hub: &'a Appengine<S>,
|
||||
_apps_id: String,
|
||||
_include_extra_data: Option<String>,
|
||||
_delegate: Option<&'a mut dyn client::Delegate>,
|
||||
_additional_params: HashMap<String, String>,
|
||||
_scopes: BTreeSet<String>
|
||||
@@ -13281,15 +13428,18 @@ where
|
||||
dlg.begin(client::MethodInfo { id: "appengine.apps.get",
|
||||
http_method: hyper::Method::GET });
|
||||
|
||||
for &field in ["alt", "appsId"].iter() {
|
||||
for &field in ["alt", "appsId", "includeExtraData"].iter() {
|
||||
if self._additional_params.contains_key(field) {
|
||||
dlg.finished(false);
|
||||
return Err(client::Error::FieldClash(field));
|
||||
}
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(3 + self._additional_params.len());
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("appsId", self._apps_id);
|
||||
if let Some(value) = self._include_extra_data.as_ref() {
|
||||
params.push("includeExtraData", value);
|
||||
}
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
@@ -13404,6 +13554,13 @@ where
|
||||
self._apps_id = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Options to include extra data
|
||||
///
|
||||
/// Sets the *include extra data* query property to the given value.
|
||||
pub fn include_extra_data(mut self, new_value: &str) -> AppGetCall<'a, S> {
|
||||
self._include_extra_data = Some(new_value.to_string());
|
||||
self
|
||||
}
|
||||
/// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong
|
||||
/// while executing the actual API request.
|
||||
///
|
||||
@@ -13480,6 +13637,280 @@ where
|
||||
}
|
||||
|
||||
|
||||
/// Lists all the available runtimes for the application.
|
||||
///
|
||||
/// A builder for the *listRuntimes* method supported by a *app* resource.
|
||||
/// It is not used directly, but through a [`AppMethods`] instance.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
/// Instantiate a resource method builder
|
||||
///
|
||||
/// ```test_harness,no_run
|
||||
/// # extern crate hyper;
|
||||
/// # extern crate hyper_rustls;
|
||||
/// # extern crate google_appengine1 as appengine1;
|
||||
/// # async fn dox() {
|
||||
/// # use std::default::Default;
|
||||
/// # use appengine1::{Appengine, oauth2, hyper, hyper_rustls, chrono, FieldMask};
|
||||
///
|
||||
/// # let secret: oauth2::ApplicationSecret = Default::default();
|
||||
/// # let auth = oauth2::InstalledFlowAuthenticator::builder(
|
||||
/// # secret,
|
||||
/// # oauth2::InstalledFlowReturnMethod::HTTPRedirect,
|
||||
/// # ).build().await.unwrap();
|
||||
/// # let mut hub = Appengine::new(hyper::Client::builder().build(hyper_rustls::HttpsConnectorBuilder::new().with_native_roots().https_or_http().enable_http1().build()), auth);
|
||||
/// // You can configure optional parameters by calling the respective setters at will, and
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.apps().list_runtimes("appsId")
|
||||
/// .environment("sanctus")
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
pub struct AppListRuntimeCall<'a, S>
|
||||
where S: 'a {
|
||||
|
||||
hub: &'a Appengine<S>,
|
||||
_apps_id: String,
|
||||
_environment: Option<String>,
|
||||
_delegate: Option<&'a mut dyn client::Delegate>,
|
||||
_additional_params: HashMap<String, String>,
|
||||
_scopes: BTreeSet<String>
|
||||
}
|
||||
|
||||
impl<'a, S> client::CallBuilder for AppListRuntimeCall<'a, S> {}
|
||||
|
||||
impl<'a, S> AppListRuntimeCall<'a, S>
|
||||
where
|
||||
S: tower_service::Service<http::Uri> + Clone + Send + Sync + 'static,
|
||||
S::Response: hyper::client::connect::Connection + AsyncRead + AsyncWrite + Send + Unpin + 'static,
|
||||
S::Future: Send + Unpin + 'static,
|
||||
S::Error: Into<Box<dyn StdError + Send + Sync>>,
|
||||
{
|
||||
|
||||
|
||||
/// Perform the operation you have build so far.
|
||||
pub async fn doit(mut self) -> client::Result<(hyper::Response<hyper::body::Body>, ListRuntimesResponse)> {
|
||||
use std::io::{Read, Seek};
|
||||
use hyper::header::{CONTENT_TYPE, CONTENT_LENGTH, AUTHORIZATION, USER_AGENT, LOCATION};
|
||||
use client::{ToParts, url::Params};
|
||||
use std::borrow::Cow;
|
||||
|
||||
let mut dd = client::DefaultDelegate;
|
||||
let mut dlg: &mut dyn client::Delegate = self._delegate.unwrap_or(&mut dd);
|
||||
dlg.begin(client::MethodInfo { id: "appengine.apps.listRuntimes",
|
||||
http_method: hyper::Method::GET });
|
||||
|
||||
for &field in ["alt", "appsId", "environment"].iter() {
|
||||
if self._additional_params.contains_key(field) {
|
||||
dlg.finished(false);
|
||||
return Err(client::Error::FieldClash(field));
|
||||
}
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(4 + self._additional_params.len());
|
||||
params.push("appsId", self._apps_id);
|
||||
if let Some(value) = self._environment.as_ref() {
|
||||
params.push("environment", value);
|
||||
}
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
params.push("alt", "json");
|
||||
let mut url = self.hub._base_url.clone() + "v1/apps/{appsId}:listRuntimes";
|
||||
if self._scopes.is_empty() {
|
||||
self._scopes.insert(Scope::Admin.as_ref().to_string());
|
||||
}
|
||||
|
||||
for &(find_this, param_name) in [("{appsId}", "appsId")].iter() {
|
||||
url = params.uri_replacement(url, param_name, find_this, false);
|
||||
}
|
||||
{
|
||||
let to_remove = ["appsId"];
|
||||
params.remove_params(&to_remove);
|
||||
}
|
||||
|
||||
let url = params.parse_with_url(&url);
|
||||
|
||||
|
||||
|
||||
loop {
|
||||
let token = match self.hub.auth.get_token(&self._scopes.iter().map(String::as_str).collect::<Vec<_>>()[..]).await {
|
||||
Ok(token) => token,
|
||||
Err(e) => {
|
||||
match dlg.token(e) {
|
||||
Ok(token) => token,
|
||||
Err(e) => {
|
||||
dlg.finished(false);
|
||||
return Err(client::Error::MissingToken(e));
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
let mut req_result = {
|
||||
let client = &self.hub.client;
|
||||
dlg.pre_request();
|
||||
let mut req_builder = hyper::Request::builder()
|
||||
.method(hyper::Method::GET)
|
||||
.uri(url.as_str())
|
||||
.header(USER_AGENT, self.hub._user_agent.clone());
|
||||
|
||||
if let Some(token) = token.as_ref() {
|
||||
req_builder = req_builder.header(AUTHORIZATION, format!("Bearer {}", token));
|
||||
}
|
||||
|
||||
|
||||
let request = req_builder
|
||||
.body(hyper::body::Body::empty());
|
||||
|
||||
client.request(request.unwrap()).await
|
||||
|
||||
};
|
||||
|
||||
match req_result {
|
||||
Err(err) => {
|
||||
if let client::Retry::After(d) = dlg.http_error(&err) {
|
||||
sleep(d).await;
|
||||
continue;
|
||||
}
|
||||
dlg.finished(false);
|
||||
return Err(client::Error::HttpError(err))
|
||||
}
|
||||
Ok(mut res) => {
|
||||
if !res.status().is_success() {
|
||||
let res_body_string = client::get_body_as_string(res.body_mut()).await;
|
||||
let (parts, _) = res.into_parts();
|
||||
let body = hyper::Body::from(res_body_string.clone());
|
||||
let restored_response = hyper::Response::from_parts(parts, body);
|
||||
|
||||
let server_response = json::from_str::<serde_json::Value>(&res_body_string).ok();
|
||||
|
||||
if let client::Retry::After(d) = dlg.http_failure(&restored_response, server_response.clone()) {
|
||||
sleep(d).await;
|
||||
continue;
|
||||
}
|
||||
|
||||
dlg.finished(false);
|
||||
|
||||
return match server_response {
|
||||
Some(error_value) => Err(client::Error::BadRequest(error_value)),
|
||||
None => Err(client::Error::Failure(restored_response)),
|
||||
}
|
||||
}
|
||||
let result_value = {
|
||||
let res_body_string = client::get_body_as_string(res.body_mut()).await;
|
||||
|
||||
match json::from_str(&res_body_string) {
|
||||
Ok(decoded) => (res, decoded),
|
||||
Err(err) => {
|
||||
dlg.response_json_decode_error(&res_body_string, &err);
|
||||
return Err(client::Error::JsonDecodeError(res_body_string, err));
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
dlg.finished(true);
|
||||
return Ok(result_value)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp.
|
||||
///
|
||||
/// Sets the *apps id* path property to the given value.
|
||||
///
|
||||
/// Even though the property as already been set when instantiating this call,
|
||||
/// we provide this method for API completeness.
|
||||
pub fn apps_id(mut self, new_value: &str) -> AppListRuntimeCall<'a, S> {
|
||||
self._apps_id = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Optional. The environment of the Application.
|
||||
///
|
||||
/// Sets the *environment* query property to the given value.
|
||||
pub fn environment(mut self, new_value: &str) -> AppListRuntimeCall<'a, S> {
|
||||
self._environment = Some(new_value.to_string());
|
||||
self
|
||||
}
|
||||
/// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong
|
||||
/// while executing the actual API request.
|
||||
///
|
||||
/// ````text
|
||||
/// It should be used to handle progress information, and to implement a certain level of resilience.
|
||||
/// ````
|
||||
///
|
||||
/// Sets the *delegate* property to the given value.
|
||||
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> AppListRuntimeCall<'a, S> {
|
||||
self._delegate = Some(new_value);
|
||||
self
|
||||
}
|
||||
|
||||
/// Set any additional parameter of the query string used in the request.
|
||||
/// It should be used to set parameters which are not yet available through their own
|
||||
/// setters.
|
||||
///
|
||||
/// Please note that this method must not be used to set any of the known parameters
|
||||
/// which have their own setter method. If done anyway, the request will fail.
|
||||
///
|
||||
/// # Additional Parameters
|
||||
///
|
||||
/// * *$.xgafv* (query-string) - V1 error format.
|
||||
/// * *access_token* (query-string) - OAuth access token.
|
||||
/// * *alt* (query-string) - Data format for response.
|
||||
/// * *callback* (query-string) - JSONP
|
||||
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
|
||||
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
|
||||
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
|
||||
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
|
||||
/// * *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.
|
||||
/// * *uploadType* (query-string) - Legacy upload protocol for media (e.g. "media", "multipart").
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
pub fn param<T>(mut self, name: T, value: T) -> AppListRuntimeCall<'a, S>
|
||||
where T: AsRef<str> {
|
||||
self._additional_params.insert(name.as_ref().to_string(), value.as_ref().to_string());
|
||||
self
|
||||
}
|
||||
|
||||
/// Identifies the authorization scope for the method you are building.
|
||||
///
|
||||
/// Use this method to actively specify which scope should be used, instead of the default [`Scope`] variant
|
||||
/// [`Scope::Admin`].
|
||||
///
|
||||
/// The `scope` will be added to a set of scopes. This is important as one can maintain access
|
||||
/// tokens for more than one scope.
|
||||
///
|
||||
/// Usually there is more than one suitable scope to authorize an operation, some of which may
|
||||
/// encompass more rights than others. For example, for listing resources, a *read-only* scope will be
|
||||
/// sufficient, a read-write scope will do as well.
|
||||
pub fn add_scope<St>(mut self, scope: St) -> AppListRuntimeCall<'a, S>
|
||||
where St: AsRef<str> {
|
||||
self._scopes.insert(String::from(scope.as_ref()));
|
||||
self
|
||||
}
|
||||
/// Identifies the authorization scope(s) for the method you are building.
|
||||
///
|
||||
/// See [`Self::add_scope()`] for details.
|
||||
pub fn add_scopes<I, St>(mut self, scopes: I) -> AppListRuntimeCall<'a, S>
|
||||
where I: IntoIterator<Item = St>,
|
||||
St: AsRef<str> {
|
||||
self._scopes
|
||||
.extend(scopes.into_iter().map(|s| String::from(s.as_ref())));
|
||||
self
|
||||
}
|
||||
|
||||
/// Removes all scopes, and no default scope will be used either.
|
||||
/// In this case, you have to specify your API-key using the `key` parameter (see [`Self::param()`]
|
||||
/// for details).
|
||||
pub fn clear_scopes(mut self) -> AppListRuntimeCall<'a, S> {
|
||||
self._scopes.clear();
|
||||
self
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// 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.
|
||||
///
|
||||
/// A builder for the *patch* method supported by a *app* resource.
|
||||
@@ -14076,9 +14507,9 @@ where
|
||||
}
|
||||
|
||||
|
||||
/// Gets information about an application.
|
||||
/// Lists all domains the user is authorized to administer.
|
||||
///
|
||||
/// A builder for the *locations.applications.get* method supported by a *project* resource.
|
||||
/// A builder for the *locations.applications.authorizedDomains.list* method supported by a *project* resource.
|
||||
/// It is not used directly, but through a [`ProjectMethods`] instance.
|
||||
///
|
||||
/// # Example
|
||||
@@ -14102,25 +14533,29 @@ where
|
||||
/// // You can configure optional parameters by calling the respective setters at will, and
|
||||
/// // execute the final call using `doit()`.
|
||||
/// // Values shown here are possibly random and not representative !
|
||||
/// let result = hub.projects().locations_applications_get("projectsId", "locationsId", "applicationsId")
|
||||
/// let result = hub.projects().locations_applications_authorized_domains_list("projectsId", "locationsId", "applicationsId")
|
||||
/// .page_token("dolores")
|
||||
/// .page_size(-68)
|
||||
/// .doit().await;
|
||||
/// # }
|
||||
/// ```
|
||||
pub struct ProjectLocationApplicationGetCall<'a, S>
|
||||
pub struct ProjectLocationApplicationAuthorizedDomainListCall<'a, S>
|
||||
where S: 'a {
|
||||
|
||||
hub: &'a Appengine<S>,
|
||||
_projects_id: String,
|
||||
_locations_id: String,
|
||||
_applications_id: String,
|
||||
_page_token: Option<String>,
|
||||
_page_size: Option<i32>,
|
||||
_delegate: Option<&'a mut dyn client::Delegate>,
|
||||
_additional_params: HashMap<String, String>,
|
||||
_scopes: BTreeSet<String>
|
||||
}
|
||||
|
||||
impl<'a, S> client::CallBuilder for ProjectLocationApplicationGetCall<'a, S> {}
|
||||
impl<'a, S> client::CallBuilder for ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {}
|
||||
|
||||
impl<'a, S> ProjectLocationApplicationGetCall<'a, S>
|
||||
impl<'a, S> ProjectLocationApplicationAuthorizedDomainListCall<'a, S>
|
||||
where
|
||||
S: tower_service::Service<http::Uri> + Clone + Send + Sync + 'static,
|
||||
S::Response: hyper::client::connect::Connection + AsyncRead + AsyncWrite + Send + Unpin + 'static,
|
||||
@@ -14130,7 +14565,7 @@ where
|
||||
|
||||
|
||||
/// Perform the operation you have build so far.
|
||||
pub async fn doit(mut self) -> client::Result<(hyper::Response<hyper::body::Body>, Application)> {
|
||||
pub async fn doit(mut self) -> client::Result<(hyper::Response<hyper::body::Body>, ListAuthorizedDomainsResponse)> {
|
||||
use std::io::{Read, Seek};
|
||||
use hyper::header::{CONTENT_TYPE, CONTENT_LENGTH, AUTHORIZATION, USER_AGENT, LOCATION};
|
||||
use client::{ToParts, url::Params};
|
||||
@@ -14138,25 +14573,31 @@ where
|
||||
|
||||
let mut dd = client::DefaultDelegate;
|
||||
let mut dlg: &mut dyn client::Delegate = self._delegate.unwrap_or(&mut dd);
|
||||
dlg.begin(client::MethodInfo { id: "appengine.projects.locations.applications.get",
|
||||
dlg.begin(client::MethodInfo { id: "appengine.projects.locations.applications.authorizedDomains.list",
|
||||
http_method: hyper::Method::GET });
|
||||
|
||||
for &field in ["alt", "projectsId", "locationsId", "applicationsId"].iter() {
|
||||
for &field in ["alt", "projectsId", "locationsId", "applicationsId", "pageToken", "pageSize"].iter() {
|
||||
if self._additional_params.contains_key(field) {
|
||||
dlg.finished(false);
|
||||
return Err(client::Error::FieldClash(field));
|
||||
}
|
||||
}
|
||||
|
||||
let mut params = Params::with_capacity(5 + self._additional_params.len());
|
||||
let mut params = Params::with_capacity(7 + self._additional_params.len());
|
||||
params.push("projectsId", self._projects_id);
|
||||
params.push("locationsId", self._locations_id);
|
||||
params.push("applicationsId", self._applications_id);
|
||||
if let Some(value) = self._page_token.as_ref() {
|
||||
params.push("pageToken", value);
|
||||
}
|
||||
if let Some(value) = self._page_size.as_ref() {
|
||||
params.push("pageSize", value.to_string());
|
||||
}
|
||||
|
||||
params.extend(self._additional_params.iter());
|
||||
|
||||
params.push("alt", "json");
|
||||
let mut url = self.hub._base_url.clone() + "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}";
|
||||
let mut url = self.hub._base_url.clone() + "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedDomains";
|
||||
if self._scopes.is_empty() {
|
||||
self._scopes.insert(Scope::Admin.as_ref().to_string());
|
||||
}
|
||||
@@ -14256,36 +14697,50 @@ where
|
||||
}
|
||||
|
||||
|
||||
/// Part of `name`. Name of the Application resource to get. Example: apps/myapp.
|
||||
/// Part of `parent`. Name of the parent Application resource. Example: apps/myapp.
|
||||
///
|
||||
/// Sets the *projects id* path property to the given value.
|
||||
///
|
||||
/// Even though the property as already been set when instantiating this call,
|
||||
/// we provide this method for API completeness.
|
||||
pub fn projects_id(mut self, new_value: &str) -> ProjectLocationApplicationGetCall<'a, S> {
|
||||
pub fn projects_id(mut self, new_value: &str) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {
|
||||
self._projects_id = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Part of `name`. See documentation of `projectsId`.
|
||||
/// Part of `parent`. See documentation of `projectsId`.
|
||||
///
|
||||
/// Sets the *locations id* path property to the given value.
|
||||
///
|
||||
/// Even though the property as already been set when instantiating this call,
|
||||
/// we provide this method for API completeness.
|
||||
pub fn locations_id(mut self, new_value: &str) -> ProjectLocationApplicationGetCall<'a, S> {
|
||||
pub fn locations_id(mut self, new_value: &str) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {
|
||||
self._locations_id = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Part of `name`. See documentation of `projectsId`.
|
||||
/// Part of `parent`. See documentation of `projectsId`.
|
||||
///
|
||||
/// Sets the *applications id* path property to the given value.
|
||||
///
|
||||
/// Even though the property as already been set when instantiating this call,
|
||||
/// we provide this method for API completeness.
|
||||
pub fn applications_id(mut self, new_value: &str) -> ProjectLocationApplicationGetCall<'a, S> {
|
||||
pub fn applications_id(mut self, new_value: &str) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {
|
||||
self._applications_id = new_value.to_string();
|
||||
self
|
||||
}
|
||||
/// Continuation token for fetching the next page of results.
|
||||
///
|
||||
/// Sets the *page token* query property to the given value.
|
||||
pub fn page_token(mut self, new_value: &str) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {
|
||||
self._page_token = Some(new_value.to_string());
|
||||
self
|
||||
}
|
||||
/// Maximum results to return per page.
|
||||
///
|
||||
/// Sets the *page size* query property to the given value.
|
||||
pub fn page_size(mut self, new_value: i32) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {
|
||||
self._page_size = Some(new_value);
|
||||
self
|
||||
}
|
||||
/// The delegate implementation is consulted whenever there is an intermediate result, or if something goes wrong
|
||||
/// while executing the actual API request.
|
||||
///
|
||||
@@ -14294,7 +14749,7 @@ where
|
||||
/// ````
|
||||
///
|
||||
/// Sets the *delegate* property to the given value.
|
||||
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> ProjectLocationApplicationGetCall<'a, S> {
|
||||
pub fn delegate(mut self, new_value: &'a mut dyn client::Delegate) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {
|
||||
self._delegate = Some(new_value);
|
||||
self
|
||||
}
|
||||
@@ -14319,7 +14774,7 @@ where
|
||||
/// * *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.
|
||||
/// * *uploadType* (query-string) - Legacy upload protocol for media (e.g. "media", "multipart").
|
||||
/// * *upload_protocol* (query-string) - Upload protocol for media (e.g. "raw", "multipart").
|
||||
pub fn param<T>(mut self, name: T, value: T) -> ProjectLocationApplicationGetCall<'a, S>
|
||||
pub fn param<T>(mut self, name: T, value: T) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S>
|
||||
where T: AsRef<str> {
|
||||
self._additional_params.insert(name.as_ref().to_string(), value.as_ref().to_string());
|
||||
self
|
||||
@@ -14336,7 +14791,7 @@ where
|
||||
/// Usually there is more than one suitable scope to authorize an operation, some of which may
|
||||
/// encompass more rights than others. For example, for listing resources, a *read-only* scope will be
|
||||
/// sufficient, a read-write scope will do as well.
|
||||
pub fn add_scope<St>(mut self, scope: St) -> ProjectLocationApplicationGetCall<'a, S>
|
||||
pub fn add_scope<St>(mut self, scope: St) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S>
|
||||
where St: AsRef<str> {
|
||||
self._scopes.insert(String::from(scope.as_ref()));
|
||||
self
|
||||
@@ -14344,7 +14799,7 @@ where
|
||||
/// Identifies the authorization scope(s) for the method you are building.
|
||||
///
|
||||
/// See [`Self::add_scope()`] for details.
|
||||
pub fn add_scopes<I, St>(mut self, scopes: I) -> ProjectLocationApplicationGetCall<'a, S>
|
||||
pub fn add_scopes<I, St>(mut self, scopes: I) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S>
|
||||
where I: IntoIterator<Item = St>,
|
||||
St: AsRef<str> {
|
||||
self._scopes
|
||||
@@ -14355,7 +14810,7 @@ where
|
||||
/// Removes all scopes, and no default scope will be used either.
|
||||
/// In this case, you have to specify your API-key using the `key` parameter (see [`Self::param()`]
|
||||
/// for details).
|
||||
pub fn clear_scopes(mut self) -> ProjectLocationApplicationGetCall<'a, S> {
|
||||
pub fn clear_scopes(mut self) -> ProjectLocationApplicationAuthorizedDomainListCall<'a, S> {
|
||||
self._scopes.clear();
|
||||
self
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/generator/templates/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *appengine* crate version *5.0.3+20230114*, where *20230114* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
|
||||
//! This documentation was generated from *appengine* crate version *5.0.3+20240226*, where *20240226* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v5.0.3*.
|
||||
//!
|
||||
//! Everything else about the *appengine* *v1* API can be found at the
|
||||
//! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/).
|
||||
@@ -12,9 +12,9 @@
|
||||
//! Handle the following *Resources* with ease from the central [hub](Appengine) ...
|
||||
//!
|
||||
//! * apps
|
||||
//! * [*authorized certificates create*](api::AppAuthorizedCertificateCreateCall), [*authorized certificates delete*](api::AppAuthorizedCertificateDeleteCall), [*authorized certificates get*](api::AppAuthorizedCertificateGetCall), [*authorized certificates list*](api::AppAuthorizedCertificateListCall), [*authorized certificates patch*](api::AppAuthorizedCertificatePatchCall), [*authorized domains list*](api::AppAuthorizedDomainListCall), [*create*](api::AppCreateCall), [*domain mappings create*](api::AppDomainMappingCreateCall), [*domain mappings delete*](api::AppDomainMappingDeleteCall), [*domain mappings get*](api::AppDomainMappingGetCall), [*domain mappings list*](api::AppDomainMappingListCall), [*domain mappings patch*](api::AppDomainMappingPatchCall), [*firewall ingress rules batch update*](api::AppFirewallIngressRuleBatchUpdateCall), [*firewall ingress rules create*](api::AppFirewallIngressRuleCreateCall), [*firewall ingress rules delete*](api::AppFirewallIngressRuleDeleteCall), [*firewall ingress rules get*](api::AppFirewallIngressRuleGetCall), [*firewall ingress rules list*](api::AppFirewallIngressRuleListCall), [*firewall ingress rules patch*](api::AppFirewallIngressRulePatchCall), [*get*](api::AppGetCall), [*locations get*](api::AppLocationGetCall), [*locations list*](api::AppLocationListCall), [*operations get*](api::AppOperationGetCall), [*operations list*](api::AppOperationListCall), [*patch*](api::AppPatchCall), [*repair*](api::AppRepairCall), [*services delete*](api::AppServiceDeleteCall), [*services get*](api::AppServiceGetCall), [*services list*](api::AppServiceListCall), [*services patch*](api::AppServicePatchCall), [*services versions create*](api::AppServiceVersionCreateCall), [*services versions delete*](api::AppServiceVersionDeleteCall), [*services versions get*](api::AppServiceVersionGetCall), [*services versions instances debug*](api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](api::AppServiceVersionInstanceGetCall), [*services versions instances list*](api::AppServiceVersionInstanceListCall), [*services versions list*](api::AppServiceVersionListCall) and [*services versions patch*](api::AppServiceVersionPatchCall)
|
||||
//! * [*authorized certificates create*](api::AppAuthorizedCertificateCreateCall), [*authorized certificates delete*](api::AppAuthorizedCertificateDeleteCall), [*authorized certificates get*](api::AppAuthorizedCertificateGetCall), [*authorized certificates list*](api::AppAuthorizedCertificateListCall), [*authorized certificates patch*](api::AppAuthorizedCertificatePatchCall), [*authorized domains list*](api::AppAuthorizedDomainListCall), [*create*](api::AppCreateCall), [*domain mappings create*](api::AppDomainMappingCreateCall), [*domain mappings delete*](api::AppDomainMappingDeleteCall), [*domain mappings get*](api::AppDomainMappingGetCall), [*domain mappings list*](api::AppDomainMappingListCall), [*domain mappings patch*](api::AppDomainMappingPatchCall), [*firewall ingress rules batch update*](api::AppFirewallIngressRuleBatchUpdateCall), [*firewall ingress rules create*](api::AppFirewallIngressRuleCreateCall), [*firewall ingress rules delete*](api::AppFirewallIngressRuleDeleteCall), [*firewall ingress rules get*](api::AppFirewallIngressRuleGetCall), [*firewall ingress rules list*](api::AppFirewallIngressRuleListCall), [*firewall ingress rules patch*](api::AppFirewallIngressRulePatchCall), [*get*](api::AppGetCall), [*list runtimes*](api::AppListRuntimeCall), [*locations get*](api::AppLocationGetCall), [*locations list*](api::AppLocationListCall), [*operations get*](api::AppOperationGetCall), [*operations list*](api::AppOperationListCall), [*patch*](api::AppPatchCall), [*repair*](api::AppRepairCall), [*services delete*](api::AppServiceDeleteCall), [*services get*](api::AppServiceGetCall), [*services list*](api::AppServiceListCall), [*services patch*](api::AppServicePatchCall), [*services versions create*](api::AppServiceVersionCreateCall), [*services versions delete*](api::AppServiceVersionDeleteCall), [*services versions get*](api::AppServiceVersionGetCall), [*services versions instances debug*](api::AppServiceVersionInstanceDebugCall), [*services versions instances delete*](api::AppServiceVersionInstanceDeleteCall), [*services versions instances get*](api::AppServiceVersionInstanceGetCall), [*services versions instances list*](api::AppServiceVersionInstanceListCall), [*services versions list*](api::AppServiceVersionListCall) and [*services versions patch*](api::AppServiceVersionPatchCall)
|
||||
//! * projects
|
||||
//! * [*locations applications get*](api::ProjectLocationApplicationGetCall)
|
||||
//! * [*locations applications authorized domains list*](api::ProjectLocationApplicationAuthorizedDomainListCall)
|
||||
//!
|
||||
//!
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user