Skip to content

Commit

Permalink
fix(build): migrate to using main branch (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
sofisl authored Aug 13, 2021
1 parent 133c7b7 commit a8cb938
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
30 changes: 15 additions & 15 deletions packages/google-cloud-dialogflow/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

[![release level](https://img.shields.io/badge/release%20level-general%20availability%20%28GA%29-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages)
[![npm version](https://img.shields.io/npm/v/@google-cloud/dialogflow.svg)](https://www.npmjs.org/package/@google-cloud/dialogflow)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-dialogflow/master.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-dialogflow)
[![codecov](https://img.shields.io/codecov/c/github/googleapis/nodejs-dialogflow/main.svg?style=flat)](https://codecov.io/gh/googleapis/nodejs-dialogflow)



Expand All @@ -16,7 +16,7 @@


A comprehensive list of changes in each version may be found in
[the CHANGELOG](https://github.com/googleapis/nodejs-dialogflow/blob/master/CHANGELOG.md).
[the CHANGELOG](https://github.com/googleapis/nodejs-dialogflow/blob/main/CHANGELOG.md).

* [Dialogflow API Node.js Client API Reference][client-docs]
* [Dialogflow API Documentation][product-docs]
Expand Down Expand Up @@ -110,18 +110,18 @@ async function runSample(projectId = 'your-project-id') {

## Samples

Samples are in the [`samples/`](https://github.com/googleapis/nodejs-dialogflow/tree/master/samples) directory. Each sample's `README.md` has instructions for running its sample.
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-dialogflow/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample.

| Sample | Source Code | Try it |
| --------------------------- | --------------------------------- | ------ |
| Create-intent | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/create-intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/create-intent.js,samples/README.md) |
| Detect-intent-TTS-response.v2 | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect-intent-TTS-response.v2.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect-intent-TTS-response.v2.js,samples/README.md) |
| Detect-intent-sentiment.v2 | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect-intent-sentiment.v2.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect-intent-sentiment.v2.js,samples/README.md) |
| Detect | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect.js,samples/README.md) |
| Detect.v2beta1 | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect.v2beta1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect.v2beta1.js,samples/README.md) |
| List-intents | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/list-intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/list-intents.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-dialogflow/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-dialogflow&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Resource | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/resource.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/resource.js,samples/README.md) |
| Create-intent | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/create-intent.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/create-intent.js,samples/README.md) |
| Detect-intent-TTS-response.v2 | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect-intent-TTS-response.v2.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect-intent-TTS-response.v2.js,samples/README.md) |
| Detect-intent-sentiment.v2 | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect-intent-sentiment.v2.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect-intent-sentiment.v2.js,samples/README.md) |
| Detect | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect.js,samples/README.md) |
| Detect.v2beta1 | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect.v2beta1.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect.v2beta1.js,samples/README.md) |
| List-intents | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/list-intents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/list-intents.js,samples/README.md) |
| Quickstart | [source code](https://github.com/googleapis/nodejs-dialogflow/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-dialogflow&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) |
| Resource | [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/resource.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/resource.js,samples/README.md) |



Expand Down Expand Up @@ -170,19 +170,19 @@ More Information: [Google Cloud Platform Launch Stages][launch_stages]

## Contributing

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

Please note that this `README.md`, the `samples/README.md`,
and a variety of configuration files in this repository (including `.nycrc` and `tsconfig.json`)
are generated from a central template. To edit one of these files, make an edit
to its template in this
[directory](https://github.com/googleapis/synthtool/tree/master/synthtool/gcp/templates/node_library).
to its templates in
[directory](https://github.com/googleapis/synthtool).

## License

Apache Version 2.0

See [LICENSE](https://github.com/googleapis/nodejs-dialogflow/blob/master/LICENSE)
See [LICENSE](https://github.com/googleapis/nodejs-dialogflow/blob/main/LICENSE)

[client-docs]: https://googleapis.dev/nodejs/dialogflow/latest
[product-docs]: https://cloud.google.com/dialogflow-enterprise/
Expand Down
16 changes: 8 additions & 8 deletions packages/google-cloud-dialogflow/samples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Before running the samples, make sure you've followed the steps outlined in

### Create-intent

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/create-intent.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/create-intent.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/create-intent.js,samples/README.md)

Expand All @@ -56,7 +56,7 @@ __Usage:__

### Detect-intent-TTS-response.v2

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect-intent-TTS-response.v2.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect-intent-TTS-response.v2.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect-intent-TTS-response.v2.js,samples/README.md)

Expand All @@ -73,7 +73,7 @@ __Usage:__

### Detect-intent-sentiment.v2

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect-intent-sentiment.v2.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect-intent-sentiment.v2.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect-intent-sentiment.v2.js,samples/README.md)

Expand All @@ -90,7 +90,7 @@ __Usage:__

### Detect

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect.js).

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

Expand All @@ -107,7 +107,7 @@ __Usage:__

### Detect.v2beta1

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/detect.v2beta1.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/detect.v2beta1.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/detect.v2beta1.js,samples/README.md)

Expand All @@ -124,7 +124,7 @@ __Usage:__

### List-intents

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/list-intents.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/list-intents.js).

[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-dialogflow&page=editor&open_in_editor=samples/list-intents.js,samples/README.md)

Expand All @@ -141,7 +141,7 @@ __Usage:__

### Quickstart

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/quickstart.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow/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-dialogflow&page=editor&open_in_editor=samples/quickstart.js,samples/README.md)

Expand All @@ -158,7 +158,7 @@ __Usage:__

### Resource

View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/master/samples/resource.js).
View the [source code](https://github.com/googleapis/nodejs-dialogflow/blob/main/samples/resource.js).

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

Expand Down

0 comments on commit a8cb938

Please sign in to comment.