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
@@ -32,16 +32,18 @@ module Google
|
|
32
32
|
# @return [String]
|
33
33
|
attr_accessor :asset_type
|
34
34
|
|
35
|
-
#
|
36
|
-
#
|
35
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
36
|
+
# controls for Google Cloud resources.
|
37
37
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
38
38
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
39
39
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
40
|
-
# permissions
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
40
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
41
|
+
# custom role.
|
42
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
43
|
+
# expression that allows access to a resource only if the expression evaluates
|
44
|
+
# to `true`. A condition can add constraints based on attributes of the
|
45
|
+
# request, the resource, or both.
|
46
|
+
# **JSON example:**
|
45
47
|
# `
|
46
48
|
# "bindings": [
|
47
49
|
# `
|
@@ -59,13 +61,15 @@ module Google
|
|
59
61
|
# "condition": `
|
60
62
|
# "title": "expirable access",
|
61
63
|
# "description": "Does not grant access after Sep 2020",
|
62
|
-
# "expression": "request.time <
|
63
|
-
#
|
64
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
65
|
+
# ",
|
64
66
|
# `
|
65
67
|
# `
|
66
|
-
# ]
|
68
|
+
# ],
|
69
|
+
# "etag": "BwWWja0YfJA=",
|
70
|
+
# "version": 3
|
67
71
|
# `
|
68
|
-
# **YAML
|
72
|
+
# **YAML example:**
|
69
73
|
# bindings:
|
70
74
|
# - members:
|
71
75
|
# - user:mike@example.com
|
@@ -80,8 +84,10 @@ module Google
|
|
80
84
|
# title: expirable access
|
81
85
|
# description: Does not grant access after Sep 2020
|
82
86
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
87
|
+
# - etag: BwWWja0YfJA=
|
88
|
+
# - version: 3
|
83
89
|
# For a description of IAM and its features, see the
|
84
|
-
# [IAM
|
90
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
85
91
|
# Corresponds to the JSON property `iamPolicy`
|
86
92
|
# @return [Google::Apis::CloudassetV1beta1::Policy]
|
87
93
|
attr_accessor :iam_policy
|
@@ -273,6 +279,23 @@ module Google
|
|
273
279
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
274
280
|
# * `group:`emailid``: An email address that represents a Google group.
|
275
281
|
# For example, `admins@example.com`.
|
282
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
283
|
+
# identifier) representing a user that has been recently deleted. For
|
284
|
+
# example, `alice@example.com?uid=123456789012345678901`. If the user is
|
285
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
286
|
+
# retains the role in the binding.
|
287
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
288
|
+
# unique identifier) representing a service account that has been recently
|
289
|
+
# deleted. For example,
|
290
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
291
|
+
# If the service account is undeleted, this value reverts to
|
292
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
293
|
+
# role in the binding.
|
294
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
295
|
+
# identifier) representing a Google group that has been recently
|
296
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
297
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
298
|
+
# recovered group retains the role in the binding.
|
276
299
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
277
300
|
# users of that domain. For example, `google.com` or `example.com`.
|
278
301
|
# Corresponds to the JSON property `members`
|
@@ -510,16 +533,18 @@ module Google
|
|
510
533
|
end
|
511
534
|
end
|
512
535
|
|
513
|
-
#
|
514
|
-
#
|
536
|
+
# An Identity and Access Management (IAM) policy, which specifies access
|
537
|
+
# controls for Google Cloud resources.
|
515
538
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
516
539
|
# `members` to a single `role`. Members can be user accounts, service accounts,
|
517
540
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
518
|
-
# permissions
|
519
|
-
#
|
520
|
-
#
|
521
|
-
#
|
522
|
-
#
|
541
|
+
# permissions; each `role` can be an IAM predefined role or a user-created
|
542
|
+
# custom role.
|
543
|
+
# Optionally, a `binding` can specify a `condition`, which is a logical
|
544
|
+
# expression that allows access to a resource only if the expression evaluates
|
545
|
+
# to `true`. A condition can add constraints based on attributes of the
|
546
|
+
# request, the resource, or both.
|
547
|
+
# **JSON example:**
|
523
548
|
# `
|
524
549
|
# "bindings": [
|
525
550
|
# `
|
@@ -537,13 +562,15 @@ module Google
|
|
537
562
|
# "condition": `
|
538
563
|
# "title": "expirable access",
|
539
564
|
# "description": "Does not grant access after Sep 2020",
|
540
|
-
# "expression": "request.time <
|
541
|
-
#
|
565
|
+
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
566
|
+
# ",
|
542
567
|
# `
|
543
568
|
# `
|
544
|
-
# ]
|
569
|
+
# ],
|
570
|
+
# "etag": "BwWWja0YfJA=",
|
571
|
+
# "version": 3
|
545
572
|
# `
|
546
|
-
# **YAML
|
573
|
+
# **YAML example:**
|
547
574
|
# bindings:
|
548
575
|
# - members:
|
549
576
|
# - user:mike@example.com
|
@@ -558,8 +585,10 @@ module Google
|
|
558
585
|
# title: expirable access
|
559
586
|
# description: Does not grant access after Sep 2020
|
560
587
|
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
588
|
+
# - etag: BwWWja0YfJA=
|
589
|
+
# - version: 3
|
561
590
|
# For a description of IAM and its features, see the
|
562
|
-
# [IAM
|
591
|
+
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
563
592
|
class Policy
|
564
593
|
include Google::Apis::Core::Hashable
|
565
594
|
|
@@ -568,9 +597,9 @@ module Google
|
|
568
597
|
# @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>]
|
569
598
|
attr_accessor :audit_configs
|
570
599
|
|
571
|
-
# Associates a list of `members` to a `role`. Optionally may specify a
|
572
|
-
# `condition` that determines when
|
573
|
-
# `bindings`
|
600
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a
|
601
|
+
# `condition` that determines how and when the `bindings` are applied. Each
|
602
|
+
# of the `bindings` must contain at least one member.
|
574
603
|
# Corresponds to the JSON property `bindings`
|
575
604
|
# @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
|
576
605
|
attr_accessor :bindings
|
@@ -582,25 +611,31 @@ module Google
|
|
582
611
|
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
583
612
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
584
613
|
# ensure that their change will be applied to the same version of the policy.
|
585
|
-
# If
|
586
|
-
#
|
587
|
-
#
|
588
|
-
#
|
614
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
615
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
616
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
617
|
+
# the conditions in the version `3` policy are lost.
|
589
618
|
# Corresponds to the JSON property `etag`
|
590
619
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
591
620
|
# @return [String]
|
592
621
|
attr_accessor :etag
|
593
622
|
|
594
623
|
# Specifies the format of the policy.
|
595
|
-
# Valid values are 0
|
596
|
-
# rejected.
|
597
|
-
#
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
#
|
602
|
-
#
|
603
|
-
#
|
624
|
+
# Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
|
625
|
+
# are rejected.
|
626
|
+
# Any operation that affects conditional role bindings must specify version
|
627
|
+
# `3`. This requirement applies to the following operations:
|
628
|
+
# * Getting a policy that includes a conditional role binding
|
629
|
+
# * Adding a conditional role binding to a policy
|
630
|
+
# * Changing a conditional role binding in a policy
|
631
|
+
# * Removing any role binding, with or without a condition, from a policy
|
632
|
+
# that includes conditions
|
633
|
+
# **Important:** If you use IAM Conditions, you must include the `etag` field
|
634
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows
|
635
|
+
# you to overwrite a version `3` policy with a version `1` policy, and all of
|
636
|
+
# the conditions in the version `3` policy are lost.
|
637
|
+
# If a policy does not include any conditions, operations on that policy may
|
638
|
+
# specify any valid version or leave the field unset.
|
604
639
|
# Corresponds to the JSON property `version`
|
605
640
|
# @return [Fixnum]
|
606
641
|
attr_accessor :version
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
|
26
26
|
module CloudassetV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191130'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -155,14 +155,6 @@ module Google
|
|
155
155
|
# @return [Array<String>]
|
156
156
|
attr_accessor :exempted_members
|
157
157
|
|
158
|
-
# Specifies whether principals can be exempted for the same LogType in
|
159
|
-
# lower-level resource policies. If true, any lower-level exemptions will
|
160
|
-
# be ignored.
|
161
|
-
# Corresponds to the JSON property `ignoreChildExemptions`
|
162
|
-
# @return [Boolean]
|
163
|
-
attr_accessor :ignore_child_exemptions
|
164
|
-
alias_method :ignore_child_exemptions?, :ignore_child_exemptions
|
165
|
-
|
166
158
|
# The log type that this config enables.
|
167
159
|
# Corresponds to the JSON property `logType`
|
168
160
|
# @return [String]
|
@@ -175,7 +167,6 @@ module Google
|
|
175
167
|
# Update properties of this object
|
176
168
|
def update!(**args)
|
177
169
|
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
178
|
-
@ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
|
179
170
|
@log_type = args[:log_type] if args.key?(:log_type)
|
180
171
|
end
|
181
172
|
end
|
@@ -253,6 +244,23 @@ module Google
|
|
253
244
|
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
254
245
|
# * `group:`emailid``: An email address that represents a Google group.
|
255
246
|
# For example, `admins@example.com`.
|
247
|
+
# * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
|
248
|
+
# identifier) representing a user that has been recently deleted. For
|
249
|
+
# example,`alice@example.com?uid=123456789012345678901`. If the user is
|
250
|
+
# recovered, this value reverts to `user:`emailid`` and the recovered user
|
251
|
+
# retains the role in the binding.
|
252
|
+
# * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
|
253
|
+
# unique identifier) representing a service account that has been recently
|
254
|
+
# deleted. For example,
|
255
|
+
# `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
256
|
+
# If the service account is undeleted, this value reverts to
|
257
|
+
# `serviceAccount:`emailid`` and the undeleted service account retains the
|
258
|
+
# role in the binding.
|
259
|
+
# * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
260
|
+
# identifier) representing a Google group that has been recently
|
261
|
+
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
262
|
+
# the group is recovered, this value reverts to `group:`emailid`` and the
|
263
|
+
# recovered group retains the role in the binding.
|
256
264
|
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
257
265
|
# users of that domain. For example, `google.com` or `example.com`.
|
258
266
|
# Corresponds to the JSON property `members`
|
@@ -512,25 +520,34 @@ module Google
|
|
512
520
|
|
513
521
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
514
522
|
# specify access control policies for Cloud Platform resources.
|
515
|
-
# A `Policy`
|
516
|
-
# `members` to a `role
|
517
|
-
# Google
|
518
|
-
# defined by IAM.
|
523
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
524
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
525
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
526
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
527
|
+
# optionally specify a `condition`, which is a logic expression that further
|
528
|
+
# constrains the role binding based on attributes about the request and/or
|
529
|
+
# target resource.
|
519
530
|
# **JSON Example**
|
520
531
|
# `
|
521
532
|
# "bindings": [
|
522
533
|
# `
|
523
|
-
# "role": "roles/
|
534
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
524
535
|
# "members": [
|
525
536
|
# "user:mike@example.com",
|
526
537
|
# "group:admins@example.com",
|
527
538
|
# "domain:google.com",
|
528
|
-
# "serviceAccount:my-
|
539
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
529
540
|
# ]
|
530
541
|
# `,
|
531
542
|
# `
|
532
|
-
# "role": "roles/
|
533
|
-
# "members": ["user:
|
543
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
544
|
+
# "members": ["user:eve@example.com"],
|
545
|
+
# "condition": `
|
546
|
+
# "title": "expirable access",
|
547
|
+
# "description": "Does not grant access after Sep 2020",
|
548
|
+
# "expression": "request.time <
|
549
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
550
|
+
# `
|
534
551
|
# `
|
535
552
|
# ]
|
536
553
|
# `
|
@@ -540,11 +557,15 @@ module Google
|
|
540
557
|
# - user:mike@example.com
|
541
558
|
# - group:admins@example.com
|
542
559
|
# - domain:google.com
|
543
|
-
# - serviceAccount:my-
|
544
|
-
# role: roles/
|
560
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
561
|
+
# role: roles/resourcemanager.organizationAdmin
|
545
562
|
# - members:
|
546
|
-
# - user:
|
547
|
-
# role: roles/
|
563
|
+
# - user:eve@example.com
|
564
|
+
# role: roles/resourcemanager.organizationViewer
|
565
|
+
# condition:
|
566
|
+
# title: expirable access
|
567
|
+
# description: Does not grant access after Sep 2020
|
568
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
548
569
|
# For a description of IAM and its features, see the
|
549
570
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
550
571
|
class Policy
|
@@ -555,7 +576,8 @@ module Google
|
|
555
576
|
# @return [Array<Google::Apis::CloudbillingV1::AuditConfig>]
|
556
577
|
attr_accessor :audit_configs
|
557
578
|
|
558
|
-
# Associates a list of `members` to a `role`.
|
579
|
+
# Associates a list of `members` to a `role`. Optionally may specify a
|
580
|
+
# `condition` that determines when binding is in effect.
|
559
581
|
# `bindings` with no members will result in an error.
|
560
582
|
# Corresponds to the JSON property `bindings`
|
561
583
|
# @return [Array<Google::Apis::CloudbillingV1::Binding>]
|
@@ -569,13 +591,24 @@ module Google
|
|
569
591
|
# systems are expected to put that etag in the request to `setIamPolicy` to
|
570
592
|
# ensure that their change will be applied to the same version of the policy.
|
571
593
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
572
|
-
# policy is overwritten.
|
594
|
+
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
595
|
+
# 'setIamPolicy' will not fail even if either of incoming or stored policy
|
596
|
+
# does not meet the version requirements.
|
573
597
|
# Corresponds to the JSON property `etag`
|
574
598
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
575
599
|
# @return [String]
|
576
600
|
attr_accessor :etag
|
577
601
|
|
578
|
-
#
|
602
|
+
# Specifies the format of the policy.
|
603
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
604
|
+
# rejected.
|
605
|
+
# Operations affecting conditional bindings must specify version 3. This can
|
606
|
+
# be either setting a conditional policy, modifying a conditional binding,
|
607
|
+
# or removing a conditional binding from the stored conditional policy.
|
608
|
+
# Operations on non-conditional policies may specify any valid value or
|
609
|
+
# leave the field unset.
|
610
|
+
# If no etag is provided in the call to `setIamPolicy`, any version
|
611
|
+
# compliance checks on the incoming and/or stored policy is skipped.
|
579
612
|
# Corresponds to the JSON property `version`
|
580
613
|
# @return [Fixnum]
|
581
614
|
attr_accessor :version
|
@@ -827,25 +860,34 @@ module Google
|
|
827
860
|
|
828
861
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
829
862
|
# specify access control policies for Cloud Platform resources.
|
830
|
-
# A `Policy`
|
831
|
-
# `members` to a `role
|
832
|
-
# Google
|
833
|
-
# defined by IAM.
|
863
|
+
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
864
|
+
# `members` to a single `role`. Members can be user accounts, service accounts,
|
865
|
+
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
866
|
+
# permissions (defined by IAM or configured by users). A `binding` can
|
867
|
+
# optionally specify a `condition`, which is a logic expression that further
|
868
|
+
# constrains the role binding based on attributes about the request and/or
|
869
|
+
# target resource.
|
834
870
|
# **JSON Example**
|
835
871
|
# `
|
836
872
|
# "bindings": [
|
837
873
|
# `
|
838
|
-
# "role": "roles/
|
874
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
839
875
|
# "members": [
|
840
876
|
# "user:mike@example.com",
|
841
877
|
# "group:admins@example.com",
|
842
878
|
# "domain:google.com",
|
843
|
-
# "serviceAccount:my-
|
879
|
+
# "serviceAccount:my-project-id@appspot.gserviceaccount.com"
|
844
880
|
# ]
|
845
881
|
# `,
|
846
882
|
# `
|
847
|
-
# "role": "roles/
|
848
|
-
# "members": ["user:
|
883
|
+
# "role": "roles/resourcemanager.organizationViewer",
|
884
|
+
# "members": ["user:eve@example.com"],
|
885
|
+
# "condition": `
|
886
|
+
# "title": "expirable access",
|
887
|
+
# "description": "Does not grant access after Sep 2020",
|
888
|
+
# "expression": "request.time <
|
889
|
+
# timestamp('2020-10-01T00:00:00.000Z')",
|
890
|
+
# `
|
849
891
|
# `
|
850
892
|
# ]
|
851
893
|
# `
|
@@ -855,11 +897,15 @@ module Google
|
|
855
897
|
# - user:mike@example.com
|
856
898
|
# - group:admins@example.com
|
857
899
|
# - domain:google.com
|
858
|
-
# - serviceAccount:my-
|
859
|
-
# role: roles/
|
900
|
+
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
901
|
+
# role: roles/resourcemanager.organizationAdmin
|
860
902
|
# - members:
|
861
|
-
# - user:
|
862
|
-
# role: roles/
|
903
|
+
# - user:eve@example.com
|
904
|
+
# role: roles/resourcemanager.organizationViewer
|
905
|
+
# condition:
|
906
|
+
# title: expirable access
|
907
|
+
# description: Does not grant access after Sep 2020
|
908
|
+
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
863
909
|
# For a description of IAM and its features, see the
|
864
910
|
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
865
911
|
# Corresponds to the JSON property `policy`
|
@@ -176,7 +176,6 @@ module Google
|
|
176
176
|
# @private
|
177
177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
178
178
|
collection :exempted_members, as: 'exemptedMembers'
|
179
|
-
property :ignore_child_exemptions, as: 'ignoreChildExemptions'
|
180
179
|
property :log_type, as: 'logType'
|
181
180
|
end
|
182
181
|
end
|
@@ -129,9 +129,11 @@ module Google
|
|
129
129
|
# See the operation documentation for the appropriate value for this field.
|
130
130
|
# @param [Fixnum] options_requested_policy_version
|
131
131
|
# Optional. The policy format version to be returned.
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
132
|
+
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
133
|
+
# rejected.
|
134
|
+
# Requests for policies with any conditional bindings must specify version 3.
|
135
|
+
# Policies without any conditional bindings may specify any valid value or
|
136
|
+
# leave the field unset.
|
135
137
|
# @param [String] fields
|
136
138
|
# Selector specifying which fields to include in a partial response.
|
137
139
|
# @param [String] quota_user
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/billing/
|
27
27
|
module CloudbillingV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20191111'
|
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'
|
@@ -1089,12 +1089,17 @@ module Google
|
|
1089
1089
|
# @return [String]
|
1090
1090
|
attr_accessor :project_id
|
1091
1091
|
|
1092
|
-
# Name of the Cloud Source Repository.
|
1093
|
-
# assumed.
|
1092
|
+
# Required. Name of the Cloud Source Repository.
|
1094
1093
|
# Corresponds to the JSON property `repoName`
|
1095
1094
|
# @return [String]
|
1096
1095
|
attr_accessor :repo_name
|
1097
1096
|
|
1097
|
+
# Substitutions to use in a triggered build.
|
1098
|
+
# Should only be used with RunBuildTrigger
|
1099
|
+
# Corresponds to the JSON property `substitutions`
|
1100
|
+
# @return [Hash<String,String>]
|
1101
|
+
attr_accessor :substitutions
|
1102
|
+
|
1098
1103
|
# Regex matching tags to build.
|
1099
1104
|
# The syntax of the regular expressions accepted is the syntax accepted by
|
1100
1105
|
# RE2 and described at https://github.com/google/re2/wiki/Syntax
|
@@ -1113,6 +1118,7 @@ module Google
|
|
1113
1118
|
@dir = args[:dir] if args.key?(:dir)
|
1114
1119
|
@project_id = args[:project_id] if args.key?(:project_id)
|
1115
1120
|
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
1121
|
+
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
1116
1122
|
@tag_name = args[:tag_name] if args.key?(:tag_name)
|
1117
1123
|
end
|
1118
1124
|
end
|
@@ -170,9 +170,9 @@ module Google
|
|
170
170
|
|
171
171
|
# Cancels a build in progress.
|
172
172
|
# @param [String] project_id
|
173
|
-
# ID of the project.
|
173
|
+
# Required. ID of the project.
|
174
174
|
# @param [String] id
|
175
|
-
# ID of the build.
|
175
|
+
# Required. ID of the build.
|
176
176
|
# @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object
|
177
177
|
# @param [String] fields
|
178
178
|
# Selector specifying which fields to include in a partial response.
|
@@ -209,7 +209,7 @@ module Google
|
|
209
209
|
# ID. Pass the build ID to `GetBuild` to determine the build status (such as
|
210
210
|
# `SUCCESS` or `FAILURE`).
|
211
211
|
# @param [String] project_id
|
212
|
-
# ID of the project.
|
212
|
+
# Required. ID of the project.
|
213
213
|
# @param [Google::Apis::CloudbuildV1::Build] build_object
|
214
214
|
# @param [String] fields
|
215
215
|
# Selector specifying which fields to include in a partial response.
|
@@ -244,9 +244,9 @@ module Google
|
|
244
244
|
# The `Build` that is returned includes its status (such as `SUCCESS`,
|
245
245
|
# `FAILURE`, or `WORKING`), and timing information.
|
246
246
|
# @param [String] project_id
|
247
|
-
# ID of the project.
|
247
|
+
# Required. ID of the project.
|
248
248
|
# @param [String] id
|
249
|
-
# ID of the build.
|
249
|
+
# Required. ID of the build.
|
250
250
|
# @param [String] fields
|
251
251
|
# Selector specifying which fields to include in a partial response.
|
252
252
|
# @param [String] quota_user
|
@@ -279,7 +279,7 @@ module Google
|
|
279
279
|
# Previously requested builds may still be in-progress, or may have finished
|
280
280
|
# successfully or unsuccessfully.
|
281
281
|
# @param [String] project_id
|
282
|
-
# ID of the project.
|
282
|
+
# Required. ID of the project.
|
283
283
|
# @param [String] filter
|
284
284
|
# The raw filter text to constrain the results.
|
285
285
|
# @param [Fixnum] page_size
|
@@ -337,9 +337,9 @@ module Google
|
|
337
337
|
# object, which may or may not be available depending on the bucket's
|
338
338
|
# lifecycle management settings.
|
339
339
|
# @param [String] project_id
|
340
|
-
# ID of the project.
|
340
|
+
# Required. ID of the project.
|
341
341
|
# @param [String] id
|
342
|
-
# Build ID of the original build.
|
342
|
+
# Required. Build ID of the original build.
|
343
343
|
# @param [Google::Apis::CloudbuildV1::RetryBuildRequest] retry_build_request_object
|
344
344
|
# @param [String] fields
|
345
345
|
# Selector specifying which fields to include in a partial response.
|
@@ -374,7 +374,7 @@ module Google
|
|
374
374
|
# Creates a new `BuildTrigger`.
|
375
375
|
# This API is experimental.
|
376
376
|
# @param [String] project_id
|
377
|
-
# ID of the project for which to configure automatic builds.
|
377
|
+
# Required. ID of the project for which to configure automatic builds.
|
378
378
|
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
|
379
379
|
# @param [String] fields
|
380
380
|
# Selector specifying which fields to include in a partial response.
|
@@ -408,9 +408,9 @@ module Google
|
|
408
408
|
# Deletes a `BuildTrigger` by its project ID and trigger ID.
|
409
409
|
# This API is experimental.
|
410
410
|
# @param [String] project_id
|
411
|
-
# ID of the project that owns the trigger.
|
411
|
+
# Required. ID of the project that owns the trigger.
|
412
412
|
# @param [String] trigger_id
|
413
|
-
# ID of the `BuildTrigger` to delete.
|
413
|
+
# Required. ID of the `BuildTrigger` to delete.
|
414
414
|
# @param [String] fields
|
415
415
|
# Selector specifying which fields to include in a partial response.
|
416
416
|
# @param [String] quota_user
|
@@ -442,9 +442,9 @@ module Google
|
|
442
442
|
# Returns information about a `BuildTrigger`.
|
443
443
|
# This API is experimental.
|
444
444
|
# @param [String] project_id
|
445
|
-
# ID of the project that owns the trigger.
|
445
|
+
# Required. ID of the project that owns the trigger.
|
446
446
|
# @param [String] trigger_id
|
447
|
-
#
|
447
|
+
# Required. Identifier (`id` or `name`) of the `BuildTrigger` to get.
|
448
448
|
# @param [String] fields
|
449
449
|
# Selector specifying which fields to include in a partial response.
|
450
450
|
# @param [String] quota_user
|
@@ -476,7 +476,7 @@ module Google
|
|
476
476
|
# Lists existing `BuildTrigger`s.
|
477
477
|
# This API is experimental.
|
478
478
|
# @param [String] project_id
|
479
|
-
# ID of the project for which to list BuildTriggers.
|
479
|
+
# Required. ID of the project for which to list BuildTriggers.
|
480
480
|
# @param [Fixnum] page_size
|
481
481
|
# Number of results to return in the list.
|
482
482
|
# @param [String] page_token
|
@@ -513,9 +513,9 @@ module Google
|
|
513
513
|
# Updates a `BuildTrigger` by its project ID and trigger ID.
|
514
514
|
# This API is experimental.
|
515
515
|
# @param [String] project_id
|
516
|
-
# ID of the project that owns the trigger.
|
516
|
+
# Required. ID of the project that owns the trigger.
|
517
517
|
# @param [String] trigger_id
|
518
|
-
# ID of the `BuildTrigger` to update.
|
518
|
+
# Required. ID of the `BuildTrigger` to update.
|
519
519
|
# @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
|
520
520
|
# @param [String] fields
|
521
521
|
# Selector specifying which fields to include in a partial response.
|
@@ -549,9 +549,9 @@ module Google
|
|
549
549
|
|
550
550
|
# Runs a `BuildTrigger` at a particular source revision.
|
551
551
|
# @param [String] project_id
|
552
|
-
# ID of the project.
|
552
|
+
# Required. ID of the project.
|
553
553
|
# @param [String] trigger_id
|
554
|
-
# ID of the trigger.
|
554
|
+
# Required. ID of the trigger.
|
555
555
|
# @param [Google::Apis::CloudbuildV1::RepoSource] repo_source_object
|
556
556
|
# @param [String] fields
|
557
557
|
# Selector specifying which fields to include in a partial response.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191109'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|