Skip to content

Commit d894b45

Browse files
build: update copyright year to 2022 (#41)
* 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>
1 parent 409e1d7 commit d894b45

32 files changed

+56
-44
lines changed

packages/google-cloud-filestore/.jsdoc.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021 Google LLC
1+
// Copyright 2022 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ module.exports = {
4040
includePattern: '\\.js$'
4141
},
4242
templates: {
43-
copyright: 'Copyright 2021 Google LLC',
43+
copyright: 'Copyright 2022 Google LLC',
4444
includeDate: false,
4545
sourceFiles: false,
4646
systemName: '@google-cloud/filestore',

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.create_backup.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, backup, backupId) {
@@ -26,7 +27,7 @@ function main(parent, backup, backupId) {
2627
*/
2728
// const parent = 'abc123'
2829
/**
29-
* Required. A backup resource google.cloud.filestore.v1.Backup
30+
* Required. A backup resource google.cloud.filestore.v1.Backup
3031
*/
3132
// const backup = {}
3233
/**

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.create_instance.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, instanceId, instance) {
@@ -31,7 +32,7 @@ function main(parent, instanceId, instance) {
3132
*/
3233
// const instanceId = 'abc123'
3334
/**
34-
* Required. An instance resource google.cloud.filestore.v1.Instance
35+
* Required. An instance resource google.cloud.filestore.v1.Instance
3536
*/
3637
// const instance = {}
3738

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.delete_backup.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.delete_instance.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.get_backup.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.get_instance.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.list_backups.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent) {
@@ -61,7 +62,7 @@ function main(parent) {
6162
// Run request
6263
const iterable = await filestoreClient.listBackupsAsync(request);
6364
for await (const response of iterable) {
64-
console.log(response);
65+
console.log(response);
6566
}
6667
}
6768

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.list_instances.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent) {
@@ -60,7 +61,7 @@ function main(parent) {
6061
// Run request
6162
const iterable = await filestoreClient.listInstancesAsync(request);
6263
for await (const response of iterable) {
63-
console.log(response);
64+
console.log(response);
6465
}
6566
}
6667

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.restore_instance.js

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name, fileShare) {

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.update_backup.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(backup, updateMask) {
@@ -20,7 +21,7 @@ function main(backup, updateMask) {
2021
* TODO(developer): Uncomment these variables before running the sample.
2122
*/
2223
/**
23-
* Required. A backup resource google.cloud.filestore.v1.Backup
24+
* Required. A backup resource google.cloud.filestore.v1.Backup
2425
*/
2526
// const backup = {}
2627
/**

packages/google-cloud-filestore/samples/generated/v1/cloud_filestore_manager.update_instance.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main() {
@@ -41,7 +42,8 @@ function main() {
4142

4243
async function callUpdateInstance() {
4344
// Construct request
44-
const request = {};
45+
const request = {
46+
};
4547

4648
// Run request
4749
const [operation] = await filestoreClient.updateInstance(request);

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.create_backup.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, backup, backupId) {
@@ -26,7 +27,7 @@ function main(parent, backup, backupId) {
2627
*/
2728
// const parent = 'abc123'
2829
/**
29-
* Required. A backup resource google.cloud.filestore.v1beta1.Backup
30+
* Required. A backup resource google.cloud.filestore.v1beta1.Backup
3031
*/
3132
// const backup = {}
3233
/**
@@ -38,8 +39,7 @@ function main(parent, backup, backupId) {
3839
// const backupId = 'abc123'
3940

4041
// Imports the Filestore library
41-
const {CloudFilestoreManagerClient} =
42-
require('@google-cloud/filestore').v1beta1;
42+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
4343

4444
// Instantiates a client
4545
const filestoreClient = new CloudFilestoreManagerClient();

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.create_instance.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent, instanceId, instance) {
@@ -33,13 +34,12 @@ function main(parent, instanceId, instance) {
3334
*/
3435
// const instanceId = 'abc123'
3536
/**
36-
* Required. An instance resource google.cloud.filestore.v1beta1.Instance
37+
* Required. An instance resource google.cloud.filestore.v1beta1.Instance
3738
*/
3839
// const instance = {}
3940

4041
// Imports the Filestore library
41-
const {CloudFilestoreManagerClient} =
42-
require('@google-cloud/filestore').v1beta1;
42+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
4343

4444
// Instantiates a client
4545
const filestoreClient = new CloudFilestoreManagerClient();

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.delete_backup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -26,8 +27,7 @@ function main(name) {
2627
// const name = 'abc123'
2728

2829
// Imports the Filestore library
29-
const {CloudFilestoreManagerClient} =
30-
require('@google-cloud/filestore').v1beta1;
30+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
3131

3232
// Instantiates a client
3333
const filestoreClient = new CloudFilestoreManagerClient();

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.delete_instance.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -26,8 +27,7 @@ function main(name) {
2627
// const name = 'abc123'
2728

2829
// Imports the Filestore library
29-
const {CloudFilestoreManagerClient} =
30-
require('@google-cloud/filestore').v1beta1;
30+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
3131

3232
// Instantiates a client
3333
const filestoreClient = new CloudFilestoreManagerClient();

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.get_backup.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -26,8 +27,7 @@ function main(name) {
2627
// const name = 'abc123'
2728

2829
// Imports the Filestore library
29-
const {CloudFilestoreManagerClient} =
30-
require('@google-cloud/filestore').v1beta1;
30+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
3131

3232
// Instantiates a client
3333
const filestoreClient = new CloudFilestoreManagerClient();

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.get_instance.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name) {
@@ -26,8 +27,7 @@ function main(name) {
2627
// const name = 'abc123'
2728

2829
// Imports the Filestore library
29-
const {CloudFilestoreManagerClient} =
30-
require('@google-cloud/filestore').v1beta1;
30+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
3131

3232
// Instantiates a client
3333
const filestoreClient = new CloudFilestoreManagerClient();

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.list_backups.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent) {
@@ -47,8 +48,7 @@ function main(parent) {
4748
// const filter = 'abc123'
4849

4950
// Imports the Filestore library
50-
const {CloudFilestoreManagerClient} =
51-
require('@google-cloud/filestore').v1beta1;
51+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
5252

5353
// Instantiates a client
5454
const filestoreClient = new CloudFilestoreManagerClient();
@@ -62,7 +62,7 @@ function main(parent) {
6262
// Run request
6363
const iterable = await filestoreClient.listBackupsAsync(request);
6464
for await (const response of iterable) {
65-
console.log(response);
65+
console.log(response);
6666
}
6767
}
6868

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.list_instances.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(parent) {
@@ -46,8 +47,7 @@ function main(parent) {
4647
// const filter = 'abc123'
4748

4849
// Imports the Filestore library
49-
const {CloudFilestoreManagerClient} =
50-
require('@google-cloud/filestore').v1beta1;
50+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
5151

5252
// Instantiates a client
5353
const filestoreClient = new CloudFilestoreManagerClient();
@@ -61,7 +61,7 @@ function main(parent) {
6161
// Run request
6262
const iterable = await filestoreClient.listInstancesAsync(request);
6363
for await (const response of iterable) {
64-
console.log(response);
64+
console.log(response);
6565
}
6666
}
6767

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.restore_instance.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(name, fileShare) {
@@ -41,8 +42,7 @@ function main(name, fileShare) {
4142
// const sourceBackup = 'abc123'
4243

4344
// Imports the Filestore library
44-
const {CloudFilestoreManagerClient} =
45-
require('@google-cloud/filestore').v1beta1;
45+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
4646

4747
// Instantiates a client
4848
const filestoreClient = new CloudFilestoreManagerClient();

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.update_backup.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(backup, updateMask) {
@@ -20,7 +21,7 @@ function main(backup, updateMask) {
2021
* TODO(developer): Uncomment these variables before running the sample.
2122
*/
2223
/**
23-
* Required. A backup resource google.cloud.filestore.v1beta1.Backup
24+
* Required. A backup resource google.cloud.filestore.v1beta1.Backup
2425
*/
2526
// const backup = {}
2627
/**
@@ -30,8 +31,7 @@ function main(backup, updateMask) {
3031
// const updateMask = {}
3132

3233
// Imports the Filestore library
33-
const {CloudFilestoreManagerClient} =
34-
require('@google-cloud/filestore').v1beta1;
34+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
3535

3636
// Instantiates a client
3737
const filestoreClient = new CloudFilestoreManagerClient();

packages/google-cloud-filestore/samples/generated/v1beta1/cloud_filestore_manager.update_instance.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
1516
'use strict';
1617

1718
function main(updateMask, instance) {
@@ -34,8 +35,7 @@ function main(updateMask, instance) {
3435
// const instance = {}
3536

3637
// Imports the Filestore library
37-
const {CloudFilestoreManagerClient} =
38-
require('@google-cloud/filestore').v1beta1;
38+
const {CloudFilestoreManagerClient} = require('@google-cloud/filestore').v1beta1;
3939

4040
// Instantiates a client
4141
const filestoreClient = new CloudFilestoreManagerClient();

0 commit comments

Comments
 (0)