Skip to content

migrate code from googleapis/nodejs-analytics-data #3562

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 140 commits into from
Nov 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
140 commits
Select commit Hold shift + click to select a range
fbe5e84
chore: add initial files for launch
sofisl Aug 29, 2020
acc305f
feat!: generate first stub of library (#1)
sofisl Sep 2, 2020
23d2657
chore: release 1.0.0 (#4)
release-please[bot] Sep 3, 2020
d15e3a5
chore(deps): update dependency mocha to v8 (#6)
renovate-bot Sep 11, 2020
ab9d42e
chore(deps): update dependency webpack-cli to v4 (#13)
renovate-bot Oct 12, 2020
baea9bd
chore(deps): update dependency webpack to v5 (#12)
renovate-bot Oct 14, 2020
dbe7afc
fix(deps): update dependency @google-cloud/billing to v2 (#7)
renovate-bot Oct 16, 2020
8177d0b
docs: updated sample code to match other platforms (#15)
ikuleshov Oct 19, 2020
6a73701
build: resync synthtool with library (#20)
sofisl Oct 27, 2020
6e0bb26
chore: start tracking obsolete files (#23)
yoshi-automation Oct 29, 2020
88019b9
build(node): add KOKORO_BUILD_ARTIFACTS_SUBDIR to env (#24)
yoshi-automation Nov 2, 2020
0652c98
docs: App+Web properties renamed to GA4 (#26)
yoshi-automation Nov 3, 2020
a786b28
chore: release 1.0.1 (#25)
release-please[bot] Nov 3, 2020
716cd3c
fix: do not modify options object, use defaultScopes (#30)
alexander-fenster Nov 7, 2020
76ea3b8
chore: release 1.0.2 (#31)
release-please[bot] Nov 11, 2020
99f25a0
feat: added RunRealtimeReport method that returns a customized report…
yoshi-automation Nov 11, 2020
33760b0
chore: release 1.1.0 (#32)
release-please[bot] Nov 13, 2020
5565e4e
build: updates to protos.json (#38)
yoshi-automation Nov 20, 2020
5d2d1de
docs: spelling correction for "targetting" (#40)
yoshi-automation Nov 25, 2020
eaec383
docs: add instructions for authenticating for system tests (#42)
yoshi-automation Dec 22, 2020
60957fa
fix!: GetUniversalMetadata method removed from the API, GetMetadata m…
yoshi-automation Dec 28, 2020
553db7c
chore: release 2.0.0 (#44)
release-please[bot] Jan 5, 2021
1ba2d15
docs: update year on headings (#45)
yoshi-automation Jan 7, 2021
1fae9d6
feat: adds style enumeration (#47)
yoshi-automation Jan 9, 2021
1c03134
chore: release 2.1.0 (#48)
release-please[bot] Jan 12, 2021
da6c876
docs: added an example using OAuth2 with the Data API (#49)
ikuleshov Jan 20, 2021
ffea18f
docs: update sample used on README (#50)
yoshi-automation Feb 4, 2021
ce4caa8
chore: update flakybot config and protos (#55)
yoshi-automation Feb 4, 2021
8dfb917
docs: update list of available samples (#57)
yoshi-automation Feb 6, 2021
a069aaf
fix(deps): update dependency google-auth-library to v7 (#58)
renovate-bot Feb 12, 2021
ca78e45
feat: add v1beta1 to nodejs-analytics-data (#60)
sofisl Mar 2, 2021
189efda
chore: release 2.2.0 (#61)
release-please[bot] Mar 2, 2021
5ba7485
fix(deps): update dependency open to v8 (#62)
renovate-bot Mar 2, 2021
0ec8e14
fix: remove v1beta1 to nodejs-analytics-data
sofisl Mar 4, 2021
872cf44
chore: release 2.2.1 (#64)
release-please[bot] Mar 4, 2021
830c6c7
build: update gapic-generator-typescript to v1.2.10. (#68)
yoshi-automation Mar 7, 2021
965e76d
feat: add v1beta surface (issues fixed) (#69)
sofisl Mar 11, 2021
b69ec2b
chore: release 2.3.0 (#70)
release-please[bot] Mar 11, 2021
c1f90f0
docs: update README.md to reflect sample
yoshi-automation Mar 12, 2021
5e6f4c5
chore: migrate to owl bot (#74)
SurferJeffAtGoogle Mar 18, 2021
8d28054
docs: add a sample using explicit JSON service account credentials (#73)
ikuleshov Mar 19, 2021
bb14549
build: update .OwlBot.lock with new version of post-processor, docs: …
gcf-owl-bot[bot] Mar 30, 2021
76960e4
docs: update region tag names to match the convention (#83)
ikuleshov Mar 31, 2021
e56ff4e
feat: add `kind` field which is used to distinguish between response …
gcf-owl-bot[bot] Mar 31, 2021
6947435
chore: release 2.4.0 (#86)
release-please[bot] Apr 5, 2021
db9262a
chore(deps): update dependency sinon to v10 (#89)
renovate-bot Apr 6, 2021
cc60321
chore(deps): update dependency @types/sinon to v10 (#92)
renovate-bot Apr 14, 2021
8516c21
chore(deps): update dependency ts-loader to v9 (#97)
renovate-bot Apr 19, 2021
8835090
fix(deps): require google-gax v2.12.0 (#101)
alexander-fenster May 7, 2021
528e799
chore: new owl bot post processor docker image (#103)
gcf-owl-bot[bot] May 10, 2021
89d6bf7
fix: use require() to load JSON protos (#104)
gcf-owl-bot[bot] May 11, 2021
0991266
chore: update gapic-generator-typescript to v1.3.2 (#105)
gcf-owl-bot[bot] May 11, 2021
9f3fb7e
chore: release 2.4.1 (#102)
release-please[bot] May 24, 2021
3d25831
chore(deps): update dependency sinon to v11 (#109)
renovate-bot May 25, 2021
ff781a4
fix: GoogleAdsError missing using generator version after 1.3.0 (#110)
gcf-owl-bot[bot] May 25, 2021
546b327
chore: release 2.4.2 (#111)
release-please[bot] May 25, 2021
c987e78
fix: make request optional in all cases (#117)
gcf-owl-bot[bot] Jun 25, 2021
70b3566
fix(deps): google-gax v2.17.0 with mTLS (#121)
bcoe Jun 29, 2021
b969191
chore: release 2.4.3 (#119)
release-please[bot] Jun 29, 2021
d0330ec
feat: add `minute_ranges` field to `RunRealtimeReportRequest` object …
gcf-owl-bot[bot] Jul 10, 2021
7ea6599
fix(deps): google-gax v2.17.1 (#125)
bcoe Jul 12, 2021
6152405
chore: release 2.5.0 (#124)
release-please[bot] Jul 12, 2021
0f86e68
fix: Updating WORKSPACE files to use the newest version of the Typesc…
gcf-owl-bot[bot] Jul 16, 2021
11b6766
chore: release 2.5.1 (#127)
release-please[bot] Jul 16, 2021
758977a
fix(build): migrate to using main branch (#134)
sofisl Aug 9, 2021
ff6d8f5
chore: release 2.5.2 (#135)
release-please[bot] Aug 9, 2021
7dbafd9
fix(deps): google-gax v2.24.1 (#136)
bcoe Aug 17, 2021
b82a12c
chore: release 2.5.3 (#137)
release-please[bot] Aug 17, 2021
ba6a31b
feat: turns on self-signed JWT feature flag (#138)
gcf-owl-bot[bot] Aug 23, 2021
39b4340
chore: release 2.6.0 (#139)
release-please[bot] Aug 23, 2021
38bc7b5
feat: add `CheckCompatibility` method to the API (#141)
gcf-owl-bot[bot] Sep 1, 2021
0d56c69
chore: release 2.7.0 (#142)
release-please[bot] Sep 1, 2021
ee3d9e6
chore: relocate owl bot post processor (#144)
SurferJeffAtGoogle Sep 21, 2021
1d982e2
docs(samples): add auto-generated samples for Node with api short nam…
gcf-owl-bot[bot] Sep 28, 2021
8fb86c4
build(node): update deps used during postprocessing (#1243) (#151)
gcf-owl-bot[bot] Oct 14, 2021
c54ea4d
chore(cloud-rad): delete api-extractor config (#152)
fhinkel Oct 21, 2021
d66ce60
chore(deps): update dependency @types/node to v16 (#153)
renovate-bot Oct 26, 2021
c4be475
chore(deps): update dependency sinon to v12 (#155)
renovate-bot Nov 4, 2021
0325f80
feat: add the `schema_restriction_response` field to the `ResponseMet…
gcf-owl-bot[bot] Nov 8, 2021
ebfc794
chore: release 2.8.0 (#156)
release-please[bot] Nov 8, 2021
bb4776a
docs(samples): add example tags to generated samples (#157)
gcf-owl-bot[bot] Nov 10, 2021
12886eb
docs: fix docstring formatting (#158)
gcf-owl-bot[bot] Nov 10, 2021
462ac20
build: add generated samples to .eslintignore (#159)
gcf-owl-bot[bot] Dec 9, 2021
ec803f9
docs(node): support "stable"/"preview" release level (#1312) (#162)
gcf-owl-bot[bot] Dec 29, 2021
3408993
chore: add api_shortname and library_type to repo metadata (#161)
parthea Dec 30, 2021
7b02016
docs(badges): tweak badge to use new preview/stable language (#1314) …
gcf-owl-bot[bot] Dec 30, 2021
3f8a2e8
test(nodejs): remove 15 add 16 (#1322) (#166)
gcf-owl-bot[bot] Jan 11, 2022
2f81302
chore(deps): update dependency gts to v3 (#167)
renovate-bot Jan 11, 2022
1b0f8e6
build: update copyright year to 2022 (#170)
gcf-owl-bot[bot] Jan 20, 2022
fee382f
chore: update v2.12.0 gapic-generator-typescript (#172)
gcf-owl-bot[bot] Jan 26, 2022
b135209
chore(deps): update dependency sinon to v13 (#174)
renovate-bot Jan 31, 2022
5ba6ff5
docs(nodejs): version support policy edits (#1346) (#176)
gcf-owl-bot[bot] Feb 3, 2022
bb1a0a5
docs(samples): include metadata file, add exclusions for samples to h…
gcf-owl-bot[bot] Feb 18, 2022
915a336
chore: update v2.14.2 gapic-generator-typescript (#182)
gcf-owl-bot[bot] Mar 17, 2022
8613dba
build(node): update client library version in samples metadata (#1356…
gcf-owl-bot[bot] Apr 20, 2022
7e15f4d
chore(deps): update dependency @types/mocha to v9 (#194)
renovate-bot May 3, 2022
1eabe59
docs: update naming and linting (#205)
gcf-owl-bot[bot] May 4, 2022
099aac8
chore(deps): update dependency sinon to v14 (#209)
renovate-bot May 9, 2022
c85c683
feat: add `runFunnelReport` method to the Alpha version of the Data A…
gcf-owl-bot[bot] May 10, 2022
74c5da5
chore: update repo metadata with codeowners (#206)
anweshan May 17, 2022
e21be96
docs(sample): add runReport sample (#192)
anweshan May 17, 2022
9b99cda
docs(samples): add runReport samples for cohorts and aggregations (#196)
anweshan May 17, 2022
1a6f8cb
docs(samples): add runReport samples with date ranges (#197)
anweshan May 18, 2022
f6bc4d7
docs(samples): add runReport samples for dimension inlist and exclude…
anweshan May 19, 2022
321f4f0
build!: update library to use Node 12 (#213)
sofisl May 20, 2022
229c93f
chore(deps): update dependency jsdoc-region-tag to v2 (#217)
renovate-bot Jun 10, 2022
a4ba525
chore(deps): update dependency jsdoc-fresh to v2 (#216)
renovate-bot Jun 10, 2022
5f9bc6c
fix!: rename the type `FunnelFilter` to `FunnelFieldFilter` (#218)
gcf-owl-bot[bot] Jun 20, 2022
b50c3e1
docs(samples): add realtime report samples (#203)
anweshan Jun 23, 2022
bc9246d
feat: support regapic LRO (#219)
gcf-owl-bot[bot] Jun 27, 2022
e5186ea
chore(main): release 3.0.0 (#210)
release-please[bot] Jun 27, 2022
82212bc
chore(deps): update dependency linkinator to v4 (#223)
renovate-bot Jul 8, 2022
c1bff0a
docs(samples): add samples for multiple dimensions&metrics for runRep…
anweshan Jul 27, 2022
a515cfb
docs(samples): add metadata samples (#201)
anweshan Jul 27, 2022
587884a
docs(samples): add batch and pivot report samples (#202)
anweshan Jul 27, 2022
674d4ff
docs(samples): add runReport samples for ordering, pagination, proper…
anweshan Aug 2, 2022
6d1100b
docs(samples): add runReport samples for dimension filters (#198)
anweshan Aug 17, 2022
ab5e1bc
fix: better support for fallback mode (#226)
gcf-owl-bot[bot] Aug 23, 2022
f5d18cd
fix: change import long to require (#227)
gcf-owl-bot[bot] Aug 23, 2022
dd0a58c
chore(main): release 3.0.1 (#228)
release-please[bot] Aug 23, 2022
4841150
fix: do not import the whole google-gax from proto JS (#1553) (#231)
gcf-owl-bot[bot] Aug 27, 2022
4902bc9
fix: allow passing gax instance to client constructor (#232)
gcf-owl-bot[bot] Sep 1, 2022
d7922ad
chore(main): release 3.0.2 (#233)
release-please[bot] Sep 7, 2022
d8aae19
fix: preserve default values in x-goog-request-params header (#237)
gcf-owl-bot[bot] Sep 14, 2022
d11a664
test: use fully qualified request type name in tests (#263)
gcf-owl-bot[bot] Sep 22, 2022
8bac2e2
chore(main): release 3.0.3 (#238)
release-please[bot] Sep 22, 2022
af1ace7
feat: add `subject_to_thresholding` field to `ResponseMetadata` type …
gcf-owl-bot[bot] Oct 13, 2022
6148f15
chore(main): release 3.1.0 (#266)
release-please[bot] Oct 17, 2022
73a988c
fix(deps): use google-gax v3.5.2 (#270)
alexander-fenster Nov 4, 2022
33fe390
chore(deps): update dependency jsdoc to v4 (#273)
renovate-bot Nov 10, 2022
cee62cc
chore(deps): update dependency @types/node to v18 (#268)
renovate-bot Nov 10, 2022
4039c33
fix: regenerated protos JS and TS definitions (#274)
gcf-owl-bot[bot] Nov 10, 2022
db367a4
chore(main): release 3.1.1 (#272)
release-please[bot] Nov 11, 2022
7eaea8e
Update .repo-metadata.json
sofisl Nov 11, 2022
9a9b328
Merge remote-tracking branch 'migration/main' into nodejs-analytics-d…
sofisl Nov 11, 2022
a4709d6
build: add release-please config, fix owlbot-config
sofisl Nov 11, 2022
55859ce
🦉 Updates from OwlBot post-processor
gcf-owl-bot[bot] Nov 11, 2022
154ab14
Update quickstart.test.js
sofisl Nov 18, 2022
31bc7df
Merge branch 'main' into nodejs-analytics-data-migration
sofisl Nov 18, 2022
a8491b8
Merge branch 'main' into nodejs-analytics-data-migration
sofisl Nov 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"packages/gapic-node-templating": "0.0.0",
"packages/google-analytics-data": "3.1.1",
"packages/google-api-apikeys": "0.1.3",
"packages/google-api-servicecontrol": "2.0.3",
"packages/google-api-servicemanagement": "1.1.3",
Expand Down
21 changes: 21 additions & 0 deletions packages/google-analytics-data/.OwlBot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

deep-remove-regex:
- /owl-bot-staging

deep-copy-regex:
- source: /google/analytics/data/(.*)/.*-nodejs
dest: /owl-bot-staging/google-analytics-data/$1

7 changes: 7 additions & 0 deletions packages/google-analytics-data/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
samples/generated/
3 changes: 3 additions & 0 deletions packages/google-analytics-data/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": "./node_modules/gts"
}
4 changes: 4 additions & 0 deletions packages/google-analytics-data/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.ts text eol=lf
*.js text eol=lf
protos/* linguist-generated
**/api-extractor.json linguist-language=JSON-with-Comments
14 changes: 14 additions & 0 deletions packages/google-analytics-data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
**/*.log
**/node_modules
.coverage
coverage
.nyc_output
docs/
out/
build/
system-test/secrets.js
system-test/*key.json
*.lock
.DS_Store
package-lock.json
__pycache__
55 changes: 55 additions & 0 deletions packages/google-analytics-data/.jsdoc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// 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.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// ** This file is automatically generated by gapic-generator-typescript. **
// ** https://github.com/googleapis/gapic-generator-typescript **
// ** All changes to this file may be overwritten. **

'use strict';

module.exports = {
opts: {
readme: './README.md',
package: './package.json',
template: './node_modules/jsdoc-fresh',
recurse: true,
verbose: true,
destination: './docs/'
},
plugins: [
'plugins/markdown',
'jsdoc-region-tag'
],
source: {
excludePattern: '(^|\\/|\\\\)[._]',
include: [
'build/src',
'protos'
],
includePattern: '\\.js$'
},
templates: {
copyright: 'Copyright 2022 Google LLC',
includeDate: false,
sourceFiles: false,
systemName: '@google-analytics/data',
theme: 'lumen',
default: {
outputSourceFiles: false
}
},
markdown: {
idInHeadings: true
}
};
29 changes: 29 additions & 0 deletions packages/google-analytics-data/.mocharc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
// 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.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const config = {
"enable-source-maps": true,
"throw-deprecation": true,
"timeout": 10000,
"recursive": true
}
if (process.env.MOCHA_THROW_DEPRECATION === 'false') {
delete config['throw-deprecation'];
}
if (process.env.MOCHA_REPORTER) {
config.reporter = process.env.MOCHA_REPORTER;
}
if (process.env.MOCHA_REPORTER_OUTPUT) {
config['reporter-option'] = `output=${process.env.MOCHA_REPORTER_OUTPUT}`;
}
module.exports = config
24 changes: 24 additions & 0 deletions packages/google-analytics-data/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"report-dir": "./.coverage",
"reporter": ["text", "lcov"],
"exclude": [
"**/*-test",
"**/.coverage",
"**/apis",
"**/benchmark",
"**/conformance",
"**/docs",
"**/samples",
"**/scripts",
"**/protos",
"**/test",
"**/*.d.ts",
".jsdoc.js",
"**/.jsdoc.js",
"karma.conf.js",
"webpack-tests.config.js",
"webpack.config.js"
],
"exclude-after-remap": false,
"all": true
}
6 changes: 6 additions & 0 deletions packages/google-analytics-data/.prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/node_modules
**/coverage
test/fixtures
build/
docs/
protos/
17 changes: 17 additions & 0 deletions packages/google-analytics-data/.prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// 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.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

module.exports = {
...require('gts/.prettierrc.json')
}
17 changes: 17 additions & 0 deletions packages/google-analytics-data/.repo-metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"client_documentation": "https://googleapis.dev/nodejs/analytics-data/latest/index.html",
"api_id": "analyticsdata.googleapis.com",
"distribution_name": "@google-analytics/data",
"release_level": "preview",
"default_version": "v1beta",
"language": "nodejs",
"name_pretty": "Google Analytics Data",
"repo": "googleapis/google-cloud-node",
"codeowner_team": "@googleapis/ga-devrel",
"product_documentation": "https://developers.google.com/analytics/trusted-testing/analytics-data",
"requires_billing": false,
"name": "analytics-data",
"issue_tracker": "https://issuetracker.google.com/issues/new?component=326380x",
"api_shortname": "analyticsdata",
"library_type": "GAPIC_AUTO"
}
Loading