Skip to content

Commit 847ab0b

Browse files
chore: migrate to owl bot (#372)
1 parent 675905d commit 847ab0b

File tree

7 files changed

+44
-48
lines changed

7 files changed

+44
-48
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Copyright 2021 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
docker:
15+
image: gcr.io/repo-automation-bots/owlbot-nodejs:latest
16+
17+
18+
begin-after-commit-hash: 397c0bfd367a2427104f988d5329bc117caafd95
19+

packages/google-cloud-resourcemanager/.jsdoc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ module.exports = {
3939
copyright: 'Copyright 2019 Google, LLC.',
4040
includeDate: false,
4141
sourceFiles: false,
42-
systemName: '@google-cloud/resource',
42+
systemName: '@google-cloud/resource-manager',
4343
theme: 'lumen',
4444
default: {
4545
outputSourceFiles: false

packages/google-cloud-resourcemanager/.repo-metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"issue_tracker": "https://issuetracker.google.com/savedsearches/559757",
77
"release_level": "alpha",
88
"language": "nodejs",
9-
"repo": "googleapis/resource-manager",
9+
"repo": "googleapis/nodejs-resource-manager",
1010
"distribution_name": "@google-cloud/resource",
1111
"api_id": "cloudresourcemanager.googleapis.com",
1212
"requires_billing": true

packages/google-cloud-resourcemanager/README.md

+13-7
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55
# [Google Cloud Resource Manager API: Node.js Client](https://github.com/googleapis/nodejs-resource-manager)
66

77
[![release level](https://img.shields.io/badge/release%20level-alpha-orange.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
8-
[![npm version](https://img.shields.io/npm/v/@google-cloud/resource.svg)](https://www.npmjs.org/package/@google-cloud/resource)
9-
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-resource-manager/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-resource)
8+
[![npm version](https://img.shields.io/npm/v/@google-cloud/resource-manager.svg)](https://www.npmjs.org/package/@google-cloud/resource-manager)
9+
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-resource-manager/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-resource-manager)
10+
11+
12+
1013

1114

1215
> Node.js idiomatic client for [Cloud Resource Manager API][product-docs].
@@ -18,6 +21,9 @@ manage common aspects of your resources such as access control and
1821
configuration settings. The [Cloud Resource Manager API](https://cloud.google.com/resource-manager/docs/)
1922
enables you to programmatically manage these container resources.
2023

24+
### **_IMPORTANT NOTE_**
25+
**Version 2.0.0 renames `@google-cloud/resource` to `@google-cloud/resource-manager` on npm.**
26+
2127

2228
A comprehensive list of changes in each version may be found in
2329
[the CHANGELOG](https://github.com/googleapis/nodejs-resource-manager/blob/master/CHANGELOG.md).
@@ -56,7 +62,7 @@ Google APIs Client Libraries, in [Client Libraries Explained][explained].
5662
### Installing the client library
5763

5864
```bash
59-
npm install @google-cloud/resource
65+
npm install @google-cloud/resource-manager
6066
```
6167

6268

@@ -88,8 +94,8 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-resource-ma
8894

8995
| Sample | Source Code | Try it |
9096
| --------------------------- | --------------------------------- | ------ |
91-
| List Projects | [source code](https://github.com/googleapis/nodejs-resource/blob/master/samples/listProjects.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource&page=editor&open_in_editor=samples/listProjects.js,samples/README.md) |
92-
| Quickstart | [source code](https://github.com/googleapis/nodejs-resource/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
97+
| List Projects | [source code](https://github.com/googleapis/nodejs-resource-manager/blob/master/samples/listProjects.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource-manager&page=editor&open_in_editor=samples/listProjects.js,samples/README.md) |
98+
| Quickstart | [source code](https://github.com/googleapis/nodejs-resource-manager/blob/master/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource-manager&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
9399

94100

95101

@@ -136,7 +142,7 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]
136142

137143
## Contributing
138144

139-
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-resource/blob/master/CONTRIBUTING.md).
145+
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-resource-manager/blob/master/CONTRIBUTING.md).
140146

141147
Please note that this `README.md`, the `samples/README.md`,
142148
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -148,7 +154,7 @@ to its template in this
148154

149155
Apache Version 2.0
150156

151-
See [LICENSE](https://github.com/googleapis/nodejs-resource/blob/master/LICENSE)
157+
See [LICENSE](https://github.com/googleapis/nodejs-resource-manager/blob/master/LICENSE)
152158

153159
[client-docs]: https://googleapis.dev/nodejs/resource/latest
154160
[product-docs]: https://cloud.google.com/resource-manager

packages/google-cloud-resourcemanager/samples/README.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[//]: # "To regenerate it, use `python -m synthtool`."
33
<img src="https://avatars2.githubusercontent.com/u/2810941?v=3&s=96" alt="Google Cloud Platform logo" title="Google Cloud Platform" align="right" height="96" width="96"/>
44

5-
# [Google Cloud Resource Manager API: Node.js Samples](https://github.com/googleapis/nodejs-resource)
5+
# [Google Cloud Resource Manager API: Node.js Samples](https://github.com/googleapis/nodejs-resource-manager)
66

77
[![Open in Cloud Shell][shell_img]][shell_link]
88

@@ -16,6 +16,9 @@ manage common aspects of your resources such as access control and
1616
configuration settings. The [Cloud Resource Manager API](https://cloud.google.com/resource-manager/docs/)
1717
enables you to programmatically manage these container resources.
1818

19+
### **_IMPORTANT NOTE_**
20+
**Version 2.0.0 renames `@google-cloud/resource` to `@google-cloud/resource-manager` on npm.**
21+
1922
## Table of Contents
2023

2124
* [Before you begin](#before-you-begin)
@@ -26,7 +29,7 @@ enables you to programmatically manage these container resources.
2629
## Before you begin
2730

2831
Before running the samples, make sure you've followed the steps outlined in
29-
[Using the client library](https://github.com/googleapis/nodejs-resource#using-the-client-library).
32+
[Using the client library](https://github.com/googleapis/nodejs-resource-manager#using-the-client-library).
3033

3134
`cd samples`
3235

@@ -42,9 +45,9 @@ Before running the samples, make sure you've followed the steps outlined in
4245

4346
List all current projects.
4447

45-
View the [source code](https://github.com/googleapis/nodejs-resource/blob/master/samples/listProjects.js).
48+
View the [source code](https://github.com/googleapis/nodejs-resource-manager/blob/master/samples/listProjects.js).
4649

47-
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource&page=editor&open_in_editor=samples/listProjects.js,samples/README.md)
50+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource-manager&page=editor&open_in_editor=samples/listProjects.js,samples/README.md)
4851

4952
__Usage:__
5053

@@ -59,9 +62,9 @@ __Usage:__
5962

6063
### Quickstart
6164

62-
View the [source code](https://github.com/googleapis/nodejs-resource/blob/master/samples/quickstart.js).
65+
View the [source code](https://github.com/googleapis/nodejs-resource-manager/blob/master/samples/quickstart.js).
6366

64-
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
67+
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource-manager&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
6568

6669
__Usage:__
6770

@@ -74,5 +77,5 @@ __Usage:__
7477

7578

7679
[shell_img]: https://gstatic.com/cloudssh/images/open-btn.png
77-
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource&page=editor&open_in_editor=samples/README.md
80+
[shell_link]: https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-resource-manager&page=editor&open_in_editor=samples/README.md
7881
[product-docs]: https://cloud.google.com/resource-manager

packages/google-cloud-resourcemanager/synth.metadata

-18
This file was deleted.

packages/google-cloud-resourcemanager/synth.py

-14
This file was deleted.

0 commit comments

Comments
 (0)