google-api-client 0.28.7 → 0.29.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.kokoro/build.bat +9 -6
- data/.kokoro/build.sh +2 -32
- data/.kokoro/continuous/common.cfg +6 -1
- data/.kokoro/continuous/windows.cfg +17 -1
- data/.kokoro/osx.sh +2 -33
- data/.kokoro/presubmit/common.cfg +6 -1
- data/.kokoro/presubmit/windows.cfg +17 -1
- data/.kokoro/trampoline.bat +10 -0
- data/.kokoro/trampoline.sh +3 -23
- data/CHANGELOG.md +138 -0
- data/Rakefile +31 -0
- data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
- data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
- data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/service.rb +7 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
- data/generated/google/apis/appengine_v1beta/service.rb +7 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +4 -3
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +28 -4
- data/generated/google/apis/bigquery_v2/representations.rb +13 -0
- data/generated/google/apis/bigtableadmin_v1.rb +2 -2
- data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +2 -2
- data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
- data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +16 -16
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +77 -0
- data/generated/google/apis/classroom_v1/representations.rb +32 -0
- data/generated/google/apis/classroom_v1/service.rb +224 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
- data/generated/google/apis/cloudasset_v1/service.rb +3 -2
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
- 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 +34 -0
- data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
- data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
- data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +328 -25
- data/generated/google/apis/compute_alpha/representations.rb +134 -0
- data/generated/google/apis/compute_alpha/service.rb +465 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +86 -20
- data/generated/google/apis/compute_beta/representations.rb +7 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +994 -103
- data/generated/google/apis/compute_v1/representations.rb +346 -0
- data/generated/google/apis/compute_v1/service.rb +533 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +167 -21
- data/generated/google/apis/container_v1/representations.rb +66 -0
- data/generated/google/apis/container_v1/service.rb +85 -36
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +86 -21
- data/generated/google/apis/container_v1beta1/representations.rb +32 -0
- data/generated/google/apis/container_v1beta1/service.rb +38 -38
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +5 -5
- data/generated/google/apis/content_v2/service.rb +6 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +18 -4
- data/generated/google/apis/content_v2_1/representations.rb +2 -0
- data/generated/google/apis/content_v2_1/service.rb +6 -6
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
- data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
- data/generated/google/apis/datafusion_v1beta1.rb +43 -0
- data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
- data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +5 -5
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +20 -16
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -2
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +202 -93
- data/generated/google/apis/dns_v1/service.rb +110 -15
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
- data/generated/google/apis/dns_v1beta2/service.rb +141 -21
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
- data/generated/google/apis/dns_v2beta1/service.rb +110 -15
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +10 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +601 -69
- data/generated/google/apis/drive_v2/representations.rb +152 -0
- data/generated/google/apis/drive_v2/service.rb +452 -96
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +591 -64
- data/generated/google/apis/drive_v3/representations.rb +151 -0
- data/generated/google/apis/drive_v3/service.rb +407 -77
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
- data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +399 -8
- data/generated/google/apis/file_v1/representations.rb +121 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +399 -8
- data/generated/google/apis/file_v1beta1/representations.rb +121 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +2 -2
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +29 -0
- data/generated/google/apis/gmail_v1/representations.rb +13 -0
- data/generated/google/apis/gmail_v1/service.rb +76 -0
- data/generated/google/apis/healthcare_v1beta1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +9 -8
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +13 -7
- data/generated/google/apis/jobs_v3/service.rb +1 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
- data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +3 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +3 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +64 -16
- data/generated/google/apis/ml_v1/representations.rb +2 -0
- data/generated/google/apis/ml_v1/service.rb +5 -5
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +0 -10
- data/generated/google/apis/monitoring_v3/representations.rb +0 -1
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oslogin_v1.rb +3 -2
- data/generated/google/apis/oslogin_v1/service.rb +2 -1
- data/generated/google/apis/oslogin_v1alpha.rb +3 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
- data/generated/google/apis/oslogin_v1beta.rb +3 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
- data/generated/google/apis/people_v1.rb +1 -4
- data/generated/google/apis/people_v1/classes.rb +19 -11
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +1 -0
- data/generated/google/apis/plus_domains_v1.rb +2 -5
- data/generated/google/apis/plus_domains_v1/service.rb +8 -90
- data/generated/google/apis/plus_v1.rb +2 -2
- data/generated/google/apis/plus_v1/service.rb +7 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +3 -2
- data/generated/google/apis/poly_v1/service.rb +11 -8
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +2 -1
- data/generated/google/apis/pubsub_v1/service.rb +8 -8
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
- data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
- data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
- data/generated/google/apis/servicebroker_v1.rb +1 -1
- data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
- data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
- data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
- data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +20 -19
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +144 -0
- data/generated/google/apis/storage_v1/representations.rb +56 -0
- data/generated/google/apis/storage_v1/service.rb +441 -46
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +6 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +37 -18
- data/generated/google/apis/vault_v1/representations.rb +3 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +84 -47
- data/generated/google/apis/vision_v1/service.rb +68 -4
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/webmasters_v3/classes.rb +0 -166
- data/generated/google/apis/webmasters_v3/representations.rb +0 -93
- data/generated/google/apis/webmasters_v3/service.rb +0 -171
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
- data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
- data/google-api-client.gemspec +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -9
- data/.kokoro/common.cfg +0 -22
- data/.kokoro/windows.sh +0 -32
- data/generated/google/apis/logging_v2beta1.rb +0 -46
- data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
- data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
- data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -976,6 +976,18 @@ module Google
|
|
976
976
|
include Google::Apis::Core::JsonObjectSupport
|
977
977
|
end
|
978
978
|
|
979
|
+
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
|
+
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
983
|
+
end
|
984
|
+
|
985
|
+
class GlobalNetworkEndpointGroupsDetachEndpointsRequest
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
987
|
+
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
989
|
+
end
|
990
|
+
|
979
991
|
class GlobalSetLabelsRequest
|
980
992
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
981
993
|
|
@@ -1714,6 +1726,18 @@ module Google
|
|
1714
1726
|
include Google::Apis::Core::JsonObjectSupport
|
1715
1727
|
end
|
1716
1728
|
|
1729
|
+
class InstancesGetEffectiveFirewallsResponse
|
1730
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1731
|
+
|
1732
|
+
include Google::Apis::Core::JsonObjectSupport
|
1733
|
+
end
|
1734
|
+
|
1735
|
+
class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
|
1736
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1737
|
+
|
1738
|
+
include Google::Apis::Core::JsonObjectSupport
|
1739
|
+
end
|
1740
|
+
|
1717
1741
|
class InstancesRemoveResourcePoliciesRequest
|
1718
1742
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1719
1743
|
|
@@ -2062,6 +2086,12 @@ module Google
|
|
2062
2086
|
include Google::Apis::Core::JsonObjectSupport
|
2063
2087
|
end
|
2064
2088
|
|
2089
|
+
class LocalDisk
|
2090
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2091
|
+
|
2092
|
+
include Google::Apis::Core::JsonObjectSupport
|
2093
|
+
end
|
2094
|
+
|
2065
2095
|
class LogConfig
|
2066
2096
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2067
2097
|
|
@@ -2344,6 +2374,12 @@ module Google
|
|
2344
2374
|
include Google::Apis::Core::JsonObjectSupport
|
2345
2375
|
end
|
2346
2376
|
|
2377
|
+
class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
|
2378
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2379
|
+
|
2380
|
+
include Google::Apis::Core::JsonObjectSupport
|
2381
|
+
end
|
2382
|
+
|
2347
2383
|
class NetworkEndpointGroupsListNetworkEndpoints
|
2348
2384
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2349
2385
|
|
@@ -2428,6 +2464,18 @@ module Google
|
|
2428
2464
|
include Google::Apis::Core::JsonObjectSupport
|
2429
2465
|
end
|
2430
2466
|
|
2467
|
+
class NetworksGetEffectiveFirewallsResponse
|
2468
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2469
|
+
|
2470
|
+
include Google::Apis::Core::JsonObjectSupport
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
|
2474
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2475
|
+
|
2476
|
+
include Google::Apis::Core::JsonObjectSupport
|
2477
|
+
end
|
2478
|
+
|
2431
2479
|
class NetworksRemovePeeringRequest
|
2432
2480
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2433
2481
|
|
@@ -5279,6 +5327,7 @@ module Google
|
|
5279
5327
|
|
5280
5328
|
hash :labels, as: 'labels'
|
5281
5329
|
collection :replica_zones, as: 'replicaZones'
|
5330
|
+
collection :resource_policies, as: 'resourcePolicies'
|
5282
5331
|
property :source_image, as: 'sourceImage'
|
5283
5332
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
5284
5333
|
|
@@ -6116,6 +6165,8 @@ module Google
|
|
6116
6165
|
collection :resource_policies, as: 'resourcePolicies'
|
6117
6166
|
property :self_link, as: 'selfLink'
|
6118
6167
|
property :size_gb, :numeric_string => true, as: 'sizeGb'
|
6168
|
+
property :source_disk, as: 'sourceDisk'
|
6169
|
+
property :source_disk_id, as: 'sourceDiskId'
|
6119
6170
|
property :source_image, as: 'sourceImage'
|
6120
6171
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
6121
6172
|
|
@@ -6751,6 +6802,22 @@ module Google
|
|
6751
6802
|
end
|
6752
6803
|
end
|
6753
6804
|
|
6805
|
+
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
6806
|
+
# @private
|
6807
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6808
|
+
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
|
6809
|
+
|
6810
|
+
end
|
6811
|
+
end
|
6812
|
+
|
6813
|
+
class GlobalNetworkEndpointGroupsDetachEndpointsRequest
|
6814
|
+
# @private
|
6815
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
6816
|
+
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
|
6817
|
+
|
6818
|
+
end
|
6819
|
+
end
|
6820
|
+
|
6754
6821
|
class GlobalSetLabelsRequest
|
6755
6822
|
# @private
|
6756
6823
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8207,6 +8274,25 @@ module Google
|
|
8207
8274
|
end
|
8208
8275
|
end
|
8209
8276
|
|
8277
|
+
class InstancesGetEffectiveFirewallsResponse
|
8278
|
+
# @private
|
8279
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8280
|
+
collection :firewalls, as: 'firewalls', class: Google::Apis::ComputeAlpha::Firewall, decorator: Google::Apis::ComputeAlpha::Firewall::Representation
|
8281
|
+
|
8282
|
+
collection :organization_firewalls, as: 'organizationFirewalls', class: Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy, decorator: Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy::Representation
|
8283
|
+
|
8284
|
+
end
|
8285
|
+
end
|
8286
|
+
|
8287
|
+
class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
|
8288
|
+
# @private
|
8289
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8290
|
+
property :id, :numeric_string => true, as: 'id'
|
8291
|
+
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::SecurityPolicyRule, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
|
8292
|
+
|
8293
|
+
end
|
8294
|
+
end
|
8295
|
+
|
8210
8296
|
class InstancesRemoveResourcePoliciesRequest
|
8211
8297
|
# @private
|
8212
8298
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -8848,6 +8934,15 @@ module Google
|
|
8848
8934
|
end
|
8849
8935
|
end
|
8850
8936
|
|
8937
|
+
class LocalDisk
|
8938
|
+
# @private
|
8939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
8940
|
+
property :disk_count, as: 'diskCount'
|
8941
|
+
property :disk_size_gb, as: 'diskSizeGb'
|
8942
|
+
property :disk_type, as: 'diskType'
|
8943
|
+
end
|
8944
|
+
end
|
8945
|
+
|
8851
8946
|
class LogConfig
|
8852
8947
|
# @private
|
8853
8948
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9214,6 +9309,7 @@ module Google
|
|
9214
9309
|
property :id, :numeric_string => true, as: 'id'
|
9215
9310
|
property :kind, as: 'kind'
|
9216
9311
|
property :load_balancer_vm_encryption, as: 'loadBalancerVmEncryption'
|
9312
|
+
property :multicast_mode, as: 'multicastMode'
|
9217
9313
|
property :name, as: 'name'
|
9218
9314
|
collection :peerings, as: 'peerings', class: Google::Apis::ComputeAlpha::NetworkPeering, decorator: Google::Apis::ComputeAlpha::NetworkPeering::Representation
|
9219
9315
|
|
@@ -9352,10 +9448,20 @@ module Google
|
|
9352
9448
|
class NetworkEndpointGroupsListEndpointsRequest
|
9353
9449
|
# @private
|
9354
9450
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9451
|
+
collection :endpoint_filters, as: 'endpointFilters', class: Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter, decorator: Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter::Representation
|
9452
|
+
|
9355
9453
|
property :health_status, as: 'healthStatus'
|
9356
9454
|
end
|
9357
9455
|
end
|
9358
9456
|
|
9457
|
+
class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
|
9458
|
+
# @private
|
9459
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9460
|
+
property :network_endpoint, as: 'networkEndpoint', class: Google::Apis::ComputeAlpha::NetworkEndpoint, decorator: Google::Apis::ComputeAlpha::NetworkEndpoint::Representation
|
9461
|
+
|
9462
|
+
end
|
9463
|
+
end
|
9464
|
+
|
9359
9465
|
class NetworkEndpointGroupsListNetworkEndpoints
|
9360
9466
|
# @private
|
9361
9467
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9433,6 +9539,7 @@ module Google
|
|
9433
9539
|
collection :alias_ip_ranges, as: 'aliasIpRanges', class: Google::Apis::ComputeAlpha::AliasIpRange, decorator: Google::Apis::ComputeAlpha::AliasIpRange::Representation
|
9434
9540
|
|
9435
9541
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
9542
|
+
property :ipv6_address, as: 'ipv6Address'
|
9436
9543
|
property :kind, as: 'kind'
|
9437
9544
|
property :name, as: 'name'
|
9438
9545
|
property :network, as: 'network'
|
@@ -9510,6 +9617,25 @@ module Google
|
|
9510
9617
|
end
|
9511
9618
|
end
|
9512
9619
|
|
9620
|
+
class NetworksGetEffectiveFirewallsResponse
|
9621
|
+
# @private
|
9622
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9623
|
+
collection :firewalls, as: 'firewalls', class: Google::Apis::ComputeAlpha::Firewall, decorator: Google::Apis::ComputeAlpha::Firewall::Representation
|
9624
|
+
|
9625
|
+
collection :organization_firewalls, as: 'organizationFirewalls', class: Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy, decorator: Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy::Representation
|
9626
|
+
|
9627
|
+
end
|
9628
|
+
end
|
9629
|
+
|
9630
|
+
class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
|
9631
|
+
# @private
|
9632
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9633
|
+
property :id, :numeric_string => true, as: 'id'
|
9634
|
+
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::SecurityPolicyRule, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
|
9635
|
+
|
9636
|
+
end
|
9637
|
+
end
|
9638
|
+
|
9513
9639
|
class NetworksRemovePeeringRequest
|
9514
9640
|
# @private
|
9515
9641
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -9534,6 +9660,7 @@ module Google
|
|
9534
9660
|
property :description, as: 'description'
|
9535
9661
|
property :id, :numeric_string => true, as: 'id'
|
9536
9662
|
property :kind, as: 'kind'
|
9663
|
+
property :managed_holdback, as: 'managedHoldback'
|
9537
9664
|
property :name, as: 'name'
|
9538
9665
|
property :node_template, as: 'nodeTemplate'
|
9539
9666
|
property :self_link, as: 'selfLink'
|
@@ -9619,6 +9746,8 @@ module Google
|
|
9619
9746
|
class NodeGroupNode
|
9620
9747
|
# @private
|
9621
9748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9749
|
+
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
|
9750
|
+
|
9622
9751
|
collection :instances, as: 'instances'
|
9623
9752
|
property :name, as: 'name'
|
9624
9753
|
property :node_type, as: 'nodeType'
|
@@ -9722,6 +9851,8 @@ module Google
|
|
9722
9851
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9723
9852
|
property :creation_timestamp, as: 'creationTimestamp'
|
9724
9853
|
property :description, as: 'description'
|
9854
|
+
collection :disks, as: 'disks', class: Google::Apis::ComputeAlpha::LocalDisk, decorator: Google::Apis::ComputeAlpha::LocalDisk::Representation
|
9855
|
+
|
9725
9856
|
property :id, :numeric_string => true, as: 'id'
|
9726
9857
|
property :kind, as: 'kind'
|
9727
9858
|
property :name, as: 'name'
|
@@ -11044,6 +11175,7 @@ module Google
|
|
11044
11175
|
property :self_link_with_id, as: 'selfLinkWithId'
|
11045
11176
|
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy::Representation
|
11046
11177
|
|
11178
|
+
property :status, as: 'status'
|
11047
11179
|
property :vm_maintenance_policy, as: 'vmMaintenancePolicy', class: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy, decorator: Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy::Representation
|
11048
11180
|
|
11049
11181
|
end
|
@@ -11230,6 +11362,7 @@ module Google
|
|
11230
11362
|
property :next_hop_gateway, as: 'nextHopGateway'
|
11231
11363
|
property :next_hop_ilb, as: 'nextHopIlb'
|
11232
11364
|
property :next_hop_instance, as: 'nextHopInstance'
|
11365
|
+
property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment'
|
11233
11366
|
property :next_hop_ip, as: 'nextHopIp'
|
11234
11367
|
property :next_hop_network, as: 'nextHopNetwork'
|
11235
11368
|
property :next_hop_peering, as: 'nextHopPeering'
|
@@ -11628,6 +11761,7 @@ module Google
|
|
11628
11761
|
# @private
|
11629
11762
|
class Representation < Google::Apis::Core::JsonRepresentation
|
11630
11763
|
property :automatic_restart, as: 'automaticRestart'
|
11764
|
+
property :latency_tolerant, as: 'latencyTolerant'
|
11631
11765
|
property :min_node_cpus, as: 'minNodeCpus'
|
11632
11766
|
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeAlpha::SchedulingNodeAffinity, decorator: Google::Apis::ComputeAlpha::SchedulingNodeAffinity::Representation
|
11633
11767
|
|
@@ -4897,6 +4897,393 @@ module Google
|
|
4897
4897
|
execute_or_queue_command(command, &block)
|
4898
4898
|
end
|
4899
4899
|
|
4900
|
+
# Attach a network endpoint to the specified network endpoint group.
|
4901
|
+
# @param [String] project
|
4902
|
+
# Project ID for this request.
|
4903
|
+
# @param [String] network_endpoint_group
|
4904
|
+
# The name of the network endpoint group where you are attaching network
|
4905
|
+
# endpoints to. It should comply with RFC1035.
|
4906
|
+
# @param [Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsAttachEndpointsRequest] global_network_endpoint_groups_attach_endpoints_request_object
|
4907
|
+
# @param [String] request_id
|
4908
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
4909
|
+
# that if you must retry your request, the server will know to ignore the
|
4910
|
+
# request if it has already been completed.
|
4911
|
+
# For example, consider a situation where you make an initial request and the
|
4912
|
+
# request times out. If you make the request again with the same request ID, the
|
4913
|
+
# server can check if original operation with the same request ID was received,
|
4914
|
+
# and if so, will ignore the second request. This prevents clients from
|
4915
|
+
# accidentally creating duplicate commitments.
|
4916
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
4917
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
4918
|
+
# @param [String] fields
|
4919
|
+
# Selector specifying which fields to include in a partial response.
|
4920
|
+
# @param [String] quota_user
|
4921
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
4922
|
+
# characters.
|
4923
|
+
# @param [String] user_ip
|
4924
|
+
# Deprecated. Please use quotaUser instead.
|
4925
|
+
# @param [Google::Apis::RequestOptions] options
|
4926
|
+
# Request-specific options
|
4927
|
+
#
|
4928
|
+
# @yield [result, err] Result & error if block supplied
|
4929
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
4930
|
+
# @yieldparam err [StandardError] error object if request failed
|
4931
|
+
#
|
4932
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
4933
|
+
#
|
4934
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4935
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4936
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4937
|
+
def attach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_attach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4938
|
+
command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints', options)
|
4939
|
+
command.request_representation = Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsAttachEndpointsRequest::Representation
|
4940
|
+
command.request_object = global_network_endpoint_groups_attach_endpoints_request_object
|
4941
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
4942
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
4943
|
+
command.params['project'] = project unless project.nil?
|
4944
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
4945
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4946
|
+
command.query['fields'] = fields unless fields.nil?
|
4947
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4948
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
4949
|
+
execute_or_queue_command(command, &block)
|
4950
|
+
end
|
4951
|
+
|
4952
|
+
# Deletes the specified network endpoint group.Note that the NEG cannot be
|
4953
|
+
# deleted if there are backend services referencing it.
|
4954
|
+
# @param [String] project
|
4955
|
+
# Project ID for this request.
|
4956
|
+
# @param [String] network_endpoint_group
|
4957
|
+
# The name of the network endpoint group to delete. It should comply with
|
4958
|
+
# RFC1035.
|
4959
|
+
# @param [String] request_id
|
4960
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
4961
|
+
# that if you must retry your request, the server will know to ignore the
|
4962
|
+
# request if it has already been completed.
|
4963
|
+
# For example, consider a situation where you make an initial request and the
|
4964
|
+
# request times out. If you make the request again with the same request ID, the
|
4965
|
+
# server can check if original operation with the same request ID was received,
|
4966
|
+
# and if so, will ignore the second request. This prevents clients from
|
4967
|
+
# accidentally creating duplicate commitments.
|
4968
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
4969
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
4970
|
+
# @param [String] fields
|
4971
|
+
# Selector specifying which fields to include in a partial response.
|
4972
|
+
# @param [String] quota_user
|
4973
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
4974
|
+
# characters.
|
4975
|
+
# @param [String] user_ip
|
4976
|
+
# Deprecated. Please use quotaUser instead.
|
4977
|
+
# @param [Google::Apis::RequestOptions] options
|
4978
|
+
# Request-specific options
|
4979
|
+
#
|
4980
|
+
# @yield [result, err] Result & error if block supplied
|
4981
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
4982
|
+
# @yieldparam err [StandardError] error object if request failed
|
4983
|
+
#
|
4984
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
4985
|
+
#
|
4986
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
4987
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
4988
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
4989
|
+
def delete_global_network_endpoint_group(project, network_endpoint_group, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
4990
|
+
command = make_simple_command(:delete, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options)
|
4991
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
4992
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
4993
|
+
command.params['project'] = project unless project.nil?
|
4994
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
4995
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
4996
|
+
command.query['fields'] = fields unless fields.nil?
|
4997
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
4998
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
4999
|
+
execute_or_queue_command(command, &block)
|
5000
|
+
end
|
5001
|
+
|
5002
|
+
# Detach the network endpoint from the specified network endpoint group.
|
5003
|
+
# @param [String] project
|
5004
|
+
# Project ID for this request.
|
5005
|
+
# @param [String] network_endpoint_group
|
5006
|
+
# The name of the network endpoint group where you are removing network
|
5007
|
+
# endpoints. It should comply with RFC1035.
|
5008
|
+
# @param [Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsDetachEndpointsRequest] global_network_endpoint_groups_detach_endpoints_request_object
|
5009
|
+
# @param [String] request_id
|
5010
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
5011
|
+
# that if you must retry your request, the server will know to ignore the
|
5012
|
+
# request if it has already been completed.
|
5013
|
+
# For example, consider a situation where you make an initial request and the
|
5014
|
+
# request times out. If you make the request again with the same request ID, the
|
5015
|
+
# server can check if original operation with the same request ID was received,
|
5016
|
+
# and if so, will ignore the second request. This prevents clients from
|
5017
|
+
# accidentally creating duplicate commitments.
|
5018
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
5019
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
5020
|
+
# @param [String] fields
|
5021
|
+
# Selector specifying which fields to include in a partial response.
|
5022
|
+
# @param [String] quota_user
|
5023
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
5024
|
+
# characters.
|
5025
|
+
# @param [String] user_ip
|
5026
|
+
# Deprecated. Please use quotaUser instead.
|
5027
|
+
# @param [Google::Apis::RequestOptions] options
|
5028
|
+
# Request-specific options
|
5029
|
+
#
|
5030
|
+
# @yield [result, err] Result & error if block supplied
|
5031
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
5032
|
+
# @yieldparam err [StandardError] error object if request failed
|
5033
|
+
#
|
5034
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
5035
|
+
#
|
5036
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5037
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5038
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5039
|
+
def detach_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, global_network_endpoint_groups_detach_endpoints_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
5040
|
+
command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints', options)
|
5041
|
+
command.request_representation = Google::Apis::ComputeAlpha::GlobalNetworkEndpointGroupsDetachEndpointsRequest::Representation
|
5042
|
+
command.request_object = global_network_endpoint_groups_detach_endpoints_request_object
|
5043
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
5044
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
5045
|
+
command.params['project'] = project unless project.nil?
|
5046
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
5047
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
5048
|
+
command.query['fields'] = fields unless fields.nil?
|
5049
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5050
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
5051
|
+
execute_or_queue_command(command, &block)
|
5052
|
+
end
|
5053
|
+
|
5054
|
+
# Returns the specified network endpoint group. Gets a list of available network
|
5055
|
+
# endpoint groups by making a list() request.
|
5056
|
+
# @param [String] project
|
5057
|
+
# Project ID for this request.
|
5058
|
+
# @param [String] network_endpoint_group
|
5059
|
+
# The name of the network endpoint group. It should comply with RFC1035.
|
5060
|
+
# @param [String] fields
|
5061
|
+
# Selector specifying which fields to include in a partial response.
|
5062
|
+
# @param [String] quota_user
|
5063
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
5064
|
+
# characters.
|
5065
|
+
# @param [String] user_ip
|
5066
|
+
# Deprecated. Please use quotaUser instead.
|
5067
|
+
# @param [Google::Apis::RequestOptions] options
|
5068
|
+
# Request-specific options
|
5069
|
+
#
|
5070
|
+
# @yield [result, err] Result & error if block supplied
|
5071
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroup] parsed result object
|
5072
|
+
# @yieldparam err [StandardError] error object if request failed
|
5073
|
+
#
|
5074
|
+
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroup]
|
5075
|
+
#
|
5076
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5077
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5078
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5079
|
+
def get_global_network_endpoint_group(project, network_endpoint_group, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
5080
|
+
command = make_simple_command(:get, '{project}/global/networkEndpointGroups/{networkEndpointGroup}', options)
|
5081
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
|
5082
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroup
|
5083
|
+
command.params['project'] = project unless project.nil?
|
5084
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
5085
|
+
command.query['fields'] = fields unless fields.nil?
|
5086
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5087
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
5088
|
+
execute_or_queue_command(command, &block)
|
5089
|
+
end
|
5090
|
+
|
5091
|
+
# Creates a network endpoint group in the specified project using the parameters
|
5092
|
+
# that are included in the request.
|
5093
|
+
# @param [String] project
|
5094
|
+
# Project ID for this request.
|
5095
|
+
# @param [Google::Apis::ComputeAlpha::NetworkEndpointGroup] network_endpoint_group_object
|
5096
|
+
# @param [String] request_id
|
5097
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
5098
|
+
# that if you must retry your request, the server will know to ignore the
|
5099
|
+
# request if it has already been completed.
|
5100
|
+
# For example, consider a situation where you make an initial request and the
|
5101
|
+
# request times out. If you make the request again with the same request ID, the
|
5102
|
+
# server can check if original operation with the same request ID was received,
|
5103
|
+
# and if so, will ignore the second request. This prevents clients from
|
5104
|
+
# accidentally creating duplicate commitments.
|
5105
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
5106
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
5107
|
+
# @param [String] fields
|
5108
|
+
# Selector specifying which fields to include in a partial response.
|
5109
|
+
# @param [String] quota_user
|
5110
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
5111
|
+
# characters.
|
5112
|
+
# @param [String] user_ip
|
5113
|
+
# Deprecated. Please use quotaUser instead.
|
5114
|
+
# @param [Google::Apis::RequestOptions] options
|
5115
|
+
# Request-specific options
|
5116
|
+
#
|
5117
|
+
# @yield [result, err] Result & error if block supplied
|
5118
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
5119
|
+
# @yieldparam err [StandardError] error object if request failed
|
5120
|
+
#
|
5121
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
5122
|
+
#
|
5123
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5124
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5125
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5126
|
+
def insert_global_network_endpoint_group(project, network_endpoint_group_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
5127
|
+
command = make_simple_command(:post, '{project}/global/networkEndpointGroups', options)
|
5128
|
+
command.request_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroup::Representation
|
5129
|
+
command.request_object = network_endpoint_group_object
|
5130
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
5131
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
5132
|
+
command.params['project'] = project unless project.nil?
|
5133
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
5134
|
+
command.query['fields'] = fields unless fields.nil?
|
5135
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5136
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
5137
|
+
execute_or_queue_command(command, &block)
|
5138
|
+
end
|
5139
|
+
|
5140
|
+
# Retrieves the list of network endpoint groups that are located in the
|
5141
|
+
# specified project.
|
5142
|
+
# @param [String] project
|
5143
|
+
# Project ID for this request.
|
5144
|
+
# @param [String] filter
|
5145
|
+
# A filter expression that filters resources listed in the response. The
|
5146
|
+
# expression must specify the field name, a comparison operator, and the value
|
5147
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
5148
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
5149
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
5150
|
+
# instances named example-instance by specifying name != example-instance.
|
5151
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
5152
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
5153
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
5154
|
+
# on resource labels.
|
5155
|
+
# To filter on multiple expressions, provide each separate expression within
|
5156
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
5157
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
5158
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
5159
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
5160
|
+
# automaticRestart = true).
|
5161
|
+
# @param [Fixnum] max_results
|
5162
|
+
# The maximum number of results per page that should be returned. If the number
|
5163
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
5164
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
5165
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
5166
|
+
# @param [String] order_by
|
5167
|
+
# Sorts list results by a certain order. By default, results are returned in
|
5168
|
+
# alphanumerical order based on the resource name.
|
5169
|
+
# You can also sort results in descending order based on the creation timestamp
|
5170
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
5171
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
5172
|
+
# Use this to sort resources like operations so that the newest operation is
|
5173
|
+
# returned first.
|
5174
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
5175
|
+
# @param [String] page_token
|
5176
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
5177
|
+
# a previous list request to get the next page of results.
|
5178
|
+
# @param [String] fields
|
5179
|
+
# Selector specifying which fields to include in a partial response.
|
5180
|
+
# @param [String] quota_user
|
5181
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
5182
|
+
# characters.
|
5183
|
+
# @param [String] user_ip
|
5184
|
+
# Deprecated. Please use quotaUser instead.
|
5185
|
+
# @param [Google::Apis::RequestOptions] options
|
5186
|
+
# Request-specific options
|
5187
|
+
#
|
5188
|
+
# @yield [result, err] Result & error if block supplied
|
5189
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupList] parsed result object
|
5190
|
+
# @yieldparam err [StandardError] error object if request failed
|
5191
|
+
#
|
5192
|
+
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupList]
|
5193
|
+
#
|
5194
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5195
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5196
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5197
|
+
def list_global_network_endpoint_groups(project, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
5198
|
+
command = make_simple_command(:get, '{project}/global/networkEndpointGroups', options)
|
5199
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupList::Representation
|
5200
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupList
|
5201
|
+
command.params['project'] = project unless project.nil?
|
5202
|
+
command.query['filter'] = filter unless filter.nil?
|
5203
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
5204
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
5205
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5206
|
+
command.query['fields'] = fields unless fields.nil?
|
5207
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5208
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
5209
|
+
execute_or_queue_command(command, &block)
|
5210
|
+
end
|
5211
|
+
|
5212
|
+
# Lists the network endpoints in the specified network endpoint group.
|
5213
|
+
# @param [String] project
|
5214
|
+
# Project ID for this request.
|
5215
|
+
# @param [String] network_endpoint_group
|
5216
|
+
# The name of the network endpoint group from which you want to generate a list
|
5217
|
+
# of included network endpoints. It should comply with RFC1035.
|
5218
|
+
# @param [String] filter
|
5219
|
+
# A filter expression that filters resources listed in the response. The
|
5220
|
+
# expression must specify the field name, a comparison operator, and the value
|
5221
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
5222
|
+
# boolean. The comparison operator must be either =, !=, >, or <.
|
5223
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
5224
|
+
# instances named example-instance by specifying name != example-instance.
|
5225
|
+
# You can also filter nested fields. For example, you could specify scheduling.
|
5226
|
+
# automaticRestart = false to include instances only if they are not scheduled
|
5227
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
5228
|
+
# on resource labels.
|
5229
|
+
# To filter on multiple expressions, provide each separate expression within
|
5230
|
+
# parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "
|
5231
|
+
# Intel Skylake"). By default, each expression is an AND expression. However,
|
5232
|
+
# you can include AND and OR expressions explicitly. For example, (cpuPlatform =
|
5233
|
+
# "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.
|
5234
|
+
# automaticRestart = true).
|
5235
|
+
# @param [Fixnum] max_results
|
5236
|
+
# The maximum number of results per page that should be returned. If the number
|
5237
|
+
# of available results is larger than maxResults, Compute Engine returns a
|
5238
|
+
# nextPageToken that can be used to get the next page of results in subsequent
|
5239
|
+
# list requests. Acceptable values are 0 to 500, inclusive. (Default: 500)
|
5240
|
+
# @param [String] order_by
|
5241
|
+
# Sorts list results by a certain order. By default, results are returned in
|
5242
|
+
# alphanumerical order based on the resource name.
|
5243
|
+
# You can also sort results in descending order based on the creation timestamp
|
5244
|
+
# using orderBy="creationTimestamp desc". This sorts results based on the
|
5245
|
+
# creationTimestamp field in reverse chronological order (newest result first).
|
5246
|
+
# Use this to sort resources like operations so that the newest operation is
|
5247
|
+
# returned first.
|
5248
|
+
# Currently, only sorting by name or creationTimestamp desc is supported.
|
5249
|
+
# @param [String] page_token
|
5250
|
+
# Specifies a page token to use. Set pageToken to the nextPageToken returned by
|
5251
|
+
# a previous list request to get the next page of results.
|
5252
|
+
# @param [String] fields
|
5253
|
+
# Selector specifying which fields to include in a partial response.
|
5254
|
+
# @param [String] quota_user
|
5255
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
5256
|
+
# characters.
|
5257
|
+
# @param [String] user_ip
|
5258
|
+
# Deprecated. Please use quotaUser instead.
|
5259
|
+
# @param [Google::Apis::RequestOptions] options
|
5260
|
+
# Request-specific options
|
5261
|
+
#
|
5262
|
+
# @yield [result, err] Result & error if block supplied
|
5263
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints] parsed result object
|
5264
|
+
# @yieldparam err [StandardError] error object if request failed
|
5265
|
+
#
|
5266
|
+
# @return [Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints]
|
5267
|
+
#
|
5268
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
5269
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
5270
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
5271
|
+
def list_global_network_endpoint_group_network_endpoints(project, network_endpoint_group, filter: nil, max_results: nil, order_by: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
5272
|
+
command = make_simple_command(:post, '{project}/global/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints', options)
|
5273
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints::Representation
|
5274
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworkEndpointGroupsListNetworkEndpoints
|
5275
|
+
command.params['project'] = project unless project.nil?
|
5276
|
+
command.params['networkEndpointGroup'] = network_endpoint_group unless network_endpoint_group.nil?
|
5277
|
+
command.query['filter'] = filter unless filter.nil?
|
5278
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
5279
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
5280
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
5281
|
+
command.query['fields'] = fields unless fields.nil?
|
5282
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
5283
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
5284
|
+
execute_or_queue_command(command, &block)
|
5285
|
+
end
|
5286
|
+
|
4900
5287
|
# Retrieves an aggregated list of all operations.
|
4901
5288
|
# @param [String] project
|
4902
5289
|
# Project ID for this request.
|
@@ -9648,6 +10035,48 @@ module Google
|
|
9648
10035
|
execute_or_queue_command(command, &block)
|
9649
10036
|
end
|
9650
10037
|
|
10038
|
+
# Returns effective firewalls applied to an interface of the instance.
|
10039
|
+
# @param [String] project
|
10040
|
+
# Project ID for this request.
|
10041
|
+
# @param [String] zone
|
10042
|
+
# The name of the zone for this request.
|
10043
|
+
# @param [String] instance
|
10044
|
+
# Name of the instance scoping this request.
|
10045
|
+
# @param [String] network_interface
|
10046
|
+
# The name of the network interface to get the effective firewalls.
|
10047
|
+
# @param [String] fields
|
10048
|
+
# Selector specifying which fields to include in a partial response.
|
10049
|
+
# @param [String] quota_user
|
10050
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
10051
|
+
# characters.
|
10052
|
+
# @param [String] user_ip
|
10053
|
+
# Deprecated. Please use quotaUser instead.
|
10054
|
+
# @param [Google::Apis::RequestOptions] options
|
10055
|
+
# Request-specific options
|
10056
|
+
#
|
10057
|
+
# @yield [result, err] Result & error if block supplied
|
10058
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse] parsed result object
|
10059
|
+
# @yieldparam err [StandardError] error object if request failed
|
10060
|
+
#
|
10061
|
+
# @return [Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse]
|
10062
|
+
#
|
10063
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
10064
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
10065
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
10066
|
+
def get_instance_effective_firewalls(project, zone, instance, network_interface, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
10067
|
+
command = make_simple_command(:get, '{project}/zones/{zone}/instances/{instance}/getEffectiveFirewalls', options)
|
10068
|
+
command.response_representation = Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse::Representation
|
10069
|
+
command.response_class = Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponse
|
10070
|
+
command.params['project'] = project unless project.nil?
|
10071
|
+
command.params['zone'] = zone unless zone.nil?
|
10072
|
+
command.params['instance'] = instance unless instance.nil?
|
10073
|
+
command.query['networkInterface'] = network_interface unless network_interface.nil?
|
10074
|
+
command.query['fields'] = fields unless fields.nil?
|
10075
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
10076
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
10077
|
+
execute_or_queue_command(command, &block)
|
10078
|
+
end
|
10079
|
+
|
9651
10080
|
# Returns the specified guest attributes entry.
|
9652
10081
|
# @param [String] project
|
9653
10082
|
# Project ID for this request.
|
@@ -14319,6 +14748,42 @@ module Google
|
|
14319
14748
|
execute_or_queue_command(command, &block)
|
14320
14749
|
end
|
14321
14750
|
|
14751
|
+
# Returns the effective firewalls on a given network.
|
14752
|
+
# @param [String] project
|
14753
|
+
# Project ID for this request.
|
14754
|
+
# @param [String] network
|
14755
|
+
# Name of the network for this request.
|
14756
|
+
# @param [String] fields
|
14757
|
+
# Selector specifying which fields to include in a partial response.
|
14758
|
+
# @param [String] quota_user
|
14759
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
14760
|
+
# characters.
|
14761
|
+
# @param [String] user_ip
|
14762
|
+
# Deprecated. Please use quotaUser instead.
|
14763
|
+
# @param [Google::Apis::RequestOptions] options
|
14764
|
+
# Request-specific options
|
14765
|
+
#
|
14766
|
+
# @yield [result, err] Result & error if block supplied
|
14767
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse] parsed result object
|
14768
|
+
# @yieldparam err [StandardError] error object if request failed
|
14769
|
+
#
|
14770
|
+
# @return [Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse]
|
14771
|
+
#
|
14772
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
14773
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
14774
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
14775
|
+
def get_network_effective_firewalls(project, network, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
14776
|
+
command = make_simple_command(:get, '{project}/global/networks/{network}/getEffectiveFirewalls', options)
|
14777
|
+
command.response_representation = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse::Representation
|
14778
|
+
command.response_class = Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponse
|
14779
|
+
command.params['project'] = project unless project.nil?
|
14780
|
+
command.params['network'] = network unless network.nil?
|
14781
|
+
command.query['fields'] = fields unless fields.nil?
|
14782
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
14783
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
14784
|
+
execute_or_queue_command(command, &block)
|
14785
|
+
end
|
14786
|
+
|
14322
14787
|
# Creates a network in the specified project using the data included in the
|
14323
14788
|
# request.
|
14324
14789
|
# @param [String] project
|