google-api-client 0.32.1 → 0.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -3
- data/CHANGELOG.md +327 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +104 -23
- data/generated/google/apis/bigquery_v2/representations.rb +37 -0
- data/generated/google/apis/bigquery_v2/service.rb +1 -5
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
- data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +20 -0
- data/generated/google/apis/books_v1/representations.rb +3 -0
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
- data/generated/google/apis/cloudasset_v1/service.rb +1 -2
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
- data/generated/google/apis/cloudkms_v1/service.rb +3 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
- data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
- data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +594 -164
- data/generated/google/apis/compute_alpha/representations.rb +110 -2
- data/generated/google/apis/compute_alpha/service.rb +1035 -640
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1070 -276
- data/generated/google/apis/compute_beta/representations.rb +284 -0
- data/generated/google/apis/compute_beta/service.rb +1242 -532
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +335 -133
- data/generated/google/apis/compute_v1/representations.rb +24 -0
- data/generated/google/apis/compute_v1/service.rb +759 -473
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +410 -83
- data/generated/google/apis/container_v1/representations.rb +134 -0
- data/generated/google/apis/container_v1/service.rb +119 -119
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -3
- data/generated/google/apis/container_v1beta1/representations.rb +38 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +35 -223
- data/generated/google/apis/content_v2/representations.rb +0 -115
- data/generated/google/apis/content_v2/service.rb +0 -160
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +69 -21
- data/generated/google/apis/content_v2_1/representations.rb +3 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
- data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
- data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
- data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +119 -11
- data/generated/google/apis/dataproc_v1/representations.rb +39 -0
- data/generated/google/apis/dataproc_v1/service.rb +14 -7
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
- data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
- data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +109 -33
- data/generated/google/apis/dlp_v2/representations.rb +23 -3
- data/generated/google/apis/dlp_v2/service.rb +1996 -209
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +175 -0
- data/generated/google/apis/docs_v1/representations.rb +77 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
- data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +12 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +1 -1
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
- data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +15 -1
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +15 -7
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +187 -2
- data/generated/google/apis/iap_v1/representations.rb +102 -0
- data/generated/google/apis/iap_v1/service.rb +72 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +30 -2
- data/generated/google/apis/logging_v2/representations.rb +4 -0
- data/generated/google/apis/logging_v2/service.rb +10 -5
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +308 -155
- data/generated/google/apis/ml_v1/representations.rb +59 -0
- data/generated/google/apis/ml_v1/service.rb +44 -3
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
- data/generated/google/apis/monitoring_v1/representations.rb +528 -0
- data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
- data/generated/google/apis/monitoring_v1.rb +48 -0
- data/generated/google/apis/monitoring_v3/classes.rb +836 -60
- data/generated/google/apis/monitoring_v3/representations.rb +348 -0
- data/generated/google/apis/monitoring_v3/service.rb +384 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -6
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +8 -6
- data/generated/google/apis/pubsub_v1/service.rb +9 -7
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
- data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +11 -11
- data/generated/google/apis/redis_v1/service.rb +5 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
- data/generated/google/apis/redis_v1beta1/service.rb +5 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -176
- data/generated/google/apis/run_v1/representations.rb +0 -71
- data/generated/google/apis/run_v1/service.rb +209 -1125
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
- data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
- data/generated/google/apis/run_v1alpha1/service.rb +408 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
- data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -12
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
- data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
- data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
- data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1371 -232
- data/generated/google/apis/sheets_v4/representations.rb +180 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +70 -30
- data/generated/google/apis/spanner_v1/service.rb +270 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +6 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +142 -1
- data/generated/google/apis/testing_v1/representations.rb +76 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +66 -0
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +3 -0
- data/lib/google/apis/core/http_command.rb +10 -8
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/version.rb +1 -1
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +64 -42
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9cca0108617535f9f7dc029027e25d686a250764e1334d787e1237f3da576c9d
|
4
|
+
data.tar.gz: 043ee7b66e3e5e279bc2080e9a61a436d55b909f367161c2f771ff6a87281414
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 650c0d08058a352f82f255ea7677fd74d4b028f4a58804df164a74d90d30daba24b5e9ccdba56e8c1bf5ce5ab31f022f0e92650c74e1fa04d40cdf1652ffd218
|
7
|
+
data.tar.gz: 8dffea2f03975bc6811b96a38895f5348a18db6e36545fb7277f84c852a04534a455a74efa97aec669104f34befb2483e0147979c3fd728b26c22199da1a4b04
|
@@ -3,10 +3,10 @@
|
|
3
3
|
build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
|
4
4
|
|
5
5
|
# Configure the docker image for kokoro-trampoline.
|
6
|
-
# Dockerfile is maintained at https://github.com/googleapis/google-cloud-ruby/tree/master/.kokoro/docker/
|
6
|
+
# Dockerfile is maintained at https://github.com/googleapis/google-cloud-ruby/tree/master/.kokoro/docker/multi
|
7
7
|
env_vars: {
|
8
8
|
key: "TRAMPOLINE_IMAGE"
|
9
|
-
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/
|
9
|
+
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/multi"
|
10
10
|
}
|
11
11
|
|
12
12
|
env_vars: {
|
@@ -0,0 +1,30 @@
|
|
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/multi-node
|
7
|
+
env_vars: {
|
8
|
+
key: "TRAMPOLINE_IMAGE"
|
9
|
+
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/multi-node"
|
10
|
+
}
|
11
|
+
|
12
|
+
env_vars: {
|
13
|
+
key: "TRAMPOLINE_BUILD_FILE"
|
14
|
+
value: "github/google-api-ruby-client/.kokoro/build.sh"
|
15
|
+
}
|
16
|
+
|
17
|
+
env_vars: {
|
18
|
+
key: "TRAMPOLINE_SCRIPT"
|
19
|
+
value: "trampoline_v1.py"
|
20
|
+
}
|
21
|
+
|
22
|
+
env_vars: {
|
23
|
+
key: "OS"
|
24
|
+
value: "linux"
|
25
|
+
}
|
26
|
+
|
27
|
+
env_vars: {
|
28
|
+
key: "JOB_TYPE"
|
29
|
+
value: "post"
|
30
|
+
}
|
data/.kokoro/presubmit/linux.cfg
CHANGED
@@ -5,7 +5,7 @@ build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
|
|
5
5
|
# Configure the docker image for kokoro-trampoline.
|
6
6
|
env_vars: {
|
7
7
|
key: "TRAMPOLINE_IMAGE"
|
8
|
-
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/
|
8
|
+
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/multi"
|
9
9
|
}
|
10
10
|
|
11
11
|
env_vars: {
|
data/.kokoro/release.cfg
ADDED
@@ -0,0 +1,94 @@
|
|
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
|
+
# Fetch the token needed for reporting release status to GitHub
|
11
|
+
before_action {
|
12
|
+
fetch_keystore {
|
13
|
+
keystore_resource {
|
14
|
+
keystore_config_id: 73713
|
15
|
+
keyname: "yoshi-automation-github-key"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
# Fetch magictoken to use with Magic Github Proxy
|
21
|
+
before_action {
|
22
|
+
fetch_keystore {
|
23
|
+
keystore_resource {
|
24
|
+
keystore_config_id: 73713
|
25
|
+
keyname: "releasetool-magictoken"
|
26
|
+
backend_type: FASTCONFIGPUSH
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
# Fetch api key to use with Magic Github Proxy
|
32
|
+
before_action {
|
33
|
+
fetch_keystore {
|
34
|
+
keystore_resource {
|
35
|
+
keystore_config_id: 73713
|
36
|
+
keyname: "magic-github-proxy-api-key"
|
37
|
+
backend_type: FASTCONFIGPUSH
|
38
|
+
}
|
39
|
+
}
|
40
|
+
}
|
41
|
+
|
42
|
+
before_action {
|
43
|
+
fetch_keystore {
|
44
|
+
keystore_resource {
|
45
|
+
keystore_config_id: 73713
|
46
|
+
keyname: "docuploader_service_account"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
# Download resources for system tests (service account key, etc.)
|
52
|
+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/google-cloud-ruby"
|
53
|
+
|
54
|
+
# Download trampoline resources.
|
55
|
+
gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline"
|
56
|
+
|
57
|
+
# Use the trampoline script to run in docker.
|
58
|
+
build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
|
59
|
+
|
60
|
+
# Configure the docker image for kokoro-trampoline.
|
61
|
+
env_vars: {
|
62
|
+
key: "TRAMPOLINE_IMAGE"
|
63
|
+
value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/release"
|
64
|
+
}
|
65
|
+
|
66
|
+
env_vars: {
|
67
|
+
key: "TRAMPOLINE_BUILD_FILE"
|
68
|
+
value: "github/google-api-ruby-client/.kokoro/build.sh"
|
69
|
+
}
|
70
|
+
|
71
|
+
env_vars: {
|
72
|
+
key: "TRAMPOLINE_SCRIPT"
|
73
|
+
value: "trampoline_v1.py"
|
74
|
+
}
|
75
|
+
|
76
|
+
env_vars: {
|
77
|
+
key: "JOB_TYPE"
|
78
|
+
value: "release"
|
79
|
+
}
|
80
|
+
|
81
|
+
env_vars: {
|
82
|
+
key: "OS"
|
83
|
+
value: "linux"
|
84
|
+
}
|
85
|
+
|
86
|
+
env_vars: {
|
87
|
+
key: "REPO_DIR"
|
88
|
+
value: "github/google-api-ruby-client"
|
89
|
+
}
|
90
|
+
|
91
|
+
env_vars: {
|
92
|
+
key: "PACKAGE"
|
93
|
+
value: "google-api-client"
|
94
|
+
}
|
data/.repo-metadata.json
ADDED
data/.rubocop.yml
CHANGED
data/.yardopts
CHANGED
@@ -3,10 +3,23 @@
|
|
3
3
|
--verbose
|
4
4
|
--markup-provider=redcarpet
|
5
5
|
--markup=markdown
|
6
|
+
--main OVERVIEW.md
|
7
|
+
|
6
8
|
lib/**/*.rb
|
7
|
-
generated/**/*.rb
|
8
9
|
-
|
9
|
-
|
10
|
+
OVERVIEW.md
|
11
|
+
docs/getting-started.md
|
12
|
+
docs/installation.md
|
13
|
+
docs/auth.md
|
14
|
+
docs/api-keys.md
|
15
|
+
docs/oauth.md
|
16
|
+
docs/oauth-web.md
|
17
|
+
docs/oauth-installed.md
|
18
|
+
docs/oauth-server.md
|
19
|
+
docs/client-secrets.md
|
20
|
+
docs/logging.md
|
21
|
+
docs/media-upload.md
|
22
|
+
docs/pagination.md
|
23
|
+
docs/performance.md
|
10
24
|
MIGRATING.md
|
11
|
-
CONTRIBUTING.md
|
12
25
|
LICENSE
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,330 @@
|
|
1
|
+
# 0.36.0
|
2
|
+
* Breaking changes:
|
3
|
+
* Deleted `cloudbuild_v1alpha1`
|
4
|
+
* Backwards compatible changes:
|
5
|
+
* Updated `bigqueryreservation_v1beta1`
|
6
|
+
* Updated `cloudasset_v1`
|
7
|
+
* Updated `cloudasset_v1beta1`
|
8
|
+
* Updated `cloudprivatecatalogproducer_v1beta1`
|
9
|
+
* Updated `container_v1`
|
10
|
+
* Updated `container_v1beta1`
|
11
|
+
* Updated `dataproc_v1`
|
12
|
+
* Updated `dataproc_v1beta2`
|
13
|
+
* Updated `dlp_v2`
|
14
|
+
* Updated `firebase_v1beta1`
|
15
|
+
* Updated `healthcare_v1beta1`
|
16
|
+
* Updated `ml_v1`
|
17
|
+
* Updated `monitoring_v1`
|
18
|
+
* Updated `monitoring_v3`
|
19
|
+
* Updated `policytroubleshooter_v1beta`
|
20
|
+
* Updated `remotebuildexecution_v1`
|
21
|
+
* Updated `remotebuildexecution_v1alpha`
|
22
|
+
* Updated `remotebuildexecution_v2`
|
23
|
+
* Updated `runtimeconfig_v1beta1`
|
24
|
+
* Updated `securitycenter_v1`
|
25
|
+
* Updated `securitycenter_v1beta1`
|
26
|
+
* Updated `servicebroker_v1`
|
27
|
+
* Updated `servicebroker_v1alpha1`
|
28
|
+
* Updated `servicebroker_v1beta1`
|
29
|
+
* Updated `serviceconsumermanagement_v1`
|
30
|
+
* Updated `servicemanagement_v1`
|
31
|
+
* Updated `servicenetworking_v1`
|
32
|
+
* Updated `servicenetworking_v1beta`
|
33
|
+
* Updated `serviceusage_v1`
|
34
|
+
* Updated `serviceusage_v1beta1`
|
35
|
+
* Updated `streetviewpublish_v1`
|
36
|
+
|
37
|
+
# 0.35.0
|
38
|
+
* Breaking changes:
|
39
|
+
* Deleted `storage_v1beta1`
|
40
|
+
* Backwards compatible changes:
|
41
|
+
* Added `datacatalog_v1beta1`
|
42
|
+
* Added `dfareporting_v3_4`
|
43
|
+
* Added `doubleclickbidmanager_v1_1`
|
44
|
+
* Updated `adexchangebuyer2_v2beta1`
|
45
|
+
* Updated `adexchangebuyer_v1_3`
|
46
|
+
* Updated `adexchangebuyer_v1_4`
|
47
|
+
* Updated `androidmanagement_v1`
|
48
|
+
* Updated `androidpublisher_v3`
|
49
|
+
* Updated `appengine_v1`
|
50
|
+
* Updated `appengine_v1beta`
|
51
|
+
* Updated `appsmarket_v2`
|
52
|
+
* Updated `bigquery_v2`
|
53
|
+
* Updated `bigqueryconnection_v1beta1`
|
54
|
+
* Updated `bigquerydatatransfer_v1`
|
55
|
+
* Updated `bigqueryreservation_v1`
|
56
|
+
* Updated `bigqueryreservation_v1alpha2`
|
57
|
+
* Updated `bigqueryreservation_v1beta1`
|
58
|
+
* Updated `bigtableadmin_v1`
|
59
|
+
* Updated `bigtableadmin_v2`
|
60
|
+
* Updated `binaryauthorization_v1`
|
61
|
+
* Updated `binaryauthorization_v1beta1`
|
62
|
+
* Updated `books_v1`
|
63
|
+
* Updated `calendar_v3`
|
64
|
+
* Updated `civicinfo_v2`
|
65
|
+
* Updated `cloudasset_v1`
|
66
|
+
* Updated `cloudasset_v1beta1`
|
67
|
+
* Updated `cloudbilling_v1`
|
68
|
+
* Updated `cloudbuild_v1`
|
69
|
+
* Updated `cloudbuild_v1alpha1`
|
70
|
+
* Updated `cloudfunctions_v1`
|
71
|
+
* Updated `cloudiot_v1`
|
72
|
+
* Updated `cloudkms_v1`
|
73
|
+
* Updated `cloudprivatecatalogproducer_v1beta1`
|
74
|
+
* Updated `cloudresourcemanager_v1`
|
75
|
+
* Updated `cloudresourcemanager_v1beta1`
|
76
|
+
* Updated `cloudresourcemanager_v2`
|
77
|
+
* Updated `cloudresourcemanager_v2beta1`
|
78
|
+
* Updated `cloudscheduler_v1`
|
79
|
+
* Updated `cloudscheduler_v1beta1`
|
80
|
+
* Updated `cloudsearch_v1`
|
81
|
+
* Updated `cloudtasks_v2`
|
82
|
+
* Updated `cloudtasks_v2beta2`
|
83
|
+
* Updated `cloudtasks_v2beta3`
|
84
|
+
* Updated `commentanalyzer_v1alpha1`
|
85
|
+
* Updated `compute_alpha`
|
86
|
+
* Updated `compute_beta`
|
87
|
+
* Updated `compute_v1`
|
88
|
+
* Updated `containeranalysis_v1alpha1`
|
89
|
+
* Updated `containeranalysis_v1beta1`
|
90
|
+
* Updated `content_v2`
|
91
|
+
* Updated `content_v2_1`
|
92
|
+
* Updated `dataproc_v1`
|
93
|
+
* Updated `dataproc_v1beta2`
|
94
|
+
* Updated `dfareporting_v3_3`
|
95
|
+
* Updated `dialogflow_v2`
|
96
|
+
* Updated `dialogflow_v2beta1`
|
97
|
+
* Updated `dlp_v2`
|
98
|
+
* Updated `dns_v1beta2`
|
99
|
+
* Updated `docs_v1`
|
100
|
+
* Updated `doubleclickbidmanager_v1`
|
101
|
+
* Updated `drive_v3`
|
102
|
+
* Updated `fcm_v1`
|
103
|
+
* Updated `firebase_v1beta1`
|
104
|
+
* Updated `firebasehosting_v1beta1`
|
105
|
+
* Updated `firebaserules_v1`
|
106
|
+
* Updated `genomics_v2alpha1`
|
107
|
+
* Updated `healthcare_v1beta1`
|
108
|
+
* Updated `homegraph_v1`
|
109
|
+
* Updated `iam_v1`
|
110
|
+
* Updated `logging_v2`
|
111
|
+
* Updated `ml_v1`
|
112
|
+
* Updated `monitoring_v3`
|
113
|
+
* Updated `pagespeedonline_v5`
|
114
|
+
* Updated `policytroubleshooter_v1beta`
|
115
|
+
* Updated `pubsub_v1`
|
116
|
+
* Updated `pubsub_v1beta2`
|
117
|
+
* Updated `recommender_v1beta1`
|
118
|
+
* Updated `remotebuildexecution_v1`
|
119
|
+
* Updated `remotebuildexecution_v1alpha`
|
120
|
+
* Updated `remotebuildexecution_v2`
|
121
|
+
* Updated `run_v1`
|
122
|
+
* Updated `run_v1alpha1`
|
123
|
+
* Updated `runtimeconfig_v1beta1`
|
124
|
+
* Updated `securitycenter_v1`
|
125
|
+
* Updated `securitycenter_v1beta1`
|
126
|
+
* Updated `servicebroker_v1`
|
127
|
+
* Updated `servicebroker_v1alpha1`
|
128
|
+
* Updated `servicebroker_v1beta1`
|
129
|
+
* Updated `serviceconsumermanagement_v1`
|
130
|
+
* Updated `servicecontrol_v1`
|
131
|
+
* Updated `servicemanagement_v1`
|
132
|
+
* Updated `servicenetworking_v1`
|
133
|
+
* Updated `servicenetworking_v1beta`
|
134
|
+
* Updated `serviceusage_v1`
|
135
|
+
* Updated `serviceusage_v1beta1`
|
136
|
+
* Updated `sheets_v4`
|
137
|
+
* Updated `spanner_v1`
|
138
|
+
* Updated `speech_v1`
|
139
|
+
* Updated `speech_v1p1beta1`
|
140
|
+
* Updated `sql_v1beta4`
|
141
|
+
* Updated `storagetransfer_v1`
|
142
|
+
* Updated `videointelligence_v1`
|
143
|
+
* Updated `videointelligence_v1beta2`
|
144
|
+
* Updated `videointelligence_v1p1beta1`
|
145
|
+
* Updated `videointelligence_v1p2beta1`
|
146
|
+
* Updated `videointelligence_v1p3beta1`
|
147
|
+
* Updated `youtube_partner_v1`
|
148
|
+
|
149
|
+
# 0.34.1
|
150
|
+
* Backwards compatible changes:
|
151
|
+
* Updated `bigquery_v2`
|
152
|
+
* Updated `cloudshell_v1`
|
153
|
+
* Updated `cloudshell_v1alpha1`
|
154
|
+
* Updated `dlp_v2`
|
155
|
+
* Updated `docs_v1`
|
156
|
+
* Updated `genomics_v2alpha1`
|
157
|
+
* Updated `recommender_v1beta1`
|
158
|
+
* Updated `redis_v1`
|
159
|
+
* Updated `redis_v1beta1`
|
160
|
+
* Updated `securitycenter_v1`
|
161
|
+
* Updated `securitycenter_v1beta1`
|
162
|
+
* Updated `sheets_v4`
|
163
|
+
* Updated `vision_v1`
|
164
|
+
* Updated `vision_v1p1beta1`
|
165
|
+
* Updated `vision_v1p2beta1`
|
166
|
+
|
167
|
+
# 0.34.0
|
168
|
+
* Breaking changes:
|
169
|
+
* Deleted `dfareporting_v3_2`
|
170
|
+
* Backwards compatible changes:
|
171
|
+
* Updated `cloudidentity_v1beta1`
|
172
|
+
* Updated `cloudshell_v1`
|
173
|
+
* Updated `cloudshell_v1alpha1`
|
174
|
+
* Updated `compute_alpha`
|
175
|
+
* Updated `compute_beta`
|
176
|
+
* Updated `compute_v1`
|
177
|
+
* Updated `container_v1`
|
178
|
+
* Updated `container_v1beta1`
|
179
|
+
* Updated `datastore_v1`
|
180
|
+
* Updated `datastore_v1beta3`
|
181
|
+
* Updated `dialogflow_v2`
|
182
|
+
* Updated `dialogflow_v2beta1`
|
183
|
+
* Updated `dlp_v2`
|
184
|
+
* Updated `drive_v2`
|
185
|
+
* Updated `drive_v3`
|
186
|
+
* Updated `firebasehosting_v1beta1`
|
187
|
+
* Updated `firestore_v1`
|
188
|
+
* Updated `firestore_v1beta1`
|
189
|
+
* Updated `games_management_v1management`
|
190
|
+
* Updated `games_v1`
|
191
|
+
* Updated `healthcare_v1beta1`
|
192
|
+
* Updated `iam_v1`
|
193
|
+
* Updated `jobs_v2`
|
194
|
+
* Updated `jobs_v3`
|
195
|
+
* Updated `jobs_v3p1beta1`
|
196
|
+
* Updated `lifesciences_v2beta`
|
197
|
+
* Updated `ml_v1`
|
198
|
+
* Updated `monitoring_v3`
|
199
|
+
* Updated `oslogin_v1`
|
200
|
+
* Updated `people_v1`
|
201
|
+
* Updated `servicecontrol_v1`
|
202
|
+
* Updated `videointelligence_v1`
|
203
|
+
* Updated `videointelligence_v1beta2`
|
204
|
+
* Updated `videointelligence_v1p1beta1`
|
205
|
+
* Updated `videointelligence_v1p2beta1`
|
206
|
+
* Updated `videointelligence_v1p3beta1`
|
207
|
+
* Updated `youtube_partner_v1`
|
208
|
+
|
209
|
+
# 0.33.2
|
210
|
+
* Backwards compatible changes:
|
211
|
+
* Added `speech_v2beta1`
|
212
|
+
* Updated `accessapproval_v1beta1`
|
213
|
+
* Updated `accesscontextmanager_v1beta`
|
214
|
+
* Updated `adexchangebuyer_v1_3`
|
215
|
+
* Updated `adexchangebuyer_v1_4`
|
216
|
+
* Updated `admin_datatransfer_v1`
|
217
|
+
* Updated `admin_reports_v1`
|
218
|
+
* Updated `appengine_v1`
|
219
|
+
* Updated `appengine_v1beta`
|
220
|
+
* Updated `bigquery_v2`
|
221
|
+
* Updated `bigqueryconnection_v1beta1`
|
222
|
+
* Updated `bigtableadmin_v2`
|
223
|
+
* Updated `civicinfo_v2`
|
224
|
+
* Updated `cloudidentity_v1beta1`
|
225
|
+
* Updated `cloudresourcemanager_v1`
|
226
|
+
* Updated `cloudresourcemanager_v2`
|
227
|
+
* Updated `cloudresourcemanager_v2beta1`
|
228
|
+
* Updated `cloudshell_v1`
|
229
|
+
* Updated `cloudshell_v1alpha1`
|
230
|
+
* Updated `container_v1`
|
231
|
+
* Updated `container_v1beta1`
|
232
|
+
* Updated `docs_v1`
|
233
|
+
* Updated `drive_v2`
|
234
|
+
* Updated `fitness_v1`
|
235
|
+
* Updated `licensing_v1`
|
236
|
+
* Updated `ml_v1`
|
237
|
+
* Updated `oslogin_v1`
|
238
|
+
* Updated `oslogin_v1beta`
|
239
|
+
* Updated `reseller_v1`
|
240
|
+
* Updated `run_v1alpha1`
|
241
|
+
* Updated `sql_v1beta4`
|
242
|
+
* Updated `storage_v1`
|
243
|
+
* Updated `testing_v1`
|
244
|
+
* Updated `videointelligence_v1`
|
245
|
+
* Updated `videointelligence_v1beta2`
|
246
|
+
* Updated `videointelligence_v1p1beta1`
|
247
|
+
* Updated `videointelligence_v1p2beta1`
|
248
|
+
* Updated `videointelligence_v1p3beta1`
|
249
|
+
* Updated `youtube_partner_v1`
|
250
|
+
|
251
|
+
# 0.33.1
|
252
|
+
* Backwards compatible changes:
|
253
|
+
* Added `monitoring_v1`
|
254
|
+
* Added `sql_v1beta4`
|
255
|
+
* Updated `accessapproval_v1beta1`
|
256
|
+
* Updated `accesscontextmanager_v1`
|
257
|
+
* Updated `accesscontextmanager_v1beta`
|
258
|
+
* Updated `adexchangebuyer2_v2beta1`
|
259
|
+
* Updated `androidpublisher_v3`
|
260
|
+
* Updated `bigquery_v2`
|
261
|
+
* Updated `bigqueryconnection_v1beta1`
|
262
|
+
* Updated `binaryauthorization_v1`
|
263
|
+
* Updated `binaryauthorization_v1beta1`
|
264
|
+
* Updated `cloudasset_v1`
|
265
|
+
* Updated `clouddebugger_v2`
|
266
|
+
* Updated `cloudidentity_v1`
|
267
|
+
* Updated `cloudidentity_v1beta1`
|
268
|
+
* Updated `cloudsearch_v1`
|
269
|
+
* Updated `cloudshell_v1`
|
270
|
+
* Updated `cloudshell_v1alpha1`
|
271
|
+
* Updated `compute_alpha`
|
272
|
+
* Updated `compute_beta`
|
273
|
+
* Updated `compute_v1`
|
274
|
+
* Updated `docs_v1`
|
275
|
+
* Updated `doubleclickbidmanager_v1`
|
276
|
+
* Updated `healthcare_v1beta1`
|
277
|
+
* Updated `iam_v1`
|
278
|
+
* Updated `iap_v1`
|
279
|
+
* Updated `policytroubleshooter_v1beta`
|
280
|
+
* Updated `run_v1`
|
281
|
+
* Updated `testing_v1`
|
282
|
+
* Updated `vision_v1`
|
283
|
+
* Updated `vision_v1p1beta1`
|
284
|
+
* Updated `vision_v1p2beta1`
|
285
|
+
|
286
|
+
# 0.33.0
|
287
|
+
* Breaking changes:
|
288
|
+
* Deleted `urlshortener_v1`
|
289
|
+
* Backwards compatible changes:
|
290
|
+
* Updated `accessapproval_v1beta1`
|
291
|
+
* Updated `admin_directory_v1`
|
292
|
+
* Updated `admin_reports_v1`
|
293
|
+
* Updated `androidpublisher_v3`
|
294
|
+
* Updated `appengine_v1`
|
295
|
+
* Updated `appengine_v1beta`
|
296
|
+
* Updated `bigquery_v2`
|
297
|
+
* Updated `bigqueryconnection_v1beta1`
|
298
|
+
* Updated `cloudbilling_v1`
|
299
|
+
* Updated `cloudfunctions_v1`
|
300
|
+
* Updated `cloudfunctions_v1beta2`
|
301
|
+
* Updated `cloudkms_v1`
|
302
|
+
* Updated `content_v2`
|
303
|
+
* Updated `content_v2_1`
|
304
|
+
* Updated `dataflow_v1b3`
|
305
|
+
* Updated `datafusion_v1beta1`
|
306
|
+
* Updated `dialogflow_v2`
|
307
|
+
* Updated `dialogflow_v2beta1`
|
308
|
+
* Updated `iap_v1`
|
309
|
+
* Updated `iap_v1beta1`
|
310
|
+
* Updated `logging_v2`
|
311
|
+
* Updated `monitoring_v3`
|
312
|
+
* Updated `policytroubleshooter_v1beta`
|
313
|
+
* Updated `pubsub_v1`
|
314
|
+
* Updated `pubsub_v1beta2`
|
315
|
+
* Updated `remotebuildexecution_v1`
|
316
|
+
* Updated `remotebuildexecution_v1alpha`
|
317
|
+
* Updated `remotebuildexecution_v2`
|
318
|
+
* Updated `securitycenter_v1`
|
319
|
+
* Updated `securitycenter_v1beta1`
|
320
|
+
* Updated `serviceconsumermanagement_v1`
|
321
|
+
* Updated `servicemanagement_v1`
|
322
|
+
* Updated `serviceusage_v1`
|
323
|
+
* Updated `serviceusage_v1beta1`
|
324
|
+
* Updated `sheets_v4`
|
325
|
+
* Other changes:
|
326
|
+
* Dropped support for Ruby versions older than 2.4
|
327
|
+
|
1
328
|
# 0.32.1
|
2
329
|
* Backwards compatible changes:
|
3
330
|
* Updated `appengine_v1`
|
data/Gemfile
CHANGED
data/OVERVIEW.md
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# Google API Client Library for Ruby Docs
|
2
|
+
|
3
|
+
The Google API Client Library for Ruby is designed for Ruby
|
4
|
+
client-application developers. It offers simple, flexible
|
5
|
+
access to many Google APIs.
|
6
|
+
|
7
|
+
## Features
|
8
|
+
|
9
|
+
- Call Google APIs simply
|
10
|
+
- Handle Auth with fewer lines of code
|
11
|
+
- Use standard tooling for installation
|
12
|
+
|
13
|
+
## Documentation
|
14
|
+
|
15
|
+
Learn how to use the Google API Client Library for Ruby with these guides:
|
16
|
+
|
17
|
+
### Usage Guides
|
18
|
+
|
19
|
+
- {file:docs/getting-started.md Getting Started}
|
20
|
+
- {file:docs/installation.md Installation}
|
21
|
+
- {file:docs/auth.md Auth}
|
22
|
+
- {file:docs/api-keys.md API Keys}
|
23
|
+
- {file:docs/oauth.md OAuth 2.0}
|
24
|
+
- {file:docs/oauth-web.md OAuth 2.0 for Web Server Applications}
|
25
|
+
- {file:docs/oauth-installed.md OAuth 2.0 for Installed Applications}
|
26
|
+
- {file:docs/oauth-server.md OAuth 2.0 for Server to Server Applications}
|
27
|
+
- {file:docs/client-secrets.md Client Secrets}
|
28
|
+
- How to...
|
29
|
+
- {file:docs/logging.md Use Logging}
|
30
|
+
- {file:docs/media-upload.md Upload Media}
|
31
|
+
- {file:docs/pagination.md Use Pagination}
|
32
|
+
- {file:docs/performance.md Improve Performance}
|
33
|
+
|
34
|
+
### Reference Documentation
|
35
|
+
|
36
|
+
- Reference documentation for [google-api-client](https://googleapis.dev/ruby/google-api-client/latest/index.html).
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Google API Client [![
|
1
|
+
# Google API Client [![Documentation](https://img.shields.io/badge/docs-Google%3A%3AApis-red.svg)](https://googleapis.dev/ruby/google-api-client/latest/Google/Apis.html) [![Gem Version](https://badge.fury.io/rb/google-api-client.svg)](https://badge.fury.io/rb/google-api-client)
|
2
2
|
|
3
3
|
These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
|
4
4
|
|
@@ -10,12 +10,37 @@ For Google Cloud Platform APIs such as Datastore, Cloud Storage or Pub/Sub, we r
|
|
10
10
|
|
11
11
|
See [MIGRATING](MIGRATING.md) for additional details on how to migrate to the latest version.
|
12
12
|
|
13
|
+
## Documentation
|
14
|
+
|
15
|
+
Learn how to use the Google API Client Library for Ruby with these guides:
|
16
|
+
|
17
|
+
### Usage Guides
|
18
|
+
|
19
|
+
- [Getting Started](docs/getting-started.md)
|
20
|
+
- [Installation](docs/installation.md)
|
21
|
+
- [Auth](docs/auth.md)
|
22
|
+
- [API Keys](docs/api-keys.md)
|
23
|
+
- [OAuth 2.0](docs/oauth.md)
|
24
|
+
- [OAuth 2.0 for Web Server Applications](docs/oauth-web.md)
|
25
|
+
- [OAuth 2.0 for Installed Applications](docs/oauth-installed.md)
|
26
|
+
- [OAuth 2.0 for Server to Server Applications](docs/oauth-server.md)
|
27
|
+
- [Client Secrets](docs/client-secrets.md)
|
28
|
+
- How to...
|
29
|
+
- [Use Logging](docs/logging.md)
|
30
|
+
- [Upload Media](docs/media-upload.md)
|
31
|
+
- [Use Pagination](docs/pagination.md)
|
32
|
+
- [Improve Performance](docs/performance.md)
|
33
|
+
|
34
|
+
### Reference Documentation
|
35
|
+
|
36
|
+
- Reference documentation for [google-api-client](https://googleapis.dev/ruby/google-api-client/latest/index.html).
|
37
|
+
|
13
38
|
## Installation
|
14
39
|
|
15
40
|
Add this line to your application's Gemfile:
|
16
41
|
|
17
42
|
```ruby
|
18
|
-
gem 'google-api-client', '~> 0.
|
43
|
+
gem 'google-api-client', '~> 0.34'
|
19
44
|
|
20
45
|
```
|
21
46
|
|
@@ -53,6 +78,29 @@ metadata = drive.insert_file(metadata, upload_source: 'test.txt', content_type:
|
|
53
78
|
# Download a file
|
54
79
|
drive.get_file(metadata.id, download_dest: '/tmp/myfile.txt')
|
55
80
|
```
|
81
|
+
|
82
|
+
An example to use the Content API (Google Merchant Center)
|
83
|
+
|
84
|
+
```ruby
|
85
|
+
require 'google/apis/content_v2'
|
86
|
+
require 'googleauth' # https://github.com/googleapis/google-auth-library-ruby
|
87
|
+
|
88
|
+
Content = Google::Apis::ContentV2 # Alias the module
|
89
|
+
content = Content::ShoppingContentService.new
|
90
|
+
|
91
|
+
scope = 'https://www.googleapis.com/auth/content'
|
92
|
+
merchant_id = # Merchant ID found on dashboard
|
93
|
+
|
94
|
+
content.authorization = Google::Auth::ServiceAccountCredentials.make_creds(
|
95
|
+
json_key_io: File.open('./content-api-key.json'),
|
96
|
+
scope: scope)
|
97
|
+
|
98
|
+
content.authorization.fetch_access_token!
|
99
|
+
# Service methods: https://googleapis.dev/ruby/google-api-client/latest/Google/Apis/ContentV2/ShoppingContentService.html
|
100
|
+
content.list_datafeeds(merchant_id) # Returns Google::Apis::ContentV2::ListDatafeedsResponse
|
101
|
+
|
102
|
+
```
|
103
|
+
|
56
104
|
### Naming conventions vs JSON representation
|
57
105
|
|
58
106
|
Object properties in the ruby client use the standard ruby convention for naming -- snake_case. This differs from the underlying JSON representation which typically uses camelCase for properties. There are a few notable exceptions to this rule:
|