mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
Bye bye openapi (#1081)
* add DateTime sans mgo * change all uses of strfmt.DateTime to common.DateTime, remove test strfmt usage * remove api tests, system-test dep on api test multiple reasons to remove the api tests: * awkward dependency with fn_go meant generating bindings on a branched fn to vendor those to test new stuff. this is at a minimum not at all intuitive, worth it, nor a fun way to spend the finite amount of time we have to live. * api tests only tested a subset of functionality that the server/ api tests already test, and we risk having tests where one tests some thing and the other doesn't. let's not. we have too many test suites as it is, and these pretty much only test that we updated the fn_go bindings, which is actually a hassle as noted above and the cli will pretty quickly figure out anyway. * fn_go relies on openapi, which relies on mgo, which is deprecated and we'd like to remove as a dependency. openapi is a _huge_ dep built in a NIH fashion, that cannot simply remove the mgo dep as users may be using it. we've now stolen their date time and otherwise killed usage of it in fn core, for fn_go it still exists but that's less of a problem. * update deps removals: * easyjson * mgo * go-openapi * mapstructure * fn_go * purell * go-validator also, had to lock docker. we shouldn't use docker on master anyway, they strongly advise against that. had no luck with latest version rev, so i locked it to what we were using before. until next time. the rest is just playing dep roulette, those end up removing a ton tho * fix exec test to work * account for john le cache
This commit is contained in:
102
vendor/google.golang.org/api/appengine/v1/appengine-api.json
generated
vendored
102
vendor/google.golang.org/api/appengine/v1/appengine-api.json
generated
vendored
@@ -851,7 +851,7 @@
|
||||
"locations": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Get information about a location.",
|
||||
"description": "Gets information about a location.",
|
||||
"flatPath": "v1/apps/{appsId}/locations/{locationsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "appengine.apps.locations.get",
|
||||
@@ -1333,7 +1333,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.",
|
||||
"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)Flexible environment\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)",
|
||||
"flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "appengine.apps.services.versions.patch",
|
||||
@@ -1583,7 +1583,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180307",
|
||||
"revision": "20180525",
|
||||
"rootUrl": "https://appengine.googleapis.com/",
|
||||
"schemas": {
|
||||
"ApiConfigHandler": {
|
||||
@@ -1767,6 +1767,10 @@
|
||||
"description": "Relative name of the certificate. This is a unique value autogenerated on AuthorizedCertificate resource creation. Example: 12345.@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"managedCertificate": {
|
||||
"$ref": "ManagedCertificate",
|
||||
"description": "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"
|
||||
},
|
||||
"name": {
|
||||
"description": "Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.@OutputOnly",
|
||||
"type": "string"
|
||||
@@ -1923,6 +1927,22 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CloudBuildOptions": {
|
||||
"description": "Options for the build operations performed as a part of the version deployment. Only applicable for App Engine flexible environment when creating a version using source code directly.",
|
||||
"id": "CloudBuildOptions",
|
||||
"properties": {
|
||||
"appYamlPath": {
|
||||
"description": "Path to the yaml file used in deployment, used to determine runtime configuration details.Required for flexible environment builds.See https://cloud.google.com/appengine/docs/standard/python/config/appref for more details.",
|
||||
"type": "string"
|
||||
},
|
||||
"cloudBuildTimeout": {
|
||||
"description": "The Cloud Build timeout used as part of any dependent builds performed by version creation. Defaults to 10 minutes.",
|
||||
"format": "google-duration",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ContainerInfo": {
|
||||
"description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.",
|
||||
"id": "ContainerInfo",
|
||||
@@ -1951,6 +1971,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1",
|
||||
"properties": {
|
||||
"cloudBuildId": {
|
||||
"description": "The Cloud Build ID if one was created as part of the version create. @OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1Alpha": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1alpha.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1Alpha",
|
||||
@@ -1988,6 +2019,10 @@
|
||||
"description": "Code and application artifacts used to deploy a version to App Engine.",
|
||||
"id": "Deployment",
|
||||
"properties": {
|
||||
"cloudBuildOptions": {
|
||||
"$ref": "CloudBuildOptions",
|
||||
"description": "Options for any Google Cloud Container Builder builds created as a part of this deployment.Note that this is orthogonal to the build parameter, where the deployment depends on an already existing cloud build. These options will only be used if a new build is created, such as when deploying to the App Engine flexible environment using files or zip."
|
||||
},
|
||||
"container": {
|
||||
"$ref": "ContainerInfo",
|
||||
"description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment."
|
||||
@@ -2066,11 +2101,11 @@
|
||||
"type": "object"
|
||||
},
|
||||
"EndpointsApiService": {
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"id": "EndpointsApiService",
|
||||
"properties": {
|
||||
"configId": {
|
||||
"description": "Endpoints service configuration id as specified by the Service Management API. For example \"2016-09-19r1\"",
|
||||
"description": "Endpoints service configuration ID as specified by the Service Management API. For example \"2016-09-19r1\".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need the configuration ID. In this case, config_id must be omitted.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
@@ -2593,6 +2628,40 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ManagedCertificate": {
|
||||
"description": "A certificate managed by App Engine.",
|
||||
"id": "ManagedCertificate",
|
||||
"properties": {
|
||||
"lastRenewalTime": {
|
||||
"description": "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",
|
||||
"format": "google-datetime",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"description": "Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.@OutputOnly",
|
||||
"enum": [
|
||||
"MANAGEMENT_STATUS_UNSPECIFIED",
|
||||
"OK",
|
||||
"PENDING",
|
||||
"FAILED_RETRYING_NOT_VISIBLE",
|
||||
"FAILED_PERMANENT",
|
||||
"FAILED_RETRYING_CAA_FORBIDDEN",
|
||||
"FAILED_RETRYING_CAA_CHECKING"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"",
|
||||
"Certificate was successfully obtained and inserted into the serving system.",
|
||||
"Certificate is under active attempts to acquire or renew.",
|
||||
"Most recent renewal failed due to an invalid DNS setup and will be retried. Renewal attempts will continue to fail until the certificate domain's DNS configuration is fixed. The last successfully provisioned certificate may still be serving.",
|
||||
"All renewal attempts have been exhausted, likely due to an invalid DNS setup.",
|
||||
"Most recent renewal failed due to an explicit CAA record that does not include the in-use CA, Let's Encrypt. Renewals will continue to fail until the CAA is reconfigured. The last successfully provisioned certificate may still be serving.",
|
||||
"Most recent renewal failed due to a CAA retrieval failure. This means that the domain's DNS provider does not properly handle CAA records, failing requests for CAA records when no CAA records are defined. Renewals will continue to fail until the DNS provider is changed or a CAA record is added for the given domain. The last successfully provisioned certificate may still be serving."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"ManualScaling": {
|
||||
"description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.",
|
||||
"id": "ManualScaling",
|
||||
@@ -2730,6 +2799,9 @@
|
||||
"description": "Metadata for the given google.longrunning.Operation.",
|
||||
"id": "OperationMetadataV1",
|
||||
"properties": {
|
||||
"createVersionMetadata": {
|
||||
"$ref": "CreateVersionMetadataV1"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Time that this operation completed.@OutputOnly",
|
||||
"format": "google-datetime",
|
||||
@@ -3039,7 +3111,25 @@
|
||||
"id": "SslSettings",
|
||||
"properties": {
|
||||
"certificateId": {
|
||||
"description": "ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support. Example: 12345.",
|
||||
"description": "ID of the AuthorizedCertificate resource configuring SSL for the application. Clearing this field will remove SSL support.By default, a managed certificate is automatically created for every domain mapping. To omit SSL support or to configure SSL manually, specify SslManagementType.MANUAL on a CREATE or UPDATE request. You must be authorized to administer the AuthorizedCertificate resource to manually map it to a DomainMapping resource. Example: 12345.",
|
||||
"type": "string"
|
||||
},
|
||||
"pendingManagedCertificateId": {
|
||||
"description": "ID of the managed AuthorizedCertificate resource currently being provisioned, if applicable. Until the new managed certificate has been successfully provisioned, the previous SSL state will be preserved. Once the provisioning process completes, the certificate_id field will reflect the new managed certificate and this field will be left empty. To remove SSL support while there is still a pending managed certificate, clear the certificate_id field with an UpdateDomainMappingRequest.@OutputOnly",
|
||||
"type": "string"
|
||||
},
|
||||
"sslManagementType": {
|
||||
"description": "SSL management type for this domain. If AUTOMATIC, a managed certificate is automatically provisioned. If MANUAL, certificate_id must be manually specified in order to configure SSL for this domain.",
|
||||
"enum": [
|
||||
"SSL_MANAGEMENT_TYPE_UNSPECIFIED",
|
||||
"AUTOMATIC",
|
||||
"MANUAL"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Defaults to AUTOMATIC.",
|
||||
"SSL support for this domain is configured automatically. The mapped SSL certificate will be automatically renewed.",
|
||||
"SSL support for this domain is configured manually by the user. Either the domain has no SSL support or a user-obtained SSL certificate has been explictly mapped to this domain."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
|
||||
325
vendor/google.golang.org/api/appengine/v1/appengine-gen.go
generated
vendored
325
vendor/google.golang.org/api/appengine/v1/appengine-gen.go
generated
vendored
@@ -449,6 +449,13 @@ type AuthorizedCertificate struct {
|
||||
// 12345.@OutputOnly
|
||||
Id string `json:"id,omitempty"`
|
||||
|
||||
// ManagedCertificate: 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
|
||||
ManagedCertificate *ManagedCertificate `json:"managedCertificate,omitempty"`
|
||||
|
||||
// Name: Full path to the AuthorizedCertificate resource in the API.
|
||||
// Example: apps/myapp/authorizedCertificates/12345.@OutputOnly
|
||||
Name string `json:"name,omitempty"`
|
||||
@@ -744,6 +751,46 @@ func (s *CertificateRawData) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CloudBuildOptions: Options for the build operations performed as a
|
||||
// part of the version deployment. Only applicable for App Engine
|
||||
// flexible environment when creating a version using source code
|
||||
// directly.
|
||||
type CloudBuildOptions struct {
|
||||
// AppYamlPath: Path to the yaml file used in deployment, used to
|
||||
// determine runtime configuration details.Required for flexible
|
||||
// environment builds.See
|
||||
// https://cloud.google.com/appengine/docs/standard/python/config/appref
|
||||
// for more details.
|
||||
AppYamlPath string `json:"appYamlPath,omitempty"`
|
||||
|
||||
// CloudBuildTimeout: The Cloud Build timeout used as part of any
|
||||
// dependent builds performed by version creation. Defaults to 10
|
||||
// minutes.
|
||||
CloudBuildTimeout string `json:"cloudBuildTimeout,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AppYamlPath") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "AppYamlPath") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CloudBuildOptions) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CloudBuildOptions
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ContainerInfo: Docker image that is used to create a container and
|
||||
// start a VM instance for the version that you deploy. Only applicable
|
||||
// for instances running in the App Engine flexible environment.
|
||||
@@ -826,6 +873,37 @@ func (s *CpuUtilization) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1 struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1alpha.CreateVersionRequest.
|
||||
@@ -926,6 +1004,14 @@ func (s *DebugInstanceRequest) MarshalJSON() ([]byte, error) {
|
||||
// Deployment: Code and application artifacts used to deploy a version
|
||||
// to App Engine.
|
||||
type Deployment struct {
|
||||
// CloudBuildOptions: Options for any Google Cloud Container Builder
|
||||
// builds created as a part of this deployment.Note that this is
|
||||
// orthogonal to the build parameter, where the deployment depends on an
|
||||
// already existing cloud build. These options will only be used if a
|
||||
// new build is created, such as when deploying to the App Engine
|
||||
// flexible environment using files or zip.
|
||||
CloudBuildOptions *CloudBuildOptions `json:"cloudBuildOptions,omitempty"`
|
||||
|
||||
// Container: The Docker image for the container that runs the version.
|
||||
// Only applicable for instances running in the App Engine flexible
|
||||
// environment.
|
||||
@@ -939,20 +1025,21 @@ type Deployment struct {
|
||||
// Zip: The zip file for this deployment, if this is a zip deployment.
|
||||
Zip *ZipInfo `json:"zip,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "Container") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildOptions")
|
||||
// to unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "Container") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CloudBuildOptions") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
@@ -1067,12 +1154,21 @@ type Empty struct {
|
||||
// EndpointsApiService: Cloud Endpoints
|
||||
// (https://cloud.google.com/endpoints) configuration. The Endpoints API
|
||||
// Service provides tooling for serving Open API and gRPC endpoints via
|
||||
// an NGINX proxy.The fields here refer to the name and configuration id
|
||||
// of a "service" resource in the Service Management API
|
||||
// an NGINX proxy. Only valid for App Engine Flexible environment
|
||||
// deployments.The fields here refer to the name and configuration ID of
|
||||
// a "service" resource in the Service Management API
|
||||
// (https://cloud.google.com/service-management/overview).
|
||||
type EndpointsApiService struct {
|
||||
// ConfigId: Endpoints service configuration id as specified by the
|
||||
// Service Management API. For example "2016-09-19r1"
|
||||
// ConfigId: Endpoints service configuration ID as specified by the
|
||||
// Service Management API. For example "2016-09-19r1".By default, the
|
||||
// rollout strategy for Endpoints is RolloutStrategy.FIXED. This means
|
||||
// that Endpoints starts up with a particular configuration ID. When a
|
||||
// new configuration is rolled out, Endpoints must be given the new
|
||||
// configuration ID. The config_id field is used to give the
|
||||
// configuration ID and is required in this case.Endpoints also has a
|
||||
// rollout strategy called RolloutStrategy.MANAGED. When using this,
|
||||
// Endpoints fetches the latest configuration and does not need the
|
||||
// configuration ID. In this case, config_id must be omitted.
|
||||
ConfigId string `json:"configId,omitempty"`
|
||||
|
||||
// Name: Endpoints service name which is the name of the "service"
|
||||
@@ -1996,6 +2092,68 @@ func (s *LocationMetadata) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ManagedCertificate: A certificate managed by App Engine.
|
||||
type ManagedCertificate struct {
|
||||
// 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
|
||||
LastRenewalTime string `json:"lastRenewalTime,omitempty"`
|
||||
|
||||
// Status: Status of certificate management. Refers to the most recent
|
||||
// certificate acquisition or renewal attempt.@OutputOnly
|
||||
//
|
||||
// Possible values:
|
||||
// "MANAGEMENT_STATUS_UNSPECIFIED"
|
||||
// "OK" - Certificate was successfully obtained and inserted into the
|
||||
// serving system.
|
||||
// "PENDING" - Certificate is under active attempts to acquire or
|
||||
// renew.
|
||||
// "FAILED_RETRYING_NOT_VISIBLE" - Most recent renewal failed due to
|
||||
// an invalid DNS setup and will be retried. Renewal attempts will
|
||||
// continue to fail until the certificate domain's DNS configuration is
|
||||
// fixed. The last successfully provisioned certificate may still be
|
||||
// serving.
|
||||
// "FAILED_PERMANENT" - All renewal attempts have been exhausted,
|
||||
// likely due to an invalid DNS setup.
|
||||
// "FAILED_RETRYING_CAA_FORBIDDEN" - Most recent renewal failed due to
|
||||
// an explicit CAA record that does not include the in-use CA, Let's
|
||||
// Encrypt. Renewals will continue to fail until the CAA is
|
||||
// reconfigured. The last successfully provisioned certificate may still
|
||||
// be serving.
|
||||
// "FAILED_RETRYING_CAA_CHECKING" - Most recent renewal failed due to
|
||||
// a CAA retrieval failure. This means that the domain's DNS provider
|
||||
// does not properly handle CAA records, failing requests for CAA
|
||||
// records when no CAA records are defined. Renewals will continue to
|
||||
// fail until the DNS provider is changed or a CAA record is added for
|
||||
// the given domain. The last successfully provisioned certificate may
|
||||
// still be serving.
|
||||
Status string `json:"status,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "LastRenewalTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "LastRenewalTime") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *ManagedCertificate) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod ManagedCertificate
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// ManualScaling: A service with manual scaling runs continuously,
|
||||
// allowing you to perform complex initialization and rely on the state
|
||||
// of its memory over time.
|
||||
@@ -2239,6 +2397,8 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
// OperationMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1 struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1 `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -2264,20 +2424,22 @@ type OperationMetadataV1 struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
@@ -2709,10 +2871,40 @@ func (s *Service) MarshalJSON() ([]byte, error) {
|
||||
// SslSettings: SSL configuration for a DomainMapping resource.
|
||||
type SslSettings struct {
|
||||
// CertificateId: ID of the AuthorizedCertificate resource configuring
|
||||
// SSL for the application. Clearing this field will remove SSL support.
|
||||
// Example: 12345.
|
||||
// SSL for the application. Clearing this field will remove SSL
|
||||
// support.By default, a managed certificate is automatically created
|
||||
// for every domain mapping. To omit SSL support or to configure SSL
|
||||
// manually, specify SslManagementType.MANUAL on a CREATE or UPDATE
|
||||
// request. You must be authorized to administer the
|
||||
// AuthorizedCertificate resource to manually map it to a DomainMapping
|
||||
// resource. Example: 12345.
|
||||
CertificateId string `json:"certificateId,omitempty"`
|
||||
|
||||
// PendingManagedCertificateId: ID of the managed AuthorizedCertificate
|
||||
// resource currently being provisioned, if applicable. Until the new
|
||||
// managed certificate has been successfully provisioned, the previous
|
||||
// SSL state will be preserved. Once the provisioning process completes,
|
||||
// the certificate_id field will reflect the new managed certificate and
|
||||
// this field will be left empty. To remove SSL support while there is
|
||||
// still a pending managed certificate, clear the certificate_id field
|
||||
// with an UpdateDomainMappingRequest.@OutputOnly
|
||||
PendingManagedCertificateId string `json:"pendingManagedCertificateId,omitempty"`
|
||||
|
||||
// SslManagementType: SSL management type for this domain. If AUTOMATIC,
|
||||
// a managed certificate is automatically provisioned. If MANUAL,
|
||||
// certificate_id must be manually specified in order to configure SSL
|
||||
// for this domain.
|
||||
//
|
||||
// Possible values:
|
||||
// "SSL_MANAGEMENT_TYPE_UNSPECIFIED" - Defaults to AUTOMATIC.
|
||||
// "AUTOMATIC" - SSL support for this domain is configured
|
||||
// automatically. The mapped SSL certificate will be automatically
|
||||
// renewed.
|
||||
// "MANUAL" - SSL support for this domain is configured manually by
|
||||
// the user. Either the domain has no SSL support or a user-obtained SSL
|
||||
// certificate has been explictly mapped to this domain.
|
||||
SslManagementType string `json:"sslManagementType,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CertificateId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -6698,7 +6890,7 @@ type AppsLocationsGetCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Get information about a location.
|
||||
// Get: Gets information about a location.
|
||||
func (r *AppsLocationsService) Get(appsId string, locationsId string) *AppsLocationsGetCall {
|
||||
c := &AppsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
@@ -6801,7 +6993,7 @@ func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, erro
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Get information about a location.",
|
||||
// "description": "Gets information about a location.",
|
||||
// "flatPath": "v1/apps/{appsId}/locations/{locationsId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "appengine.apps.locations.get",
|
||||
@@ -8747,48 +8939,59 @@ type AppsServicesVersionsPatchCall struct {
|
||||
|
||||
// Patch: Updates the specified Version resource. You can specify the
|
||||
// following fields depending on the App Engine environment and type of
|
||||
// scaling that the version resource uses:
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.serving_status): For Version
|
||||
// resources that use basic scaling, manual scaling, or run in the App
|
||||
// Engine flexible environment.
|
||||
// scaling that the version resource uses:Standard
|
||||
// environment
|
||||
// instance_class
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.instance_class): For Version
|
||||
// resources that run in the App Engine standard
|
||||
// environment.
|
||||
// pps.services.versions#Version.FIELDS.instance_class)automatic scaling
|
||||
// in the standard environment:
|
||||
// automatic_scaling.min_idle_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// standard environment.
|
||||
// automatic_scaling.max_idle_instances
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_scal
|
||||
// ing.max_idle_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// standard environment.
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automaticScali
|
||||
// ng.standard_scheduler_settings.max_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.stan
|
||||
// dard_scheduler_settings.min_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.stan
|
||||
// dard_scheduler_settings.target_cpu_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.stan
|
||||
// dard_scheduler_settings.target_throughput_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#StandardSchedulerSettings)basic scaling or
|
||||
// manual scaling in the standard environment:
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.serving_status)Flexible
|
||||
// environment
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.serving_status)automatic scaling
|
||||
// in the flexible environment:
|
||||
// automatic_scaling.min_total_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// flexible environment.
|
||||
// automatic_scaling.max_total_instances
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_scal
|
||||
// ing.max_total_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// flexible environment.
|
||||
// automatic_scaling.cool_down_period_sec
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_scal
|
||||
// ing.cool_down_period_sec
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// flexible
|
||||
// environment.
|
||||
// automatic_scaling.cpu_utilization.target_utilization
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_scal
|
||||
// ing.cpu_utilization.target_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/a
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling): For Version
|
||||
// resources that use automatic scaling and run in the App Engine
|
||||
// flexible environment.
|
||||
// pps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
func (r *AppsServicesVersionsService) Patch(appsId string, servicesId string, versionsId string, version *Version) *AppsServicesVersionsPatchCall {
|
||||
c := &AppsServicesVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
@@ -8893,7 +9096,7 @@ func (c *AppsServicesVersionsPatchCall) Do(opts ...googleapi.CallOption) (*Opera
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.",
|
||||
// "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)Flexible environment\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)",
|
||||
// "flatPath": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
|
||||
// "httpMethod": "PATCH",
|
||||
// "id": "appengine.apps.services.versions.patch",
|
||||
|
||||
18
vendor/google.golang.org/api/appengine/v1alpha/appengine-api.json
generated
vendored
18
vendor/google.golang.org/api/appengine/v1alpha/appengine-api.json
generated
vendored
@@ -547,7 +547,7 @@
|
||||
"locations": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Get information about a location.",
|
||||
"description": "Gets information about a location.",
|
||||
"flatPath": "v1alpha/apps/{appsId}/locations/{locationsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "appengine.apps.locations.get",
|
||||
@@ -705,7 +705,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180307",
|
||||
"revision": "20180320",
|
||||
"rootUrl": "https://appengine.googleapis.com/",
|
||||
"schemas": {
|
||||
"AuthorizedCertificate": {
|
||||
@@ -789,6 +789,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1",
|
||||
"properties": {
|
||||
"cloudBuildId": {
|
||||
"description": "The Cloud Build ID if one was created as part of the version create. @OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1Alpha": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1alpha.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1Alpha",
|
||||
@@ -1090,6 +1101,9 @@
|
||||
"description": "Metadata for the given google.longrunning.Operation.",
|
||||
"id": "OperationMetadataV1",
|
||||
"properties": {
|
||||
"createVersionMetadata": {
|
||||
"$ref": "CreateVersionMetadataV1"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Time that this operation completed.@OutputOnly",
|
||||
"format": "google-datetime",
|
||||
|
||||
63
vendor/google.golang.org/api/appengine/v1alpha/appengine-gen.go
generated
vendored
63
vendor/google.golang.org/api/appengine/v1alpha/appengine-gen.go
generated
vendored
@@ -311,6 +311,37 @@ func (s *CertificateRawData) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1 struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1alpha.CreateVersionRequest.
|
||||
@@ -889,6 +920,8 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
// OperationMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1 struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1 `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -914,20 +947,22 @@ type OperationMetadataV1 struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
@@ -3081,7 +3116,7 @@ type AppsLocationsGetCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Get information about a location.
|
||||
// Get: Gets information about a location.
|
||||
func (r *AppsLocationsService) Get(appsId string, locationsId string) *AppsLocationsGetCall {
|
||||
c := &AppsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
@@ -3184,7 +3219,7 @@ func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, erro
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Get information about a location.",
|
||||
// "description": "Gets information about a location.",
|
||||
// "flatPath": "v1alpha/apps/{appsId}/locations/{locationsId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "appengine.apps.locations.get",
|
||||
|
||||
38
vendor/google.golang.org/api/appengine/v1beta/appengine-api.json
generated
vendored
38
vendor/google.golang.org/api/appengine/v1beta/appengine-api.json
generated
vendored
@@ -851,7 +851,7 @@
|
||||
"locations": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Get information about a location.",
|
||||
"description": "Gets information about a location.",
|
||||
"flatPath": "v1beta/apps/{appsId}/locations/{locationsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "appengine.apps.locations.get",
|
||||
@@ -1333,7 +1333,7 @@
|
||||
]
|
||||
},
|
||||
"patch": {
|
||||
"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.",
|
||||
"description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)Flexible environment\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)",
|
||||
"flatPath": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
|
||||
"httpMethod": "PATCH",
|
||||
"id": "appengine.apps.services.versions.patch",
|
||||
@@ -1583,7 +1583,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180307",
|
||||
"revision": "20180511",
|
||||
"rootUrl": "https://appengine.googleapis.com/",
|
||||
"schemas": {
|
||||
"ApiConfigHandler": {
|
||||
@@ -1989,6 +1989,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1",
|
||||
"properties": {
|
||||
"cloudBuildId": {
|
||||
"description": "The Cloud Build ID if one was created as part of the version create. @OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1Alpha": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1alpha.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1Alpha",
|
||||
@@ -2141,16 +2152,30 @@
|
||||
"type": "object"
|
||||
},
|
||||
"EndpointsApiService": {
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration ID of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"id": "EndpointsApiService",
|
||||
"properties": {
|
||||
"configId": {
|
||||
"description": "Endpoints service configuration id as specified by the Service Management API. For example \"2016-09-19r1\"By default, the Endpoints service configuration id is fixed and config_id must be specified. To keep the Endpoints service configuration id updated with each rollout, specify RolloutStrategy.MANAGED and omit config_id.",
|
||||
"description": "Endpoints service configuration ID as specified by the Service Management API. For example \"2016-09-19r1\".By default, the rollout strategy for Endpoints is RolloutStrategy.FIXED. This means that Endpoints starts up with a particular configuration ID. When a new configuration is rolled out, Endpoints must be given the new configuration ID. The config_id field is used to give the configuration ID and is required in this case.Endpoints also has a rollout strategy called RolloutStrategy.MANAGED. When using this, Endpoints fetches the latest configuration and does not need to be told the configuration ID. In this case, config_id must be omitted.",
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endpoints.myproject.cloud.goog\"",
|
||||
"type": "string"
|
||||
},
|
||||
"rolloutStrategy": {
|
||||
"description": "Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.",
|
||||
"enum": [
|
||||
"UNSPECIFIED_ROLLOUT_STRATEGY",
|
||||
"FIXED",
|
||||
"MANAGED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Not specified. Defaults to FIXED.",
|
||||
"Endpoints service configuration ID will be fixed to the configuration ID specified by config_id.",
|
||||
"Endpoints service configuration ID will be updated with each rollout."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -2847,6 +2872,9 @@
|
||||
"description": "Metadata for the given google.longrunning.Operation.",
|
||||
"id": "OperationMetadataV1",
|
||||
"properties": {
|
||||
"createVersionMetadata": {
|
||||
"$ref": "CreateVersionMetadataV1"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Time that this operation completed.@OutputOnly",
|
||||
"format": "google-datetime",
|
||||
|
||||
174
vendor/google.golang.org/api/appengine/v1beta/appengine-gen.go
generated
vendored
174
vendor/google.golang.org/api/appengine/v1beta/appengine-gen.go
generated
vendored
@@ -905,6 +905,37 @@ func (s *CpuUtilization) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1 struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1alpha.CreateVersionRequest.
|
||||
@@ -1220,16 +1251,21 @@ type Empty struct {
|
||||
// EndpointsApiService: Cloud Endpoints
|
||||
// (https://cloud.google.com/endpoints) configuration. The Endpoints API
|
||||
// Service provides tooling for serving Open API and gRPC endpoints via
|
||||
// an NGINX proxy.The fields here refer to the name and configuration id
|
||||
// of a "service" resource in the Service Management API
|
||||
// an NGINX proxy. Only valid for App Engine Flexible environment
|
||||
// deployments.The fields here refer to the name and configuration ID of
|
||||
// a "service" resource in the Service Management API
|
||||
// (https://cloud.google.com/service-management/overview).
|
||||
type EndpointsApiService struct {
|
||||
// ConfigId: Endpoints service configuration id as specified by the
|
||||
// Service Management API. For example "2016-09-19r1"By default, the
|
||||
// Endpoints service configuration id is fixed and config_id must be
|
||||
// specified. To keep the Endpoints service configuration id updated
|
||||
// with each rollout, specify RolloutStrategy.MANAGED and omit
|
||||
// config_id.
|
||||
// ConfigId: Endpoints service configuration ID as specified by the
|
||||
// Service Management API. For example "2016-09-19r1".By default, the
|
||||
// rollout strategy for Endpoints is RolloutStrategy.FIXED. This means
|
||||
// that Endpoints starts up with a particular configuration ID. When a
|
||||
// new configuration is rolled out, Endpoints must be given the new
|
||||
// configuration ID. The config_id field is used to give the
|
||||
// configuration ID and is required in this case.Endpoints also has a
|
||||
// rollout strategy called RolloutStrategy.MANAGED. When using this,
|
||||
// Endpoints fetches the latest configuration and does not need to be
|
||||
// told the configuration ID. In this case, config_id must be omitted.
|
||||
ConfigId string `json:"configId,omitempty"`
|
||||
|
||||
// Name: Endpoints service name which is the name of the "service"
|
||||
@@ -1237,6 +1273,17 @@ type EndpointsApiService struct {
|
||||
// "myapi.endpoints.myproject.cloud.goog"
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// RolloutStrategy: Endpoints rollout strategy. If FIXED, config_id must
|
||||
// be specified. If MANAGED, config_id must be omitted.
|
||||
//
|
||||
// Possible values:
|
||||
// "UNSPECIFIED_ROLLOUT_STRATEGY" - Not specified. Defaults to FIXED.
|
||||
// "FIXED" - Endpoints service configuration ID will be fixed to the
|
||||
// configuration ID specified by config_id.
|
||||
// "MANAGED" - Endpoints service configuration ID will be updated with
|
||||
// each rollout.
|
||||
RolloutStrategy string `json:"rolloutStrategy,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ConfigId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -2466,6 +2513,8 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
// OperationMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1 struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1 `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -2491,20 +2540,22 @@ type OperationMetadataV1 struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
@@ -6954,7 +7005,7 @@ type AppsLocationsGetCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Get information about a location.
|
||||
// Get: Gets information about a location.
|
||||
func (r *AppsLocationsService) Get(appsId string, locationsId string) *AppsLocationsGetCall {
|
||||
c := &AppsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
@@ -7057,7 +7108,7 @@ func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, erro
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Get information about a location.",
|
||||
// "description": "Gets information about a location.",
|
||||
// "flatPath": "v1beta/apps/{appsId}/locations/{locationsId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "appengine.apps.locations.get",
|
||||
@@ -9004,48 +9055,61 @@ type AppsServicesVersionsPatchCall struct {
|
||||
|
||||
// Patch: Updates the specified Version resource. You can specify the
|
||||
// following fields depending on the App Engine environment and type of
|
||||
// scaling that the version resource uses:
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.serving_status): For
|
||||
// Version resources that use basic scaling, manual scaling, or run in
|
||||
// the App Engine flexible environment.
|
||||
// scaling that the version resource uses:Standard
|
||||
// environment
|
||||
// instance_class
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.instance_class): For
|
||||
// Version resources that run in the App Engine standard
|
||||
// environment.
|
||||
// ta/apps.services.versions#Version.FIELDS.instance_class)automatic
|
||||
// scaling in the standard
|
||||
// environment:
|
||||
// automatic_scaling.min_idle_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine standard environment.
|
||||
// automatic_scaling.max_idle_instances
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_
|
||||
// scaling.max_idle_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine standard environment.
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automaticS
|
||||
// caling.standard_scheduler_settings.max_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.
|
||||
// standard_scheduler_settings.min_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.
|
||||
// standard_scheduler_settings.target_cpu_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#StandardSchedulerSettings)
|
||||
// automaticScaling.
|
||||
// standard_scheduler_settings.target_throughput_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#StandardSchedulerSettings)basic scaling or
|
||||
// manual scaling in the standard environment:
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.serving_status)Flexible
|
||||
// environment
|
||||
// serving_status
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.serving_status)automatic
|
||||
// scaling in the flexible
|
||||
// environment:
|
||||
// automatic_scaling.min_total_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine flexible environment.
|
||||
// automatic_scaling.max_total_instances
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_
|
||||
// scaling.max_total_instances
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine flexible environment.
|
||||
// automatic_scaling.cool_down_period_sec
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_
|
||||
// scaling.cool_down_period_sec
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine flexible
|
||||
// environment.
|
||||
// automatic_scaling.cpu_utilization.target_utilization
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
// automatic_
|
||||
// scaling.cpu_utilization.target_utilization
|
||||
// (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1be
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling): For
|
||||
// Version resources that use automatic scaling and run in the App
|
||||
// Engine flexible environment.
|
||||
// ta/apps.services.versions#Version.FIELDS.automatic_scaling)
|
||||
func (r *AppsServicesVersionsService) Patch(appsId string, servicesId string, versionsId string, version *Version) *AppsServicesVersionsPatchCall {
|
||||
c := &AppsServicesVersionsPatchCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
@@ -9150,7 +9214,7 @@ func (c *AppsServicesVersionsPatchCall) Do(opts ...googleapi.CallOption) (*Opera
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine flexible environment.",
|
||||
// "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:Standard environment\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.instance_class)automatic scaling in the standard environment:\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomaticScaling.standard_scheduler_settings.max_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.min_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_cpu_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)\nautomaticScaling.standard_scheduler_settings.target_throughput_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#StandardSchedulerSettings)basic scaling or manual scaling in the standard environment:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)Flexible environment\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.serving_status)automatic scaling in the flexible environment:\nautomatic_scaling.min_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.max_total_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cool_down_period_sec (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)\nautomatic_scaling.cpu_utilization.target_utilization (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta/apps.services.versions#Version.FIELDS.automatic_scaling)",
|
||||
// "flatPath": "v1beta/apps/{appsId}/services/{servicesId}/versions/{versionsId}",
|
||||
// "httpMethod": "PATCH",
|
||||
// "id": "appengine.apps.services.versions.patch",
|
||||
|
||||
34
vendor/google.golang.org/api/appengine/v1beta4/appengine-api.json
generated
vendored
34
vendor/google.golang.org/api/appengine/v1beta4/appengine-api.json
generated
vendored
@@ -206,7 +206,7 @@
|
||||
"locations": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Get information about a location.",
|
||||
"description": "Gets information about a location.",
|
||||
"flatPath": "v1beta4/apps/{appsId}/locations/{locationsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "appengine.apps.locations.get",
|
||||
@@ -938,7 +938,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180307",
|
||||
"revision": "20180320",
|
||||
"rootUrl": "https://appengine.googleapis.com/",
|
||||
"schemas": {
|
||||
"ApiConfigHandler": {
|
||||
@@ -1173,6 +1173,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1",
|
||||
"properties": {
|
||||
"cloudBuildId": {
|
||||
"description": "The Cloud Build ID if one was created as part of the version create. @OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1Alpha": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1alpha.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1Alpha",
|
||||
@@ -1259,7 +1270,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"EndpointsApiService": {
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments..The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"id": "EndpointsApiService",
|
||||
"properties": {
|
||||
"configId": {
|
||||
@@ -1269,6 +1280,20 @@
|
||||
"name": {
|
||||
"description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endpoints.myproject.cloud.goog\"",
|
||||
"type": "string"
|
||||
},
|
||||
"rolloutStrategy": {
|
||||
"description": "Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.",
|
||||
"enum": [
|
||||
"UNSPECIFIED_ROLLOUT_STRATEGY",
|
||||
"FIXED",
|
||||
"MANAGED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Not specified. Defaults to FIXED.",
|
||||
"Endpoints service configuration id will be fixed to the configuration id specified by config_id.",
|
||||
"Endpoints service configuration id will be updated with each rollout."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1781,6 +1806,9 @@
|
||||
"description": "Metadata for the given google.longrunning.Operation.",
|
||||
"id": "OperationMetadataV1",
|
||||
"properties": {
|
||||
"createVersionMetadata": {
|
||||
"$ref": "CreateVersionMetadataV1"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Time that this operation completed.@OutputOnly",
|
||||
"format": "google-datetime",
|
||||
|
||||
77
vendor/google.golang.org/api/appengine/v1beta4/appengine-gen.go
generated
vendored
77
vendor/google.golang.org/api/appengine/v1beta4/appengine-gen.go
generated
vendored
@@ -527,6 +527,37 @@ func (s *CpuUtilization) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1 struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1alpha.CreateVersionRequest.
|
||||
@@ -708,7 +739,8 @@ func (s *DiskUtilization) MarshalJSON() ([]byte, error) {
|
||||
// EndpointsApiService: Cloud Endpoints
|
||||
// (https://cloud.google.com/endpoints) configuration. The Endpoints API
|
||||
// Service provides tooling for serving Open API and gRPC endpoints via
|
||||
// an NGINX proxy.The fields here refer to the name and configuration id
|
||||
// an NGINX proxy. Only valid for App Engine Flexible environment
|
||||
// deployments..The fields here refer to the name and configuration id
|
||||
// of a "service" resource in the Service Management API
|
||||
// (https://cloud.google.com/service-management/overview).
|
||||
type EndpointsApiService struct {
|
||||
@@ -725,6 +757,17 @@ type EndpointsApiService struct {
|
||||
// "myapi.endpoints.myproject.cloud.goog"
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// RolloutStrategy: Endpoints rollout strategy. If FIXED, config_id must
|
||||
// be specified. If MANAGED, config_id must be omitted.
|
||||
//
|
||||
// Possible values:
|
||||
// "UNSPECIFIED_ROLLOUT_STRATEGY" - Not specified. Defaults to FIXED.
|
||||
// "FIXED" - Endpoints service configuration id will be fixed to the
|
||||
// configuration id specified by config_id.
|
||||
// "MANAGED" - Endpoints service configuration id will be updated with
|
||||
// each rollout.
|
||||
RolloutStrategy string `json:"rolloutStrategy,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ConfigId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -1612,6 +1655,8 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
// OperationMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1 struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1 `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -1637,20 +1682,22 @@ type OperationMetadataV1 struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
@@ -3044,7 +3091,7 @@ type AppsLocationsGetCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Get information about a location.
|
||||
// Get: Gets information about a location.
|
||||
func (r *AppsLocationsService) Get(appsId string, locationsId string) *AppsLocationsGetCall {
|
||||
c := &AppsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
@@ -3147,7 +3194,7 @@ func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, erro
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Get information about a location.",
|
||||
// "description": "Gets information about a location.",
|
||||
// "flatPath": "v1beta4/apps/{appsId}/locations/{locationsId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "appengine.apps.locations.get",
|
||||
|
||||
34
vendor/google.golang.org/api/appengine/v1beta5/appengine-api.json
generated
vendored
34
vendor/google.golang.org/api/appengine/v1beta5/appengine-api.json
generated
vendored
@@ -206,7 +206,7 @@
|
||||
"locations": {
|
||||
"methods": {
|
||||
"get": {
|
||||
"description": "Get information about a location.",
|
||||
"description": "Gets information about a location.",
|
||||
"flatPath": "v1beta5/apps/{appsId}/locations/{locationsId}",
|
||||
"httpMethod": "GET",
|
||||
"id": "appengine.apps.locations.get",
|
||||
@@ -938,7 +938,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180307",
|
||||
"revision": "20180320",
|
||||
"rootUrl": "https://appengine.googleapis.com/",
|
||||
"schemas": {
|
||||
"ApiConfigHandler": {
|
||||
@@ -1173,6 +1173,17 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1",
|
||||
"properties": {
|
||||
"cloudBuildId": {
|
||||
"description": "The Cloud Build ID if one was created as part of the version create. @OutputOnly",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"CreateVersionMetadataV1Alpha": {
|
||||
"description": "Metadata for the given google.longrunning.Operation during a google.appengine.v1alpha.CreateVersionRequest.",
|
||||
"id": "CreateVersionMetadataV1Alpha",
|
||||
@@ -1259,7 +1270,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"EndpointsApiService": {
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"description": "Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The Endpoints API Service provides tooling for serving Open API and gRPC endpoints via an NGINX proxy. Only valid for App Engine Flexible environment deployments.The fields here refer to the name and configuration id of a \"service\" resource in the Service Management API (https://cloud.google.com/service-management/overview).",
|
||||
"id": "EndpointsApiService",
|
||||
"properties": {
|
||||
"configId": {
|
||||
@@ -1269,6 +1280,20 @@
|
||||
"name": {
|
||||
"description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endpoints.myproject.cloud.goog\"",
|
||||
"type": "string"
|
||||
},
|
||||
"rolloutStrategy": {
|
||||
"description": "Endpoints rollout strategy. If FIXED, config_id must be specified. If MANAGED, config_id must be omitted.",
|
||||
"enum": [
|
||||
"UNSPECIFIED_ROLLOUT_STRATEGY",
|
||||
"FIXED",
|
||||
"MANAGED"
|
||||
],
|
||||
"enumDescriptions": [
|
||||
"Not specified. Defaults to FIXED.",
|
||||
"Endpoints service configuration id will be fixed to the configuration id specified by config_id.",
|
||||
"Endpoints service configuration id will be updated with each rollout."
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
@@ -1766,6 +1791,9 @@
|
||||
"description": "Metadata for the given google.longrunning.Operation.",
|
||||
"id": "OperationMetadataV1",
|
||||
"properties": {
|
||||
"createVersionMetadata": {
|
||||
"$ref": "CreateVersionMetadataV1"
|
||||
},
|
||||
"endTime": {
|
||||
"description": "Time that this operation completed.@OutputOnly",
|
||||
"format": "google-datetime",
|
||||
|
||||
79
vendor/google.golang.org/api/appengine/v1beta5/appengine-gen.go
generated
vendored
79
vendor/google.golang.org/api/appengine/v1beta5/appengine-gen.go
generated
vendored
@@ -527,6 +527,37 @@ func (s *CpuUtilization) UnmarshalJSON(data []byte) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1.CreateVersionRequest.
|
||||
type CreateVersionMetadataV1 struct {
|
||||
// CloudBuildId: The Cloud Build ID if one was created as part of the
|
||||
// version create. @OutputOnly
|
||||
CloudBuildId string `json:"cloudBuildId,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "CloudBuildId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "CloudBuildId") to include
|
||||
// in API requests with the JSON null value. By default, fields with
|
||||
// empty values are omitted from API requests. However, any field with
|
||||
// an empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
func (s *CreateVersionMetadataV1) MarshalJSON() ([]byte, error) {
|
||||
type NoMethod CreateVersionMetadataV1
|
||||
raw := NoMethod(*s)
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// CreateVersionMetadataV1Alpha: Metadata for the given
|
||||
// google.longrunning.Operation during a
|
||||
// google.appengine.v1alpha.CreateVersionRequest.
|
||||
@@ -708,8 +739,9 @@ func (s *DiskUtilization) MarshalJSON() ([]byte, error) {
|
||||
// EndpointsApiService: Cloud Endpoints
|
||||
// (https://cloud.google.com/endpoints) configuration. The Endpoints API
|
||||
// Service provides tooling for serving Open API and gRPC endpoints via
|
||||
// an NGINX proxy.The fields here refer to the name and configuration id
|
||||
// of a "service" resource in the Service Management API
|
||||
// an NGINX proxy. Only valid for App Engine Flexible environment
|
||||
// deployments.The fields here refer to the name and configuration id of
|
||||
// a "service" resource in the Service Management API
|
||||
// (https://cloud.google.com/service-management/overview).
|
||||
type EndpointsApiService struct {
|
||||
// ConfigId: Endpoints service configuration id as specified by the
|
||||
@@ -725,6 +757,17 @@ type EndpointsApiService struct {
|
||||
// "myapi.endpoints.myproject.cloud.goog"
|
||||
Name string `json:"name,omitempty"`
|
||||
|
||||
// RolloutStrategy: Endpoints rollout strategy. If FIXED, config_id must
|
||||
// be specified. If MANAGED, config_id must be omitted.
|
||||
//
|
||||
// Possible values:
|
||||
// "UNSPECIFIED_ROLLOUT_STRATEGY" - Not specified. Defaults to FIXED.
|
||||
// "FIXED" - Endpoints service configuration id will be fixed to the
|
||||
// configuration id specified by config_id.
|
||||
// "MANAGED" - Endpoints service configuration id will be updated with
|
||||
// each rollout.
|
||||
RolloutStrategy string `json:"rolloutStrategy,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "ConfigId") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
@@ -1582,6 +1625,8 @@ func (s *OperationMetadata) MarshalJSON() ([]byte, error) {
|
||||
// OperationMetadataV1: Metadata for the given
|
||||
// google.longrunning.Operation.
|
||||
type OperationMetadataV1 struct {
|
||||
CreateVersionMetadata *CreateVersionMetadataV1 `json:"createVersionMetadata,omitempty"`
|
||||
|
||||
// EndTime: Time that this operation completed.@OutputOnly
|
||||
EndTime string `json:"endTime,omitempty"`
|
||||
|
||||
@@ -1607,20 +1652,22 @@ type OperationMetadataV1 struct {
|
||||
// @OutputOnly
|
||||
Warning []string `json:"warning,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "EndTime") to
|
||||
// unconditionally include in API requests. By default, fields with
|
||||
// empty values are omitted from API requests. However, any non-pointer,
|
||||
// non-interface field appearing in ForceSendFields will be sent to the
|
||||
// server regardless of whether the field is empty or not. This may be
|
||||
// used to include empty fields in Patch requests.
|
||||
// ForceSendFields is a list of field names (e.g.
|
||||
// "CreateVersionMetadata") to unconditionally include in API requests.
|
||||
// By default, fields with empty values are omitted from API requests.
|
||||
// However, any non-pointer, non-interface field appearing in
|
||||
// ForceSendFields will be sent to the server regardless of whether the
|
||||
// field is empty or not. This may be used to include empty fields in
|
||||
// Patch requests.
|
||||
ForceSendFields []string `json:"-"`
|
||||
|
||||
// NullFields is a list of field names (e.g. "EndTime") to include in
|
||||
// API requests with the JSON null value. By default, fields with empty
|
||||
// values are omitted from API requests. However, any field with an
|
||||
// empty value appearing in NullFields will be sent to the server as
|
||||
// null. It is an error if a field in this list has a non-empty value.
|
||||
// This may be used to include null fields in Patch requests.
|
||||
// NullFields is a list of field names (e.g. "CreateVersionMetadata") to
|
||||
// include in API requests with the JSON null value. By default, fields
|
||||
// with empty values are omitted from API requests. However, any field
|
||||
// with an empty value appearing in NullFields will be sent to the
|
||||
// server as null. It is an error if a field in this list has a
|
||||
// non-empty value. This may be used to include null fields in Patch
|
||||
// requests.
|
||||
NullFields []string `json:"-"`
|
||||
}
|
||||
|
||||
@@ -3004,7 +3051,7 @@ type AppsLocationsGetCall struct {
|
||||
header_ http.Header
|
||||
}
|
||||
|
||||
// Get: Get information about a location.
|
||||
// Get: Gets information about a location.
|
||||
func (r *AppsLocationsService) Get(appsId string, locationsId string) *AppsLocationsGetCall {
|
||||
c := &AppsLocationsGetCall{s: r.s, urlParams_: make(gensupport.URLParams)}
|
||||
c.appsId = appsId
|
||||
@@ -3107,7 +3154,7 @@ func (c *AppsLocationsGetCall) Do(opts ...googleapi.CallOption) (*Location, erro
|
||||
}
|
||||
return ret, nil
|
||||
// {
|
||||
// "description": "Get information about a location.",
|
||||
// "description": "Gets information about a location.",
|
||||
// "flatPath": "v1beta5/apps/{appsId}/locations/{locationsId}",
|
||||
// "httpMethod": "GET",
|
||||
// "id": "appengine.apps.locations.get",
|
||||
|
||||
Reference in New Issue
Block a user