Skip to content

Commit

Permalink
chore: update v2.12.0 gapic-generator-typescript (#564)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

Committer: @summer-ji-eng
PiperOrigin-RevId: 424244721

Source-Link: googleapis/googleapis@4b6b01f

Source-Link: googleapis/googleapis-gen@8ac83fb
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOGFjODNmYmE2MDZkMDA4YzdlOGE0MmU3ZDU1YjY1OTZlYzRiZTM1ZiJ9
  • Loading branch information
gcf-owl-bot[bot] authored Jan 26, 2022
1 parent 73cb0b6 commit a8f1c8e
Show file tree
Hide file tree
Showing 54 changed files with 246 additions and 38 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-dataproc/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,7 +40,7 @@ module.exports = {
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2021 Google LLC',
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/dataproc',
Expand Down
10 changes: 8 additions & 2 deletions packages/google-cloud-dataproc/linkinator.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
"skip": [
"https://codecov.io/gh/googleapis/",
"www.googleapis.com",
"img.shields.io"
"img.shields.io",
"https://console.cloud.google.com/cloudshell",
"https://support.google.com"
],
"silent": true,
"concurrency": 5
"concurrency": 5,
"retry": true,
"retryErrors": true,
"retryErrorsCount": 5,
"retryErrorsJitter": 3000
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,10 @@ message Cluster {
// unique. Names of deleted clusters can be reused.
string cluster_name = 2 [(google.api.field_behavior) = REQUIRED];

// Required. The cluster config. Note that Dataproc may set
// default values, and values may change when clusters are updated.
ClusterConfig config = 3 [(google.api.field_behavior) = REQUIRED];
// Optional. The cluster config for a cluster of Compute Engine Instances.
// Note that Dataproc may set default values, and values may change
// when clusters are updated.
ClusterConfig config = 3 [(google.api.field_behavior) = OPTIONAL];

// Optional. The labels to associate with this cluster.
// Label **keys** must contain 1 to 63 characters, and must conform to
Expand Down Expand Up @@ -655,6 +656,13 @@ message DiskConfig {
// data is spread across them, and the boot disk contains only basic
// config and installed binaries.
int32 num_local_ssds = 2 [(google.api.field_behavior) = OPTIONAL];

// Optional. Interface type of local SSDs (default is "scsi").
// Valid values: "scsi" (Small Computer System Interface),
// "nvme" (Non-Volatile Memory Express).
// See [SSD Interface
// types](https://cloud.google.com/compute/docs/disks/local-ssd#performance).
string local_ssd_interface = 4 [(google.api.field_behavior) = OPTIONAL];
}

// Specifies an executable to run on a fully configured node and a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -731,11 +731,23 @@ message JobScheduling {
// 4 times within 10 minute window.
//
// Maximum value is 10.
//
// **Note:** Currently, this restartable job option is
// not supported in Dataproc
// [workflow
// template](https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template)
// jobs.
int32 max_failures_per_hour = 1 [(google.api.field_behavior) = OPTIONAL];

// Optional. Maximum number of times in total a driver may be restarted as a result of
// driver exiting with non-zero code before job is reported failed.
// Maximum value is 240.
//
// **Note:** Currently, this restartable job option is
// not supported in Dataproc
// [workflow
// template](https://cloud.google.com/dataproc/docs/concepts/workflows/using-workflows#adding_jobs_to_a_template)
// jobs.
int32 max_failures_total = 2 [(google.api.field_behavior) = OPTIONAL];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ option java_package = "com.google.cloud.dataproc.v1";

// Runtime configuration for a workload.
message RuntimeConfig {
// Optional. Version of the batch runtime.
string version = 1 [(google.api.field_behavior) = OPTIONAL];

// Optional. Optional custom container image for the job runtime environment. If
// not specified, a default container image will be used.
string container_image = 2 [(google.api.field_behavior) = OPTIONAL];

// Optional. A mapping of property names to values, which are used to configure workload
// execution.
map<string, string> properties = 3 [(google.api.field_behavior) = OPTIONAL];
Expand Down Expand Up @@ -80,7 +87,9 @@ message PeripheralsConfig {
// Example:
//
// * `projects/[project_id]/locations/[region]/services/[service_id]`
string metastore_service = 1 [(google.api.field_behavior) = OPTIONAL];
string metastore_service = 1 [
(google.api.field_behavior) = OPTIONAL
];

// Optional. The Spark History Server configuration for the workload.
SparkHistoryServerConfig spark_history_server_config = 2 [(google.api.field_behavior) = OPTIONAL];
Expand All @@ -94,6 +103,9 @@ message RuntimeInfo {

// Output only. A URI pointing to the location of the stdout and stderr of the workload.
string output_uri = 2 [(google.api.field_behavior) = OUTPUT_ONLY];

// Output only. A URI pointing to the location of the diagnostics tarball.
string diagnostic_output_uri = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
}

// Cluster components that can be activated.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ message CreateWorkflowTemplateRequest {
// Required. The resource name of the region or location, as described
// in https://cloud.google.com/apis/design/resource_names.
//
// * For `projects.regions.workflowTemplates,create`, the resource name of the
// * For `projects.regions.workflowTemplates.create`, the resource name of the
// region has the following format:
// `projects/{project_id}/regions/{region}`
//
Expand Down
24 changes: 24 additions & 0 deletions packages/google-cloud-dataproc/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a8f1c8e

Please sign in to comment.