Skip to content

Commit

Permalink
Re-generate library using /synth.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dpebot committed Sep 6, 2018
1 parent 206e1a2 commit 8f85f86
Show file tree
Hide file tree
Showing 224 changed files with 26,996 additions and 59,256 deletions.
17 changes: 7 additions & 10 deletions .circleci/config.yml
Expand Up @@ -64,7 +64,7 @@ jobs:
name: Install and link the module
command: |-
mkdir -p /home/node/.npm-global
./.circleci/npm-install-retry.js
npm install
environment:
NPM_CONFIG_PREFIX: /home/node/.npm-global
- run: npm test
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
command: |
cd samples/
npm link ../
./../.circleci/npm-install-retry.js
npm install
environment:
NPM_CONFIG_PREFIX: /home/node/.npm-global
- run:
Expand Down Expand Up @@ -149,24 +149,21 @@ jobs:
name: Decrypt credentials.
command: |
if ! [[ -z "${SYSTEM_TESTS_ENCRYPTION_KEY}" ]]; then
for encrypted_key in .circleci/*.json.enc; do
openssl aes-256-cbc -d -in $encrypted_key \
-out $(echo $encrypted_key | sed 's/\.enc//') \
-k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
done
openssl aes-256-cbc -d -in .circleci/key.json.enc \
-out .circleci/key.json \
-k "${SYSTEM_TESTS_ENCRYPTION_KEY}"
fi
- run: *npm_install_and_link
- run:
name: Run system tests.
command: npm run system-test
environment:
GCLOUD_PROJECT: long-door-651
GOOGLE_APPLICATION_CREDENTIALS: .circleci/key.json
- run:
name: Remove unencrypted key.
command: |
if ! [[ -z "${SYSTEM_TESTS_ENCRYPTION_KEY}" ]]; then
rm .circleci/*.json
rm .circleci/key.json
fi
when: always
publish_npm:
Expand All @@ -175,6 +172,6 @@ jobs:
user: node
steps:
- checkout
- run: ./.circleci/npm-install-retry.js
- run: npm install
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
- run: npm publish --access=public
2 changes: 1 addition & 1 deletion .kokoro/common.cfg
Expand Up @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline.sh"
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/continuous/node10/common.cfg
Expand Up @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline.sh"
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/continuous/node6/common.cfg
Expand Up @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline.sh"
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:6-user"
value: "gcr.io/cloud-devrel-kokoro-resources/node:6"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/continuous/node8/common.cfg
Expand Up @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline.sh"
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:8-user"
value: "gcr.io/cloud-devrel-kokoro-resources/node:8"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
Expand Down
2 changes: 0 additions & 2 deletions .kokoro/docs.sh
Expand Up @@ -16,8 +16,6 @@

set -xeo pipefail

export NPM_CONFIG_PREFIX=/home/node/.npm-global

cd $(dirname $0)/..

npm install
Expand Down
2 changes: 0 additions & 2 deletions .kokoro/lint.sh
Expand Up @@ -16,8 +16,6 @@

set -xeo pipefail

export NPM_CONFIG_PREFIX=/home/node/.npm-global

cd $(dirname $0)/..

npm install
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/node10/common.cfg
Expand Up @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline.sh"
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10-user"
value: "gcr.io/cloud-devrel-kokoro-resources/node:10"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/node6/common.cfg
Expand Up @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline.sh"
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:6-user"
value: "gcr.io/cloud-devrel-kokoro-resources/node:6"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
Expand Down
2 changes: 1 addition & 1 deletion .kokoro/presubmit/node8/common.cfg
Expand Up @@ -16,7 +16,7 @@ build_file: "google-api-nodejs-client/.kokoro/trampoline.sh"
# Configure the docker image for kokoro-trampoline.
env_vars: {
key: "TRAMPOLINE_IMAGE"
value: "gcr.io/cloud-devrel-kokoro-resources/node:8-user"
value: "gcr.io/cloud-devrel-kokoro-resources/node:8"
}
env_vars: {
key: "TRAMPOLINE_BUILD_FILE"
Expand Down
2 changes: 0 additions & 2 deletions .kokoro/samples-test.sh
Expand Up @@ -16,8 +16,6 @@

set -xeo pipefail

export NPM_CONFIG_PREFIX=/home/node/.npm-global

# Setup service account credentials.
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json
export GCLOUD_PROJECT=long-door-651
Expand Down
7 changes: 0 additions & 7 deletions .kokoro/system-test.sh
Expand Up @@ -16,18 +16,11 @@

set -xeo pipefail

export NPM_CONFIG_PREFIX=/home/node/.npm-global

# Setup service account credentials.
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/service-account.json

cd $(dirname $0)/..

# Run a pre-test hook, if a pre-system-test.sh is in the project
if [ -f .kokoro/pre-system-test.sh ]; then
. .kokoro/pre-system-test.sh
fi

npm install

npm run system-test
2 changes: 0 additions & 2 deletions .kokoro/test.sh
Expand Up @@ -16,8 +16,6 @@

set -xeo pipefail

export NPM_CONFIG_PREFIX=/home/node/.npm-global

cd $(dirname $0)/..

npm install
Expand Down
15 changes: 3 additions & 12 deletions src/apis/abusiveexperiencereport/v1.ts
Expand Up @@ -131,16 +131,8 @@ export namespace abusiveexperiencereport_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {string} params.name The required site name. This is the site
* property whose abusive experiences have been reviewed, and it must be
* URL-encoded. For example, sites/https%3A%2F%2Fwww.google.com. The
* server will return an error of BAD_REQUEST if this field is not
* filled in. Note that if the site property is not yet verified in
* Search Console, the reportUrl field returned by the API will lead to
* the verification page, prompting the user to go through that process
* before they can gain access to the Abusive Experience Report.
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {string} params.name The required site name. This is the site property whose abusive experiences have been reviewed, and it must be URL-encoded. For example, sites/https%3A%2F%2Fwww.google.com. The server will return an error of BAD_REQUEST if this field is not filled in. Note that if the site property is not yet verified in Search Console, the reportUrl field returned by the API will lead to the verification page, prompting the user to go through that process before they can gain access to the Abusive Experience Report.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down Expand Up @@ -233,8 +225,7 @@ export namespace abusiveexperiencereport_v1 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down
3 changes: 1 addition & 2 deletions src/apis/acceleratedmobilepageurl/v1.ts
Expand Up @@ -154,8 +154,7 @@ export namespace acceleratedmobilepageurl_v1 {
*
* @param {object} params Parameters for request
* @param {().BatchGetAmpUrlsRequest} params.resource Request body data
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down
37 changes: 12 additions & 25 deletions src/apis/adexchangebuyer/v1.2.ts
Expand Up @@ -279,8 +279,7 @@ export namespace adexchangebuyer_v1_2 {
*
* @param {object} params Parameters for request
* @param {integer} params.id The account id
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down Expand Up @@ -340,8 +339,7 @@ export namespace adexchangebuyer_v1_2 {
* @memberOf! ()
*
* @param {object=} params Parameters for request
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down Expand Up @@ -407,8 +405,7 @@ export namespace adexchangebuyer_v1_2 {
* @param {object} params Parameters for request
* @param {integer} params.id The account id
* @param {().Account} params.resource Request body data
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down Expand Up @@ -473,8 +470,7 @@ export namespace adexchangebuyer_v1_2 {
* @param {object} params Parameters for request
* @param {integer} params.id The account id
* @param {().Account} params.resource Request body data
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down Expand Up @@ -601,12 +597,9 @@ export namespace adexchangebuyer_v1_2 {
* @memberOf! ()
*
* @param {object} params Parameters for request
* @param {integer} params.accountId The id for the account that will serve
* this creative.
* @param {string} params.buyerCreativeId The buyer-specific id for this
* creative.
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {integer} params.accountId The id for the account that will serve this creative.
* @param {string} params.buyerCreativeId The buyer-specific id for this creative.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down Expand Up @@ -669,8 +662,7 @@ export namespace adexchangebuyer_v1_2 {
*
* @param {object} params Parameters for request
* @param {().Creative} params.resource Request body data
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down Expand Up @@ -734,15 +726,10 @@ export namespace adexchangebuyer_v1_2 {
* @memberOf! ()
*
* @param {object=} params Parameters for request
* @param {integer=} params.maxResults Maximum number of entries returned on
* one result page. If not set, the default is 100. Optional.
* @param {string=} params.pageToken A continuation token, used to page
* through ad clients. To retrieve the next page, set this parameter to
* the value of "nextPageToken" from the previous response. Optional.
* @param {string=} params.statusFilter When specified, only creatives
* having the given status are returned.
* @param {object} [options] Optionally override request options, such as
* `url`, `method`, and `encoding`.
* @param {integer=} params.maxResults Maximum number of entries returned on one result page. If not set, the default is 100. Optional.
* @param {string=} params.pageToken A continuation token, used to page through ad clients. To retrieve the next page, set this parameter to the value of "nextPageToken" from the previous response. Optional.
* @param {string=} params.statusFilter When specified, only creatives having the given status are returned.
* @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`.
* @param {callback} callback The callback that handles the response.
* @return {object} Request object
*/
Expand Down

0 comments on commit 8f85f86

Please sign in to comment.