Skip to content

Commit

Permalink
build: update copyright year to 2022 (#110)
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 7de37be commit ed70542
Show file tree
Hide file tree
Showing 22 changed files with 35 additions and 29 deletions.
4 changes: 2 additions & 2 deletions packages/google-api-servicemanagement/.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-management',
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(service) {
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(serviceName, serviceConfig) {
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(serviceName, rollout) {
Expand Down Expand Up @@ -43,9 +44,7 @@ function main(serviceName, rollout) {
};

// Run request
const [operation] = await servicemanagementClient.createServiceRollout(
request
);
const [operation] = await servicemanagementClient.createServiceRollout(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(serviceName) {
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(serviceName, consumerId) {
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(serviceName, consumerId) {
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(newConfig) {
Expand All @@ -24,15 +25,15 @@ function main(newConfig) {
* For this version of API, the supported types are
* google.api.servicemanagement.v1.ConfigRef google.api.servicemanagement.v1.ConfigRef,
* google.api.servicemanagement.v1.ConfigSource google.api.servicemanagement.v1.ConfigSource,
* and google.api.Service google.api.Service
* and google.api.Service google.api.Service
*/
// const newConfig = {}
/**
* Optional. Service configuration against which the comparison will be done.
* For this version of API, the supported types are
* google.api.servicemanagement.v1.ConfigRef google.api.servicemanagement.v1.ConfigRef,
* google.api.servicemanagement.v1.ConfigSource google.api.servicemanagement.v1.ConfigSource,
* and google.api.Service google.api.Service
* and google.api.Service google.api.Service
*/
// const oldConfig = {}

Expand All @@ -49,9 +50,7 @@ function main(newConfig) {
};

// Run request
const response = await servicemanagementClient.generateConfigReport(
request
);
const response = await servicemanagementClient.generateConfigReport(request);
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(serviceName) {
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(serviceName, configId) {
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(serviceName, rolloutId) {
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(serviceName) {
Expand Down Expand Up @@ -47,11 +48,9 @@ function main(serviceName) {
};

// Run request
const iterable = await servicemanagementClient.listServiceConfigsAsync(
request
);
const iterable = await servicemanagementClient.listServiceConfigsAsync(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(serviceName, filter) {
Expand Down Expand Up @@ -59,11 +60,9 @@ function main(serviceName, filter) {
};

// Run request
const iterable = await servicemanagementClient.listServiceRolloutsAsync(
request
);
const iterable = await servicemanagementClient.listServiceRolloutsAsync(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,12 +50,13 @@ function main() {

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

// Run request
const iterable = await servicemanagementClient.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(serviceName, configSource) {
Expand Down Expand Up @@ -49,9 +50,7 @@ function main(serviceName, configSource) {
};

// Run request
const [operation] = await servicemanagementClient.submitConfigSource(
request
);
const [operation] = await servicemanagementClient.submitConfigSource(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(serviceName) {
Expand Down
2 changes: 1 addition & 1 deletion packages/google-api-servicemanagement/src/v1/index.ts
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
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
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
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
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
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

0 comments on commit ed70542

Please sign in to comment.