@google-cloud/nodejs-common 1.6.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/google_ads.sh CHANGED
@@ -15,7 +15,7 @@
15
15
  # limitations under the License.
16
16
 
17
17
  # Google Ads API version
18
- GOOGLE_ADS_API_VERSION=10
18
+ GOOGLE_ADS_API_VERSION=13
19
19
 
20
20
  #######################################
21
21
  # Verify whether the current OAuth token, CID and developer token can work.
@@ -16,6 +16,7 @@
16
16
 
17
17
  # Cloud Functions Runtime Environment.
18
18
  CF_RUNTIME="${CF_RUNTIME:=nodejs14}"
19
+ CF_MEMORY="${CF_MEMORY:=2048MB}"
19
20
 
20
21
  # Counter for steps.
21
22
  STEP=0
@@ -1551,7 +1552,7 @@ set_cloud_functions_default_settings() {
1551
1552
  local -n default_cf_flag=$1
1552
1553
  default_cf_flag+=(--region="${REGION}")
1553
1554
  default_cf_flag+=(--no-allow-unauthenticated)
1554
- default_cf_flag+=(--timeout=540 --memory=2048MB --runtime="${CF_RUNTIME}")
1555
+ default_cf_flag+=(--timeout=540 --memory="${CF_MEMORY}" --runtime="${CF_RUNTIME}")
1555
1556
  default_cf_flag+=(--set-env-vars=GCP_PROJECT="${GCP_PROJECT}")
1556
1557
  default_cf_flag+=(--set-env-vars=PROJECT_NAMESPACE="${PROJECT_NAMESPACE}")
1557
1558
  default_cf_flag+=(--set-env-vars=DEBUG="${DEBUG}")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-cloud/nodejs-common",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "description": "A NodeJs common library for solutions based on Cloud Functions",
5
5
  "author": "Google Inc.",
6
6
  "license": "Apache-2.0",