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
@@ -250,6 +250,41 @@ module Google
|
|
250
250
|
execute_or_queue_command(command, &block)
|
251
251
|
end
|
252
252
|
|
253
|
+
# Enables VPC service controls for a connection.
|
254
|
+
# @param [String] parent
|
255
|
+
# The service that is managing peering connectivity for a service producer's
|
256
|
+
# organization. For Google services that support this functionality, this
|
257
|
+
# value is `services/servicenetworking.googleapis.com`.
|
258
|
+
# @param [Google::Apis::ServicenetworkingV1::EnableVpcServiceControlsRequest] enable_vpc_service_controls_request_object
|
259
|
+
# @param [String] fields
|
260
|
+
# Selector specifying which fields to include in a partial response.
|
261
|
+
# @param [String] quota_user
|
262
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
263
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
264
|
+
# @param [Google::Apis::RequestOptions] options
|
265
|
+
# Request-specific options
|
266
|
+
#
|
267
|
+
# @yield [result, err] Result & error if block supplied
|
268
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::Operation] parsed result object
|
269
|
+
# @yieldparam err [StandardError] error object if request failed
|
270
|
+
#
|
271
|
+
# @return [Google::Apis::ServicenetworkingV1::Operation]
|
272
|
+
#
|
273
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
274
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
275
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
276
|
+
def enable_vpc_service_controls(parent, enable_vpc_service_controls_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
277
|
+
command = make_simple_command(:patch, 'v1/{+parent}:enableVpcServiceControls', options)
|
278
|
+
command.request_representation = Google::Apis::ServicenetworkingV1::EnableVpcServiceControlsRequest::Representation
|
279
|
+
command.request_object = enable_vpc_service_controls_request_object
|
280
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::Operation::Representation
|
281
|
+
command.response_class = Google::Apis::ServicenetworkingV1::Operation
|
282
|
+
command.params['parent'] = parent unless parent.nil?
|
283
|
+
command.query['fields'] = fields unless fields.nil?
|
284
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
285
|
+
execute_or_queue_command(command, &block)
|
286
|
+
end
|
287
|
+
|
253
288
|
# Service producers can use this method to find a currently unused range
|
254
289
|
# within consumer allocated ranges. This returned range is not reserved,
|
255
290
|
# and not guaranteed to remain unused.
|
@@ -259,9 +294,9 @@ module Google
|
|
259
294
|
# notation).
|
260
295
|
# Operation<response: Range>
|
261
296
|
# @param [String] parent
|
262
|
-
# Required. This is in a form services/`service`.
|
263
|
-
#
|
264
|
-
# 'service-peering.example.com'.
|
297
|
+
# Required. This is in a form services/`service`. `service` the name of the
|
298
|
+
# private
|
299
|
+
# access management service, for example 'service-peering.example.com'.
|
265
300
|
# @param [Google::Apis::ServicenetworkingV1::SearchRangeRequest] search_range_request_object
|
266
301
|
# @param [String] fields
|
267
302
|
# Selector specifying which fields to include in a partial response.
|
@@ -292,6 +327,45 @@ module Google
|
|
292
327
|
execute_or_queue_command(command, &block)
|
293
328
|
end
|
294
329
|
|
330
|
+
# Service producers use this method to validate if the consumer provided
|
331
|
+
# network, project and the requested range is valid. This allows them to use
|
332
|
+
# a fail-fast mechanism for consumer requests, and not have to wait for
|
333
|
+
# AddSubnetwork operation completion to determine if user request is invalid.
|
334
|
+
# @param [String] parent
|
335
|
+
# Required. This is in a form services/`service` where `service` is the name of
|
336
|
+
# the
|
337
|
+
# private access management service. For example
|
338
|
+
# 'service-peering.example.com'.
|
339
|
+
# @param [Google::Apis::ServicenetworkingV1::ValidateConsumerConfigRequest] validate_consumer_config_request_object
|
340
|
+
# @param [String] fields
|
341
|
+
# Selector specifying which fields to include in a partial response.
|
342
|
+
# @param [String] quota_user
|
343
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
344
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
345
|
+
# @param [Google::Apis::RequestOptions] options
|
346
|
+
# Request-specific options
|
347
|
+
#
|
348
|
+
# @yield [result, err] Result & error if block supplied
|
349
|
+
# @yieldparam result [Google::Apis::ServicenetworkingV1::ValidateConsumerConfigResponse] parsed result object
|
350
|
+
# @yieldparam err [StandardError] error object if request failed
|
351
|
+
#
|
352
|
+
# @return [Google::Apis::ServicenetworkingV1::ValidateConsumerConfigResponse]
|
353
|
+
#
|
354
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
355
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
356
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
357
|
+
def validate_service_consumer_config(parent, validate_consumer_config_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
358
|
+
command = make_simple_command(:post, 'v1/{+parent}:validate', options)
|
359
|
+
command.request_representation = Google::Apis::ServicenetworkingV1::ValidateConsumerConfigRequest::Representation
|
360
|
+
command.request_object = validate_consumer_config_request_object
|
361
|
+
command.response_representation = Google::Apis::ServicenetworkingV1::ValidateConsumerConfigResponse::Representation
|
362
|
+
command.response_class = Google::Apis::ServicenetworkingV1::ValidateConsumerConfigResponse
|
363
|
+
command.params['parent'] = parent unless parent.nil?
|
364
|
+
command.query['fields'] = fields unless fields.nil?
|
365
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
366
|
+
execute_or_queue_command(command, &block)
|
367
|
+
end
|
368
|
+
|
295
369
|
# Creates a private connection that establishes a VPC Network Peering
|
296
370
|
# connection to a VPC network in the service producer's organization.
|
297
371
|
# The administrator of the service consumer's VPC network invokes this
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
27
27
|
module ServicenetworkingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191203'
|
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'
|
@@ -1867,42 +1867,19 @@ module Google
|
|
1867
1867
|
# @return [String]
|
1868
1868
|
attr_accessor :type
|
1869
1869
|
|
1870
|
-
#
|
1871
|
-
#
|
1872
|
-
#
|
1873
|
-
#
|
1874
|
-
#
|
1875
|
-
# * `bit` bit
|
1876
|
-
# * `By` byte
|
1877
|
-
# * `s` second
|
1878
|
-
# * `min` minute
|
1879
|
-
# * `h` hour
|
1880
|
-
# * `d` day
|
1881
|
-
# **Prefixes (PREFIX)**
|
1882
|
-
# * `k` kilo (10**3)
|
1883
|
-
# * `M` mega (10**6)
|
1884
|
-
# * `G` giga (10**9)
|
1885
|
-
# * `T` tera (10**12)
|
1886
|
-
# * `P` peta (10**15)
|
1887
|
-
# * `E` exa (10**18)
|
1888
|
-
# * `Z` zetta (10**21)
|
1889
|
-
# * `Y` yotta (10**24)
|
1890
|
-
# * `m` milli (10**-3)
|
1891
|
-
# * `u` micro (10**-6)
|
1892
|
-
# * `n` nano (10**-9)
|
1893
|
-
# * `p` pico (10**-12)
|
1894
|
-
# * `f` femto (10**-15)
|
1895
|
-
# * `a` atto (10**-18)
|
1896
|
-
# * `z` zepto (10**-21)
|
1897
|
-
# * `y` yocto (10**-24)
|
1898
|
-
# * `Ki` kibi (2**10)
|
1899
|
-
# * `Mi` mebi (2**20)
|
1900
|
-
# * `Gi` gibi (2**30)
|
1901
|
-
# * `Ti` tebi (2**40)
|
1870
|
+
# * `Ki` kibi (2^10)
|
1871
|
+
# * `Mi` mebi (2^20)
|
1872
|
+
# * `Gi` gibi (2^30)
|
1873
|
+
# * `Ti` tebi (2^40)
|
1874
|
+
# * `Pi` pebi (2^50)
|
1902
1875
|
# **Grammar**
|
1903
1876
|
# The grammar also includes these connectors:
|
1904
|
-
# * `/` division (as an infix operator
|
1905
|
-
#
|
1877
|
+
# * `/` division or ratio (as an infix operator). For examples,
|
1878
|
+
# `kBy/`email`` or `MiBy/10ms` (although you should almost never
|
1879
|
+
# have `/s` in a metric `unit`; rates should always be computed at
|
1880
|
+
# query time from the underlying cumulative or delta value).
|
1881
|
+
# * `.` multiplication or composition (as an infix operator). For
|
1882
|
+
# examples, `GBy.d` or `k`watt`.h`.
|
1906
1883
|
# The grammar for a unit is as follows:
|
1907
1884
|
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
1908
1885
|
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
@@ -1911,14 +1888,25 @@ module Google
|
|
1911
1888
|
# ;
|
1912
1889
|
# Annotation = "`" NAME "`" ;
|
1913
1890
|
# Notes:
|
1914
|
-
# * `Annotation` is just a comment if it follows a `UNIT
|
1915
|
-
#
|
1916
|
-
# ``
|
1891
|
+
# * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
|
1892
|
+
# is used alone, then the unit is equivalent to `1`. For examples,
|
1893
|
+
# ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
|
1917
1894
|
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
1918
|
-
# containing
|
1919
|
-
# * `1` represents
|
1920
|
-
#
|
1921
|
-
#
|
1895
|
+
# containing ``` or ```.
|
1896
|
+
# * `1` represents a unitary [dimensionless
|
1897
|
+
# unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
|
1898
|
+
# as in `1/s`. It is typically used when none of the basic units are
|
1899
|
+
# appropriate. For example, "new users per day" can be represented as
|
1900
|
+
# `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
|
1901
|
+
# users). Alternatively, "thousands of page views per day" would be
|
1902
|
+
# represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
|
1903
|
+
# value of `5.3` would mean "5300 page views per day").
|
1904
|
+
# * `%` represents dimensionless value of 1/100, and annotates values giving
|
1905
|
+
# a percentage (so the metric values are typically in the range of 0..100,
|
1906
|
+
# and a metric value `3` means "3 percent").
|
1907
|
+
# * `10^2.%` indicates a metric contains a ratio, typically in the range
|
1908
|
+
# 0..1, that will be multiplied by 100 and displayed as a percentage
|
1909
|
+
# (so a metric value `0.03` means "3 percent").
|
1922
1910
|
# Corresponds to the JSON property `unit`
|
1923
1911
|
# @return [String]
|
1924
1912
|
attr_accessor :unit
|
@@ -2903,8 +2891,9 @@ module Google
|
|
2903
2891
|
attr_accessor :http
|
2904
2892
|
|
2905
2893
|
# A unique ID for a specific instance of this message, typically assigned
|
2906
|
-
# by the client for tracking purpose.
|
2907
|
-
#
|
2894
|
+
# by the client for tracking purpose. Must be no longer than 63 characters
|
2895
|
+
# and only lower case letters, digits, '.', '_' and '-' are allowed. If
|
2896
|
+
# empty, the server may choose to generate one instead.
|
2908
2897
|
# Corresponds to the JSON property `id`
|
2909
2898
|
# @return [String]
|
2910
2899
|
attr_accessor :id
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started
|
27
27
|
module ServicenetworkingV1beta
|
28
28
|
VERSION = 'V1beta'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191203'
|
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'
|
@@ -1505,8 +1505,9 @@ module Google
|
|
1505
1505
|
attr_accessor :http
|
1506
1506
|
|
1507
1507
|
# A unique ID for a specific instance of this message, typically assigned
|
1508
|
-
# by the client for tracking purpose.
|
1509
|
-
#
|
1508
|
+
# by the client for tracking purpose. Must be no longer than 63 characters
|
1509
|
+
# and only lower case letters, digits, '.', '_' and '-' are allowed. If
|
1510
|
+
# empty, the server may choose to generate one instead.
|
1510
1511
|
# Corresponds to the JSON property `id`
|
1511
1512
|
# @return [String]
|
1512
1513
|
attr_accessor :id
|
@@ -1959,6 +1960,61 @@ module Google
|
|
1959
1960
|
end
|
1960
1961
|
end
|
1961
1962
|
|
1963
|
+
# Response message for getting service identity.
|
1964
|
+
class GoogleApiServiceusageV1beta1GetServiceIdentityResponse
|
1965
|
+
include Google::Apis::Core::Hashable
|
1966
|
+
|
1967
|
+
# Service identity for a service. This is the identity that service producer
|
1968
|
+
# should use to access consumer resources.
|
1969
|
+
# Corresponds to the JSON property `identity`
|
1970
|
+
# @return [Google::Apis::ServiceusageV1::GoogleApiServiceusageV1beta1ServiceIdentity]
|
1971
|
+
attr_accessor :identity
|
1972
|
+
|
1973
|
+
# Service identity state.
|
1974
|
+
# Corresponds to the JSON property `state`
|
1975
|
+
# @return [String]
|
1976
|
+
attr_accessor :state
|
1977
|
+
|
1978
|
+
def initialize(**args)
|
1979
|
+
update!(**args)
|
1980
|
+
end
|
1981
|
+
|
1982
|
+
# Update properties of this object
|
1983
|
+
def update!(**args)
|
1984
|
+
@identity = args[:identity] if args.key?(:identity)
|
1985
|
+
@state = args[:state] if args.key?(:state)
|
1986
|
+
end
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
# Service identity for a service. This is the identity that service producer
|
1990
|
+
# should use to access consumer resources.
|
1991
|
+
class GoogleApiServiceusageV1beta1ServiceIdentity
|
1992
|
+
include Google::Apis::Core::Hashable
|
1993
|
+
|
1994
|
+
# The email address of the service account that a service producer would use
|
1995
|
+
# to access consumer resources.
|
1996
|
+
# Corresponds to the JSON property `email`
|
1997
|
+
# @return [String]
|
1998
|
+
attr_accessor :email
|
1999
|
+
|
2000
|
+
# The unique and stable id of the service account.
|
2001
|
+
# https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#
|
2002
|
+
# ServiceAccount
|
2003
|
+
# Corresponds to the JSON property `uniqueId`
|
2004
|
+
# @return [String]
|
2005
|
+
attr_accessor :unique_id
|
2006
|
+
|
2007
|
+
def initialize(**args)
|
2008
|
+
update!(**args)
|
2009
|
+
end
|
2010
|
+
|
2011
|
+
# Update properties of this object
|
2012
|
+
def update!(**args)
|
2013
|
+
@email = args[:email] if args.key?(:email)
|
2014
|
+
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
2015
|
+
end
|
2016
|
+
end
|
2017
|
+
|
1962
2018
|
# Defines the HTTP configuration for an API service. It contains a list of
|
1963
2019
|
# HttpRule, each specifying the mapping of an RPC method
|
1964
2020
|
# to one or more HTTP REST API methods.
|
@@ -2645,42 +2701,19 @@ module Google
|
|
2645
2701
|
# @return [String]
|
2646
2702
|
attr_accessor :type
|
2647
2703
|
|
2648
|
-
#
|
2649
|
-
#
|
2650
|
-
#
|
2651
|
-
#
|
2652
|
-
#
|
2653
|
-
# * `bit` bit
|
2654
|
-
# * `By` byte
|
2655
|
-
# * `s` second
|
2656
|
-
# * `min` minute
|
2657
|
-
# * `h` hour
|
2658
|
-
# * `d` day
|
2659
|
-
# **Prefixes (PREFIX)**
|
2660
|
-
# * `k` kilo (10**3)
|
2661
|
-
# * `M` mega (10**6)
|
2662
|
-
# * `G` giga (10**9)
|
2663
|
-
# * `T` tera (10**12)
|
2664
|
-
# * `P` peta (10**15)
|
2665
|
-
# * `E` exa (10**18)
|
2666
|
-
# * `Z` zetta (10**21)
|
2667
|
-
# * `Y` yotta (10**24)
|
2668
|
-
# * `m` milli (10**-3)
|
2669
|
-
# * `u` micro (10**-6)
|
2670
|
-
# * `n` nano (10**-9)
|
2671
|
-
# * `p` pico (10**-12)
|
2672
|
-
# * `f` femto (10**-15)
|
2673
|
-
# * `a` atto (10**-18)
|
2674
|
-
# * `z` zepto (10**-21)
|
2675
|
-
# * `y` yocto (10**-24)
|
2676
|
-
# * `Ki` kibi (2**10)
|
2677
|
-
# * `Mi` mebi (2**20)
|
2678
|
-
# * `Gi` gibi (2**30)
|
2679
|
-
# * `Ti` tebi (2**40)
|
2704
|
+
# * `Ki` kibi (2^10)
|
2705
|
+
# * `Mi` mebi (2^20)
|
2706
|
+
# * `Gi` gibi (2^30)
|
2707
|
+
# * `Ti` tebi (2^40)
|
2708
|
+
# * `Pi` pebi (2^50)
|
2680
2709
|
# **Grammar**
|
2681
2710
|
# The grammar also includes these connectors:
|
2682
|
-
# * `/` division (as an infix operator
|
2683
|
-
#
|
2711
|
+
# * `/` division or ratio (as an infix operator). For examples,
|
2712
|
+
# `kBy/`email`` or `MiBy/10ms` (although you should almost never
|
2713
|
+
# have `/s` in a metric `unit`; rates should always be computed at
|
2714
|
+
# query time from the underlying cumulative or delta value).
|
2715
|
+
# * `.` multiplication or composition (as an infix operator). For
|
2716
|
+
# examples, `GBy.d` or `k`watt`.h`.
|
2684
2717
|
# The grammar for a unit is as follows:
|
2685
2718
|
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
2686
2719
|
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
@@ -2689,14 +2722,25 @@ module Google
|
|
2689
2722
|
# ;
|
2690
2723
|
# Annotation = "`" NAME "`" ;
|
2691
2724
|
# Notes:
|
2692
|
-
# * `Annotation` is just a comment if it follows a `UNIT
|
2693
|
-
#
|
2694
|
-
# ``
|
2725
|
+
# * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
|
2726
|
+
# is used alone, then the unit is equivalent to `1`. For examples,
|
2727
|
+
# ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
|
2695
2728
|
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
2696
|
-
# containing
|
2697
|
-
# * `1` represents
|
2698
|
-
#
|
2699
|
-
#
|
2729
|
+
# containing ``` or ```.
|
2730
|
+
# * `1` represents a unitary [dimensionless
|
2731
|
+
# unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
|
2732
|
+
# as in `1/s`. It is typically used when none of the basic units are
|
2733
|
+
# appropriate. For example, "new users per day" can be represented as
|
2734
|
+
# `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
|
2735
|
+
# users). Alternatively, "thousands of page views per day" would be
|
2736
|
+
# represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
|
2737
|
+
# value of `5.3` would mean "5300 page views per day").
|
2738
|
+
# * `%` represents dimensionless value of 1/100, and annotates values giving
|
2739
|
+
# a percentage (so the metric values are typically in the range of 0..100,
|
2740
|
+
# and a metric value `3` means "3 percent").
|
2741
|
+
# * `10^2.%` indicates a metric contains a ratio, typically in the range
|
2742
|
+
# 0..1, that will be multiplied by 100 and displayed as a percentage
|
2743
|
+
# (so a metric value `0.03` means "3 percent").
|
2700
2744
|
# Corresponds to the JSON property `unit`
|
2701
2745
|
# @return [String]
|
2702
2746
|
attr_accessor :unit
|
@@ -244,6 +244,18 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
+
class GoogleApiServiceusageV1beta1GetServiceIdentityResponse
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
253
|
+
class GoogleApiServiceusageV1beta1ServiceIdentity
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
|
+
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
257
|
+
end
|
258
|
+
|
247
259
|
class Http
|
248
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
261
|
|
@@ -853,6 +865,23 @@ module Google
|
|
853
865
|
end
|
854
866
|
end
|
855
867
|
|
868
|
+
class GoogleApiServiceusageV1beta1GetServiceIdentityResponse
|
869
|
+
# @private
|
870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
871
|
+
property :identity, as: 'identity', class: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1beta1ServiceIdentity, decorator: Google::Apis::ServiceusageV1::GoogleApiServiceusageV1beta1ServiceIdentity::Representation
|
872
|
+
|
873
|
+
property :state, as: 'state'
|
874
|
+
end
|
875
|
+
end
|
876
|
+
|
877
|
+
class GoogleApiServiceusageV1beta1ServiceIdentity
|
878
|
+
# @private
|
879
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
880
|
+
property :email, as: 'email'
|
881
|
+
property :unique_id, as: 'uniqueId'
|
882
|
+
end
|
883
|
+
end
|
884
|
+
|
856
885
|
class Http
|
857
886
|
# @private
|
858
887
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/service-usage/
|
28
28
|
module ServiceusageV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20191203'
|
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'
|
@@ -1483,8 +1483,9 @@ module Google
|
|
1483
1483
|
attr_accessor :http
|
1484
1484
|
|
1485
1485
|
# A unique ID for a specific instance of this message, typically assigned
|
1486
|
-
# by the client for tracking purpose.
|
1487
|
-
#
|
1486
|
+
# by the client for tracking purpose. Must be no longer than 63 characters
|
1487
|
+
# and only lower case letters, digits, '.', '_' and '-' are allowed. If
|
1488
|
+
# empty, the server may choose to generate one instead.
|
1488
1489
|
# Corresponds to the JSON property `id`
|
1489
1490
|
# @return [String]
|
1490
1491
|
attr_accessor :id
|
@@ -1937,6 +1938,61 @@ module Google
|
|
1937
1938
|
end
|
1938
1939
|
end
|
1939
1940
|
|
1941
|
+
# Response message for getting service identity.
|
1942
|
+
class GoogleApiServiceusageV1beta1GetServiceIdentityResponse
|
1943
|
+
include Google::Apis::Core::Hashable
|
1944
|
+
|
1945
|
+
# Service identity for a service. This is the identity that service producer
|
1946
|
+
# should use to access consumer resources.
|
1947
|
+
# Corresponds to the JSON property `identity`
|
1948
|
+
# @return [Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1beta1ServiceIdentity]
|
1949
|
+
attr_accessor :identity
|
1950
|
+
|
1951
|
+
# Service identity state.
|
1952
|
+
# Corresponds to the JSON property `state`
|
1953
|
+
# @return [String]
|
1954
|
+
attr_accessor :state
|
1955
|
+
|
1956
|
+
def initialize(**args)
|
1957
|
+
update!(**args)
|
1958
|
+
end
|
1959
|
+
|
1960
|
+
# Update properties of this object
|
1961
|
+
def update!(**args)
|
1962
|
+
@identity = args[:identity] if args.key?(:identity)
|
1963
|
+
@state = args[:state] if args.key?(:state)
|
1964
|
+
end
|
1965
|
+
end
|
1966
|
+
|
1967
|
+
# Service identity for a service. This is the identity that service producer
|
1968
|
+
# should use to access consumer resources.
|
1969
|
+
class GoogleApiServiceusageV1beta1ServiceIdentity
|
1970
|
+
include Google::Apis::Core::Hashable
|
1971
|
+
|
1972
|
+
# The email address of the service account that a service producer would use
|
1973
|
+
# to access consumer resources.
|
1974
|
+
# Corresponds to the JSON property `email`
|
1975
|
+
# @return [String]
|
1976
|
+
attr_accessor :email
|
1977
|
+
|
1978
|
+
# The unique and stable id of the service account.
|
1979
|
+
# https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts#
|
1980
|
+
# ServiceAccount
|
1981
|
+
# Corresponds to the JSON property `uniqueId`
|
1982
|
+
# @return [String]
|
1983
|
+
attr_accessor :unique_id
|
1984
|
+
|
1985
|
+
def initialize(**args)
|
1986
|
+
update!(**args)
|
1987
|
+
end
|
1988
|
+
|
1989
|
+
# Update properties of this object
|
1990
|
+
def update!(**args)
|
1991
|
+
@email = args[:email] if args.key?(:email)
|
1992
|
+
@unique_id = args[:unique_id] if args.key?(:unique_id)
|
1993
|
+
end
|
1994
|
+
end
|
1995
|
+
|
1940
1996
|
# Defines the HTTP configuration for an API service. It contains a list of
|
1941
1997
|
# HttpRule, each specifying the mapping of an RPC method
|
1942
1998
|
# to one or more HTTP REST API methods.
|
@@ -2623,42 +2679,19 @@ module Google
|
|
2623
2679
|
# @return [String]
|
2624
2680
|
attr_accessor :type
|
2625
2681
|
|
2626
|
-
#
|
2627
|
-
#
|
2628
|
-
#
|
2629
|
-
#
|
2630
|
-
#
|
2631
|
-
# * `bit` bit
|
2632
|
-
# * `By` byte
|
2633
|
-
# * `s` second
|
2634
|
-
# * `min` minute
|
2635
|
-
# * `h` hour
|
2636
|
-
# * `d` day
|
2637
|
-
# **Prefixes (PREFIX)**
|
2638
|
-
# * `k` kilo (10**3)
|
2639
|
-
# * `M` mega (10**6)
|
2640
|
-
# * `G` giga (10**9)
|
2641
|
-
# * `T` tera (10**12)
|
2642
|
-
# * `P` peta (10**15)
|
2643
|
-
# * `E` exa (10**18)
|
2644
|
-
# * `Z` zetta (10**21)
|
2645
|
-
# * `Y` yotta (10**24)
|
2646
|
-
# * `m` milli (10**-3)
|
2647
|
-
# * `u` micro (10**-6)
|
2648
|
-
# * `n` nano (10**-9)
|
2649
|
-
# * `p` pico (10**-12)
|
2650
|
-
# * `f` femto (10**-15)
|
2651
|
-
# * `a` atto (10**-18)
|
2652
|
-
# * `z` zepto (10**-21)
|
2653
|
-
# * `y` yocto (10**-24)
|
2654
|
-
# * `Ki` kibi (2**10)
|
2655
|
-
# * `Mi` mebi (2**20)
|
2656
|
-
# * `Gi` gibi (2**30)
|
2657
|
-
# * `Ti` tebi (2**40)
|
2682
|
+
# * `Ki` kibi (2^10)
|
2683
|
+
# * `Mi` mebi (2^20)
|
2684
|
+
# * `Gi` gibi (2^30)
|
2685
|
+
# * `Ti` tebi (2^40)
|
2686
|
+
# * `Pi` pebi (2^50)
|
2658
2687
|
# **Grammar**
|
2659
2688
|
# The grammar also includes these connectors:
|
2660
|
-
# * `/` division (as an infix operator
|
2661
|
-
#
|
2689
|
+
# * `/` division or ratio (as an infix operator). For examples,
|
2690
|
+
# `kBy/`email`` or `MiBy/10ms` (although you should almost never
|
2691
|
+
# have `/s` in a metric `unit`; rates should always be computed at
|
2692
|
+
# query time from the underlying cumulative or delta value).
|
2693
|
+
# * `.` multiplication or composition (as an infix operator). For
|
2694
|
+
# examples, `GBy.d` or `k`watt`.h`.
|
2662
2695
|
# The grammar for a unit is as follows:
|
2663
2696
|
# Expression = Component ` "." Component ` ` "/" Component ` ;
|
2664
2697
|
# Component = ( [ PREFIX ] UNIT | "%" ) [ Annotation ]
|
@@ -2667,14 +2700,25 @@ module Google
|
|
2667
2700
|
# ;
|
2668
2701
|
# Annotation = "`" NAME "`" ;
|
2669
2702
|
# Notes:
|
2670
|
-
# * `Annotation` is just a comment if it follows a `UNIT
|
2671
|
-
#
|
2672
|
-
# ``
|
2703
|
+
# * `Annotation` is just a comment if it follows a `UNIT`. If the annotation
|
2704
|
+
# is used alone, then the unit is equivalent to `1`. For examples,
|
2705
|
+
# ``request`/s == 1/s`, `By`transmitted`/s == By/s`.
|
2673
2706
|
# * `NAME` is a sequence of non-blank printable ASCII characters not
|
2674
|
-
# containing
|
2675
|
-
# * `1` represents
|
2676
|
-
#
|
2677
|
-
#
|
2707
|
+
# containing ``` or ```.
|
2708
|
+
# * `1` represents a unitary [dimensionless
|
2709
|
+
# unit](https://en.wikipedia.org/wiki/Dimensionless_quantity) of 1, such
|
2710
|
+
# as in `1/s`. It is typically used when none of the basic units are
|
2711
|
+
# appropriate. For example, "new users per day" can be represented as
|
2712
|
+
# `1/d` or ``new-users`/d` (and a metric value `5` would mean "5 new
|
2713
|
+
# users). Alternatively, "thousands of page views per day" would be
|
2714
|
+
# represented as `1000/d` or `k1/d` or `k`page_views`/d` (and a metric
|
2715
|
+
# value of `5.3` would mean "5300 page views per day").
|
2716
|
+
# * `%` represents dimensionless value of 1/100, and annotates values giving
|
2717
|
+
# a percentage (so the metric values are typically in the range of 0..100,
|
2718
|
+
# and a metric value `3` means "3 percent").
|
2719
|
+
# * `10^2.%` indicates a metric contains a ratio, typically in the range
|
2720
|
+
# 0..1, that will be multiplied by 100 and displayed as a percentage
|
2721
|
+
# (so a metric value `0.03` means "3 percent").
|
2678
2722
|
# Corresponds to the JSON property `unit`
|
2679
2723
|
# @return [String]
|
2680
2724
|
attr_accessor :unit
|
@@ -238,6 +238,18 @@ module Google
|
|
238
238
|
include Google::Apis::Core::JsonObjectSupport
|
239
239
|
end
|
240
240
|
|
241
|
+
class GoogleApiServiceusageV1beta1GetServiceIdentityResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
247
|
+
class GoogleApiServiceusageV1beta1ServiceIdentity
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
241
253
|
class Http
|
242
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
255
|
|
@@ -852,6 +864,23 @@ module Google
|
|
852
864
|
end
|
853
865
|
end
|
854
866
|
|
867
|
+
class GoogleApiServiceusageV1beta1GetServiceIdentityResponse
|
868
|
+
# @private
|
869
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
870
|
+
property :identity, as: 'identity', class: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1beta1ServiceIdentity, decorator: Google::Apis::ServiceusageV1beta1::GoogleApiServiceusageV1beta1ServiceIdentity::Representation
|
871
|
+
|
872
|
+
property :state, as: 'state'
|
873
|
+
end
|
874
|
+
end
|
875
|
+
|
876
|
+
class GoogleApiServiceusageV1beta1ServiceIdentity
|
877
|
+
# @private
|
878
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
879
|
+
property :email, as: 'email'
|
880
|
+
property :unique_id, as: 'uniqueId'
|
881
|
+
end
|
882
|
+
end
|
883
|
+
|
855
884
|
class Http
|
856
885
|
# @private
|
857
886
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -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 = '20191203'
|
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'
|