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
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://console.cloud.google.com/apis/api/securitycenter.googleapis.com/overview
|
27
27
|
module SecuritycenterV1p1beta1
|
28
28
|
VERSION = 'V1p1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200619'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
# `
|
60
60
|
# "audit_configs": [
|
61
61
|
# `
|
62
|
-
# "service": "allServices"
|
62
|
+
# "service": "allServices",
|
63
63
|
# "audit_log_configs": [
|
64
64
|
# `
|
65
65
|
# "log_type": "DATA_READ",
|
@@ -68,18 +68,18 @@ module Google
|
|
68
68
|
# ]
|
69
69
|
# `,
|
70
70
|
# `
|
71
|
-
# "log_type": "DATA_WRITE"
|
71
|
+
# "log_type": "DATA_WRITE"
|
72
72
|
# `,
|
73
73
|
# `
|
74
|
-
# "log_type": "ADMIN_READ"
|
74
|
+
# "log_type": "ADMIN_READ"
|
75
75
|
# `
|
76
76
|
# ]
|
77
77
|
# `,
|
78
78
|
# `
|
79
|
-
# "service": "sampleservice.googleapis.com"
|
79
|
+
# "service": "sampleservice.googleapis.com",
|
80
80
|
# "audit_log_configs": [
|
81
81
|
# `
|
82
|
-
# "log_type": "DATA_READ"
|
82
|
+
# "log_type": "DATA_READ"
|
83
83
|
# `,
|
84
84
|
# `
|
85
85
|
# "log_type": "DATA_WRITE",
|
@@ -131,7 +131,7 @@ module Google
|
|
131
131
|
# ]
|
132
132
|
# `,
|
133
133
|
# `
|
134
|
-
# "log_type": "DATA_WRITE"
|
134
|
+
# "log_type": "DATA_WRITE"
|
135
135
|
# `
|
136
136
|
# ]
|
137
137
|
# `
|
@@ -495,6 +495,11 @@ module Google
|
|
495
495
|
# @return [String]
|
496
496
|
attr_accessor :notification_config_name
|
497
497
|
|
498
|
+
# Information related to the Google Cloud resource.
|
499
|
+
# Corresponds to the JSON property `resource`
|
500
|
+
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource]
|
501
|
+
attr_accessor :resource
|
502
|
+
|
498
503
|
def initialize(**args)
|
499
504
|
update!(**args)
|
500
505
|
end
|
@@ -503,6 +508,51 @@ module Google
|
|
503
508
|
def update!(**args)
|
504
509
|
@finding = args[:finding] if args.key?(:finding)
|
505
510
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
511
|
+
@resource = args[:resource] if args.key?(:resource)
|
512
|
+
end
|
513
|
+
end
|
514
|
+
|
515
|
+
# Information related to the Google Cloud resource.
|
516
|
+
class GoogleCloudSecuritycenterV1Resource
|
517
|
+
include Google::Apis::Core::Hashable
|
518
|
+
|
519
|
+
# The full resource name of the resource. See:
|
520
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
521
|
+
# Corresponds to the JSON property `name`
|
522
|
+
# @return [String]
|
523
|
+
attr_accessor :name
|
524
|
+
|
525
|
+
# The full resource name of resource's parent.
|
526
|
+
# Corresponds to the JSON property `parent`
|
527
|
+
# @return [String]
|
528
|
+
attr_accessor :parent
|
529
|
+
|
530
|
+
# The human readable name of resource's parent.
|
531
|
+
# Corresponds to the JSON property `parentDisplayName`
|
532
|
+
# @return [String]
|
533
|
+
attr_accessor :parent_display_name
|
534
|
+
|
535
|
+
# The full resource name of project that the resource belongs to.
|
536
|
+
# Corresponds to the JSON property `project`
|
537
|
+
# @return [String]
|
538
|
+
attr_accessor :project
|
539
|
+
|
540
|
+
# The human readable name of project that the resource belongs to.
|
541
|
+
# Corresponds to the JSON property `projectDisplayName`
|
542
|
+
# @return [String]
|
543
|
+
attr_accessor :project_display_name
|
544
|
+
|
545
|
+
def initialize(**args)
|
546
|
+
update!(**args)
|
547
|
+
end
|
548
|
+
|
549
|
+
# Update properties of this object
|
550
|
+
def update!(**args)
|
551
|
+
@name = args[:name] if args.key?(:name)
|
552
|
+
@parent = args[:parent] if args.key?(:parent)
|
553
|
+
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
554
|
+
@project = args[:project] if args.key?(:project)
|
555
|
+
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
506
556
|
end
|
507
557
|
end
|
508
558
|
|
@@ -771,6 +821,11 @@ module Google
|
|
771
821
|
# @return [String]
|
772
822
|
attr_accessor :notification_config_name
|
773
823
|
|
824
|
+
# Information related to the Google Cloud resource.
|
825
|
+
# Corresponds to the JSON property `resource`
|
826
|
+
# @return [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource]
|
827
|
+
attr_accessor :resource
|
828
|
+
|
774
829
|
# Wrapper over asset object that also captures the state change for the asset
|
775
830
|
# e.g. if it was a newly created asset vs updated or deleted asset.
|
776
831
|
# Corresponds to the JSON property `temporalAsset`
|
@@ -785,10 +840,55 @@ module Google
|
|
785
840
|
def update!(**args)
|
786
841
|
@finding = args[:finding] if args.key?(:finding)
|
787
842
|
@notification_config_name = args[:notification_config_name] if args.key?(:notification_config_name)
|
843
|
+
@resource = args[:resource] if args.key?(:resource)
|
788
844
|
@temporal_asset = args[:temporal_asset] if args.key?(:temporal_asset)
|
789
845
|
end
|
790
846
|
end
|
791
847
|
|
848
|
+
# Information related to the Google Cloud resource.
|
849
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
850
|
+
include Google::Apis::Core::Hashable
|
851
|
+
|
852
|
+
# The full resource name of the resource. See:
|
853
|
+
# https://cloud.google.com/apis/design/resource_names#full_resource_name
|
854
|
+
# Corresponds to the JSON property `name`
|
855
|
+
# @return [String]
|
856
|
+
attr_accessor :name
|
857
|
+
|
858
|
+
# The full resource name of resource's parent.
|
859
|
+
# Corresponds to the JSON property `parent`
|
860
|
+
# @return [String]
|
861
|
+
attr_accessor :parent
|
862
|
+
|
863
|
+
# The human readable name of resource's parent.
|
864
|
+
# Corresponds to the JSON property `parentDisplayName`
|
865
|
+
# @return [String]
|
866
|
+
attr_accessor :parent_display_name
|
867
|
+
|
868
|
+
# The full resource name of project that the resource belongs to.
|
869
|
+
# Corresponds to the JSON property `project`
|
870
|
+
# @return [String]
|
871
|
+
attr_accessor :project
|
872
|
+
|
873
|
+
# The human readable name of project that the resource belongs to.
|
874
|
+
# Corresponds to the JSON property `projectDisplayName`
|
875
|
+
# @return [String]
|
876
|
+
attr_accessor :project_display_name
|
877
|
+
|
878
|
+
def initialize(**args)
|
879
|
+
update!(**args)
|
880
|
+
end
|
881
|
+
|
882
|
+
# Update properties of this object
|
883
|
+
def update!(**args)
|
884
|
+
@name = args[:name] if args.key?(:name)
|
885
|
+
@parent = args[:parent] if args.key?(:parent)
|
886
|
+
@parent_display_name = args[:parent_display_name] if args.key?(:parent_display_name)
|
887
|
+
@project = args[:project] if args.key?(:project)
|
888
|
+
@project_display_name = args[:project_display_name] if args.key?(:project_display_name)
|
889
|
+
end
|
890
|
+
end
|
891
|
+
|
792
892
|
# Response of asset discovery run
|
793
893
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
794
894
|
include Google::Apis::Core::Hashable
|
@@ -1007,13 +1107,13 @@ module Google
|
|
1007
1107
|
# * update_time: `=`, `>`, `<`, `>=`, `<=`
|
1008
1108
|
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1009
1109
|
# Examples:
|
1010
|
-
#
|
1011
|
-
#
|
1110
|
+
# `update_time = "2019-06-10T16:07:18-07:00"`
|
1111
|
+
# `update_time = 1560208038000`
|
1012
1112
|
# * create_time: `=`, `>`, `<`, `>=`, `<=`
|
1013
1113
|
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1014
1114
|
# Examples:
|
1015
|
-
#
|
1016
|
-
#
|
1115
|
+
# `create_time = "2019-06-10T16:07:18-07:00"`
|
1116
|
+
# `create_time = 1560208038000`
|
1017
1117
|
# * iam_policy.policy_blob: `=`, `:`
|
1018
1118
|
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
1019
1119
|
# * security_marks.marks: `=`, `:`
|
@@ -1027,9 +1127,9 @@ module Google
|
|
1027
1127
|
# * security_center_properties.resource_owners: `=`, `:`
|
1028
1128
|
# For example, `resource_properties.size = 100` is a valid filter string.
|
1029
1129
|
# Use a partial match on the empty string to filter based on a property
|
1030
|
-
# existing:
|
1130
|
+
# existing: `resource_properties.my_property : ""`
|
1031
1131
|
# Use a negated partial match on the empty string to filter based on a
|
1032
|
-
# property not existing:
|
1132
|
+
# property not existing: `-resource_properties.my_property : ""`
|
1033
1133
|
# Corresponds to the JSON property `filter`
|
1034
1134
|
# @return [String]
|
1035
1135
|
attr_accessor :filter
|
@@ -1192,15 +1292,15 @@ module Google
|
|
1192
1292
|
# * event_time: `=`, `>`, `<`, `>=`, `<=`
|
1193
1293
|
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1194
1294
|
# Examples:
|
1195
|
-
#
|
1196
|
-
#
|
1295
|
+
# `event_time = "2019-06-10T16:07:18-07:00"`
|
1296
|
+
# `event_time = 1560208038000`
|
1197
1297
|
# * security_marks.marks: `=`, `:`
|
1198
1298
|
# * source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
1199
1299
|
# For example, `source_properties.size = 100` is a valid filter string.
|
1200
1300
|
# Use a partial match on the empty string to filter based on a property
|
1201
|
-
# existing:
|
1301
|
+
# existing: `source_properties.my_property : ""`
|
1202
1302
|
# Use a negated partial match on the empty string to filter based on a
|
1203
|
-
# property not existing:
|
1303
|
+
# property not existing: `-source_properties.my_property : ""`
|
1204
1304
|
# Corresponds to the JSON property `filter`
|
1205
1305
|
# @return [String]
|
1206
1306
|
attr_accessor :filter
|
@@ -82,6 +82,12 @@ module Google
|
|
82
82
|
include Google::Apis::Core::JsonObjectSupport
|
83
83
|
end
|
84
84
|
|
85
|
+
class GoogleCloudSecuritycenterV1Resource
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
85
91
|
class GoogleCloudSecuritycenterV1RunAssetDiscoveryResponse
|
86
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
93
|
|
@@ -118,6 +124,12 @@ module Google
|
|
118
124
|
include Google::Apis::Core::JsonObjectSupport
|
119
125
|
end
|
120
126
|
|
127
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -387,6 +399,19 @@ module Google
|
|
387
399
|
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::Finding::Representation
|
388
400
|
|
389
401
|
property :notification_config_name, as: 'notificationConfigName'
|
402
|
+
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1Resource::Representation
|
403
|
+
|
404
|
+
end
|
405
|
+
end
|
406
|
+
|
407
|
+
class GoogleCloudSecuritycenterV1Resource
|
408
|
+
# @private
|
409
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
410
|
+
property :name, as: 'name'
|
411
|
+
property :parent, as: 'parent'
|
412
|
+
property :parent_display_name, as: 'parentDisplayName'
|
413
|
+
property :project, as: 'project'
|
414
|
+
property :project_display_name, as: 'projectDisplayName'
|
390
415
|
end
|
391
416
|
end
|
392
417
|
|
@@ -452,11 +477,24 @@ module Google
|
|
452
477
|
property :finding, as: 'finding', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding::Representation
|
453
478
|
|
454
479
|
property :notification_config_name, as: 'notificationConfigName'
|
480
|
+
property :resource, as: 'resource', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Resource::Representation
|
481
|
+
|
455
482
|
property :temporal_asset, as: 'temporalAsset', class: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset, decorator: Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1TemporalAsset::Representation
|
456
483
|
|
457
484
|
end
|
458
485
|
end
|
459
486
|
|
487
|
+
class GoogleCloudSecuritycenterV1p1beta1Resource
|
488
|
+
# @private
|
489
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
490
|
+
property :name, as: 'name'
|
491
|
+
property :parent, as: 'parent'
|
492
|
+
property :parent_display_name, as: 'parentDisplayName'
|
493
|
+
property :project, as: 'project'
|
494
|
+
property :project_display_name, as: 'projectDisplayName'
|
495
|
+
end
|
496
|
+
end
|
497
|
+
|
460
498
|
class GoogleCloudSecuritycenterV1p1beta1RunAssetDiscoveryResponse
|
461
499
|
# @private
|
462
500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -181,7 +181,6 @@ module Google
|
|
181
181
|
# is "UNUSED", which will be the state_change set for all assets present at
|
182
182
|
# read_time.
|
183
183
|
# @param [String] field_mask
|
184
|
-
# Optional.
|
185
184
|
# A field mask to specify the ListAssetsResult fields to be listed in the
|
186
185
|
# response.
|
187
186
|
# An empty field mask will list all fields.
|
@@ -210,13 +209,13 @@ module Google
|
|
210
209
|
# * update_time: `=`, `>`, `<`, `>=`, `<=`
|
211
210
|
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
212
211
|
# Examples:
|
213
|
-
#
|
214
|
-
#
|
212
|
+
# `update_time = "2019-06-10T16:07:18-07:00"`
|
213
|
+
# `update_time = 1560208038000`
|
215
214
|
# * create_time: `=`, `>`, `<`, `>=`, `<=`
|
216
215
|
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
217
216
|
# Examples:
|
218
|
-
#
|
219
|
-
#
|
217
|
+
# `create_time = "2019-06-10T16:07:18-07:00"`
|
218
|
+
# `create_time = 1560208038000`
|
220
219
|
# * iam_policy.policy_blob: `=`, `:`
|
221
220
|
# * resource_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
222
221
|
# * security_marks.marks: `=`, `:`
|
@@ -230,9 +229,9 @@ module Google
|
|
230
229
|
# * security_center_properties.resource_owners: `=`, `:`
|
231
230
|
# For example, `resource_properties.size = 100` is a valid filter string.
|
232
231
|
# Use a partial match on the empty string to filter based on a property
|
233
|
-
# existing:
|
232
|
+
# existing: `resource_properties.my_property : ""`
|
234
233
|
# Use a negated partial match on the empty string to filter based on a
|
235
|
-
# property not existing:
|
234
|
+
# property not existing: `-resource_properties.my_property : ""`
|
236
235
|
# @param [String] order_by
|
237
236
|
# Expression that defines what fields and order to use for sorting. The
|
238
237
|
# string value should follow SQL syntax: comma separated list of fields. For
|
@@ -530,7 +529,8 @@ module Google
|
|
530
529
|
execute_or_queue_command(command, &block)
|
531
530
|
end
|
532
531
|
|
533
|
-
# Updates a notification config.
|
532
|
+
# Updates a notification config. The following update
|
533
|
+
# fields are allowed: description, pubsub_topic, streaming_config.filter
|
534
534
|
# @param [String] name
|
535
535
|
# The relative resource name of this notification config. See:
|
536
536
|
# https://cloud.google.com/apis/design/resource_names#relative_resource_name
|
@@ -976,8 +976,6 @@ module Google
|
|
976
976
|
# @param [Google::Apis::SecuritycenterV1p1beta1::GoogleCloudSecuritycenterV1p1beta1Finding] google_cloud_securitycenter_v1p1beta1_finding_object
|
977
977
|
# @param [String] finding_id
|
978
978
|
# Required. Unique identifier provided by the client within the parent scope.
|
979
|
-
# It must be alphanumeric and less than or equal to 32 characters and
|
980
|
-
# greater than 0 characters in length.
|
981
979
|
# @param [String] fields
|
982
980
|
# Selector specifying which fields to include in a partial response.
|
983
981
|
# @param [String] quota_user
|
@@ -1083,7 +1081,6 @@ module Google
|
|
1083
1081
|
# is "UNUSED", which will be the state_change set for all findings present at
|
1084
1082
|
# read_time.
|
1085
1083
|
# @param [String] field_mask
|
1086
|
-
# Optional.
|
1087
1084
|
# A field mask to specify the Finding fields to be listed in the response.
|
1088
1085
|
# An empty field mask will list all fields.
|
1089
1086
|
# @param [String] filter
|
@@ -1114,15 +1111,15 @@ module Google
|
|
1114
1111
|
# event_time: `=`, `>`, `<`, `>=`, `<=`
|
1115
1112
|
# Usage: This should be milliseconds since epoch or an RFC3339 string.
|
1116
1113
|
# Examples:
|
1117
|
-
#
|
1118
|
-
#
|
1114
|
+
# `event_time = "2019-06-10T16:07:18-07:00"`
|
1115
|
+
# `event_time = 1560208038000`
|
1119
1116
|
# security_marks.marks: `=`, `:`
|
1120
1117
|
# source_properties: `=`, `:`, `>`, `<`, `>=`, `<=`
|
1121
1118
|
# For example, `source_properties.size = 100` is a valid filter string.
|
1122
1119
|
# Use a partial match on the empty string to filter based on a property
|
1123
|
-
# existing:
|
1120
|
+
# existing: `source_properties.my_property : ""`
|
1124
1121
|
# Use a negated partial match on the empty string to filter based on a
|
1125
|
-
# property not existing:
|
1122
|
+
# property not existing: `-source_properties.my_property : ""`
|
1126
1123
|
# @param [String] order_by
|
1127
1124
|
# Expression that defines what fields and order to use for sorting. The
|
1128
1125
|
# string value should follow SQL syntax: comma separated list of fields. For
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/service-consumer-management/docs/overview
|
26
26
|
module ServiceconsumermanagementV1
|
27
27
|
VERSION = 'V1'
|
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'
|
@@ -1124,11 +1124,6 @@ module Google
|
|
1124
1124
|
attr_accessor :allow_cors
|
1125
1125
|
alias_method :allow_cors?, :allow_cors
|
1126
1126
|
|
1127
|
-
# The list of features enabled on this endpoint.
|
1128
|
-
# Corresponds to the JSON property `features`
|
1129
|
-
# @return [Array<String>]
|
1130
|
-
attr_accessor :features
|
1131
|
-
|
1132
1127
|
# The canonical name of this endpoint.
|
1133
1128
|
# Corresponds to the JSON property `name`
|
1134
1129
|
# @return [String]
|
@@ -1151,7 +1146,6 @@ module Google
|
|
1151
1146
|
def update!(**args)
|
1152
1147
|
@aliases = args[:aliases] if args.key?(:aliases)
|
1153
1148
|
@allow_cors = args[:allow_cors] if args.key?(:allow_cors)
|
1154
|
-
@features = args[:features] if args.key?(:features)
|
1155
1149
|
@name = args[:name] if args.key?(:name)
|
1156
1150
|
@target = args[:target] if args.key?(:target)
|
1157
1151
|
end
|
@@ -1971,6 +1965,15 @@ module Google
|
|
1971
1965
|
# Defines a metric type and its schema. Once a metric descriptor is created,
|
1972
1966
|
# deleting or altering it stops data collection and makes the metric type's
|
1973
1967
|
# existing data unusable.
|
1968
|
+
# The following are specific rules for service defined Monitoring metric
|
1969
|
+
# descriptors:
|
1970
|
+
# * `type`, `metric_kind`, `value_type`, `description`, `display_name`,
|
1971
|
+
# `launch_stage` fields are all required. The `unit` field must be specified
|
1972
|
+
# if the `value_type` is any of DOUBLE, INT64, DISTRIBUTION.
|
1973
|
+
# * Maximum of default 500 metric descriptors per service is allowed.
|
1974
|
+
# * Maximum of default 10 labels per metric descriptor is allowed.
|
1975
|
+
# The default maximum limit can be overridden. Please follow
|
1976
|
+
# https://cloud.google.com/monitoring/quotas
|
1974
1977
|
class MetricDescriptor
|
1975
1978
|
include Google::Apis::Core::Hashable
|
1976
1979
|
|
@@ -1988,7 +1991,13 @@ module Google
|
|
1988
1991
|
attr_accessor :display_name
|
1989
1992
|
|
1990
1993
|
# The set of labels that can be used to describe a specific
|
1991
|
-
# instance of this metric type.
|
1994
|
+
# instance of this metric type.
|
1995
|
+
# The label key name must follow:
|
1996
|
+
# * Only upper and lower-case letters, digits and underscores (_) are
|
1997
|
+
# allowed.
|
1998
|
+
# * Label name must start with a letter or digit.
|
1999
|
+
# * The maximum length of a label name is 100 characters.
|
2000
|
+
# For example, the
|
1992
2001
|
# `appengine.googleapis.com/http/server/response_latencies` metric
|
1993
2002
|
# type has a label for the HTTP response code, `response_code`, so
|
1994
2003
|
# you can look at latencies for successful responses or just
|
@@ -2028,9 +2037,19 @@ module Google
|
|
2028
2037
|
attr_accessor :name
|
2029
2038
|
|
2030
2039
|
# The metric type, including its DNS name prefix. The type is not
|
2031
|
-
# URL-encoded.
|
2032
|
-
#
|
2033
|
-
#
|
2040
|
+
# URL-encoded.
|
2041
|
+
# All service defined metrics must be prefixed with the service name, in the
|
2042
|
+
# format of ``service name`/`relative metric name``, such as
|
2043
|
+
# `cloudsql.googleapis.com/database/cpu/utilization`. The relative metric
|
2044
|
+
# name must follow:
|
2045
|
+
# * Only upper and lower-case letters, digits, '/' and underscores '_' are
|
2046
|
+
# allowed.
|
2047
|
+
# * The maximum number of characters allowed for the relative_metric_name is
|
2048
|
+
# 100.
|
2049
|
+
# All user-defined metric types have the DNS name
|
2050
|
+
# `custom.googleapis.com`, `external.googleapis.com`, or
|
2051
|
+
# `logging.googleapis.com/user/`.
|
2052
|
+
# Metric types should use a natural hierarchical grouping. For example:
|
2034
2053
|
# "custom.googleapis.com/invoice/paid/amount"
|
2035
2054
|
# "external.googleapis.com/prometheus/up"
|
2036
2055
|
# "appengine.googleapis.com/http/server/response_latencies"
|
@@ -2063,6 +2082,7 @@ module Google
|
|
2063
2082
|
# * `min` minute
|
2064
2083
|
# * `h` hour
|
2065
2084
|
# * `d` day
|
2085
|
+
# * `1` dimensionless
|
2066
2086
|
# **Prefixes (PREFIX)**
|
2067
2087
|
# * `k` kilo (10^3)
|
2068
2088
|
# * `M` mega (10^6)
|
@@ -2309,9 +2329,20 @@ module Google
|
|
2309
2329
|
# descriptor for Google Compute Engine VM instances has a type of
|
2310
2330
|
# `"gce_instance"` and specifies the use of the labels `"instance_id"` and
|
2311
2331
|
# `"zone"` to identify particular VM instances.
|
2312
|
-
# Different
|
2313
|
-
#
|
2314
|
-
#
|
2332
|
+
# Different services can support different monitored resource types.
|
2333
|
+
# The following are specific rules to service defined monitored resources for
|
2334
|
+
# Monitoring and Logging:
|
2335
|
+
# * The `type`, `display_name`, `description`, `labels` and `launch_stage`
|
2336
|
+
# fields are all required.
|
2337
|
+
# * The first label of the monitored resource descriptor must be
|
2338
|
+
# `resource_container`. There are legacy monitored resource descritptors
|
2339
|
+
# start with `project_id`.
|
2340
|
+
# * It must include a `location` label.
|
2341
|
+
# * Maximum of default 5 service defined monitored resource descriptors
|
2342
|
+
# is allowed per service.
|
2343
|
+
# * Maximum of default 10 labels per monitored resource is allowed.
|
2344
|
+
# The default maximum limit can be overridden. Please follow
|
2345
|
+
# https://cloud.google.com/monitoring/quotas
|
2315
2346
|
class MonitoredResourceDescriptor
|
2316
2347
|
include Google::Apis::Core::Hashable
|
2317
2348
|
|
@@ -2330,8 +2361,14 @@ module Google
|
|
2330
2361
|
attr_accessor :display_name
|
2331
2362
|
|
2332
2363
|
# Required. A set of labels used to describe instances of this monitored
|
2333
|
-
# resource type.
|
2334
|
-
#
|
2364
|
+
# resource type.
|
2365
|
+
# The label key name must follow:
|
2366
|
+
# * Only upper and lower-case letters, digits and underscores (_) are
|
2367
|
+
# allowed.
|
2368
|
+
# * Label name must start with a letter or digit.
|
2369
|
+
# * The maximum length of a label name is 100 characters.
|
2370
|
+
# For example, an individual Google Cloud SQL database is
|
2371
|
+
# identified by values for the labels `database_id` and `location`.
|
2335
2372
|
# Corresponds to the JSON property `labels`
|
2336
2373
|
# @return [Array<Google::Apis::ServiceconsumermanagementV1::LabelDescriptor>]
|
2337
2374
|
attr_accessor :labels
|
@@ -2352,8 +2389,16 @@ module Google
|
|
2352
2389
|
attr_accessor :name
|
2353
2390
|
|
2354
2391
|
# Required. The monitored resource type. For example, the type
|
2355
|
-
# `
|
2356
|
-
#
|
2392
|
+
# `cloudsql_database` represents databases in Google Cloud SQL.
|
2393
|
+
# All service defined monitored resource types must be prefixed with the
|
2394
|
+
# service name, in the format of ``service name`/`relative resource name``.
|
2395
|
+
# The relative resource name must follow:
|
2396
|
+
# * Only upper and lower-case letters and digits are allowed.
|
2397
|
+
# * It must start with upper case character and is recommended to use Upper
|
2398
|
+
# Camel Case style.
|
2399
|
+
# * The maximum number of characters allowed for the relative_resource_name
|
2400
|
+
# is 100.
|
2401
|
+
# Note there are legacy service monitored resources not following this rule.
|
2357
2402
|
# Corresponds to the JSON property `type`
|
2358
2403
|
# @return [String]
|
2359
2404
|
attr_accessor :type
|
@@ -2378,41 +2423,56 @@ module Google
|
|
2378
2423
|
# for monitoring. In the example, a monitored resource and two metrics are
|
2379
2424
|
# defined. The `library.googleapis.com/book/returned_count` metric is sent
|
2380
2425
|
# to both producer and consumer projects, whereas the
|
2381
|
-
# `library.googleapis.com/book/
|
2426
|
+
# `library.googleapis.com/book/num_overdue` metric is only sent to the
|
2382
2427
|
# consumer project.
|
2383
2428
|
# monitored_resources:
|
2384
|
-
# - type: library.googleapis.com/
|
2429
|
+
# - type: library.googleapis.com/Branch
|
2430
|
+
# display_name: "Library Branch"
|
2431
|
+
# description: "A branch of a library."
|
2432
|
+
# launch_stage: GA
|
2385
2433
|
# labels:
|
2386
|
-
# - key:
|
2387
|
-
# description: The
|
2388
|
-
# - key:
|
2389
|
-
# description: The
|
2434
|
+
# - key: resource_container
|
2435
|
+
# description: "The Cloud container (ie. project id) for the Branch."
|
2436
|
+
# - key: location
|
2437
|
+
# description: "The location of the library branch."
|
2438
|
+
# - key: branch_id
|
2439
|
+
# description: "The id of the branch."
|
2390
2440
|
# metrics:
|
2391
2441
|
# - name: library.googleapis.com/book/returned_count
|
2442
|
+
# display_name: "Books Returned"
|
2443
|
+
# description: "The count of books that have been returned."
|
2444
|
+
# launch_stage: GA
|
2392
2445
|
# metric_kind: DELTA
|
2393
2446
|
# value_type: INT64
|
2447
|
+
# unit: "1"
|
2394
2448
|
# labels:
|
2395
|
-
# - key:
|
2396
|
-
#
|
2449
|
+
# - key: customer_id
|
2450
|
+
# description: "The id of the customer."
|
2451
|
+
# - name: library.googleapis.com/book/num_overdue
|
2452
|
+
# display_name: "Books Overdue"
|
2453
|
+
# description: "The current number of overdue books."
|
2454
|
+
# launch_stage: GA
|
2397
2455
|
# metric_kind: GAUGE
|
2398
2456
|
# value_type: INT64
|
2457
|
+
# unit: "1"
|
2399
2458
|
# labels:
|
2400
|
-
# - key:
|
2459
|
+
# - key: customer_id
|
2460
|
+
# description: "The id of the customer."
|
2401
2461
|
# monitoring:
|
2402
2462
|
# producer_destinations:
|
2403
|
-
# - monitored_resource: library.googleapis.com/
|
2463
|
+
# - monitored_resource: library.googleapis.com/Branch
|
2404
2464
|
# metrics:
|
2405
2465
|
# - library.googleapis.com/book/returned_count
|
2406
2466
|
# consumer_destinations:
|
2407
|
-
# - monitored_resource: library.googleapis.com/
|
2467
|
+
# - monitored_resource: library.googleapis.com/Branch
|
2408
2468
|
# metrics:
|
2409
2469
|
# - library.googleapis.com/book/returned_count
|
2410
|
-
# - library.googleapis.com/book/
|
2470
|
+
# - library.googleapis.com/book/num_overdue
|
2411
2471
|
class Monitoring
|
2412
2472
|
include Google::Apis::Core::Hashable
|
2413
2473
|
|
2414
2474
|
# Monitoring configurations for sending metrics to the consumer project.
|
2415
|
-
# There can be multiple consumer destinations. A monitored
|
2475
|
+
# There can be multiple consumer destinations. A monitored resource type may
|
2416
2476
|
# appear in multiple monitoring destinations if different aggregations are
|
2417
2477
|
# needed for different sets of metrics associated with that monitored
|
2418
2478
|
# resource type. A monitored resource and metric pair may only be used once
|
@@ -2422,7 +2482,7 @@ module Google
|
|
2422
2482
|
attr_accessor :consumer_destinations
|
2423
2483
|
|
2424
2484
|
# Monitoring configurations for sending metrics to the producer project.
|
2425
|
-
# There can be multiple producer destinations. A monitored
|
2485
|
+
# There can be multiple producer destinations. A monitored resource type may
|
2426
2486
|
# appear in multiple monitoring destinations if different aggregations are
|
2427
2487
|
# needed for different sets of metrics associated with that monitored
|
2428
2488
|
# resource type. A monitored resource and metric pair may only be used once
|
@@ -3183,36 +3243,51 @@ module Google
|
|
3183
3243
|
# for monitoring. In the example, a monitored resource and two metrics are
|
3184
3244
|
# defined. The `library.googleapis.com/book/returned_count` metric is sent
|
3185
3245
|
# to both producer and consumer projects, whereas the
|
3186
|
-
# `library.googleapis.com/book/
|
3246
|
+
# `library.googleapis.com/book/num_overdue` metric is only sent to the
|
3187
3247
|
# consumer project.
|
3188
3248
|
# monitored_resources:
|
3189
|
-
# - type: library.googleapis.com/
|
3249
|
+
# - type: library.googleapis.com/Branch
|
3250
|
+
# display_name: "Library Branch"
|
3251
|
+
# description: "A branch of a library."
|
3252
|
+
# launch_stage: GA
|
3190
3253
|
# labels:
|
3191
|
-
# - key:
|
3192
|
-
# description: The
|
3193
|
-
# - key:
|
3194
|
-
# description: The
|
3254
|
+
# - key: resource_container
|
3255
|
+
# description: "The Cloud container (ie. project id) for the Branch."
|
3256
|
+
# - key: location
|
3257
|
+
# description: "The location of the library branch."
|
3258
|
+
# - key: branch_id
|
3259
|
+
# description: "The id of the branch."
|
3195
3260
|
# metrics:
|
3196
3261
|
# - name: library.googleapis.com/book/returned_count
|
3262
|
+
# display_name: "Books Returned"
|
3263
|
+
# description: "The count of books that have been returned."
|
3264
|
+
# launch_stage: GA
|
3197
3265
|
# metric_kind: DELTA
|
3198
3266
|
# value_type: INT64
|
3267
|
+
# unit: "1"
|
3199
3268
|
# labels:
|
3200
|
-
# - key:
|
3201
|
-
#
|
3269
|
+
# - key: customer_id
|
3270
|
+
# description: "The id of the customer."
|
3271
|
+
# - name: library.googleapis.com/book/num_overdue
|
3272
|
+
# display_name: "Books Overdue"
|
3273
|
+
# description: "The current number of overdue books."
|
3274
|
+
# launch_stage: GA
|
3202
3275
|
# metric_kind: GAUGE
|
3203
3276
|
# value_type: INT64
|
3277
|
+
# unit: "1"
|
3204
3278
|
# labels:
|
3205
|
-
# - key:
|
3279
|
+
# - key: customer_id
|
3280
|
+
# description: "The id of the customer."
|
3206
3281
|
# monitoring:
|
3207
3282
|
# producer_destinations:
|
3208
|
-
# - monitored_resource: library.googleapis.com/
|
3283
|
+
# - monitored_resource: library.googleapis.com/Branch
|
3209
3284
|
# metrics:
|
3210
3285
|
# - library.googleapis.com/book/returned_count
|
3211
3286
|
# consumer_destinations:
|
3212
|
-
# - monitored_resource: library.googleapis.com/
|
3287
|
+
# - monitored_resource: library.googleapis.com/Branch
|
3213
3288
|
# metrics:
|
3214
3289
|
# - library.googleapis.com/book/returned_count
|
3215
|
-
# - library.googleapis.com/book/
|
3290
|
+
# - library.googleapis.com/book/num_overdue
|
3216
3291
|
# Corresponds to the JSON property `monitoring`
|
3217
3292
|
# @return [Google::Apis::ServiceconsumermanagementV1::Monitoring]
|
3218
3293
|
attr_accessor :monitoring
|
@@ -4071,10 +4146,114 @@ module Google
|
|
4071
4146
|
end
|
4072
4147
|
end
|
4073
4148
|
|
4149
|
+
# Response message for ImportProducerQuotaPolicies
|
4150
|
+
class V1Beta1ImportProducerQuotaPoliciesResponse
|
4151
|
+
include Google::Apis::Core::Hashable
|
4152
|
+
|
4153
|
+
# The policies that were created from the imported data.
|
4154
|
+
# Corresponds to the JSON property `policies`
|
4155
|
+
# @return [Array<Google::Apis::ServiceconsumermanagementV1::V1Beta1ProducerQuotaPolicy>]
|
4156
|
+
attr_accessor :policies
|
4157
|
+
|
4158
|
+
def initialize(**args)
|
4159
|
+
update!(**args)
|
4160
|
+
end
|
4161
|
+
|
4162
|
+
# Update properties of this object
|
4163
|
+
def update!(**args)
|
4164
|
+
@policies = args[:policies] if args.key?(:policies)
|
4165
|
+
end
|
4166
|
+
end
|
4167
|
+
|
4168
|
+
# Quota policy created by service producer.
|
4169
|
+
class V1Beta1ProducerQuotaPolicy
|
4170
|
+
include Google::Apis::Core::Hashable
|
4171
|
+
|
4172
|
+
# The cloud resource container at which the quota policy is created. The
|
4173
|
+
# format is `container_type`/`container_number`
|
4174
|
+
# Corresponds to the JSON property `container`
|
4175
|
+
# @return [String]
|
4176
|
+
attr_accessor :container
|
4177
|
+
|
4178
|
+
# If this map is nonempty, then this policy applies only to specific values
|
4179
|
+
# for dimensions defined in the limit unit.
|
4180
|
+
# For example, an policy on a limit with the unit 1/`project`/`region`
|
4181
|
+
# could contain an entry with the key "region" and the value "us-east-1";
|
4182
|
+
# the policy is only applied to quota consumed in that region.
|
4183
|
+
# This map has the following restrictions:
|
4184
|
+
# * Keys that are not defined in the limit's unit are not valid keys.
|
4185
|
+
# Any string appearing in `brackets` in the unit (besides `project` or
|
4186
|
+
# `user`) is a defined key.
|
4187
|
+
# * "project" is not a valid key; the project is already specified in
|
4188
|
+
# the parent resource name.
|
4189
|
+
# * "user" is not a valid key; the API does not support quota polcies
|
4190
|
+
# that apply only to a specific user.
|
4191
|
+
# * If "region" appears as a key, its value must be a valid Cloud region.
|
4192
|
+
# * If "zone" appears as a key, its value must be a valid Cloud zone.
|
4193
|
+
# * If any valid key other than "region" or "zone" appears in the map, then
|
4194
|
+
# all valid keys other than "region" or "zone" must also appear in the
|
4195
|
+
# map.
|
4196
|
+
# Corresponds to the JSON property `dimensions`
|
4197
|
+
# @return [Hash<String,String>]
|
4198
|
+
attr_accessor :dimensions
|
4199
|
+
|
4200
|
+
# The name of the metric to which this policy applies.
|
4201
|
+
# An example name would be:
|
4202
|
+
# `compute.googleapis.com/cpus`
|
4203
|
+
# Corresponds to the JSON property `metric`
|
4204
|
+
# @return [String]
|
4205
|
+
attr_accessor :metric
|
4206
|
+
|
4207
|
+
# The resource name of the producer policy.
|
4208
|
+
# An example name would be:
|
4209
|
+
# `services/compute.googleapis.com/organizations/123/consumerQuotaMetrics/
|
4210
|
+
# compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/producerQuotaPolicies/
|
4211
|
+
# 4a3f2c1d`
|
4212
|
+
# Corresponds to the JSON property `name`
|
4213
|
+
# @return [String]
|
4214
|
+
attr_accessor :name
|
4215
|
+
|
4216
|
+
# The quota policy value.
|
4217
|
+
# Can be any nonnegative integer, or -1 (unlimited quota).
|
4218
|
+
# Corresponds to the JSON property `policyValue`
|
4219
|
+
# @return [Fixnum]
|
4220
|
+
attr_accessor :policy_value
|
4221
|
+
|
4222
|
+
# The limit unit of the limit to which this policy applies.
|
4223
|
+
# An example unit would be:
|
4224
|
+
# `1/`project`/`region``
|
4225
|
+
# Note that ``project`` and ``region`` are not placeholders in this example;
|
4226
|
+
# the literal characters ``` and ``` occur in the string.
|
4227
|
+
# Corresponds to the JSON property `unit`
|
4228
|
+
# @return [String]
|
4229
|
+
attr_accessor :unit
|
4230
|
+
|
4231
|
+
def initialize(**args)
|
4232
|
+
update!(**args)
|
4233
|
+
end
|
4234
|
+
|
4235
|
+
# Update properties of this object
|
4236
|
+
def update!(**args)
|
4237
|
+
@container = args[:container] if args.key?(:container)
|
4238
|
+
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
4239
|
+
@metric = args[:metric] if args.key?(:metric)
|
4240
|
+
@name = args[:name] if args.key?(:name)
|
4241
|
+
@policy_value = args[:policy_value] if args.key?(:policy_value)
|
4242
|
+
@unit = args[:unit] if args.key?(:unit)
|
4243
|
+
end
|
4244
|
+
end
|
4245
|
+
|
4074
4246
|
# A quota override
|
4075
4247
|
class V1Beta1QuotaOverride
|
4076
4248
|
include Google::Apis::Core::Hashable
|
4077
4249
|
|
4250
|
+
# The resource name of the ancestor that requested the override. For example:
|
4251
|
+
# "organizations/12345" or "folders/67890".
|
4252
|
+
# Used by admin overrides only.
|
4253
|
+
# Corresponds to the JSON property `adminOverrideAncestor`
|
4254
|
+
# @return [String]
|
4255
|
+
attr_accessor :admin_override_ancestor
|
4256
|
+
|
4078
4257
|
# If this map is nonempty, then this override applies only to specific values
|
4079
4258
|
# for dimensions defined in the limit unit.
|
4080
4259
|
# For example, an override on a limit with the unit 1/`project`/`region`
|
@@ -4133,6 +4312,7 @@ module Google
|
|
4133
4312
|
|
4134
4313
|
# Update properties of this object
|
4135
4314
|
def update!(**args)
|
4315
|
+
@admin_override_ancestor = args[:admin_override_ancestor] if args.key?(:admin_override_ancestor)
|
4136
4316
|
@dimensions = args[:dimensions] if args.key?(:dimensions)
|
4137
4317
|
@metric = args[:metric] if args.key?(:metric)
|
4138
4318
|
@name = args[:name] if args.key?(:name)
|