Skip to content

Commit

Permalink
docs(samples): add example tags to generated samples (#229)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 408439482

Source-Link: googleapis/googleapis@b9f6184

Source-Link: googleapis/googleapis-gen@eb888bc
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZWI4ODhiYzIxNGVmYzdiZjQzYmY0NjM0YjQ3MDI1NDU2NWE2NTlhNSJ9
  • Loading branch information
gcf-owl-bot[bot] authored Nov 10, 2021
1 parent c8083a1 commit 346a822
Show file tree
Hide file tree
Showing 7 changed files with 145 additions and 149 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
"img.shields.io"
],
"silent": true,
"concurrency": 10
"concurrency": 5
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function main(parent, dashboard) {
/**
* Required. The initial dashboard specification.
*/
// const dashboard = ''
// const dashboard = {}
/**
* If set, validate the request and preview the review, but do not actually
* save it.
Expand All @@ -42,7 +42,7 @@ function main(parent, dashboard) {
// Instantiates a client
const dashboardClient = new DashboardsServiceClient();

async function createDashboard() {
async function callCreateDashboard() {
// Construct request
const request = {
parent,
Expand All @@ -54,7 +54,7 @@ function main(parent, dashboard) {
console.log(response);
}

createDashboard();
callCreateDashboard();
// [END monitoring_v1_generated_DashboardsService_CreateDashboard_async]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function main(name) {
// Instantiates a client
const dashboardClient = new DashboardsServiceClient();

async function deleteDashboard() {
async function callDeleteDashboard() {
// Construct request
const request = {
name,
Expand All @@ -43,7 +43,7 @@ function main(name) {
console.log(response);
}

deleteDashboard();
callDeleteDashboard();
// [END monitoring_v1_generated_DashboardsService_DeleteDashboard_async]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ function main(name) {
// Instantiates a client
const dashboardClient = new DashboardsServiceClient();

async function getDashboard() {
async function callGetDashboard() {
// Construct request
const request = {
name,
Expand All @@ -45,7 +45,7 @@ function main(name) {
console.log(response);
}

getDashboard();
callGetDashboard();
// [END monitoring_v1_generated_DashboardsService_GetDashboard_async]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function main(parent) {
// Instantiates a client
const dashboardClient = new DashboardsServiceClient();

async function listDashboards() {
async function callListDashboards() {
// Construct request
const request = {
parent,
Expand All @@ -56,7 +56,7 @@ function main(parent) {
}
}

listDashboards();
callListDashboards();
// [END monitoring_v1_generated_DashboardsService_ListDashboards_async]
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function main(dashboard) {
/**
* Required. The dashboard that will replace the existing dashboard.
*/
// const dashboard = ''
// const dashboard = {}
/**
* If set, validate the request and preview the review, but do not actually
* save it.
Expand All @@ -36,7 +36,7 @@ function main(dashboard) {
// Instantiates a client
const dashboardClient = new DashboardsServiceClient();

async function updateDashboard() {
async function callUpdateDashboard() {
// Construct request
const request = {
dashboard,
Expand All @@ -47,7 +47,7 @@ function main(dashboard) {
console.log(response);
}

updateDashboard();
callUpdateDashboard();
// [END monitoring_v1_generated_DashboardsService_UpdateDashboard_async]
}

Expand Down
Loading

0 comments on commit 346a822

Please sign in to comment.