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
@@ -78,7 +78,7 @@ module Google
|
|
78
78
|
# Custom JSON data provided by the manufacturer and attached to QUERY and
|
79
79
|
# EXECUTE requests in AoG.
|
80
80
|
# Corresponds to the JSON property `customData`
|
81
|
-
# @return [String]
|
81
|
+
# @return [Hash<String,Object>]
|
82
82
|
attr_accessor :custom_data
|
83
83
|
|
84
84
|
# Device information.
|
@@ -96,6 +96,19 @@ module Google
|
|
96
96
|
# @return [Google::Apis::HomegraphV1::DeviceNames]
|
97
97
|
attr_accessor :name
|
98
98
|
|
99
|
+
# Indicates whether the device is capable of sending notifications. This
|
100
|
+
# field will be set by the agent (partner) on an incoming SYNC. If a device
|
101
|
+
# is not capable of generating notifications, the partner should set this
|
102
|
+
# flag to false. If a partner is not capable of calling
|
103
|
+
# ReportStateAndNotification to send notifications to Google, the partner
|
104
|
+
# should set this flag to false. If there is a user setting in the partner
|
105
|
+
# app to enable notifications and it is turned off, the partner should set
|
106
|
+
# this flag to false.
|
107
|
+
# Corresponds to the JSON property `notificationSupportedByAgent`
|
108
|
+
# @return [Boolean]
|
109
|
+
attr_accessor :notification_supported_by_agent
|
110
|
+
alias_method :notification_supported_by_agent?, :notification_supported_by_agent
|
111
|
+
|
99
112
|
# IDs of other devices associated with this device. This is used to
|
100
113
|
# represent a device group (e.g. bonded zone) or "facets" synced
|
101
114
|
# through different flows (e.g. Google Nest Hub Max with a Nest Camera).
|
@@ -145,6 +158,7 @@ module Google
|
|
145
158
|
@device_info = args[:device_info] if args.key?(:device_info)
|
146
159
|
@id = args[:id] if args.key?(:id)
|
147
160
|
@name = args[:name] if args.key?(:name)
|
161
|
+
@notification_supported_by_agent = args[:notification_supported_by_agent] if args.key?(:notification_supported_by_agent)
|
148
162
|
@other_device_ids = args[:other_device_ids] if args.key?(:other_device_ids)
|
149
163
|
@room_hint = args[:room_hint] if args.key?(:room_hint)
|
150
164
|
@structure_hint = args[:structure_hint] if args.key?(:structure_hint)
|
@@ -161,12 +161,13 @@ module Google
|
|
161
161
|
# @private
|
162
162
|
class Representation < Google::Apis::Core::JsonRepresentation
|
163
163
|
hash :attributes, as: 'attributes'
|
164
|
-
|
164
|
+
hash :custom_data, as: 'customData'
|
165
165
|
property :device_info, as: 'deviceInfo', class: Google::Apis::HomegraphV1::DeviceInfo, decorator: Google::Apis::HomegraphV1::DeviceInfo::Representation
|
166
166
|
|
167
167
|
property :id, as: 'id'
|
168
168
|
property :name, as: 'name', class: Google::Apis::HomegraphV1::DeviceNames, decorator: Google::Apis::HomegraphV1::DeviceNames::Representation
|
169
169
|
|
170
|
+
property :notification_supported_by_agent, as: 'notificationSupportedByAgent'
|
170
171
|
collection :other_device_ids, as: 'otherDeviceIds', class: Google::Apis::HomegraphV1::AgentOtherDeviceId, decorator: Google::Apis::HomegraphV1::AgentOtherDeviceId::Representation
|
171
172
|
|
172
173
|
property :room_hint, as: 'roomHint'
|
@@ -663,7 +663,7 @@ module Google
|
|
663
663
|
attr_accessor :severity
|
664
664
|
|
665
665
|
# The validation unit name, for instance
|
666
|
-
#
|
666
|
+
# "lintValidationUnits/ConditionComplexityCheck".
|
667
667
|
# Corresponds to the JSON property `validationUnitName`
|
668
668
|
# @return [String]
|
669
669
|
attr_accessor :validation_unit_name
|
@@ -809,6 +809,7 @@ module Google
|
|
809
809
|
attr_accessor :custom_roles_support_level
|
810
810
|
|
811
811
|
# A brief description of what this Permission is used for.
|
812
|
+
# This permission can ONLY be used in predefined roles.
|
812
813
|
# Corresponds to the JSON property `description`
|
813
814
|
# @return [String]
|
814
815
|
attr_accessor :description
|
@@ -818,7 +819,7 @@ module Google
|
|
818
819
|
# @return [String]
|
819
820
|
attr_accessor :name
|
820
821
|
|
821
|
-
#
|
822
|
+
#
|
822
823
|
# Corresponds to the JSON property `onlyInPredefinedRoles`
|
823
824
|
# @return [Boolean]
|
824
825
|
attr_accessor :only_in_predefined_roles
|
@@ -957,8 +958,8 @@ module Google
|
|
957
958
|
# ensure that their change will be applied to the same version of the policy.
|
958
959
|
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
959
960
|
# policy is overwritten. Due to blind-set semantics of an etag-less policy,
|
960
|
-
# 'setIamPolicy' will not fail even if
|
961
|
-
#
|
961
|
+
# 'setIamPolicy' will not fail even if the incoming policy version does not
|
962
|
+
# meet the requirements for modifying the stored policy.
|
962
963
|
# Corresponds to the JSON property `etag`
|
963
964
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
964
965
|
# @return [String]
|
@@ -969,11 +970,12 @@ module Google
|
|
969
970
|
# rejected.
|
970
971
|
# Operations affecting conditional bindings must specify version 3. This can
|
971
972
|
# be either setting a conditional policy, modifying a conditional binding,
|
972
|
-
# or removing a conditional
|
973
|
+
# or removing a binding (conditional or unconditional) from the stored
|
974
|
+
# conditional policy.
|
973
975
|
# Operations on non-conditional policies may specify any valid value or
|
974
976
|
# leave the field unset.
|
975
|
-
# If no etag is provided in the call to `setIamPolicy`,
|
976
|
-
#
|
977
|
+
# If no etag is provided in the call to `setIamPolicy`, version compliance
|
978
|
+
# checks against the stored policy is skipped.
|
977
979
|
# Corresponds to the JSON property `version`
|
978
980
|
# @return [Fixnum]
|
979
981
|
attr_accessor :version
|
@@ -1366,6 +1368,11 @@ module Google
|
|
1366
1368
|
# @return [String]
|
1367
1369
|
attr_accessor :key_origin
|
1368
1370
|
|
1371
|
+
# The key type.
|
1372
|
+
# Corresponds to the JSON property `keyType`
|
1373
|
+
# @return [String]
|
1374
|
+
attr_accessor :key_type
|
1375
|
+
|
1369
1376
|
# The resource name of the service account key in the following format
|
1370
1377
|
# `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT`/keys/`key``.
|
1371
1378
|
# Corresponds to the JSON property `name`
|
@@ -1420,6 +1427,7 @@ module Google
|
|
1420
1427
|
def update!(**args)
|
1421
1428
|
@key_algorithm = args[:key_algorithm] if args.key?(:key_algorithm)
|
1422
1429
|
@key_origin = args[:key_origin] if args.key?(:key_origin)
|
1430
|
+
@key_type = args[:key_type] if args.key?(:key_type)
|
1423
1431
|
@name = args[:name] if args.key?(:name)
|
1424
1432
|
@private_key_data = args[:private_key_data] if args.key?(:private_key_data)
|
1425
1433
|
@private_key_type = args[:private_key_type] if args.key?(:private_key_type)
|
@@ -604,6 +604,7 @@ module Google
|
|
604
604
|
class Representation < Google::Apis::Core::JsonRepresentation
|
605
605
|
property :key_algorithm, as: 'keyAlgorithm'
|
606
606
|
property :key_origin, as: 'keyOrigin'
|
607
|
+
property :key_type, as: 'keyType'
|
607
608
|
property :name, as: 'name'
|
608
609
|
property :private_key_data, :base64 => true, as: 'privateKeyData'
|
609
610
|
property :private_key_type, as: 'privateKeyType'
|
@@ -27,7 +27,7 @@ module Google
|
|
27
27
|
# @see https://cloud.google.com/iam/
|
28
28
|
module IamV1
|
29
29
|
VERSION = 'V1'
|
30
|
-
REVISION = '
|
30
|
+
REVISION = '20191115'
|
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'
|
@@ -22,6 +22,60 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IapV1
|
24
24
|
|
25
|
+
# Access related settings for IAP protected apps.
|
26
|
+
class AccessSettings
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
|
30
|
+
# call to bypass authentication and authorization.
|
31
|
+
# Corresponds to the JSON property `corsSettings`
|
32
|
+
# @return [Google::Apis::IapV1::CorsSettings]
|
33
|
+
attr_accessor :cors_settings
|
34
|
+
|
35
|
+
# Allows customers to configure tenant_id for GCIP instance per-app.
|
36
|
+
# Corresponds to the JSON property `gcipSettings`
|
37
|
+
# @return [Google::Apis::IapV1::GcipSettings]
|
38
|
+
attr_accessor :gcip_settings
|
39
|
+
|
40
|
+
# Configuration for OAuth login&consent flow behavior.
|
41
|
+
# Corresponds to the JSON property `oauthSettings`
|
42
|
+
# @return [Google::Apis::IapV1::OAuthSettings]
|
43
|
+
attr_accessor :oauth_settings
|
44
|
+
|
45
|
+
def initialize(**args)
|
46
|
+
update!(**args)
|
47
|
+
end
|
48
|
+
|
49
|
+
# Update properties of this object
|
50
|
+
def update!(**args)
|
51
|
+
@cors_settings = args[:cors_settings] if args.key?(:cors_settings)
|
52
|
+
@gcip_settings = args[:gcip_settings] if args.key?(:gcip_settings)
|
53
|
+
@oauth_settings = args[:oauth_settings] if args.key?(:oauth_settings)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
# Wrapper over application specific settings for IAP.
|
58
|
+
class ApplicationSettings
|
59
|
+
include Google::Apis::Core::Hashable
|
60
|
+
|
61
|
+
# Configuration for RCTokens generated for CSM workloads protected by IAP.
|
62
|
+
# RCTokens are IAP generated JWTs that can be verified at the application. The
|
63
|
+
# RCToken is primarily used for ISTIO deployments, and can be scoped to a
|
64
|
+
# single mesh by configuring the audience field accordingly
|
65
|
+
# Corresponds to the JSON property `csmSettings`
|
66
|
+
# @return [Google::Apis::IapV1::CsmSettings]
|
67
|
+
attr_accessor :csm_settings
|
68
|
+
|
69
|
+
def initialize(**args)
|
70
|
+
update!(**args)
|
71
|
+
end
|
72
|
+
|
73
|
+
# Update properties of this object
|
74
|
+
def update!(**args)
|
75
|
+
@csm_settings = args[:csm_settings] if args.key?(:csm_settings)
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
25
79
|
# Associates `members` with a `role`.
|
26
80
|
class Binding
|
27
81
|
include Google::Apis::Core::Hashable
|
@@ -70,6 +124,51 @@ module Google
|
|
70
124
|
end
|
71
125
|
end
|
72
126
|
|
127
|
+
# Allows customers to configure HTTP request paths that'll allow HTTP OPTIONS
|
128
|
+
# call to bypass authentication and authorization.
|
129
|
+
class CorsSettings
|
130
|
+
include Google::Apis::Core::Hashable
|
131
|
+
|
132
|
+
# Configuration to allow HTTP OPTIONS calls to skip authorization. If
|
133
|
+
# undefined, IAP will not apply any special logic to OPTIONS requests.
|
134
|
+
# Corresponds to the JSON property `allowHttpOptions`
|
135
|
+
# @return [Boolean]
|
136
|
+
attr_accessor :allow_http_options
|
137
|
+
alias_method :allow_http_options?, :allow_http_options
|
138
|
+
|
139
|
+
def initialize(**args)
|
140
|
+
update!(**args)
|
141
|
+
end
|
142
|
+
|
143
|
+
# Update properties of this object
|
144
|
+
def update!(**args)
|
145
|
+
@allow_http_options = args[:allow_http_options] if args.key?(:allow_http_options)
|
146
|
+
end
|
147
|
+
end
|
148
|
+
|
149
|
+
# Configuration for RCTokens generated for CSM workloads protected by IAP.
|
150
|
+
# RCTokens are IAP generated JWTs that can be verified at the application. The
|
151
|
+
# RCToken is primarily used for ISTIO deployments, and can be scoped to a
|
152
|
+
# single mesh by configuring the audience field accordingly
|
153
|
+
class CsmSettings
|
154
|
+
include Google::Apis::Core::Hashable
|
155
|
+
|
156
|
+
# Audience claim set in the generated RCToken. This value is not validated by
|
157
|
+
# IAP.
|
158
|
+
# Corresponds to the JSON property `rctokenAud`
|
159
|
+
# @return [String]
|
160
|
+
attr_accessor :rctoken_aud
|
161
|
+
|
162
|
+
def initialize(**args)
|
163
|
+
update!(**args)
|
164
|
+
end
|
165
|
+
|
166
|
+
# Update properties of this object
|
167
|
+
def update!(**args)
|
168
|
+
@rctoken_aud = args[:rctoken_aud] if args.key?(:rctoken_aud)
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
73
172
|
# Represents an expression text. Example:
|
74
173
|
# title: "User account presence"
|
75
174
|
# description: "Determines whether the request has a user account"
|
@@ -117,6 +216,38 @@ module Google
|
|
117
216
|
end
|
118
217
|
end
|
119
218
|
|
219
|
+
# Allows customers to configure tenant_id for GCIP instance per-app.
|
220
|
+
class GcipSettings
|
221
|
+
include Google::Apis::Core::Hashable
|
222
|
+
|
223
|
+
# Login page URI associated with the GCIP tenants.
|
224
|
+
# Typically, all resources within the same project share the same login page,
|
225
|
+
# though it could be overridden at the sub resource level.
|
226
|
+
# Corresponds to the JSON property `loginPageUri`
|
227
|
+
# @return [String]
|
228
|
+
attr_accessor :login_page_uri
|
229
|
+
|
230
|
+
# GCIP tenant ids that are linked to the IAP resource.
|
231
|
+
# tenant_ids could be a string beginning with a number character to indicate
|
232
|
+
# authenticating with GCIP tenant flow, or in the format of _<ProjectNumber>
|
233
|
+
# to indicate authenticating with GCIP agent flow.
|
234
|
+
# If agent flow is used, tenant_ids should only contain one single element,
|
235
|
+
# while for tenant flow, tenant_ids can contain multiple elements.
|
236
|
+
# Corresponds to the JSON property `tenantIds`
|
237
|
+
# @return [Array<String>]
|
238
|
+
attr_accessor :tenant_ids
|
239
|
+
|
240
|
+
def initialize(**args)
|
241
|
+
update!(**args)
|
242
|
+
end
|
243
|
+
|
244
|
+
# Update properties of this object
|
245
|
+
def update!(**args)
|
246
|
+
@login_page_uri = args[:login_page_uri] if args.key?(:login_page_uri)
|
247
|
+
@tenant_ids = args[:tenant_ids] if args.key?(:tenant_ids)
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
120
251
|
# Request message for `GetIamPolicy` method.
|
121
252
|
class GetIamPolicyRequest
|
122
253
|
include Google::Apis::Core::Hashable
|
@@ -160,6 +291,60 @@ module Google
|
|
160
291
|
end
|
161
292
|
end
|
162
293
|
|
294
|
+
# The IAP configurable settings.
|
295
|
+
class IapSettings
|
296
|
+
include Google::Apis::Core::Hashable
|
297
|
+
|
298
|
+
# Access related settings for IAP protected apps.
|
299
|
+
# Corresponds to the JSON property `accessSettings`
|
300
|
+
# @return [Google::Apis::IapV1::AccessSettings]
|
301
|
+
attr_accessor :access_settings
|
302
|
+
|
303
|
+
# Wrapper over application specific settings for IAP.
|
304
|
+
# Corresponds to the JSON property `applicationSettings`
|
305
|
+
# @return [Google::Apis::IapV1::ApplicationSettings]
|
306
|
+
attr_accessor :application_settings
|
307
|
+
|
308
|
+
# Required. The resource name of the IAP protected resource.
|
309
|
+
# Corresponds to the JSON property `name`
|
310
|
+
# @return [String]
|
311
|
+
attr_accessor :name
|
312
|
+
|
313
|
+
def initialize(**args)
|
314
|
+
update!(**args)
|
315
|
+
end
|
316
|
+
|
317
|
+
# Update properties of this object
|
318
|
+
def update!(**args)
|
319
|
+
@access_settings = args[:access_settings] if args.key?(:access_settings)
|
320
|
+
@application_settings = args[:application_settings] if args.key?(:application_settings)
|
321
|
+
@name = args[:name] if args.key?(:name)
|
322
|
+
end
|
323
|
+
end
|
324
|
+
|
325
|
+
# Configuration for OAuth login&consent flow behavior.
|
326
|
+
class OAuthSettings
|
327
|
+
include Google::Apis::Core::Hashable
|
328
|
+
|
329
|
+
# Domain hint to send as hd=? parameter in OAuth request flow. Enables
|
330
|
+
# redirect to primary IDP by skipping Google's login screen.
|
331
|
+
# https://developers.google.com/identity/protocols/OpenIDConnect#hd-param
|
332
|
+
# Note: IAP does not verify that the id token's hd claim matches this value
|
333
|
+
# since access behavior is managed by IAM policies.
|
334
|
+
# Corresponds to the JSON property `loginHint`
|
335
|
+
# @return [String]
|
336
|
+
attr_accessor :login_hint
|
337
|
+
|
338
|
+
def initialize(**args)
|
339
|
+
update!(**args)
|
340
|
+
end
|
341
|
+
|
342
|
+
# Update properties of this object
|
343
|
+
def update!(**args)
|
344
|
+
@login_hint = args[:login_hint] if args.key?(:login_hint)
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
163
348
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
164
349
|
# specify access control policies for Cloud Platform resources.
|
165
350
|
# A `Policy` is a collection of `bindings`. A `binding` binds one or more
|
@@ -173,7 +358,7 @@ module Google
|
|
173
358
|
# `
|
174
359
|
# "bindings": [
|
175
360
|
# `
|
176
|
-
# "role": "
|
361
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
177
362
|
# "members": [
|
178
363
|
# "user:mike@example.com",
|
179
364
|
# "group:admins@example.com",
|
@@ -279,7 +464,7 @@ module Google
|
|
279
464
|
# `
|
280
465
|
# "bindings": [
|
281
466
|
# `
|
282
|
-
# "role": "
|
467
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
283
468
|
# "members": [
|
284
469
|
# "user:mike@example.com",
|
285
470
|
# "group:admins@example.com",
|
@@ -22,18 +22,48 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module IapV1
|
24
24
|
|
25
|
+
class AccessSettings
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class ApplicationSettings
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
25
37
|
class Binding
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
39
|
|
28
40
|
include Google::Apis::Core::JsonObjectSupport
|
29
41
|
end
|
30
42
|
|
43
|
+
class CorsSettings
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class CsmSettings
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
31
55
|
class Expr
|
32
56
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
57
|
|
34
58
|
include Google::Apis::Core::JsonObjectSupport
|
35
59
|
end
|
36
60
|
|
61
|
+
class GcipSettings
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
37
67
|
class GetIamPolicyRequest
|
38
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
69
|
|
@@ -46,6 +76,18 @@ module Google
|
|
46
76
|
include Google::Apis::Core::JsonObjectSupport
|
47
77
|
end
|
48
78
|
|
79
|
+
class IapSettings
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class OAuthSettings
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
49
91
|
class Policy
|
50
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
93
|
|
@@ -70,6 +112,26 @@ module Google
|
|
70
112
|
include Google::Apis::Core::JsonObjectSupport
|
71
113
|
end
|
72
114
|
|
115
|
+
class AccessSettings
|
116
|
+
# @private
|
117
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
118
|
+
property :cors_settings, as: 'corsSettings', class: Google::Apis::IapV1::CorsSettings, decorator: Google::Apis::IapV1::CorsSettings::Representation
|
119
|
+
|
120
|
+
property :gcip_settings, as: 'gcipSettings', class: Google::Apis::IapV1::GcipSettings, decorator: Google::Apis::IapV1::GcipSettings::Representation
|
121
|
+
|
122
|
+
property :oauth_settings, as: 'oauthSettings', class: Google::Apis::IapV1::OAuthSettings, decorator: Google::Apis::IapV1::OAuthSettings::Representation
|
123
|
+
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
class ApplicationSettings
|
128
|
+
# @private
|
129
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
130
|
+
property :csm_settings, as: 'csmSettings', class: Google::Apis::IapV1::CsmSettings, decorator: Google::Apis::IapV1::CsmSettings::Representation
|
131
|
+
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
73
135
|
class Binding
|
74
136
|
# @private
|
75
137
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -80,6 +142,20 @@ module Google
|
|
80
142
|
end
|
81
143
|
end
|
82
144
|
|
145
|
+
class CorsSettings
|
146
|
+
# @private
|
147
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
148
|
+
property :allow_http_options, as: 'allowHttpOptions'
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
class CsmSettings
|
153
|
+
# @private
|
154
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
155
|
+
property :rctoken_aud, as: 'rctokenAud'
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
83
159
|
class Expr
|
84
160
|
# @private
|
85
161
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -90,6 +166,14 @@ module Google
|
|
90
166
|
end
|
91
167
|
end
|
92
168
|
|
169
|
+
class GcipSettings
|
170
|
+
# @private
|
171
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
172
|
+
property :login_page_uri, as: 'loginPageUri'
|
173
|
+
collection :tenant_ids, as: 'tenantIds'
|
174
|
+
end
|
175
|
+
end
|
176
|
+
|
93
177
|
class GetIamPolicyRequest
|
94
178
|
# @private
|
95
179
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -105,6 +189,24 @@ module Google
|
|
105
189
|
end
|
106
190
|
end
|
107
191
|
|
192
|
+
class IapSettings
|
193
|
+
# @private
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
195
|
+
property :access_settings, as: 'accessSettings', class: Google::Apis::IapV1::AccessSettings, decorator: Google::Apis::IapV1::AccessSettings::Representation
|
196
|
+
|
197
|
+
property :application_settings, as: 'applicationSettings', class: Google::Apis::IapV1::ApplicationSettings, decorator: Google::Apis::IapV1::ApplicationSettings::Representation
|
198
|
+
|
199
|
+
property :name, as: 'name'
|
200
|
+
end
|
201
|
+
end
|
202
|
+
|
203
|
+
class OAuthSettings
|
204
|
+
# @private
|
205
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
206
|
+
property :login_hint, as: 'loginHint'
|
207
|
+
end
|
208
|
+
end
|
209
|
+
|
108
210
|
class Policy
|
109
211
|
# @private
|
110
212
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -84,6 +84,38 @@ module Google
|
|
84
84
|
execute_or_queue_command(command, &block)
|
85
85
|
end
|
86
86
|
|
87
|
+
# Gets the IAP settings on a particular IAP protected resource.
|
88
|
+
# @param [String] name
|
89
|
+
# Required. The resource name for which to retrieve the settings.
|
90
|
+
# Authorization: Requires the `getSettings` permission for the associated
|
91
|
+
# resource.
|
92
|
+
# @param [String] fields
|
93
|
+
# Selector specifying which fields to include in a partial response.
|
94
|
+
# @param [String] quota_user
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
97
|
+
# @param [Google::Apis::RequestOptions] options
|
98
|
+
# Request-specific options
|
99
|
+
#
|
100
|
+
# @yield [result, err] Result & error if block supplied
|
101
|
+
# @yieldparam result [Google::Apis::IapV1::IapSettings] parsed result object
|
102
|
+
# @yieldparam err [StandardError] error object if request failed
|
103
|
+
#
|
104
|
+
# @return [Google::Apis::IapV1::IapSettings]
|
105
|
+
#
|
106
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
+
def get_iap_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
command = make_simple_command(:get, 'v1/{+name}:iapSettings', options)
|
111
|
+
command.response_representation = Google::Apis::IapV1::IapSettings::Representation
|
112
|
+
command.response_class = Google::Apis::IapV1::IapSettings
|
113
|
+
command.params['name'] = name unless name.nil?
|
114
|
+
command.query['fields'] = fields unless fields.nil?
|
115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
116
|
+
execute_or_queue_command(command, &block)
|
117
|
+
end
|
118
|
+
|
87
119
|
# Sets the access control policy for an Identity-Aware Proxy protected
|
88
120
|
# resource. Replaces any existing policy.
|
89
121
|
# More information about managing access via IAP can be found at:
|
@@ -157,6 +189,46 @@ module Google
|
|
157
189
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
190
|
execute_or_queue_command(command, &block)
|
159
191
|
end
|
192
|
+
|
193
|
+
# Updates the IAP settings on a particular IAP protected resource. It
|
194
|
+
# replaces all fields unless the `update_mask` is set.
|
195
|
+
# @param [String] name
|
196
|
+
# Required. The resource name of the IAP protected resource.
|
197
|
+
# @param [Google::Apis::IapV1::IapSettings] iap_settings_object
|
198
|
+
# @param [String] update_mask
|
199
|
+
# The field mask specifying which IAP settings should be updated.
|
200
|
+
# If omitted, the all of the settings are updated. See
|
201
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
202
|
+
# fieldmask
|
203
|
+
# @param [String] fields
|
204
|
+
# Selector specifying which fields to include in a partial response.
|
205
|
+
# @param [String] quota_user
|
206
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
207
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
208
|
+
# @param [Google::Apis::RequestOptions] options
|
209
|
+
# Request-specific options
|
210
|
+
#
|
211
|
+
# @yield [result, err] Result & error if block supplied
|
212
|
+
# @yieldparam result [Google::Apis::IapV1::IapSettings] parsed result object
|
213
|
+
# @yieldparam err [StandardError] error object if request failed
|
214
|
+
#
|
215
|
+
# @return [Google::Apis::IapV1::IapSettings]
|
216
|
+
#
|
217
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
218
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
219
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
220
|
+
def update_iap_settings(name, iap_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
221
|
+
command = make_simple_command(:patch, 'v1/{+name}:iapSettings', options)
|
222
|
+
command.request_representation = Google::Apis::IapV1::IapSettings::Representation
|
223
|
+
command.request_object = iap_settings_object
|
224
|
+
command.response_representation = Google::Apis::IapV1::IapSettings::Representation
|
225
|
+
command.response_class = Google::Apis::IapV1::IapSettings
|
226
|
+
command.params['name'] = name unless name.nil?
|
227
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
228
|
+
command.query['fields'] = fields unless fields.nil?
|
229
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
230
|
+
execute_or_queue_command(command, &block)
|
231
|
+
end
|
160
232
|
|
161
233
|
protected
|
162
234
|
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iap
|
26
26
|
module IapV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191011'
|
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'
|
@@ -173,7 +173,7 @@ module Google
|
|
173
173
|
# `
|
174
174
|
# "bindings": [
|
175
175
|
# `
|
176
|
-
# "role": "
|
176
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
177
177
|
# "members": [
|
178
178
|
# "user:mike@example.com",
|
179
179
|
# "group:admins@example.com",
|
@@ -279,7 +279,7 @@ module Google
|
|
279
279
|
# `
|
280
280
|
# "bindings": [
|
281
281
|
# `
|
282
|
-
# "role": "
|
282
|
+
# "role": "roles/resourcemanager.organizationAdmin",
|
283
283
|
# "members": [
|
284
284
|
# "user:mike@example.com",
|
285
285
|
# "group:admins@example.com",
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/iap
|
26
26
|
module IapV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20191004'
|
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'
|