vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood 2018-06-17 17:59:12 +01:00
parent 3f0789e2db
commit 08021c4636
2474 changed files with 435818 additions and 282709 deletions

View file

@ -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"`
@ -1148,12 +1155,20 @@ type Empty struct {
// (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
// 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"
@ -2077,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.
@ -2794,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,
@ -8832,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
@ -8978,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",