google-api-client 0.40.2 → 0.42.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +285 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/service.rb +3 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accessapproval_v1beta1/service.rb +3 -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/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- 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 +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +78 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +44 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +149 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +1481 -107
- data/generated/google/apis/apigee_v1/representations.rb +559 -0
- data/generated/google/apis/apigee_v1/service.rb +1162 -117
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +36 -6
- data/generated/google/apis/bigquery_v2/representations.rb +4 -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 +34 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +16 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +60 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +8 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -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 +45 -37
- 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 +28 -13
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/blogger_v3.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- 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 +113 -0
- data/generated/google/apis/chat_v1/representations.rb +50 -0
- data/generated/google/apis/chat_v1/service.rb +32 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +21 -801
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -295
- data/generated/google/apis/civicinfo_v2/service.rb +28 -63
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/service.rb +9 -5
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +403 -6
- data/generated/google/apis/cloudasset_v1/representations.rb +101 -0
- data/generated/google/apis/cloudasset_v1/service.rb +178 -0
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
- 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 +272 -12
- data/generated/google/apis/cloudbuild_v1/representations.rb +130 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -136
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +284 -24
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +135 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- 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 +20 -6
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +32 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +16 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +16 -12
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +7 -6
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +7 -6
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +1 -7
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +6 -5
- data/generated/google/apis/cloudtrace_v2/service.rb +3 -6
- 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 +634 -104
- data/generated/google/apis/compute_alpha/representations.rb +170 -0
- data/generated/google/apis/compute_alpha/service.rb +888 -139
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +703 -102
- data/generated/google/apis/compute_beta/representations.rb +182 -0
- data/generated/google/apis/compute_beta/service.rb +565 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +989 -80
- data/generated/google/apis/compute_v1/representations.rb +290 -0
- data/generated/google/apis/compute_v1/service.rb +784 -38
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +132 -5
- data/generated/google/apis/container_v1/representations.rb +51 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +157 -24
- data/generated/google/apis/container_v1beta1/representations.rb +39 -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 +8 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2/service.rb +10 -5
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +266 -8
- data/generated/google/apis/content_v2_1/representations.rb +108 -0
- data/generated/google/apis/content_v2_1/service.rb +10 -5
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +12 -2
- 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 +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +2 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +58 -11
- 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 +53 -11
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +268 -28
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -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 +272 -30
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -48
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +117 -10
- data/generated/google/apis/displayvideo_v1/representations.rb +11 -0
- data/generated/google/apis/displayvideo_v1/service.rb +80 -6
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +5 -2
- data/generated/google/apis/dns_v1.rb +4 -4
- data/generated/google/apis/dns_v1/classes.rb +313 -162
- data/generated/google/apis/dns_v1/service.rb +247 -180
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/dns_v2beta1.rb +4 -4
- data/generated/google/apis/dns_v2beta1/classes.rb +313 -162
- data/generated/google/apis/dns_v2beta1/service.rb +247 -180
- data/generated/google/apis/documentai_v1beta2.rb +36 -0
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
- 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/classes.rb +75 -2
- data/generated/google/apis/drive_v2/representations.rb +23 -0
- data/generated/google/apis/drive_v2/service.rb +49 -88
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +74 -2
- data/generated/google/apis/drive_v3/representations.rb +23 -0
- data/generated/google/apis/drive_v3/service.rb +26 -59
- 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_v1beta1.rb +1 -1
- 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/{androidpublisher_v2.rb → firebasehosting_v1.rb} +11 -12
- data/generated/google/apis/firebasehosting_v1/classes.rb +186 -0
- data/generated/google/apis/{androidpublisher_v2 → firebasehosting_v1}/representations.rb +22 -32
- data/generated/google/apis/firebasehosting_v1/service.rb +183 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1/service.rb +78 -0
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +152 -0
- data/generated/google/apis/firestore_v1beta1/representations.rb +63 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +78 -0
- data/generated/google/apis/games_v1.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +354 -2112
- data/generated/google/apis/games_v1/representations.rb +12 -647
- data/generated/google/apis/games_v1/service.rb +212 -1154
- data/generated/google/apis/{groupsmigration_v1.rb → gameservices_v1.rb} +10 -11
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +6 -6
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +53 -53
- data/generated/google/apis/gmail_v1/service.rb +72 -72
- data/generated/google/apis/{androidpublisher_v1_1.rb → gmailpostmastertools_v1beta1.rb} +11 -12
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/groupssettings_v1/classes.rb +1 -1
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +6 -6
- data/generated/google/apis/healthcare_v1/service.rb +50 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +916 -49
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +577 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +27 -3
- data/generated/google/apis/iam_v1/service.rb +22 -6
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- 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/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +28 -14
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +119 -48
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/monitoring_v3/service.rb +8 -5
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +6 -6
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +6 -6
- 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 +2 -2
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +4 -4
- data/generated/google/apis/people_v1/service.rb +6 -5
- data/generated/google/apis/{androidpublisher_v1/classes.rb → playablelocations_v3.rb} +11 -6
- 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/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +28 -30
- data/generated/google/apis/pubsub_v1/service.rb +35 -44
- 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/recommendationengine_v1beta1.rb +36 -0
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +2015 -0
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +848 -0
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +990 -0
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +211 -0
- data/generated/google/apis/recommender_v1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1/service.rb +123 -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/reseller_v1.rb +4 -3
- data/generated/google/apis/reseller_v1/classes.rb +219 -160
- data/generated/google/apis/reseller_v1/service.rb +247 -252
- data/generated/google/apis/run_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +10 -7
- 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 +6 -6
- 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 +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +477 -0
- data/generated/google/apis/searchconsole_v1.rb +4 -3
- data/generated/google/apis/searchconsole_v1/service.rb +3 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
- 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 +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +23 -4
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +12 -6
- 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 +118 -37
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +15 -4
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +15 -4
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +29 -4
- data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +74 -4
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +118 -28
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +25 -20
- data/generated/google/apis/spanner_v1/service.rb +7 -0
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +17 -6
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/{androidpublisher_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/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +20 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +20 -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 +4 -3
- data/generated/google/apis/youtube_partner_v1/classes.rb +1616 -1076
- data/generated/google/apis/youtube_partner_v1/representations.rb +357 -256
- data/generated/google/apis/youtube_partner_v1/service.rb +942 -1362
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +594 -2
- data/generated/google/apis/youtube_v3/representations.rb +308 -0
- data/generated/google/apis/youtube_v3/service.rb +292 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +35 -19
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -26
- data/generated/google/apis/androidpublisher_v1/service.rb +0 -64
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -94
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -45
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -104
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -223
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -160
- data/generated/google/apis/groupsmigration_v1/classes.rb +0 -51
- data/generated/google/apis/groupsmigration_v1/representations.rb +0 -40
- data/generated/google/apis/groupsmigration_v1/service.rb +0 -100
|
@@ -922,6 +922,54 @@ module Google
|
|
|
922
922
|
include Google::Apis::Core::JsonObjectSupport
|
|
923
923
|
end
|
|
924
924
|
|
|
925
|
+
class FirewallPolicy
|
|
926
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
927
|
+
|
|
928
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
class FirewallPolicyAssociation
|
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
933
|
+
|
|
934
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
935
|
+
end
|
|
936
|
+
|
|
937
|
+
class FirewallPolicyList
|
|
938
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
939
|
+
|
|
940
|
+
class Warning
|
|
941
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
942
|
+
|
|
943
|
+
class Datum
|
|
944
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
945
|
+
|
|
946
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
947
|
+
end
|
|
948
|
+
|
|
949
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
950
|
+
end
|
|
951
|
+
|
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
class FirewallPolicyRule
|
|
956
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
957
|
+
|
|
958
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
959
|
+
end
|
|
960
|
+
|
|
961
|
+
class FirewallPolicyRuleMatcher
|
|
962
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
963
|
+
|
|
964
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
965
|
+
end
|
|
966
|
+
|
|
967
|
+
class FirewallPolicyRuleMatcherLayer4Config
|
|
968
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
969
|
+
|
|
970
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
971
|
+
end
|
|
972
|
+
|
|
925
973
|
class FixedOrPercent
|
|
926
974
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
927
975
|
|
|
@@ -1522,6 +1570,12 @@ module Google
|
|
|
1522
1570
|
include Google::Apis::Core::JsonObjectSupport
|
|
1523
1571
|
end
|
|
1524
1572
|
|
|
1573
|
+
class InstanceGroupManagerStatusStatefulPerInstanceConfigs
|
|
1574
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1575
|
+
|
|
1576
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1577
|
+
end
|
|
1578
|
+
|
|
1525
1579
|
class InstanceGroupManagerStatusVersionTarget
|
|
1526
1580
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1527
1581
|
|
|
@@ -5713,6 +5767,7 @@ module Google
|
|
|
5713
5767
|
property :long_term_release, as: 'longTermRelease'
|
|
5714
5768
|
property :machine_type, as: 'machineType'
|
|
5715
5769
|
property :maintenance_freeze_duration_hours, as: 'maintenanceFreezeDurationHours'
|
|
5770
|
+
property :maintenance_interval, as: 'maintenanceInterval'
|
|
5716
5771
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
|
5717
5772
|
end
|
|
5718
5773
|
end
|
|
@@ -7172,6 +7227,104 @@ module Google
|
|
|
7172
7227
|
end
|
|
7173
7228
|
end
|
|
7174
7229
|
|
|
7230
|
+
class FirewallPolicy
|
|
7231
|
+
# @private
|
|
7232
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7233
|
+
collection :associations, as: 'associations', class: Google::Apis::ComputeAlpha::FirewallPolicyAssociation, decorator: Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
|
|
7234
|
+
|
|
7235
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
|
7236
|
+
property :description, as: 'description'
|
|
7237
|
+
property :display_name, as: 'displayName'
|
|
7238
|
+
property :fingerprint, :base64 => true, as: 'fingerprint'
|
|
7239
|
+
property :id, :numeric_string => true, as: 'id'
|
|
7240
|
+
property :kind, as: 'kind'
|
|
7241
|
+
property :name, as: 'name'
|
|
7242
|
+
property :parent, as: 'parent'
|
|
7243
|
+
property :rule_tuple_count, as: 'ruleTupleCount'
|
|
7244
|
+
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::FirewallPolicyRule, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
|
|
7245
|
+
|
|
7246
|
+
property :self_link, as: 'selfLink'
|
|
7247
|
+
property :self_link_with_id, as: 'selfLinkWithId'
|
|
7248
|
+
end
|
|
7249
|
+
end
|
|
7250
|
+
|
|
7251
|
+
class FirewallPolicyAssociation
|
|
7252
|
+
# @private
|
|
7253
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7254
|
+
property :attachment_target, as: 'attachmentTarget'
|
|
7255
|
+
property :display_name, as: 'displayName'
|
|
7256
|
+
property :firewall_policy_id, as: 'firewallPolicyId'
|
|
7257
|
+
property :name, as: 'name'
|
|
7258
|
+
end
|
|
7259
|
+
end
|
|
7260
|
+
|
|
7261
|
+
class FirewallPolicyList
|
|
7262
|
+
# @private
|
|
7263
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7264
|
+
property :id, as: 'id'
|
|
7265
|
+
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::FirewallPolicy, decorator: Google::Apis::ComputeAlpha::FirewallPolicy::Representation
|
|
7266
|
+
|
|
7267
|
+
property :kind, as: 'kind'
|
|
7268
|
+
property :next_page_token, as: 'nextPageToken'
|
|
7269
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::FirewallPolicyList::Warning, decorator: Google::Apis::ComputeAlpha::FirewallPolicyList::Warning::Representation
|
|
7270
|
+
|
|
7271
|
+
end
|
|
7272
|
+
|
|
7273
|
+
class Warning
|
|
7274
|
+
# @private
|
|
7275
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7276
|
+
property :code, as: 'code'
|
|
7277
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::FirewallPolicyList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::FirewallPolicyList::Warning::Datum::Representation
|
|
7278
|
+
|
|
7279
|
+
property :message, as: 'message'
|
|
7280
|
+
end
|
|
7281
|
+
|
|
7282
|
+
class Datum
|
|
7283
|
+
# @private
|
|
7284
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7285
|
+
property :key, as: 'key'
|
|
7286
|
+
property :value, as: 'value'
|
|
7287
|
+
end
|
|
7288
|
+
end
|
|
7289
|
+
end
|
|
7290
|
+
end
|
|
7291
|
+
|
|
7292
|
+
class FirewallPolicyRule
|
|
7293
|
+
# @private
|
|
7294
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7295
|
+
property :action, as: 'action'
|
|
7296
|
+
property :description, as: 'description'
|
|
7297
|
+
property :direction, as: 'direction'
|
|
7298
|
+
property :enable_logging, as: 'enableLogging'
|
|
7299
|
+
property :kind, as: 'kind'
|
|
7300
|
+
property :match, as: 'match', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcher, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcher::Representation
|
|
7301
|
+
|
|
7302
|
+
property :preview, as: 'preview'
|
|
7303
|
+
property :priority, as: 'priority'
|
|
7304
|
+
property :rule_tuple_count, as: 'ruleTupleCount'
|
|
7305
|
+
collection :target_resources, as: 'targetResources'
|
|
7306
|
+
collection :target_service_accounts, as: 'targetServiceAccounts'
|
|
7307
|
+
end
|
|
7308
|
+
end
|
|
7309
|
+
|
|
7310
|
+
class FirewallPolicyRuleMatcher
|
|
7311
|
+
# @private
|
|
7312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7313
|
+
collection :dest_ip_ranges, as: 'destIpRanges'
|
|
7314
|
+
collection :layer4_configs, as: 'layer4Configs', class: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config, decorator: Google::Apis::ComputeAlpha::FirewallPolicyRuleMatcherLayer4Config::Representation
|
|
7315
|
+
|
|
7316
|
+
collection :src_ip_ranges, as: 'srcIpRanges'
|
|
7317
|
+
end
|
|
7318
|
+
end
|
|
7319
|
+
|
|
7320
|
+
class FirewallPolicyRuleMatcherLayer4Config
|
|
7321
|
+
# @private
|
|
7322
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
7323
|
+
property :ip_protocol, as: 'ipProtocol'
|
|
7324
|
+
collection :ports, as: 'ports'
|
|
7325
|
+
end
|
|
7326
|
+
end
|
|
7327
|
+
|
|
7175
7328
|
class FixedOrPercent
|
|
7176
7329
|
# @private
|
|
7177
7330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8135,6 +8288,9 @@ module Google
|
|
|
8135
8288
|
property :kind, as: 'kind'
|
|
8136
8289
|
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
|
8137
8290
|
hash :labels, as: 'labels'
|
|
8291
|
+
property :last_start_timestamp, as: 'lastStartTimestamp'
|
|
8292
|
+
property :last_stop_timestamp, as: 'lastStopTimestamp'
|
|
8293
|
+
property :last_suspended_timestamp, as: 'lastSuspendedTimestamp'
|
|
8138
8294
|
property :machine_type, as: 'machineType'
|
|
8139
8295
|
property :metadata, as: 'metadata', class: Google::Apis::ComputeAlpha::Metadata, decorator: Google::Apis::ComputeAlpha::Metadata::Representation
|
|
8140
8296
|
|
|
@@ -8453,6 +8609,15 @@ module Google
|
|
|
8453
8609
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8454
8610
|
property :has_stateful_config, as: 'hasStatefulConfig'
|
|
8455
8611
|
property :is_stateful, as: 'isStateful'
|
|
8612
|
+
property :per_instance_configs, as: 'perInstanceConfigs', class: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs, decorator: Google::Apis::ComputeAlpha::InstanceGroupManagerStatusStatefulPerInstanceConfigs::Representation
|
|
8613
|
+
|
|
8614
|
+
end
|
|
8615
|
+
end
|
|
8616
|
+
|
|
8617
|
+
class InstanceGroupManagerStatusStatefulPerInstanceConfigs
|
|
8618
|
+
# @private
|
|
8619
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8620
|
+
property :all_effective, as: 'allEffective'
|
|
8456
8621
|
end
|
|
8457
8622
|
end
|
|
8458
8623
|
|
|
@@ -10006,6 +10171,7 @@ module Google
|
|
|
10006
10171
|
property :auto_create_subnetworks, as: 'autoCreateSubnetworks'
|
|
10007
10172
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
10008
10173
|
property :description, as: 'description'
|
|
10174
|
+
property :firewall_policy, as: 'firewallPolicy'
|
|
10009
10175
|
property :gateway_i_pv4, as: 'gatewayIPv4'
|
|
10010
10176
|
property :id, :numeric_string => true, as: 'id'
|
|
10011
10177
|
property :kind, as: 'kind'
|
|
@@ -11314,6 +11480,7 @@ module Google
|
|
|
11314
11480
|
property :name, as: 'name'
|
|
11315
11481
|
property :preserved_state, as: 'preservedState', class: Google::Apis::ComputeAlpha::PreservedState, decorator: Google::Apis::ComputeAlpha::PreservedState::Representation
|
|
11316
11482
|
|
|
11483
|
+
property :status, as: 'status'
|
|
11317
11484
|
end
|
|
11318
11485
|
end
|
|
11319
11486
|
|
|
@@ -13159,6 +13326,7 @@ module Google
|
|
|
13159
13326
|
|
|
13160
13327
|
property :authorization_config, as: 'authorizationConfig', class: Google::Apis::ComputeAlpha::AuthorizationConfig, decorator: Google::Apis::ComputeAlpha::AuthorizationConfig::Representation
|
|
13161
13328
|
|
|
13329
|
+
property :client_tls_policy, as: 'clientTlsPolicy'
|
|
13162
13330
|
property :client_tls_settings, as: 'clientTlsSettings', class: Google::Apis::ComputeAlpha::ClientTlsSettings, decorator: Google::Apis::ComputeAlpha::ClientTlsSettings::Representation
|
|
13163
13331
|
|
|
13164
13332
|
collection :subject_alt_names, as: 'subjectAltNames'
|
|
@@ -14081,6 +14249,7 @@ module Google
|
|
|
14081
14249
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14082
14250
|
property :authentication, as: 'authentication'
|
|
14083
14251
|
property :authorization, as: 'authorization'
|
|
14252
|
+
property :authorization_policy, as: 'authorizationPolicy'
|
|
14084
14253
|
property :certificate_map, as: 'certificateMap'
|
|
14085
14254
|
property :creation_timestamp, as: 'creationTimestamp'
|
|
14086
14255
|
property :description, as: 'description'
|
|
@@ -14092,6 +14261,7 @@ module Google
|
|
|
14092
14261
|
property :region, as: 'region'
|
|
14093
14262
|
property :self_link, as: 'selfLink'
|
|
14094
14263
|
property :self_link_with_id, as: 'selfLinkWithId'
|
|
14264
|
+
property :server_tls_policy, as: 'serverTlsPolicy'
|
|
14095
14265
|
collection :ssl_certificates, as: 'sslCertificates'
|
|
14096
14266
|
property :ssl_policy, as: 'sslPolicy'
|
|
14097
14267
|
property :url_map, as: 'urlMap'
|
|
@@ -173,7 +173,8 @@ module Google
|
|
|
173
173
|
execute_or_queue_command(command, &block)
|
|
174
174
|
end
|
|
175
175
|
|
|
176
|
-
# Retrieves a list of accelerator types available to the specified
|
|
176
|
+
# Retrieves a list of accelerator types that are available to the specified
|
|
177
|
+
# project.
|
|
177
178
|
# @param [String] project
|
|
178
179
|
# Project ID for this request.
|
|
179
180
|
# @param [String] zone
|
|
@@ -1961,9 +1962,7 @@ module Google
|
|
|
1961
1962
|
end
|
|
1962
1963
|
|
|
1963
1964
|
# Creates a BackendService resource in the specified project using the data
|
|
1964
|
-
# included in the request.
|
|
1965
|
-
# in mind when creating a backend service. Read Understanding backend services
|
|
1966
|
-
# for more information.
|
|
1965
|
+
# included in the request. For more information, see Backend services overview.
|
|
1967
1966
|
# @param [String] project
|
|
1968
1967
|
# Project ID for this request.
|
|
1969
1968
|
# @param [Google::Apis::ComputeAlpha::BackendService] backend_service_object
|
|
@@ -2088,10 +2087,9 @@ module Google
|
|
|
2088
2087
|
end
|
|
2089
2088
|
|
|
2090
2089
|
# Patches the specified BackendService resource with the data included in the
|
|
2091
|
-
# request.
|
|
2092
|
-
#
|
|
2093
|
-
#
|
|
2094
|
-
# patch format and processing rules.
|
|
2090
|
+
# request. For more information, see Backend services overview. This method
|
|
2091
|
+
# supports PATCH semantics and uses the JSON merge patch format and processing
|
|
2092
|
+
# rules.
|
|
2095
2093
|
# @param [String] project
|
|
2096
2094
|
# Project ID for this request.
|
|
2097
2095
|
# @param [String] backend_service
|
|
@@ -2234,9 +2232,7 @@ module Google
|
|
|
2234
2232
|
end
|
|
2235
2233
|
|
|
2236
2234
|
# Updates the specified BackendService resource with the data included in the
|
|
2237
|
-
# request.
|
|
2238
|
-
# updating a backend service. Read Understanding backend services for more
|
|
2239
|
-
# information.
|
|
2235
|
+
# request. For more information, see Backend services overview.
|
|
2240
2236
|
# @param [String] project
|
|
2241
2237
|
# Project ID for this request.
|
|
2242
2238
|
# @param [String] backend_service
|
|
@@ -8405,7 +8401,7 @@ module Google
|
|
|
8405
8401
|
end
|
|
8406
8402
|
|
|
8407
8403
|
# Lists all errors thrown by actions on instances for a given managed instance
|
|
8408
|
-
# group.
|
|
8404
|
+
# group. The filter and orderBy query parameters are not supported.
|
|
8409
8405
|
# @param [String] project
|
|
8410
8406
|
# Project ID for this request.
|
|
8411
8407
|
# @param [String] zone
|
|
@@ -8493,7 +8489,8 @@ module Google
|
|
|
8493
8489
|
# list has a currentAction, which indicates the action that the managed instance
|
|
8494
8490
|
# group is performing on the instance. For example, if the group is still
|
|
8495
8491
|
# creating an instance, the currentAction is CREATING. If a previous action
|
|
8496
|
-
# failed, the list displays the errors for that failed action.
|
|
8492
|
+
# failed, the list displays the errors for that failed action. The orderBy query
|
|
8493
|
+
# parameter is not supported.
|
|
8497
8494
|
# @param [String] project
|
|
8498
8495
|
# Project ID for this request.
|
|
8499
8496
|
# @param [String] zone
|
|
@@ -8534,6 +8531,9 @@ module Google
|
|
|
8534
8531
|
# @param [String] page_token
|
|
8535
8532
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
8536
8533
|
# by a previous list request to get the next page of results.
|
|
8534
|
+
# @param [Boolean] return_partial_success
|
|
8535
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
8536
|
+
# failure. The default value is false and the logic is the same as today.
|
|
8537
8537
|
# @param [String] fields
|
|
8538
8538
|
# Selector specifying which fields to include in a partial response.
|
|
8539
8539
|
# @param [String] quota_user
|
|
@@ -8553,7 +8553,7 @@ module Google
|
|
|
8553
8553
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8554
8554
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
8555
8555
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
8556
|
-
def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8556
|
+
def list_instance_group_manager_managed_instances(project, zone, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
8557
8557
|
command = make_simple_command(:post, '{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
|
|
8558
8558
|
command.response_representation = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse::Representation
|
|
8559
8559
|
command.response_class = Google::Apis::ComputeAlpha::InstanceGroupManagersListManagedInstancesResponse
|
|
@@ -8564,6 +8564,7 @@ module Google
|
|
|
8564
8564
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
8565
8565
|
command.query['orderBy'] = order_by unless order_by.nil?
|
|
8566
8566
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
8567
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
8567
8568
|
command.query['fields'] = fields unless fields.nil?
|
|
8568
8569
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
8569
8570
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -8571,6 +8572,7 @@ module Google
|
|
|
8571
8572
|
end
|
|
8572
8573
|
|
|
8573
8574
|
# Lists all of the per-instance configs defined for the managed instance group.
|
|
8575
|
+
# The orderBy query parameter is not supported.
|
|
8574
8576
|
# @param [String] project
|
|
8575
8577
|
# Project ID for this request.
|
|
8576
8578
|
# @param [String] zone
|
|
@@ -9657,7 +9659,8 @@ module Google
|
|
|
9657
9659
|
execute_or_queue_command(command, &block)
|
|
9658
9660
|
end
|
|
9659
9661
|
|
|
9660
|
-
# Lists the instances in the specified instance group.
|
|
9662
|
+
# Lists the instances in the specified instance group. The orderBy query
|
|
9663
|
+
# parameter is not supported.
|
|
9661
9664
|
# @param [String] project
|
|
9662
9665
|
# Project ID for this request.
|
|
9663
9666
|
# @param [String] zone
|
|
@@ -11185,8 +11188,10 @@ module Google
|
|
|
11185
11188
|
execute_or_queue_command(command, &block)
|
|
11186
11189
|
end
|
|
11187
11190
|
|
|
11188
|
-
# Retrieves
|
|
11189
|
-
#
|
|
11191
|
+
# Retrieves a list of resources that refer to the VM instance specified in the
|
|
11192
|
+
# request. For example, if the VM instance is part of a managed instance group,
|
|
11193
|
+
# the referrers list includes the managed instance group. For more information,
|
|
11194
|
+
# read Viewing Referrers to VM Instances.
|
|
11190
11195
|
# @param [String] project
|
|
11191
11196
|
# Project ID for this request.
|
|
11192
11197
|
# @param [String] zone
|
|
@@ -11912,7 +11917,9 @@ module Google
|
|
|
11912
11917
|
execute_or_queue_command(command, &block)
|
|
11913
11918
|
end
|
|
11914
11919
|
|
|
11915
|
-
# Sets an instance's scheduling options.
|
|
11920
|
+
# Sets an instance's scheduling options. You can only call this method on a
|
|
11921
|
+
# stopped instance, that is, a VM instance that is in a `TERMINATED` state. See
|
|
11922
|
+
# Instance Life Cycle for more information on the possible instance states.
|
|
11916
11923
|
# @param [String] project
|
|
11917
11924
|
# Project ID for this request.
|
|
11918
11925
|
# @param [String] zone
|
|
@@ -15592,12 +15599,16 @@ module Google
|
|
|
15592
15599
|
execute_or_queue_command(command, &block)
|
|
15593
15600
|
end
|
|
15594
15601
|
|
|
15595
|
-
#
|
|
15602
|
+
# Inserts an association for the specified firewall policy.
|
|
15596
15603
|
# @param [String] project
|
|
15597
15604
|
# Project ID for this request.
|
|
15598
|
-
# @param [String]
|
|
15599
|
-
# Name of the
|
|
15600
|
-
# @param [Google::Apis::ComputeAlpha::
|
|
15605
|
+
# @param [String] firewall_policy
|
|
15606
|
+
# Name of the firewall policy to update.
|
|
15607
|
+
# @param [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] firewall_policy_association_object
|
|
15608
|
+
# @param [Boolean] replace_existing_association
|
|
15609
|
+
# Indicates whether or not to replace it if an association of the attachment
|
|
15610
|
+
# already exists. This is false by default, in which case an error will be
|
|
15611
|
+
# returned if an association already exists.
|
|
15601
15612
|
# @param [String] request_id
|
|
15602
15613
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
15603
15614
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -15628,14 +15639,15 @@ module Google
|
|
|
15628
15639
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15629
15640
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15630
15641
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15631
|
-
def
|
|
15632
|
-
command = make_simple_command(:post, '{project}/global/
|
|
15633
|
-
command.request_representation = Google::Apis::ComputeAlpha::
|
|
15634
|
-
command.request_object =
|
|
15642
|
+
def add_network_firewall_policy_association(project, firewall_policy, firewall_policy_association_object = nil, replace_existing_association: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15643
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/addAssociation', options)
|
|
15644
|
+
command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
|
|
15645
|
+
command.request_object = firewall_policy_association_object
|
|
15635
15646
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
15636
15647
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
15637
15648
|
command.params['project'] = project unless project.nil?
|
|
15638
|
-
command.params['
|
|
15649
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
15650
|
+
command.query['replaceExistingAssociation'] = replace_existing_association unless replace_existing_association.nil?
|
|
15639
15651
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
15640
15652
|
command.query['fields'] = fields unless fields.nil?
|
|
15641
15653
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -15643,11 +15655,50 @@ module Google
|
|
|
15643
15655
|
execute_or_queue_command(command, &block)
|
|
15644
15656
|
end
|
|
15645
15657
|
|
|
15646
|
-
#
|
|
15658
|
+
# Inserts a rule into a firewall policy.
|
|
15647
15659
|
# @param [String] project
|
|
15648
15660
|
# Project ID for this request.
|
|
15649
|
-
# @param [String]
|
|
15650
|
-
# Name of the
|
|
15661
|
+
# @param [String] firewall_policy
|
|
15662
|
+
# Name of the firewall policy to update.
|
|
15663
|
+
# @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
|
|
15664
|
+
# @param [String] fields
|
|
15665
|
+
# Selector specifying which fields to include in a partial response.
|
|
15666
|
+
# @param [String] quota_user
|
|
15667
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
15668
|
+
# characters.
|
|
15669
|
+
# @param [String] user_ip
|
|
15670
|
+
# Deprecated. Please use quotaUser instead.
|
|
15671
|
+
# @param [Google::Apis::RequestOptions] options
|
|
15672
|
+
# Request-specific options
|
|
15673
|
+
#
|
|
15674
|
+
# @yield [result, err] Result & error if block supplied
|
|
15675
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
15676
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
15677
|
+
#
|
|
15678
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
15679
|
+
#
|
|
15680
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15681
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15682
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15683
|
+
def add_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15684
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/addRule', options)
|
|
15685
|
+
command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
|
|
15686
|
+
command.request_object = firewall_policy_rule_object
|
|
15687
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
15688
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
15689
|
+
command.params['project'] = project unless project.nil?
|
|
15690
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
15691
|
+
command.query['fields'] = fields unless fields.nil?
|
|
15692
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15693
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
15694
|
+
execute_or_queue_command(command, &block)
|
|
15695
|
+
end
|
|
15696
|
+
|
|
15697
|
+
# Copies rules to the specified firewall policy.
|
|
15698
|
+
# @param [String] project
|
|
15699
|
+
# Project ID for this request.
|
|
15700
|
+
# @param [String] firewall_policy
|
|
15701
|
+
# Name of the firewall policy to update.
|
|
15651
15702
|
# @param [String] request_id
|
|
15652
15703
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
15653
15704
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -15659,6 +15710,8 @@ module Google
|
|
|
15659
15710
|
# accidentally creating duplicate commitments.
|
|
15660
15711
|
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
15661
15712
|
# supported (00000000-0000-0000-0000-000000000000).
|
|
15713
|
+
# @param [String] source_firewall_policy
|
|
15714
|
+
# The firewall policy from which to copy rules.
|
|
15662
15715
|
# @param [String] fields
|
|
15663
15716
|
# Selector specifying which fields to include in a partial response.
|
|
15664
15717
|
# @param [String] quota_user
|
|
@@ -15678,25 +15731,36 @@ module Google
|
|
|
15678
15731
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15679
15732
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15680
15733
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15681
|
-
def
|
|
15682
|
-
command = make_simple_command(:
|
|
15734
|
+
def clone_network_firewall_policy_rules(project, firewall_policy, request_id: nil, source_firewall_policy: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15735
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/cloneRules', options)
|
|
15683
15736
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
15684
15737
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
15685
15738
|
command.params['project'] = project unless project.nil?
|
|
15686
|
-
command.params['
|
|
15739
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
15687
15740
|
command.query['requestId'] = request_id unless request_id.nil?
|
|
15741
|
+
command.query['sourceFirewallPolicy'] = source_firewall_policy unless source_firewall_policy.nil?
|
|
15688
15742
|
command.query['fields'] = fields unless fields.nil?
|
|
15689
15743
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15690
15744
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
15691
15745
|
execute_or_queue_command(command, &block)
|
|
15692
15746
|
end
|
|
15693
15747
|
|
|
15694
|
-
#
|
|
15695
|
-
# list() request.
|
|
15748
|
+
# Deletes the specified policy.
|
|
15696
15749
|
# @param [String] project
|
|
15697
15750
|
# Project ID for this request.
|
|
15698
|
-
# @param [String]
|
|
15699
|
-
# Name of the
|
|
15751
|
+
# @param [String] firewall_policy
|
|
15752
|
+
# Name of the firewall policy to delete.
|
|
15753
|
+
# @param [String] request_id
|
|
15754
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
15755
|
+
# that if you must retry your request, the server will know to ignore the
|
|
15756
|
+
# request if it has already been completed.
|
|
15757
|
+
# For example, consider a situation where you make an initial request and the
|
|
15758
|
+
# request times out. If you make the request again with the same request ID, the
|
|
15759
|
+
# server can check if original operation with the same request ID was received,
|
|
15760
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
15761
|
+
# accidentally creating duplicate commitments.
|
|
15762
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
15763
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
15700
15764
|
# @param [String] fields
|
|
15701
15765
|
# Selector specifying which fields to include in a partial response.
|
|
15702
15766
|
# @param [String] quota_user
|
|
@@ -15708,31 +15772,32 @@ module Google
|
|
|
15708
15772
|
# Request-specific options
|
|
15709
15773
|
#
|
|
15710
15774
|
# @yield [result, err] Result & error if block supplied
|
|
15711
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
|
15775
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
15712
15776
|
# @yieldparam err [StandardError] error object if request failed
|
|
15713
15777
|
#
|
|
15714
|
-
# @return [Google::Apis::ComputeAlpha::
|
|
15778
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
15715
15779
|
#
|
|
15716
15780
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15717
15781
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15718
15782
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15719
|
-
def
|
|
15720
|
-
command = make_simple_command(:
|
|
15721
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
|
15722
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
|
15783
|
+
def delete_network_firewall_policy(project, firewall_policy, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15784
|
+
command = make_simple_command(:delete, '{project}/global/firewallPolicies/{firewallPolicy}', options)
|
|
15785
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
15786
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
15723
15787
|
command.params['project'] = project unless project.nil?
|
|
15724
|
-
command.params['
|
|
15788
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
15789
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
15725
15790
|
command.query['fields'] = fields unless fields.nil?
|
|
15726
15791
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15727
15792
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
15728
15793
|
execute_or_queue_command(command, &block)
|
|
15729
15794
|
end
|
|
15730
15795
|
|
|
15731
|
-
# Returns the
|
|
15796
|
+
# Returns the specified network firewall policy.
|
|
15732
15797
|
# @param [String] project
|
|
15733
15798
|
# Project ID for this request.
|
|
15734
|
-
# @param [String]
|
|
15735
|
-
# Name of the
|
|
15799
|
+
# @param [String] firewall_policy
|
|
15800
|
+
# Name of the firewall policy to get.
|
|
15736
15801
|
# @param [String] fields
|
|
15737
15802
|
# Selector specifying which fields to include in a partial response.
|
|
15738
15803
|
# @param [String] quota_user
|
|
@@ -15744,31 +15809,149 @@ module Google
|
|
|
15744
15809
|
# Request-specific options
|
|
15745
15810
|
#
|
|
15746
15811
|
# @yield [result, err] Result & error if block supplied
|
|
15747
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
|
15812
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicy] parsed result object
|
|
15748
15813
|
# @yieldparam err [StandardError] error object if request failed
|
|
15749
15814
|
#
|
|
15750
|
-
# @return [Google::Apis::ComputeAlpha::
|
|
15815
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicy]
|
|
15751
15816
|
#
|
|
15752
15817
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15753
15818
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15754
15819
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15755
|
-
def
|
|
15756
|
-
command = make_simple_command(:get, '{project}/global/
|
|
15757
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
|
15758
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
|
15820
|
+
def get_network_firewall_policy(project, firewall_policy, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15821
|
+
command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}', options)
|
|
15822
|
+
command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
|
|
15823
|
+
command.response_class = Google::Apis::ComputeAlpha::FirewallPolicy
|
|
15759
15824
|
command.params['project'] = project unless project.nil?
|
|
15760
|
-
command.params['
|
|
15825
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
15761
15826
|
command.query['fields'] = fields unless fields.nil?
|
|
15762
15827
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15763
15828
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
15764
15829
|
execute_or_queue_command(command, &block)
|
|
15765
15830
|
end
|
|
15766
15831
|
|
|
15767
|
-
#
|
|
15832
|
+
# Gets an association with the specified name.
|
|
15833
|
+
# @param [String] project
|
|
15834
|
+
# Project ID for this request.
|
|
15835
|
+
# @param [String] firewall_policy
|
|
15836
|
+
# Name of the firewall policy to which the queried rule belongs.
|
|
15837
|
+
# @param [String] name
|
|
15838
|
+
# The name of the association to get from the firewall policy.
|
|
15839
|
+
# @param [String] fields
|
|
15840
|
+
# Selector specifying which fields to include in a partial response.
|
|
15841
|
+
# @param [String] quota_user
|
|
15842
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
15843
|
+
# characters.
|
|
15844
|
+
# @param [String] user_ip
|
|
15845
|
+
# Deprecated. Please use quotaUser instead.
|
|
15846
|
+
# @param [Google::Apis::RequestOptions] options
|
|
15847
|
+
# Request-specific options
|
|
15848
|
+
#
|
|
15849
|
+
# @yield [result, err] Result & error if block supplied
|
|
15850
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyAssociation] parsed result object
|
|
15851
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
15852
|
+
#
|
|
15853
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyAssociation]
|
|
15854
|
+
#
|
|
15855
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15856
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15857
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15858
|
+
def get_network_firewall_policy_association(project, firewall_policy, name: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15859
|
+
command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}/getAssociation', options)
|
|
15860
|
+
command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyAssociation::Representation
|
|
15861
|
+
command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyAssociation
|
|
15862
|
+
command.params['project'] = project unless project.nil?
|
|
15863
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
15864
|
+
command.query['name'] = name unless name.nil?
|
|
15865
|
+
command.query['fields'] = fields unless fields.nil?
|
|
15866
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15867
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
15868
|
+
execute_or_queue_command(command, &block)
|
|
15869
|
+
end
|
|
15870
|
+
|
|
15871
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
|
15872
|
+
# or resource exists.
|
|
15873
|
+
# @param [String] project
|
|
15874
|
+
# Project ID for this request.
|
|
15875
|
+
# @param [String] resource
|
|
15876
|
+
# Name or id of the resource for this request.
|
|
15877
|
+
# @param [Fixnum] options_requested_policy_version
|
|
15878
|
+
# Requested IAM Policy version.
|
|
15879
|
+
# @param [String] fields
|
|
15880
|
+
# Selector specifying which fields to include in a partial response.
|
|
15881
|
+
# @param [String] quota_user
|
|
15882
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
15883
|
+
# characters.
|
|
15884
|
+
# @param [String] user_ip
|
|
15885
|
+
# Deprecated. Please use quotaUser instead.
|
|
15886
|
+
# @param [Google::Apis::RequestOptions] options
|
|
15887
|
+
# Request-specific options
|
|
15888
|
+
#
|
|
15889
|
+
# @yield [result, err] Result & error if block supplied
|
|
15890
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
|
15891
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
15892
|
+
#
|
|
15893
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
|
15894
|
+
#
|
|
15895
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15896
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15897
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15898
|
+
def get_network_firewall_policy_iam_policy(project, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15899
|
+
command = make_simple_command(:get, '{project}/global/firewallPolicies/{resource}/getIamPolicy', options)
|
|
15900
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
|
15901
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
|
15902
|
+
command.params['project'] = project unless project.nil?
|
|
15903
|
+
command.params['resource'] = resource unless resource.nil?
|
|
15904
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
15905
|
+
command.query['fields'] = fields unless fields.nil?
|
|
15906
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15907
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
15908
|
+
execute_or_queue_command(command, &block)
|
|
15909
|
+
end
|
|
15910
|
+
|
|
15911
|
+
# Gets a rule of the specified priority.
|
|
15912
|
+
# @param [String] project
|
|
15913
|
+
# Project ID for this request.
|
|
15914
|
+
# @param [String] firewall_policy
|
|
15915
|
+
# Name of the firewall policy to which the queried rule belongs.
|
|
15916
|
+
# @param [Fixnum] priority
|
|
15917
|
+
# The priority of the rule to get from the firewall policy.
|
|
15918
|
+
# @param [String] fields
|
|
15919
|
+
# Selector specifying which fields to include in a partial response.
|
|
15920
|
+
# @param [String] quota_user
|
|
15921
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
15922
|
+
# characters.
|
|
15923
|
+
# @param [String] user_ip
|
|
15924
|
+
# Deprecated. Please use quotaUser instead.
|
|
15925
|
+
# @param [Google::Apis::RequestOptions] options
|
|
15926
|
+
# Request-specific options
|
|
15927
|
+
#
|
|
15928
|
+
# @yield [result, err] Result & error if block supplied
|
|
15929
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyRule] parsed result object
|
|
15930
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
15931
|
+
#
|
|
15932
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyRule]
|
|
15933
|
+
#
|
|
15934
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15935
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15936
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15937
|
+
def get_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15938
|
+
command = make_simple_command(:get, '{project}/global/firewallPolicies/{firewallPolicy}/getRule', options)
|
|
15939
|
+
command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
|
|
15940
|
+
command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyRule
|
|
15941
|
+
command.params['project'] = project unless project.nil?
|
|
15942
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
15943
|
+
command.query['priority'] = priority unless priority.nil?
|
|
15944
|
+
command.query['fields'] = fields unless fields.nil?
|
|
15945
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
15946
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
15947
|
+
execute_or_queue_command(command, &block)
|
|
15948
|
+
end
|
|
15949
|
+
|
|
15950
|
+
# Creates a new policy in the specified project using the data included in the
|
|
15768
15951
|
# request.
|
|
15769
15952
|
# @param [String] project
|
|
15770
15953
|
# Project ID for this request.
|
|
15771
|
-
# @param [Google::Apis::ComputeAlpha::
|
|
15954
|
+
# @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
|
|
15772
15955
|
# @param [String] request_id
|
|
15773
15956
|
# An optional request ID to identify requests. Specify a unique request ID so
|
|
15774
15957
|
# that if you must retry your request, the server will know to ignore the
|
|
@@ -15799,10 +15982,10 @@ module Google
|
|
|
15799
15982
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15800
15983
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15801
15984
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15802
|
-
def
|
|
15803
|
-
command = make_simple_command(:post, '{project}/global/
|
|
15804
|
-
command.request_representation = Google::Apis::ComputeAlpha::
|
|
15805
|
-
command.request_object =
|
|
15985
|
+
def insert_network_firewall_policy(project, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
15986
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies', options)
|
|
15987
|
+
command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
|
|
15988
|
+
command.request_object = firewall_policy_object
|
|
15806
15989
|
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
15807
15990
|
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
15808
15991
|
command.params['project'] = project unless project.nil?
|
|
@@ -15813,7 +15996,7 @@ module Google
|
|
|
15813
15996
|
execute_or_queue_command(command, &block)
|
|
15814
15997
|
end
|
|
15815
15998
|
|
|
15816
|
-
#
|
|
15999
|
+
# Lists all the policies that have been configured for the specified project.
|
|
15817
16000
|
# @param [String] project
|
|
15818
16001
|
# Project ID for this request.
|
|
15819
16002
|
# @param [String] filter
|
|
@@ -15864,18 +16047,18 @@ module Google
|
|
|
15864
16047
|
# Request-specific options
|
|
15865
16048
|
#
|
|
15866
16049
|
# @yield [result, err] Result & error if block supplied
|
|
15867
|
-
# @yieldparam result [Google::Apis::ComputeAlpha::
|
|
16050
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::FirewallPolicyList] parsed result object
|
|
15868
16051
|
# @yieldparam err [StandardError] error object if request failed
|
|
15869
16052
|
#
|
|
15870
|
-
# @return [Google::Apis::ComputeAlpha::
|
|
16053
|
+
# @return [Google::Apis::ComputeAlpha::FirewallPolicyList]
|
|
15871
16054
|
#
|
|
15872
16055
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
15873
16056
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
15874
16057
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
15875
|
-
def
|
|
15876
|
-
command = make_simple_command(:get, '{project}/global/
|
|
15877
|
-
command.response_representation = Google::Apis::ComputeAlpha::
|
|
15878
|
-
command.response_class = Google::Apis::ComputeAlpha::
|
|
16058
|
+
def list_network_firewall_policies(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16059
|
+
command = make_simple_command(:get, '{project}/global/firewallPolicies', options)
|
|
16060
|
+
command.response_representation = Google::Apis::ComputeAlpha::FirewallPolicyList::Representation
|
|
16061
|
+
command.response_class = Google::Apis::ComputeAlpha::FirewallPolicyList
|
|
15879
16062
|
command.params['project'] = project unless project.nil?
|
|
15880
16063
|
command.query['filter'] = filter unless filter.nil?
|
|
15881
16064
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
@@ -15888,61 +16071,619 @@ module Google
|
|
|
15888
16071
|
execute_or_queue_command(command, &block)
|
|
15889
16072
|
end
|
|
15890
16073
|
|
|
15891
|
-
#
|
|
16074
|
+
# Patches the specified policy with the data included in the request.
|
|
15892
16075
|
# @param [String] project
|
|
15893
16076
|
# Project ID for this request.
|
|
15894
|
-
# @param [String]
|
|
15895
|
-
# Name of the
|
|
15896
|
-
# @param [
|
|
15897
|
-
#
|
|
15898
|
-
#
|
|
15899
|
-
# that you
|
|
15900
|
-
#
|
|
15901
|
-
# For example,
|
|
15902
|
-
#
|
|
15903
|
-
#
|
|
15904
|
-
#
|
|
15905
|
-
#
|
|
15906
|
-
#
|
|
15907
|
-
#
|
|
15908
|
-
#
|
|
15909
|
-
#
|
|
15910
|
-
#
|
|
15911
|
-
#
|
|
15912
|
-
#
|
|
15913
|
-
# @param [
|
|
15914
|
-
#
|
|
15915
|
-
#
|
|
15916
|
-
#
|
|
15917
|
-
#
|
|
15918
|
-
# @
|
|
15919
|
-
#
|
|
15920
|
-
#
|
|
15921
|
-
#
|
|
15922
|
-
#
|
|
15923
|
-
#
|
|
15924
|
-
#
|
|
15925
|
-
#
|
|
15926
|
-
#
|
|
15927
|
-
|
|
15928
|
-
|
|
15929
|
-
|
|
15930
|
-
|
|
15931
|
-
|
|
15932
|
-
|
|
15933
|
-
|
|
15934
|
-
|
|
15935
|
-
|
|
15936
|
-
|
|
15937
|
-
|
|
15938
|
-
|
|
15939
|
-
|
|
15940
|
-
|
|
15941
|
-
|
|
15942
|
-
#
|
|
15943
|
-
# @param [
|
|
15944
|
-
#
|
|
15945
|
-
#
|
|
16077
|
+
# @param [String] firewall_policy
|
|
16078
|
+
# Name of the firewall policy to update.
|
|
16079
|
+
# @param [Google::Apis::ComputeAlpha::FirewallPolicy] firewall_policy_object
|
|
16080
|
+
# @param [String] request_id
|
|
16081
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
16082
|
+
# that if you must retry your request, the server will know to ignore the
|
|
16083
|
+
# request if it has already been completed.
|
|
16084
|
+
# For example, consider a situation where you make an initial request and the
|
|
16085
|
+
# request times out. If you make the request again with the same request ID, the
|
|
16086
|
+
# server can check if original operation with the same request ID was received,
|
|
16087
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
16088
|
+
# accidentally creating duplicate commitments.
|
|
16089
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
16090
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
16091
|
+
# @param [String] fields
|
|
16092
|
+
# Selector specifying which fields to include in a partial response.
|
|
16093
|
+
# @param [String] quota_user
|
|
16094
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16095
|
+
# characters.
|
|
16096
|
+
# @param [String] user_ip
|
|
16097
|
+
# Deprecated. Please use quotaUser instead.
|
|
16098
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16099
|
+
# Request-specific options
|
|
16100
|
+
#
|
|
16101
|
+
# @yield [result, err] Result & error if block supplied
|
|
16102
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
16103
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16104
|
+
#
|
|
16105
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
16106
|
+
#
|
|
16107
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16108
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16109
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16110
|
+
def patch_network_firewall_policy(project, firewall_policy, firewall_policy_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16111
|
+
command = make_simple_command(:patch, '{project}/global/firewallPolicies/{firewallPolicy}', options)
|
|
16112
|
+
command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicy::Representation
|
|
16113
|
+
command.request_object = firewall_policy_object
|
|
16114
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16115
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
16116
|
+
command.params['project'] = project unless project.nil?
|
|
16117
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
16118
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
16119
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16121
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16122
|
+
execute_or_queue_command(command, &block)
|
|
16123
|
+
end
|
|
16124
|
+
|
|
16125
|
+
# Patches a rule of the specified priority.
|
|
16126
|
+
# @param [String] project
|
|
16127
|
+
# Project ID for this request.
|
|
16128
|
+
# @param [String] firewall_policy
|
|
16129
|
+
# Name of the firewall policy to update.
|
|
16130
|
+
# @param [Google::Apis::ComputeAlpha::FirewallPolicyRule] firewall_policy_rule_object
|
|
16131
|
+
# @param [Fixnum] priority
|
|
16132
|
+
# The priority of the rule to patch.
|
|
16133
|
+
# @param [String] fields
|
|
16134
|
+
# Selector specifying which fields to include in a partial response.
|
|
16135
|
+
# @param [String] quota_user
|
|
16136
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16137
|
+
# characters.
|
|
16138
|
+
# @param [String] user_ip
|
|
16139
|
+
# Deprecated. Please use quotaUser instead.
|
|
16140
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16141
|
+
# Request-specific options
|
|
16142
|
+
#
|
|
16143
|
+
# @yield [result, err] Result & error if block supplied
|
|
16144
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
16145
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16146
|
+
#
|
|
16147
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
16148
|
+
#
|
|
16149
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16150
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16151
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16152
|
+
def patch_network_firewall_policy_rule(project, firewall_policy, firewall_policy_rule_object = nil, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16153
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/patchRule', options)
|
|
16154
|
+
command.request_representation = Google::Apis::ComputeAlpha::FirewallPolicyRule::Representation
|
|
16155
|
+
command.request_object = firewall_policy_rule_object
|
|
16156
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16157
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
16158
|
+
command.params['project'] = project unless project.nil?
|
|
16159
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
16160
|
+
command.query['priority'] = priority unless priority.nil?
|
|
16161
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16162
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16163
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16164
|
+
execute_or_queue_command(command, &block)
|
|
16165
|
+
end
|
|
16166
|
+
|
|
16167
|
+
# Removes an association for the specified firewall policy.
|
|
16168
|
+
# @param [String] project
|
|
16169
|
+
# Project ID for this request.
|
|
16170
|
+
# @param [String] firewall_policy
|
|
16171
|
+
# Name of the firewall policy to update.
|
|
16172
|
+
# @param [String] name
|
|
16173
|
+
# Name for the attachment that will be removed.
|
|
16174
|
+
# @param [String] request_id
|
|
16175
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
16176
|
+
# that if you must retry your request, the server will know to ignore the
|
|
16177
|
+
# request if it has already been completed.
|
|
16178
|
+
# For example, consider a situation where you make an initial request and the
|
|
16179
|
+
# request times out. If you make the request again with the same request ID, the
|
|
16180
|
+
# server can check if original operation with the same request ID was received,
|
|
16181
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
16182
|
+
# accidentally creating duplicate commitments.
|
|
16183
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
16184
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
16185
|
+
# @param [String] fields
|
|
16186
|
+
# Selector specifying which fields to include in a partial response.
|
|
16187
|
+
# @param [String] quota_user
|
|
16188
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16189
|
+
# characters.
|
|
16190
|
+
# @param [String] user_ip
|
|
16191
|
+
# Deprecated. Please use quotaUser instead.
|
|
16192
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16193
|
+
# Request-specific options
|
|
16194
|
+
#
|
|
16195
|
+
# @yield [result, err] Result & error if block supplied
|
|
16196
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
16197
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16198
|
+
#
|
|
16199
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
16200
|
+
#
|
|
16201
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16202
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16203
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16204
|
+
def remove_network_firewall_policy_association(project, firewall_policy, name: nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16205
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/removeAssociation', options)
|
|
16206
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16207
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
16208
|
+
command.params['project'] = project unless project.nil?
|
|
16209
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
16210
|
+
command.query['name'] = name unless name.nil?
|
|
16211
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
16212
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16213
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16214
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16215
|
+
execute_or_queue_command(command, &block)
|
|
16216
|
+
end
|
|
16217
|
+
|
|
16218
|
+
# Deletes a rule of the specified priority.
|
|
16219
|
+
# @param [String] project
|
|
16220
|
+
# Project ID for this request.
|
|
16221
|
+
# @param [String] firewall_policy
|
|
16222
|
+
# Name of the firewall policy to update.
|
|
16223
|
+
# @param [Fixnum] priority
|
|
16224
|
+
# The priority of the rule to remove from the firewall policy.
|
|
16225
|
+
# @param [String] fields
|
|
16226
|
+
# Selector specifying which fields to include in a partial response.
|
|
16227
|
+
# @param [String] quota_user
|
|
16228
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16229
|
+
# characters.
|
|
16230
|
+
# @param [String] user_ip
|
|
16231
|
+
# Deprecated. Please use quotaUser instead.
|
|
16232
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16233
|
+
# Request-specific options
|
|
16234
|
+
#
|
|
16235
|
+
# @yield [result, err] Result & error if block supplied
|
|
16236
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
16237
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16238
|
+
#
|
|
16239
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
16240
|
+
#
|
|
16241
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16242
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16243
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16244
|
+
def remove_network_firewall_policy_rule(project, firewall_policy, priority: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16245
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies/{firewallPolicy}/removeRule', options)
|
|
16246
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16247
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
16248
|
+
command.params['project'] = project unless project.nil?
|
|
16249
|
+
command.params['firewallPolicy'] = firewall_policy unless firewall_policy.nil?
|
|
16250
|
+
command.query['priority'] = priority unless priority.nil?
|
|
16251
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16252
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16253
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16254
|
+
execute_or_queue_command(command, &block)
|
|
16255
|
+
end
|
|
16256
|
+
|
|
16257
|
+
# Sets the access control policy on the specified resource. Replaces any
|
|
16258
|
+
# existing policy.
|
|
16259
|
+
# @param [String] project
|
|
16260
|
+
# Project ID for this request.
|
|
16261
|
+
# @param [String] resource
|
|
16262
|
+
# Name or id of the resource for this request.
|
|
16263
|
+
# @param [Google::Apis::ComputeAlpha::GlobalSetPolicyRequest] global_set_policy_request_object
|
|
16264
|
+
# @param [String] fields
|
|
16265
|
+
# Selector specifying which fields to include in a partial response.
|
|
16266
|
+
# @param [String] quota_user
|
|
16267
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16268
|
+
# characters.
|
|
16269
|
+
# @param [String] user_ip
|
|
16270
|
+
# Deprecated. Please use quotaUser instead.
|
|
16271
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16272
|
+
# Request-specific options
|
|
16273
|
+
#
|
|
16274
|
+
# @yield [result, err] Result & error if block supplied
|
|
16275
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
|
16276
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16277
|
+
#
|
|
16278
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
|
16279
|
+
#
|
|
16280
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16281
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16282
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16283
|
+
def set_network_firewall_policy_iam_policy(project, resource, global_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16284
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies/{resource}/setIamPolicy', options)
|
|
16285
|
+
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetPolicyRequest::Representation
|
|
16286
|
+
command.request_object = global_set_policy_request_object
|
|
16287
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
|
16288
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
|
16289
|
+
command.params['project'] = project unless project.nil?
|
|
16290
|
+
command.params['resource'] = resource unless resource.nil?
|
|
16291
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16292
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16293
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16294
|
+
execute_or_queue_command(command, &block)
|
|
16295
|
+
end
|
|
16296
|
+
|
|
16297
|
+
# Returns permissions that a caller has on the specified resource.
|
|
16298
|
+
# @param [String] project
|
|
16299
|
+
# Project ID for this request.
|
|
16300
|
+
# @param [String] resource
|
|
16301
|
+
# Name or id of the resource for this request.
|
|
16302
|
+
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
|
16303
|
+
# @param [String] fields
|
|
16304
|
+
# Selector specifying which fields to include in a partial response.
|
|
16305
|
+
# @param [String] quota_user
|
|
16306
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16307
|
+
# characters.
|
|
16308
|
+
# @param [String] user_ip
|
|
16309
|
+
# Deprecated. Please use quotaUser instead.
|
|
16310
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16311
|
+
# Request-specific options
|
|
16312
|
+
#
|
|
16313
|
+
# @yield [result, err] Result & error if block supplied
|
|
16314
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
|
16315
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16316
|
+
#
|
|
16317
|
+
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
|
16318
|
+
#
|
|
16319
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16320
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16321
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16322
|
+
def test_network_firewall_policy_iam_permissions(project, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16323
|
+
command = make_simple_command(:post, '{project}/global/firewallPolicies/{resource}/testIamPermissions', options)
|
|
16324
|
+
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
|
16325
|
+
command.request_object = test_permissions_request_object
|
|
16326
|
+
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
|
16327
|
+
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
|
16328
|
+
command.params['project'] = project unless project.nil?
|
|
16329
|
+
command.params['resource'] = resource unless resource.nil?
|
|
16330
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16331
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16332
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16333
|
+
execute_or_queue_command(command, &block)
|
|
16334
|
+
end
|
|
16335
|
+
|
|
16336
|
+
# Adds a peering to the specified network.
|
|
16337
|
+
# @param [String] project
|
|
16338
|
+
# Project ID for this request.
|
|
16339
|
+
# @param [String] network
|
|
16340
|
+
# Name of the network resource to add peering to.
|
|
16341
|
+
# @param [Google::Apis::ComputeAlpha::NetworksAddPeeringRequest] networks_add_peering_request_object
|
|
16342
|
+
# @param [String] request_id
|
|
16343
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
16344
|
+
# that if you must retry your request, the server will know to ignore the
|
|
16345
|
+
# request if it has already been completed.
|
|
16346
|
+
# For example, consider a situation where you make an initial request and the
|
|
16347
|
+
# request times out. If you make the request again with the same request ID, the
|
|
16348
|
+
# server can check if original operation with the same request ID was received,
|
|
16349
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
16350
|
+
# accidentally creating duplicate commitments.
|
|
16351
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
16352
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
16353
|
+
# @param [String] fields
|
|
16354
|
+
# Selector specifying which fields to include in a partial response.
|
|
16355
|
+
# @param [String] quota_user
|
|
16356
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16357
|
+
# characters.
|
|
16358
|
+
# @param [String] user_ip
|
|
16359
|
+
# Deprecated. Please use quotaUser instead.
|
|
16360
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16361
|
+
# Request-specific options
|
|
16362
|
+
#
|
|
16363
|
+
# @yield [result, err] Result & error if block supplied
|
|
16364
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
16365
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16366
|
+
#
|
|
16367
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
16368
|
+
#
|
|
16369
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16370
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16371
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16372
|
+
def add_network_peering(project, network, networks_add_peering_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16373
|
+
command = make_simple_command(:post, '{project}/global/networks/{network}/addPeering', options)
|
|
16374
|
+
command.request_representation = Google::Apis::ComputeAlpha::NetworksAddPeeringRequest::Representation
|
|
16375
|
+
command.request_object = networks_add_peering_request_object
|
|
16376
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16377
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
16378
|
+
command.params['project'] = project unless project.nil?
|
|
16379
|
+
command.params['network'] = network unless network.nil?
|
|
16380
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
16381
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16382
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16383
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16384
|
+
execute_or_queue_command(command, &block)
|
|
16385
|
+
end
|
|
16386
|
+
|
|
16387
|
+
# Deletes the specified network.
|
|
16388
|
+
# @param [String] project
|
|
16389
|
+
# Project ID for this request.
|
|
16390
|
+
# @param [String] network
|
|
16391
|
+
# Name of the network to delete.
|
|
16392
|
+
# @param [String] request_id
|
|
16393
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
16394
|
+
# that if you must retry your request, the server will know to ignore the
|
|
16395
|
+
# request if it has already been completed.
|
|
16396
|
+
# For example, consider a situation where you make an initial request and the
|
|
16397
|
+
# request times out. If you make the request again with the same request ID, the
|
|
16398
|
+
# server can check if original operation with the same request ID was received,
|
|
16399
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
16400
|
+
# accidentally creating duplicate commitments.
|
|
16401
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
16402
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
16403
|
+
# @param [String] fields
|
|
16404
|
+
# Selector specifying which fields to include in a partial response.
|
|
16405
|
+
# @param [String] quota_user
|
|
16406
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16407
|
+
# characters.
|
|
16408
|
+
# @param [String] user_ip
|
|
16409
|
+
# Deprecated. Please use quotaUser instead.
|
|
16410
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16411
|
+
# Request-specific options
|
|
16412
|
+
#
|
|
16413
|
+
# @yield [result, err] Result & error if block supplied
|
|
16414
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
16415
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16416
|
+
#
|
|
16417
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
16418
|
+
#
|
|
16419
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16420
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16421
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16422
|
+
def delete_network(project, network, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16423
|
+
command = make_simple_command(:delete, '{project}/global/networks/{network}', options)
|
|
16424
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16425
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
16426
|
+
command.params['project'] = project unless project.nil?
|
|
16427
|
+
command.params['network'] = network unless network.nil?
|
|
16428
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
16429
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16430
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16431
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16432
|
+
execute_or_queue_command(command, &block)
|
|
16433
|
+
end
|
|
16434
|
+
|
|
16435
|
+
# Returns the specified network. Gets a list of available networks by making a
|
|
16436
|
+
# list() request.
|
|
16437
|
+
# @param [String] project
|
|
16438
|
+
# Project ID for this request.
|
|
16439
|
+
# @param [String] network
|
|
16440
|
+
# Name of the network to return.
|
|
16441
|
+
# @param [String] fields
|
|
16442
|
+
# Selector specifying which fields to include in a partial response.
|
|
16443
|
+
# @param [String] quota_user
|
|
16444
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16445
|
+
# characters.
|
|
16446
|
+
# @param [String] user_ip
|
|
16447
|
+
# Deprecated. Please use quotaUser instead.
|
|
16448
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16449
|
+
# Request-specific options
|
|
16450
|
+
#
|
|
16451
|
+
# @yield [result, err] Result & error if block supplied
|
|
16452
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Network] parsed result object
|
|
16453
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16454
|
+
#
|
|
16455
|
+
# @return [Google::Apis::ComputeAlpha::Network]
|
|
16456
|
+
#
|
|
16457
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16458
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16459
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16460
|
+
def get_network(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16461
|
+
command = make_simple_command(:get, '{project}/global/networks/{network}', options)
|
|
16462
|
+
command.response_representation = Google::Apis::ComputeAlpha::Network::Representation
|
|
16463
|
+
command.response_class = Google::Apis::ComputeAlpha::Network
|
|
16464
|
+
command.params['project'] = project unless project.nil?
|
|
16465
|
+
command.params['network'] = network unless network.nil?
|
|
16466
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16467
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16468
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16469
|
+
execute_or_queue_command(command, &block)
|
|
16470
|
+
end
|
|
16471
|
+
|
|
16472
|
+
# Returns the effective firewalls on a given network.
|
|
16473
|
+
# @param [String] project
|
|
16474
|
+
# Project ID for this request.
|
|
16475
|
+
# @param [String] network
|
|
16476
|
+
# Name of the network for this request.
|
|
16477
|
+
# @param [String] fields
|
|
16478
|
+
# Selector specifying which fields to include in a partial response.
|
|
16479
|
+
# @param [String] quota_user
|
|
16480
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16481
|
+
# characters.
|
|
16482
|
+
# @param [String] user_ip
|
|
16483
|
+
# Deprecated. Please use quotaUser instead.
|
|
16484
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16485
|
+
# Request-specific options
|
|
16486
|
+
#
|
|
16487
|
+
# @yield [result, err] Result & error if block supplied
|
|
16488
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse] parsed result object
|
|
16489
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16490
|
+
#
|
|
16491
|
+
# @return [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse]
|
|
16492
|
+
#
|
|
16493
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16494
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16495
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16496
|
+
def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16497
|
+
command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options)
|
|
16498
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse::Representation
|
|
16499
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse
|
|
16500
|
+
command.params['project'] = project unless project.nil?
|
|
16501
|
+
command.params['network'] = network unless network.nil?
|
|
16502
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16503
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16504
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16505
|
+
execute_or_queue_command(command, &block)
|
|
16506
|
+
end
|
|
16507
|
+
|
|
16508
|
+
# Creates a network in the specified project using the data included in the
|
|
16509
|
+
# request.
|
|
16510
|
+
# @param [String] project
|
|
16511
|
+
# Project ID for this request.
|
|
16512
|
+
# @param [Google::Apis::ComputeAlpha::Network] network_object
|
|
16513
|
+
# @param [String] request_id
|
|
16514
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
|
16515
|
+
# that if you must retry your request, the server will know to ignore the
|
|
16516
|
+
# request if it has already been completed.
|
|
16517
|
+
# For example, consider a situation where you make an initial request and the
|
|
16518
|
+
# request times out. If you make the request again with the same request ID, the
|
|
16519
|
+
# server can check if original operation with the same request ID was received,
|
|
16520
|
+
# and if so, will ignore the second request. This prevents clients from
|
|
16521
|
+
# accidentally creating duplicate commitments.
|
|
16522
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
|
16523
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
|
16524
|
+
# @param [String] fields
|
|
16525
|
+
# Selector specifying which fields to include in a partial response.
|
|
16526
|
+
# @param [String] quota_user
|
|
16527
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16528
|
+
# characters.
|
|
16529
|
+
# @param [String] user_ip
|
|
16530
|
+
# Deprecated. Please use quotaUser instead.
|
|
16531
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16532
|
+
# Request-specific options
|
|
16533
|
+
#
|
|
16534
|
+
# @yield [result, err] Result & error if block supplied
|
|
16535
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
|
16536
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16537
|
+
#
|
|
16538
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
|
16539
|
+
#
|
|
16540
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16541
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16542
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16543
|
+
def insert_network(project, network_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16544
|
+
command = make_simple_command(:post, '{project}/global/networks', options)
|
|
16545
|
+
command.request_representation = Google::Apis::ComputeAlpha::Network::Representation
|
|
16546
|
+
command.request_object = network_object
|
|
16547
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
|
16548
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
|
16549
|
+
command.params['project'] = project unless project.nil?
|
|
16550
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
16551
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16552
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16553
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16554
|
+
execute_or_queue_command(command, &block)
|
|
16555
|
+
end
|
|
16556
|
+
|
|
16557
|
+
# Retrieves the list of networks available to the specified project.
|
|
16558
|
+
# @param [String] project
|
|
16559
|
+
# Project ID for this request.
|
|
16560
|
+
# @param [String] filter
|
|
16561
|
+
# A filter expression that filters resources listed in the response. The
|
|
16562
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
16563
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
16564
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
16565
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
16566
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
|
16567
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
16568
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
|
16569
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
16570
|
+
# on resource labels.
|
|
16571
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
16572
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
|
16573
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
16574
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
|
16575
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
|
16576
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
16577
|
+
# @param [Fixnum] max_results
|
|
16578
|
+
# The maximum number of results per page that should be returned. If the number
|
|
16579
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
16580
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
|
16581
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
16582
|
+
# @param [String] order_by
|
|
16583
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
16584
|
+
# alphanumerical order based on the resource name.
|
|
16585
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
16586
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
|
16587
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
|
16588
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
16589
|
+
# returned first.
|
|
16590
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
16591
|
+
# @param [String] page_token
|
|
16592
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
16593
|
+
# by a previous list request to get the next page of results.
|
|
16594
|
+
# @param [Boolean] return_partial_success
|
|
16595
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
16596
|
+
# failure. The default value is false and the logic is the same as today.
|
|
16597
|
+
# @param [String] fields
|
|
16598
|
+
# Selector specifying which fields to include in a partial response.
|
|
16599
|
+
# @param [String] quota_user
|
|
16600
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16601
|
+
# characters.
|
|
16602
|
+
# @param [String] user_ip
|
|
16603
|
+
# Deprecated. Please use quotaUser instead.
|
|
16604
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16605
|
+
# Request-specific options
|
|
16606
|
+
#
|
|
16607
|
+
# @yield [result, err] Result & error if block supplied
|
|
16608
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkList] parsed result object
|
|
16609
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
16610
|
+
#
|
|
16611
|
+
# @return [Google::Apis::ComputeAlpha::NetworkList]
|
|
16612
|
+
#
|
|
16613
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
16614
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
16615
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
16616
|
+
def list_networks(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
16617
|
+
command = make_simple_command(:get, '{project}/global/networks', options)
|
|
16618
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkList::Representation
|
|
16619
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkList
|
|
16620
|
+
command.params['project'] = project unless project.nil?
|
|
16621
|
+
command.query['filter'] = filter unless filter.nil?
|
|
16622
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
|
16623
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
|
16624
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
16625
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
16626
|
+
command.query['fields'] = fields unless fields.nil?
|
|
16627
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
16628
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
16629
|
+
execute_or_queue_command(command, &block)
|
|
16630
|
+
end
|
|
16631
|
+
|
|
16632
|
+
# Lists the internal IP addresses in the specified network.
|
|
16633
|
+
# @param [String] project
|
|
16634
|
+
# Project ID for this request.
|
|
16635
|
+
# @param [String] network
|
|
16636
|
+
# Name of the network for this request.
|
|
16637
|
+
# @param [String] filter
|
|
16638
|
+
# A filter expression that filters resources listed in the response. The
|
|
16639
|
+
# expression must specify the field name, a comparison operator, and the value
|
|
16640
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
|
16641
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
|
16642
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
|
16643
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
|
16644
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
|
16645
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
|
16646
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
|
16647
|
+
# on resource labels.
|
|
16648
|
+
# To filter on multiple expressions, provide each separate expression within
|
|
16649
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
|
16650
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
|
16651
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
|
16652
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
|
16653
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
|
16654
|
+
# @param [Fixnum] max_results
|
|
16655
|
+
# The maximum number of results per page that should be returned. If the number
|
|
16656
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
|
16657
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
|
16658
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
|
16659
|
+
# @param [String] order_by
|
|
16660
|
+
# Sorts list results by a certain order. By default, results are returned in
|
|
16661
|
+
# alphanumerical order based on the resource name.
|
|
16662
|
+
# You can also sort results in descending order based on the creation timestamp
|
|
16663
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
|
16664
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
|
16665
|
+
# Use this to sort resources like operations so that the newest operation is
|
|
16666
|
+
# returned first.
|
|
16667
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
|
16668
|
+
# @param [String] page_token
|
|
16669
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
16670
|
+
# by a previous list request to get the next page of results.
|
|
16671
|
+
# @param [Boolean] return_partial_success
|
|
16672
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
16673
|
+
# failure. The default value is false and the logic is the same as today.
|
|
16674
|
+
# @param [String] types
|
|
16675
|
+
# (Optional) types filter separate by comma, valid values are: SUBNETWORK,
|
|
16676
|
+
# RESERVED, PEER_USED, PEER_RESERVED, REMOTE_USED, REMOTE_RESERVED.
|
|
16677
|
+
# @param [String] fields
|
|
16678
|
+
# Selector specifying which fields to include in a partial response.
|
|
16679
|
+
# @param [String] quota_user
|
|
16680
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
|
16681
|
+
# characters.
|
|
16682
|
+
# @param [String] user_ip
|
|
16683
|
+
# Deprecated. Please use quotaUser instead.
|
|
16684
|
+
# @param [Google::Apis::RequestOptions] options
|
|
16685
|
+
# Request-specific options
|
|
16686
|
+
#
|
|
15946
16687
|
# @yield [result, err] Result & error if block supplied
|
|
15947
16688
|
# @yieldparam result [Google::Apis::ComputeAlpha::IpAddressesList] parsed result object
|
|
15948
16689
|
# @yieldparam err [StandardError] error object if request failed
|
|
@@ -19156,6 +19897,9 @@ module Google
|
|
|
19156
19897
|
# @param [String] page_token
|
|
19157
19898
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
19158
19899
|
# by a previous list request to get the next page of results.
|
|
19900
|
+
# @param [Boolean] return_partial_success
|
|
19901
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
19902
|
+
# failure. The default value is false and the logic is the same as today.
|
|
19159
19903
|
# @param [String] fields
|
|
19160
19904
|
# Selector specifying which fields to include in a partial response.
|
|
19161
19905
|
# @param [String] quota_user
|
|
@@ -19175,7 +19919,7 @@ module Google
|
|
|
19175
19919
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
19176
19920
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19177
19921
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19178
|
-
def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19922
|
+
def get_project_xpn_resources(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19179
19923
|
command = make_simple_command(:get, '{project}/getXpnResources', options)
|
|
19180
19924
|
command.response_representation = Google::Apis::ComputeAlpha::ProjectsGetXpnResources::Representation
|
|
19181
19925
|
command.response_class = Google::Apis::ComputeAlpha::ProjectsGetXpnResources
|
|
@@ -19184,6 +19928,7 @@ module Google
|
|
|
19184
19928
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
19185
19929
|
command.query['orderBy'] = order_by unless order_by.nil?
|
|
19186
19930
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
19931
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
19187
19932
|
command.query['fields'] = fields unless fields.nil?
|
|
19188
19933
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
19189
19934
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -19228,6 +19973,9 @@ module Google
|
|
|
19228
19973
|
# @param [String] page_token
|
|
19229
19974
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
19230
19975
|
# by a previous list request to get the next page of results.
|
|
19976
|
+
# @param [Boolean] return_partial_success
|
|
19977
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
19978
|
+
# failure. The default value is false and the logic is the same as today.
|
|
19231
19979
|
# @param [String] fields
|
|
19232
19980
|
# Selector specifying which fields to include in a partial response.
|
|
19233
19981
|
# @param [String] quota_user
|
|
@@ -19247,7 +19995,7 @@ module Google
|
|
|
19247
19995
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
19248
19996
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
19249
19997
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
19250
|
-
def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19998
|
+
def list_project_xpn_hosts(project, projects_list_xpn_hosts_request_object = nil, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
19251
19999
|
command = make_simple_command(:post, '{project}/listXpnHosts', options)
|
|
19252
20000
|
command.request_representation = Google::Apis::ComputeAlpha::ProjectsListXpnHostsRequest::Representation
|
|
19253
20001
|
command.request_object = projects_list_xpn_hosts_request_object
|
|
@@ -19258,6 +20006,7 @@ module Google
|
|
|
19258
20006
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
19259
20007
|
command.query['orderBy'] = order_by unless order_by.nil?
|
|
19260
20008
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
20009
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
19261
20010
|
command.query['fields'] = fields unless fields.nil?
|
|
19262
20011
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
19263
20012
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -20685,9 +21434,8 @@ module Google
|
|
|
20685
21434
|
end
|
|
20686
21435
|
|
|
20687
21436
|
# Creates a regional BackendService resource in the specified project using the
|
|
20688
|
-
# data included in the request.
|
|
20689
|
-
#
|
|
20690
|
-
# backend services for more information.
|
|
21437
|
+
# data included in the request. For more information, see Backend services
|
|
21438
|
+
# overview.
|
|
20691
21439
|
# @param [String] project
|
|
20692
21440
|
# Project ID for this request.
|
|
20693
21441
|
# @param [String] region
|
|
@@ -20818,10 +21566,9 @@ module Google
|
|
|
20818
21566
|
end
|
|
20819
21567
|
|
|
20820
21568
|
# Updates the specified regional BackendService resource with the data included
|
|
20821
|
-
# in the request.
|
|
20822
|
-
#
|
|
20823
|
-
#
|
|
20824
|
-
# patch format and processing rules.
|
|
21569
|
+
# in the request. For more information, see Understanding backend services This
|
|
21570
|
+
# method supports PATCH semantics and uses the JSON merge patch format and
|
|
21571
|
+
# processing rules.
|
|
20825
21572
|
# @param [String] project
|
|
20826
21573
|
# Project ID for this request.
|
|
20827
21574
|
# @param [String] region
|
|
@@ -20918,9 +21665,7 @@ module Google
|
|
|
20918
21665
|
end
|
|
20919
21666
|
|
|
20920
21667
|
# Updates the specified regional BackendService resource with the data included
|
|
20921
|
-
# in the request.
|
|
20922
|
-
# mind when updating a backend service. Read Understanding backend services for
|
|
20923
|
-
# more information.
|
|
21668
|
+
# in the request. For more information, see Backend services overview.
|
|
20924
21669
|
# @param [String] project
|
|
20925
21670
|
# Project ID for this request.
|
|
20926
21671
|
# @param [String] region
|
|
@@ -23675,7 +24420,7 @@ module Google
|
|
|
23675
24420
|
end
|
|
23676
24421
|
|
|
23677
24422
|
# Lists all errors thrown by actions on instances for a given regional managed
|
|
23678
|
-
# instance group.
|
|
24423
|
+
# instance group. The filter and orderBy query parameters are not supported.
|
|
23679
24424
|
# @param [String] project
|
|
23680
24425
|
# Project ID for this request.
|
|
23681
24426
|
# @param [String] region
|
|
@@ -23760,7 +24505,7 @@ module Google
|
|
|
23760
24505
|
|
|
23761
24506
|
# Lists the instances in the managed instance group and instances that are
|
|
23762
24507
|
# scheduled to be created. The list includes any current actions that the group
|
|
23763
|
-
# has scheduled for its instances.
|
|
24508
|
+
# has scheduled for its instances. The orderBy query parameter is not supported.
|
|
23764
24509
|
# @param [String] project
|
|
23765
24510
|
# Project ID for this request.
|
|
23766
24511
|
# @param [String] region
|
|
@@ -23801,6 +24546,9 @@ module Google
|
|
|
23801
24546
|
# @param [String] page_token
|
|
23802
24547
|
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
|
23803
24548
|
# by a previous list request to get the next page of results.
|
|
24549
|
+
# @param [Boolean] return_partial_success
|
|
24550
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
|
24551
|
+
# failure. The default value is false and the logic is the same as today.
|
|
23804
24552
|
# @param [String] fields
|
|
23805
24553
|
# Selector specifying which fields to include in a partial response.
|
|
23806
24554
|
# @param [String] quota_user
|
|
@@ -23820,7 +24568,7 @@ module Google
|
|
|
23820
24568
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
23821
24569
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
23822
24570
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
23823
|
-
def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
24571
|
+
def list_region_instance_group_manager_managed_instances(project, region, instance_group_manager, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
23824
24572
|
command = make_simple_command(:post, '{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/listManagedInstances', options)
|
|
23825
24573
|
command.response_representation = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse::Representation
|
|
23826
24574
|
command.response_class = Google::Apis::ComputeAlpha::RegionInstanceGroupManagersListInstancesResponse
|
|
@@ -23831,6 +24579,7 @@ module Google
|
|
|
23831
24579
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
23832
24580
|
command.query['orderBy'] = order_by unless order_by.nil?
|
|
23833
24581
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
24582
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
|
23834
24583
|
command.query['fields'] = fields unless fields.nil?
|
|
23835
24584
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
23836
24585
|
command.query['userIp'] = user_ip unless user_ip.nil?
|
|
@@ -23838,6 +24587,7 @@ module Google
|
|
|
23838
24587
|
end
|
|
23839
24588
|
|
|
23840
24589
|
# Lists all of the per-instance configs defined for the managed instance group.
|
|
24590
|
+
# The orderBy query parameter is not supported.
|
|
23841
24591
|
# @param [String] project
|
|
23842
24592
|
# Project ID for this request.
|
|
23843
24593
|
# @param [String] region
|
|
@@ -24599,7 +25349,8 @@ module Google
|
|
|
24599
25349
|
|
|
24600
25350
|
# Lists the instances in the specified instance group and displays information
|
|
24601
25351
|
# about the named ports. Depending on the specified options, this method can
|
|
24602
|
-
# list all instances or only the instances that are running.
|
|
25352
|
+
# list all instances or only the instances that are running. The orderBy query
|
|
25353
|
+
# parameter is not supported.
|
|
24603
25354
|
# @param [String] project
|
|
24604
25355
|
# Project ID for this request.
|
|
24605
25356
|
# @param [String] region
|
|
@@ -31177,9 +31928,7 @@ module Google
|
|
|
31177
31928
|
execute_or_queue_command(command, &block)
|
|
31178
31929
|
end
|
|
31179
31930
|
|
|
31180
|
-
# Retrieves an aggregated list of all usable subnetworks in the project.
|
|
31181
|
-
# list contains all of the subnetworks in the project and the subnetworks that
|
|
31182
|
-
# were shared by a Shared VPC host project.
|
|
31931
|
+
# Retrieves an aggregated list of all usable subnetworks in the project.
|
|
31183
31932
|
# @param [String] project
|
|
31184
31933
|
# Project ID for this request.
|
|
31185
31934
|
# @param [String] filter
|