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

@ -60,11 +60,6 @@
"location": "query",
"type": "string"
},
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
@ -85,12 +80,6 @@
"location": "query",
"type": "string"
},
"pp": {
"default": "true",
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
@ -783,7 +772,7 @@
}
}
},
"revision": "20180502",
"revision": "20180601",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {

View File

@ -60,11 +60,6 @@
"location": "query",
"type": "string"
},
"bearer_token": {
"description": "OAuth bearer token.",
"location": "query",
"type": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
@ -85,12 +80,6 @@
"location": "query",
"type": "string"
},
"pp": {
"default": "true",
"description": "Pretty-print response.",
"location": "query",
"type": "boolean"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
@ -1630,7 +1619,7 @@
}
}
},
"revision": "20180502",
"revision": "20180601",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@ -1726,6 +1715,10 @@
"description": "Optional. A Cloud Storage staging bucket used for sharing generated SSH keys and config. If you do not specify a staging bucket, Cloud Dataproc will determine an appropriate Cloud Storage location (US, ASIA, or EU) for your cluster's staging bucket according to the Google Compute Engine zone where your cluster is deployed, and then it will create and manage this project-level, per-location bucket for you.",
"type": "string"
},
"encryptionConfig": {
"$ref": "EncryptionConfig",
"description": "Optional. Encryption settings for the cluster."
},
"gceClusterConfig": {
"$ref": "GceClusterConfig",
"description": "Required. The shared Compute Engine config settings for all instances in a cluster."
@ -1998,6 +1991,17 @@
"properties": {},
"type": "object"
},
"EncryptionConfig": {
"description": "Encryption settings for the cluster.",
"id": "EncryptionConfig",
"properties": {
"gcePdKmsKeyName": {
"description": "Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster.",
"type": "string"
}
},
"type": "object"
},
"GceClusterConfig": {
"description": "Common config settings for resources of Compute Engine cluster instances, applicable to all instances in the cluster.",
"id": "GceClusterConfig",
@ -2204,6 +2208,13 @@
"description": "Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.",
"type": "string"
},
"parameters": {
"additionalProperties": {
"type": "string"
},
"description": "Optional. Map from parameter names to values that should be used for those parameters.",
"type": "object"
},
"version": {
"description": "Optional. The version of workflow template to instantiate. If specified, the workflow will be instantiated only if the current version of the workflow template has the supplied version.This option cannot be used to instantiate a previous version of workflow template.",
"format": "int32",
@ -2650,6 +2661,21 @@
},
"type": "object"
},
"ParameterValidation": {
"description": "Configuration for parameter validation.",
"id": "ParameterValidation",
"properties": {
"regex": {
"$ref": "RegexValidation",
"description": "Validation based on regular expressions."
},
"values": {
"$ref": "ValueValidation",
"description": "Validation based on a list of allowed values."
}
},
"type": "object"
},
"PigJob": {
"description": "A Cloud Dataproc job for running Apache Pig (https://pig.apache.org/) queries on YARN.",
"id": "PigJob",
@ -2789,6 +2815,20 @@
},
"type": "object"
},
"RegexValidation": {
"description": "Validation based on regular expressions.",
"id": "RegexValidation",
"properties": {
"regexes": {
"description": "Required. RE2 regular expressions used to validate the parameter's value. The provided value must match the regexes in its entirety, e.g. substring matches are not enough.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"SetIamPolicyRequest": {
"description": "Request message for SetIamPolicy method.",
"id": "SetIamPolicyRequest",
@ -2954,6 +2994,32 @@
},
"type": "object"
},
"TemplateParameter": {
"description": "A configurable parameter that replaces one or more fields in the template.",
"id": "TemplateParameter",
"properties": {
"description": {
"description": "Optional. User-friendly description of the parameter. Must not exceed 1024 characters.",
"type": "string"
},
"fields": {
"description": "Required. Paths to all fields that this parameter replaces. Each field may appear in at most one Parameter's fields list.Field path syntax:A field path is similar to a FieldMask. For example, a field path that references the zone field of the template's cluster selector would look like:placement.clusterSelector.zoneThe only differences between field paths and standard field masks are that:\nValues in maps can be referenced by key.Example: placement.clusterSelector.clusterLabels'key'\nJobs in the jobs list can be referenced by step id.Example: jobs'step-id'.hadoopJob.mainJarFileUri\nItems in repeated fields can be referenced by zero-based index.Example: jobs'step-id'.sparkJob.args0NOTE: Maps and repeated fields may not be parameterized in their entirety. Only individual map values and items in repeated fields may be referenced. For example, the following field paths are invalid: - placement.clusterSelector.clusterLabels - jobs'step-id'.sparkJob.argsParameterizable fields:Only certain types of fields may be parameterized, specifically: - Labels - File uris - Job properties - Job arguments - Script variables - Main class (in HadoopJob and SparkJob) - Zone (in ClusterSelector)Examples of parameterizable fields:Labels:labels'key' placement.managedCluster.labels'key' placement.clusterSelector.clusterLabels'key' jobs'step-id'.labels'key'File uris:jobs'step-id'.hadoopJob.mainJarFileUri jobs'step-id'.hiveJob.queryFileUri jobs'step-id'.pySparkJob.mainPythonFileUri jobs'step-id'.hadoopJob.jarFileUris0 jobs'step-id'.hadoopJob.archiveUris0 jobs'step-id'.hadoopJob.fileUris0 jobs'step-id'.pySparkJob.pythonFileUris0Other:jobs'step-id'.hadoopJob.properties'key' jobs'step-id'.hadoopJob.args0 jobs'step-id'.hiveJob.scriptVariables'key' jobs'step-id'.hadoopJob.mainJarFileUri placement.clusterSelector.zone",
"items": {
"type": "string"
},
"type": "array"
},
"name": {
"description": "Required. User-friendly parameter name. This name is used as a key when providing a value for this parameter when the template is instantiated. Must contain only capital letters (A-Z), numbers (0-9), and underscores (_), and must not start with a number. The maximum length is 40 characters.",
"type": "string"
},
"validation": {
"$ref": "ParameterValidation",
"description": "Optional. Validation rules to be applied to this parameter's value."
}
},
"type": "object"
},
"TestIamPermissionsRequest": {
"description": "Request message for TestIamPermissions method.",
"id": "TestIamPermissionsRequest",
@ -2982,6 +3048,20 @@
},
"type": "object"
},
"ValueValidation": {
"description": "Validation based on a list of allowed values.",
"id": "ValueValidation",
"properties": {
"values": {
"description": "Required. List of allowed values for this parameter.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"WorkflowGraph": {
"description": "The workflow graph.",
"id": "WorkflowGraph",
@ -3128,6 +3208,13 @@
"description": "Output only. The \"resource name\" of the template, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}/workflowTemplates/{template_id}",
"type": "string"
},
"parameters": {
"description": "Optional. Template parameters whose values are substituted into the template. Values for these parameters must be provided when the template is instantiated.",
"items": {
"$ref": "TemplateParameter"
},
"type": "array"
},
"placement": {
"$ref": "WorkflowTemplatePlacement",
"description": "Required. WorkflowTemplate scheduling information."

View File

@ -336,6 +336,9 @@ type ClusterConfig struct {
// per-location bucket for you.
ConfigBucket string `json:"configBucket,omitempty"`
// EncryptionConfig: Optional. Encryption settings for the cluster.
EncryptionConfig *EncryptionConfig `json:"encryptionConfig,omitempty"`
// GceClusterConfig: Required. The shared Compute Engine config settings
// for all instances in a cluster.
GceClusterConfig *GceClusterConfig `json:"gceClusterConfig,omitempty"`
@ -749,6 +752,36 @@ type Empty struct {
googleapi.ServerResponse `json:"-"`
}
// EncryptionConfig: Encryption settings for the cluster.
type EncryptionConfig struct {
// GcePdKmsKeyName: Optional. The Cloud KMS key name to use for PD disk
// encryption for all instances in the cluster.
GcePdKmsKeyName string `json:"gcePdKmsKeyName,omitempty"`
// ForceSendFields is a list of field names (e.g. "GcePdKmsKeyName") 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. "GcePdKmsKeyName") 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 *EncryptionConfig) MarshalJSON() ([]byte, error) {
type NoMethod EncryptionConfig
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// GceClusterConfig: Common config settings for resources of Compute
// Engine cluster instances, applicable to all instances in the cluster.
type GceClusterConfig struct {
@ -1074,6 +1107,10 @@ type InstantiateWorkflowTemplateRequest struct {
// and hyphens (-). The maximum length is 40 characters.
InstanceId string `json:"instanceId,omitempty"`
// Parameters: Optional. Map from parameter names to values that should
// be used for those parameters.
Parameters map[string]string `json:"parameters,omitempty"`
// Version: Optional. The version of workflow template to instantiate.
// If specified, the workflow will be instantiated only if the current
// version of the workflow template has the supplied version.This option
@ -1837,6 +1874,37 @@ func (s *OrderedJob) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ParameterValidation: Configuration for parameter validation.
type ParameterValidation struct {
// Regex: Validation based on regular expressions.
Regex *RegexValidation `json:"regex,omitempty"`
// Values: Validation based on a list of allowed values.
Values *ValueValidation `json:"values,omitempty"`
// ForceSendFields is a list of field names (e.g. "Regex") 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. "Regex") 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 *ParameterValidation) MarshalJSON() ([]byte, error) {
type NoMethod ParameterValidation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// PigJob: A Cloud Dataproc job for running Apache Pig
// (https://pig.apache.org/) queries on YARN.
type PigJob struct {
@ -2081,6 +2149,36 @@ func (s *QueryList) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// RegexValidation: Validation based on regular expressions.
type RegexValidation struct {
// Regexes: Required. RE2 regular expressions used to validate the
// parameter's value. The provided value must match the regexes in its
// entirety, e.g. substring matches are not enough.
Regexes []string `json:"regexes,omitempty"`
// ForceSendFields is a list of field names (e.g. "Regexes") 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. "Regexes") 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 *RegexValidation) MarshalJSON() ([]byte, error) {
type NoMethod RegexValidation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// SetIamPolicyRequest: Request message for SetIamPolicy method.
type SetIamPolicyRequest struct {
// Policy: REQUIRED: The complete policy to be applied to the resource.
@ -2384,6 +2482,84 @@ func (s *SubmitJobRequest) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// TemplateParameter: A configurable parameter that replaces one or more
// fields in the template.
type TemplateParameter struct {
// Description: Optional. User-friendly description of the parameter.
// Must not exceed 1024 characters.
Description string `json:"description,omitempty"`
// Fields: Required. Paths to all fields that this parameter replaces.
// Each field may appear in at most one Parameter's fields list.Field
// path syntax:A field path is similar to a FieldMask. For example, a
// field path that references the zone field of the template's cluster
// selector would look like:placement.clusterSelector.zoneThe only
// differences between field paths and standard field masks are
// that:
// Values in maps can be referenced by key.Example:
// placement.clusterSelector.clusterLabels'key'
// Jobs in the jobs list can be referenced by step id.Example:
// jobs'step-id'.hadoopJob.mainJarFileUri
// Items in repeated fields can be referenced by zero-based
// index.Example: jobs'step-id'.sparkJob.args0NOTE: Maps and repeated
// fields may not be parameterized in their entirety. Only individual
// map values and items in repeated fields may be referenced. For
// example, the following field paths are invalid: -
// placement.clusterSelector.clusterLabels -
// jobs'step-id'.sparkJob.argsParameterizable fields:Only certain types
// of fields may be parameterized, specifically: - Labels - File uris -
// Job properties - Job arguments - Script variables - Main class (in
// HadoopJob and SparkJob) - Zone (in ClusterSelector)Examples of
// parameterizable fields:Labels:labels'key'
// placement.managedCluster.labels'key'
// placement.clusterSelector.clusterLabels'key'
// jobs'step-id'.labels'key'File
// uris:jobs'step-id'.hadoopJob.mainJarFileUri
// jobs'step-id'.hiveJob.queryFileUri
// jobs'step-id'.pySparkJob.mainPythonFileUri
// jobs'step-id'.hadoopJob.jarFileUris0
// jobs'step-id'.hadoopJob.archiveUris0
// jobs'step-id'.hadoopJob.fileUris0
// jobs'step-id'.pySparkJob.pythonFileUris0Other:jobs'step-id'.hadoopJob.
// properties'key' jobs'step-id'.hadoopJob.args0
// jobs'step-id'.hiveJob.scriptVariables'key'
// jobs'step-id'.hadoopJob.mainJarFileUri placement.clusterSelector.zone
Fields []string `json:"fields,omitempty"`
// Name: Required. User-friendly parameter name. This name is used as a
// key when providing a value for this parameter when the template is
// instantiated. Must contain only capital letters (A-Z), numbers (0-9),
// and underscores (_), and must not start with a number. The maximum
// length is 40 characters.
Name string `json:"name,omitempty"`
// Validation: Optional. Validation rules to be applied to this
// parameter's value.
Validation *ParameterValidation `json:"validation,omitempty"`
// ForceSendFields is a list of field names (e.g. "Description") 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. "Description") 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 *TemplateParameter) MarshalJSON() ([]byte, error) {
type NoMethod TemplateParameter
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// TestIamPermissionsRequest: Request message for TestIamPermissions
// method.
type TestIamPermissionsRequest struct {
@ -2450,6 +2626,34 @@ func (s *TestIamPermissionsResponse) MarshalJSON() ([]byte, error) {
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// ValueValidation: Validation based on a list of allowed values.
type ValueValidation struct {
// Values: Required. List of allowed values for this parameter.
Values []string `json:"values,omitempty"`
// ForceSendFields is a list of field names (e.g. "Values") 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. "Values") 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 *ValueValidation) MarshalJSON() ([]byte, error) {
type NoMethod ValueValidation
raw := NoMethod(*s)
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
}
// WorkflowGraph: The workflow graph.
type WorkflowGraph struct {
// Nodes: Output only. The workflow nodes.
@ -2614,6 +2818,11 @@ type WorkflowTemplate struct {
// projects/{project_id}/regions/{region}/workflowTemplates/{template_id}
Name string `json:"name,omitempty"`
// Parameters: Optional. Template parameters whose values are
// substituted into the template. Values for these parameters must be
// provided when the template is instantiated.
Parameters []*TemplateParameter `json:"parameters,omitempty"`
// Placement: Required. WorkflowTemplate scheduling information.
Placement *WorkflowTemplatePlacement `json:"placement,omitempty"`