google-analytics-data 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 33f4fe322fa826c299a5feb2b581d023d939af43d35bd8746adb813a88a85d81
4
- data.tar.gz: 1f54810460d5b26225d374893de5142f299c2183214a140d9bcbf7a9050fbfca
3
+ metadata.gz: 0df3dc0abf903df865edac6d55b28c173ad18628d33fa12f734db30786b1facc
4
+ data.tar.gz: 5612f7e2dc5fb37c65432e4e50e0416989faf0b394012708ebdd838e6d0a8536
5
5
  SHA512:
6
- metadata.gz: 6035bb38efd80e492452cf186abf06133171d0a48021c92f6a128b96c7d9247a4ea27499933c1b91193e5f471641d76b12da3ac54864720d2bba925cd292c891
7
- data.tar.gz: 119a6dbd8e963e55115dca8cf4a5c03ef7cbb1b86d9e6d573acc123228d802a574aebe63f7544a8f913076a79df40733bb59be258b3bfd4f0eeb8f2628ee8a32
6
+ metadata.gz: 307277af46092e8b101f4bb9d4113f92bf4099ecfe8d99636b454d3fed076f528df1e0088681a96b4ea7080e6f020a76b48376286eb09782756cb38c1b5aa232
7
+ data.tar.gz: 74678c9c03a482d3adb3c5a28fccdd1767f13282f14466fa84ab9d033f52ca22a1314d8c6b314e0943dd0256629a5e566a6c15deca604cfe8b021d2e37e1c599
data/.yardopts CHANGED
@@ -1,5 +1,5 @@
1
1
  --no-private
2
- --title=Google Analytics Data API
2
+ --title="Google Analytics Data API"
3
3
  --exclude _pb\.rb$
4
4
  --markup markdown
5
5
  --markup-provider redcarpet
data/AUTHENTICATION.md CHANGED
@@ -120,15 +120,6 @@ To configure your system for this, simply:
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
121
121
  *should* only be used during development.
122
122
 
123
- [gce-how-to]: https://cloud.google.com/compute/docs/authentication#using
124
- [dev-console]: https://console.cloud.google.com/project
125
-
126
- [enable-apis]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/enable-apis.png
127
-
128
- [create-new-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account.png
129
- [create-new-service-account-existing-keys]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/create-new-service-account-existing-keys.png
130
- [reuse-service-account]: https://raw.githubusercontent.com/GoogleCloudPlatform/gcloud-common/master/authentication/reuse-service-account.png
131
-
132
123
  ## Creating a Service Account
133
124
 
134
125
  Google Cloud requires **Service Account Credentials** to
@@ -139,31 +130,22 @@ If you are not running this client within
139
130
  [Google Cloud Platform environments](#google-cloud-platform-environments), you
140
131
  need a Google Developers service account.
141
132
 
142
- 1. Visit the [Google Developers Console][dev-console].
133
+ 1. Visit the [Google Cloud Console](https://console.cloud.google.com/project).
143
134
  2. Create a new project or click on an existing project.
144
- 3. Activate the slide-out navigation tray and select **API Manager**. From
135
+ 3. Activate the menu in the upper left and select **APIs & Services**. From
145
136
  here, you will enable the APIs that your application requires.
146
137
 
147
- ![Enable the APIs that your application requires][enable-apis]
148
-
149
138
  *Note: You may need to enable billing in order to use these services.*
150
139
 
151
140
  4. Select **Credentials** from the side navigation.
152
141
 
153
- You should see a screen like one of the following.
154
-
155
- ![Create a new service account][create-new-service-account]
156
-
157
- ![Create a new service account With Existing Keys][create-new-service-account-existing-keys]
158
-
159
- Find the "Add credentials" drop down and select "Service account" to be
160
- guided through downloading a new JSON key file.
142
+ Find the "Create credentials" drop down near the top of the page, and select
143
+ "Service account" to be guided through downloading a new JSON key file.
161
144
 
162
145
  If you want to re-use an existing service account, you can easily generate a
163
- new key file. Just select the account you wish to re-use, and click "Generate
164
- new JSON key":
165
-
166
- ![Re-use an existing service account][reuse-service-account]
146
+ new key file. Just select the account you wish to re-use, click the pencil
147
+ tool on the right side to edit the service account, select the **Keys** tab,
148
+ and then select **Add Key**.
167
149
 
168
150
  The key file you download will be used by this library to authenticate API
169
151
  requests and should be stored in a secure location.
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  API Client library for the Google Analytics Data API
4
4
 
5
- The Google Analytics Data API provides programmatic methods to access report data in Google Analytics 4 (GA4) properties. Google Analytics 4 helps you understand how people use your web, iOS, or Android app. Note that google-analytics-data-v1beta is a version-specific client library. For most uses, we recommend installing the main client library google-analytics-data instead. See the readme for more details.
5
+ The Google Analytics Data API provides programmatic methods to access report data in Google Analytics 4 (GA4) properties. Google Analytics 4 helps you understand how people use your web, iOS, or Android app.
6
6
 
7
7
  Actual client classes for the various versions of this API are defined in
8
8
  _versioned_ client gems, with names of the form `google-analytics-data-v*`.
@@ -11,12 +11,11 @@ verisoned gems in as dependencies, and provides high-level methods for
11
11
  constructing clients. More information on versioned clients can be found below
12
12
  in the section titled *Which client should I use?*.
13
13
 
14
- View the [Client Library Documentation](https://googleapis.dev/ruby/google-analytics-data/latest)
14
+ View the [Client Library Documentation](https://cloud.google.com/ruby/docs/reference/google-analytics-data/latest)
15
15
  for this library, google-analytics-data, to see the convenience methods for
16
16
  constructing client objects. Reference documentation for the client objects
17
17
  themselves can be found in the client library documentation for the versioned
18
18
  client gems:
19
- [google-analytics-data-v1alpha](https://googleapis.dev/ruby/google-analytics-data-v1alpha/latest),
20
19
  [google-analytics-data-v1beta](https://googleapis.dev/ruby/google-analytics-data-v1beta/latest).
21
20
 
22
21
  See also the [Product Documentation](https://developers.google.com/analytics/devguides/reporting/data/v1)
@@ -77,7 +76,7 @@ about the Ruby support schedule.
77
76
  Most modern Ruby client libraries for Google APIs come in two flavors: the main
78
77
  client library with a name such as `google-analytics-data`,
79
78
  and lower-level _versioned_ client libraries with names such as
80
- `google-analytics-data-v1alpha`.
79
+ `google-analytics-data-v1beta`.
81
80
  _In most cases, you should install the main client._
82
81
 
83
82
  ### What's the difference between the main client and a versioned client?
@@ -115,7 +114,7 @@ You can use a versioned client if you are content with a possibly lower-level
115
114
  class interface, you explicitly want to avoid features provided by the main
116
115
  client, or you want to access a specific service version not be covered by the
117
116
  main client. You can identify versioned client gems because the service version
118
- is part of the name, e.g. `google-analytics-data-v1alpha`.
117
+ is part of the name, e.g. `google-analytics-data-v1beta`.
119
118
 
120
119
  ### What about the google-apis-<name> clients?
121
120
 
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Analytics
22
22
  module Data
23
- VERSION = "0.1.2"
23
+ VERSION = "0.2.0"
24
24
  end
25
25
  end
26
26
  end
metadata CHANGED
@@ -1,35 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-analytics-data
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-12 00:00:00.000000000 Z
11
+ date: 2022-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: google-analytics-data-v1alpha
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: 2.a
23
- type: :runtime
24
- prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- version: '0.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: 2.a
33
13
  - !ruby/object:Gem::Dependency
34
14
  name: google-analytics-data-v1beta
35
15
  requirement: !ruby/object:Gem::Requirement
@@ -178,9 +158,7 @@ dependencies:
178
158
  version: '0.9'
179
159
  description: The Google Analytics Data API provides programmatic methods to access
180
160
  report data in Google Analytics 4 (GA4) properties. Google Analytics 4 helps you
181
- understand how people use your web, iOS, or Android app. Note that google-analytics-data-v1beta
182
- is a version-specific client library. For most uses, we recommend installing the
183
- main client library google-analytics-data instead. See the readme for more details.
161
+ understand how people use your web, iOS, or Android app.
184
162
  email: googleapis-packages@google.com
185
163
  executables: []
186
164
  extensions: []
@@ -212,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
190
  - !ruby/object:Gem::Version
213
191
  version: '0'
214
192
  requirements: []
215
- rubygems_version: 3.2.17
193
+ rubygems_version: 3.3.5
216
194
  signing_key:
217
195
  specification_version: 4
218
196
  summary: API Client library for the Google Analytics Data API