@google-cloud/nodejs-common 1.0.3-alpha → 1.0.3

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.
@@ -1910,27 +1910,3 @@ join_string_array() {
1910
1910
  shift
1911
1911
  printf %s "$first" "${@/#/$separator}"
1912
1912
  }
1913
-
1914
- #######################################
1915
- # Creates or updates the BigQuery view.
1916
- # Globals:
1917
- # GCP_PROJECT
1918
- # DATASET
1919
- # Arguments:
1920
- # The name of view.
1921
- # The query of view.
1922
- #######################################
1923
- create_or_update_view() {
1924
- local viewName viewQuery
1925
- viewName="${1}"
1926
- viewQuery="${2}"
1927
- local action="mk"
1928
- if [[ $(check_existence_in_bigquery "${DATASET}.${viewName}") -eq 0 ]]; then
1929
- action="update"
1930
- fi
1931
- bq "${action}" \
1932
- --use_legacy_sql=false \
1933
- --view "${viewQuery}" \
1934
- --project_id ${GCP_PROJECT} \
1935
- "${DATASET}.${viewName}"
1936
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@google-cloud/nodejs-common",
3
- "version": "1.0.3-alpha",
3
+ "version": "1.0.3",
4
4
  "description": "A NodeJs common library for solutions based on Cloud Functions",
5
5
  "author": "Google Inc.",
6
6
  "license": "Apache-2.0",
@@ -118,32 +118,27 @@ const MAX_IDENTIFIERS_PER_USER = 20;
118
118
  * order_id: (string|undefined),
119
119
  * user_identifier_source:(UserIdentifierSource|undefined),
120
120
  * custom_variable_tags:(!Array<string>|undefined),
121
- * customVariables:(!object<string,string>|undefined),
121
+ * customVariables:(!Object<string,string>|undefined),
122
122
  * }}
123
123
  */
124
124
  let ClickConversionConfig;
125
125
 
126
126
  /**
127
127
  * Configuration for uploading customer match to Google Ads, includes:
128
- * customer_id, login_customer_id, list_id, list_type and operation
129
- * list_type must be one of the following: hashed_email,
130
- * hashed_phone_number, mobile_id, third_party_user_id or address_info;
128
+ * customer_id, login_customer_id, list_id and operation.
131
129
  * operation must be one of the two: 'create' or 'remove';
132
130
  * @see https://developers.google.com/google-ads/api/reference/rpc/latest/UserDataOperation
133
131
  * @typedef {{
134
132
  * customer_id: string,
135
133
  * login_customer_id: string,
136
134
  * list_id: string,
137
- * list_type: 'hashed_email'|'hashed_phone_number'|'mobile_id'|
138
- * 'third_party_user_id'|'address_info',
139
135
  * operation: 'create'|'remove',
140
136
  * }}
141
137
  */
142
138
  let CustomerMatchConfig;
143
139
 
144
140
  /**
145
- * Configuration for uploading customer match data for Google Ads, includes one of:
146
- * hashed_email, hashed_phone_number, mobile_id, third_party_user_id or address_info
141
+ * Configuration for uploading customer match data for Google Ads.
147
142
  * @see https://developers.google.com/google-ads/api/reference/rpc/latest/UserIdentifier
148
143
  * @typedef {{
149
144
  * hashed_email: (string|Array<string>|undefined),
package/src/apis/index.js CHANGED
@@ -88,7 +88,7 @@ exports.bigquery = require('./bigquery.js');
88
88
  * APIs integration class for Google Ads.
89
89
  * @const {{
90
90
  * GoogleAds:!GoogleAds,
91
- * ConversionConfig:!ConversionConfig,
91
+ * ClickConversionConfig:!ClickConversionConfig,
92
92
  * CustomerMatchConfig: !CustomerMatchConfig,
93
93
  * CustomerMatchRecord: !CustomerMatchRecord,
94
94
  * ReportQueryConfig:!ReportQueryConfig,