update thrift, opencensus, others (#893)

* update thrift, opencensus, others

* stats: update to opencensus 0.6.0 view api
This commit is contained in:
Reed Allman
2018-03-26 15:43:49 -07:00
committed by GitHub
parent 0ce5c4500b
commit 8af605cf3d
1266 changed files with 122191 additions and 28775 deletions

View File

@@ -9,7 +9,7 @@
}
},
"basePath": "",
"baseUrl": "https://content-dataproc.googleapis.com/",
"baseUrl": "https://dataproc.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Dataproc",
"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
@@ -783,8 +783,8 @@
}
}
},
"revision": "20180306",
"rootUrl": "https://content-dataproc.googleapis.com/",
"revision": "20180312",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
"description": "Specifies the type and number of accelerator cards attached to the instances of an instance. See GPUs on Compute Engine.",

View File

@@ -43,7 +43,7 @@ var _ = ctxhttp.Do
const apiId = "dataproc:v1"
const apiName = "dataproc"
const apiVersion = "v1"
const basePath = "https://content-dataproc.googleapis.com/"
const basePath = "https://dataproc.googleapis.com/"
// OAuth2 scopes used by this API.
const (

View File

@@ -9,7 +9,7 @@
}
},
"basePath": "",
"baseUrl": "https://content-dataproc.googleapis.com/",
"baseUrl": "https://dataproc.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Dataproc",
"description": "Manages Hadoop-based clusters and jobs on Google Cloud Platform.",
@@ -1630,8 +1630,8 @@
}
}
},
"revision": "20180306",
"rootUrl": "https://content-dataproc.googleapis.com/",
"revision": "20180320",
"rootUrl": "https://dataproc.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
"description": "Specifies the type and number of accelerator cards attached to the instances of an instance group (see GPUs on Compute Engine).",
@@ -2508,7 +2508,7 @@
"id": "ManagedCluster",
"properties": {
"clusterName": {
"description": "Required. The cluster name. Cluster names within a project must be unique. Names from deleted clusters can be reused.",
"description": "Required. The cluster name prefix. A unique cluster name will be formed by appending a random suffix.The name must contain only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must begin with a letter. Cannot begin or end with hyphen. Must consist of between 2 and 35 characters.",
"type": "string"
},
"config": {
@@ -2519,7 +2519,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given cluster.",
"description": "Optional. The labels to associate with this cluster.Label keys must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following PCRE regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given cluster.",
"type": "object"
}
},
@@ -2607,7 +2607,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 64 labels can be associated with a given job.",
"description": "Optional. The labels to associate with this job.Label keys must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}{0,62}Label values must be between 1 and 63 characters long, and must conform to the following regular expression: \\p{Ll}\\p{Lo}\\p{N}_-{0,63}No more than 32 labels can be associated with a given job.",
"type": "object"
},
"pigJob": {
@@ -2638,7 +2638,7 @@
"description": "Job is a SparkSql job."
},
"stepId": {
"description": "Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job workflow-step-id label, and in prerequisite_step_ids field from other steps.",
"description": "Required. The step id. The id must be unique among all jobs within the template.The step id is used as prefix for job id, as job goog-dataproc-workflow-step-id label, and in prerequisiteStepIds field from other steps.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.",
"type": "string"
}
},
@@ -3010,6 +3010,13 @@
"$ref": "WorkflowGraph",
"description": "Output only. The workflow graph."
},
"parameters": {
"additionalProperties": {
"type": "string"
},
"description": "Map from parameter names to values that were used for those parameters.",
"type": "object"
},
"state": {
"description": "Output only. The workflow state.",
"enum": [
@@ -3094,7 +3101,7 @@
"type": "string"
},
"id": {
"description": "Required. The template id.",
"description": "Required. The template id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.",
"type": "string"
},
"jobs": {

View File

@@ -43,7 +43,7 @@ var _ = ctxhttp.Do
const apiId = "dataproc:v1beta2"
const apiName = "dataproc"
const apiVersion = "v1beta2"
const basePath = "https://content-dataproc.googleapis.com/"
const basePath = "https://dataproc.googleapis.com/"
// OAuth2 scopes used by this API.
const (
@@ -1590,8 +1590,11 @@ func (s *LoggingConfig) MarshalJSON() ([]byte, error) {
// ManagedCluster: Cluster that is managed by the workflow.
type ManagedCluster struct {
// ClusterName: Required. The cluster name. Cluster names within a
// project must be unique. Names from deleted clusters can be reused.
// ClusterName: Required. The cluster name prefix. A unique cluster name
// will be formed by appending a random suffix.The name must contain
// only lower-case letters (a-z), numbers (0-9), and hyphens (-). Must
// begin with a letter. Cannot begin or end with hyphen. Must consist of
// between 2 and 35 characters.
ClusterName string `json:"clusterName,omitempty"`
// Config: Required. The cluster configuration.
@@ -1602,7 +1605,7 @@ type ManagedCluster struct {
// the following PCRE regular expression: \p{Ll}\p{Lo}{0,62}Label values
// must be between 1 and 63 characters long, and must conform to the
// following PCRE regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more
// than 64 labels can be associated with a given cluster.
// than 32 labels can be associated with a given cluster.
Labels map[string]string `json:"labels,omitempty"`
// ForceSendFields is a list of field names (e.g. "ClusterName") to
@@ -1774,7 +1777,7 @@ type OrderedJob struct {
// must be between 1 and 63 characters long, and must conform to the
// following regular expression: \p{Ll}\p{Lo}{0,62}Label values must be
// between 1 and 63 characters long, and must conform to the following
// regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 64 labels
// regular expression: \p{Ll}\p{Lo}\p{N}_-{0,63}No more than 32 labels
// can be associated with a given job.
Labels map[string]string `json:"labels,omitempty"`
@@ -1800,8 +1803,11 @@ type OrderedJob struct {
// StepId: Required. The step id. The id must be unique among all jobs
// within the template.The step id is used as prefix for job id, as job
// workflow-step-id label, and in prerequisite_step_ids field from other
// steps.
// goog-dataproc-workflow-step-id label, and in prerequisiteStepIds
// field from other steps.The id must contain only letters (a-z, A-Z),
// numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end
// with underscore or hyphen. Must consist of between 3 and 50
// characters.
StepId string `json:"stepId,omitempty"`
// ForceSendFields is a list of field names (e.g. "HadoopJob") to
@@ -2470,6 +2476,10 @@ type WorkflowMetadata struct {
// Graph: Output only. The workflow graph.
Graph *WorkflowGraph `json:"graph,omitempty"`
// Parameters: Map from parameter names to values that were used for
// those parameters.
Parameters map[string]string `json:"parameters,omitempty"`
// State: Output only. The workflow state.
//
// Possible values:
@@ -2564,7 +2574,10 @@ type WorkflowTemplate struct {
// CreateTime: Output only. The time template was created.
CreateTime string `json:"createTime,omitempty"`
// Id: Required. The template id.
// Id: Required. The template id.The id must contain only letters (a-z,
// A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin
// or end with underscore or hyphen. Must consist of between 3 and 50
// characters.
Id string `json:"id,omitempty"`
// Jobs: Required. The Directed Acyclic Graph of Jobs to submit.