Skip to content

Commit

Permalink
build: update from broken v1beta2 links to v1 (#521)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 389649385
  • Loading branch information
gcf-owl-bot[bot] authored Aug 10, 2021
1 parent 6729e38 commit c510854
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ service ClusterController {

// Creates a cluster in a project. The returned
// [Operation.metadata][google.longrunning.Operation.metadata] will be
// [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
// ClusterOperationMetadata.
rpc CreateCluster(CreateClusterRequest)
returns (google.longrunning.Operation) {
option (google.api.http) = {
Expand All @@ -64,7 +64,7 @@ service ClusterController {

// Updates a cluster in a project. The returned
// [Operation.metadata][google.longrunning.Operation.metadata] will be
// [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
// ClusterOperationMetadata.
rpc UpdateCluster(UpdateClusterRequest)
returns (google.longrunning.Operation) {
option (google.api.http) = {
Expand All @@ -81,7 +81,7 @@ service ClusterController {

// Deletes a cluster in a project. The returned
// [Operation.metadata][google.longrunning.Operation.metadata] will be
// [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
// ClusterOperationMetadata.
rpc DeleteCluster(DeleteClusterRequest)
returns (google.longrunning.Operation) {
option (google.api.http) = {
Expand Down Expand Up @@ -113,7 +113,7 @@ service ClusterController {

// Gets cluster diagnostic information. The returned
// [Operation.metadata][google.longrunning.Operation.metadata] will be
// [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
// ClusterOperationMetadata.
// After the operation completes,
// [Operation.response][google.longrunning.Operation.response]
// contains
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ service JobController {

// Starts a job cancellation request. To access the job resource
// after cancellation, call
// [regions/{region}/jobs.list](https://cloud.google.com/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/list)
// regions/{region}/jobs.list
// or
// [regions/{region}/jobs.get](https://cloud.google.com/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/get).
// regions/{region}/jobs.get.
rpc CancelJob(CancelJobRequest) returns (Job) {
option (google.api.http) = {
post: "/v1beta2/projects/{project_id}/regions/{region}/jobs/{job_id}:cancel"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ service WorkflowTemplateService {
// clusters to be deleted.
//
// The [Operation.metadata][google.longrunning.Operation.metadata] will be
// [WorkflowMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#workflowmetadata).
// WorkflowMetadata.
// Also see [Using
// WorkflowMetadata](https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ export class ClusterControllerClient {
/**
* Creates a cluster in a project. The returned
* {@link google.longrunning.Operation.metadata|Operation.metadata} will be
* [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
* ClusterOperationMetadata.
*
* @param {Object} request
* The request object that will be sent.
Expand Down Expand Up @@ -688,7 +688,7 @@ export class ClusterControllerClient {
/**
* Updates a cluster in a project. The returned
* {@link google.longrunning.Operation.metadata|Operation.metadata} will be
* [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
* ClusterOperationMetadata.
*
* @param {Object} request
* The request object that will be sent.
Expand Down Expand Up @@ -922,7 +922,7 @@ export class ClusterControllerClient {
/**
* Deletes a cluster in a project. The returned
* {@link google.longrunning.Operation.metadata|Operation.metadata} will be
* [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
* ClusterOperationMetadata.
*
* @param {Object} request
* The request object that will be sent.
Expand Down Expand Up @@ -1086,7 +1086,7 @@ export class ClusterControllerClient {
/**
* Gets cluster diagnostic information. The returned
* {@link google.longrunning.Operation.metadata|Operation.metadata} will be
* [ClusterOperationMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#clusteroperationmetadata).
* ClusterOperationMetadata.
* After the operation completes,
* {@link google.longrunning.Operation.response|Operation.response}
* contains
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -679,9 +679,9 @@ export class JobControllerClient {
/**
* Starts a job cancellation request. To access the job resource
* after cancellation, call
* [regions/{region}/jobs.list](https://cloud.google.com/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/list)
* regions/{region}/jobs.list
* or
* [regions/{region}/jobs.get](https://cloud.google.com/dataproc/docs/reference/rest/v1beta2/projects.regions.jobs/get).
* regions/{region}/jobs.get.
*
* @param {Object} request
* The request object that will be sent.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ export class WorkflowTemplateServiceClient {
* clusters to be deleted.
*
* The {@link google.longrunning.Operation.metadata|Operation.metadata} will be
* [WorkflowMetadata](https://cloud.google.com/dataproc/docs/reference/rpc/google.cloud.dataproc.v1beta2#workflowmetadata).
* WorkflowMetadata.
* Also see [Using
* WorkflowMetadata](https://cloud.google.com/dataproc/docs/concepts/workflows/debugging#using_workflowmetadata).
*
Expand Down

0 comments on commit c510854

Please sign in to comment.