// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Generated code. DO NOT EDIT! namespace Google.Apis.Appengine.v1 { /// The Appengine Service. public class AppengineService : Google.Apis.Services.BaseClientService { /// The API version. public const string Version = "v1"; /// The discovery version used to generate this service. public static Google.Apis.Discovery.DiscoveryVersion DiscoveryVersionUsed = Google.Apis.Discovery.DiscoveryVersion.Version_1_0; /// Constructs a new service. public AppengineService() : this(new Google.Apis.Services.BaseClientService.Initializer()) { } /// Constructs a new service. /// The service initializer. public AppengineService(Google.Apis.Services.BaseClientService.Initializer initializer) : base(initializer) { Apps = new AppsResource(this); Projects = new ProjectsResource(this); BaseUri = GetEffectiveUri(BaseUriOverride, "https://appengine.googleapis.com/"); BatchUri = GetEffectiveUri(null, "https://appengine.googleapis.com/batch"); } /// Gets the service supported features. public override System.Collections.Generic.IList Features => new string[0]; /// Gets the service name. public override string Name => "appengine"; /// Gets the service base URI. public override string BaseUri { get; } /// Gets the service base path. public override string BasePath => ""; /// Gets the batch base URI; null if unspecified. public override string BatchUri { get; } /// Gets the batch base path; null if unspecified. public override string BatchPath => "batch"; /// Available OAuth 2.0 scopes for use with the App Engine Admin API. public class Scope { /// View and manage your applications deployed on Google App Engine public static string AppengineAdmin = "https://www.googleapis.com/auth/appengine.admin"; /// /// See, edit, configure, and delete your Google Cloud data and see the email address for your Google /// Account. /// public static string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; /// /// View your data across Google Cloud services and see the email address of your Google Account /// public static string CloudPlatformReadOnly = "https://www.googleapis.com/auth/cloud-platform.read-only"; } /// Available OAuth 2.0 scope constants for use with the App Engine Admin API. public static class ScopeConstants { /// View and manage your applications deployed on Google App Engine public const string AppengineAdmin = "https://www.googleapis.com/auth/appengine.admin"; /// /// See, edit, configure, and delete your Google Cloud data and see the email address for your Google /// Account. /// public const string CloudPlatform = "https://www.googleapis.com/auth/cloud-platform"; /// /// View your data across Google Cloud services and see the email address of your Google Account /// public const string CloudPlatformReadOnly = "https://www.googleapis.com/auth/cloud-platform.read-only"; } /// Gets the Apps resource. public virtual AppsResource Apps { get; } /// Gets the Projects resource. public virtual ProjectsResource Projects { get; } } /// A base abstract class for Appengine requests. public abstract class AppengineBaseServiceRequest : Google.Apis.Requests.ClientServiceRequest { /// Constructs a new AppengineBaseServiceRequest instance. protected AppengineBaseServiceRequest(Google.Apis.Services.IClientService service) : base(service) { } /// V1 error format. [Google.Apis.Util.RequestParameterAttribute("$.xgafv", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable Xgafv { get; set; } /// V1 error format. public enum XgafvEnum { /// v1 error format [Google.Apis.Util.StringValueAttribute("1")] Value1 = 0, /// v2 error format [Google.Apis.Util.StringValueAttribute("2")] Value2 = 1, } /// OAuth access token. [Google.Apis.Util.RequestParameterAttribute("access_token", Google.Apis.Util.RequestParameterType.Query)] public virtual string AccessToken { get; set; } /// Data format for response. [Google.Apis.Util.RequestParameterAttribute("alt", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable Alt { get; set; } /// Data format for response. public enum AltEnum { /// Responses with Content-Type of application/json [Google.Apis.Util.StringValueAttribute("json")] Json = 0, /// Media download with context-dependent Content-Type [Google.Apis.Util.StringValueAttribute("media")] Media = 1, /// Responses with Content-Type of application/x-protobuf [Google.Apis.Util.StringValueAttribute("proto")] Proto = 2, } /// JSONP [Google.Apis.Util.RequestParameterAttribute("callback", Google.Apis.Util.RequestParameterType.Query)] public virtual string Callback { get; set; } /// Selector specifying which fields to include in a partial response. [Google.Apis.Util.RequestParameterAttribute("fields", Google.Apis.Util.RequestParameterType.Query)] public virtual string Fields { get; set; } /// /// 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. /// [Google.Apis.Util.RequestParameterAttribute("key", Google.Apis.Util.RequestParameterType.Query)] public virtual string Key { get; set; } /// OAuth 2.0 token for the current user. [Google.Apis.Util.RequestParameterAttribute("oauth_token", Google.Apis.Util.RequestParameterType.Query)] public virtual string OauthToken { get; set; } /// Returns response with indentations and line breaks. [Google.Apis.Util.RequestParameterAttribute("prettyPrint", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PrettyPrint { get; set; } /// /// 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. /// [Google.Apis.Util.RequestParameterAttribute("quotaUser", Google.Apis.Util.RequestParameterType.Query)] public virtual string QuotaUser { get; set; } /// Legacy upload protocol for media (e.g. "media", "multipart"). [Google.Apis.Util.RequestParameterAttribute("uploadType", Google.Apis.Util.RequestParameterType.Query)] public virtual string UploadType { get; set; } /// Upload protocol for media (e.g. "raw", "multipart"). [Google.Apis.Util.RequestParameterAttribute("upload_protocol", Google.Apis.Util.RequestParameterType.Query)] public virtual string UploadProtocol { get; set; } /// Initializes Appengine parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("$.xgafv", new Google.Apis.Discovery.Parameter { Name = "$.xgafv", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("access_token", new Google.Apis.Discovery.Parameter { Name = "access_token", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("alt", new Google.Apis.Discovery.Parameter { Name = "alt", IsRequired = false, ParameterType = "query", DefaultValue = "json", Pattern = null, }); RequestParameters.Add("callback", new Google.Apis.Discovery.Parameter { Name = "callback", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("fields", new Google.Apis.Discovery.Parameter { Name = "fields", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("key", new Google.Apis.Discovery.Parameter { Name = "key", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("oauth_token", new Google.Apis.Discovery.Parameter { Name = "oauth_token", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("prettyPrint", new Google.Apis.Discovery.Parameter { Name = "prettyPrint", IsRequired = false, ParameterType = "query", DefaultValue = "true", Pattern = null, }); RequestParameters.Add("quotaUser", new Google.Apis.Discovery.Parameter { Name = "quotaUser", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("uploadType", new Google.Apis.Discovery.Parameter { Name = "uploadType", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("upload_protocol", new Google.Apis.Discovery.Parameter { Name = "upload_protocol", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// The "apps" collection of methods. public class AppsResource { private const string Resource = "apps"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public AppsResource(Google.Apis.Services.IClientService service) { this.service = service; AuthorizedCertificates = new AuthorizedCertificatesResource(service); AuthorizedDomains = new AuthorizedDomainsResource(service); DomainMappings = new DomainMappingsResource(service); Firewall = new FirewallResource(service); Locations = new LocationsResource(service); Operations = new OperationsResource(service); Services = new ServicesResource(service); } /// Gets the AuthorizedCertificates resource. public virtual AuthorizedCertificatesResource AuthorizedCertificates { get; } /// The "authorizedCertificates" collection of methods. public class AuthorizedCertificatesResource { private const string Resource = "authorizedCertificates"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public AuthorizedCertificatesResource(Google.Apis.Services.IClientService service) { this.service = service; } /// Uploads the specified SSL certificate. /// The body of the request. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// public virtual CreateRequest Create(Google.Apis.Appengine.v1.Data.AuthorizedCertificate body, string appsId) { return new CreateRequest(this.service, body, appsId); } /// Uploads the specified SSL certificate. public class CreateRequest : AppengineBaseServiceRequest { /// Constructs a new Create request. public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.AuthorizedCertificate body, string appsId) : base(service) { AppsId = appsId; Body = body; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.AuthorizedCertificate Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "create"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/authorizedCertificates"; /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Deletes the specified SSL certificate. /// /// Part of `name`. Required. Name of the resource to delete. Example: /// apps/myapp/authorizedCertificates/12345. /// /// Part of `name`. See documentation of `appsId`. public virtual DeleteRequest Delete(string appsId, string authorizedCertificatesId) { return new DeleteRequest(this.service, appsId, authorizedCertificatesId); } /// Deletes the specified SSL certificate. public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string appsId, string authorizedCertificatesId) : base(service) { AppsId = appsId; AuthorizedCertificatesId = authorizedCertificatesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to delete. Example: /// apps/myapp/authorizedCertificates/12345. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("authorizedCertificatesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AuthorizedCertificatesId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("authorizedCertificatesId", new Google.Apis.Discovery.Parameter { Name = "authorizedCertificatesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Gets the specified SSL certificate. /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/authorizedCertificates/12345. /// /// Part of `name`. See documentation of `appsId`. public virtual GetRequest Get(string appsId, string authorizedCertificatesId) { return new GetRequest(this.service, appsId, authorizedCertificatesId); } /// Gets the specified SSL certificate. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId, string authorizedCertificatesId) : base(service) { AppsId = appsId; AuthorizedCertificatesId = authorizedCertificatesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/authorizedCertificates/12345. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("authorizedCertificatesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AuthorizedCertificatesId { get; private set; } /// Controls the set of fields returned in the GET response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } /// Controls the set of fields returned in the GET response. public enum ViewEnum { /// /// Basic certificate information, including applicable domains and expiration date. /// [Google.Apis.Util.StringValueAttribute("BASIC_CERTIFICATE")] BASICCERTIFICATE = 0, /// /// The information from BASIC_CERTIFICATE, plus detailed information on the domain mappings that /// have this certificate mapped. /// [Google.Apis.Util.StringValueAttribute("FULL_CERTIFICATE")] FULLCERTIFICATE = 1, } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("authorizedCertificatesId", new Google.Apis.Discovery.Parameter { Name = "authorizedCertificatesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("view", new Google.Apis.Discovery.Parameter { Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// Lists all SSL certificates the user is authorized to administer. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// public virtual ListRequest List(string appsId) { return new ListRequest(this.service, appsId); } /// Lists all SSL certificates the user is authorized to administer. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Controls the set of fields returned in the LIST response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } /// Controls the set of fields returned in the LIST response. public enum ViewEnum { /// /// Basic certificate information, including applicable domains and expiration date. /// [Google.Apis.Util.StringValueAttribute("BASIC_CERTIFICATE")] BASICCERTIFICATE = 0, /// /// The information from BASIC_CERTIFICATE, plus detailed information on the domain mappings that /// have this certificate mapped. /// [Google.Apis.Util.StringValueAttribute("FULL_CERTIFICATE")] FULLCERTIFICATE = 1, } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/authorizedCertificates"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("view", new Google.Apis.Discovery.Parameter { Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, /// update certificate_data with a new certificate. The new certificate must be applicable to the same /// domains as the original certificate. The certificate display_name may also be updated. /// /// The body of the request. /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/authorizedCertificates/12345. /// /// Part of `name`. See documentation of `appsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.AuthorizedCertificate body, string appsId, string authorizedCertificatesId) { return new PatchRequest(this.service, body, appsId, authorizedCertificatesId); } /// /// Updates the specified SSL certificate. To renew a certificate and maintain its existing domain mappings, /// update certificate_data with a new certificate. The new certificate must be applicable to the same /// domains as the original certificate. The certificate display_name may also be updated. /// public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.AuthorizedCertificate body, string appsId, string authorizedCertificatesId) : base(service) { AppsId = appsId; AuthorizedCertificatesId = authorizedCertificatesId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/authorizedCertificates/12345. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("authorizedCertificatesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AuthorizedCertificatesId { get; private set; } /// /// Standard field mask for the set of fields to be updated. Updates are only supported on the /// certificate_raw_data and display_name fields. /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.AuthorizedCertificate Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/authorizedCertificates/{authorizedCertificatesId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("authorizedCertificatesId", new Google.Apis.Discovery.Parameter { Name = "authorizedCertificatesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Gets the AuthorizedDomains resource. public virtual AuthorizedDomainsResource AuthorizedDomains { get; } /// The "authorizedDomains" collection of methods. public class AuthorizedDomainsResource { private const string Resource = "authorizedDomains"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public AuthorizedDomainsResource(Google.Apis.Services.IClientService service) { this.service = service; } /// Lists all domains the user is authorized to administer. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// public virtual ListRequest List(string appsId) { return new ListRequest(this.service, appsId); } /// Lists all domains the user is authorized to administer. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/authorizedDomains"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Gets the DomainMappings resource. public virtual DomainMappingsResource DomainMappings { get; } /// The "domainMappings" collection of methods. public class DomainMappingsResource { private const string Resource = "domainMappings"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public DomainMappingsResource(Google.Apis.Services.IClientService service) { this.service = service; } /// /// Maps a domain to an application. A user must be authorized to administer a domain in order to map it to /// an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. /// /// The body of the request. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// public virtual CreateRequest Create(Google.Apis.Appengine.v1.Data.DomainMapping body, string appsId) { return new CreateRequest(this.service, body, appsId); } /// /// Maps a domain to an application. A user must be authorized to administer a domain in order to map it to /// an application. For a list of available authorized domains, see AuthorizedDomains.ListAuthorizedDomains. /// public class CreateRequest : AppengineBaseServiceRequest { /// Constructs a new Create request. public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.DomainMapping body, string appsId) : base(service) { AppsId = appsId; Body = body; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// /// Whether the domain creation should override any existing mappings for this domain. By default, /// overrides are rejected. /// [Google.Apis.Util.RequestParameterAttribute("overrideStrategy", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable OverrideStrategy { get; set; } /// /// Whether the domain creation should override any existing mappings for this domain. By default, /// overrides are rejected. /// public enum OverrideStrategyEnum { /// Strategy unspecified. Defaults to STRICT. [Google.Apis.Util.StringValueAttribute("UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY")] UNSPECIFIEDDOMAINOVERRIDESTRATEGY = 0, /// /// Overrides not allowed. If a mapping already exists for the specified domain, the request will /// return an ALREADY_EXISTS (409). /// [Google.Apis.Util.StringValueAttribute("STRICT")] STRICT = 1, /// /// Overrides allowed. If a mapping already exists for the specified domain, the request will /// overwrite it. Note that this might stop another Google product from serving. For example, if the /// domain is mapped to another App Engine application, that app will no longer serve from that /// domain. /// [Google.Apis.Util.StringValueAttribute("OVERRIDE")] OVERRIDE__ = 2, } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.DomainMapping Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "create"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/domainMappings"; /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("overrideStrategy", new Google.Apis.Discovery.Parameter { Name = "overrideStrategy", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// Deletes the specified domain mapping. A user must be authorized to administer the associated domain in /// order to delete a DomainMapping resource. /// /// /// Part of `name`. Required. Name of the resource to delete. Example: /// apps/myapp/domainMappings/example.com. /// /// Part of `name`. See documentation of `appsId`. public virtual DeleteRequest Delete(string appsId, string domainMappingsId) { return new DeleteRequest(this.service, appsId, domainMappingsId); } /// /// Deletes the specified domain mapping. A user must be authorized to administer the associated domain in /// order to delete a DomainMapping resource. /// public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string appsId, string domainMappingsId) : base(service) { AppsId = appsId; DomainMappingsId = domainMappingsId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to delete. Example: /// apps/myapp/domainMappings/example.com. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("domainMappingsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string DomainMappingsId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/domainMappings/{domainMappingsId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("domainMappingsId", new Google.Apis.Discovery.Parameter { Name = "domainMappingsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Gets the specified domain mapping. /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/domainMappings/example.com. /// /// Part of `name`. See documentation of `appsId`. public virtual GetRequest Get(string appsId, string domainMappingsId) { return new GetRequest(this.service, appsId, domainMappingsId); } /// Gets the specified domain mapping. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId, string domainMappingsId) : base(service) { AppsId = appsId; DomainMappingsId = domainMappingsId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/domainMappings/example.com. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("domainMappingsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string DomainMappingsId { get; private set; } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/domainMappings/{domainMappingsId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("domainMappingsId", new Google.Apis.Discovery.Parameter { Name = "domainMappingsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Lists the domain mappings on an application. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// public virtual ListRequest List(string appsId) { return new ListRequest(this.service, appsId); } /// Lists the domain mappings on an application. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/domainMappings"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update /// certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer /// the associated domain in order to update a DomainMapping resource. /// /// The body of the request. /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/domainMappings/example.com. /// /// Part of `name`. See documentation of `appsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.DomainMapping body, string appsId, string domainMappingsId) { return new PatchRequest(this.service, body, appsId, domainMappingsId); } /// /// Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update /// certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to administer /// the associated domain in order to update a DomainMapping resource. /// public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.DomainMapping body, string appsId, string domainMappingsId) : base(service) { AppsId = appsId; DomainMappingsId = domainMappingsId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/domainMappings/example.com. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("domainMappingsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string DomainMappingsId { get; private set; } /// Required. Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.DomainMapping Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/domainMappings/{domainMappingsId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("domainMappingsId", new Google.Apis.Discovery.Parameter { Name = "domainMappingsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Gets the Firewall resource. public virtual FirewallResource Firewall { get; } /// The "firewall" collection of methods. public class FirewallResource { private const string Resource = "firewall"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public FirewallResource(Google.Apis.Services.IClientService service) { this.service = service; IngressRules = new IngressRulesResource(service); } /// Gets the IngressRules resource. public virtual IngressRulesResource IngressRules { get; } /// The "ingressRules" collection of methods. public class IngressRulesResource { private const string Resource = "ingressRules"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public IngressRulesResource(Google.Apis.Services.IClientService service) { this.service = service; } /// /// Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of /// an existing firewall with the new rules.If the final rule does not match traffic with the '*' /// wildcard IP range, then an "allow all" rule is explicitly added to the end of the list. /// /// The body of the request. /// /// Part of `name`. Name of the Firewall collection to set. Example: apps/myapp/firewall/ingressRules. /// public virtual BatchUpdateRequest BatchUpdate(Google.Apis.Appengine.v1.Data.BatchUpdateIngressRulesRequest body, string appsId) { return new BatchUpdateRequest(this.service, body, appsId); } /// /// Replaces the entire firewall ruleset in one bulk operation. This overrides and replaces the rules of /// an existing firewall with the new rules.If the final rule does not match traffic with the '*' /// wildcard IP range, then an "allow all" rule is explicitly added to the end of the list. /// public class BatchUpdateRequest : AppengineBaseServiceRequest { /// Constructs a new BatchUpdate request. public BatchUpdateRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.BatchUpdateIngressRulesRequest body, string appsId) : base(service) { AppsId = appsId; Body = body; InitParameters(); } /// /// Part of `name`. Name of the Firewall collection to set. Example: /// apps/myapp/firewall/ingressRules. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.BatchUpdateIngressRulesRequest Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "batchUpdate"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/firewall/ingressRules:batchUpdate"; /// Initializes BatchUpdate parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Creates a firewall rule for the application. /// The body of the request. /// /// Part of `parent`. Required. Name of the parent Firewall collection in which to create a new rule. /// Example: apps/myapp/firewall/ingressRules. /// public virtual CreateRequest Create(Google.Apis.Appengine.v1.Data.FirewallRule body, string appsId) { return new CreateRequest(this.service, body, appsId); } /// Creates a firewall rule for the application. public class CreateRequest : AppengineBaseServiceRequest { /// Constructs a new Create request. public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.FirewallRule body, string appsId) : base(service) { AppsId = appsId; Body = body; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Firewall collection in which to create a new /// rule. Example: apps/myapp/firewall/ingressRules. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.FirewallRule Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "create"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/firewall/ingressRules"; /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Deletes the specified firewall rule. /// /// Part of `name`. Name of the Firewall resource to delete. Example: /// apps/myapp/firewall/ingressRules/100. /// /// Part of `name`. See documentation of `appsId`. public virtual DeleteRequest Delete(string appsId, string ingressRulesId) { return new DeleteRequest(this.service, appsId, ingressRulesId); } /// Deletes the specified firewall rule. public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string appsId, string ingressRulesId) : base(service) { AppsId = appsId; IngressRulesId = ingressRulesId; InitParameters(); } /// /// Part of `name`. Name of the Firewall resource to delete. Example: /// apps/myapp/firewall/ingressRules/100. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("ingressRulesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string IngressRulesId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("ingressRulesId", new Google.Apis.Discovery.Parameter { Name = "ingressRulesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Gets the specified firewall rule. /// /// Part of `name`. Name of the Firewall resource to retrieve. Example: /// apps/myapp/firewall/ingressRules/100. /// /// Part of `name`. See documentation of `appsId`. public virtual GetRequest Get(string appsId, string ingressRulesId) { return new GetRequest(this.service, appsId, ingressRulesId); } /// Gets the specified firewall rule. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId, string ingressRulesId) : base(service) { AppsId = appsId; IngressRulesId = ingressRulesId; InitParameters(); } /// /// Part of `name`. Name of the Firewall resource to retrieve. Example: /// apps/myapp/firewall/ingressRules/100. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("ingressRulesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string IngressRulesId { get; private set; } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("ingressRulesId", new Google.Apis.Discovery.Parameter { Name = "ingressRulesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Lists the firewall rules of an application. /// /// Part of `parent`. Name of the Firewall collection to retrieve. Example: /// apps/myapp/firewall/ingressRules. /// public virtual ListRequest List(string appsId) { return new ListRequest(this.service, appsId); } /// Lists the firewall rules of an application. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// /// Part of `parent`. Name of the Firewall collection to retrieve. Example: /// apps/myapp/firewall/ingressRules. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// /// A valid IP Address. If set, only rules matching this address will be returned. The first /// returned rule will be the rule that fires on requests from this IP. /// [Google.Apis.Util.RequestParameterAttribute("matchingAddress", Google.Apis.Util.RequestParameterType.Query)] public virtual string MatchingAddress { get; set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/firewall/ingressRules"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("matchingAddress", new Google.Apis.Discovery.Parameter { Name = "matchingAddress", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// Updates the specified firewall rule. /// The body of the request. /// /// Part of `name`. Name of the Firewall resource to update. Example: /// apps/myapp/firewall/ingressRules/100. /// /// Part of `name`. See documentation of `appsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.FirewallRule body, string appsId, string ingressRulesId) { return new PatchRequest(this.service, body, appsId, ingressRulesId); } /// Updates the specified firewall rule. public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.FirewallRule body, string appsId, string ingressRulesId) : base(service) { AppsId = appsId; IngressRulesId = ingressRulesId; Body = body; InitParameters(); } /// /// Part of `name`. Name of the Firewall resource to update. Example: /// apps/myapp/firewall/ingressRules/100. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("ingressRulesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string IngressRulesId { get; private set; } /// Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.FirewallRule Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/firewall/ingressRules/{ingressRulesId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("ingressRulesId", new Google.Apis.Discovery.Parameter { Name = "ingressRulesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } } /// Gets the Locations resource. public virtual LocationsResource Locations { get; } /// The "locations" collection of methods. public class LocationsResource { private const string Resource = "locations"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public LocationsResource(Google.Apis.Services.IClientService service) { this.service = service; } /// Gets information about a location. /// Part of `name`. Resource name for the location. /// Part of `name`. See documentation of `appsId`. public virtual GetRequest Get(string appsId, string locationsId) { return new GetRequest(this.service, appsId, locationsId); } /// Gets information about a location. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId, string locationsId) : base(service) { AppsId = appsId; LocationsId = locationsId; InitParameters(); } /// Part of `name`. Resource name for the location. [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/locations/{locationsId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Lists information about the supported locations for this service. /// /// Part of `name`. The resource that owns the locations collection, if applicable. /// public virtual ListRequest List(string appsId) { return new ListRequest(this.service, appsId); } /// Lists information about the supported locations for this service. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// Part of `name`. The resource that owns the locations collection, if applicable. [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// /// Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented /// otherwise. This is primarily for internal usage. /// [Google.Apis.Util.RequestParameterAttribute("extraLocationTypes", Google.Apis.Util.RequestParameterType.Query)] public virtual Google.Apis.Util.Repeatable ExtraLocationTypes { get; set; } /// /// A filter to narrow down results to a preferred subset. The filtering language accepts strings like /// "displayName=tokyo", and is documented in more detail in AIP-160 (https://google.aip.dev/160). /// [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } /// /// The maximum number of results to return. If not set, the service selects a default. /// [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// /// A page token received from the next_page_token field in the response. Send that page token to /// receive the subsequent page. /// [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/locations"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("extraLocationTypes", new Google.Apis.Discovery.Parameter { Name = "extraLocationTypes", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter { Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Gets the Operations resource. public virtual OperationsResource Operations { get; } /// The "operations" collection of methods. public class OperationsResource { private const string Resource = "operations"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public OperationsResource(Google.Apis.Services.IClientService service) { this.service = service; } /// /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation /// result at intervals as recommended by the API service. /// /// Part of `name`. The name of the operation resource. /// Part of `name`. See documentation of `appsId`. public virtual GetRequest Get(string appsId, string operationsId) { return new GetRequest(this.service, appsId, operationsId); } /// /// Gets the latest state of a long-running operation. Clients can use this method to poll the operation /// result at intervals as recommended by the API service. /// public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId, string operationsId) : base(service) { AppsId = appsId; OperationsId = operationsId; InitParameters(); } /// Part of `name`. The name of the operation resource. [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("operationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string OperationsId { get; private set; } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/operations/{operationsId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("operationsId", new Google.Apis.Discovery.Parameter { Name = "operationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// /// Lists operations that match the specified filter in the request. If the server doesn't support this /// method, it returns UNIMPLEMENTED. /// /// Part of `name`. The name of the operation's parent resource. public virtual ListRequest List(string appsId) { return new ListRequest(this.service, appsId); } /// /// Lists operations that match the specified filter in the request. If the server doesn't support this /// method, it returns UNIMPLEMENTED. /// public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// Part of `name`. The name of the operation's parent resource. [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// The standard list filter. [Google.Apis.Util.RequestParameterAttribute("filter", Google.Apis.Util.RequestParameterType.Query)] public virtual string Filter { get; set; } /// The standard list page size. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// The standard list page token. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// /// When set to true, operations that are reachable are returned as normal, and those that are /// unreachable are returned in the ListOperationsResponse.unreachable field.This can only be true when /// reading across collections. For example, when parent is set to "projects/example/locations/-".This /// field is not supported by default and will result in an UNIMPLEMENTED error if set unless explicitly /// documented otherwise in service or product specific documentation. /// [Google.Apis.Util.RequestParameterAttribute("returnPartialSuccess", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable ReturnPartialSuccess { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/operations"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("filter", new Google.Apis.Discovery.Parameter { Name = "filter", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("returnPartialSuccess", new Google.Apis.Discovery.Parameter { Name = "returnPartialSuccess", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Gets the Services resource. public virtual ServicesResource Services { get; } /// The "services" collection of methods. public class ServicesResource { private const string Resource = "services"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public ServicesResource(Google.Apis.Services.IClientService service) { this.service = service; Versions = new VersionsResource(service); } /// Gets the Versions resource. public virtual VersionsResource Versions { get; } /// The "versions" collection of methods. public class VersionsResource { private const string Resource = "versions"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public VersionsResource(Google.Apis.Services.IClientService service) { this.service = service; Instances = new InstancesResource(service); } /// Gets the Instances resource. public virtual InstancesResource Instances { get; } /// The "instances" collection of methods. public class InstancesResource { private const string Resource = "instances"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public InstancesResource(Google.Apis.Services.IClientService service) { this.service = service; } /// /// Enables debugging on a VM instance. This allows you to use the SSH command to connect to the /// virtual machine where the instance lives. While in "debug mode", the instance continues to serve /// live traffic. You should delete the instance when you are done debugging and then allow the /// system to take over and determine if another instance should be started.Only applicable for /// instances in App Engine flexible environment. /// /// The body of the request. /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1/instances/instance-1. /// /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. public virtual DebugRequest Debug(Google.Apis.Appengine.v1.Data.DebugInstanceRequest body, string appsId, string servicesId, string versionsId, string instancesId) { return new DebugRequest(this.service, body, appsId, servicesId, versionsId, instancesId); } /// /// Enables debugging on a VM instance. This allows you to use the SSH command to connect to the /// virtual machine where the instance lives. While in "debug mode", the instance continues to serve /// live traffic. You should delete the instance when you are done debugging and then allow the /// system to take over and determine if another instance should be started.Only applicable for /// instances in App Engine flexible environment. /// public class DebugRequest : AppengineBaseServiceRequest { /// Constructs a new Debug request. public DebugRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.DebugInstanceRequest body, string appsId, string servicesId, string versionsId, string instancesId) : base(service) { AppsId = appsId; ServicesId = servicesId; VersionsId = versionsId; InstancesId = instancesId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1/instances/instance-1. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("instancesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string InstancesId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.DebugInstanceRequest Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "debug"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug"; /// Initializes Debug parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("instancesId", new Google.Apis.Discovery.Parameter { Name = "instancesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// /// Stops a running instance.The instance might be automatically recreated based on the scaling /// settings of the version. For more information, see "How Instances are Managed" (standard /// environment (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) /// | flexible environment /// (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).To ensure /// that instances are not re-created and avoid getting billed, you can stop all instances within /// the target version by changing the serving status of the version to STOPPED with the /// apps.services.versions.patch /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) /// method. /// /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1/instances/instance-1. /// /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. public virtual DeleteRequest Delete(string appsId, string servicesId, string versionsId, string instancesId) { return new DeleteRequest(this.service, appsId, servicesId, versionsId, instancesId); } /// /// Stops a running instance.The instance might be automatically recreated based on the scaling /// settings of the version. For more information, see "How Instances are Managed" (standard /// environment (https://cloud.google.com/appengine/docs/standard/python/how-instances-are-managed) /// | flexible environment /// (https://cloud.google.com/appengine/docs/flexible/python/how-instances-are-managed)).To ensure /// that instances are not re-created and avoid getting billed, you can stop all instances within /// the target version by changing the serving status of the version to STOPPED with the /// apps.services.versions.patch /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions/patch) /// method. /// public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string appsId, string servicesId, string versionsId, string instancesId) : base(service) { AppsId = appsId; ServicesId = servicesId; VersionsId = versionsId; InstancesId = instancesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1/instances/instance-1. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("instancesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string InstancesId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("instancesId", new Google.Apis.Discovery.Parameter { Name = "instancesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Gets instance information. /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1/instances/instance-1. /// /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. public virtual GetRequest Get(string appsId, string servicesId, string versionsId, string instancesId) { return new GetRequest(this.service, appsId, servicesId, versionsId, instancesId); } /// Gets instance information. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId, string servicesId, string versionsId, string instancesId) : base(service) { AppsId = appsId; ServicesId = servicesId; VersionsId = versionsId; InstancesId = instancesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1/instances/instance-1. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("instancesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string InstancesId { get; private set; } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("instancesId", new Google.Apis.Discovery.Parameter { Name = "instancesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// /// 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). /// /// /// Part of `parent`. Required. Name of the parent Version resource. Example: /// apps/myapp/services/default/versions/v1. /// /// Part of `parent`. See documentation of `appsId`. /// Part of `parent`. See documentation of `appsId`. public virtual ListRequest List(string appsId, string servicesId, string versionsId) { return new ListRequest(this.service, appsId, servicesId, versionsId); } /// /// 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). /// public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId, string servicesId, string versionsId) : base(service) { AppsId = appsId; ServicesId = servicesId; VersionsId = versionsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Version resource. Example: /// apps/myapp/services/default/versions/v1. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `parent`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `parent`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Deploys code and resource files to a new version. /// The body of the request. /// /// Part of `parent`. Required. Name of the parent resource to create this version under. Example: /// apps/myapp/services/default. /// /// Part of `parent`. See documentation of `appsId`. public virtual CreateRequest Create(Google.Apis.Appengine.v1.Data.Version body, string appsId, string servicesId) { return new CreateRequest(this.service, body, appsId, servicesId); } /// Deploys code and resource files to a new version. public class CreateRequest : AppengineBaseServiceRequest { /// Constructs a new Create request. public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.Version body, string appsId, string servicesId) : base(service) { AppsId = appsId; ServicesId = servicesId; Body = body; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent resource to create this version under. Example: /// apps/myapp/services/default. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `parent`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.Version Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "create"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions"; /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Deletes an existing Version resource. /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1. /// /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. public virtual DeleteRequest Delete(string appsId, string servicesId, string versionsId) { return new DeleteRequest(this.service, appsId, servicesId, versionsId); } /// Deletes an existing Version resource. public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string appsId, string servicesId, string versionsId) : base(service) { AppsId = appsId; ServicesId = servicesId; VersionsId = versionsId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Exports a user image to Artifact Registry. /// The body of the request. /// /// Part of `name`. Required. Name of the App Engine version resource. Format: /// apps/{app}/services/{service}/versions/{version} /// /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. public virtual ExportAppImageRequest ExportAppImage(Google.Apis.Appengine.v1.Data.ExportAppImageRequest body, string appsId, string servicesId, string versionsId) { return new ExportAppImageRequest(this.service, body, appsId, servicesId, versionsId); } /// Exports a user image to Artifact Registry. public class ExportAppImageRequest : AppengineBaseServiceRequest { /// Constructs a new ExportAppImage request. public ExportAppImageRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.ExportAppImageRequest body, string appsId, string servicesId, string versionsId) : base(service) { AppsId = appsId; ServicesId = servicesId; VersionsId = versionsId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the App Engine version resource. Format: /// apps/{app}/services/{service}/versions/{version} /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.ExportAppImageRequest Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "exportAppImage"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}:exportAppImage"; /// Initializes ExportAppImage parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// /// Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the /// FULL_VIEW parameter to get the full resource. /// /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1. /// /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. public virtual GetRequest Get(string appsId, string servicesId, string versionsId) { return new GetRequest(this.service, appsId, servicesId, versionsId); } /// /// Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the /// FULL_VIEW parameter to get the full resource. /// public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId, string servicesId, string versionsId) : base(service) { AppsId = appsId; ServicesId = servicesId; VersionsId = versionsId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Controls the set of fields returned in the Get response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } /// Controls the set of fields returned in the Get response. public enum ViewEnum { /// /// Basic version information including scaling and inbound services, but not detailed /// deployment information. /// [Google.Apis.Util.StringValueAttribute("BASIC")] BASIC = 0, /// /// The information from BASIC, plus detailed information about the deployment. This format is /// required when creating resources, but is not returned in Get or List by default. /// [Google.Apis.Util.StringValueAttribute("FULL")] FULL = 1, } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("view", new Google.Apis.Discovery.Parameter { Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// Lists the versions of a service. /// /// Part of `parent`. Required. Name of the parent Service resource. Example: /// apps/myapp/services/default. /// /// Part of `parent`. See documentation of `appsId`. public virtual ListRequest List(string appsId, string servicesId) { return new ListRequest(this.service, appsId, servicesId); } /// Lists the versions of a service. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId, string servicesId) : base(service) { AppsId = appsId; ServicesId = servicesId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Service resource. Example: /// apps/myapp/services/default. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `parent`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Controls the set of fields returned in the List response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } /// Controls the set of fields returned in the List response. public enum ViewEnum { /// /// Basic version information including scaling and inbound services, but not detailed /// deployment information. /// [Google.Apis.Util.StringValueAttribute("BASIC")] BASIC = 0, /// /// The information from BASIC, plus detailed information about the deployment. This format is /// required when creating resources, but is not returned in Get or List by default. /// [Google.Apis.Util.StringValueAttribute("FULL")] FULL = 1, } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("view", new Google.Apis.Discovery.Parameter { Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// Updates the specified Version resource. You can specify the following fields depending on the App /// Engine environment and type of scaling that the version resource uses:Standard environment /// instance_class /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic /// scaling in the standard environment: automatic_scaling.min_idle_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.max_idle_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automaticScaling.standard_scheduler_settings.max_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.min_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.target_cpu_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.target_throughput_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic /// scaling or manual scaling in the standard environment: serving_status /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) /// manual_scaling.instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible /// environment serving_status /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic /// scaling in the flexible environment: automatic_scaling.min_total_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.max_total_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.cool_down_period_sec /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.cpu_utilization.target_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual /// scaling in the flexible environment: manual_scaling.instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) /// /// The body of the request. /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/services/default/versions/1. /// /// Part of `name`. See documentation of `appsId`. /// Part of `name`. See documentation of `appsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.Version body, string appsId, string servicesId, string versionsId) { return new PatchRequest(this.service, body, appsId, servicesId, versionsId); } /// /// Updates the specified Version resource. You can specify the following fields depending on the App /// Engine environment and type of scaling that the version resource uses:Standard environment /// instance_class /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic /// scaling in the standard environment: automatic_scaling.min_idle_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.max_idle_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automaticScaling.standard_scheduler_settings.max_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.min_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.target_cpu_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.target_throughput_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic /// scaling or manual scaling in the standard environment: serving_status /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) /// manual_scaling.instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible /// environment serving_status /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic /// scaling in the flexible environment: automatic_scaling.min_total_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.max_total_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.cool_down_period_sec /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.cpu_utilization.target_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual /// scaling in the flexible environment: manual_scaling.instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) /// public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.Version body, string appsId, string servicesId, string versionsId) : base(service) { AppsId = appsId; ServicesId = servicesId; VersionsId = versionsId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/services/default/versions/1. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.Version Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Deletes the specified service and all enclosed versions. /// /// Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default. /// /// Part of `name`. See documentation of `appsId`. public virtual DeleteRequest Delete(string appsId, string servicesId) { return new DeleteRequest(this.service, appsId, servicesId); } /// Deletes the specified service and all enclosed versions. public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string appsId, string servicesId) : base(service) { AppsId = appsId; ServicesId = servicesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Gets the current configuration of the specified service. /// /// Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default. /// /// Part of `name`. See documentation of `appsId`. public virtual GetRequest Get(string appsId, string servicesId) { return new GetRequest(this.service, appsId, servicesId); } /// Gets the current configuration of the specified service. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId, string servicesId) : base(service) { AppsId = appsId; ServicesId = servicesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Lists all the services in the application. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// public virtual ListRequest List(string appsId) { return new ListRequest(this.service, appsId); } /// Lists all the services in the application. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// Updates the configuration of the specified service. /// The body of the request. /// /// Part of `name`. Required. Name of the resource to update. Example: apps/myapp/services/default. /// /// Part of `name`. See documentation of `appsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.Service body, string appsId, string servicesId) { return new PatchRequest(this.service, body, appsId, servicesId); } /// Updates the configuration of the specified service. public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.Service body, string appsId, string servicesId) : base(service) { AppsId = appsId; ServicesId = servicesId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to update. Example: apps/myapp/services/default. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Part of `name`. See documentation of `appsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// /// 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). /// [Google.Apis.Util.RequestParameterAttribute("migrateTraffic", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable MigrateTraffic { get; set; } /// Required. Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.Service Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}/services/{servicesId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("migrateTraffic", new Google.Apis.Discovery.Parameter { Name = "migrateTraffic", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// /// Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the /// target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) /// where you want the App Engine application located.For more information about App Engine applications, see /// Managing Projects, Applications, and Billing /// (https://cloud.google.com/appengine/docs/standard/python/console/). /// /// The body of the request. public virtual CreateRequest Create(Google.Apis.Appengine.v1.Data.Application body) { return new CreateRequest(this.service, body); } /// /// Creates an App Engine application for a Google Cloud Platform project. Required fields: id - The ID of the /// target Cloud Platform project. location - The region (https://cloud.google.com/appengine/docs/locations) /// where you want the App Engine application located.For more information about App Engine applications, see /// Managing Projects, Applications, and Billing /// (https://cloud.google.com/appengine/docs/standard/python/console/). /// public class CreateRequest : AppengineBaseServiceRequest { /// Constructs a new Create request. public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.Application body) : base(service) { Body = body; InitParameters(); } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.Application Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "create"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps"; /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); } } /// Gets information about an application. /// /// Part of `name`. Required. Name of the Application resource to get. Example: apps/myapp. /// public virtual GetRequest Get(string appsId) { return new GetRequest(this.service, appsId); } /// Gets information about an application. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// /// Part of `name`. Required. Name of the Application resource to get. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Options to include extra data [Google.Apis.Util.RequestParameterAttribute("includeExtraData", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable IncludeExtraData { get; set; } /// Options to include extra data public enum IncludeExtraDataEnum { /// Unspecified: No extra data will be returned [Google.Apis.Util.StringValueAttribute("INCLUDE_EXTRA_DATA_UNSPECIFIED")] INCLUDEEXTRADATAUNSPECIFIED = 0, /// Do not return any extra data [Google.Apis.Util.StringValueAttribute("INCLUDE_EXTRA_DATA_NONE")] INCLUDEEXTRADATANONE = 1, /// Return GGCM associated with the resources [Google.Apis.Util.StringValueAttribute("INCLUDE_GOOGLE_GENERATED_METADATA")] INCLUDEGOOGLEGENERATEDMETADATA = 2, } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("includeExtraData", new Google.Apis.Discovery.Parameter { Name = "includeExtraData", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// Lists all the available runtimes for the application. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// public virtual ListRuntimesRequest ListRuntimes(string appsId) { return new ListRuntimesRequest(this.service, appsId); } /// Lists all the available runtimes for the application. public class ListRuntimesRequest : AppengineBaseServiceRequest { /// Constructs a new ListRuntimes request. public ListRuntimesRequest(Google.Apis.Services.IClientService service, string appsId) : base(service) { AppsId = appsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Optional. The environment of the Application. [Google.Apis.Util.RequestParameterAttribute("environment", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable Environment { get; set; } /// Optional. The environment of the Application. public enum EnvironmentEnum { /// Default value. [Google.Apis.Util.StringValueAttribute("ENVIRONMENT_UNSPECIFIED")] ENVIRONMENTUNSPECIFIED = 0, /// App Engine Standard. [Google.Apis.Util.StringValueAttribute("STANDARD")] STANDARD = 1, /// App Engine Flexible [Google.Apis.Util.StringValueAttribute("FLEXIBLE")] FLEXIBLE = 2, } /// Gets the method name. public override string MethodName => "listRuntimes"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}:listRuntimes"; /// Initializes ListRuntimes parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("environment", new Google.Apis.Discovery.Parameter { Name = "environment", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// 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. /// /// The body of the request. /// /// Part of `name`. Required. Name of the Application resource to update. Example: apps/myapp. /// public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.Application body, string appsId) { return new PatchRequest(this.service, body, appsId); } /// /// 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. /// public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.Application body, string appsId) : base(service) { AppsId = appsId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the Application resource to update. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Required. Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.Application Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// Recreates the required App Engine features for the specified App Engine application, for example a Cloud /// Storage bucket or App Engine service account. Use this method if you receive an error message about a /// missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App /// Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM /// undelete API if possible at /// https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D /// . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log. /// /// The body of the request. /// /// Part of `name`. Required. Name of the application to repair. Example: apps/myapp /// public virtual RepairRequest Repair(Google.Apis.Appengine.v1.Data.RepairApplicationRequest body, string appsId) { return new RepairRequest(this.service, body, appsId); } /// /// Recreates the required App Engine features for the specified App Engine application, for example a Cloud /// Storage bucket or App Engine service account. Use this method if you receive an error message about a /// missing feature, for example, Error retrieving the App Engine service account. If you have deleted your App /// Engine service account, this will not be able to recreate it. Instead, you should attempt to use the IAM /// undelete API if possible at /// https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D /// . If the deletion was recent, the numeric ID can be found in the Cloud Console Activity Log. /// public class RepairRequest : AppengineBaseServiceRequest { /// Constructs a new Repair request. public RepairRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.RepairApplicationRequest body, string appsId) : base(service) { AppsId = appsId; Body = body; InitParameters(); } /// Part of `name`. Required. Name of the application to repair. Example: apps/myapp [Google.Apis.Util.RequestParameterAttribute("appsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AppsId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.RepairApplicationRequest Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "repair"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/apps/{appsId}:repair"; /// Initializes Repair parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("appsId", new Google.Apis.Discovery.Parameter { Name = "appsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } } /// The "projects" collection of methods. public class ProjectsResource { private const string Resource = "projects"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public ProjectsResource(Google.Apis.Services.IClientService service) { this.service = service; Locations = new LocationsResource(service); } /// Gets the Locations resource. public virtual LocationsResource Locations { get; } /// The "locations" collection of methods. public class LocationsResource { private const string Resource = "locations"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public LocationsResource(Google.Apis.Services.IClientService service) { this.service = service; Applications = new ApplicationsResource(service); } /// Gets the Applications resource. public virtual ApplicationsResource Applications { get; } /// The "applications" collection of methods. public class ApplicationsResource { private const string Resource = "applications"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public ApplicationsResource(Google.Apis.Services.IClientService service) { this.service = service; AuthorizedCertificates = new AuthorizedCertificatesResource(service); AuthorizedDomains = new AuthorizedDomainsResource(service); DomainMappings = new DomainMappingsResource(service); Services = new ServicesResource(service); } /// Gets the AuthorizedCertificates resource. public virtual AuthorizedCertificatesResource AuthorizedCertificates { get; } /// The "authorizedCertificates" collection of methods. public class AuthorizedCertificatesResource { private const string Resource = "authorizedCertificates"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public AuthorizedCertificatesResource(Google.Apis.Services.IClientService service) { this.service = service; } /// Uploads the specified SSL certificate. /// The body of the request. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// /// Part of `parent`. See documentation of `projectsId`. /// Part of `parent`. See documentation of `projectsId`. public virtual CreateRequest Create(Google.Apis.Appengine.v1.Data.AuthorizedCertificate body, string projectsId, string locationsId, string applicationsId) { return new CreateRequest(this.service, body, projectsId, locationsId, applicationsId); } /// Uploads the specified SSL certificate. public class CreateRequest : AppengineBaseServiceRequest { /// Constructs a new Create request. public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.AuthorizedCertificate body, string projectsId, string locationsId, string applicationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; Body = body; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.AuthorizedCertificate Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "create"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates"; /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Deletes the specified SSL certificate. /// /// Part of `name`. Required. Name of the resource to delete. Example: /// apps/myapp/authorizedCertificates/12345. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// /// Part of `name`. See documentation of `projectsId`. /// public virtual DeleteRequest Delete(string projectsId, string locationsId, string applicationsId, string authorizedCertificatesId) { return new DeleteRequest(this.service, projectsId, locationsId, applicationsId, authorizedCertificatesId); } /// Deletes the specified SSL certificate. public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId, string authorizedCertificatesId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; AuthorizedCertificatesId = authorizedCertificatesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to delete. Example: /// apps/myapp/authorizedCertificates/12345. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("authorizedCertificatesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AuthorizedCertificatesId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("authorizedCertificatesId", new Google.Apis.Discovery.Parameter { Name = "authorizedCertificatesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Gets the specified SSL certificate. /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/authorizedCertificates/12345. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// /// Part of `name`. See documentation of `projectsId`. /// public virtual GetRequest Get(string projectsId, string locationsId, string applicationsId, string authorizedCertificatesId) { return new GetRequest(this.service, projectsId, locationsId, applicationsId, authorizedCertificatesId); } /// Gets the specified SSL certificate. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId, string authorizedCertificatesId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; AuthorizedCertificatesId = authorizedCertificatesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/authorizedCertificates/12345. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("authorizedCertificatesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AuthorizedCertificatesId { get; private set; } /// Controls the set of fields returned in the GET response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } /// Controls the set of fields returned in the GET response. public enum ViewEnum { /// /// Basic certificate information, including applicable domains and expiration date. /// [Google.Apis.Util.StringValueAttribute("BASIC_CERTIFICATE")] BASICCERTIFICATE = 0, /// /// The information from BASIC_CERTIFICATE, plus detailed information on the domain mappings /// that have this certificate mapped. /// [Google.Apis.Util.StringValueAttribute("FULL_CERTIFICATE")] FULLCERTIFICATE = 1, } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("authorizedCertificatesId", new Google.Apis.Discovery.Parameter { Name = "authorizedCertificatesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("view", new Google.Apis.Discovery.Parameter { Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// Lists all SSL certificates the user is authorized to administer. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// /// Part of `parent`. See documentation of `projectsId`. /// Part of `parent`. See documentation of `projectsId`. public virtual ListRequest List(string projectsId, string locationsId, string applicationsId) { return new ListRequest(this.service, projectsId, locationsId, applicationsId); } /// Lists all SSL certificates the user is authorized to administer. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Controls the set of fields returned in the LIST response. [Google.Apis.Util.RequestParameterAttribute("view", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable View { get; set; } /// Controls the set of fields returned in the LIST response. public enum ViewEnum { /// /// Basic certificate information, including applicable domains and expiration date. /// [Google.Apis.Util.StringValueAttribute("BASIC_CERTIFICATE")] BASICCERTIFICATE = 0, /// /// The information from BASIC_CERTIFICATE, plus detailed information on the domain mappings /// that have this certificate mapped. /// [Google.Apis.Util.StringValueAttribute("FULL_CERTIFICATE")] FULLCERTIFICATE = 1, } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("view", new Google.Apis.Discovery.Parameter { Name = "view", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// Updates the specified SSL certificate. To renew a certificate and maintain its existing domain /// mappings, update certificate_data with a new certificate. The new certificate must be applicable /// to the same domains as the original certificate. The certificate display_name may also be /// updated. /// /// The body of the request. /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/authorizedCertificates/12345. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// /// Part of `name`. See documentation of `projectsId`. /// public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.AuthorizedCertificate body, string projectsId, string locationsId, string applicationsId, string authorizedCertificatesId) { return new PatchRequest(this.service, body, projectsId, locationsId, applicationsId, authorizedCertificatesId); } /// /// Updates the specified SSL certificate. To renew a certificate and maintain its existing domain /// mappings, update certificate_data with a new certificate. The new certificate must be applicable /// to the same domains as the original certificate. The certificate display_name may also be /// updated. /// public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.AuthorizedCertificate body, string projectsId, string locationsId, string applicationsId, string authorizedCertificatesId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; AuthorizedCertificatesId = authorizedCertificatesId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/authorizedCertificates/12345. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("authorizedCertificatesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string AuthorizedCertificatesId { get; private set; } /// /// Standard field mask for the set of fields to be updated. Updates are only supported on the /// certificate_raw_data and display_name fields. /// [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.AuthorizedCertificate Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedCertificates/{authorizedCertificatesId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("authorizedCertificatesId", new Google.Apis.Discovery.Parameter { Name = "authorizedCertificatesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Gets the AuthorizedDomains resource. public virtual AuthorizedDomainsResource AuthorizedDomains { get; } /// The "authorizedDomains" collection of methods. public class AuthorizedDomainsResource { private const string Resource = "authorizedDomains"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public AuthorizedDomainsResource(Google.Apis.Services.IClientService service) { this.service = service; } /// Lists all domains the user is authorized to administer. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// /// Part of `parent`. See documentation of `projectsId`. /// Part of `parent`. See documentation of `projectsId`. public virtual ListRequest List(string projectsId, string locationsId, string applicationsId) { return new ListRequest(this.service, projectsId, locationsId, applicationsId); } /// Lists all domains the user is authorized to administer. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/authorizedDomains"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Gets the DomainMappings resource. public virtual DomainMappingsResource DomainMappings { get; } /// The "domainMappings" collection of methods. public class DomainMappingsResource { private const string Resource = "domainMappings"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public DomainMappingsResource(Google.Apis.Services.IClientService service) { this.service = service; } /// /// Maps a domain to an application. A user must be authorized to administer a domain in order to /// map it to an application. For a list of available authorized domains, see /// AuthorizedDomains.ListAuthorizedDomains. /// /// The body of the request. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// /// Part of `parent`. See documentation of `projectsId`. /// Part of `parent`. See documentation of `projectsId`. public virtual CreateRequest Create(Google.Apis.Appengine.v1.Data.DomainMapping body, string projectsId, string locationsId, string applicationsId) { return new CreateRequest(this.service, body, projectsId, locationsId, applicationsId); } /// /// Maps a domain to an application. A user must be authorized to administer a domain in order to /// map it to an application. For a list of available authorized domains, see /// AuthorizedDomains.ListAuthorizedDomains. /// public class CreateRequest : AppengineBaseServiceRequest { /// Constructs a new Create request. public CreateRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.DomainMapping body, string projectsId, string locationsId, string applicationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; Body = body; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// /// Whether the domain creation should override any existing mappings for this domain. By /// default, overrides are rejected. /// [Google.Apis.Util.RequestParameterAttribute("overrideStrategy", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable OverrideStrategy { get; set; } /// /// Whether the domain creation should override any existing mappings for this domain. By /// default, overrides are rejected. /// public enum OverrideStrategyEnum { /// Strategy unspecified. Defaults to STRICT. [Google.Apis.Util.StringValueAttribute("UNSPECIFIED_DOMAIN_OVERRIDE_STRATEGY")] UNSPECIFIEDDOMAINOVERRIDESTRATEGY = 0, /// /// Overrides not allowed. If a mapping already exists for the specified domain, the request /// will return an ALREADY_EXISTS (409). /// [Google.Apis.Util.StringValueAttribute("STRICT")] STRICT = 1, /// /// Overrides allowed. If a mapping already exists for the specified domain, the request /// will overwrite it. Note that this might stop another Google product from serving. For /// example, if the domain is mapped to another App Engine application, that app will no /// longer serve from that domain. /// [Google.Apis.Util.StringValueAttribute("OVERRIDE")] OVERRIDE__ = 2, } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.DomainMapping Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "create"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings"; /// Initializes Create parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("overrideStrategy", new Google.Apis.Discovery.Parameter { Name = "overrideStrategy", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// Deletes the specified domain mapping. A user must be authorized to administer the associated /// domain in order to delete a DomainMapping resource. /// /// /// Part of `name`. Required. Name of the resource to delete. Example: /// apps/myapp/domainMappings/example.com. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual DeleteRequest Delete(string projectsId, string locationsId, string applicationsId, string domainMappingsId) { return new DeleteRequest(this.service, projectsId, locationsId, applicationsId, domainMappingsId); } /// /// Deletes the specified domain mapping. A user must be authorized to administer the associated /// domain in order to delete a DomainMapping resource. /// public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId, string domainMappingsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; DomainMappingsId = domainMappingsId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to delete. Example: /// apps/myapp/domainMappings/example.com. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("domainMappingsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string DomainMappingsId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("domainMappingsId", new Google.Apis.Discovery.Parameter { Name = "domainMappingsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Gets the specified domain mapping. /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/domainMappings/example.com. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual GetRequest Get(string projectsId, string locationsId, string applicationsId, string domainMappingsId) { return new GetRequest(this.service, projectsId, locationsId, applicationsId, domainMappingsId); } /// Gets the specified domain mapping. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId, string domainMappingsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; DomainMappingsId = domainMappingsId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/domainMappings/example.com. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("domainMappingsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string DomainMappingsId { get; private set; } /// Gets the method name. public override string MethodName => "get"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}"; /// Initializes Get parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("domainMappingsId", new Google.Apis.Discovery.Parameter { Name = "domainMappingsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Lists the domain mappings on an application. /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// /// Part of `parent`. See documentation of `projectsId`. /// Part of `parent`. See documentation of `projectsId`. public virtual ListRequest List(string projectsId, string locationsId, string applicationsId) { return new ListRequest(this.service, projectsId, locationsId, applicationsId); } /// Lists the domain mappings on an application. public class ListRequest : AppengineBaseServiceRequest { /// Constructs a new List request. public ListRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; InitParameters(); } /// /// Part of `parent`. Required. Name of the parent Application resource. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `parent`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Maximum results to return per page. [Google.Apis.Util.RequestParameterAttribute("pageSize", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable PageSize { get; set; } /// Continuation token for fetching the next page of results. [Google.Apis.Util.RequestParameterAttribute("pageToken", Google.Apis.Util.RequestParameterType.Query)] public virtual string PageToken { get; set; } /// Gets the method name. public override string MethodName => "list"; /// Gets the HTTP method. public override string HttpMethod => "GET"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings"; /// Initializes List parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageSize", new Google.Apis.Discovery.Parameter { Name = "pageSize", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("pageToken", new Google.Apis.Discovery.Parameter { Name = "pageToken", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } /// /// Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update /// certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to /// administer the associated domain in order to update a DomainMapping resource. /// /// The body of the request. /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/domainMappings/example.com. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.DomainMapping body, string projectsId, string locationsId, string applicationsId, string domainMappingsId) { return new PatchRequest(this.service, body, projectsId, locationsId, applicationsId, domainMappingsId); } /// /// Updates the specified domain mapping. To map an SSL certificate to a domain mapping, update /// certificate_id to point to an AuthorizedCertificate resource. A user must be authorized to /// administer the associated domain in order to update a DomainMapping resource. /// public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.DomainMapping body, string projectsId, string locationsId, string applicationsId, string domainMappingsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; DomainMappingsId = domainMappingsId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/domainMappings/example.com. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("domainMappingsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string DomainMappingsId { get; private set; } /// Required. Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.DomainMapping Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/domainMappings/{domainMappingsId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("domainMappingsId", new Google.Apis.Discovery.Parameter { Name = "domainMappingsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Gets the Services resource. public virtual ServicesResource Services { get; } /// The "services" collection of methods. public class ServicesResource { private const string Resource = "services"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public ServicesResource(Google.Apis.Services.IClientService service) { this.service = service; Versions = new VersionsResource(service); } /// Gets the Versions resource. public virtual VersionsResource Versions { get; } /// The "versions" collection of methods. public class VersionsResource { private const string Resource = "versions"; /// The service which this resource belongs to. private readonly Google.Apis.Services.IClientService service; /// Constructs a new resource. public VersionsResource(Google.Apis.Services.IClientService service) { this.service = service; } /// Deletes an existing Version resource. /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual DeleteRequest Delete(string projectsId, string locationsId, string applicationsId, string servicesId, string versionsId) { return new DeleteRequest(this.service, projectsId, locationsId, applicationsId, servicesId, versionsId); } /// Deletes an existing Version resource. public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId, string servicesId, string versionsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; ServicesId = servicesId; VersionsId = versionsId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default/versions/v1. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Exports a user image to Artifact Registry. /// The body of the request. /// /// Part of `name`. Required. Name of the App Engine version resource. Format: /// apps/{app}/services/{service}/versions/{version} /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual ExportAppImageRequest ExportAppImage(Google.Apis.Appengine.v1.Data.ExportAppImageRequest body, string projectsId, string locationsId, string applicationsId, string servicesId, string versionsId) { return new ExportAppImageRequest(this.service, body, projectsId, locationsId, applicationsId, servicesId, versionsId); } /// Exports a user image to Artifact Registry. public class ExportAppImageRequest : AppengineBaseServiceRequest { /// Constructs a new ExportAppImage request. public ExportAppImageRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.ExportAppImageRequest body, string projectsId, string locationsId, string applicationsId, string servicesId, string versionsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; ServicesId = servicesId; VersionsId = versionsId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the App Engine version resource. Format: /// apps/{app}/services/{service}/versions/{version} /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.ExportAppImageRequest Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "exportAppImage"; /// Gets the HTTP method. public override string HttpMethod => "POST"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}:exportAppImage"; /// Initializes ExportAppImage parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// /// Updates the specified Version resource. You can specify the following fields depending on /// the App Engine environment and type of scaling that the version resource uses:Standard /// environment instance_class /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic /// scaling in the standard environment: automatic_scaling.min_idle_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.max_idle_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automaticScaling.standard_scheduler_settings.max_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.min_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.target_cpu_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.target_throughput_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic /// scaling or manual scaling in the standard environment: serving_status /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) /// manual_scaling.instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible /// environment serving_status /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic /// scaling in the flexible environment: automatic_scaling.min_total_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.max_total_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.cool_down_period_sec /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.cpu_utilization.target_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual /// scaling in the flexible environment: manual_scaling.instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) /// /// The body of the request. /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/services/default/versions/1. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.Version body, string projectsId, string locationsId, string applicationsId, string servicesId, string versionsId) { return new PatchRequest(this.service, body, projectsId, locationsId, applicationsId, servicesId, versionsId); } /// /// Updates the specified Version resource. You can specify the following fields depending on /// the App Engine environment and type of scaling that the version resource uses:Standard /// environment instance_class /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic /// scaling in the standard environment: automatic_scaling.min_idle_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.max_idle_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automaticScaling.standard_scheduler_settings.max_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.min_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.target_cpu_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings) /// automaticScaling.standard_scheduler_settings.target_throughput_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic /// scaling or manual scaling in the standard environment: serving_status /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status) /// manual_scaling.instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)Flexible /// environment serving_status /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic /// scaling in the flexible environment: automatic_scaling.min_total_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.max_total_instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.cool_down_period_sec /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling) /// automatic_scaling.cpu_utilization.target_utilization /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)manual /// scaling in the flexible environment: manual_scaling.instances /// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling) /// public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.Version body, string projectsId, string locationsId, string applicationsId, string servicesId, string versionsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; ServicesId = servicesId; VersionsId = versionsId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/services/default/versions/1. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("versionsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string VersionsId { get; private set; } /// Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.Version Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}/versions/{versionsId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("versionsId", new Google.Apis.Discovery.Parameter { Name = "versionsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// Deletes the specified service and all enclosed versions. /// /// Part of `name`. Required. Name of the resource requested. Example: apps/myapp/services/default. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual DeleteRequest Delete(string projectsId, string locationsId, string applicationsId, string servicesId) { return new DeleteRequest(this.service, projectsId, locationsId, applicationsId, servicesId); } /// Deletes the specified service and all enclosed versions. public class DeleteRequest : AppengineBaseServiceRequest { /// Constructs a new Delete request. public DeleteRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId, string applicationsId, string servicesId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; ServicesId = servicesId; InitParameters(); } /// /// Part of `name`. Required. Name of the resource requested. Example: /// apps/myapp/services/default. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// Gets the method name. public override string MethodName => "delete"; /// Gets the HTTP method. public override string HttpMethod => "DELETE"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}"; /// Initializes Delete parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); } } /// Updates the configuration of the specified service. /// The body of the request. /// /// Part of `name`. Required. Name of the resource to update. Example: apps/myapp/services/default. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.Service body, string projectsId, string locationsId, string applicationsId, string servicesId) { return new PatchRequest(this.service, body, projectsId, locationsId, applicationsId, servicesId); } /// Updates the configuration of the specified service. public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.Service body, string projectsId, string locationsId, string applicationsId, string servicesId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; ServicesId = servicesId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the resource to update. Example: /// apps/myapp/services/default. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("servicesId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ServicesId { get; private set; } /// /// 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). /// [Google.Apis.Util.RequestParameterAttribute("migrateTraffic", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable MigrateTraffic { get; set; } /// Required. Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.Service Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}/services/{servicesId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("servicesId", new Google.Apis.Discovery.Parameter { Name = "servicesId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("migrateTraffic", new Google.Apis.Discovery.Parameter { Name = "migrateTraffic", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } /// /// 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. /// /// The body of the request. /// /// Part of `name`. Required. Name of the Application resource to update. Example: apps/myapp. /// /// Part of `name`. See documentation of `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual PatchRequest Patch(Google.Apis.Appengine.v1.Data.Application body, string projectsId, string locationsId, string applicationsId) { return new PatchRequest(this.service, body, projectsId, locationsId, applicationsId); } /// /// 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. /// public class PatchRequest : AppengineBaseServiceRequest { /// Constructs a new Patch request. public PatchRequest(Google.Apis.Services.IClientService service, Google.Apis.Appengine.v1.Data.Application body, string projectsId, string locationsId, string applicationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; ApplicationsId = applicationsId; Body = body; InitParameters(); } /// /// Part of `name`. Required. Name of the Application resource to update. Example: apps/myapp. /// [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("locationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string LocationsId { get; private set; } /// Part of `name`. See documentation of `projectsId`. [Google.Apis.Util.RequestParameterAttribute("applicationsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ApplicationsId { get; private set; } /// Required. Standard field mask for the set of fields to be updated. [Google.Apis.Util.RequestParameterAttribute("updateMask", Google.Apis.Util.RequestParameterType.Query)] public virtual object UpdateMask { get; set; } /// Gets or sets the body of this request. Google.Apis.Appengine.v1.Data.Application Body { get; set; } /// Returns the body of the request. protected override object GetBody() => Body; /// Gets the method name. public override string MethodName => "patch"; /// Gets the HTTP method. public override string HttpMethod => "PATCH"; /// Gets the REST path. public override string RestPath => "v1/projects/{projectsId}/locations/{locationsId}/applications/{applicationsId}"; /// Initializes Patch parameter list. protected override void InitParameters() { base.InitParameters(); RequestParameters.Add("projectsId", new Google.Apis.Discovery.Parameter { Name = "projectsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("locationsId", new Google.Apis.Discovery.Parameter { Name = "locationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("applicationsId", new Google.Apis.Discovery.Parameter { Name = "applicationsId", IsRequired = true, ParameterType = "path", DefaultValue = null, Pattern = null, }); RequestParameters.Add("updateMask", new Google.Apis.Discovery.Parameter { Name = "updateMask", IsRequired = false, ParameterType = "query", DefaultValue = null, Pattern = null, }); } } } } } } namespace Google.Apis.Appengine.v1.Data { /// Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration for API handlers. public class ApiConfigHandler : Google.Apis.Requests.IDirectResponseSchema { /// /// Action to take when users access resources that require authentication. Defaults to redirect. /// [Newtonsoft.Json.JsonPropertyAttribute("authFailAction")] public virtual string AuthFailAction { get; set; } /// Level of login required to access this resource. Defaults to optional. [Newtonsoft.Json.JsonPropertyAttribute("login")] public virtual string Login { get; set; } /// Path to the script from the application root directory. [Newtonsoft.Json.JsonPropertyAttribute("script")] public virtual string Script { get; set; } /// Security (HTTPS) enforcement for this URL. [Newtonsoft.Json.JsonPropertyAttribute("securityLevel")] public virtual string SecurityLevel { get; set; } /// URL to serve the endpoint at. [Newtonsoft.Json.JsonPropertyAttribute("url")] public virtual string Url { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Uses Google Cloud Endpoints to handle requests. public class ApiEndpointHandler : Google.Apis.Requests.IDirectResponseSchema { /// Path to the script from the application root directory. [Newtonsoft.Json.JsonPropertyAttribute("scriptPath")] public virtual string ScriptPath { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// An Application resource contains the top-level configuration of an App Engine application. public class Application : Google.Apis.Requests.IDirectResponseSchema { /// /// Google Apps authentication domain that controls which users can access this application.Defaults to open /// access for any Google Account. /// [Newtonsoft.Json.JsonPropertyAttribute("authDomain")] public virtual string AuthDomain { get; set; } /// /// 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 /// [Newtonsoft.Json.JsonPropertyAttribute("codeBucket")] public virtual string CodeBucket { get; set; } /// /// The type of the Cloud Firestore or Cloud Datastore database associated with this application. /// [Newtonsoft.Json.JsonPropertyAttribute("databaseType")] public virtual string DatabaseType { get; set; } /// /// Output only. Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("defaultBucket")] public virtual string DefaultBucket { get; set; } /// Cookie expiration policy for this application. [Newtonsoft.Json.JsonPropertyAttribute("defaultCookieExpiration")] public virtual object DefaultCookieExpiration { get; set; } /// /// Output only. Hostname used to reach this application, as resolved by App Engine.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("defaultHostname")] public virtual string DefaultHostname { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("dispatchRules")] public virtual System.Collections.Generic.IList DispatchRules { get; set; } /// The feature specific settings to be used in the application. [Newtonsoft.Json.JsonPropertyAttribute("featureSettings")] public virtual FeatureSettings FeatureSettings { get; set; } /// /// Output only. The Google Container Registry domain used for storing managed build docker images for this /// application. /// [Newtonsoft.Json.JsonPropertyAttribute("gcrDomain")] public virtual string GcrDomain { get; set; } /// /// Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested /// by setting the IncludeExtraData field in GetApplicationRequest /// [Newtonsoft.Json.JsonPropertyAttribute("generatedCustomerMetadata")] public virtual System.Collections.Generic.IDictionary GeneratedCustomerMetadata { get; set; } [Newtonsoft.Json.JsonPropertyAttribute("iap")] public virtual IdentityAwareProxy Iap { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } /// /// Location from which this application runs. Application instances run out of the data centers in the /// specified location, which is also where all of the application's end user content is stored.Defaults to /// us-central.View the list of supported locations (https://cloud.google.com/appengine/docs/locations). /// [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] public virtual string ServiceAccount { get; set; } /// Serving status of this application. [Newtonsoft.Json.JsonPropertyAttribute("servingStatus")] public virtual string ServingStatus { get; set; } /// /// The SSL policy that will be applied to the application. If set to Modern it will restrict traffic with TLS /// < 1.2 and allow only Modern Ciphers suite /// [Newtonsoft.Json.JsonPropertyAttribute("sslPolicy")] public virtual string SslPolicy { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// An SSL certificate that a user has been authorized to administer. A user is authorized to administer any /// certificate that applies to one of their authorized domains. /// public class AuthorizedCertificate : Google.Apis.Requests.IDirectResponseSchema { /// /// The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a /// certificate authority. /// [Newtonsoft.Json.JsonPropertyAttribute("certificateRawData")] public virtual CertificateRawData CertificateRawData { get; set; } /// /// The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My /// Certificate. /// [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } /// /// Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on /// applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when /// specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("domainMappingsCount")] public virtual System.Nullable DomainMappingsCount { get; set; } /// /// Output only. Topmost applicable domains of this certificate. This certificate applies to these domains and /// their subdomains. Example: example.com.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("domainNames")] public virtual System.Collections.Generic.IList DomainNames { get; set; } private string _expireTimeRaw; private object _expireTime; /// /// The time when this certificate expires. To update the renewal time on this certificate, upload an SSL /// certificate with a different expiration time using /// AuthorizedCertificates.UpdateAuthorizedCertificate.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("expireTime")] public virtual string ExpireTimeRaw { get => _expireTimeRaw; set { _expireTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _expireTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")] public virtual object ExpireTime { get => _expireTime; set { _expireTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _expireTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? ExpireTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(ExpireTimeRaw); set => ExpireTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// /// Output only. Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate /// resource creation. Example: 12345.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } /// /// Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle /// of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate /// is manually administered by the user, this field will be empty.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("managedCertificate")] public virtual ManagedCertificate ManagedCertificate { get; set; } /// /// Output only. Full path to the AuthorizedCertificate resource in the API. Example: /// apps/myapp/authorizedCertificates/12345.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// /// Output only. The full paths to user visible Domain Mapping resources that have this certificate mapped. /// Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain /// mappings if the user does not have VIEWER permissions on all of the applications that have this certificate /// mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when /// specifically requested by the view=FULL_CERTIFICATE option.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("visibleDomainMappings")] public virtual System.Collections.Generic.IList VisibleDomainMappings { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// 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). /// public class AuthorizedDomain : Google.Apis.Requests.IDirectResponseSchema { /// Fully qualified domain name of the domain authorized for use. Example: example.com. [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } /// /// Full path to the AuthorizedDomain resource in the API. Example: /// apps/myapp/authorizedDomains/example.com.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Automatic scaling is based on request rate, response latencies, and other application metrics. /// public class AutomaticScaling : Google.Apis.Requests.IDirectResponseSchema { /// /// The time period that the Autoscaler (https://cloud.google.com/compute/docs/autoscaler/) should wait before /// it starts collecting information from a new instance. This prevents the autoscaler from collecting /// information when the instance is initializing, during which the collected usage would not be reliable. Only /// applicable in the App Engine flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("coolDownPeriod")] public virtual object CoolDownPeriod { get; set; } /// Target scaling by CPU usage. [Newtonsoft.Json.JsonPropertyAttribute("cpuUtilization")] public virtual CpuUtilization CpuUtilization { get; set; } /// Target scaling by disk usage. [Newtonsoft.Json.JsonPropertyAttribute("diskUtilization")] public virtual DiskUtilization DiskUtilization { get; set; } /// /// Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new /// instance.Defaults to a runtime-specific value. /// [Newtonsoft.Json.JsonPropertyAttribute("maxConcurrentRequests")] public virtual System.Nullable MaxConcurrentRequests { get; set; } /// Maximum number of idle instances that should be maintained for this version. [Newtonsoft.Json.JsonPropertyAttribute("maxIdleInstances")] public virtual System.Nullable MaxIdleInstances { get; set; } /// /// Maximum amount of time that a request should wait in the pending queue before starting a new instance to /// handle it. /// [Newtonsoft.Json.JsonPropertyAttribute("maxPendingLatency")] public virtual object MaxPendingLatency { get; set; } /// Maximum number of instances that should be started to handle requests for this version. [Newtonsoft.Json.JsonPropertyAttribute("maxTotalInstances")] public virtual System.Nullable MaxTotalInstances { get; set; } /// /// Minimum number of idle instances that should be maintained for this version. Only applicable for the default /// version of a service. /// [Newtonsoft.Json.JsonPropertyAttribute("minIdleInstances")] public virtual System.Nullable MinIdleInstances { get; set; } /// /// Minimum amount of time a request should wait in the pending queue before starting a new instance to handle /// it. /// [Newtonsoft.Json.JsonPropertyAttribute("minPendingLatency")] public virtual object MinPendingLatency { get; set; } /// Minimum number of running instances that should be maintained for this version. [Newtonsoft.Json.JsonPropertyAttribute("minTotalInstances")] public virtual System.Nullable MinTotalInstances { get; set; } /// Target scaling by network usage. [Newtonsoft.Json.JsonPropertyAttribute("networkUtilization")] public virtual NetworkUtilization NetworkUtilization { get; set; } /// Target scaling by request utilization. [Newtonsoft.Json.JsonPropertyAttribute("requestUtilization")] public virtual RequestUtilization RequestUtilization { get; set; } /// Scheduler settings for standard environment. [Newtonsoft.Json.JsonPropertyAttribute("standardSchedulerSettings")] public virtual StandardSchedulerSettings StandardSchedulerSettings { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// 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. /// public class BasicScaling : Google.Apis.Requests.IDirectResponseSchema { /// /// Duration of time after the last request that an instance must wait before the instance is shut down. /// [Newtonsoft.Json.JsonPropertyAttribute("idleTimeout")] public virtual object IdleTimeout { get; set; } /// Maximum number of instances to create for this version. [Newtonsoft.Json.JsonPropertyAttribute("maxInstances")] public virtual System.Nullable MaxInstances { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Request message for Firewall.BatchUpdateIngressRules. public class BatchUpdateIngressRulesRequest : Google.Apis.Requests.IDirectResponseSchema { /// A list of FirewallRules to replace the existing set. [Newtonsoft.Json.JsonPropertyAttribute("ingressRules")] public virtual System.Collections.Generic.IList IngressRules { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for Firewall.UpdateAllIngressRules. public class BatchUpdateIngressRulesResponse : Google.Apis.Requests.IDirectResponseSchema { /// The full list of ingress FirewallRules for this application. [Newtonsoft.Json.JsonPropertyAttribute("ingressRules")] public virtual System.Collections.Generic.IList IngressRules { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// An SSL certificate obtained from a certificate authority. public class CertificateRawData : Google.Apis.Requests.IDirectResponseSchema { /// /// Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. /// The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE /// KEY----- -----END RSA PRIVATE KEY----- @InputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("privateKey")] public virtual string PrivateKey { get; set; } /// /// PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the /// header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- /// [Newtonsoft.Json.JsonPropertyAttribute("publicCertificate")] public virtual string PublicCertificate { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Options for the build operations performed as a part of the version deployment. Only applicable for App Engine /// flexible environment when creating a version using source code directly. /// public class CloudBuildOptions : Google.Apis.Requests.IDirectResponseSchema { /// /// Path to the yaml file used in deployment, used to determine runtime configuration details.Required for /// flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for /// more details. /// [Newtonsoft.Json.JsonPropertyAttribute("appYamlPath")] public virtual string AppYamlPath { get; set; } /// /// The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 /// minutes. /// [Newtonsoft.Json.JsonPropertyAttribute("cloudBuildTimeout")] public virtual object CloudBuildTimeout { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// 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. /// public class ContainerInfo : Google.Apis.Requests.IDirectResponseSchema { /// /// 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" /// [Newtonsoft.Json.JsonPropertyAttribute("image")] public virtual string Image { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// ContainerState contains the externally-visible container state that is used to communicate the state and /// reasoning for that state to the CLH. This data is not persisted by CCFE, but is instead derived from CCFE's /// internal representation of the container state. /// public class ContainerState : Google.Apis.Requests.IDirectResponseSchema { [Newtonsoft.Json.JsonPropertyAttribute("currentReasons")] public virtual Reasons CurrentReasons { get; set; } /// /// The previous and current reasons for a container state will be sent for a container event. CLHs that need to /// know the signal that caused the container event to trigger (edges) as opposed to just knowing the state can /// act upon differences in the previous and current reasons.Reasons will be provided for every system: service /// management, data governance, abuse, and billing.If this is a CCFE-triggered event used for reconciliation /// then the current reasons will be set to their *_CONTROL_PLANE_SYNC state. The previous reasons will contain /// the last known set of non-unknown non-control_plane_sync reasons for the state. /// [Newtonsoft.Json.JsonPropertyAttribute("previousReasons")] public virtual Reasons PreviousReasons { get; set; } /// /// The current state of the container. This state is the culmination of all of the opinions from external /// systems that CCFE knows about of the container. /// [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual string State { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Target scaling by CPU usage. public class CpuUtilization : Google.Apis.Requests.IDirectResponseSchema { /// Period of time over which CPU utilization is calculated. [Newtonsoft.Json.JsonPropertyAttribute("aggregationWindowLength")] public virtual object AggregationWindowLength { get; set; } /// Target CPU utilization ratio to maintain when scaling. Must be between 0 and 1. [Newtonsoft.Json.JsonPropertyAttribute("targetUtilization")] public virtual System.Nullable TargetUtilization { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Metadata for the given google.longrunning.Operation during a google.appengine.v1.CreateVersionRequest. /// public class CreateVersionMetadataV1 : Google.Apis.Requests.IDirectResponseSchema { /// The Cloud Build ID if one was created as part of the version create. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("cloudBuildId")] public virtual string CloudBuildId { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Metadata for the given google.longrunning.Operation during a google.appengine.v1alpha.CreateVersionRequest. /// public class CreateVersionMetadataV1Alpha : Google.Apis.Requests.IDirectResponseSchema { /// The Cloud Build ID if one was created as part of the version create. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("cloudBuildId")] public virtual string CloudBuildId { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Metadata for the given google.longrunning.Operation during a google.appengine.v1beta.CreateVersionRequest. /// public class CreateVersionMetadataV1Beta : Google.Apis.Requests.IDirectResponseSchema { /// The Cloud Build ID if one was created as part of the version create. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("cloudBuildId")] public virtual string CloudBuildId { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// 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 /// public class Date : Google.Apis.Requests.IDirectResponseSchema { /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("day")] public virtual System.Nullable Day { get; set; } /// Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. [Newtonsoft.Json.JsonPropertyAttribute("month")] public virtual System.Nullable Month { get; set; } /// Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. [Newtonsoft.Json.JsonPropertyAttribute("year")] public virtual System.Nullable Year { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Request message for Instances.DebugInstance. public class DebugInstanceRequest : Google.Apis.Requests.IDirectResponseSchema { /// /// 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). /// [Newtonsoft.Json.JsonPropertyAttribute("sshKey")] public virtual string SshKey { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Code and application artifacts used to deploy a version to App Engine. public class Deployment : Google.Apis.Requests.IDirectResponseSchema { /// /// Options for any Google Cloud Build builds created as a part of this deployment.These options will only be /// used if a new build is created, such as when deploying to the App Engine flexible environment using files or /// zip. /// [Newtonsoft.Json.JsonPropertyAttribute("cloudBuildOptions")] public virtual CloudBuildOptions CloudBuildOptions { get; set; } /// /// The Docker image for the container that runs the version. Only applicable for instances running in the App /// Engine flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("container")] public virtual ContainerInfo Container { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("files")] public virtual System.Collections.Generic.IDictionary Files { get; set; } /// The zip file for this deployment, if this is a zip deployment. [Newtonsoft.Json.JsonPropertyAttribute("zip")] public virtual ZipInfo Zip { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Target scaling by disk usage. Only applicable in the App Engine flexible environment. public class DiskUtilization : Google.Apis.Requests.IDirectResponseSchema { /// Target bytes read per second. [Newtonsoft.Json.JsonPropertyAttribute("targetReadBytesPerSecond")] public virtual System.Nullable TargetReadBytesPerSecond { get; set; } /// Target ops read per seconds. [Newtonsoft.Json.JsonPropertyAttribute("targetReadOpsPerSecond")] public virtual System.Nullable TargetReadOpsPerSecond { get; set; } /// Target bytes written per second. [Newtonsoft.Json.JsonPropertyAttribute("targetWriteBytesPerSecond")] public virtual System.Nullable TargetWriteBytesPerSecond { get; set; } /// Target ops written per second. [Newtonsoft.Json.JsonPropertyAttribute("targetWriteOpsPerSecond")] public virtual System.Nullable TargetWriteOpsPerSecond { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// A domain serving an App Engine application. public class DomainMapping : Google.Apis.Requests.IDirectResponseSchema { /// Relative name of the domain serving the application. Example: example.com. [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } /// /// Output only. Full path to the DomainMapping resource in the API. Example: /// apps/myapp/domainMapping/example.com.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// /// Output only. The resource records required to configure this domain mapping. These records must be added to /// the domain's DNS configuration in order to serve the application via this domain mapping.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("resourceRecords")] public virtual System.Collections.Generic.IList ResourceRecords { get; set; } /// SSL configuration for this domain. If unconfigured, this domain will not serve with SSL. [Newtonsoft.Json.JsonPropertyAttribute("sslSettings")] public virtual SslSettings SslSettings { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical /// example is to use it as the request or the response type of an API method. For instance: service Foo { rpc /// Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } /// public class Empty : Google.Apis.Requests.IDirectResponseSchema { /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Google Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides /// tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible /// environment deployments.The fields here refer to the name and configuration ID of a "service" resource in the /// Service Management API (https://cloud.google.com/service-management/overview). /// public class EndpointsApiService : Google.Apis.Requests.IDirectResponseSchema { /// /// Endpoints service configuration ID as specified by the Service Management API. For example "2016-09-19r1".By /// default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up /// with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new /// configuration ID. The config_id field is used to give the configuration ID and is required in this /// case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints /// fetches the latest configuration and does not need the configuration ID. In this case, config_id must be /// omitted. /// [Newtonsoft.Json.JsonPropertyAttribute("configId")] public virtual string ConfigId { get; set; } /// Enable or disable trace sampling. By default, this is set to false for enabled. [Newtonsoft.Json.JsonPropertyAttribute("disableTraceSampling")] public virtual System.Nullable DisableTraceSampling { get; set; } /// /// Endpoints service name which is the name of the "service" resource in the Service Management API. For /// example "myapi.endpoints.myproject.cloud.goog" /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// /// Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted. /// [Newtonsoft.Json.JsonPropertyAttribute("rolloutStrategy")] public virtual string RolloutStrategy { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// The entrypoint for the application. public class Entrypoint : Google.Apis.Requests.IDirectResponseSchema { /// The format should be a shell command that can be fed to bash -c. [Newtonsoft.Json.JsonPropertyAttribute("shell")] public virtual string Shell { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Custom static error page to be served when an error occurs. public class ErrorHandler : Google.Apis.Requests.IDirectResponseSchema { /// Error condition this handler applies to. [Newtonsoft.Json.JsonPropertyAttribute("errorCode")] public virtual string ErrorCode { get; set; } /// MIME type of file. Defaults to text/html. [Newtonsoft.Json.JsonPropertyAttribute("mimeType")] public virtual string MimeType { get; set; } /// Static file content to be served for this error. [Newtonsoft.Json.JsonPropertyAttribute("staticFile")] public virtual string StaticFile { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Request message for Versions.ExportAppImage. public class ExportAppImageRequest : Google.Apis.Requests.IDirectResponseSchema { /// /// Optional. The full resource name of the AR repository to export to. Format: /// projects/{project}/locations/{location}/repositories/{repository} If not specified, defaults to /// projects/{project}/locations/{location}/repositories/gae-standard in the same region as the app. The default /// repository will be created if it does not exist. /// [Newtonsoft.Json.JsonPropertyAttribute("destinationRepository")] public virtual string DestinationRepository { get; set; } /// Optional. Optional: A service account to use for authenticating to Artifact Registry. [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] public virtual string ServiceAccount { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// The feature specific settings to be used in the application. These define behaviors that are user configurable. /// public class FeatureSettings : Google.Apis.Requests.IDirectResponseSchema { /// /// Boolean value indicating if split health checks should be used instead of the legacy health checks. At an /// app.yaml level, this means defaulting to 'readiness_check' and 'liveness_check' values instead of /// 'health_check' ones. Once the legacy 'health_check' behavior is deprecated, and this value is always true, /// this setting can be removed. /// [Newtonsoft.Json.JsonPropertyAttribute("splitHealthChecks")] public virtual System.Nullable SplitHealthChecks { get; set; } /// /// If true, use Container-Optimized OS (https://cloud.google.com/container-optimized-os/) base image for VMs, /// rather than a base Debian image. /// [Newtonsoft.Json.JsonPropertyAttribute("useContainerOptimizedOs")] public virtual System.Nullable UseContainerOptimizedOs { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Single source file that is part of the version to be deployed. Each source file that is deployed must be /// specified separately. /// public class FileInfo : Google.Apis.Requests.IDirectResponseSchema { /// The MIME type of the file.Defaults to the value from Google Cloud Storage. [Newtonsoft.Json.JsonPropertyAttribute("mimeType")] public virtual string MimeType { get; set; } /// The SHA1 hash of the file, in hex. [Newtonsoft.Json.JsonPropertyAttribute("sha1Sum")] public virtual string Sha1Sum { get; set; } /// /// 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//'. /// [Newtonsoft.Json.JsonPropertyAttribute("sourceUrl")] public virtual string SourceUrl { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// A single firewall rule that is evaluated against incoming traffic and provides an action to take on matched /// requests. A positive integer between 1, Int32.MaxValue-1 that defines the order of rule evaluation. Rules with /// the lowest priority are evaluated first.A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 /// traffic when no previous rule matches. Only the action of this rule can be modified by the user. /// public class FirewallRule : Google.Apis.Requests.IDirectResponseSchema { /// The action to take on matched requests. [Newtonsoft.Json.JsonPropertyAttribute("action")] public virtual string Action { get; set; } /// /// An optional string description of this rule. This field has a maximum length of 400 characters. /// [Newtonsoft.Json.JsonPropertyAttribute("description")] public virtual string Description { get; set; } [Newtonsoft.Json.JsonPropertyAttribute("priority")] public virtual System.Nullable Priority { get; set; } /// /// IP address or range, defined using CIDR notation, of requests that this rule applies to. You can use the /// wildcard character "*" to match all IPs equivalent to "0/0" and "::/0" together. Examples: 192.168.1.1 or /// 192.168.0.0/16 or 2001:db8::/32 or 2001:0db8:0000:0042:0000:8a2e:0370:7334. Truncation will be silently /// performed on addresses which are not properly truncated. For example, 1.2.3.4/24 is accepted as the same /// address as 1.2.3.0/24. Similarly, for IPv6, 2001:db8::1/32 is accepted as the same address as 2001:db8::/32. /// [Newtonsoft.Json.JsonPropertyAttribute("sourceRange")] public virtual string SourceRange { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Runtime settings for the App Engine flexible environment. public class FlexibleRuntimeSettings : Google.Apis.Requests.IDirectResponseSchema { /// The operating system of the application runtime. [Newtonsoft.Json.JsonPropertyAttribute("operatingSystem")] public virtual string OperatingSystem { get; set; } /// The runtime version of an App Engine flexible application. [Newtonsoft.Json.JsonPropertyAttribute("runtimeVersion")] public virtual string RuntimeVersion { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// For use only by GCE. GceTag is a wrapper around the GCE administrative tag with parent info. public class GceTag : Google.Apis.Requests.IDirectResponseSchema { /// /// The parents(s) of the tag. Eg. projects/123, folders/456 It usually contains only one parent. But, in some /// corner cases, it can contain multiple parents. Currently, organizations are not supported. /// [Newtonsoft.Json.JsonPropertyAttribute("parent")] public virtual System.Collections.Generic.IList Parent { get; set; } /// The administrative_tag name. [Newtonsoft.Json.JsonPropertyAttribute("tag")] public virtual string Tag { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Metadata for the given google.cloud.location.Location. public class GoogleAppengineV1betaLocationMetadata : Google.Apis.Requests.IDirectResponseSchema { /// App Engine flexible environment is available in the given location.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("flexibleEnvironmentAvailable")] public virtual System.Nullable FlexibleEnvironmentAvailable { get; set; } /// /// Output only. Search API (https://cloud.google.com/appengine/docs/standard/python/search) is available in the /// given location. /// [Newtonsoft.Json.JsonPropertyAttribute("searchApiAvailable")] public virtual System.Nullable SearchApiAvailable { get; set; } /// App Engine standard environment is available in the given location.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("standardEnvironmentAvailable")] public virtual System.Nullable StandardEnvironmentAvailable { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. /// Only applicable for instances in App Engine flexible environment. /// public class HealthCheck : Google.Apis.Requests.IDirectResponseSchema { /// Interval between health checks. [Newtonsoft.Json.JsonPropertyAttribute("checkInterval")] public virtual object CheckInterval { get; set; } /// Whether to explicitly disable health checks for this instance. [Newtonsoft.Json.JsonPropertyAttribute("disableHealthCheck")] public virtual System.Nullable DisableHealthCheck { get; set; } /// Number of consecutive successful health checks required before receiving traffic. [Newtonsoft.Json.JsonPropertyAttribute("healthyThreshold")] public virtual System.Nullable HealthyThreshold { get; set; } /// Host header to send when performing an HTTP health check. Example: "myapp.appspot.com" [Newtonsoft.Json.JsonPropertyAttribute("host")] public virtual string Host { get; set; } /// Number of consecutive failed health checks required before an instance is restarted. [Newtonsoft.Json.JsonPropertyAttribute("restartThreshold")] public virtual System.Nullable RestartThreshold { get; set; } /// Time before the health check is considered failed. [Newtonsoft.Json.JsonPropertyAttribute("timeout")] public virtual object Timeout { get; set; } /// Number of consecutive failed health checks required before removing traffic. [Newtonsoft.Json.JsonPropertyAttribute("unhealthyThreshold")] public virtual System.Nullable UnhealthyThreshold { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Identity-Aware Proxy public class IdentityAwareProxy : Google.Apis.Requests.IDirectResponseSchema { /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("enabled")] public virtual System.Nullable Enabled { get; set; } /// OAuth2 client ID to use for the authentication flow. [Newtonsoft.Json.JsonPropertyAttribute("oauth2ClientId")] public virtual string Oauth2ClientId { get; set; } /// /// 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 /// [Newtonsoft.Json.JsonPropertyAttribute("oauth2ClientSecret")] public virtual string Oauth2ClientSecret { get; set; } /// Output only. Hex-encoded SHA-256 hash of the client secret.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("oauth2ClientSecretSha256")] public virtual string Oauth2ClientSecretSha256 { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// An Instance resource is the computing unit that App Engine uses to automatically scale an application. /// public class Instance : Google.Apis.Requests.IDirectResponseSchema { /// Output only. App Engine release this instance is running on. [Newtonsoft.Json.JsonPropertyAttribute("appEngineRelease")] public virtual string AppEngineRelease { get; set; } /// Output only. Availability of the instance. [Newtonsoft.Json.JsonPropertyAttribute("availability")] public virtual string Availability { get; set; } /// Output only. Average latency (ms) over the last minute. [Newtonsoft.Json.JsonPropertyAttribute("averageLatency")] public virtual System.Nullable AverageLatency { get; set; } /// Output only. Number of errors since this instance was started. [Newtonsoft.Json.JsonPropertyAttribute("errors")] public virtual System.Nullable Errors { get; set; } /// Output only. Relative name of the instance within the version. Example: instance-1. [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } /// Output only. Total memory in use (bytes). [Newtonsoft.Json.JsonPropertyAttribute("memoryUsage")] public virtual System.Nullable MemoryUsage { get; set; } /// /// Output only. Full path to the Instance resource in the API. Example: /// apps/myapp/services/default/versions/v1/instances/instance-1. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// Output only. Average queries per second (QPS) over the last minute. [Newtonsoft.Json.JsonPropertyAttribute("qps")] public virtual System.Nullable Qps { get; set; } /// Output only. Number of requests since this instance was started. [Newtonsoft.Json.JsonPropertyAttribute("requests")] public virtual System.Nullable Requests { get; set; } private string _startTimeRaw; private object _startTime; /// Output only. Time that this instance was started.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("startTime")] public virtual string StartTimeRaw { get => _startTimeRaw; set { _startTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _startTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use StartTimeDateTimeOffset instead.")] public virtual object StartTime { get => _startTime; set { _startTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _startTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? StartTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(StartTimeRaw); set => StartTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// /// Output only. Whether this instance is in debug mode. Only applicable for instances in App Engine flexible /// environment. /// [Newtonsoft.Json.JsonPropertyAttribute("vmDebugEnabled")] public virtual System.Nullable VmDebugEnabled { get; set; } /// /// Output only. Virtual machine ID of this instance. Only applicable for instances in App Engine flexible /// environment. /// [Newtonsoft.Json.JsonPropertyAttribute("vmId")] public virtual string VmId { get; set; } /// /// Output only. The IP address of this instance. Only applicable for instances in App Engine flexible /// environment. /// [Newtonsoft.Json.JsonPropertyAttribute("vmIp")] public virtual string VmIp { get; set; } /// /// Output only. The liveness health check of this instance. Only applicable for instances in App Engine /// flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("vmLiveness")] public virtual string VmLiveness { get; set; } /// /// Output only. Name of the virtual machine where this instance lives. Only applicable for instances in App /// Engine flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("vmName")] public virtual string VmName { get; set; } /// /// Output only. Status of the virtual machine where this instance lives. Only applicable for instances in App /// Engine flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("vmStatus")] public virtual string VmStatus { get; set; } /// /// Output only. Zone where the virtual machine is located. Only applicable for instances in App Engine flexible /// environment. /// [Newtonsoft.Json.JsonPropertyAttribute("vmZoneName")] public virtual string VmZoneName { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Third-party Python runtime library that is required by the application. public class Library : Google.Apis.Requests.IDirectResponseSchema { /// Name of the library. Example: "django". [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// Version of the library to select, or "latest". [Newtonsoft.Json.JsonPropertyAttribute("version")] public virtual string Version { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for AuthorizedCertificates.ListAuthorizedCertificates. public class ListAuthorizedCertificatesResponse : Google.Apis.Requests.IDirectResponseSchema { /// The SSL certificates the user is authorized to administer. [Newtonsoft.Json.JsonPropertyAttribute("certificates")] public virtual System.Collections.Generic.IList Certificates { get; set; } /// Continuation token for fetching the next page of results. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for AuthorizedDomains.ListAuthorizedDomains. public class ListAuthorizedDomainsResponse : Google.Apis.Requests.IDirectResponseSchema { /// The authorized domains belonging to the user. [Newtonsoft.Json.JsonPropertyAttribute("domains")] public virtual System.Collections.Generic.IList Domains { get; set; } /// Continuation token for fetching the next page of results. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for DomainMappings.ListDomainMappings. public class ListDomainMappingsResponse : Google.Apis.Requests.IDirectResponseSchema { /// The domain mappings for the application. [Newtonsoft.Json.JsonPropertyAttribute("domainMappings")] public virtual System.Collections.Generic.IList DomainMappings { get; set; } /// Continuation token for fetching the next page of results. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for Firewall.ListIngressRules. public class ListIngressRulesResponse : Google.Apis.Requests.IDirectResponseSchema { /// The ingress FirewallRules for this application. [Newtonsoft.Json.JsonPropertyAttribute("ingressRules")] public virtual System.Collections.Generic.IList IngressRules { get; set; } /// Continuation token for fetching the next page of results. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for Instances.ListInstances. public class ListInstancesResponse : Google.Apis.Requests.IDirectResponseSchema { /// The instances belonging to the requested version. [Newtonsoft.Json.JsonPropertyAttribute("instances")] public virtual System.Collections.Generic.IList Instances { get; set; } /// Continuation token for fetching the next page of results. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// The response message for Locations.ListLocations. public class ListLocationsResponse : Google.Apis.Requests.IDirectResponseSchema { /// A list of locations that matches the specified filter in the request. [Newtonsoft.Json.JsonPropertyAttribute("locations")] public virtual System.Collections.Generic.IList Locations { get; set; } /// The standard List next-page token. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// The response message for Operations.ListOperations. public class ListOperationsResponse : Google.Apis.Requests.IDirectResponseSchema { /// The standard List next-page token. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// A list of operations that matches the specified filter in the request. [Newtonsoft.Json.JsonPropertyAttribute("operations")] public virtual System.Collections.Generic.IList Operations { get; set; } /// /// Unordered list. Unreachable resources. Populated when the request sets /// ListOperationsRequest.return_partial_success and reads across collections. For example, when attempting to /// list all resources across all supported locations. /// [Newtonsoft.Json.JsonPropertyAttribute("unreachable")] public virtual System.Collections.Generic.IList Unreachable { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for Applications.ListRuntimes. public class ListRuntimesResponse : Google.Apis.Requests.IDirectResponseSchema { /// Continuation token for fetching the next page of results. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The runtimes available to the requested application. [Newtonsoft.Json.JsonPropertyAttribute("runtimes")] public virtual System.Collections.Generic.IList Runtimes { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for Services.ListServices. public class ListServicesResponse : Google.Apis.Requests.IDirectResponseSchema { /// Continuation token for fetching the next page of results. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The services belonging to the requested application. [Newtonsoft.Json.JsonPropertyAttribute("services")] public virtual System.Collections.Generic.IList Services { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Response message for Versions.ListVersions. public class ListVersionsResponse : Google.Apis.Requests.IDirectResponseSchema { /// Continuation token for fetching the next page of results. [Newtonsoft.Json.JsonPropertyAttribute("nextPageToken")] public virtual string NextPageToken { get; set; } /// The versions belonging to the requested service. [Newtonsoft.Json.JsonPropertyAttribute("versions")] public virtual System.Collections.Generic.IList Versions { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. /// public class LivenessCheck : Google.Apis.Requests.IDirectResponseSchema { /// Interval between health checks. [Newtonsoft.Json.JsonPropertyAttribute("checkInterval")] public virtual object CheckInterval { get; set; } /// Number of consecutive failed checks required before considering the VM unhealthy. [Newtonsoft.Json.JsonPropertyAttribute("failureThreshold")] public virtual System.Nullable FailureThreshold { get; set; } /// Host header to send when performing a HTTP Liveness check. Example: "myapp.appspot.com" [Newtonsoft.Json.JsonPropertyAttribute("host")] public virtual string Host { get; set; } /// The initial delay before starting to execute the checks. [Newtonsoft.Json.JsonPropertyAttribute("initialDelay")] public virtual object InitialDelay { get; set; } /// The request path. [Newtonsoft.Json.JsonPropertyAttribute("path")] public virtual string Path { get; set; } /// Number of consecutive successful checks required before considering the VM healthy. [Newtonsoft.Json.JsonPropertyAttribute("successThreshold")] public virtual System.Nullable SuccessThreshold { get; set; } /// Time before the check is considered failed. [Newtonsoft.Json.JsonPropertyAttribute("timeout")] public virtual object Timeout { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// A resource that represents a Google Cloud location. public class Location : Google.Apis.Requests.IDirectResponseSchema { /// The friendly name for this location, typically a nearby city name. For example, "Tokyo". [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } /// /// Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"} /// [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// The canonical id for this location. For example: "us-east1". [Newtonsoft.Json.JsonPropertyAttribute("locationId")] public virtual string LocationId { get; set; } /// Service-specific metadata. For example the available capacity at the given location. [Newtonsoft.Json.JsonPropertyAttribute("metadata")] public virtual System.Collections.Generic.IDictionary Metadata { get; set; } /// /// Resource name for the location, which may vary between implementations. For example: /// "projects/example-project/locations/us-east1" /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Metadata for the given google.cloud.location.Location. public class LocationMetadata : Google.Apis.Requests.IDirectResponseSchema { /// App Engine flexible environment is available in the given location.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("flexibleEnvironmentAvailable")] public virtual System.Nullable FlexibleEnvironmentAvailable { get; set; } /// /// Output only. Search API (https://cloud.google.com/appengine/docs/standard/python/search) is available in the /// given location. /// [Newtonsoft.Json.JsonPropertyAttribute("searchApiAvailable")] public virtual System.Nullable SearchApiAvailable { get; set; } /// App Engine standard environment is available in the given location.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("standardEnvironmentAvailable")] public virtual System.Nullable StandardEnvironmentAvailable { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// A certificate managed by App Engine. public class ManagedCertificate : Google.Apis.Requests.IDirectResponseSchema { private string _lastRenewalTimeRaw; private object _lastRenewalTime; /// /// Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal /// will automatically occur before the certificate expires. Renewal errors can be tracked via /// ManagementStatus.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("lastRenewalTime")] public virtual string LastRenewalTimeRaw { get => _lastRenewalTimeRaw; set { _lastRenewalTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _lastRenewalTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use LastRenewalTimeDateTimeOffset instead.")] public virtual object LastRenewalTime { get => _lastRenewalTime; set { _lastRenewalTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _lastRenewalTime = value; } } /// /// representation of . /// [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? LastRenewalTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(LastRenewalTimeRaw); set => LastRenewalTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// /// Status of certificate management. Refers to the most recent certificate acquisition or renewal /// attempt.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("status")] public virtual string Status { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the /// state of its memory over time. /// public class ManualScaling : Google.Apis.Requests.IDirectResponseSchema { /// /// Number of instances to assign to the service at the start. This number can later be altered by using the /// Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function. /// [Newtonsoft.Json.JsonPropertyAttribute("instances")] public virtual System.Nullable Instances { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Extra network settings. Only applicable in the App Engine flexible environment. public class Network : Google.Apis.Requests.IDirectResponseSchema { /// /// List of ports, or port pairs, to forward from the virtual machine to the application container. Only /// applicable in the App Engine flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("forwardedPorts")] public virtual System.Collections.Generic.IList ForwardedPorts { get; set; } /// The IP mode for instances. Only applicable in the App Engine flexible environment. [Newtonsoft.Json.JsonPropertyAttribute("instanceIpMode")] public virtual string InstanceIpMode { get; set; } /// /// Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("instanceTag")] public virtual string InstanceTag { get; set; } /// /// Google Compute Engine network where the virtual machines are created. Specify the short name, not the /// resource path.Defaults to default. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// Enable session affinity. Only applicable in the App Engine flexible environment. [Newtonsoft.Json.JsonPropertyAttribute("sessionAffinity")] public virtual System.Nullable SessionAffinity { get; set; } /// /// Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the /// resource path.If a subnetwork name is specified, a network name will also be required unless it is for the /// default network. If the network that the instance is being created in is a Legacy network, then the IP /// address is allocated from the IPv4Range. If the network that the instance is being created in is an auto /// Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address /// is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network /// that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be /// specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork /// must exist in the same region as the App Engine flexible environment application. /// [Newtonsoft.Json.JsonPropertyAttribute("subnetworkName")] public virtual string SubnetworkName { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// A NetworkSettings resource is a container for ingress settings for a version or service. public class NetworkSettings : Google.Apis.Requests.IDirectResponseSchema { /// The ingress settings for version or service. [Newtonsoft.Json.JsonPropertyAttribute("ingressTrafficAllowed")] public virtual string IngressTrafficAllowed { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Target scaling by network usage. Only applicable in the App Engine flexible environment. public class NetworkUtilization : Google.Apis.Requests.IDirectResponseSchema { /// Target bytes received per second. [Newtonsoft.Json.JsonPropertyAttribute("targetReceivedBytesPerSecond")] public virtual System.Nullable TargetReceivedBytesPerSecond { get; set; } /// Target packets received per second. [Newtonsoft.Json.JsonPropertyAttribute("targetReceivedPacketsPerSecond")] public virtual System.Nullable TargetReceivedPacketsPerSecond { get; set; } /// Target bytes sent per second. [Newtonsoft.Json.JsonPropertyAttribute("targetSentBytesPerSecond")] public virtual System.Nullable TargetSentBytesPerSecond { get; set; } /// Target packets sent per second. [Newtonsoft.Json.JsonPropertyAttribute("targetSentPacketsPerSecond")] public virtual System.Nullable TargetSentPacketsPerSecond { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// This resource represents a long-running operation that is the result of a network API call. public class Operation : Google.Apis.Requests.IDirectResponseSchema { /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("done")] public virtual System.Nullable Done { get; set; } /// The error result of the operation in case of failure or cancellation. [Newtonsoft.Json.JsonPropertyAttribute("error")] public virtual Status Error { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("metadata")] public virtual System.Collections.Generic.IDictionary Metadata { get; set; } /// /// 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}. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("response")] public virtual System.Collections.Generic.IDictionary Response { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Metadata for the given google.longrunning.Operation. public class OperationMetadataV1 : Google.Apis.Requests.IDirectResponseSchema { [Newtonsoft.Json.JsonPropertyAttribute("createVersionMetadata")] public virtual CreateVersionMetadataV1 CreateVersionMetadata { get; set; } private string _endTimeRaw; private object _endTime; /// Time that this operation completed.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("endTime")] public virtual string EndTimeRaw { get => _endTimeRaw; set { _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _endTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] public virtual object EndTime { get => _endTime; set { _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _endTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? EndTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// Ephemeral message that may change every time the operation is polled. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("ephemeralMessage")] public virtual string EphemeralMessage { get; set; } private string _insertTimeRaw; private object _insertTime; /// Time that this operation was created.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("insertTime")] public virtual string InsertTimeRaw { get => _insertTimeRaw; set { _insertTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _insertTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use InsertTimeDateTimeOffset instead.")] public virtual object InsertTime { get => _insertTime; set { _insertTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _insertTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? InsertTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(InsertTimeRaw); set => InsertTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// /// API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("method")] public virtual string Method { get; set; } /// /// Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("target")] public virtual string Target { get; set; } /// User who requested this operation.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("user")] public virtual string User { get; set; } /// Durable messages that persist on every operation poll. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("warning")] public virtual System.Collections.Generic.IList Warning { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Metadata for the given google.longrunning.Operation. public class OperationMetadataV1Alpha : Google.Apis.Requests.IDirectResponseSchema { [Newtonsoft.Json.JsonPropertyAttribute("createVersionMetadata")] public virtual CreateVersionMetadataV1Alpha CreateVersionMetadata { get; set; } private string _endTimeRaw; private object _endTime; /// Time that this operation completed.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("endTime")] public virtual string EndTimeRaw { get => _endTimeRaw; set { _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _endTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] public virtual object EndTime { get => _endTime; set { _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _endTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? EndTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// Ephemeral message that may change every time the operation is polled. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("ephemeralMessage")] public virtual string EphemeralMessage { get; set; } private string _insertTimeRaw; private object _insertTime; /// Time that this operation was created.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("insertTime")] public virtual string InsertTimeRaw { get => _insertTimeRaw; set { _insertTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _insertTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use InsertTimeDateTimeOffset instead.")] public virtual object InsertTime { get => _insertTime; set { _insertTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _insertTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? InsertTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(InsertTimeRaw); set => InsertTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// /// API method that initiated this operation. Example: /// google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("method")] public virtual string Method { get; set; } /// /// Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("target")] public virtual string Target { get; set; } /// User who requested this operation.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("user")] public virtual string User { get; set; } /// Durable messages that persist on every operation poll. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("warning")] public virtual System.Collections.Generic.IList Warning { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Metadata for the given google.longrunning.Operation. public class OperationMetadataV1Beta : Google.Apis.Requests.IDirectResponseSchema { [Newtonsoft.Json.JsonPropertyAttribute("createVersionMetadata")] public virtual CreateVersionMetadataV1Beta CreateVersionMetadata { get; set; } private string _endTimeRaw; private object _endTime; /// Time that this operation completed.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("endTime")] public virtual string EndTimeRaw { get => _endTimeRaw; set { _endTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _endTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use EndTimeDateTimeOffset instead.")] public virtual object EndTime { get => _endTime; set { _endTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _endTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? EndTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(EndTimeRaw); set => EndTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// Ephemeral message that may change every time the operation is polled. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("ephemeralMessage")] public virtual string EphemeralMessage { get; set; } private string _insertTimeRaw; private object _insertTime; /// Time that this operation was created.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("insertTime")] public virtual string InsertTimeRaw { get => _insertTimeRaw; set { _insertTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _insertTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use InsertTimeDateTimeOffset instead.")] public virtual object InsertTime { get => _insertTime; set { _insertTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _insertTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? InsertTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(InsertTimeRaw); set => InsertTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// /// API method that initiated this operation. Example: /// google.appengine.v1beta.Versions.CreateVersion.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("method")] public virtual string Method { get; set; } /// /// Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("target")] public virtual string Target { get; set; } /// User who requested this operation.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("user")] public virtual string User { get; set; } /// Durable messages that persist on every operation poll. @OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("warning")] public virtual System.Collections.Generic.IList Warning { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// The request sent to CLHs during project events. public class ProjectEvent : Google.Apis.Requests.IDirectResponseSchema { /// /// The unique ID for this project event. CLHs can use this value to dedup repeated calls. required /// [Newtonsoft.Json.JsonPropertyAttribute("eventId")] public virtual string EventId { get; set; } /// /// Phase indicates when in the container event propagation this event is being communicated. Events are sent /// before and after the per-resource events are propagated. required /// [Newtonsoft.Json.JsonPropertyAttribute("phase")] public virtual string Phase { get; set; } /// The projects metadata for this project. required [Newtonsoft.Json.JsonPropertyAttribute("projectMetadata")] public virtual ProjectsMetadata ProjectMetadata { get; set; } /// The state of the organization that led to this event. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual ContainerState State { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// ProjectsMetadata is the metadata CCFE stores about the all the relevant projects (tenant, consumer, producer). /// public class ProjectsMetadata : Google.Apis.Requests.IDirectResponseSchema { /// The consumer project id. [Newtonsoft.Json.JsonPropertyAttribute("consumerProjectId")] public virtual string ConsumerProjectId { get; set; } /// The consumer project number. [Newtonsoft.Json.JsonPropertyAttribute("consumerProjectNumber")] public virtual System.Nullable ConsumerProjectNumber { get; set; } /// /// The CCFE state of the consumer project. It is the same state that is communicated to the CLH during project /// events. Notice that this field is not set in the DB, it is only set in this proto when communicated to CLH /// in the side channel. /// [Newtonsoft.Json.JsonPropertyAttribute("consumerProjectState")] public virtual string ConsumerProjectState { get; set; } /// /// The GCE tags associated with the consumer project and those inherited due to their ancestry, if any. Not /// supported by CCFE. /// [Newtonsoft.Json.JsonPropertyAttribute("gceTag")] public virtual System.Collections.Generic.IList GceTag { get; set; } /// /// The service account authorized to operate on the consumer project. Note: CCFE only propagates P4SA with /// default tag to CLH. /// [Newtonsoft.Json.JsonPropertyAttribute("p4ServiceAccount")] public virtual string P4ServiceAccount { get; set; } /// The producer project id. [Newtonsoft.Json.JsonPropertyAttribute("producerProjectId")] public virtual string ProducerProjectId { get; set; } /// The producer project number. [Newtonsoft.Json.JsonPropertyAttribute("producerProjectNumber")] public virtual System.Nullable ProducerProjectNumber { get; set; } /// The tenant project id. [Newtonsoft.Json.JsonPropertyAttribute("tenantProjectId")] public virtual string TenantProjectId { get; set; } /// The tenant project number. [Newtonsoft.Json.JsonPropertyAttribute("tenantProjectNumber")] public virtual System.Nullable TenantProjectNumber { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation. /// public class ReadinessCheck : Google.Apis.Requests.IDirectResponseSchema { /// /// A maximum time limit on application initialization, measured from moment the application successfully /// replies to a healthcheck until it is ready to serve traffic. /// [Newtonsoft.Json.JsonPropertyAttribute("appStartTimeout")] public virtual object AppStartTimeout { get; set; } /// Interval between health checks. [Newtonsoft.Json.JsonPropertyAttribute("checkInterval")] public virtual object CheckInterval { get; set; } /// Number of consecutive failed checks required before removing traffic. [Newtonsoft.Json.JsonPropertyAttribute("failureThreshold")] public virtual System.Nullable FailureThreshold { get; set; } /// Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com" [Newtonsoft.Json.JsonPropertyAttribute("host")] public virtual string Host { get; set; } /// The request path. [Newtonsoft.Json.JsonPropertyAttribute("path")] public virtual string Path { get; set; } /// Number of consecutive successful checks required before receiving traffic. [Newtonsoft.Json.JsonPropertyAttribute("successThreshold")] public virtual System.Nullable SuccessThreshold { get; set; } /// Time before the check is considered failed. [Newtonsoft.Json.JsonPropertyAttribute("timeout")] public virtual object Timeout { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Containers transition between and within states based on reasons sent from various systems. CCFE will provide /// the CLH with reasons for the current state per system.The current systems that CCFE supports are: Service /// Management (Inception) Data Governance (Wipeout) Abuse (Ares) Billing (Internal Cloud Billing API) Service /// Activation (Service Controller) /// public class Reasons : Google.Apis.Requests.IDirectResponseSchema { [Newtonsoft.Json.JsonPropertyAttribute("abuse")] public virtual string Abuse { get; set; } [Newtonsoft.Json.JsonPropertyAttribute("billing")] public virtual string Billing { get; set; } [Newtonsoft.Json.JsonPropertyAttribute("dataGovernance")] public virtual string DataGovernance { get; set; } /// /// Consumer Container denotes if the service is active within a project or not. This information could be used /// to clean up resources in case service in DISABLED_FULL i.e. Service is inactive > 30 days. /// [Newtonsoft.Json.JsonPropertyAttribute("serviceActivation")] public virtual string ServiceActivation { get; set; } [Newtonsoft.Json.JsonPropertyAttribute("serviceManagement")] public virtual string ServiceManagement { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Request message for 'Applications.RepairApplication'. public class RepairApplicationRequest : Google.Apis.Requests.IDirectResponseSchema { /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Target scaling by request utilization. Only applicable in the App Engine flexible environment. /// public class RequestUtilization : Google.Apis.Requests.IDirectResponseSchema { /// Target number of concurrent requests. [Newtonsoft.Json.JsonPropertyAttribute("targetConcurrentRequests")] public virtual System.Nullable TargetConcurrentRequests { get; set; } /// Target requests per second. [Newtonsoft.Json.JsonPropertyAttribute("targetRequestCountPerSecond")] public virtual System.Nullable TargetRequestCountPerSecond { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// The request that is passed to CLH during per-resource events. The request will be sent with update semantics in /// all cases except for data governance purge events. These events will be sent with delete semantics and the CLH /// is expected to delete the resource receiving this event. /// public class ResourceEvent : Google.Apis.Requests.IDirectResponseSchema { /// /// The unique ID for this per-resource event. CLHs can use this value to dedup repeated calls. required /// [Newtonsoft.Json.JsonPropertyAttribute("eventId")] public virtual string EventId { get; set; } /// The name of the resource for which this event is. required [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// The state of the project that led to this event. [Newtonsoft.Json.JsonPropertyAttribute("state")] public virtual ContainerState State { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// A DNS resource record. public class ResourceRecord : Google.Apis.Requests.IDirectResponseSchema { /// /// Relative name of the object affected by this record. Only applicable for CNAME records. Example: 'www'. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// /// Data for this record. Values vary by record type, as defined in RFC 1035 (section 5) and RFC 1034 (section /// 3.6.1). /// [Newtonsoft.Json.JsonPropertyAttribute("rrdata")] public virtual string Rrdata { get; set; } /// Resource record type. Example: AAAA. [Newtonsoft.Json.JsonPropertyAttribute("type")] public virtual string Type { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Machine resources for a version. public class Resources : Google.Apis.Requests.IDirectResponseSchema { /// Number of CPU cores needed. [Newtonsoft.Json.JsonPropertyAttribute("cpu")] public virtual System.Nullable Cpu { get; set; } /// Disk size (GB) needed. [Newtonsoft.Json.JsonPropertyAttribute("diskGb")] public virtual System.Nullable DiskGb { get; set; } /// /// The name of the encryption key that is stored in Google Cloud KMS. Only should be used by Cloud Composer to /// encrypt the vm disk /// [Newtonsoft.Json.JsonPropertyAttribute("kmsKeyReference")] public virtual string KmsKeyReference { get; set; } /// Memory (GB) needed. [Newtonsoft.Json.JsonPropertyAttribute("memoryGb")] public virtual System.Nullable MemoryGb { get; set; } /// User specified volumes. [Newtonsoft.Json.JsonPropertyAttribute("volumes")] public virtual System.Collections.Generic.IList Volumes { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Runtime versions for App Engine. public class Runtime : Google.Apis.Requests.IDirectResponseSchema { /// Date when Runtime is decommissioned. [Newtonsoft.Json.JsonPropertyAttribute("decommissionedDate")] public virtual Date DecommissionedDate { get; set; } /// Date when Runtime is deprecated. [Newtonsoft.Json.JsonPropertyAttribute("deprecationDate")] public virtual Date DeprecationDate { get; set; } /// User-friendly display name, e.g. 'Node.js 12', etc. [Newtonsoft.Json.JsonPropertyAttribute("displayName")] public virtual string DisplayName { get; set; } /// Date when Runtime is end of support. [Newtonsoft.Json.JsonPropertyAttribute("endOfSupportDate")] public virtual Date EndOfSupportDate { get; set; } /// The environment of the runtime. [Newtonsoft.Json.JsonPropertyAttribute("environment")] public virtual string Environment { get; set; } /// The name of the runtime, e.g., 'go113', 'nodejs12', etc. [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// The stage of life this runtime is in, e.g., BETA, GA, etc. [Newtonsoft.Json.JsonPropertyAttribute("stage")] public virtual string Stage { get; set; } /// Supported operating systems for the runtime, e.g., 'ubuntu22', etc. [Newtonsoft.Json.JsonPropertyAttribute("supportedOperatingSystems")] public virtual System.Collections.Generic.IList SupportedOperatingSystems { get; set; } /// Warning messages, e.g., a deprecation warning. [Newtonsoft.Json.JsonPropertyAttribute("warnings")] public virtual System.Collections.Generic.IList Warnings { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Executes a script to handle the request that matches the URL pattern. public class ScriptHandler : Google.Apis.Requests.IDirectResponseSchema { /// Path to the script from the application root directory. [Newtonsoft.Json.JsonPropertyAttribute("scriptPath")] public virtual string ScriptPath { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// A Service resource is a logical component of an application that can share state and communicate in a secure /// fashion with other services. For example, an application that handles customer requests might include separate /// services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a /// collection of versions that define a specific set of code used to implement the functionality of that service. /// public class Service : Google.Apis.Requests.IDirectResponseSchema { /// /// Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested /// by setting the IncludeExtraData field in GetServiceRequest /// [Newtonsoft.Json.JsonPropertyAttribute("generatedCustomerMetadata")] public virtual System.Collections.Generic.IDictionary GeneratedCustomerMetadata { get; set; } /// /// Output only. Relative name of the service within the application. Example: default.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } /// /// A set of labels to apply to this service. Labels are key/value pairs that describe the service and all /// resources that belong to it (e.g., versions). The labels can be used to search and group resources, and are /// propagated to the usage and billing reports, enabling fine-grain analysis of costs. An example of using /// labels is to tag resources belonging to different environments (e.g., "env=prod", "env=qa"). Label keys and /// values can be no longer than 63 characters and can only contain lowercase letters, numeric characters, /// underscores, dashes, and international characters. Label keys must start with a lowercase letter or an /// international character. Each service can have at most 32 labels. /// [Newtonsoft.Json.JsonPropertyAttribute("labels")] public virtual System.Collections.Generic.IDictionary Labels { get; set; } /// /// Output only. Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// Ingress settings for this service. Will apply to all versions. [Newtonsoft.Json.JsonPropertyAttribute("networkSettings")] public virtual NetworkSettings NetworkSettings { get; set; } /// /// Mapping that defines fractional HTTP traffic diversion to different versions within the service. /// [Newtonsoft.Json.JsonPropertyAttribute("split")] public virtual TrafficSplit Split { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// SSL configuration for a DomainMapping resource. public class SslSettings : Google.Apis.Requests.IDirectResponseSchema { /// /// ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will /// remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To /// omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE /// request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a /// DomainMapping resource. Example: 12345. /// [Newtonsoft.Json.JsonPropertyAttribute("certificateId")] public virtual string CertificateId { get; set; } /// /// Output only. ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. /// Until the new managed certificate has been successfully provisioned, the previous SSL state will be /// preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed /// certificate and this field will be left empty. To remove SSL support while there is still a pending managed /// certificate, clear the certificate_id field with an UpdateDomainMappingRequest.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("pendingManagedCertificateId")] public virtual string PendingManagedCertificateId { get; set; } /// /// SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If /// MANUAL, certificate_id must be manually specified in order to configure SSL for this domain. /// [Newtonsoft.Json.JsonPropertyAttribute("sslManagementType")] public virtual string SslManagementType { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Scheduler settings for standard environment. public class StandardSchedulerSettings : Google.Apis.Requests.IDirectResponseSchema { /// /// Maximum number of instances to run for this version. Set to 2147483647 to disable max_instances /// configuration. /// [Newtonsoft.Json.JsonPropertyAttribute("maxInstances")] public virtual System.Nullable MaxInstances { get; set; } /// /// Minimum number of instances to run for this version. Set to zero to disable min_instances configuration. /// [Newtonsoft.Json.JsonPropertyAttribute("minInstances")] public virtual System.Nullable MinInstances { get; set; } /// Target CPU utilization ratio to maintain when scaling. [Newtonsoft.Json.JsonPropertyAttribute("targetCpuUtilization")] public virtual System.Nullable TargetCpuUtilization { get; set; } /// Target throughput utilization ratio to maintain when scaling [Newtonsoft.Json.JsonPropertyAttribute("targetThroughputUtilization")] public virtual System.Nullable TargetThroughputUtilization { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. /// Static file handlers describe which files in the application directory are static files, and which URLs serve /// them. /// public class StaticFilesHandler : Google.Apis.Requests.IDirectResponseSchema { /// /// Whether files should also be uploaded as code data. By default, files declared in static file handlers are /// uploaded as static data and are only served to end users; they cannot be read by the application. If /// enabled, uploads are charged against both your code and static data storage resource quotas. /// [Newtonsoft.Json.JsonPropertyAttribute("applicationReadable")] public virtual System.Nullable ApplicationReadable { get; set; } /// Time a static file served by this handler should be cached by web proxies and browsers. [Newtonsoft.Json.JsonPropertyAttribute("expiration")] public virtual object Expiration { get; set; } /// HTTP headers to use for all responses from these URLs. [Newtonsoft.Json.JsonPropertyAttribute("httpHeaders")] public virtual System.Collections.Generic.IDictionary HttpHeaders { get; set; } /// /// MIME type used to serve all files served by this handler.Defaults to file-specific MIME types, which are /// derived from each file's filename extension. /// [Newtonsoft.Json.JsonPropertyAttribute("mimeType")] public virtual string MimeType { get; set; } /// /// Path to the static files matched by the URL pattern, from the application root directory. The path can refer /// to text matched in groupings in the URL pattern. /// [Newtonsoft.Json.JsonPropertyAttribute("path")] public virtual string Path { get; set; } /// /// Whether this handler should match the request if the file referenced by the handler does not exist. /// [Newtonsoft.Json.JsonPropertyAttribute("requireMatchingFile")] public virtual System.Nullable RequireMatchingFile { get; set; } /// /// Regular expression that matches the file paths for all files that should be referenced by this handler. /// [Newtonsoft.Json.JsonPropertyAttribute("uploadPathRegex")] public virtual string UploadPathRegex { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// The Status type defines a logical error model that is suitable for different programming environments, including /// REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). Each Status message contains three pieces /// of data: error code, error message, and error details.You can find out more about this error model and how to /// work with it in the API Design Guide (https://cloud.google.com/apis/design/errors). /// public class Status : Google.Apis.Requests.IDirectResponseSchema { /// The status code, which should be an enum value of google.rpc.Code. [Newtonsoft.Json.JsonPropertyAttribute("code")] public virtual System.Nullable Code { get; set; } /// /// A list of messages that carry the error details. There is a common set of message types for APIs to use. /// [Newtonsoft.Json.JsonPropertyAttribute("details")] public virtual System.Collections.Generic.IList> Details { get; set; } /// /// A developer-facing error message, which should be in English. Any user-facing error message should be /// localized and sent in the google.rpc.Status.details field, or localized by the client. /// [Newtonsoft.Json.JsonPropertyAttribute("message")] public virtual string Message { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed /// to the service is assigned to versions. /// public class TrafficSplit : Google.Apis.Requests.IDirectResponseSchema { /// /// Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that /// version. Each version can be specified only once, but some versions in the service may not have any traffic /// allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or /// their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is /// supported for IP-based splits and up to three decimal places is supported for cookie-based splits. /// [Newtonsoft.Json.JsonPropertyAttribute("allocations")] public virtual System.Collections.Generic.IDictionary> Allocations { get; set; } /// /// Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be /// stable for either type until allocations are changed. /// [Newtonsoft.Json.JsonPropertyAttribute("shardBy")] public virtual string ShardBy { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// Rules to match an HTTP request and dispatch that request to a service. public class UrlDispatchRule : Google.Apis.Requests.IDirectResponseSchema { /// /// Domain name to match against. The wildcard "*" is supported if specified before a period: "*.".Defaults to /// matching all domains: "*". /// [Newtonsoft.Json.JsonPropertyAttribute("domain")] public virtual string Domain { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("path")] public virtual string Path { get; set; } /// /// Resource ID of a service in this application that should serve the matched request. The service must already /// exist. Example: default. /// [Newtonsoft.Json.JsonPropertyAttribute("service")] public virtual string Service { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing /// application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript. /// public class UrlMap : Google.Apis.Requests.IDirectResponseSchema { /// Uses API Endpoints to handle requests. [Newtonsoft.Json.JsonPropertyAttribute("apiEndpoint")] public virtual ApiEndpointHandler ApiEndpoint { get; set; } /// /// Action to take when users access resources that require authentication. Defaults to redirect. /// [Newtonsoft.Json.JsonPropertyAttribute("authFailAction")] public virtual string AuthFailAction { get; set; } /// /// Level of login required to access this resource. Not supported for Node.js in the App Engine standard /// environment. /// [Newtonsoft.Json.JsonPropertyAttribute("login")] public virtual string Login { get; set; } /// 30x code to use when performing redirects for the secure field. Defaults to 302. [Newtonsoft.Json.JsonPropertyAttribute("redirectHttpResponseCode")] public virtual string RedirectHttpResponseCode { get; set; } /// /// Executes a script to handle the requests that match this URL pattern. Only the auto value is supported for /// Node.js in the App Engine standard environment, for example "script": "auto". /// [Newtonsoft.Json.JsonPropertyAttribute("script")] public virtual ScriptHandler Script { get; set; } /// Security (HTTPS) enforcement for this URL. [Newtonsoft.Json.JsonPropertyAttribute("securityLevel")] public virtual string SecurityLevel { get; set; } /// Returns the contents of a file, such as an image, as the response. [Newtonsoft.Json.JsonPropertyAttribute("staticFiles")] public virtual StaticFilesHandler StaticFiles { get; set; } /// /// URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but /// should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the /// portion of the URL after the prefix as part of the file path. /// [Newtonsoft.Json.JsonPropertyAttribute("urlRegex")] public virtual string UrlRegex { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// A Version resource is a specific set of source code and configuration files that are deployed into a service. /// public class Version : Google.Apis.Requests.IDirectResponseSchema { /// /// Serving configuration for Google Cloud Endpoints (https://cloud.google.com/endpoints).Only returned in GET /// requests if view=FULL is set. /// [Newtonsoft.Json.JsonPropertyAttribute("apiConfig")] public virtual ApiConfigHandler ApiConfig { get; set; } /// Allows App Engine second generation runtimes to access the legacy bundled services. [Newtonsoft.Json.JsonPropertyAttribute("appEngineApis")] public virtual System.Nullable AppEngineApis { get; set; } /// /// Automatic scaling is based on request rate, response latencies, and other application metrics. Instances are /// dynamically created and destroyed as needed in order to handle traffic. /// [Newtonsoft.Json.JsonPropertyAttribute("automaticScaling")] public virtual AutomaticScaling AutomaticScaling { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("basicScaling")] public virtual BasicScaling BasicScaling { get; set; } /// Metadata settings that are supplied to this version to enable beta runtime features. [Newtonsoft.Json.JsonPropertyAttribute("betaSettings")] public virtual System.Collections.Generic.IDictionary BetaSettings { get; set; } /// /// Environment variables available to the build environment.Only returned in GET requests if view=FULL is set. /// [Newtonsoft.Json.JsonPropertyAttribute("buildEnvVariables")] public virtual System.Collections.Generic.IDictionary BuildEnvVariables { get; set; } private string _createTimeRaw; private object _createTime; /// Time that this version was created.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("createTime")] public virtual string CreateTimeRaw { get => _createTimeRaw; set { _createTime = Google.Apis.Util.Utilities.DeserializeForGoogleFormat(value); _createTimeRaw = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] [System.ObsoleteAttribute("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")] public virtual object CreateTime { get => _createTime; set { _createTimeRaw = Google.Apis.Util.Utilities.SerializeForGoogleFormat(value); _createTime = value; } } /// representation of . [Newtonsoft.Json.JsonIgnoreAttribute] public virtual System.DateTimeOffset? CreateTimeDateTimeOffset { get => Google.Apis.Util.DiscoveryFormat.ParseGoogleDateTimeToDateTimeOffset(CreateTimeRaw); set => CreateTimeRaw = Google.Apis.Util.DiscoveryFormat.FormatDateTimeOffsetToGoogleDateTime(value); } /// Output only. Email address of the user who created this version.@OutputOnly [Newtonsoft.Json.JsonPropertyAttribute("createdBy")] public virtual string CreatedBy { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("defaultExpiration")] public virtual object DefaultExpiration { get; set; } /// /// Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set. /// [Newtonsoft.Json.JsonPropertyAttribute("deployment")] public virtual Deployment Deployment { get; set; } /// /// Output only. Total size in bytes of all the files that are included in this version and currently hosted on /// the App Engine disk.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("diskUsageBytes")] public virtual System.Nullable DiskUsageBytes { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("endpointsApiService")] public virtual EndpointsApiService EndpointsApiService { get; set; } /// The entrypoint for the application. [Newtonsoft.Json.JsonPropertyAttribute("entrypoint")] public virtual Entrypoint Entrypoint { get; set; } /// App Engine execution environment for this version.Defaults to standard. [Newtonsoft.Json.JsonPropertyAttribute("env")] public virtual string Env { get; set; } /// /// Environment variables available to the application.Only returned in GET requests if view=FULL is set. /// [Newtonsoft.Json.JsonPropertyAttribute("envVariables")] public virtual System.Collections.Generic.IDictionary EnvVariables { get; set; } /// /// Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set. /// [Newtonsoft.Json.JsonPropertyAttribute("errorHandlers")] public virtual System.Collections.Generic.IList ErrorHandlers { get; set; } /// Settings for App Engine flexible runtimes. [Newtonsoft.Json.JsonPropertyAttribute("flexibleRuntimeSettings")] public virtual FlexibleRuntimeSettings FlexibleRuntimeSettings { get; set; } /// /// Additional Google Generated Customer Metadata, this field won't be provided by default and can be requested /// by setting the IncludeExtraData field in GetVersionRequest /// [Newtonsoft.Json.JsonPropertyAttribute("generatedCustomerMetadata")] public virtual System.Collections.Generic.IDictionary GeneratedCustomerMetadata { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("handlers")] public virtual System.Collections.Generic.IList Handlers { get; set; } /// /// Configures health checking for instances. Unhealthy instances are stopped and replaced with new instances. /// Only applicable in the App Engine flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("healthCheck")] public virtual HealthCheck HealthCheck { get; set; } /// /// 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-". /// [Newtonsoft.Json.JsonPropertyAttribute("id")] public virtual string Id { get; set; } /// /// Before an application can receive email or XMPP messages, the application must be configured to enable the /// service. /// [Newtonsoft.Json.JsonPropertyAttribute("inboundServices")] public virtual System.Collections.Generic.IList InboundServices { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("instanceClass")] public virtual string InstanceClass { get; set; } /// /// Configuration for third-party Python runtime libraries that are required by the application.Only returned in /// GET requests if view=FULL is set. /// [Newtonsoft.Json.JsonPropertyAttribute("libraries")] public virtual System.Collections.Generic.IList Libraries { get; set; } /// /// Configures liveness health checking for instances. Unhealthy instances are stopped and replaced with new /// instances /// [Newtonsoft.Json.JsonPropertyAttribute("livenessCheck")] public virtual LivenessCheck LivenessCheck { get; set; } /// /// A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on /// the state of its memory over time. Manually scaled versions are sometimes referred to as "backends". /// [Newtonsoft.Json.JsonPropertyAttribute("manualScaling")] public virtual ManualScaling ManualScaling { get; set; } /// /// Output only. Full path to the Version resource in the API. Example: /// apps/myapp/services/default/versions/v1.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// Extra network settings. Only applicable in the App Engine flexible environment. [Newtonsoft.Json.JsonPropertyAttribute("network")] public virtual Network Network { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("nobuildFilesRegex")] public virtual string NobuildFilesRegex { get; set; } /// /// Configures readiness health checking for instances. Unhealthy instances are not put into the backend traffic /// rotation. /// [Newtonsoft.Json.JsonPropertyAttribute("readinessCheck")] public virtual ReadinessCheck ReadinessCheck { get; set; } /// /// Machine resources for this version. Only applicable in the App Engine flexible environment. /// [Newtonsoft.Json.JsonPropertyAttribute("resources")] public virtual Resources Resources { get; set; } /// Desired runtime. Example: python27. [Newtonsoft.Json.JsonPropertyAttribute("runtime")] public virtual string Runtime { get; set; } /// /// The version of the API in the given runtime environment. Please see the app.yaml reference for valid values /// at https://cloud.google.com/appengine/docs/standard//config/appref /// [Newtonsoft.Json.JsonPropertyAttribute("runtimeApiVersion")] public virtual string RuntimeApiVersion { get; set; } /// /// The channel of the runtime to use. Only available for some runtimes. Defaults to the default channel. /// [Newtonsoft.Json.JsonPropertyAttribute("runtimeChannel")] public virtual string RuntimeChannel { get; set; } /// The path or name of the app's main executable. [Newtonsoft.Json.JsonPropertyAttribute("runtimeMainExecutablePath")] public virtual string RuntimeMainExecutablePath { get; set; } /// /// The identity that the deployed version will run as. Admin API will use the App Engine Appspot service /// account as default if this field is neither provided in app.yaml file nor through CLI flag. /// [Newtonsoft.Json.JsonPropertyAttribute("serviceAccount")] public virtual string ServiceAccount { get; set; } /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("servingStatus")] public virtual string ServingStatus { get; set; } /// Whether multiple requests can be dispatched to this version at once. [Newtonsoft.Json.JsonPropertyAttribute("threadsafe")] public virtual System.Nullable Threadsafe { get; set; } /// /// Output only. Serving URL for this version. Example: /// "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("versionUrl")] public virtual string VersionUrl { get; set; } /// Whether to deploy this version in a container on a virtual machine. [Newtonsoft.Json.JsonPropertyAttribute("vm")] public virtual System.Nullable Vm { get; set; } /// Enables VPC connectivity for standard apps. [Newtonsoft.Json.JsonPropertyAttribute("vpcAccessConnector")] public virtual VpcAccessConnector VpcAccessConnector { get; set; } /// /// The Google Compute Engine zones that are supported by this version in the App Engine flexible environment. /// Deprecated. /// [Newtonsoft.Json.JsonPropertyAttribute("zones")] public virtual System.Collections.Generic.IList Zones { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// /// Volumes mounted within the app container. Only applicable in the App Engine flexible environment. /// public class Volume : Google.Apis.Requests.IDirectResponseSchema { /// Unique name for the volume. [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// Volume size in gigabytes. [Newtonsoft.Json.JsonPropertyAttribute("sizeGb")] public virtual System.Nullable SizeGb { get; set; } /// Underlying volume type, e.g. 'tmpfs'. [Newtonsoft.Json.JsonPropertyAttribute("volumeType")] public virtual string VolumeType { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// VPC access connector specification. public class VpcAccessConnector : Google.Apis.Requests.IDirectResponseSchema { /// The egress setting for the connector, controlling what traffic is diverted through it. [Newtonsoft.Json.JsonPropertyAttribute("egressSetting")] public virtual string EgressSetting { get; set; } /// /// Full Serverless VPC Access Connector name e.g. projects/my-project/locations/us-central1/connectors/c1. /// [Newtonsoft.Json.JsonPropertyAttribute("name")] public virtual string Name { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } /// The zip file information for a zip deployment. public class ZipInfo : Google.Apis.Requests.IDirectResponseSchema { /// /// 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. /// [Newtonsoft.Json.JsonPropertyAttribute("filesCount")] public virtual System.Nullable FilesCount { get; set; } /// /// 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//'. /// [Newtonsoft.Json.JsonPropertyAttribute("sourceUrl")] public virtual string SourceUrl { get; set; } /// The ETag of the item. public virtual string ETag { get; set; } } }