Skip to content

Commit

Permalink
build: update copyright year to 2022 (#68)
Browse files Browse the repository at this point in the history
* chore(deps): upgrade gapic-generator-java to 2.4.1

PiperOrigin-RevId: 422607515

Source-Link: googleapis/googleapis@ba2ffd6

Source-Link: googleapis/googleapis-gen@73ba4ad
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzNiYTRhZGQyMzlhNjE5ZGE1NjdmZmJkNGU1NzMwZmRkNmRlMDRkMyJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Jan 20, 2022
1 parent eccd583 commit 802f14d
Show file tree
Hide file tree
Showing 35 changed files with 98 additions and 62 deletions.
4 changes: 2 additions & 2 deletions packages/google-api-serviceusage/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021 Google LLC
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -40,7 +40,7 @@ module.exports = {
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2021 Google LLC',
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-cloud/service-usage',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -46,7 +47,8 @@ function main() {

async function callBatchEnableServices() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.batchEnableServices(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -44,7 +45,8 @@ function main() {

async function callBatchGetServices() {
// Construct request
const request = {};
const request = {
};

// Run request
const response = await serviceusageClient.batchGetServices(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -48,7 +49,8 @@ function main() {

async function callDisableService() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.disableService(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -39,7 +40,8 @@ function main() {

async function callEnableService() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.enableService(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand All @@ -35,7 +36,8 @@ function main() {

async function callGetService() {
// Construct request
const request = {};
const request = {
};

// Run request
const response = await serviceusageClient.getService(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -50,12 +51,13 @@ function main() {

async function callListServices() {
// Construct request
const request = {};
const request = {
};

// Run request
const iterable = await serviceusageClient.listServicesAsync(request);
for await (const response of iterable) {
console.log(response);
console.log(response);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -49,7 +50,8 @@ function main() {

async function callBatchEnableServices() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.batchEnableServices(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -52,7 +53,8 @@ function main() {

async function callCreateAdminOverride() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.createAdminOverride(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -52,12 +53,11 @@ function main() {

async function callCreateConsumerOverride() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.createConsumerOverride(
request
);
const [operation] = await serviceusageClient.createConsumerOverride(request);
const [response] = await operation.promise();
console.log(response);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -47,7 +48,8 @@ function main() {

async function callDeleteAdminOverride() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.deleteAdminOverride(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -47,12 +48,11 @@ function main() {

async function callDeleteConsumerOverride() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.deleteConsumerOverride(
request
);
const [operation] = await serviceusageClient.deleteConsumerOverride(request);
const [response] = await operation.promise();
console.log(response);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand All @@ -36,7 +37,8 @@ function main() {

async function callDisableService() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.disableService(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -39,7 +40,8 @@ function main() {

async function callEnableService() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.enableService(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand All @@ -36,12 +37,11 @@ function main() {

async function callGenerateServiceIdentity() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.generateServiceIdentity(
request
);
const [operation] = await serviceusageClient.generateServiceIdentity(request);
const [response] = await operation.promise();
console.log(response);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand All @@ -38,7 +39,8 @@ function main() {

async function callGetConsumerQuotaLimit() {
// Construct request
const request = {};
const request = {
};

// Run request
const response = await serviceusageClient.getConsumerQuotaLimit(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand All @@ -38,7 +39,8 @@ function main() {

async function callGetConsumerQuotaMetric() {
// Construct request
const request = {};
const request = {
};

// Run request
const response = await serviceusageClient.getConsumerQuotaMetric(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand All @@ -35,7 +36,8 @@ function main() {

async function callGetService() {
// Construct request
const request = {};
const request = {
};

// Run request
const response = await serviceusageClient.getService(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -51,7 +52,8 @@ function main() {

async function callImportAdminOverrides() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.importAdminOverrides(request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.


'use strict';

function main() {
Expand Down Expand Up @@ -51,12 +52,11 @@ function main() {

async function callImportConsumerOverrides() {
// Construct request
const request = {};
const request = {
};

// Run request
const [operation] = await serviceusageClient.importConsumerOverrides(
request
);
const [operation] = await serviceusageClient.importConsumerOverrides(request);
const [response] = await operation.promise();
console.log(response);
}
Expand Down
Loading

0 comments on commit 802f14d

Please sign in to comment.