vendor: update all dependencies
* Update all dependencies * Remove all `[[constraint]]` from Gopkg.toml * Add in the minimum number of `[[override]]` to build * Remove go get of github.com/inconshreveable/mousetrap as it is vendored * Update docs with new policy on constraints
This commit is contained in:
+9
-9
@@ -783,7 +783,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180312",
|
||||
"revision": "20180502",
|
||||
"rootUrl": "https://dataproc.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcceleratorConfig": {
|
||||
@@ -796,7 +796,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"acceleratorTypeUri": {
|
||||
"description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes.Examples:\nhttps://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80\nprojects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80\nnvidia-tesla-k80",
|
||||
"description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes.Examples:\nhttps://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80\nprojects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80\nnvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1059,7 +1059,7 @@
|
||||
"id": "DiagnoseClusterResults",
|
||||
"properties": {
|
||||
"outputUri": {
|
||||
"description": "Output only. The Google Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.",
|
||||
"description": "Output only. The Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1108,11 +1108,11 @@
|
||||
"type": "string"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"description": "Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com",
|
||||
"description": "Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the following IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com",
|
||||
"type": "string"
|
||||
},
|
||||
"serviceAccountScopes": {
|
||||
"description": "Optional. The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.readonly\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapis.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\nhttps://www.googleapis.com/auth/devstorage.full_control",
|
||||
"description": "Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.readonly\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapis.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\nhttps://www.googleapis.com/auth/devstorage.full_control",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1250,7 +1250,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"instanceNames": {
|
||||
"description": "Optional. The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).",
|
||||
"description": "Output only. The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -1261,7 +1261,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"machineTypeUri": {
|
||||
"description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nn1-standard-2",
|
||||
"description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nn1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2.",
|
||||
"type": "string"
|
||||
},
|
||||
"managedGroupConfig": {
|
||||
@@ -1719,7 +1719,7 @@
|
||||
"id": "SoftwareConfig",
|
||||
"properties": {
|
||||
"imageVersion": {
|
||||
"description": "Optional. The version of software inside the cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified, it defaults to the latest version (see Cloud Dataproc Versioning).",
|
||||
"description": "Optional. The version of software inside the cluster. It must be one of the supported Cloud Dataproc Versions, such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version. If unspecified, it defaults to the latest version.",
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {
|
||||
@@ -1916,6 +1916,6 @@
|
||||
}
|
||||
},
|
||||
"servicePath": "",
|
||||
"title": "Google Cloud Dataproc API",
|
||||
"title": "Cloud Dataproc API",
|
||||
"version": "v1"
|
||||
}
|
||||
+19
-15
@@ -1,4 +1,4 @@
|
||||
// Package dataproc provides access to the Google Cloud Dataproc API.
|
||||
// Package dataproc provides access to the Cloud Dataproc API.
|
||||
//
|
||||
// See https://cloud.google.com/dataproc/
|
||||
//
|
||||
@@ -148,7 +148,9 @@ type AcceleratorConfig struct {
|
||||
//
|
||||
// projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k
|
||||
// 80
|
||||
// nvidia-tesla-k80
|
||||
// nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud
|
||||
// Dataproc Auto Zone Placement feature, you must use the short name of
|
||||
// the accelerator type resource, for example, nvidia-tesla-k80.
|
||||
AcceleratorTypeUri string `json:"acceleratorTypeUri,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AcceleratorCount") to
|
||||
@@ -508,9 +510,9 @@ type DiagnoseClusterRequest struct {
|
||||
|
||||
// DiagnoseClusterResults: The location of diagnostic output.
|
||||
type DiagnoseClusterResults struct {
|
||||
// OutputUri: Output only. The Google Cloud Storage URI of the
|
||||
// diagnostic output. The output report is a plain text file with a
|
||||
// summary of collected diagnostics.
|
||||
// OutputUri: Output only. The Cloud Storage URI of the diagnostic
|
||||
// output. The output report is a plain text file with a summary of
|
||||
// collected diagnostics.
|
||||
OutputUri string `json:"outputUri,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "OutputUri") to
|
||||
@@ -625,7 +627,7 @@ type GceClusterConfig struct {
|
||||
|
||||
// ServiceAccount: Optional. The service account of the instances.
|
||||
// Defaults to the default Compute Engine service account. Custom
|
||||
// service accounts need permissions equivalent to the folloing IAM
|
||||
// service accounts need permissions equivalent to the following IAM
|
||||
// roles:
|
||||
// roles/logging.logWriter
|
||||
// roles/storage.objectAdmin(see
|
||||
@@ -634,8 +636,8 @@ type GceClusterConfig struct {
|
||||
ServiceAccount string `json:"serviceAccount,omitempty"`
|
||||
|
||||
// ServiceAccountScopes: Optional. The URIs of service account scopes to
|
||||
// be included in Google Compute Engine instances. The following base
|
||||
// set of scopes is always
|
||||
// be included in Compute Engine instances. The following base set of
|
||||
// scopes is always
|
||||
// included:
|
||||
// https://www.googleapis.com/auth/cloud.useraccounts.readonly
|
||||
//
|
||||
@@ -843,10 +845,9 @@ type InstanceGroupConfig struct {
|
||||
// cluster instances. Inferred from SoftwareConfig.image_version.
|
||||
ImageUri string `json:"imageUri,omitempty"`
|
||||
|
||||
// InstanceNames: Optional. The list of instance names. Cloud Dataproc
|
||||
// derives the names from cluster_name, num_instances, and the instance
|
||||
// group if not set by user (recommended practice is to let Cloud
|
||||
// Dataproc derive the name).
|
||||
// InstanceNames: Output only. The list of instance names. Cloud
|
||||
// Dataproc derives the names from cluster_name, num_instances, and the
|
||||
// instance group.
|
||||
InstanceNames []string `json:"instanceNames,omitempty"`
|
||||
|
||||
// IsPreemptible: Optional. Specifies that this instance group contains
|
||||
@@ -860,7 +861,9 @@ type InstanceGroupConfig struct {
|
||||
// zones/us-east1-a/machineTypes/n1-standard-2
|
||||
// projects/[project_id]/zone
|
||||
// s/us-east1-a/machineTypes/n1-standard-2
|
||||
// n1-standard-2
|
||||
// n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc
|
||||
// Auto Zone Placement feature, you must use the short name of the
|
||||
// machine type resource, for example, n1-standard-2.
|
||||
MachineTypeUri string `json:"machineTypeUri,omitempty"`
|
||||
|
||||
// ManagedGroupConfig: Output only. The config for Compute Engine
|
||||
@@ -1604,8 +1607,9 @@ func (s *QueryList) MarshalJSON() ([]byte, error) {
|
||||
// the cluster.
|
||||
type SoftwareConfig struct {
|
||||
// ImageVersion: Optional. The version of software inside the cluster.
|
||||
// It must match the regular expression [0-9]+\.[0-9]+. If unspecified,
|
||||
// it defaults to the latest version (see Cloud Dataproc Versioning).
|
||||
// It must be one of the supported Cloud Dataproc Versions, such as
|
||||
// "1.2" (including a subminor version, such as "1.2.29"), or the
|
||||
// "preview" version. If unspecified, it defaults to the latest version.
|
||||
ImageVersion string `json:"imageVersion,omitempty"`
|
||||
|
||||
// Properties: Optional. The properties to set on daemon config
|
||||
|
||||
+23
-10
@@ -1630,7 +1630,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"revision": "20180312",
|
||||
"revision": "20180502",
|
||||
"rootUrl": "https://dataproc.googleapis.com/",
|
||||
"schemas": {
|
||||
"AcceleratorConfig": {
|
||||
@@ -1643,7 +1643,7 @@
|
||||
"type": "integer"
|
||||
},
|
||||
"acceleratorTypeUri": {
|
||||
"description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80",
|
||||
"description": "Full URL, partial URI, or short name of the accelerator type resource to expose to this instance. See Compute Engine AcceleratorTypes( /compute/docs/reference/beta/acceleratorTypes)Examples * https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example, nvidia-tesla-k80.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
@@ -1654,7 +1654,7 @@
|
||||
"id": "Binding",
|
||||
"properties": {
|
||||
"members": {
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource. members can have the following values:\nallUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.\nallAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.\nuser:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com.\nserviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.\ngroup:{emailid}: An email address that represents a Google group. For example, admins@example.com.\ndomain:{domain}: A Google Apps domain name that represents all the users of that domain. For example, google.com or example.com.",
|
||||
"description": "Specifies the identities requesting access for a Cloud Platform resource. members can have the following values:\nallUsers: A special identifier that represents anyone who is on the internet; with or without a Google account.\nallAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.\nuser:{emailid}: An email address that represents a specific Google account. For example, alice@gmail.com .\nserviceAccount:{emailid}: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com.\ngroup:{emailid}: An email address that represents a Google group. For example, admins@example.com.\ndomain:{domain}: A Google Apps domain name that represents all the users of that domain. For example, google.com or example.com.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2018,11 +2018,11 @@
|
||||
"type": "string"
|
||||
},
|
||||
"serviceAccount": {
|
||||
"description": "Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the folloing IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com",
|
||||
"description": "Optional. The service account of the instances. Defaults to the default Compute Engine service account. Custom service accounts need permissions equivalent to the following IAM roles:\nroles/logging.logWriter\nroles/storage.objectAdmin(see https://cloud.google.com/compute/docs/access/service-accounts#custom_service_accounts for more information). Example: [account_id]@[project_id].iam.gserviceaccount.com",
|
||||
"type": "string"
|
||||
},
|
||||
"serviceAccountScopes": {
|
||||
"description": "Optional. The URIs of service account scopes to be included in Google Compute Engine instances. The following base set of scopes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.readonly\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapis.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\nhttps://www.googleapis.com/auth/devstorage.full_control",
|
||||
"description": "Optional. The URIs of service account scopes to be included in Compute Engine instances. The following base set of scopes is always included:\nhttps://www.googleapis.com/auth/cloud.useraccounts.readonly\nhttps://www.googleapis.com/auth/devstorage.read_write\nhttps://www.googleapis.com/auth/logging.writeIf no scopes are specified, the following defaults are also provided:\nhttps://www.googleapis.com/auth/bigquery\nhttps://www.googleapis.com/auth/bigtable.admin.table\nhttps://www.googleapis.com/auth/bigtable.data\nhttps://www.googleapis.com/auth/devstorage.full_control",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2046,6 +2046,12 @@
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"GetIamPolicyRequest": {
|
||||
"description": "Request message for GetIamPolicy method.",
|
||||
"id": "GetIamPolicyRequest",
|
||||
"properties": {},
|
||||
"type": "object"
|
||||
},
|
||||
"HadoopJob": {
|
||||
"description": "A Cloud Dataproc job for running Apache Hadoop MapReduce (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop YARN (https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-site/YARN.html).",
|
||||
"id": "HadoopJob",
|
||||
@@ -2160,7 +2166,7 @@
|
||||
"type": "string"
|
||||
},
|
||||
"instanceNames": {
|
||||
"description": "Optional. The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group if not set by user (recommended practice is to let Cloud Dataproc derive the name).",
|
||||
"description": "Output only. The list of instance names. Cloud Dataproc derives the names from cluster_name, num_instances, and the instance group.",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2171,7 +2177,7 @@
|
||||
"type": "boolean"
|
||||
},
|
||||
"machineTypeUri": {
|
||||
"description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nn1-standard-2",
|
||||
"description": "Optional. The Compute Engine machine type used for cluster instances.A full URL, partial URI, or short name are valid. Examples:\nhttps://www.googleapis.com/compute/v1/projects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nprojects/[project_id]/zones/us-east1-a/machineTypes/n1-standard-2\nn1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the machine type resource, for example, n1-standard-2.",
|
||||
"type": "string"
|
||||
},
|
||||
"managedGroupConfig": {
|
||||
@@ -2689,7 +2695,7 @@
|
||||
"type": "object"
|
||||
},
|
||||
"Policy": {
|
||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.A Policy consists of a list of bindings. A Binding binds a list of members to a role, where the members can be user accounts, Google groups, Google domains, and service accounts. A role is a named list of permissions defined by IAM.Example\n{\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\",\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n}\nFor a description of IAM and its features, see the IAM developer's guide (https://cloud.google.com/iam/docs).",
|
||||
"description": "Defines an Identity and Access Management (IAM) policy. It is used to specify access control policies for Cloud Platform resources.A Policy consists of a list of bindings. A binding binds a list of members to a role, where the members can be user accounts, Google groups, Google domains, and service accounts. A role is a named list of permissions defined by IAM.JSON Example\n{\n \"bindings\": [\n {\n \"role\": \"roles/owner\",\n \"members\": [\n \"user:mike@example.com\",\n \"group:admins@example.com\",\n \"domain:google.com\",\n \"serviceAccount:my-other-app@appspot.gserviceaccount.com\"\n ]\n },\n {\n \"role\": \"roles/viewer\",\n \"members\": [\"user:sean@example.com\"]\n }\n ]\n}\nYAML Example\nbindings:\n- members:\n - user:mike@example.com\n - group:admins@example.com\n - domain:google.com\n - serviceAccount:my-other-app@appspot.gserviceaccount.com\n role: roles/owner\n- members:\n - user:sean@example.com\n role: roles/viewer\nFor a description of IAM and its features, see the IAM developer's guide (https://cloud.google.com/iam/docs).",
|
||||
"id": "Policy",
|
||||
"properties": {
|
||||
"bindings": {
|
||||
@@ -2799,7 +2805,7 @@
|
||||
"id": "SoftwareConfig",
|
||||
"properties": {
|
||||
"imageVersion": {
|
||||
"description": "Optional. The version of software inside the cluster. It must match the regular expression [0-9]+\\.[0-9]+. If unspecified, it defaults to the latest version (see Cloud Dataproc Versioning).",
|
||||
"description": "Optional. The version of software inside the cluster. It must be one of the supported Cloud Dataproc Versions, such as \"1.2\" (including a subminor version, such as \"1.2.29\"), or the \"preview\" version. If unspecified, it defaults to the latest version.",
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {
|
||||
@@ -3010,6 +3016,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": [
|
||||
@@ -3195,7 +3208,7 @@
|
||||
}
|
||||
},
|
||||
"servicePath": "",
|
||||
"title": "Google Cloud Dataproc API",
|
||||
"title": "Cloud Dataproc API",
|
||||
"version": "v1beta2",
|
||||
"version_module": true
|
||||
}
|
||||
+38
-18
@@ -1,4 +1,4 @@
|
||||
// Package dataproc provides access to the Google Cloud Dataproc API.
|
||||
// Package dataproc provides access to the Cloud Dataproc API.
|
||||
//
|
||||
// See https://cloud.google.com/dataproc/
|
||||
//
|
||||
@@ -180,8 +180,8 @@ type AcceleratorConfig struct {
|
||||
// accelerator type resource to expose to this instance. See Compute
|
||||
// Engine AcceleratorTypes(
|
||||
// /compute/docs/reference/beta/acceleratorTypes)Examples *
|
||||
// https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 *
|
||||
// nvidia-tesla-k80
|
||||
// https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80 * nvidia-tesla-k80Auto Zone Exception: If you are using the Cloud Dataproc Auto Zone Placement feature, you must use the short name of the accelerator type resource, for example,
|
||||
// nvidia-tesla-k80.
|
||||
AcceleratorTypeUri string `json:"acceleratorTypeUri,omitempty"`
|
||||
|
||||
// ForceSendFields is a list of field names (e.g. "AcceleratorCount") to
|
||||
@@ -218,8 +218,7 @@ type Binding struct {
|
||||
// who is authenticated with a Google account or a service
|
||||
// account.
|
||||
// user:{emailid}: An email address that represents a specific Google
|
||||
// account. For example, alice@gmail.com or
|
||||
// joe@example.com.
|
||||
// account. For example, alice@gmail.com .
|
||||
// serviceAccount:{emailid}: An email address that represents a service
|
||||
// account. For example,
|
||||
// my-other-app@appspot.gserviceaccount.com.
|
||||
@@ -784,7 +783,7 @@ type GceClusterConfig struct {
|
||||
|
||||
// ServiceAccount: Optional. The service account of the instances.
|
||||
// Defaults to the default Compute Engine service account. Custom
|
||||
// service accounts need permissions equivalent to the folloing IAM
|
||||
// service accounts need permissions equivalent to the following IAM
|
||||
// roles:
|
||||
// roles/logging.logWriter
|
||||
// roles/storage.objectAdmin(see
|
||||
@@ -793,8 +792,8 @@ type GceClusterConfig struct {
|
||||
ServiceAccount string `json:"serviceAccount,omitempty"`
|
||||
|
||||
// ServiceAccountScopes: Optional. The URIs of service account scopes to
|
||||
// be included in Google Compute Engine instances. The following base
|
||||
// set of scopes is always
|
||||
// be included in Compute Engine instances. The following base set of
|
||||
// scopes is always
|
||||
// included:
|
||||
// https://www.googleapis.com/auth/cloud.useraccounts.readonly
|
||||
//
|
||||
@@ -862,6 +861,10 @@ func (s *GceClusterConfig) MarshalJSON() ([]byte, error) {
|
||||
return gensupport.MarshalJSON(raw, s.ForceSendFields, s.NullFields)
|
||||
}
|
||||
|
||||
// GetIamPolicyRequest: Request message for GetIamPolicy method.
|
||||
type GetIamPolicyRequest struct {
|
||||
}
|
||||
|
||||
// HadoopJob: A Cloud Dataproc job for running Apache Hadoop MapReduce
|
||||
// (https://hadoop.apache.org/docs/current/hadoop-mapreduce-client/hadoop
|
||||
// -mapreduce-client-core/MapReduceTutorial.html) jobs on Apache Hadoop
|
||||
@@ -1002,10 +1005,9 @@ type InstanceGroupConfig struct {
|
||||
// cluster instances. Inferred from SoftwareConfig.image_version.
|
||||
ImageUri string `json:"imageUri,omitempty"`
|
||||
|
||||
// InstanceNames: Optional. The list of instance names. Cloud Dataproc
|
||||
// derives the names from cluster_name, num_instances, and the instance
|
||||
// group if not set by user (recommended practice is to let Cloud
|
||||
// Dataproc derive the name).
|
||||
// InstanceNames: Output only. The list of instance names. Cloud
|
||||
// Dataproc derives the names from cluster_name, num_instances, and the
|
||||
// instance group.
|
||||
InstanceNames []string `json:"instanceNames,omitempty"`
|
||||
|
||||
// IsPreemptible: Optional. Specifies that this instance group contains
|
||||
@@ -1019,7 +1021,9 @@ type InstanceGroupConfig struct {
|
||||
// zones/us-east1-a/machineTypes/n1-standard-2
|
||||
// projects/[project_id]/zone
|
||||
// s/us-east1-a/machineTypes/n1-standard-2
|
||||
// n1-standard-2
|
||||
// n1-standard-2Auto Zone Exception: If you are using the Cloud Dataproc
|
||||
// Auto Zone Placement feature, you must use the short name of the
|
||||
// machine type resource, for example, n1-standard-2.
|
||||
MachineTypeUri string `json:"machineTypeUri,omitempty"`
|
||||
|
||||
// ManagedGroupConfig: Output only. The config for Compute Engine
|
||||
@@ -1893,10 +1897,10 @@ func (s *PigJob) MarshalJSON() ([]byte, error) {
|
||||
|
||||
// Policy: Defines an Identity and Access Management (IAM) policy. It is
|
||||
// used to specify access control policies for Cloud Platform
|
||||
// resources.A Policy consists of a list of bindings. A Binding binds a
|
||||
// resources.A Policy consists of a list of bindings. A binding binds a
|
||||
// list of members to a role, where the members can be user accounts,
|
||||
// Google groups, Google domains, and service accounts. A role is a
|
||||
// named list of permissions defined by IAM.Example
|
||||
// named list of permissions defined by IAM.JSON Example
|
||||
// {
|
||||
// "bindings": [
|
||||
// {
|
||||
@@ -1905,7 +1909,7 @@ func (s *PigJob) MarshalJSON() ([]byte, error) {
|
||||
// "user:mike@example.com",
|
||||
// "group:admins@example.com",
|
||||
// "domain:google.com",
|
||||
// "serviceAccount:my-other-app@appspot.gserviceaccount.com",
|
||||
// "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
||||
// ]
|
||||
// },
|
||||
// {
|
||||
@@ -1914,6 +1918,17 @@ func (s *PigJob) MarshalJSON() ([]byte, error) {
|
||||
// }
|
||||
// ]
|
||||
// }
|
||||
// YAML Example
|
||||
// bindings:
|
||||
// - members:
|
||||
// - user:mike@example.com
|
||||
// - group:admins@example.com
|
||||
// - domain:google.com
|
||||
// - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
||||
// role: roles/owner
|
||||
// - members:
|
||||
// - user:sean@example.com
|
||||
// role: roles/viewer
|
||||
// For a description of IAM and its features, see the IAM developer's
|
||||
// guide (https://cloud.google.com/iam/docs).
|
||||
type Policy struct {
|
||||
@@ -2101,8 +2116,9 @@ func (s *SetIamPolicyRequest) MarshalJSON() ([]byte, error) {
|
||||
// the cluster.
|
||||
type SoftwareConfig struct {
|
||||
// ImageVersion: Optional. The version of software inside the cluster.
|
||||
// It must match the regular expression [0-9]+\.[0-9]+. If unspecified,
|
||||
// it defaults to the latest version (see Cloud Dataproc Versioning).
|
||||
// It must be one of the supported Cloud Dataproc Versions, such as
|
||||
// "1.2" (including a subminor version, such as "1.2.29"), or the
|
||||
// "preview" version. If unspecified, it defaults to the latest version.
|
||||
ImageVersion string `json:"imageVersion,omitempty"`
|
||||
|
||||
// Properties: Optional. The properties to set on daemon config
|
||||
@@ -2476,6 +2492,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:
|
||||
|
||||
Reference in New Issue
Block a user