google-api-client 0.20.1 → 0.21.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +190 -0
- data/README.md +3 -12
- data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
- data/generated/google/apis/adexperiencereport_v1.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
- data/generated/google/apis/admin_directory_v1.rb +3 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
- data/generated/google/apis/admin_directory_v1/service.rb +363 -577
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +21 -35
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +117 -195
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +21 -35
- data/generated/google/apis/analytics_v3.rb +4 -1
- data/generated/google/apis/analytics_v3/classes.rb +119 -60
- data/generated/google/apis/analytics_v3/representations.rb +43 -12
- data/generated/google/apis/analytics_v3/service.rb +294 -435
- data/generated/google/apis/analyticsreporting_v4.rb +2 -2
- data/generated/google/apis/analyticsreporting_v4/classes.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
- data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +297 -286
- data/generated/google/apis/androidpublisher_v3.rb +34 -0
- data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +11 -4
- data/generated/google/apis/appengine_v1/service.rb +28 -19
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +11 -7
- data/generated/google/apis/appengine_v1beta/service.rb +28 -19
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +6 -10
- data/generated/google/apis/appsmarket_v2/service.rb +12 -20
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +18 -30
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +76 -15
- data/generated/google/apis/bigquery_v2/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2/service.rb +69 -115
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
- data/generated/google/apis/blogger_v2/service.rb +30 -50
- data/generated/google/apis/blogger_v3/service.rb +102 -170
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +156 -260
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +114 -190
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +6 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +18 -30
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +0 -69
- data/generated/google/apis/classroom_v1/representations.rb +0 -31
- data/generated/google/apis/classroom_v1/service.rb +0 -88
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouddebugger_v2/classes.rb +2 -1
- data/generated/google/apis/clouddebugger_v2/service.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
- data/generated/google/apis/cloudiot_v1/service.rb +387 -0
- data/generated/google/apis/cloudkms_v1.rb +2 -2
- data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +31 -9
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
- data/generated/google/apis/composer_v1beta1/classes.rb +640 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
- data/generated/google/apis/composer_v1beta1/service.rb +462 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +4279 -1869
- data/generated/google/apis/compute_alpha/representations.rb +1366 -346
- data/generated/google/apis/compute_alpha/service.rb +4754 -4134
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +211 -55
- data/generated/google/apis/compute_beta/representations.rb +41 -0
- data/generated/google/apis/compute_beta/service.rb +1273 -2082
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +245 -44
- data/generated/google/apis/compute_v1/representations.rb +81 -0
- data/generated/google/apis/compute_v1/service.rb +1567 -1668
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/classes.rb +20 -15
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +51 -49
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +193 -14
- data/generated/google/apis/container_v1beta1/representations.rb +78 -0
- data/generated/google/apis/container_v1beta1/service.rb +129 -49
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +173 -8
- data/generated/google/apis/content_v2/representations.rb +71 -0
- data/generated/google/apis/content_v2/service.rb +246 -410
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
- data/generated/google/apis/content_v2sandbox/service.rb +63 -105
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +9 -15
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +6 -6
- data/generated/google/apis/dataproc_v1/service.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
- data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
- data/generated/google/apis/datastore_v1.rb +2 -2
- data/generated/google/apis/datastore_v1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +2 -2
- data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
- data/generated/google/apis/dfareporting_v2_8.rb +1 -1
- data/generated/google/apis/dfareporting_v2_8/classes.rb +5 -5
- data/generated/google/apis/dfareporting_v2_8/service.rb +622 -1031
- data/generated/google/apis/dfareporting_v3_0.rb +1 -1
- data/generated/google/apis/dfareporting_v3_0/classes.rb +5 -5
- data/generated/google/apis/dfareporting_v3_0/service.rb +619 -1026
- data/generated/google/apis/dfareporting_v3_1.rb +40 -0
- data/generated/google/apis/dfareporting_v3_1/classes.rb +12256 -0
- data/generated/google/apis/dfareporting_v3_1/representations.rb +4389 -0
- data/generated/google/apis/dfareporting_v3_1/service.rb +8790 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
- data/generated/google/apis/discovery_v1/service.rb +9 -15
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +136 -1572
- data/generated/google/apis/dlp_v2/representations.rb +676 -1405
- data/generated/google/apis/dlp_v2/service.rb +24 -24
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1/service.rb +49 -81
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2/service.rb +49 -81
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dns_v2beta1/service.rb +49 -81
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +205 -341
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +120 -200
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +2 -2
- data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +45 -75
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +99 -165
- data/generated/google/apis/fusiontables_v2/service.rb +105 -175
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +84 -140
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +162 -270
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +41 -7
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
- data/generated/google/apis/gmail_v1/service.rb +189 -315
- data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
- data/generated/google/apis/groupssettings_v1/service.rb +12 -20
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +29 -7
- data/generated/google/apis/iam_v1/service.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +56 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +8 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
- data/generated/google/apis/jobs_v2.rb +38 -0
- data/generated/google/apis/jobs_v2/classes.rb +3374 -0
- data/generated/google/apis/jobs_v2/representations.rb +1067 -0
- data/generated/google/apis/jobs_v2/service.rb +753 -0
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +1 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +1 -0
- data/generated/google/apis/licensing_v1/service.rb +24 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +55 -5
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +6 -4
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
- data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
- data/generated/google/apis/logging_v2beta1/service.rb +6 -4
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +75 -125
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +65 -28
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +7 -7
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +27 -45
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +15 -25
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
- data/generated/google/apis/partners_v2.rb +1 -1
- data/generated/google/apis/partners_v2/classes.rb +7 -0
- data/generated/google/apis/partners_v2/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/service.rb +4 -0
- data/generated/google/apis/photoslibrary_v1.rb +49 -0
- data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
- data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
- data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +63 -105
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +30 -50
- data/generated/google/apis/pubsub_v1.rb +2 -2
- data/generated/google/apis/pubsub_v1/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
- data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
- data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
- data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
- data/generated/google/apis/redis_v1beta1/service.rb +426 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
- data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
- data/generated/google/apis/reseller_v1/service.rb +54 -90
- data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
- data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
- data/generated/google/apis/runtimeconfig_v1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +29 -7
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/script_v1.rb +8 -2
- data/generated/google/apis/script_v1/classes.rb +3 -3
- data/generated/google/apis/script_v1/service.rb +8 -2
- data/generated/google/apis/servicebroker_v1.rb +36 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
- data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
- data/generated/google/apis/servicebroker_v1/service.rb +168 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
- data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
- data/generated/google/apis/servicecontrol_v1.rb +2 -2
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +2 -2
- data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +421 -0
- data/generated/google/apis/sheets_v4/representations.rb +120 -0
- data/generated/google/apis/site_verification_v1/service.rb +24 -40
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +6 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +160 -8
- data/generated/google/apis/sourcerepo_v1/representations.rb +63 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +99 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +40 -13
- data/generated/google/apis/spanner_v1/service.rb +2 -2
- data/generated/google/apis/spectrum_v1explorer.rb +1 -1
- data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +12 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +76 -0
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +44 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +246 -210
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -6
- data/generated/google/apis/storage_v1/service.rb +144 -240
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +75 -125
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +105 -175
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +19 -122
- data/generated/google/apis/surveys_v2/representations.rb +0 -38
- data/generated/google/apis/surveys_v2/service.rb +27 -157
- data/generated/google/apis/tagmanager_v1/service.rb +153 -255
- data/generated/google/apis/tagmanager_v2/service.rb +222 -370
- data/generated/google/apis/tasks_v1/service.rb +45 -75
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/urlshortener_v1/service.rb +12 -20
- data/generated/google/apis/vault_v1.rb +2 -2
- data/generated/google/apis/vault_v1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +34 -0
- data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
- data/generated/google/apis/videointelligence_v1/service.rb +246 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
- data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
- data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +2001 -105
- data/generated/google/apis/vision_v1/representations.rb +1024 -170
- data/generated/google/apis/vision_v1/service.rb +35 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +4147 -772
- data/generated/google/apis/vision_v1p1beta1/representations.rb +1659 -209
- data/generated/google/apis/vision_v1p1beta1/service.rb +35 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2603 -844
- data/generated/google/apis/vision_v1p2beta1/representations.rb +784 -8
- data/generated/google/apis/vision_v1p2beta1/service.rb +3 -3
- data/generated/google/apis/webfonts_v1/service.rb +6 -10
- data/generated/google/apis/webmasters_v3/service.rb +42 -70
- data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v2.rb +46 -0
- data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
- data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
- data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -168
- data/generated/google/apis/youtube_v3/representations.rb +0 -62
- data/generated/google/apis/youtube_v3/service.rb +216 -415
- data/lib/google/apis/generator/helpers.rb +3 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +55 -39
- data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
- data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
- data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
- data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
- data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
- data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
- data/generated/google/apis/prediction_v1_2.rb +0 -44
- data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
- data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
- data/generated/google/apis/prediction_v1_2/service.rb +0 -287
- data/generated/google/apis/prediction_v1_3.rb +0 -44
- data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
- data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
- data/generated/google/apis/prediction_v1_3/service.rb +0 -284
- data/generated/google/apis/prediction_v1_4.rb +0 -44
- data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
- data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
- data/generated/google/apis/prediction_v1_4/service.rb +0 -284
- data/generated/google/apis/prediction_v1_5.rb +0 -44
- data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
- data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
- data/generated/google/apis/prediction_v1_5/service.rb +0 -357
- data/generated/google/apis/prediction_v1_6.rb +0 -47
- data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
- data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
- data/generated/google/apis/prediction_v1_6/service.rb +0 -381
- data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
- data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
- data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -18,7 +18,7 @@ require 'google/apis/servicecontrol_v1/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Service Control API
|
22
22
|
#
|
23
23
|
# Google Service Control provides control plane functionality to managed
|
24
24
|
# services, such as logging, monitoring, and status checks.
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-control/
|
27
27
|
module ServicecontrolV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20180410'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1100,6 +1100,7 @@ module Google
|
|
1100
1100
|
attr_accessor :resource_container
|
1101
1101
|
|
1102
1102
|
# The resources that are involved in the operation.
|
1103
|
+
# The maximum supported number of entries in this field is 100.
|
1103
1104
|
# Corresponds to the JSON property `resources`
|
1104
1105
|
# @return [Array<Google::Apis::ServicecontrolV1::ResourceInfo>]
|
1105
1106
|
attr_accessor :resources
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module ServicecontrolV1
|
23
|
-
#
|
23
|
+
# Service Control API
|
24
24
|
#
|
25
25
|
# Google Service Control provides control plane functionality to managed
|
26
26
|
# services, such as logging, monitoring, and status checks.
|
@@ -18,7 +18,7 @@ require 'google/apis/servicemanagement_v1/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Service Management API
|
22
22
|
#
|
23
23
|
# Google Service Management allows service producers to publish their services
|
24
24
|
# on Google Cloud Platform so that they can be discovered and used by service
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-management/
|
28
28
|
module ServicemanagementV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180420'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -622,7 +622,7 @@ module Google
|
|
622
622
|
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
623
623
|
# who is authenticated with a Google account or a service account.
|
624
624
|
# * `user:`emailid``: An email address that represents a specific Google
|
625
|
-
# account. For example, `alice@gmail.com`
|
625
|
+
# account. For example, `alice@gmail.com` .
|
626
626
|
# * `serviceAccount:`emailid``: An email address that represents a service
|
627
627
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
628
628
|
# * `group:`emailid``: An email address that represents a Google group.
|
@@ -3051,11 +3051,11 @@ module Google
|
|
3051
3051
|
|
3052
3052
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
3053
3053
|
# specify access control policies for Cloud Platform resources.
|
3054
|
-
# A `Policy` consists of a list of `bindings`. A `
|
3054
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
3055
3055
|
# `members` to a `role`, where the members can be user accounts, Google groups,
|
3056
3056
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
3057
3057
|
# defined by IAM.
|
3058
|
-
# **Example**
|
3058
|
+
# **JSON Example**
|
3059
3059
|
# `
|
3060
3060
|
# "bindings": [
|
3061
3061
|
# `
|
@@ -3064,7 +3064,7 @@ module Google
|
|
3064
3064
|
# "user:mike@example.com",
|
3065
3065
|
# "group:admins@example.com",
|
3066
3066
|
# "domain:google.com",
|
3067
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
3067
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
3068
3068
|
# ]
|
3069
3069
|
# `,
|
3070
3070
|
# `
|
@@ -3073,6 +3073,17 @@ module Google
|
|
3073
3073
|
# `
|
3074
3074
|
# ]
|
3075
3075
|
# `
|
3076
|
+
# **YAML Example**
|
3077
|
+
# bindings:
|
3078
|
+
# - members:
|
3079
|
+
# - user:mike@example.com
|
3080
|
+
# - group:admins@example.com
|
3081
|
+
# - domain:google.com
|
3082
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
3083
|
+
# role: roles/owner
|
3084
|
+
# - members:
|
3085
|
+
# - user:sean@example.com
|
3086
|
+
# role: roles/viewer
|
3076
3087
|
# For a description of IAM and its features, see the
|
3077
3088
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
3078
3089
|
class Policy
|
@@ -3846,11 +3857,11 @@ module Google
|
|
3846
3857
|
|
3847
3858
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
3848
3859
|
# specify access control policies for Cloud Platform resources.
|
3849
|
-
# A `Policy` consists of a list of `bindings`. A `
|
3860
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
3850
3861
|
# `members` to a `role`, where the members can be user accounts, Google groups,
|
3851
3862
|
# Google domains, and service accounts. A `role` is a named list of permissions
|
3852
3863
|
# defined by IAM.
|
3853
|
-
# **Example**
|
3864
|
+
# **JSON Example**
|
3854
3865
|
# `
|
3855
3866
|
# "bindings": [
|
3856
3867
|
# `
|
@@ -3859,7 +3870,7 @@ module Google
|
|
3859
3870
|
# "user:mike@example.com",
|
3860
3871
|
# "group:admins@example.com",
|
3861
3872
|
# "domain:google.com",
|
3862
|
-
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
3873
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
3863
3874
|
# ]
|
3864
3875
|
# `,
|
3865
3876
|
# `
|
@@ -3868,6 +3879,17 @@ module Google
|
|
3868
3879
|
# `
|
3869
3880
|
# ]
|
3870
3881
|
# `
|
3882
|
+
# **YAML Example**
|
3883
|
+
# bindings:
|
3884
|
+
# - members:
|
3885
|
+
# - user:mike@example.com
|
3886
|
+
# - group:admins@example.com
|
3887
|
+
# - domain:google.com
|
3888
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
3889
|
+
# role: roles/owner
|
3890
|
+
# - members:
|
3891
|
+
# - user:sean@example.com
|
3892
|
+
# role: roles/viewer
|
3871
3893
|
# For a description of IAM and its features, see the
|
3872
3894
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
3873
3895
|
# Corresponds to the JSON property `policy`
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
20
20
|
module Google
|
21
21
|
module Apis
|
22
22
|
module ServicemanagementV1
|
23
|
-
#
|
23
|
+
# Service Management API
|
24
24
|
#
|
25
25
|
# Google Service Management allows service producers to publish their services
|
26
26
|
# on Google Cloud Platform so that they can be discovered and used by service
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1beta1
|
29
29
|
VERSION = 'V1beta1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20180503'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -477,6 +477,34 @@ module Google
|
|
477
477
|
end
|
478
478
|
end
|
479
479
|
|
480
|
+
# Response message for the `BatchEnableServices` method.
|
481
|
+
# This response message is assigned to the `response` field of the returned
|
482
|
+
# Operation when that operation is done.
|
483
|
+
class BatchEnableServicesResponse
|
484
|
+
include Google::Apis::Core::Hashable
|
485
|
+
|
486
|
+
# If allow_partial_success is true, and one or more services could not be
|
487
|
+
# enabled, this field contains the details about each failure.
|
488
|
+
# Corresponds to the JSON property `failures`
|
489
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::EnableFailure>]
|
490
|
+
attr_accessor :failures
|
491
|
+
|
492
|
+
# The new state of the services after enabling.
|
493
|
+
# Corresponds to the JSON property `services`
|
494
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service>]
|
495
|
+
attr_accessor :services
|
496
|
+
|
497
|
+
def initialize(**args)
|
498
|
+
update!(**args)
|
499
|
+
end
|
500
|
+
|
501
|
+
# Update properties of this object
|
502
|
+
def update!(**args)
|
503
|
+
@failures = args[:failures] if args.key?(:failures)
|
504
|
+
@services = args[:services] if args.key?(:services)
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
480
508
|
# Billing related configuration of the service.
|
481
509
|
# The following example shows how to configure monitored resources and metrics
|
482
510
|
# for billing:
|
@@ -781,6 +809,27 @@ module Google
|
|
781
809
|
end
|
782
810
|
end
|
783
811
|
|
812
|
+
# Response message for the `DisableService` method.
|
813
|
+
# This response message is assigned to the `response` field of the returned
|
814
|
+
# Operation when that operation is done.
|
815
|
+
class DisableServiceResponse
|
816
|
+
include Google::Apis::Core::Hashable
|
817
|
+
|
818
|
+
# A service that is available for use by the consumer.
|
819
|
+
# Corresponds to the JSON property `service`
|
820
|
+
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service]
|
821
|
+
attr_accessor :service
|
822
|
+
|
823
|
+
def initialize(**args)
|
824
|
+
update!(**args)
|
825
|
+
end
|
826
|
+
|
827
|
+
# Update properties of this object
|
828
|
+
def update!(**args)
|
829
|
+
@service = args[:service] if args.key?(:service)
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
784
833
|
# `Documentation` provides the information for describing a service.
|
785
834
|
# Example:
|
786
835
|
# <pre><code>documentation:
|
@@ -924,6 +973,31 @@ module Google
|
|
924
973
|
end
|
925
974
|
end
|
926
975
|
|
976
|
+
#
|
977
|
+
class EnableFailure
|
978
|
+
include Google::Apis::Core::Hashable
|
979
|
+
|
980
|
+
# An error message describing why the service could not be enabled.
|
981
|
+
# Corresponds to the JSON property `errorMessage`
|
982
|
+
# @return [String]
|
983
|
+
attr_accessor :error_message
|
984
|
+
|
985
|
+
# The service id of a service that could not be enabled.
|
986
|
+
# Corresponds to the JSON property `serviceId`
|
987
|
+
# @return [String]
|
988
|
+
attr_accessor :service_id
|
989
|
+
|
990
|
+
def initialize(**args)
|
991
|
+
update!(**args)
|
992
|
+
end
|
993
|
+
|
994
|
+
# Update properties of this object
|
995
|
+
def update!(**args)
|
996
|
+
@error_message = args[:error_message] if args.key?(:error_message)
|
997
|
+
@service_id = args[:service_id] if args.key?(:service_id)
|
998
|
+
end
|
999
|
+
end
|
1000
|
+
|
927
1001
|
# Request message for the `EnableService` method.
|
928
1002
|
class EnableServiceRequest
|
929
1003
|
include Google::Apis::Core::Hashable
|
@@ -937,6 +1011,27 @@ module Google
|
|
937
1011
|
end
|
938
1012
|
end
|
939
1013
|
|
1014
|
+
# Response message for the `EnableService` method.
|
1015
|
+
# This response message is assigned to the `response` field of the returned
|
1016
|
+
# Operation when that operation is done.
|
1017
|
+
class EnableServiceResponse
|
1018
|
+
include Google::Apis::Core::Hashable
|
1019
|
+
|
1020
|
+
# A service that is available for use by the consumer.
|
1021
|
+
# Corresponds to the JSON property `service`
|
1022
|
+
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1Service]
|
1023
|
+
attr_accessor :service
|
1024
|
+
|
1025
|
+
def initialize(**args)
|
1026
|
+
update!(**args)
|
1027
|
+
end
|
1028
|
+
|
1029
|
+
# Update properties of this object
|
1030
|
+
def update!(**args)
|
1031
|
+
@service = args[:service] if args.key?(:service)
|
1032
|
+
end
|
1033
|
+
end
|
1034
|
+
|
940
1035
|
# `Endpoint` describes a network endpoint that serves a set of APIs.
|
941
1036
|
# A service may expose any number of endpoints, and all endpoints share the
|
942
1037
|
# same service configuration, such as quota configuration and monitoring
|
@@ -1631,6 +1726,210 @@ module Google
|
|
1631
1726
|
end
|
1632
1727
|
end
|
1633
1728
|
|
1729
|
+
# A service that is available for use by the consumer.
|
1730
|
+
class GoogleApiServiceusageV1Service
|
1731
|
+
include Google::Apis::Core::Hashable
|
1732
|
+
|
1733
|
+
# The configuration of the service.
|
1734
|
+
# Corresponds to the JSON property `config`
|
1735
|
+
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1ServiceConfig]
|
1736
|
+
attr_accessor :config
|
1737
|
+
|
1738
|
+
# The resource name of the consumer and service.
|
1739
|
+
# A valid name would be:
|
1740
|
+
# - projects/123/services/serviceusage.googleapis.com
|
1741
|
+
# Corresponds to the JSON property `name`
|
1742
|
+
# @return [String]
|
1743
|
+
attr_accessor :name
|
1744
|
+
|
1745
|
+
# The resource name of the consumer.
|
1746
|
+
# A valid name would be:
|
1747
|
+
# - projects/123
|
1748
|
+
# Corresponds to the JSON property `parent`
|
1749
|
+
# @return [String]
|
1750
|
+
attr_accessor :parent
|
1751
|
+
|
1752
|
+
# Whether or not the service has been enabled for use by the consumer.
|
1753
|
+
# Corresponds to the JSON property `state`
|
1754
|
+
# @return [String]
|
1755
|
+
attr_accessor :state
|
1756
|
+
|
1757
|
+
def initialize(**args)
|
1758
|
+
update!(**args)
|
1759
|
+
end
|
1760
|
+
|
1761
|
+
# Update properties of this object
|
1762
|
+
def update!(**args)
|
1763
|
+
@config = args[:config] if args.key?(:config)
|
1764
|
+
@name = args[:name] if args.key?(:name)
|
1765
|
+
@parent = args[:parent] if args.key?(:parent)
|
1766
|
+
@state = args[:state] if args.key?(:state)
|
1767
|
+
end
|
1768
|
+
end
|
1769
|
+
|
1770
|
+
# The configuration of the service.
|
1771
|
+
class GoogleApiServiceusageV1ServiceConfig
|
1772
|
+
include Google::Apis::Core::Hashable
|
1773
|
+
|
1774
|
+
# A list of API interfaces exported by this service. Contains only the names,
|
1775
|
+
# versions, and method names of the interfaces.
|
1776
|
+
# Corresponds to the JSON property `apis`
|
1777
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Api>]
|
1778
|
+
attr_accessor :apis
|
1779
|
+
|
1780
|
+
# `Authentication` defines the authentication configuration for an API.
|
1781
|
+
# Example for an API targeted for external use:
|
1782
|
+
# name: calendar.googleapis.com
|
1783
|
+
# authentication:
|
1784
|
+
# providers:
|
1785
|
+
# - id: google_calendar_auth
|
1786
|
+
# jwks_uri: https://www.googleapis.com/oauth2/v1/certs
|
1787
|
+
# issuer: https://securetoken.google.com
|
1788
|
+
# rules:
|
1789
|
+
# - selector: "*"
|
1790
|
+
# requirements:
|
1791
|
+
# provider_id: google_calendar_auth
|
1792
|
+
# Corresponds to the JSON property `authentication`
|
1793
|
+
# @return [Google::Apis::ServiceusageV1beta1::Authentication]
|
1794
|
+
attr_accessor :authentication
|
1795
|
+
|
1796
|
+
# `Documentation` provides the information for describing a service.
|
1797
|
+
# Example:
|
1798
|
+
# <pre><code>documentation:
|
1799
|
+
# summary: >
|
1800
|
+
# The Google Calendar API gives access
|
1801
|
+
# to most calendar features.
|
1802
|
+
# pages:
|
1803
|
+
# - name: Overview
|
1804
|
+
# content: (== include google/foo/overview.md ==)
|
1805
|
+
# - name: Tutorial
|
1806
|
+
# content: (== include google/foo/tutorial.md ==)
|
1807
|
+
# subpages;
|
1808
|
+
# - name: Java
|
1809
|
+
# content: (== include google/foo/tutorial_java.md ==)
|
1810
|
+
# rules:
|
1811
|
+
# - selector: google.calendar.Calendar.Get
|
1812
|
+
# description: >
|
1813
|
+
# ...
|
1814
|
+
# - selector: google.calendar.Calendar.Put
|
1815
|
+
# description: >
|
1816
|
+
# ...
|
1817
|
+
# </code></pre>
|
1818
|
+
# Documentation is provided in markdown syntax. In addition to
|
1819
|
+
# standard markdown features, definition lists, tables and fenced
|
1820
|
+
# code blocks are supported. Section headers can be provided and are
|
1821
|
+
# interpreted relative to the section nesting of the context where
|
1822
|
+
# a documentation fragment is embedded.
|
1823
|
+
# Documentation from the IDL is merged with documentation defined
|
1824
|
+
# via the config at normalization time, where documentation provided
|
1825
|
+
# by config rules overrides IDL provided.
|
1826
|
+
# A number of constructs specific to the API platform are supported
|
1827
|
+
# in documentation text.
|
1828
|
+
# In order to reference a proto element, the following
|
1829
|
+
# notation can be used:
|
1830
|
+
# <pre><code>[fully.qualified.proto.name][]</code></pre>
|
1831
|
+
# To override the display text used for the link, this can be used:
|
1832
|
+
# <pre><code>[display text][fully.qualified.proto.name]</code></pre>
|
1833
|
+
# Text can be excluded from doc using the following notation:
|
1834
|
+
# <pre><code>(-- internal comment --)</code></pre>
|
1835
|
+
# A few directives are available in documentation. Note that
|
1836
|
+
# directives must appear on a single line to be properly
|
1837
|
+
# identified. The `include` directive includes a markdown file from
|
1838
|
+
# an external source:
|
1839
|
+
# <pre><code>(== include path/to/file ==)</code></pre>
|
1840
|
+
# The `resource_for` directive marks a message to be the resource of
|
1841
|
+
# a collection in REST view. If it is not specified, tools attempt
|
1842
|
+
# to infer the resource from the operations in a collection:
|
1843
|
+
# <pre><code>(== resource_for v1.shelves.books ==)</code></pre>
|
1844
|
+
# The directive `suppress_warning` does not directly affect documentation
|
1845
|
+
# and is documented together with service config validation.
|
1846
|
+
# Corresponds to the JSON property `documentation`
|
1847
|
+
# @return [Google::Apis::ServiceusageV1beta1::Documentation]
|
1848
|
+
attr_accessor :documentation
|
1849
|
+
|
1850
|
+
# Configuration for network endpoints. Contains only the names and aliases
|
1851
|
+
# of the endpoints.
|
1852
|
+
# Corresponds to the JSON property `endpoints`
|
1853
|
+
# @return [Array<Google::Apis::ServiceusageV1beta1::Endpoint>]
|
1854
|
+
attr_accessor :endpoints
|
1855
|
+
|
1856
|
+
# The DNS address at which this service is available.
|
1857
|
+
# An example DNS address would be:
|
1858
|
+
# `calendar.googleapis.com`.
|
1859
|
+
# Corresponds to the JSON property `name`
|
1860
|
+
# @return [String]
|
1861
|
+
attr_accessor :name
|
1862
|
+
|
1863
|
+
# Quota configuration helps to achieve fairness and budgeting in service
|
1864
|
+
# usage.
|
1865
|
+
# The quota configuration works this way:
|
1866
|
+
# - The service configuration defines a set of metrics.
|
1867
|
+
# - For API calls, the quota.metric_rules maps methods to metrics with
|
1868
|
+
# corresponding costs.
|
1869
|
+
# - The quota.limits defines limits on the metrics, which will be used for
|
1870
|
+
# quota checks at runtime.
|
1871
|
+
# An example quota configuration in yaml format:
|
1872
|
+
# quota:
|
1873
|
+
# - name: apiWriteQpsPerProject
|
1874
|
+
# metric: library.googleapis.com/write_calls
|
1875
|
+
# unit: "1/min/`project`" # rate limit for consumer projects
|
1876
|
+
# values:
|
1877
|
+
# STANDARD: 10000
|
1878
|
+
# # The metric rules bind all methods to the read_calls metric,
|
1879
|
+
# # except for the UpdateBook and DeleteBook methods. These two methods
|
1880
|
+
# # are mapped to the write_calls metric, with the UpdateBook method
|
1881
|
+
# # consuming at twice rate as the DeleteBook method.
|
1882
|
+
# metric_rules:
|
1883
|
+
# - selector: "*"
|
1884
|
+
# metric_costs:
|
1885
|
+
# library.googleapis.com/read_calls: 1
|
1886
|
+
# - selector: google.example.library.v1.LibraryService.UpdateBook
|
1887
|
+
# metric_costs:
|
1888
|
+
# library.googleapis.com/write_calls: 2
|
1889
|
+
# - selector: google.example.library.v1.LibraryService.DeleteBook
|
1890
|
+
# metric_costs:
|
1891
|
+
# library.googleapis.com/write_calls: 1
|
1892
|
+
# Corresponding Metric definition:
|
1893
|
+
# metrics:
|
1894
|
+
# - name: library.googleapis.com/read_calls
|
1895
|
+
# display_name: Read requests
|
1896
|
+
# metric_kind: DELTA
|
1897
|
+
# value_type: INT64
|
1898
|
+
# - name: library.googleapis.com/write_calls
|
1899
|
+
# display_name: Write requests
|
1900
|
+
# metric_kind: DELTA
|
1901
|
+
# value_type: INT64
|
1902
|
+
# Corresponds to the JSON property `quota`
|
1903
|
+
# @return [Google::Apis::ServiceusageV1beta1::Quota]
|
1904
|
+
attr_accessor :quota
|
1905
|
+
|
1906
|
+
# The product title for this service.
|
1907
|
+
# Corresponds to the JSON property `title`
|
1908
|
+
# @return [String]
|
1909
|
+
attr_accessor :title
|
1910
|
+
|
1911
|
+
# Configuration controlling usage of a service.
|
1912
|
+
# Corresponds to the JSON property `usage`
|
1913
|
+
# @return [Google::Apis::ServiceusageV1beta1::Usage]
|
1914
|
+
attr_accessor :usage
|
1915
|
+
|
1916
|
+
def initialize(**args)
|
1917
|
+
update!(**args)
|
1918
|
+
end
|
1919
|
+
|
1920
|
+
# Update properties of this object
|
1921
|
+
def update!(**args)
|
1922
|
+
@apis = args[:apis] if args.key?(:apis)
|
1923
|
+
@authentication = args[:authentication] if args.key?(:authentication)
|
1924
|
+
@documentation = args[:documentation] if args.key?(:documentation)
|
1925
|
+
@endpoints = args[:endpoints] if args.key?(:endpoints)
|
1926
|
+
@name = args[:name] if args.key?(:name)
|
1927
|
+
@quota = args[:quota] if args.key?(:quota)
|
1928
|
+
@title = args[:title] if args.key?(:title)
|
1929
|
+
@usage = args[:usage] if args.key?(:usage)
|
1930
|
+
end
|
1931
|
+
end
|
1932
|
+
|
1634
1933
|
# Defines the HTTP configuration for an API service. It contains a list of
|
1635
1934
|
# HttpRule, each specifying the mapping of an RPC method
|
1636
1935
|
# to one or more HTTP REST API methods.
|