google-api-client 0.39.5 → 0.41.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +290 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +183 -52
- data/generated/google/apis/apigee_v1/representations.rb +22 -0
- data/generated/google/apis/apigee_v1/service.rb +38 -37
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +78 -6
- data/generated/google/apis/bigquery_v2/representations.rb +7 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +2 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +2 -0
- data/generated/google/apis/chromeuxreport_v1.rb +32 -0
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
- data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
- data/generated/google/apis/cloudasset_v1/service.rb +18 -15
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +16 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +14 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +756 -182
- data/generated/google/apis/compute_alpha/representations.rb +220 -33
- data/generated/google/apis/compute_alpha/service.rb +1891 -1099
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +435 -102
- data/generated/google/apis/compute_beta/representations.rb +95 -0
- data/generated/google/apis/compute_beta/service.rb +824 -595
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +658 -47
- data/generated/google/apis/compute_v1/representations.rb +188 -0
- data/generated/google/apis/compute_v1/service.rb +501 -4
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +31 -7
- data/generated/google/apis/container_v1/representations.rb +15 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +47 -10
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +616 -6
- data/generated/google/apis/content_v2_1/representations.rb +243 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +68 -22
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -23
- data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +731 -20
- data/generated/google/apis/dialogflow_v2/representations.rb +311 -0
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +722 -19
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +311 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +72 -4
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +717 -2
- data/generated/google/apis/displayvideo_v1/representations.rb +325 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1865 -162
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +45 -36
- data/generated/google/apis/healthcare_v1/service.rb +66 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +954 -83
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +682 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +116 -93
- data/generated/google/apis/iam_v1/service.rb +170 -144
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +75 -19
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/{pagespeedonline_v2.rb → playablelocations_v3.rb} +9 -10
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +68 -10
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → recommender_v1.rb} +12 -10
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -7
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1/service.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +2 -2
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1/service.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +2 -2
- data/generated/google/apis/run_v1beta1/service.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +19 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +55 -32
- data/generated/google/apis/spanner_v1/service.rb +10 -8
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +64 -26
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +33 -36
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +27 -19
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5022
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2057
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -490,6 +490,18 @@ module Google
|
|
490
490
|
include Google::Apis::Core::JsonObjectSupport
|
491
491
|
end
|
492
492
|
|
493
|
+
class V1Beta1ImportProducerQuotaPoliciesResponse
|
494
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
|
+
|
496
|
+
include Google::Apis::Core::JsonObjectSupport
|
497
|
+
end
|
498
|
+
|
499
|
+
class V1Beta1ProducerQuotaPolicy
|
500
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
501
|
+
|
502
|
+
include Google::Apis::Core::JsonObjectSupport
|
503
|
+
end
|
504
|
+
|
493
505
|
class V1Beta1QuotaOverride
|
494
506
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
495
507
|
|
@@ -794,7 +806,6 @@ module Google
|
|
794
806
|
class Representation < Google::Apis::Core::JsonRepresentation
|
795
807
|
collection :aliases, as: 'aliases'
|
796
808
|
property :allow_cors, as: 'allowCors'
|
797
|
-
collection :features, as: 'features'
|
798
809
|
property :name, as: 'name'
|
799
810
|
property :target, as: 'target'
|
800
811
|
end
|
@@ -1361,9 +1372,30 @@ module Google
|
|
1361
1372
|
end
|
1362
1373
|
end
|
1363
1374
|
|
1375
|
+
class V1Beta1ImportProducerQuotaPoliciesResponse
|
1376
|
+
# @private
|
1377
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1378
|
+
collection :policies, as: 'policies', class: Google::Apis::ServiceconsumermanagementV1::V1Beta1ProducerQuotaPolicy, decorator: Google::Apis::ServiceconsumermanagementV1::V1Beta1ProducerQuotaPolicy::Representation
|
1379
|
+
|
1380
|
+
end
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
class V1Beta1ProducerQuotaPolicy
|
1384
|
+
# @private
|
1385
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1386
|
+
property :container, as: 'container'
|
1387
|
+
hash :dimensions, as: 'dimensions'
|
1388
|
+
property :metric, as: 'metric'
|
1389
|
+
property :name, as: 'name'
|
1390
|
+
property :policy_value, :numeric_string => true, as: 'policyValue'
|
1391
|
+
property :unit, as: 'unit'
|
1392
|
+
end
|
1393
|
+
end
|
1394
|
+
|
1364
1395
|
class V1Beta1QuotaOverride
|
1365
1396
|
# @private
|
1366
1397
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1398
|
+
property :admin_override_ancestor, as: 'adminOverrideAncestor'
|
1367
1399
|
hash :dimensions, as: 'dimensions'
|
1368
1400
|
property :metric, as: 'metric'
|
1369
1401
|
property :name, as: 'name'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
26
26
|
module ServiceconsumermanagementV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200617'
|
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'
|
@@ -952,11 +952,6 @@ module Google
|
|
952
952
|
attr_accessor :allow_cors
|
953
953
|
alias_method :allow_cors?, :allow_cors
|
954
954
|
|
955
|
-
# The list of features enabled on this endpoint.
|
956
|
-
# Corresponds to the JSON property `features`
|
957
|
-
# @return [Array<String>]
|
958
|
-
attr_accessor :features
|
959
|
-
|
960
955
|
# The canonical name of this endpoint.
|
961
956
|
# Corresponds to the JSON property `name`
|
962
957
|
# @return [String]
|
@@ -979,7 +974,6 @@ module Google
|
|
979
974
|
def update!(**args)
|
980
975
|
@aliases = args[:aliases] if args.key?(:aliases)
|
981
976
|
@allow_cors = args[:allow_cors] if args.key?(:allow_cors)
|
982
|
-
@features = args[:features] if args.key?(:features)
|
983
977
|
@name = args[:name] if args.key?(:name)
|
984
978
|
@target = args[:target] if args.key?(:target)
|
985
979
|
end
|
@@ -1749,6 +1743,15 @@ module Google
|
|
1749
1743
|
# Defines a metric type and its schema. Once a metric descriptor is created,
|
1750
1744
|
# deleting or altering it stops data collection and makes the metric type's
|
1751
1745
|
# existing data unusable.
|
1746
|
+
# The following are specific rules for service defined Monitoring metric
|
1747
|
+
# descriptors:
|
1748
|
+
# * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
|
1749
|
+
# `launch_stage` fields are all required. The `unit` field must be specified
|
1750
|
+
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
|
1751
|
+
# * Maximum of default 500 metric descriptors per service is allowed.
|
1752
|
+
# * Maximum of default 10 labels per metric descriptor is allowed.
|
1753
|
+
# The default maximum limit can be overridden. Please follow
|
1754
|
+
# https://cloud.google.com/monitoring/quotas
|
1752
1755
|
class MetricDescriptor
|
1753
1756
|
include Google::Apis::Core::Hashable
|
1754
1757
|
|
@@ -1766,7 +1769,13 @@ module Google
|
|
1766
1769
|
attr_accessor :display_name
|
1767
1770
|
|
1768
1771
|
# The set of labels that can be used to describe a specific
|
1769
|
-
# instance of this metric type.
|
1772
|
+
# instance of this metric type.
|
1773
|
+
# The label key name must follow:
|
1774
|
+
# * Only upper and lower-case letters, digits and underscores (_) are
|
1775
|
+
# allowed.
|
1776
|
+
# * Label name must start with a letter or digit.
|
1777
|
+
# * The maximum length of a label name is 100 characters.
|
1778
|
+
# For example, the
|
1770
1779
|
# `appengine.googleapis.com/http/server/response_latencies` metric
|
1771
1780
|
# type has a label for the HTTP response code, `response_code`, so
|
1772
1781
|
# you can look at latencies for successful responses or just
|
@@ -1806,9 +1815,19 @@ module Google
|
|
1806
1815
|
attr_accessor :name
|
1807
1816
|
|
1808
1817
|
# The metric type, including its DNS name prefix. The type is not
|
1809
|
-
# URL-encoded.
|
1810
|
-
#
|
1811
|
-
#
|
1818
|
+
# URL-encoded.
|
1819
|
+
# All service defined metrics must be prefixed with the service name, in the
|
1820
|
+
# format of ``service name`/`relative metric name``, such as
|
1821
|
+
# `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric
|
1822
|
+
# name must follow:
|
1823
|
+
# * Only upper and lower-case letters, digits, '/' and underscores '_' are
|
1824
|
+
# allowed.
|
1825
|
+
# * The maximum number of characters allowed for the relative_metric_name is
|
1826
|
+
# 100.
|
1827
|
+
# All user-defined metric types have the DNS name
|
1828
|
+
# `custom.googleapis.com`, `external.googleapis.com`, or
|
1829
|
+
# `logging.googleapis.com/user/`.
|
1830
|
+
# Metric types should use a natural hierarchical grouping. For example:
|
1812
1831
|
# "custom.googleapis.com/invoice/paid/amount"
|
1813
1832
|
# "external.googleapis.com/prometheus/up"
|
1814
1833
|
# "appengine.googleapis.com/http/server/response_latencies"
|
@@ -1841,6 +1860,7 @@ module Google
|
|
1841
1860
|
# * `min` minute
|
1842
1861
|
# * `h` hour
|
1843
1862
|
# * `d` day
|
1863
|
+
# * `1` dimensionless
|
1844
1864
|
# **Prefixes (PREFIX)**
|
1845
1865
|
# * `k` kilo (10^3)
|
1846
1866
|
# * `M` mega (10^6)
|
@@ -2087,9 +2107,20 @@ module Google
|
|
2087
2107
|
# descriptor for Google Compute Engine VM instances has a type of
|
2088
2108
|
# `"gce_instance"` and specifies the use of the labels `"instance_id"` and
|
2089
2109
|
# `"zone"` to identify particular VM instances.
|
2090
|
-
# Different
|
2091
|
-
#
|
2092
|
-
#
|
2110
|
+
# Different services can support different monitored resource types.
|
2111
|
+
# The following are specific rules to service defined monitored resources for
|
2112
|
+
# Monitoring and Logging:
|
2113
|
+
# * The `type`, `display_name`, `description`, `labels` and `launch_stage`
|
2114
|
+
# fields are all required.
|
2115
|
+
# * The first label of the monitored resource descriptor must be
|
2116
|
+
# `resource_container`. There are legacy monitored resource descritptors
|
2117
|
+
# start with `project_id`.
|
2118
|
+
# * It must include a `location` label.
|
2119
|
+
# * Maximum of default 5 service defined monitored resource descriptors
|
2120
|
+
# is allowed per service.
|
2121
|
+
# * Maximum of default 10 labels per monitored resource is allowed.
|
2122
|
+
# The default maximum limit can be overridden. Please follow
|
2123
|
+
# https://cloud.google.com/monitoring/quotas
|
2093
2124
|
class MonitoredResourceDescriptor
|
2094
2125
|
include Google::Apis::Core::Hashable
|
2095
2126
|
|
@@ -2108,8 +2139,14 @@ module Google
|
|
2108
2139
|
attr_accessor :display_name
|
2109
2140
|
|
2110
2141
|
# Required. A set of labels used to describe instances of this monitored
|
2111
|
-
# resource type.
|
2112
|
-
#
|
2142
|
+
# resource type.
|
2143
|
+
# The label key name must follow:
|
2144
|
+
# * Only upper and lower-case letters, digits and underscores (_) are
|
2145
|
+
# allowed.
|
2146
|
+
# * Label name must start with a letter or digit.
|
2147
|
+
# * The maximum length of a label name is 100 characters.
|
2148
|
+
# For example, an individual Google Cloud SQL database is
|
2149
|
+
# identified by values for the labels `database_id` and `location`.
|
2113
2150
|
# Corresponds to the JSON property `labels`
|
2114
2151
|
# @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::LabelDescriptor>]
|
2115
2152
|
attr_accessor :labels
|
@@ -2130,8 +2167,16 @@ module Google
|
|
2130
2167
|
attr_accessor :name
|
2131
2168
|
|
2132
2169
|
# Required. The monitored resource type. For example, the type
|
2133
|
-
# `
|
2134
|
-
#
|
2170
|
+
# `cloudsql_database` represents databases in Google Cloud SQL.
|
2171
|
+
# All service defined monitored resource types must be prefixed with the
|
2172
|
+
# service name, in the format of ``service name`/`relative resource name``.
|
2173
|
+
# The relative resource name must follow:
|
2174
|
+
# * Only upper and lower-case letters and digits are allowed.
|
2175
|
+
# * It must start with upper case character and is recommended to use Upper
|
2176
|
+
# Camel Case style.
|
2177
|
+
# * The maximum number of characters allowed for the relative_resource_name
|
2178
|
+
# is 100.
|
2179
|
+
# Note there are legacy service monitored resources not following this rule.
|
2135
2180
|
# Corresponds to the JSON property `type`
|
2136
2181
|
# @return [String]
|
2137
2182
|
attr_accessor :type
|
@@ -2156,41 +2201,56 @@ module Google
|
|
2156
2201
|
# for monitoring. In the example, a monitored resource and two metrics are
|
2157
2202
|
# defined. The `library.googleapis.com/book/returned_count` metric is sent
|
2158
2203
|
# to both producer and consumer projects, whereas the
|
2159
|
-
# `library.googleapis.com/book/
|
2204
|
+
# `library.googleapis.com/book/num_overdue` metric is only sent to the
|
2160
2205
|
# consumer project.
|
2161
2206
|
# monitored_resources:
|
2162
|
-
# - type: library.googleapis.com/
|
2207
|
+
# - type: library.googleapis.com/Branch
|
2208
|
+
# display_name: "Library Branch"
|
2209
|
+
# description: "A branch of a library."
|
2210
|
+
# launch_stage: GA
|
2163
2211
|
# labels:
|
2164
|
-
# - key:
|
2165
|
-
# description: The
|
2166
|
-
# - key:
|
2167
|
-
# description: The
|
2212
|
+
# - key: resource_container
|
2213
|
+
# description: "The Cloud container (ie. project id) for the Branch."
|
2214
|
+
# - key: location
|
2215
|
+
# description: "The location of the library branch."
|
2216
|
+
# - key: branch_id
|
2217
|
+
# description: "The id of the branch."
|
2168
2218
|
# metrics:
|
2169
2219
|
# - name: library.googleapis.com/book/returned_count
|
2220
|
+
# display_name: "Books Returned"
|
2221
|
+
# description: "The count of books that have been returned."
|
2222
|
+
# launch_stage: GA
|
2170
2223
|
# metric_kind: DELTA
|
2171
2224
|
# value_type: INT64
|
2225
|
+
# unit: "1"
|
2172
2226
|
# labels:
|
2173
|
-
# - key:
|
2174
|
-
#
|
2227
|
+
# - key: customer_id
|
2228
|
+
# description: "The id of the customer."
|
2229
|
+
# - name: library.googleapis.com/book/num_overdue
|
2230
|
+
# display_name: "Books Overdue"
|
2231
|
+
# description: "The current number of overdue books."
|
2232
|
+
# launch_stage: GA
|
2175
2233
|
# metric_kind: GAUGE
|
2176
2234
|
# value_type: INT64
|
2235
|
+
# unit: "1"
|
2177
2236
|
# labels:
|
2178
|
-
# - key:
|
2237
|
+
# - key: customer_id
|
2238
|
+
# description: "The id of the customer."
|
2179
2239
|
# monitoring:
|
2180
2240
|
# producer_destinations:
|
2181
|
-
# - monitored_resource: library.googleapis.com/
|
2241
|
+
# - monitored_resource: library.googleapis.com/Branch
|
2182
2242
|
# metrics:
|
2183
2243
|
# - library.googleapis.com/book/returned_count
|
2184
2244
|
# consumer_destinations:
|
2185
|
-
# - monitored_resource: library.googleapis.com/
|
2245
|
+
# - monitored_resource: library.googleapis.com/Branch
|
2186
2246
|
# metrics:
|
2187
2247
|
# - library.googleapis.com/book/returned_count
|
2188
|
-
# - library.googleapis.com/book/
|
2248
|
+
# - library.googleapis.com/book/num_overdue
|
2189
2249
|
class Monitoring
|
2190
2250
|
include Google::Apis::Core::Hashable
|
2191
2251
|
|
2192
2252
|
# Monitoring configurations for sending metrics to the consumer project.
|
2193
|
-
# There can be multiple consumer destinations. A monitored
|
2253
|
+
# There can be multiple consumer destinations. A monitored resource type may
|
2194
2254
|
# appear in multiple monitoring destinations if different aggregations are
|
2195
2255
|
# needed for different sets of metrics associated with that monitored
|
2196
2256
|
# resource type. A monitored resource and metric pair may only be used once
|
@@ -2200,7 +2260,7 @@ module Google
|
|
2200
2260
|
attr_accessor :consumer_destinations
|
2201
2261
|
|
2202
2262
|
# Monitoring configurations for sending metrics to the producer project.
|
2203
|
-
# There can be multiple producer destinations. A monitored
|
2263
|
+
# There can be multiple producer destinations. A monitored resource type may
|
2204
2264
|
# appear in multiple monitoring destinations if different aggregations are
|
2205
2265
|
# needed for different sets of metrics associated with that monitored
|
2206
2266
|
# resource type. A monitored resource and metric pair may only be used once
|
@@ -2889,36 +2949,51 @@ module Google
|
|
2889
2949
|
# for monitoring. In the example, a monitored resource and two metrics are
|
2890
2950
|
# defined. The `library.googleapis.com/book/returned_count` metric is sent
|
2891
2951
|
# to both producer and consumer projects, whereas the
|
2892
|
-
# `library.googleapis.com/book/
|
2952
|
+
# `library.googleapis.com/book/num_overdue` metric is only sent to the
|
2893
2953
|
# consumer project.
|
2894
2954
|
# monitored_resources:
|
2895
|
-
# - type: library.googleapis.com/
|
2955
|
+
# - type: library.googleapis.com/Branch
|
2956
|
+
# display_name: "Library Branch"
|
2957
|
+
# description: "A branch of a library."
|
2958
|
+
# launch_stage: GA
|
2896
2959
|
# labels:
|
2897
|
-
# - key:
|
2898
|
-
# description: The
|
2899
|
-
# - key:
|
2900
|
-
# description: The
|
2960
|
+
# - key: resource_container
|
2961
|
+
# description: "The Cloud container (ie. project id) for the Branch."
|
2962
|
+
# - key: location
|
2963
|
+
# description: "The location of the library branch."
|
2964
|
+
# - key: branch_id
|
2965
|
+
# description: "The id of the branch."
|
2901
2966
|
# metrics:
|
2902
2967
|
# - name: library.googleapis.com/book/returned_count
|
2968
|
+
# display_name: "Books Returned"
|
2969
|
+
# description: "The count of books that have been returned."
|
2970
|
+
# launch_stage: GA
|
2903
2971
|
# metric_kind: DELTA
|
2904
2972
|
# value_type: INT64
|
2973
|
+
# unit: "1"
|
2905
2974
|
# labels:
|
2906
|
-
# - key:
|
2907
|
-
#
|
2975
|
+
# - key: customer_id
|
2976
|
+
# description: "The id of the customer."
|
2977
|
+
# - name: library.googleapis.com/book/num_overdue
|
2978
|
+
# display_name: "Books Overdue"
|
2979
|
+
# description: "The current number of overdue books."
|
2980
|
+
# launch_stage: GA
|
2908
2981
|
# metric_kind: GAUGE
|
2909
2982
|
# value_type: INT64
|
2983
|
+
# unit: "1"
|
2910
2984
|
# labels:
|
2911
|
-
# - key:
|
2985
|
+
# - key: customer_id
|
2986
|
+
# description: "The id of the customer."
|
2912
2987
|
# monitoring:
|
2913
2988
|
# producer_destinations:
|
2914
|
-
# - monitored_resource: library.googleapis.com/
|
2989
|
+
# - monitored_resource: library.googleapis.com/Branch
|
2915
2990
|
# metrics:
|
2916
2991
|
# - library.googleapis.com/book/returned_count
|
2917
2992
|
# consumer_destinations:
|
2918
|
-
# - monitored_resource: library.googleapis.com/
|
2993
|
+
# - monitored_resource: library.googleapis.com/Branch
|
2919
2994
|
# metrics:
|
2920
2995
|
# - library.googleapis.com/book/returned_count
|
2921
|
-
# - library.googleapis.com/book/
|
2996
|
+
# - library.googleapis.com/book/num_overdue
|
2922
2997
|
# Corresponds to the JSON property `monitoring`
|
2923
2998
|
# @return [Google::Apis::ServiceconsumermanagementV1beta1::Monitoring]
|
2924
2999
|
attr_accessor :monitoring
|
@@ -3560,6 +3635,11 @@ module Google
|
|
3560
3635
|
# @return [String]
|
3561
3636
|
attr_accessor :name
|
3562
3637
|
|
3638
|
+
# The units in which the metric value is reported.
|
3639
|
+
# Corresponds to the JSON property `unit`
|
3640
|
+
# @return [String]
|
3641
|
+
attr_accessor :unit
|
3642
|
+
|
3563
3643
|
def initialize(**args)
|
3564
3644
|
update!(**args)
|
3565
3645
|
end
|
@@ -3570,6 +3650,7 @@ module Google
|
|
3570
3650
|
@display_name = args[:display_name] if args.key?(:display_name)
|
3571
3651
|
@metric = args[:metric] if args.key?(:metric)
|
3572
3652
|
@name = args[:name] if args.key?(:name)
|
3653
|
+
@unit = args[:unit] if args.key?(:unit)
|
3573
3654
|
end
|
3574
3655
|
end
|
3575
3656
|
|
@@ -3673,6 +3754,25 @@ module Google
|
|
3673
3754
|
end
|
3674
3755
|
end
|
3675
3756
|
|
3757
|
+
# Response message for ImportProducerQuotaPolicies
|
3758
|
+
class V1Beta1ImportProducerQuotaPoliciesResponse
|
3759
|
+
include Google::Apis::Core::Hashable
|
3760
|
+
|
3761
|
+
# The policies that were created from the imported data.
|
3762
|
+
# Corresponds to the JSON property `policies`
|
3763
|
+
# @return [Array<Google::Apis::ServiceconsumermanagementV1beta1::V1Beta1ProducerQuotaPolicy>]
|
3764
|
+
attr_accessor :policies
|
3765
|
+
|
3766
|
+
def initialize(**args)
|
3767
|
+
update!(**args)
|
3768
|
+
end
|
3769
|
+
|
3770
|
+
# Update properties of this object
|
3771
|
+
def update!(**args)
|
3772
|
+
@policies = args[:policies] if args.key?(:policies)
|
3773
|
+
end
|
3774
|
+
end
|
3775
|
+
|
3676
3776
|
# Response message for ListConsumerQuotaMetrics.
|
3677
3777
|
class V1Beta1ListConsumerQuotaMetricsResponse
|
3678
3778
|
include Google::Apis::Core::Hashable
|
@@ -3746,6 +3846,84 @@ module Google
|
|
3746
3846
|
end
|
3747
3847
|
end
|
3748
3848
|
|
3849
|
+
# Quota policy created by service producer.
|
3850
|
+
class V1Beta1ProducerQuotaPolicy
|
3851
|
+
include Google::Apis::Core::Hashable
|
3852
|
+
|
3853
|
+
# The cloud resource container at which the quota policy is created. The
|
3854
|
+
# format is `container_type`/`container_number`
|
3855
|
+
# Corresponds to the JSON property `container`
|
3856
|
+
# @return [String]
|
3857
|
+
attr_accessor :container
|
3858
|
+
|
3859
|
+
# If this map is nonempty, then this policy applies only to specific values
|
3860
|
+
# for dimensions defined in the limit unit.
|
3861
|
+
# For example, an policy on a limit with the unit 1/`project`/`region`
|
3862
|
+
# could contain an entry with the key "region" and the value "us-east-1";
|
3863
|
+
# the policy is only applied to quota consumed in that region.
|
3864
|
+
# This map has the following restrictions:
|
3865
|
+
# * Keys that are not defined in the limit's unit are not valid keys.
|
3866
|
+
# Any string appearing in `brackets` in the unit (besides `project` or
|
3867
|
+
# `user`) is a defined key.
|
3868
|
+
# * "project" is not a valid key; the project is already specified in
|
3869
|
+
# the parent resource name.
|
3870
|
+
# * "user" is not a valid key; the API does not support quota polcies
|
3871
|
+
# that apply only to a specific user.
|
3872
|
+
# * If "region" appears as a key, its value must be a valid Cloud region.
|
3873
|
+
# * If "zone" appears as a key, its value must be a valid Cloud zone.
|
3874
|
+
# * If any valid key other than "region" or "zone" appears in the map, then
|
3875
|
+
# all valid keys other than "region" or "zone" must also appear in the
|
3876
|
+
# map.
|
3877
|
+
# Corresponds to the JSON property `dimensions`
|
3878
|
+
# @return [Hash<String,String>]
|
3879
|
+
attr_accessor :dimensions
|
3880
|
+
|
3881
|
+
# The name of the metric to which this policy applies.
|
3882
|
+
# An example name would be:
|
3883
|
+
# `compute.googleapis.com/cpus`
|
3884
|
+
# Corresponds to the JSON property `metric`
|
3885
|
+
# @return [String]
|
3886
|
+
attr_accessor :metric
|
3887
|
+
|
3888
|
+
# The resource name of the producer policy.
|
3889
|
+
# An example name would be:
|
3890
|
+
# `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/
|
3891
|
+
# compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/
|
3892
|
+
# 4a3f2c1d`
|
3893
|
+
# Corresponds to the JSON property `name`
|
3894
|
+
# @return [String]
|
3895
|
+
attr_accessor :name
|
3896
|
+
|
3897
|
+
# The quota policy value.
|
3898
|
+
# Can be any nonnegative integer, or -1 (unlimited quota).
|
3899
|
+
# Corresponds to the JSON property `policyValue`
|
3900
|
+
# @return [Fixnum]
|
3901
|
+
attr_accessor :policy_value
|
3902
|
+
|
3903
|
+
# The limit unit of the limit to which this policy applies.
|
3904
|
+
# An example unit would be:
|
3905
|
+
# `1/`project`/`region``
|
3906
|
+
# Note that ``project`` and ``region`` are not placeholders in this example;
|
3907
|
+
# the literal characters ``` and ``` occur in the string.
|
3908
|
+
# Corresponds to the JSON property `unit`
|
3909
|
+
# @return [String]
|
3910
|
+
attr_accessor :unit
|
3911
|
+
|
3912
|
+
def initialize(**args)
|
3913
|
+
update!(**args)
|
3914
|
+
end
|
3915
|
+
|
3916
|
+
# Update properties of this object
|
3917
|
+
def update!(**args)
|
3918
|
+
@container = args[:container] if args.key?(:container)
|
3919
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
3920
|
+
@metric = args[:metric] if args.key?(:metric)
|
3921
|
+
@name = args[:name] if args.key?(:name)
|
3922
|
+
@policy_value = args[:policy_value] if args.key?(:policy_value)
|
3923
|
+
@unit = args[:unit] if args.key?(:unit)
|
3924
|
+
end
|
3925
|
+
end
|
3926
|
+
|
3749
3927
|
# A quota bucket is a quota provisioning unit for a specific set of dimensions.
|
3750
3928
|
class V1Beta1QuotaBucket
|
3751
3929
|
include Google::Apis::Core::Hashable
|
@@ -3808,6 +3986,13 @@ module Google
|
|
3808
3986
|
class V1Beta1QuotaOverride
|
3809
3987
|
include Google::Apis::Core::Hashable
|
3810
3988
|
|
3989
|
+
# The resource name of the ancestor that requested the override. For example:
|
3990
|
+
# "organizations/12345" or "folders/67890".
|
3991
|
+
# Used by admin overrides only.
|
3992
|
+
# Corresponds to the JSON property `adminOverrideAncestor`
|
3993
|
+
# @return [String]
|
3994
|
+
attr_accessor :admin_override_ancestor
|
3995
|
+
|
3811
3996
|
# If this map is nonempty, then this override applies only to specific values
|
3812
3997
|
# for dimensions defined in the limit unit.
|
3813
3998
|
# For example, an override on a limit with the unit 1/`project`/`region`
|
@@ -3866,6 +4051,7 @@ module Google
|
|
3866
4051
|
|
3867
4052
|
# Update properties of this object
|
3868
4053
|
def update!(**args)
|
4054
|
+
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
|
3869
4055
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
3870
4056
|
@metric = args[:metric] if args.key?(:metric)
|
3871
4057
|
@name = args[:name] if args.key?(:name)
|