You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/generated-files-bot.yml
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ generatedFiles:
8
8
- path: '.github/generated-files-bot.+(yml|yaml)'
9
9
message: '`.github/generated-files-bot.(yml|yaml)` should be updated in [`synthtool`](https://github.com/googleapis/synthtool)'
10
10
- path: 'README.md'
11
-
message: '`README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml'
11
+
message: '`README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml'
12
12
- path: 'samples/README.md'
13
-
message: '`samples/README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/master/.readme-partials.yaml'
13
+
message: '`samples/README.md` is managed by [`synthtool`](https://github.com/googleapis/synthtool). However, a partials file can be used to update the README, e.g.: https://github.com/googleapis/nodejs-storage/blob/main/.readme-partials.yaml'
*[Service Directory Node.js Client API Reference][client-docs]
21
21
@@ -98,18 +98,18 @@ return listNamespaces();
98
98
99
99
## Samples
100
100
101
-
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-service-directory/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
101
+
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-service-directory/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.
| Create Endpoint |[source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createEndpoint.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createEndpoint.js,samples/README.md)|
106
-
| Create Namespace |[source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createNamespace.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createNamespace.js,samples/README.md)|
107
-
| Create Service |[source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createService.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createService.js,samples/README.md)|
108
-
| Delete Endpoint |[source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteEndpoint.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteEndpoint.js,samples/README.md)|
109
-
| Delete Namespace |[source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteNamespace.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteNamespace.js,samples/README.md)|
110
-
| Delete Service |[source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteService.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteService.js,samples/README.md)|
111
-
| Quickstart |[source code](https://github.com/googleapis/nodejs-service-directory/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-service-directory&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)|
112
-
| Resolve Service |[source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/resolveService.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/resolveService.js,samples/README.md)|
105
+
| Create Endpoint |[source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createEndpoint.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createEndpoint.js,samples/README.md)|
106
+
| Create Namespace |[source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createNamespace.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createNamespace.js,samples/README.md)|
107
+
| Create Service |[source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createService.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createService.js,samples/README.md)|
108
+
| Delete Endpoint |[source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteEndpoint.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteEndpoint.js,samples/README.md)|
109
+
| Delete Namespace |[source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteNamespace.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteNamespace.js,samples/README.md)|
110
+
| Delete Service |[source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteService.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteService.js,samples/README.md)|
111
+
| Quickstart |[source code](https://github.com/googleapis/nodejs-service-directory/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-service-directory&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)|
112
+
| Resolve Service |[source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/resolveService.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/resolveService.js,samples/README.md)|
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-service-directory/blob/master/CONTRIBUTING.md).
161
+
Contributions welcome! See the [Contributing Guide](https://github.com/googleapis/nodejs-service-directory/blob/main/CONTRIBUTING.md).
162
162
163
163
Please note that this `README.md`, the `samples/README.md`,
164
164
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
@@ -170,7 +170,7 @@ to its templates in
170
170
171
171
Apache Version 2.0
172
172
173
-
See [LICENSE](https://github.com/googleapis/nodejs-service-directory/blob/master/LICENSE)
173
+
See [LICENSE](https://github.com/googleapis/nodejs-service-directory/blob/main/LICENSE)
Copy file name to clipboardExpand all lines: samples/README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Before running the samples, make sure you've followed the steps outlined in
38
38
39
39
### Create Endpoint
40
40
41
-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createEndpoint.js).
41
+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createEndpoint.js).
42
42
43
43
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createEndpoint.js,samples/README.md)
44
44
@@ -55,7 +55,7 @@ __Usage:__
55
55
56
56
### Create Namespace
57
57
58
-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createNamespace.js).
58
+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createNamespace.js).
59
59
60
60
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createNamespace.js,samples/README.md)
61
61
@@ -72,7 +72,7 @@ __Usage:__
72
72
73
73
### Create Service
74
74
75
-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/createService.js).
75
+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/createService.js).
76
76
77
77
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/createService.js,samples/README.md)
78
78
@@ -89,7 +89,7 @@ __Usage:__
89
89
90
90
### Delete Endpoint
91
91
92
-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteEndpoint.js).
92
+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteEndpoint.js).
93
93
94
94
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteEndpoint.js,samples/README.md)
95
95
@@ -106,7 +106,7 @@ __Usage:__
106
106
107
107
### Delete Namespace
108
108
109
-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteNamespace.js).
109
+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteNamespace.js).
110
110
111
111
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteNamespace.js,samples/README.md)
112
112
@@ -123,7 +123,7 @@ __Usage:__
123
123
124
124
### Delete Service
125
125
126
-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/deleteService.js).
126
+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/deleteService.js).
127
127
128
128
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/deleteService.js,samples/README.md)
129
129
@@ -140,7 +140,7 @@ __Usage:__
140
140
141
141
### Quickstart
142
142
143
-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/quickstart.js).
143
+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/quickstart.js).
144
144
145
145
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)
146
146
@@ -157,7 +157,7 @@ __Usage:__
157
157
158
158
### Resolve Service
159
159
160
-
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/master/samples/resolveService.js).
160
+
View the [source code](https://github.com/googleapis/nodejs-service-directory/blob/main/samples/resolveService.js).
161
161
162
162
[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-service-directory&page=editor&open_in_editor=samples/resolveService.js,samples/README.md)
0 commit comments