google-api-client 0.25.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{CONTRIBUTING.md → .github/CONTRIBUTING.md} +0 -0
- data/.github/ISSUE_TEMPLATE/bug_report.md +36 -0
- data/.github/ISSUE_TEMPLATE/feature_request.md +21 -0
- data/.github/ISSUE_TEMPLATE/support_request.md +7 -0
- data/.kokoro/build.bat +8 -0
- data/.kokoro/build.sh +36 -0
- data/.kokoro/common.cfg +22 -0
- data/.kokoro/continuous/common.cfg +20 -0
- data/.kokoro/continuous/linux.cfg +15 -0
- data/.kokoro/continuous/osx.cfg +3 -0
- data/.kokoro/continuous/windows.cfg +3 -0
- data/.kokoro/osx.sh +35 -0
- data/.kokoro/presubmit/common.cfg +19 -0
- data/.kokoro/presubmit/linux.cfg +14 -0
- data/.kokoro/presubmit/osx.cfg +3 -0
- data/.kokoro/presubmit/windows.cfg +3 -0
- data/.kokoro/trampoline.sh +24 -0
- data/.kokoro/windows.sh +32 -0
- data/CHANGELOG.md +83 -0
- data/Gemfile +2 -2
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +5 -3
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +110 -101
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +13 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +83 -76
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +7 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +2 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +129 -44
- data/generated/google/apis/androidenterprise_v1/representations.rb +48 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +218 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +1 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +8 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +87 -29
- data/generated/google/apis/bigquery_v2/representations.rb +21 -0
- data/generated/google/apis/bigquery_v2/service.rb +7 -9
- data/generated/google/apis/calendar_v3.rb +2 -2
- data/generated/google/apis/calendar_v3/classes.rb +14 -6
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +14 -10
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +2 -3
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -3
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +127 -0
- data/generated/google/apis/cloudiot_v1/representations.rb +70 -0
- data/generated/google/apis/cloudiot_v1/service.rb +172 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/service.rb +107 -0
- data/generated/google/apis/{cloudiot_v1beta1.rb → cloudscheduler_v1beta1.rb} +8 -12
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +882 -0
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +264 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +445 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +79 -1
- data/generated/google/apis/cloudsearch_v1/representations.rb +44 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +88 -3
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +9 -0
- data/generated/google/apis/composer_v1/representations.rb +1 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +938 -117
- data/generated/google/apis/compute_alpha/representations.rb +310 -2
- data/generated/google/apis/compute_alpha/service.rb +1203 -245
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1175 -219
- data/generated/google/apis/compute_beta/representations.rb +375 -2
- data/generated/google/apis/compute_beta/service.rb +907 -139
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1485 -143
- data/generated/google/apis/compute_v1/representations.rb +503 -0
- data/generated/google/apis/compute_v1/service.rb +1375 -85
- data/generated/google/apis/container_v1.rb +3 -3
- data/generated/google/apis/container_v1/classes.rb +99 -6
- data/generated/google/apis/container_v1/representations.rb +39 -0
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +3 -3
- data/generated/google/apis/container_v1beta1/classes.rb +162 -9
- data/generated/google/apis/container_v1beta1/representations.rb +80 -0
- data/generated/google/apis/container_v1beta1/service.rb +3 -3
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +40 -32
- data/generated/google/apis/content_v2/representations.rb +0 -1
- data/generated/google/apis/content_v2/service.rb +3 -3
- data/generated/google/apis/content_v2_1.rb +35 -0
- data/generated/google/apis/content_v2_1/classes.rb +9104 -0
- data/generated/google/apis/content_v2_1/representations.rb +3967 -0
- data/generated/google/apis/content_v2_1/service.rb +3463 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +82 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +33 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +97 -6
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +15 -1
- data/generated/google/apis/dataproc_v1/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +125 -1
- data/generated/google/apis/dataproc_v1beta2/representations.rb +41 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +13 -6
- data/generated/google/apis/dialogflow_v2/service.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +26 -6
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +12 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +261 -12
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -4
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +326 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +149 -0
- data/generated/google/apis/dns_v1beta2/service.rb +246 -0
- data/generated/google/apis/drive_v2.rb +3 -3
- data/generated/google/apis/drive_v3.rb +3 -3
- data/generated/google/apis/driveactivity_v2.rb +37 -0
- data/generated/google/apis/driveactivity_v2/classes.rb +1388 -0
- data/generated/google/apis/driveactivity_v2/representations.rb +799 -0
- data/generated/google/apis/driveactivity_v2/service.rb +89 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +8 -1
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +3 -2
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +43 -17
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +13 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +74 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +2225 -520
- data/generated/google/apis/firestore_v1/representations.rb +800 -33
- data/generated/google/apis/firestore_v1/service.rb +526 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -2
- data/generated/google/apis/fitness_v1/service.rb +7 -3
- data/generated/google/apis/games_management_v1management.rb +1 -4
- data/generated/google/apis/games_v1.rb +1 -4
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +6 -1
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/iap_v1.rb +34 -0
- data/generated/google/apis/iap_v1/classes.rb +308 -0
- data/generated/google/apis/iap_v1/representations.rb +126 -0
- data/generated/google/apis/iap_v1/service.rb +725 -0
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +0 -132
- data/generated/google/apis/iap_v1beta1/representations.rb +0 -32
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +8 -9
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +6 -6
- data/generated/google/apis/jobs_v3/service.rb +8 -8
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +9 -9
- data/generated/google/apis/jobs_v3p1beta1/service.rb +8 -8
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +20 -7
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +0 -365
- data/generated/google/apis/pagespeedonline_v5.rb +32 -0
- data/generated/google/apis/pagespeedonline_v5/classes.rb +724 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +315 -0
- data/generated/google/apis/pagespeedonline_v5/service.rb +116 -0
- data/generated/google/apis/people_v1.rb +3 -3
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +63 -12
- data/generated/google/apis/pubsub_v1/representations.rb +15 -0
- data/generated/google/apis/pubsub_v1/service.rb +26 -18
- data/generated/google/apis/redis_v1.rb +2 -3
- data/generated/google/apis/redis_v1/service.rb +1 -2
- data/generated/google/apis/redis_v1beta1.rb +2 -3
- data/generated/google/apis/redis_v1beta1/service.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +2 -2
- data/generated/google/apis/script_v1.rb +24 -6
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +66 -1
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +89 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +7 -0
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +84 -37
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +15 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +132 -43
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +4 -4
- data/generated/google/apis/slides_v1.rb +4 -4
- data/generated/google/apis/slides_v1/classes.rb +187 -2
- data/generated/google/apis/slides_v1/representations.rb +67 -0
- data/generated/google/apis/slides_v1/service.rb +4 -3
- data/generated/google/apis/sourcerepo_v1.rb +2 -2
- data/generated/google/apis/sourcerepo_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +58 -10
- data/generated/google/apis/speech_v1/representations.rb +29 -1
- data/generated/google/apis/{speech_v1beta1.rb → speech_v1p1beta1.rb} +6 -6
- data/generated/google/apis/speech_v1p1beta1/classes.rb +922 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +294 -0
- data/generated/google/apis/{speech_v1beta1 → speech_v1p1beta1}/service.rb +33 -35
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +64 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +31 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +54 -0
- data/generated/google/apis/storage_v1/representations.rb +31 -0
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -0
- data/generated/google/apis/streetviewpublish_v1/representations.rb +4 -0
- data/generated/google/apis/streetviewpublish_v1/service.rb +29 -3
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +49 -19
- data/generated/google/apis/testing_v1/representations.rb +20 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +77 -70
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +78 -7
- data/generated/google/apis/vault_v1/representations.rb +34 -1
- data/generated/google/apis/vault_v1/service.rb +141 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +33 -0
- data/generated/google/apis/vision_v1/representations.rb +16 -0
- data/generated/google/apis/vision_v1/service.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +16 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +33 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +16 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +1 -1
- data/lib/google/api_client/auth/installed_app.rb +17 -2
- data/lib/google/api_client/client_secrets.rb +1 -1
- data/lib/google/apis/core/download.rb +2 -2
- data/lib/google/apis/errors.rb +9 -0
- data/lib/google/apis/generator/annotator.rb +2 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +46 -17
- data/generated/google/apis/cloudiot_v1beta1/classes.rb +0 -959
- data/generated/google/apis/cloudiot_v1beta1/representations.rb +0 -375
- data/generated/google/apis/cloudiot_v1beta1/service.rb +0 -618
- data/generated/google/apis/dfareporting_v3_0.rb +0 -40
- data/generated/google/apis/dfareporting_v3_0/classes.rb +0 -12119
- data/generated/google/apis/dfareporting_v3_0/representations.rb +0 -4336
- data/generated/google/apis/dfareporting_v3_0/service.rb +0 -8701
- data/generated/google/apis/speech_v1beta1/classes.rb +0 -480
- data/generated/google/apis/speech_v1beta1/representations.rb +0 -194
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55b990afed5c90c188297048064c1057ac82ed47
|
4
|
+
data.tar.gz: 1bd06f2ed8c22616f98efc8e15980de9029d223d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d4be3ab9a669e7040707dcd22d0cdfca60201adc4e6a37bd3b9b72ca7727edba35387c0bdc63768d001360a5aa20444f351701186cc648471dae11c73b6c380
|
7
|
+
data.tar.gz: 498d4bf6425eeabc07632edb6ba72f82dd7b60585322c5237c5ffd7b1c9fe44dd61a70e0086357ab67264003d9416dc58dd01808f70c199d3e1a70e400f7f67a
|
File without changes
|
@@ -0,0 +1,36 @@
|
|
1
|
+
---
|
2
|
+
name: Bug report
|
3
|
+
about: Create a report to help us improve
|
4
|
+
|
5
|
+
---
|
6
|
+
|
7
|
+
Thanks for stopping by to let us know something could be better!
|
8
|
+
|
9
|
+
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
|
10
|
+
|
11
|
+
Please run down the following list and make sure you've tried the usual "quick fixes":
|
12
|
+
|
13
|
+
- Search the issues already opened: https://github.com/googleapis/google-api-ruby-client/issues
|
14
|
+
- Search Stack Overflow: https://stackoverflow.com/questions/tagged/google-api-client+ruby
|
15
|
+
|
16
|
+
If you are still having issues, please be sure to include as much information as possible:
|
17
|
+
|
18
|
+
#### Environment details
|
19
|
+
|
20
|
+
- OS:
|
21
|
+
- Ruby version:
|
22
|
+
- Gem name and version:
|
23
|
+
|
24
|
+
#### Steps to reproduce
|
25
|
+
|
26
|
+
1. ...
|
27
|
+
|
28
|
+
#### Code example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
# example
|
32
|
+
```
|
33
|
+
|
34
|
+
Making sure to follow these steps will guarantee the quickest resolution possible.
|
35
|
+
|
36
|
+
Thanks!
|
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
name: Feature request
|
3
|
+
about: Suggest an idea for this library
|
4
|
+
|
5
|
+
---
|
6
|
+
|
7
|
+
Thanks for stopping by to let us know something could be better!
|
8
|
+
|
9
|
+
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
|
10
|
+
|
11
|
+
**Is your feature request related to a problem? Please describe.**
|
12
|
+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
|
13
|
+
|
14
|
+
**Describe the solution you'd like**
|
15
|
+
A clear and concise description of what you want to happen.
|
16
|
+
|
17
|
+
**Describe alternatives you've considered**
|
18
|
+
A clear and concise description of any alternative solutions or features you've considered.
|
19
|
+
|
20
|
+
**Additional context**
|
21
|
+
Add any other context or screenshots about the feature request here.
|
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
name: Support request
|
3
|
+
about: If you have a support contract with Google, please create an issue in the Google Cloud Support console.
|
4
|
+
|
5
|
+
---
|
6
|
+
|
7
|
+
**PLEASE READ**: If you have a support contract with Google, please create an issue in the [support console](https://cloud.google.com/support/) instead of filing on GitHub. This will ensure a timely response.
|
data/.kokoro/build.bat
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
REM This file runs tests for merges, PRs, and nightlies.
|
2
|
+
REM There are a few rules for what tests are run:
|
3
|
+
REM * PRs run all non-acceptance tests for every library.
|
4
|
+
REM * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
|
5
|
+
REM * Nightlies run all acceptance tests for every library.
|
6
|
+
REM Currently only runs tests on 2.5.1
|
7
|
+
|
8
|
+
"C:\Program Files\Git\bin\bash.exe" github/google-api-ruby-client/.kokoro/windows.sh
|
data/.kokoro/build.sh
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# This file runs tests for merges, PRs, and nightlies.
|
4
|
+
# There are a few rules for what tests are run:
|
5
|
+
# * PRs run all non-acceptance tests for every library.
|
6
|
+
# * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
|
7
|
+
# * Nightlies run all acceptance tests for every library.
|
8
|
+
|
9
|
+
set -eo pipefail
|
10
|
+
|
11
|
+
# Debug: show build environment
|
12
|
+
env | grep KOKORO
|
13
|
+
|
14
|
+
cd github/google-api-ruby-client/
|
15
|
+
|
16
|
+
# Print out Ruby version
|
17
|
+
ruby --version
|
18
|
+
|
19
|
+
# Temporary workaround for a known bundler+docker issue:
|
20
|
+
# https://github.com/bundler/bundler/issues/6154
|
21
|
+
export BUNDLE_GEMFILE=
|
22
|
+
|
23
|
+
RUBY_VERSIONS=("2.3.8" "2.4.5" "2.5.3")
|
24
|
+
|
25
|
+
# Capture failures
|
26
|
+
EXIT_STATUS=0 # everything passed
|
27
|
+
function set_failed_status {
|
28
|
+
EXIT_STATUS=1
|
29
|
+
}
|
30
|
+
|
31
|
+
for version in "${RUBY_VERSIONS[@]}"; do
|
32
|
+
rbenv global "$version"
|
33
|
+
(bundle update && bundle exec rake) || set_failed_status
|
34
|
+
done
|
35
|
+
|
36
|
+
exit $EXIT_STATUS
|
data/.kokoro/common.cfg
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# Format: //devtools/kokoro/config/proto/build.proto
|
2
|
+
|
3
|
+
# Download trampoline resources. These will be in ${KOKORO_GFILE_DIR}
|
4
|
+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
|
5
|
+
|
6
|
+
# All builds use the trampoline script to run in docker.
|
7
|
+
build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
|
8
|
+
|
9
|
+
# Download secrets from Cloud Storage.
|
10
|
+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-api-ruby-client"
|
11
|
+
|
12
|
+
# Tell the trampoline which build file to use.
|
13
|
+
env_vars: {
|
14
|
+
key: "TRAMPOLINE_BUILD_FILE"
|
15
|
+
value: "github/google-api-ruby-client/.kokoro/build.sh"
|
16
|
+
}
|
17
|
+
|
18
|
+
action {
|
19
|
+
define_artifacts {
|
20
|
+
regex: "**/*sponge_log.xml"
|
21
|
+
}
|
22
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
|
2
|
+
# Format: //devtools/kokoro/config/proto/build.proto
|
3
|
+
|
4
|
+
# Build logs will be here
|
5
|
+
action {
|
6
|
+
define_artifacts {
|
7
|
+
regex: "**/*sponge_log.xml"
|
8
|
+
}
|
9
|
+
}
|
10
|
+
|
11
|
+
# Download trampoline resources.
|
12
|
+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
|
13
|
+
|
14
|
+
# Download resources for system tests (service account key, etc.)
|
15
|
+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby"
|
16
|
+
|
17
|
+
env_vars: {
|
18
|
+
key: "JOB_TYPE"
|
19
|
+
value: "continuous"
|
20
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Format: //devtools/kokoro/config/proto/build.proto
|
2
|
+
|
3
|
+
build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
|
4
|
+
|
5
|
+
# Configure the docker image for kokoro-trampoline.
|
6
|
+
# Dockerfile is maintained at https://github.com/googleapis/google-cloud-ruby/tree/master/.kokoro/docker/ruby-multi
|
7
|
+
env_vars: {
|
8
|
+
key: "TRAMPOLINE_IMAGE"
|
9
|
+
value: "gcr.io/cloud-devrel-kokoro-resources/google-cloud-ruby/ruby-multi-ubuntu"
|
10
|
+
}
|
11
|
+
|
12
|
+
env_vars: {
|
13
|
+
key: "TRAMPOLINE_BUILD_FILE"
|
14
|
+
value: "github/google-api-ruby-client/.kokoro/build.sh"
|
15
|
+
}
|
data/.kokoro/osx.sh
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# This file runs tests for merges, PRs, and nightlies.
|
4
|
+
# There are a few rules for what tests are run:
|
5
|
+
# * PRs run all non-acceptance tests for every library.
|
6
|
+
# * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
|
7
|
+
# * Nightlies run all acceptance tests for every library.
|
8
|
+
# * Currently only runs tests on 2.5.0
|
9
|
+
|
10
|
+
set -eo pipefail
|
11
|
+
|
12
|
+
# Debug: show build environment
|
13
|
+
env | grep KOKORO
|
14
|
+
|
15
|
+
cd github/google-api-ruby-client/
|
16
|
+
|
17
|
+
# Print out Ruby version
|
18
|
+
ruby --version
|
19
|
+
|
20
|
+
# Temporary workaround for a known bundler+docker issue:
|
21
|
+
# https://github.com/bundler/bundler/issues/6154
|
22
|
+
export BUNDLE_GEMFILE=
|
23
|
+
|
24
|
+
# Capture failures
|
25
|
+
EXIT_STATUS=0 # everything passed
|
26
|
+
function set_failed_status {
|
27
|
+
EXIT_STATUS=1
|
28
|
+
}
|
29
|
+
|
30
|
+
gem install bundle
|
31
|
+
|
32
|
+
|
33
|
+
(bundle update && bundle exec rake) || set_failed_status
|
34
|
+
|
35
|
+
exit $EXIT_STATUS
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Format: //devtools/kokoro/config/proto/build.proto
|
2
|
+
|
3
|
+
# Build logs will be here
|
4
|
+
action {
|
5
|
+
define_artifacts {
|
6
|
+
regex: "**/*sponge_log.xml"
|
7
|
+
}
|
8
|
+
}
|
9
|
+
|
10
|
+
# Download trampoline resources.
|
11
|
+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
|
12
|
+
|
13
|
+
# Download resources for system tests (service account key, etc.)
|
14
|
+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby"
|
15
|
+
|
16
|
+
env_vars: {
|
17
|
+
key: "JOB_TYPE"
|
18
|
+
value: "presubmit"
|
19
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Format: //devtools/kokoro/config/proto/build.proto
|
2
|
+
|
3
|
+
build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
|
4
|
+
|
5
|
+
# Configure the docker image for kokoro-trampoline.
|
6
|
+
env_vars: {
|
7
|
+
key: "TRAMPOLINE_IMAGE"
|
8
|
+
value: "gcr.io/cloud-devrel-kokoro-resources/google-cloud-ruby/ruby-multi-ubuntu"
|
9
|
+
}
|
10
|
+
|
11
|
+
env_vars: {
|
12
|
+
key: "TRAMPOLINE_BUILD_FILE"
|
13
|
+
value: "github/google-api-ruby-client/.kokoro/build.sh"
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
# Copyright 2017 Google Inc.
|
3
|
+
#
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
# you may not use this file except in compliance with the License.
|
6
|
+
# You may obtain a copy of the License at
|
7
|
+
#
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
#
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
# See the License for the specific language governing permissions and
|
14
|
+
# limitations under the License.
|
15
|
+
set -eo pipefail
|
16
|
+
# Always run the cleanup script, regardless of the success of bouncing into
|
17
|
+
# the container.
|
18
|
+
function cleanup() {
|
19
|
+
chmod +x ${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
|
20
|
+
${KOKORO_GFILE_DIR}/trampoline_cleanup.sh
|
21
|
+
echo "cleanup";
|
22
|
+
}
|
23
|
+
trap cleanup EXIT
|
24
|
+
python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py"
|
data/.kokoro/windows.sh
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
# This file runs tests for merges, PRs, and nightlies.
|
4
|
+
# There are a few rules for what tests are run:
|
5
|
+
# * PRs run all non-acceptance tests for every library.
|
6
|
+
# * Merges run all non-acceptance tests for every library, and acceptance tests for all altered libraries.
|
7
|
+
# * Nightlies run all acceptance tests for every library.
|
8
|
+
# * Currently only runs tests on 2.5.1
|
9
|
+
|
10
|
+
set -eo pipefail
|
11
|
+
|
12
|
+
# Debug: show build environment
|
13
|
+
env | grep KOKORO
|
14
|
+
|
15
|
+
cd github/google-api-ruby-client/
|
16
|
+
|
17
|
+
# Print out Ruby version
|
18
|
+
ruby --version
|
19
|
+
|
20
|
+
# Temporary workaround for a known bundler+docker issue:
|
21
|
+
# https://github.com/bundler/bundler/issues/6154
|
22
|
+
export BUNDLE_GEMFILE=
|
23
|
+
|
24
|
+
# Capture failures
|
25
|
+
EXIT_STATUS=0 # everything passed
|
26
|
+
function set_failed_status {
|
27
|
+
EXIT_STATUS=1
|
28
|
+
}
|
29
|
+
|
30
|
+
(bundle update && bundle exec rake) || set_failed_status
|
31
|
+
|
32
|
+
exit $EXIT_STATUS
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,86 @@
|
|
1
|
+
# 0.26.0
|
2
|
+
* Breaking changes:
|
3
|
+
* Deleted `dfareporting_v3_0`
|
4
|
+
* Backwards compatible changes:
|
5
|
+
* Added `content_v2_1`
|
6
|
+
* Added `driveactivity_v2`
|
7
|
+
* Added `iap_v1`
|
8
|
+
* Added `pagespeedonline_v5`
|
9
|
+
* Updated `adexchangebuyer2_v2beta1`
|
10
|
+
* Updated `alertcenter_v1beta1`
|
11
|
+
* Updated `androiddeviceprovisioning_v1`
|
12
|
+
* Updated `androidenterprise_v1`
|
13
|
+
* Updated `androidmanagement_v1`
|
14
|
+
* Updated `androidpublisher_v3`
|
15
|
+
* Updated `appengine_v1`
|
16
|
+
* Updated `appengine_v1beta`
|
17
|
+
* Updated `bigquery_v2`
|
18
|
+
* Updated `calendar_v3`
|
19
|
+
* Updated `classroom_v1`
|
20
|
+
* Updated `cloudasset_v1beta1`
|
21
|
+
* Updated `clouddebugger_v2`
|
22
|
+
* Updated `cloudfunctions_v1`
|
23
|
+
* Updated `cloudfunctions_v1beta2`
|
24
|
+
* Updated `cloudiot_v1`
|
25
|
+
* Updated `cloudkms_v1`
|
26
|
+
* Updated `cloudsearch_v1`
|
27
|
+
* Updated `composer_v1`
|
28
|
+
* Updated `compute_alpha`
|
29
|
+
* Updated `compute_beta`
|
30
|
+
* Updated `compute_v1`
|
31
|
+
* Updated `container_v1`
|
32
|
+
* Updated `container_v1beta1`
|
33
|
+
* Updated `content_v2`
|
34
|
+
* Updated `dataflow_v1b3`
|
35
|
+
* Updated `dataproc_v1`
|
36
|
+
* Updated `dataproc_v1beta2`
|
37
|
+
* Updated `dialogflow_v2`
|
38
|
+
* Updated `dialogflow_v2beta1`
|
39
|
+
* Updated `dlp_v2`
|
40
|
+
* Updated `dns_v1beta2`
|
41
|
+
* Updated `drive_v2`
|
42
|
+
* Updated `drive_v3`
|
43
|
+
* Updated `firebasedynamiclinks_v1`
|
44
|
+
* Updated `firebasehosting_v1beta1`
|
45
|
+
* Updated `firestore_v1`
|
46
|
+
* Updated `fitness_v1`
|
47
|
+
* Updated `games_management_v1management`
|
48
|
+
* Updated `games_v1`
|
49
|
+
* Updated `genomics_v2alpha1`
|
50
|
+
* Updated `gmail_v1`
|
51
|
+
* Updated `iap_v1beta1`
|
52
|
+
* Updated `jobs_v2`
|
53
|
+
* Updated `jobs_v3`
|
54
|
+
* Updated `jobs_v3p1beta1`
|
55
|
+
* Updated `monitoring_v3`
|
56
|
+
* Updated `people_v1`
|
57
|
+
* Updated `pubsub_v1`
|
58
|
+
* Updated `redis_v1`
|
59
|
+
* Updated `redis_v1beta1`
|
60
|
+
* Updated `runtimeconfig_v1beta1`
|
61
|
+
* Updated `script_v1`
|
62
|
+
* Updated `serviceconsumermanagement_v1`
|
63
|
+
* Updated `servicecontrol_v1`
|
64
|
+
* Updated `servicemanagement_v1`
|
65
|
+
* Updated `servicenetworking_v1beta`
|
66
|
+
* Updated `serviceusage_v1`
|
67
|
+
* Updated `serviceusage_v1beta1`
|
68
|
+
* Updated `sheets_v4`
|
69
|
+
* Updated `slides_v1`
|
70
|
+
* Updated `sourcerepo_v1`
|
71
|
+
* Updated `speech_v1`
|
72
|
+
* Updated `sqladmin_v1beta4`
|
73
|
+
* Updated `storage_v1`
|
74
|
+
* Updated `streetviewpublish_v1`
|
75
|
+
* Updated `tasks_v1`
|
76
|
+
* Updated `testing_v1`
|
77
|
+
* Updated `toolresults_v1beta3`
|
78
|
+
* Updated `vault_v1`
|
79
|
+
* Updated `vision_v1`
|
80
|
+
* Updated `vision_v1p1beta1`
|
81
|
+
* Updated `vision_v1p2beta1`
|
82
|
+
* Updated `youtube_partner_v1`
|
83
|
+
|
1
84
|
# 0.25.0
|
2
85
|
* Breaking changes:
|
3
86
|
* Deleted `dfareporting_v2_8`
|
data/Gemfile
CHANGED
@@ -12,7 +12,7 @@ group :development do
|
|
12
12
|
gem 'webmock', '~> 2.1'
|
13
13
|
gem 'simplecov', '~> 0.12'
|
14
14
|
gem 'coveralls', '~> 0.8'
|
15
|
-
gem 'rubocop', '~> 0.
|
15
|
+
gem 'rubocop', '~> 0.49.0'
|
16
16
|
gem 'launchy', '~> 2.4'
|
17
17
|
gem 'dotenv', '~> 2.0'
|
18
18
|
gem 'fakefs', '~> 0.6', require: "fakefs/safe"
|
@@ -32,7 +32,7 @@ end
|
|
32
32
|
|
33
33
|
platforms :ruby do
|
34
34
|
group :development do
|
35
|
-
gem 'yard', '~> 0.
|
35
|
+
gem 'yard', '~> 0.9', '>= 0.9.11'
|
36
36
|
gem 'redcarpet', '~> 3.2'
|
37
37
|
gem 'github-markup', '~> 1.3'
|
38
38
|
gem 'pry-doc', '~> 0.8'
|