// 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.v1alpha { /// The Appengine Service. public class AppengineService : Google.Apis.Services.BaseClientService { /// The API version. public const string Version = "v1alpha"; /// 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); Locations = new LocationsResource(service); Operations = new OperationsResource(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.v1alpha.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.v1alpha.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.v1alpha.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 => "v1alpha/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 => "v1alpha/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 => "v1alpha/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 => "v1alpha/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.v1alpha.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.v1alpha.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.v1alpha.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 => "v1alpha/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 => "v1alpha/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.v1alpha.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.v1alpha.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 a managed certificate should be provided by App Engine. If true, a certificate ID must be /// manaually set in the DomainMapping resource to configure SSL for this domain. If false, a managed /// certificate will be provisioned and a certificate ID will be automatically populated. /// [Google.Apis.Util.RequestParameterAttribute("noManagedCertificate", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable NoManagedCertificate { get; 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.v1alpha.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 => "v1alpha/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("noManagedCertificate", new Google.Apis.Discovery.Parameter { Name = "noManagedCertificate", IsRequired = false, ParameterType = "query", 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 => "v1alpha/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 => "v1alpha/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 => "v1alpha/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.v1alpha.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.v1alpha.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; } /// /// Whether a managed certificate should be provided by App Engine. If true, a certificate ID must be /// manually set in the DomainMapping resource to configure SSL for this domain. If false, a managed /// certificate will be provisioned and a certificate ID will be automatically populated. Only /// applicable if ssl_settings.certificate_id is specified in the update mask. /// [Google.Apis.Util.RequestParameterAttribute("noManagedCertificate", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable NoManagedCertificate { 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.v1alpha.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 => "v1alpha/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("noManagedCertificate", new Google.Apis.Discovery.Parameter { Name = "noManagedCertificate", 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, }); } } } /// 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 => "v1alpha/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 => "v1alpha/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 => "v1alpha/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 => "v1alpha/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, }); } } } } /// 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); Operations = new OperationsResource(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); } /// 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.v1alpha.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.v1alpha.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.v1alpha.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 => "v1alpha/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 => "v1alpha/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 => "v1alpha/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 => "v1alpha/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.v1alpha.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.v1alpha.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.v1alpha.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 => "v1alpha/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 => "v1alpha/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.v1alpha.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.v1alpha.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 a managed certificate should be provided by App Engine. If true, a certificate ID /// must be manaually set in the DomainMapping resource to configure SSL for this domain. If /// false, a managed certificate will be provisioned and a certificate ID will be automatically /// populated. /// [Google.Apis.Util.RequestParameterAttribute("noManagedCertificate", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable NoManagedCertificate { get; 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.v1alpha.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 => "v1alpha/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("noManagedCertificate", new Google.Apis.Discovery.Parameter { Name = "noManagedCertificate", IsRequired = false, ParameterType = "query", 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 => "v1alpha/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 => "v1alpha/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 => "v1alpha/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.v1alpha.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.v1alpha.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; } /// /// Whether a managed certificate should be provided by App Engine. If true, a certificate ID /// must be manually set in the DomainMapping resource to configure SSL for this domain. If /// false, a managed certificate will be provisioned and a certificate ID will be automatically /// populated. Only applicable if ssl_settings.certificate_id is specified in the update mask. /// [Google.Apis.Util.RequestParameterAttribute("noManagedCertificate", Google.Apis.Util.RequestParameterType.Query)] public virtual System.Nullable NoManagedCertificate { 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.v1alpha.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 => "v1alpha/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("noManagedCertificate", new Google.Apis.Discovery.Parameter { Name = "noManagedCertificate", 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, }); } } } } /// 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 `projectsId`. /// Part of `name`. See documentation of `projectsId`. public virtual GetRequest Get(string projectsId, string locationsId, string operationsId) { return new GetRequest(this.service, projectsId, locationsId, 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 projectsId, string locationsId, string operationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; OperationsId = operationsId; InitParameters(); } /// Part of `name`. The name of the operation resource. [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("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 => "v1alpha/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}"; /// 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("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. /// Part of `name`. See documentation of `projectsId`. public virtual ListRequest List(string projectsId, string locationsId) { return new ListRequest(this.service, projectsId, locationsId); } /// /// 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 projectsId, string locationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; InitParameters(); } /// Part of `name`. The name of the operation's parent resource. [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; } /// 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 => "v1alpha/projects/{projectsId}/locations/{locationsId}/operations"; /// 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("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 information about a location. /// Part of `name`. Resource name for the location. /// Part of `name`. See documentation of `projectsId`. public virtual GetRequest Get(string projectsId, string locationsId) { return new GetRequest(this.service, projectsId, locationsId); } /// Gets information about a location. public class GetRequest : AppengineBaseServiceRequest { /// Constructs a new Get request. public GetRequest(Google.Apis.Services.IClientService service, string projectsId, string locationsId) : base(service) { ProjectsId = projectsId; LocationsId = locationsId; InitParameters(); } /// Part of `name`. Resource name for the location. [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; } /// 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 => "v1alpha/projects/{projectsId}/locations/{locationsId}"; /// 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, }); } } /// 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 projectsId) { return new ListRequest(this.service, projectsId); } /// 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 projectsId) : base(service) { ProjectsId = projectsId; InitParameters(); } /// Part of `name`. The resource that owns the locations collection, if applicable. [Google.Apis.Util.RequestParameterAttribute("projectsId", Google.Apis.Util.RequestParameterType.Path)] public virtual string ProjectsId { 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 => "v1alpha/projects/{projectsId}/locations"; /// 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("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, }); } } } } } namespace Google.Apis.Appengine.v1alpha.Data { /// /// 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; } } /// 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; } } /// /// 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; } } /// /// 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; } } /// 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; } } /// 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; } } /// 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; } } /// 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; } } /// 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; } } /// 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; } } /// /// 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; } } /// /// 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; } } /// 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 no_managed_certificate 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. Whether the mapped certificate is an App Engine managed certificate. Managed certificates are /// created by default with a domain mapping. To opt out, specify no_managed_certificate on a CREATE or UPDATE /// request.@OutputOnly /// [Newtonsoft.Json.JsonPropertyAttribute("isManagedCertificate")] public virtual System.Nullable IsManagedCertificate { 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; } } }