google-analytics-data 0.1.3 → 0.3.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: c8a94e45e4bea0a5c13660cbe4ae4259187be0a8651e8a524233414b0d95d3f8
4
- data.tar.gz: ebd2be4a56ac20c4336a62bab20dae462d32ec0c80a297d9114e944b12e80830
3
+ metadata.gz: ea88d7b57f5c1480694ee1bcbb2f366de3fa1b6538b69af462ef4d988a40ce27
4
+ data.tar.gz: c656a4ae0634d46b090ef16546f925885736bee4607df359d1506c3b791da74c
5
5
  SHA512:
6
- metadata.gz: 7ec8c2e8ef3178907ebf4b409d0a540c4b6e1c5d56ce2f1e78426c40047677927872d3804284e344c201e92c73dc9667ed05a8710de25be08ff86612797ba74a
7
- data.tar.gz: 1b28e9f440603b346fade5266b190d9bf94a17e638ab2d50fbddbeeb02e382c58e14186e730fffcd1fc178a5146546d0943c9a7a76046c28cbc4e266c31ea2cb
6
+ metadata.gz: 862bd35a5e77ccc679a19fcdb1484fcfe41b67ed93bbecec9395e22673cf6e22ef41484b3563d312b8920e413c2c03a1fe929d04a9bd733b51b06c5e7c972770
7
+ data.tar.gz: 257d5c7ebe5b5ccf75ab339faa869ce558e05e5ff7b1764e15f3ca214875103c63c49bbc67df1bbb2c08906d30b62dc77d458972a6a702c2235b9d0986592ee3
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
@@ -16,7 +16,6 @@ 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)
@@ -63,21 +62,21 @@ end
63
62
 
64
63
  ## Supported Ruby Versions
65
64
 
66
- This library is supported on Ruby 2.5+.
65
+ This library is supported on Ruby 2.6+.
67
66
 
68
67
  Google provides official support for Ruby versions that are actively supported
69
68
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
70
- in security maintenance, and not end of life. Currently, this means Ruby 2.5
71
- and later. Older versions of Ruby _may_ still work, but are unsupported and not
72
- recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
73
- about the Ruby support schedule.
69
+ in security maintenance, and not end of life. Older versions of Ruby _may_
70
+ still work, but are unsupported and not recommended. See
71
+ https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby
72
+ support schedule.
74
73
 
75
74
  ## Which client should I use?
76
75
 
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.3"
23
+ VERSION = "0.3.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.3
4
+ version: 0.3.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-08-20 00:00:00.000000000 Z
11
+ date: 2022-07-01 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
@@ -70,28 +50,28 @@ dependencies:
70
50
  requirements:
71
51
  - - "~>"
72
52
  - !ruby/object:Gem::Version
73
- version: 1.25.1
53
+ version: 1.26.1
74
54
  type: :development
75
55
  prerelease: false
76
56
  version_requirements: !ruby/object:Gem::Requirement
77
57
  requirements:
78
58
  - - "~>"
79
59
  - !ruby/object:Gem::Version
80
- version: 1.25.1
60
+ version: 1.26.1
81
61
  - !ruby/object:Gem::Dependency
82
62
  name: minitest
83
63
  requirement: !ruby/object:Gem::Requirement
84
64
  requirements:
85
65
  - - "~>"
86
66
  - !ruby/object:Gem::Version
87
- version: '5.14'
67
+ version: '5.16'
88
68
  type: :development
89
69
  prerelease: false
90
70
  version_requirements: !ruby/object:Gem::Requirement
91
71
  requirements:
92
72
  - - "~>"
93
73
  - !ruby/object:Gem::Version
94
- version: '5.14'
74
+ version: '5.16'
95
75
  - !ruby/object:Gem::Dependency
96
76
  name: minitest-focus
97
77
  requirement: !ruby/object:Gem::Requirement
@@ -126,14 +106,14 @@ dependencies:
126
106
  requirements:
127
107
  - - ">="
128
108
  - !ruby/object:Gem::Version
129
- version: '12.0'
109
+ version: '13.0'
130
110
  type: :development
131
111
  prerelease: false
132
112
  version_requirements: !ruby/object:Gem::Requirement
133
113
  requirements:
134
114
  - - ">="
135
115
  - !ruby/object:Gem::Version
136
- version: '12.0'
116
+ version: '13.0'
137
117
  - !ruby/object:Gem::Dependency
138
118
  name: redcarpet
139
119
  requirement: !ruby/object:Gem::Requirement
@@ -203,14 +183,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
203
183
  requirements:
204
184
  - - ">="
205
185
  - !ruby/object:Gem::Version
206
- version: '2.5'
186
+ version: '2.6'
207
187
  required_rubygems_version: !ruby/object:Gem::Requirement
208
188
  requirements:
209
189
  - - ">="
210
190
  - !ruby/object:Gem::Version
211
191
  version: '0'
212
192
  requirements: []
213
- rubygems_version: 3.2.17
193
+ rubygems_version: 3.3.14
214
194
  signing_key:
215
195
  specification_version: 4
216
196
  summary: API Client library for the Google Analytics Data API