Skip to content

Commit

Permalink
build: update copyright year to 2022 (#152)
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 c83bb19 commit c7ba0b1
Show file tree
Hide file tree
Showing 59 changed files with 149 additions and 204 deletions.
4 changes: 2 additions & 2 deletions packages/google-cloud-security-privateca/.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/security-private-ca',
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(name, pemCaCertificate, subordinateConfig) {
Expand Down Expand Up @@ -50,8 +51,7 @@ function main(name, pemCaCertificate, subordinateConfig) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand All @@ -65,9 +65,7 @@ function main(name, pemCaCertificate, subordinateConfig) {
};

// Run request
const [operation] = await privatecaClient.activateCertificateAuthority(
request
);
const [operation] = await privatecaClient.activateCertificateAuthority(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(parent, caPoolId, caPool) {
Expand Down Expand Up @@ -49,8 +50,7 @@ function main(parent, caPoolId, caPool) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
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(parent, certificate) {
Expand Down Expand Up @@ -71,8 +72,7 @@ function main(parent, certificate) {
// const issuingCertificateAuthorityId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
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(parent, certificateAuthorityId, certificateAuthority) {
Expand Down Expand Up @@ -50,8 +51,7 @@ function main(parent, certificateAuthorityId, certificateAuthority) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand All @@ -65,9 +65,7 @@ function main(parent, certificateAuthorityId, certificateAuthority) {
};

// Run request
const [operation] = await privatecaClient.createCertificateAuthority(
request
);
const [operation] = await privatecaClient.createCertificateAuthority(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(parent, certificateTemplateId, certificateTemplate) {
Expand Down Expand Up @@ -50,8 +51,7 @@ function main(parent, certificateTemplateId, certificateTemplate) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand All @@ -65,9 +65,7 @@ function main(parent, certificateTemplateId, certificateTemplate) {
};

// Run request
const [operation] = await privatecaClient.createCertificateTemplate(
request
);
const [operation] = await privatecaClient.createCertificateTemplate(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(name) {
Expand Down Expand Up @@ -40,8 +41,7 @@ function main(name) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
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(name) {
Expand Down Expand Up @@ -45,8 +46,7 @@ function main(name) {
// const ignoreActiveCertificates = true

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand All @@ -58,9 +58,7 @@ function main(name) {
};

// Run request
const [operation] = await privatecaClient.deleteCertificateAuthority(
request
);
const [operation] = await privatecaClient.deleteCertificateAuthority(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(name) {
Expand Down Expand Up @@ -40,8 +41,7 @@ function main(name) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand All @@ -53,9 +53,7 @@ function main(name) {
};

// Run request
const [operation] = await privatecaClient.deleteCertificateTemplate(
request
);
const [operation] = await privatecaClient.deleteCertificateTemplate(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(name) {
Expand Down Expand Up @@ -40,8 +41,7 @@ function main(name) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand All @@ -53,9 +53,7 @@ function main(name) {
};

// Run request
const [operation] = await privatecaClient.disableCertificateAuthority(
request
);
const [operation] = await privatecaClient.disableCertificateAuthority(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(name) {
Expand Down Expand Up @@ -40,8 +41,7 @@ function main(name) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand All @@ -53,9 +53,7 @@ function main(name) {
};

// Run request
const [operation] = await privatecaClient.enableCertificateAuthority(
request
);
const [operation] = await privatecaClient.enableCertificateAuthority(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(caPool) {
Expand Down Expand Up @@ -40,8 +41,7 @@ function main(caPool) {
// const requestId = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
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(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand All @@ -39,9 +39,7 @@ function main(name) {
};

// Run request
const response = await privatecaClient.fetchCertificateAuthorityCsr(
request
);
const response = await privatecaClient.fetchCertificateAuthorityCsr(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(name) {
Expand All @@ -25,8 +26,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
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(name) {
Expand All @@ -25,8 +26,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
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(name) {
Expand All @@ -26,8 +27,7 @@ function main(name) {
// const name = 'abc123'

// Imports the Privateca library
const {CertificateAuthorityServiceClient} =
require('@google-cloud/security-private-ca').v1;
const {CertificateAuthorityServiceClient} = require('@google-cloud/security-private-ca').v1;

// Instantiates a client
const privatecaClient = new CertificateAuthorityServiceClient();
Expand Down
Loading

0 comments on commit c7ba0b1

Please sign in to comment.