Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@google-cloud/run

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@google-cloud/run - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

10

build/src/index.d.ts
import * as v2 from './v2';
declare const ExecutionsClient: typeof v2.ExecutionsClient;
type ExecutionsClient = v2.ExecutionsClient;
declare type ExecutionsClient = v2.ExecutionsClient;
declare const JobsClient: typeof v2.JobsClient;
type JobsClient = v2.JobsClient;
declare type JobsClient = v2.JobsClient;
declare const RevisionsClient: typeof v2.RevisionsClient;
type RevisionsClient = v2.RevisionsClient;
declare type RevisionsClient = v2.RevisionsClient;
declare const ServicesClient: typeof v2.ServicesClient;
type ServicesClient = v2.ServicesClient;
declare type ServicesClient = v2.ServicesClient;
declare const TasksClient: typeof v2.TasksClient;
type TasksClient = v2.TasksClient;
declare type TasksClient = v2.TasksClient;
export { v2, ExecutionsClient, JobsClient, RevisionsClient, ServicesClient, TasksClient, };

@@ -13,0 +13,0 @@ declare const _default: {

"use strict";
// Copyright 2020 Google LLC
// Copyright 2023 Google LLC
//

@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//

@@ -179,2 +179,7 @@ // Licensed under the Apache License, Version 2.0 (the "License");

},
{
selector: 'google.longrunning.Operations.WaitOperation',
post: '/v2/{name=projects/*/locations/*/operations/*}:wait',
body: '*',
},
];

@@ -181,0 +186,0 @@ }

"use strict";
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//

@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License");

"use strict";
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//

@@ -179,2 +179,7 @@ // Licensed under the Apache License, Version 2.0 (the "License");

},
{
selector: 'google.longrunning.Operations.WaitOperation',
post: '/v2/{name=projects/*/locations/*/operations/*}:wait',
body: '*',
},
];

@@ -181,0 +186,0 @@ }

"use strict";
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//

@@ -180,2 +180,7 @@ // Licensed under the Apache License, Version 2.0 (the "License");

},
{
selector: 'google.longrunning.Operations.WaitOperation',
post: '/v2/{name=projects/*/locations/*/operations/*}:wait',
body: '*',
},
];

@@ -182,0 +187,0 @@ }

@@ -388,5 +388,5 @@ /// <reference types="node" />

* Required. The location and project to list resources on.
* Location must be a valid GCP region, and cannot be the "-" wildcard.
* Format: projects/{project}/locations/{location}, where {project} can be
* project id or number.
* Location must be a valid Google Cloud region, and cannot be the "-"
* wildcard. Format: projects/{project}/locations/{location}, where {project}
* can be project id or number.
* @param {number} request.pageSize

@@ -425,5 +425,5 @@ * Maximum number of Services to return in this call.

* Required. The location and project to list resources on.
* Location must be a valid GCP region, and cannot be the "-" wildcard.
* Format: projects/{project}/locations/{location}, where {project} can be
* project id or number.
* Location must be a valid Google Cloud region, and cannot be the "-"
* wildcard. Format: projects/{project}/locations/{location}, where {project}
* can be project id or number.
* @param {number} request.pageSize

@@ -457,5 +457,5 @@ * Maximum number of Services to return in this call.

* Required. The location and project to list resources on.
* Location must be a valid GCP region, and cannot be the "-" wildcard.
* Format: projects/{project}/locations/{location}, where {project} can be
* project id or number.
* Location must be a valid Google Cloud region, and cannot be the "-"
* wildcard. Format: projects/{project}/locations/{location}, where {project}
* can be project id or number.
* @param {number} request.pageSize

@@ -462,0 +462,0 @@ * Maximum number of Services to return in this call.

"use strict";
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//

@@ -179,2 +179,7 @@ // Licensed under the Apache License, Version 2.0 (the "License");

},
{
selector: 'google.longrunning.Operations.WaitOperation',
post: '/v2/{name=projects/*/locations/*/operations/*}:wait',
body: '*',
},
];

@@ -581,5 +586,5 @@ }

* Required. The location and project to list resources on.
* Location must be a valid GCP region, and cannot be the "-" wildcard.
* Format: projects/{project}/locations/{location}, where {project} can be
* project id or number.
* Location must be a valid Google Cloud region, and cannot be the "-"
* wildcard. Format: projects/{project}/locations/{location}, where {project}
* can be project id or number.
* @param {number} request.pageSize

@@ -638,5 +643,5 @@ * Maximum number of Services to return in this call.

* Required. The location and project to list resources on.
* Location must be a valid GCP region, and cannot be the "-" wildcard.
* Format: projects/{project}/locations/{location}, where {project} can be
* project id or number.
* Location must be a valid Google Cloud region, and cannot be the "-"
* wildcard. Format: projects/{project}/locations/{location}, where {project}
* can be project id or number.
* @param {number} request.pageSize

@@ -643,0 +648,0 @@ * Maximum number of Services to return in this call.

"use strict";
// Copyright 2022 Google LLC
// Copyright 2023 Google LLC
//

@@ -4,0 +4,0 @@ // Licensed under the Apache License, Version 2.0 (the "License");

# Changelog
## [0.4.0](https://github.com/googleapis/google-cloud-node/compare/run-v0.3.0...run-v0.4.0) (2023-01-28)
### Features
* Added SuggestConversationSummary RPC ([#3853](https://github.com/googleapis/google-cloud-node/issues/3853)) ([cc352db](https://github.com/googleapis/google-cloud-node/commit/cc352db97f3bd8925bf1a7631a0ae64ff976fa4e))
* Adding support for encryption_key_revocation_action and encryption_key_shutdown_duration for RevisionTemplate and ExecutionTemplate ([#3874](https://github.com/googleapis/google-cloud-node/issues/3874)) ([4693692](https://github.com/googleapis/google-cloud-node/commit/4693692a0271966bb29e94c6c7659fd89cbe7b33))
## [0.3.0](https://github.com/googleapis/nodejs-run/compare/v0.2.3...v0.3.0) (2023-01-06)

@@ -4,0 +12,0 @@

{
"name": "@google-cloud/run",
"version": "0.3.0",
"version": "0.4.0",
"description": "Cloud Run Admin API",
"repository": "googleapis/nodejs-run",
"repository": {
"type": "git",
"directory": "packages/google-cloud-run",
"url": "https://github.com/googleapis/google-cloud-node.git"
},
"license": "Apache-2.0",

@@ -32,5 +36,5 @@ "author": "Google LLC",

"prepare": "npm run compile-protos && npm run compile",
"system-test": "c8 mocha build/system-test",
"system-test": "npm run compile && c8 mocha build/system-test",
"test": "c8 mocha build/test",
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test",
"prelint": "cd samples; npm link ../; npm install",

@@ -63,3 +67,4 @@ "precompile": "gts clean"

"node": ">=12.0.0"
}
},
"homepage": "https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-run"
}

@@ -5,3 +5,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost."

# [Cloud Run: Node.js Client](https://github.com/googleapis/nodejs-run)
# [Cloud Run: Node.js Client](https://github.com/googleapis/google-cloud-node)

@@ -18,7 +18,7 @@ [![release level](https://img.shields.io/badge/release%20level-beta-yellow.svg?style=flat)](https://cloud.google.com/terms/launch-stages)

A comprehensive list of changes in each version may be found in
[the CHANGELOG](https://github.com/googleapis/nodejs-run/blob/main/CHANGELOG.md).
[the CHANGELOG](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-run/CHANGELOG.md).
* [Cloud Run Node.js Client API Reference][client-docs]
* [Cloud Run Documentation][product-docs]
* [github.com/googleapis/nodejs-run](https://github.com/googleapis/nodejs-run)
* [github.com/googleapis/google-cloud-node/packages/google-cloud-run](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-run)

@@ -112,7 +112,33 @@ Read more about the client libraries for Cloud APIs, including the older

Samples are in the [`samples/`](https://github.com/googleapis/nodejs-run/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Quickstart | [source code](https://github.com/googleapis/nodejs-run/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-run&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Executions.delete_execution | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/executions.delete_execution.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/executions.delete_execution.js,samples/README.md) |
| Executions.get_execution | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/executions.get_execution.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/executions.get_execution.js,samples/README.md) |
| Executions.list_executions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/executions.list_executions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/executions.list_executions.js,samples/README.md) |
| Jobs.create_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.create_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.create_job.js,samples/README.md) |
| Jobs.delete_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.delete_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.delete_job.js,samples/README.md) |
| Jobs.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.get_iam_policy.js,samples/README.md) |
| Jobs.get_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.get_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.get_job.js,samples/README.md) |
| Jobs.list_jobs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.list_jobs.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.list_jobs.js,samples/README.md) |
| Jobs.run_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.run_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.run_job.js,samples/README.md) |
| Jobs.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.set_iam_policy.js,samples/README.md) |
| Jobs.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.test_iam_permissions.js,samples/README.md) |
| Jobs.update_job | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/jobs.update_job.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/jobs.update_job.js,samples/README.md) |
| Revisions.delete_revision | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/revisions.delete_revision.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/revisions.delete_revision.js,samples/README.md) |
| Revisions.get_revision | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/revisions.get_revision.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/revisions.get_revision.js,samples/README.md) |
| Revisions.list_revisions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/revisions.list_revisions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/revisions.list_revisions.js,samples/README.md) |
| Services.create_service | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/services.create_service.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/services.create_service.js,samples/README.md) |
| Services.delete_service | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/services.delete_service.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/services.delete_service.js,samples/README.md) |
| Services.get_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/services.get_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/services.get_iam_policy.js,samples/README.md) |
| Services.get_service | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/services.get_service.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/services.get_service.js,samples/README.md) |
| Services.list_services | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/services.list_services.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/services.list_services.js,samples/README.md) |
| Services.set_iam_policy | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/services.set_iam_policy.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/services.set_iam_policy.js,samples/README.md) |
| Services.test_iam_permissions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/services.test_iam_permissions.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/services.test_iam_permissions.js,samples/README.md) |
| Services.update_service | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/services.update_service.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/services.update_service.js,samples/README.md) |
| Tasks.get_task | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/tasks.get_task.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/tasks.get_task.js,samples/README.md) |
| Tasks.list_tasks | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/generated/v2/tasks.list_tasks.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/generated/v2/tasks.list_tasks.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/quickstart.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-run/samples/test/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-run/samples/test/quickstart.js,samples/README.md) |

@@ -167,3 +193,3 @@

Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-run/blob/main/CONTRIBUTING.md).
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/google-cloud-node/blob/main/CONTRIBUTING.md).

@@ -180,3 +206,3 @@ Please note that this `README.md`, the `samples/README.md`,

See [LICENSE](https://github.com/googleapis/nodejs-run/blob/main/LICENSE)
See [LICENSE](https://github.com/googleapis/google-cloud-node/blob/main/LICENSE)

@@ -183,0 +209,0 @@ [client-docs]: https://googleapis.dev/nodejs/run/latest

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc