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
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeBeta
|
27
27
|
VERSION = 'Beta'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190403'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1319,6 +1319,13 @@ module Google
|
|
1319
1319
|
# @return [Hash<String,String>]
|
1320
1320
|
attr_accessor :labels
|
1321
1321
|
|
1322
|
+
# Resource policies applied to this disk for automatic snapshot creations.
|
1323
|
+
# Specified using the full or partial URL. For instance template, specify only
|
1324
|
+
# the resource policy name.
|
1325
|
+
# Corresponds to the JSON property `resourcePolicies`
|
1326
|
+
# @return [Array<String>]
|
1327
|
+
attr_accessor :resource_policies
|
1328
|
+
|
1322
1329
|
# The source image to create this disk. When creating a new instance, one of
|
1323
1330
|
# initializeParams.sourceImage or disks.source is required except for local SSD.
|
1324
1331
|
# To create a disk with one of the public operating system images, specify the
|
@@ -1344,6 +1351,22 @@ module Google
|
|
1344
1351
|
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
1345
1352
|
attr_accessor :source_image_encryption_key
|
1346
1353
|
|
1354
|
+
# The source snapshot to create this disk. When creating a new instance, one of
|
1355
|
+
# initializeParams.sourceSnapshot or disks.source is required except for local
|
1356
|
+
# SSD.
|
1357
|
+
# To create a disk with a snapshot that you created, specify the snapshot name
|
1358
|
+
# in the following format:
|
1359
|
+
# global/snapshots/my-backup
|
1360
|
+
# If the source snapshot is deleted later, this field will not be set.
|
1361
|
+
# Corresponds to the JSON property `sourceSnapshot`
|
1362
|
+
# @return [String]
|
1363
|
+
attr_accessor :source_snapshot
|
1364
|
+
|
1365
|
+
# Represents a customer-supplied encryption key
|
1366
|
+
# Corresponds to the JSON property `sourceSnapshotEncryptionKey`
|
1367
|
+
# @return [Google::Apis::ComputeBeta::CustomerEncryptionKey]
|
1368
|
+
attr_accessor :source_snapshot_encryption_key
|
1369
|
+
|
1347
1370
|
def initialize(**args)
|
1348
1371
|
update!(**args)
|
1349
1372
|
end
|
@@ -1356,8 +1379,11 @@ module Google
|
|
1356
1379
|
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
1357
1380
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
1358
1381
|
@labels = args[:labels] if args.key?(:labels)
|
1382
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1359
1383
|
@source_image = args[:source_image] if args.key?(:source_image)
|
1360
1384
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
1385
|
+
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
1386
|
+
@source_snapshot_encryption_key = args[:source_snapshot_encryption_key] if args.key?(:source_snapshot_encryption_key)
|
1361
1387
|
end
|
1362
1388
|
end
|
1363
1389
|
|
@@ -3945,7 +3971,7 @@ module Google
|
|
3945
3971
|
# @return [String]
|
3946
3972
|
attr_accessor :replacement
|
3947
3973
|
|
3948
|
-
# The deprecation state of this resource. This can be ACTIVE DEPRECATED,
|
3974
|
+
# The deprecation state of this resource. This can be ACTIVE, DEPRECATED,
|
3949
3975
|
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
|
3950
3976
|
# image, can use ACTIVE. Operations which create a new resource using a
|
3951
3977
|
# DEPRECATED resource will return successfully, but with a warning indicating
|
@@ -6030,7 +6056,8 @@ module Google
|
|
6030
6056
|
# [Output Only] Absolute value of VM instances calculated based on the specific
|
6031
6057
|
# mode.
|
6032
6058
|
#
|
6033
|
-
# - If the value is fixed, then the
|
6059
|
+
# - If the value is fixed, then the calculated value is equal to the fixed value.
|
6060
|
+
#
|
6034
6061
|
# - If the value is a percent, then the calculated value is percent/100 *
|
6035
6062
|
# targetSize. For example, the calculated value of a 80% of a managed instance
|
6036
6063
|
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
|
@@ -7221,9 +7248,9 @@ module Google
|
|
7221
7248
|
# @return [Fixnum]
|
7222
7249
|
attr_accessor :timeout_sec
|
7223
7250
|
|
7224
|
-
# Specifies the type of the healthCheck, either TCP, SSL, HTTP or
|
7225
|
-
# specified, the default is TCP. Exactly one of the protocol-specific
|
7226
|
-
# check field must be specified, which must match type field.
|
7251
|
+
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
|
7252
|
+
# If not specified, the default is TCP. Exactly one of the protocol-specific
|
7253
|
+
# health check field must be specified, which must match type field.
|
7227
7254
|
# Corresponds to the JSON property `type`
|
7228
7255
|
# @return [String]
|
7229
7256
|
attr_accessor :type
|
@@ -9152,8 +9179,11 @@ module Google
|
|
9152
9179
|
# @return [Array<Google::Apis::ComputeBeta::NamedPort>]
|
9153
9180
|
attr_accessor :named_ports
|
9154
9181
|
|
9155
|
-
# [
|
9156
|
-
#
|
9182
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
9183
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
9184
|
+
# leave feedback if your workload relies on this field. [Output Only] The list
|
9185
|
+
# of instance actions and the number of instances in this managed instance group
|
9186
|
+
# that are pending for each of those actions.
|
9157
9187
|
# Corresponds to the JSON property `pendingActions`
|
9158
9188
|
# @return [Google::Apis::ComputeBeta::InstanceGroupManagerPendingActionsSummary]
|
9159
9189
|
attr_accessor :pending_actions
|
@@ -9204,8 +9234,8 @@ module Google
|
|
9204
9234
|
|
9205
9235
|
# Specifies the instance templates used by this managed instance group to create
|
9206
9236
|
# instances.
|
9207
|
-
# Each version is defined by an instanceTemplate. Every
|
9208
|
-
# most once per instance group. This field overrides the top-level
|
9237
|
+
# Each version is defined by an instanceTemplate and a name. Every version can
|
9238
|
+
# appear at most once per instance group. This field overrides the top-level
|
9209
9239
|
# instanceTemplate field. Read more about the relationships between these fields.
|
9210
9240
|
# Exactly one version must leave the targetSize field unset. That version will
|
9211
9241
|
# be applied to all remaining instances. For more information, read about canary
|
@@ -9611,26 +9641,34 @@ module Google
|
|
9611
9641
|
class InstanceGroupManagerPendingActionsSummary
|
9612
9642
|
include Google::Apis::Core::Hashable
|
9613
9643
|
|
9614
|
-
# [
|
9615
|
-
#
|
9644
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
9645
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
9646
|
+
# leave feedback if your workload relies on this field. [Output Only] The number
|
9647
|
+
# of instances in the managed instance group that are pending to be created.
|
9616
9648
|
# Corresponds to the JSON property `creating`
|
9617
9649
|
# @return [Fixnum]
|
9618
9650
|
attr_accessor :creating
|
9619
9651
|
|
9620
|
-
# [
|
9621
|
-
#
|
9652
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
9653
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
9654
|
+
# leave feedback if your workload relies on this field. [Output Only] The number
|
9655
|
+
# of instances in the managed instance group that are pending to be deleted.
|
9622
9656
|
# Corresponds to the JSON property `deleting`
|
9623
9657
|
# @return [Fixnum]
|
9624
9658
|
attr_accessor :deleting
|
9625
9659
|
|
9626
|
-
# [
|
9627
|
-
#
|
9660
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
9661
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
9662
|
+
# leave feedback if your workload relies on this field. [Output Only] The number
|
9663
|
+
# of instances in the managed instance group that are pending to be recreated.
|
9628
9664
|
# Corresponds to the JSON property `recreating`
|
9629
9665
|
# @return [Fixnum]
|
9630
9666
|
attr_accessor :recreating
|
9631
9667
|
|
9632
|
-
# [
|
9633
|
-
#
|
9668
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
9669
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
9670
|
+
# leave feedback if your workload relies on this field. [Output Only] The number
|
9671
|
+
# of instances in the managed instance group that are pending to be restarted.
|
9634
9672
|
# Corresponds to the JSON property `restarting`
|
9635
9673
|
# @return [Fixnum]
|
9636
9674
|
attr_accessor :restarting
|
@@ -9707,6 +9745,11 @@ module Google
|
|
9707
9745
|
class InstanceGroupManagerUpdatePolicy
|
9708
9746
|
include Google::Apis::Core::Hashable
|
9709
9747
|
|
9748
|
+
#
|
9749
|
+
# Corresponds to the JSON property `instanceRedistributionType`
|
9750
|
+
# @return [String]
|
9751
|
+
attr_accessor :instance_redistribution_type
|
9752
|
+
|
9710
9753
|
# Encapsulates numeric value that can be either absolute or relative.
|
9711
9754
|
# Corresponds to the JSON property `maxSurge`
|
9712
9755
|
# @return [Google::Apis::ComputeBeta::FixedOrPercent]
|
@@ -9744,6 +9787,7 @@ module Google
|
|
9744
9787
|
|
9745
9788
|
# Update properties of this object
|
9746
9789
|
def update!(**args)
|
9790
|
+
@instance_redistribution_type = args[:instance_redistribution_type] if args.key?(:instance_redistribution_type)
|
9747
9791
|
@max_surge = args[:max_surge] if args.key?(:max_surge)
|
9748
9792
|
@max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
|
9749
9793
|
@min_ready_sec = args[:min_ready_sec] if args.key?(:min_ready_sec)
|
@@ -9756,7 +9800,9 @@ module Google
|
|
9756
9800
|
class InstanceGroupManagerVersion
|
9757
9801
|
include Google::Apis::Core::Hashable
|
9758
9802
|
|
9759
|
-
#
|
9803
|
+
# The URL of the instance template that is specified for this managed instance
|
9804
|
+
# group. The group uses this template to create new instances in the managed
|
9805
|
+
# instance group until the `targetSize` for this version is reached.
|
9760
9806
|
# Corresponds to the JSON property `instanceTemplate`
|
9761
9807
|
# @return [String]
|
9762
9808
|
attr_accessor :instance_template
|
@@ -15164,7 +15210,10 @@ module Google
|
|
15164
15210
|
end
|
15165
15211
|
end
|
15166
15212
|
|
15167
|
-
# A NodeGroup resource.
|
15213
|
+
# A NodeGroup resource. To create a node group, you must first create a node
|
15214
|
+
# templates. To learn more about node groups and sole-tenant nodes, read the
|
15215
|
+
# Sole-tenant nodes documentation. (== resource_for beta.nodeGroups ==) (==
|
15216
|
+
# resource_for v1.nodeGroups ==)
|
15168
15217
|
class NodeGroup
|
15169
15218
|
include Google::Apis::Core::Hashable
|
15170
15219
|
|
@@ -15793,7 +15842,9 @@ module Google
|
|
15793
15842
|
end
|
15794
15843
|
end
|
15795
15844
|
|
15796
|
-
# A Node Template resource.
|
15845
|
+
# A Node Template resource. To learn more about node templates and sole-tenant
|
15846
|
+
# nodes, read the Sole-tenant nodes documentation. (== resource_for beta.
|
15847
|
+
# nodeTemplates ==) (== resource_for v1.nodeTemplates ==)
|
15797
15848
|
class NodeTemplate
|
15798
15849
|
include Google::Apis::Core::Hashable
|
15799
15850
|
|
@@ -19644,6 +19695,11 @@ module Google
|
|
19644
19695
|
# @return [Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy]
|
19645
19696
|
attr_accessor :snapshot_schedule_policy
|
19646
19697
|
|
19698
|
+
# [Output Only] The status of resource policy creation.
|
19699
|
+
# Corresponds to the JSON property `status`
|
19700
|
+
# @return [String]
|
19701
|
+
attr_accessor :status
|
19702
|
+
|
19647
19703
|
def initialize(**args)
|
19648
19704
|
update!(**args)
|
19649
19705
|
end
|
@@ -19658,6 +19714,7 @@ module Google
|
|
19658
19714
|
@region = args[:region] if args.key?(:region)
|
19659
19715
|
@self_link = args[:self_link] if args.key?(:self_link)
|
19660
19716
|
@snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
|
19717
|
+
@status = args[:status] if args.key?(:status)
|
19661
19718
|
end
|
19662
19719
|
end
|
19663
19720
|
|
@@ -20236,6 +20293,13 @@ module Google
|
|
20236
20293
|
# @return [String]
|
20237
20294
|
attr_accessor :next_hop_instance
|
20238
20295
|
|
20296
|
+
# [Output Only] The URL to an InterconnectAttachment which is the next hop for
|
20297
|
+
# the route. This field will only be populated for the dynamic routes generated
|
20298
|
+
# by Cloud Router with a linked interconnectAttachment.
|
20299
|
+
# Corresponds to the JSON property `nextHopInterconnectAttachment`
|
20300
|
+
# @return [String]
|
20301
|
+
attr_accessor :next_hop_interconnect_attachment
|
20302
|
+
|
20239
20303
|
# The network IP address of an instance that should handle matching packets.
|
20240
20304
|
# Only IPv4 is supported.
|
20241
20305
|
# Corresponds to the JSON property `nextHopIp`
|
@@ -20298,6 +20362,7 @@ module Google
|
|
20298
20362
|
@next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
|
20299
20363
|
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
|
20300
20364
|
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
|
20365
|
+
@next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
|
20301
20366
|
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
|
20302
20367
|
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
|
20303
20368
|
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
|
@@ -28594,6 +28659,7 @@ module Google
|
|
28594
28659
|
end
|
28595
28660
|
|
28596
28661
|
# A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
|
28662
|
+
# Next ID: 17
|
28597
28663
|
class Zone
|
28598
28664
|
include Google::Apis::Core::Hashable
|
28599
28665
|
|
@@ -4364,9 +4364,13 @@ module Google
|
|
4364
4364
|
collection :guest_os_features, as: 'guestOsFeatures', class: Google::Apis::ComputeBeta::GuestOsFeature, decorator: Google::Apis::ComputeBeta::GuestOsFeature::Representation
|
4365
4365
|
|
4366
4366
|
hash :labels, as: 'labels'
|
4367
|
+
collection :resource_policies, as: 'resourcePolicies'
|
4367
4368
|
property :source_image, as: 'sourceImage'
|
4368
4369
|
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
4369
4370
|
|
4371
|
+
property :source_snapshot, as: 'sourceSnapshot'
|
4372
|
+
property :source_snapshot_encryption_key, as: 'sourceSnapshotEncryptionKey', class: Google::Apis::ComputeBeta::CustomerEncryptionKey, decorator: Google::Apis::ComputeBeta::CustomerEncryptionKey::Representation
|
4373
|
+
|
4370
4374
|
end
|
4371
4375
|
end
|
4372
4376
|
|
@@ -6337,6 +6341,7 @@ module Google
|
|
6337
6341
|
class InstanceGroupManagerUpdatePolicy
|
6338
6342
|
# @private
|
6339
6343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
6344
|
+
property :instance_redistribution_type, as: 'instanceRedistributionType'
|
6340
6345
|
property :max_surge, as: 'maxSurge', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation
|
6341
6346
|
|
6342
6347
|
property :max_unavailable, as: 'maxUnavailable', class: Google::Apis::ComputeBeta::FixedOrPercent, decorator: Google::Apis::ComputeBeta::FixedOrPercent::Representation
|
@@ -8971,6 +8976,7 @@ module Google
|
|
8971
8976
|
property :self_link, as: 'selfLink'
|
8972
8977
|
property :snapshot_schedule_policy, as: 'snapshotSchedulePolicy', class: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy, decorator: Google::Apis::ComputeBeta::ResourcePolicySnapshotSchedulePolicy::Representation
|
8973
8978
|
|
8979
|
+
property :status, as: 'status'
|
8974
8980
|
end
|
8975
8981
|
end
|
8976
8982
|
|
@@ -9129,6 +9135,7 @@ module Google
|
|
9129
9135
|
property :next_hop_gateway, as: 'nextHopGateway'
|
9130
9136
|
property :next_hop_ilb, as: 'nextHopIlb'
|
9131
9137
|
property :next_hop_instance, as: 'nextHopInstance'
|
9138
|
+
property :next_hop_interconnect_attachment, as: 'nextHopInterconnectAttachment'
|
9132
9139
|
property :next_hop_ip, as: 'nextHopIp'
|
9133
9140
|
property :next_hop_network, as: 'nextHopNetwork'
|
9134
9141
|
property :next_hop_peering, as: 'nextHopPeering'
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20190403'
|
29
29
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -1985,6 +1985,15 @@ module Google
|
|
1985
1985
|
# @return [Fixnum]
|
1986
1986
|
attr_accessor :max_connections
|
1987
1987
|
|
1988
|
+
# The max number of simultaneous connections that a single backend network
|
1989
|
+
# endpoint can handle. This is used to calculate the capacity of the group. Can
|
1990
|
+
# be used in either CONNECTION or UTILIZATION balancing modes. For CONNECTION
|
1991
|
+
# mode, either maxConnections or maxConnectionsPerEndpoint must be set.
|
1992
|
+
# This cannot be used for internal load balancing.
|
1993
|
+
# Corresponds to the JSON property `maxConnectionsPerEndpoint`
|
1994
|
+
# @return [Fixnum]
|
1995
|
+
attr_accessor :max_connections_per_endpoint
|
1996
|
+
|
1988
1997
|
# The max number of simultaneous connections that a single backend instance can
|
1989
1998
|
# handle. This is used to calculate the capacity of the group. Can be used in
|
1990
1999
|
# either CONNECTION or UTILIZATION balancing modes. For CONNECTION mode, either
|
@@ -2002,6 +2011,15 @@ module Google
|
|
2002
2011
|
# @return [Fixnum]
|
2003
2012
|
attr_accessor :max_rate
|
2004
2013
|
|
2014
|
+
# The max requests per second (RPS) that a single backend network endpoint can
|
2015
|
+
# handle. This is used to calculate the capacity of the group. Can be used in
|
2016
|
+
# either balancing mode. For RATE mode, either maxRate or maxRatePerEndpoint
|
2017
|
+
# must be set.
|
2018
|
+
# This cannot be used for internal load balancing.
|
2019
|
+
# Corresponds to the JSON property `maxRatePerEndpoint`
|
2020
|
+
# @return [Float]
|
2021
|
+
attr_accessor :max_rate_per_endpoint
|
2022
|
+
|
2005
2023
|
# The max requests per second (RPS) that a single backend instance can handle.
|
2006
2024
|
# This is used to calculate the capacity of the group. Can be used in either
|
2007
2025
|
# balancing mode. For RATE mode, either maxRate or maxRatePerInstance must be
|
@@ -2029,8 +2047,10 @@ module Google
|
|
2029
2047
|
@description = args[:description] if args.key?(:description)
|
2030
2048
|
@group = args[:group] if args.key?(:group)
|
2031
2049
|
@max_connections = args[:max_connections] if args.key?(:max_connections)
|
2050
|
+
@max_connections_per_endpoint = args[:max_connections_per_endpoint] if args.key?(:max_connections_per_endpoint)
|
2032
2051
|
@max_connections_per_instance = args[:max_connections_per_instance] if args.key?(:max_connections_per_instance)
|
2033
2052
|
@max_rate = args[:max_rate] if args.key?(:max_rate)
|
2053
|
+
@max_rate_per_endpoint = args[:max_rate_per_endpoint] if args.key?(:max_rate_per_endpoint)
|
2034
2054
|
@max_rate_per_instance = args[:max_rate_per_instance] if args.key?(:max_rate_per_instance)
|
2035
2055
|
@max_utilization = args[:max_utilization] if args.key?(:max_utilization)
|
2036
2056
|
end
|
@@ -2795,6 +2815,25 @@ module Google
|
|
2795
2815
|
end
|
2796
2816
|
end
|
2797
2817
|
|
2818
|
+
#
|
2819
|
+
class BackendServiceReference
|
2820
|
+
include Google::Apis::Core::Hashable
|
2821
|
+
|
2822
|
+
#
|
2823
|
+
# Corresponds to the JSON property `backendService`
|
2824
|
+
# @return [String]
|
2825
|
+
attr_accessor :backend_service
|
2826
|
+
|
2827
|
+
def initialize(**args)
|
2828
|
+
update!(**args)
|
2829
|
+
end
|
2830
|
+
|
2831
|
+
# Update properties of this object
|
2832
|
+
def update!(**args)
|
2833
|
+
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
2834
|
+
end
|
2835
|
+
end
|
2836
|
+
|
2798
2837
|
#
|
2799
2838
|
class BackendServicesScopedList
|
2800
2839
|
include Google::Apis::Core::Hashable
|
@@ -3609,7 +3648,7 @@ module Google
|
|
3609
3648
|
# @return [String]
|
3610
3649
|
attr_accessor :replacement
|
3611
3650
|
|
3612
|
-
# The deprecation state of this resource. This can be ACTIVE DEPRECATED,
|
3651
|
+
# The deprecation state of this resource. This can be ACTIVE, DEPRECATED,
|
3613
3652
|
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
|
3614
3653
|
# image, can use ACTIVE. Operations which create a new resource using a
|
3615
3654
|
# DEPRECATED resource will return successfully, but with a warning indicating
|
@@ -5202,7 +5241,8 @@ module Google
|
|
5202
5241
|
# [Output Only] Absolute value of VM instances calculated based on the specific
|
5203
5242
|
# mode.
|
5204
5243
|
#
|
5205
|
-
# - If the value is fixed, then the
|
5244
|
+
# - If the value is fixed, then the calculated value is equal to the fixed value.
|
5245
|
+
#
|
5206
5246
|
# - If the value is a percent, then the calculated value is percent/100 *
|
5207
5247
|
# targetSize. For example, the calculated value of a 80% of a managed instance
|
5208
5248
|
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
|
@@ -5713,6 +5753,25 @@ module Google
|
|
5713
5753
|
end
|
5714
5754
|
end
|
5715
5755
|
|
5756
|
+
#
|
5757
|
+
class ForwardingRuleReference
|
5758
|
+
include Google::Apis::Core::Hashable
|
5759
|
+
|
5760
|
+
#
|
5761
|
+
# Corresponds to the JSON property `forwardingRule`
|
5762
|
+
# @return [String]
|
5763
|
+
attr_accessor :forwarding_rule
|
5764
|
+
|
5765
|
+
def initialize(**args)
|
5766
|
+
update!(**args)
|
5767
|
+
end
|
5768
|
+
|
5769
|
+
# Update properties of this object
|
5770
|
+
def update!(**args)
|
5771
|
+
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
5772
|
+
end
|
5773
|
+
end
|
5774
|
+
|
5716
5775
|
#
|
5717
5776
|
class ForwardingRulesScopedList
|
5718
5777
|
include Google::Apis::Core::Hashable
|
@@ -5934,6 +5993,26 @@ module Google
|
|
5934
5993
|
# @return [String]
|
5935
5994
|
attr_accessor :port_name
|
5936
5995
|
|
5996
|
+
# Specifies how port is selected for health checking, can be one of following
|
5997
|
+
# values:
|
5998
|
+
# USE_FIXED_PORT: The port number in
|
5999
|
+
# port
|
6000
|
+
# is used for health checking.
|
6001
|
+
# USE_NAMED_PORT: The
|
6002
|
+
# portName
|
6003
|
+
# is used for health checking.
|
6004
|
+
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
6005
|
+
# network endpoint is used for health checking. For other backends, the port or
|
6006
|
+
# named port specified in the Backend Service is used for health checking.
|
6007
|
+
# If not specified, HTTP2 health check follows behavior specified in
|
6008
|
+
# port
|
6009
|
+
# and
|
6010
|
+
# portName
|
6011
|
+
# fields.
|
6012
|
+
# Corresponds to the JSON property `portSpecification`
|
6013
|
+
# @return [String]
|
6014
|
+
attr_accessor :port_specification
|
6015
|
+
|
5937
6016
|
# Specifies the type of proxy header to append before sending data to the
|
5938
6017
|
# backend, either NONE or PROXY_V1. The default is NONE.
|
5939
6018
|
# Corresponds to the JSON property `proxyHeader`
|
@@ -5961,6 +6040,7 @@ module Google
|
|
5961
6040
|
@host = args[:host] if args.key?(:host)
|
5962
6041
|
@port = args[:port] if args.key?(:port)
|
5963
6042
|
@port_name = args[:port_name] if args.key?(:port_name)
|
6043
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
5964
6044
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
5965
6045
|
@request_path = args[:request_path] if args.key?(:request_path)
|
5966
6046
|
@response = args[:response] if args.key?(:response)
|
@@ -5990,6 +6070,26 @@ module Google
|
|
5990
6070
|
# @return [String]
|
5991
6071
|
attr_accessor :port_name
|
5992
6072
|
|
6073
|
+
# Specifies how port is selected for health checking, can be one of following
|
6074
|
+
# values:
|
6075
|
+
# USE_FIXED_PORT: The port number in
|
6076
|
+
# port
|
6077
|
+
# is used for health checking.
|
6078
|
+
# USE_NAMED_PORT: The
|
6079
|
+
# portName
|
6080
|
+
# is used for health checking.
|
6081
|
+
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
6082
|
+
# network endpoint is used for health checking. For other backends, the port or
|
6083
|
+
# named port specified in the Backend Service is used for health checking.
|
6084
|
+
# If not specified, HTTP health check follows behavior specified in
|
6085
|
+
# port
|
6086
|
+
# and
|
6087
|
+
# portName
|
6088
|
+
# fields.
|
6089
|
+
# Corresponds to the JSON property `portSpecification`
|
6090
|
+
# @return [String]
|
6091
|
+
attr_accessor :port_specification
|
6092
|
+
|
5993
6093
|
# Specifies the type of proxy header to append before sending data to the
|
5994
6094
|
# backend, either NONE or PROXY_V1. The default is NONE.
|
5995
6095
|
# Corresponds to the JSON property `proxyHeader`
|
@@ -6017,6 +6117,7 @@ module Google
|
|
6017
6117
|
@host = args[:host] if args.key?(:host)
|
6018
6118
|
@port = args[:port] if args.key?(:port)
|
6019
6119
|
@port_name = args[:port_name] if args.key?(:port_name)
|
6120
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
6020
6121
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
6021
6122
|
@request_path = args[:request_path] if args.key?(:request_path)
|
6022
6123
|
@response = args[:response] if args.key?(:response)
|
@@ -6046,6 +6147,26 @@ module Google
|
|
6046
6147
|
# @return [String]
|
6047
6148
|
attr_accessor :port_name
|
6048
6149
|
|
6150
|
+
# Specifies how port is selected for health checking, can be one of following
|
6151
|
+
# values:
|
6152
|
+
# USE_FIXED_PORT: The port number in
|
6153
|
+
# port
|
6154
|
+
# is used for health checking.
|
6155
|
+
# USE_NAMED_PORT: The
|
6156
|
+
# portName
|
6157
|
+
# is used for health checking.
|
6158
|
+
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
6159
|
+
# network endpoint is used for health checking. For other backends, the port or
|
6160
|
+
# named port specified in the Backend Service is used for health checking.
|
6161
|
+
# If not specified, HTTPS health check follows behavior specified in
|
6162
|
+
# port
|
6163
|
+
# and
|
6164
|
+
# portName
|
6165
|
+
# fields.
|
6166
|
+
# Corresponds to the JSON property `portSpecification`
|
6167
|
+
# @return [String]
|
6168
|
+
attr_accessor :port_specification
|
6169
|
+
|
6049
6170
|
# Specifies the type of proxy header to append before sending data to the
|
6050
6171
|
# backend, either NONE or PROXY_V1. The default is NONE.
|
6051
6172
|
# Corresponds to the JSON property `proxyHeader`
|
@@ -6073,6 +6194,7 @@ module Google
|
|
6073
6194
|
@host = args[:host] if args.key?(:host)
|
6074
6195
|
@port = args[:port] if args.key?(:port)
|
6075
6196
|
@port_name = args[:port_name] if args.key?(:port_name)
|
6197
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
6076
6198
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
6077
6199
|
@request_path = args[:request_path] if args.key?(:request_path)
|
6078
6200
|
@response = args[:response] if args.key?(:response)
|
@@ -6165,9 +6287,9 @@ module Google
|
|
6165
6287
|
# @return [Fixnum]
|
6166
6288
|
attr_accessor :timeout_sec
|
6167
6289
|
|
6168
|
-
# Specifies the type of the healthCheck, either TCP, SSL, HTTP or
|
6169
|
-
# specified, the default is TCP. Exactly one of the protocol-specific
|
6170
|
-
# check field must be specified, which must match type field.
|
6290
|
+
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
|
6291
|
+
# If not specified, the default is TCP. Exactly one of the protocol-specific
|
6292
|
+
# health check field must be specified, which must match type field.
|
6171
6293
|
# Corresponds to the JSON property `type`
|
6172
6294
|
# @return [String]
|
6173
6295
|
attr_accessor :type
|
@@ -6381,6 +6503,51 @@ module Google
|
|
6381
6503
|
end
|
6382
6504
|
end
|
6383
6505
|
|
6506
|
+
#
|
6507
|
+
class HealthStatusForNetworkEndpoint
|
6508
|
+
include Google::Apis::Core::Hashable
|
6509
|
+
|
6510
|
+
# URL of the backend service associated with the health state of the network
|
6511
|
+
# endpoint.
|
6512
|
+
# Corresponds to the JSON property `backendService`
|
6513
|
+
# @return [Google::Apis::ComputeV1::BackendServiceReference]
|
6514
|
+
attr_accessor :backend_service
|
6515
|
+
|
6516
|
+
# URL of the forwarding rule associated with the health state of the network
|
6517
|
+
# endpoint.
|
6518
|
+
# Corresponds to the JSON property `forwardingRule`
|
6519
|
+
# @return [Google::Apis::ComputeV1::ForwardingRuleReference]
|
6520
|
+
attr_accessor :forwarding_rule
|
6521
|
+
|
6522
|
+
# A full or valid partial URL to a health check. For example, the following are
|
6523
|
+
# valid URLs:
|
6524
|
+
# - https://www.googleapis.com/compute/beta/projects/project-id/global/
|
6525
|
+
# httpHealthChecks/health-check
|
6526
|
+
# - projects/project-id/global/httpHealthChecks/health-check
|
6527
|
+
# - global/httpHealthChecks/health-check
|
6528
|
+
# Corresponds to the JSON property `healthCheck`
|
6529
|
+
# @return [Google::Apis::ComputeV1::HealthCheckReference]
|
6530
|
+
attr_accessor :health_check
|
6531
|
+
|
6532
|
+
# Health state of the network endpoint determined based on the health checks
|
6533
|
+
# configured.
|
6534
|
+
# Corresponds to the JSON property `healthState`
|
6535
|
+
# @return [String]
|
6536
|
+
attr_accessor :health_state
|
6537
|
+
|
6538
|
+
def initialize(**args)
|
6539
|
+
update!(**args)
|
6540
|
+
end
|
6541
|
+
|
6542
|
+
# Update properties of this object
|
6543
|
+
def update!(**args)
|
6544
|
+
@backend_service = args[:backend_service] if args.key?(:backend_service)
|
6545
|
+
@forwarding_rule = args[:forwarding_rule] if args.key?(:forwarding_rule)
|
6546
|
+
@health_check = args[:health_check] if args.key?(:health_check)
|
6547
|
+
@health_state = args[:health_state] if args.key?(:health_state)
|
6548
|
+
end
|
6549
|
+
end
|
6550
|
+
|
6384
6551
|
# UrlMaps A host-matching rule for a URL. If matched, will use the named
|
6385
6552
|
# PathMatcher to select the BackendService.
|
6386
6553
|
class HostRule
|
@@ -8057,8 +8224,8 @@ module Google
|
|
8057
8224
|
|
8058
8225
|
# Specifies the instance templates used by this managed instance group to create
|
8059
8226
|
# instances.
|
8060
|
-
# Each version is defined by an instanceTemplate. Every
|
8061
|
-
# most once per instance group. This field overrides the top-level
|
8227
|
+
# Each version is defined by an instanceTemplate and a name. Every version can
|
8228
|
+
# appear at most once per instance group. This field overrides the top-level
|
8062
8229
|
# instanceTemplate field. Read more about the relationships between these fields.
|
8063
8230
|
# Exactly one version must leave the targetSize field unset. That version will
|
8064
8231
|
# be applied to all remaining instances. For more information, read about canary
|
@@ -8528,7 +8695,9 @@ module Google
|
|
8528
8695
|
class InstanceGroupManagerVersion
|
8529
8696
|
include Google::Apis::Core::Hashable
|
8530
8697
|
|
8531
|
-
#
|
8698
|
+
# The URL of the instance template that is specified for this managed instance
|
8699
|
+
# group. The group uses this template to create new instances in the managed
|
8700
|
+
# instance group until the `targetSize` for this version is reached.
|
8532
8701
|
# Corresponds to the JSON property `instanceTemplate`
|
8533
8702
|
# @return [String]
|
8534
8703
|
attr_accessor :instance_template
|
@@ -9426,6 +9595,11 @@ module Google
|
|
9426
9595
|
# @return [Array<Google::Apis::ComputeV1::ServiceAccount>]
|
9427
9596
|
attr_accessor :service_accounts
|
9428
9597
|
|
9598
|
+
# A set of Shielded Instance options.
|
9599
|
+
# Corresponds to the JSON property `shieldedInstanceConfig`
|
9600
|
+
# @return [Google::Apis::ComputeV1::ShieldedInstanceConfig]
|
9601
|
+
attr_accessor :shielded_instance_config
|
9602
|
+
|
9429
9603
|
# A set of instance tags.
|
9430
9604
|
# Corresponds to the JSON property `tags`
|
9431
9605
|
# @return [Google::Apis::ComputeV1::Tags]
|
@@ -9448,6 +9622,7 @@ module Google
|
|
9448
9622
|
@network_interfaces = args[:network_interfaces] if args.key?(:network_interfaces)
|
9449
9623
|
@scheduling = args[:scheduling] if args.key?(:scheduling)
|
9450
9624
|
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
9625
|
+
@shielded_instance_config = args[:shielded_instance_config] if args.key?(:shielded_instance_config)
|
9451
9626
|
@tags = args[:tags] if args.key?(:tags)
|
9452
9627
|
end
|
9453
9628
|
end
|
@@ -12653,99 +12828,144 @@ module Google
|
|
12653
12828
|
end
|
12654
12829
|
end
|
12655
12830
|
|
12656
|
-
#
|
12657
|
-
class
|
12831
|
+
# The network endpoint.
|
12832
|
+
class NetworkEndpoint
|
12658
12833
|
include Google::Apis::Core::Hashable
|
12659
12834
|
|
12660
|
-
#
|
12661
|
-
#
|
12662
|
-
#
|
12663
|
-
#
|
12664
|
-
#
|
12665
|
-
|
12835
|
+
# The name for a specific VM instance that the IP address belongs to. This is
|
12836
|
+
# required for network endpoints of type GCE_VM_IP_PORT. The instance must be in
|
12837
|
+
# the same zone of network endpoint group.
|
12838
|
+
# The name must be 1-63 characters long, and comply with RFC1035.
|
12839
|
+
# Corresponds to the JSON property `instance`
|
12840
|
+
# @return [String]
|
12841
|
+
attr_accessor :instance
|
12666
12842
|
|
12667
|
-
#
|
12668
|
-
#
|
12669
|
-
#
|
12670
|
-
#
|
12671
|
-
|
12843
|
+
# Optional IPv4 address of network endpoint. The IP address must belong to a VM
|
12844
|
+
# in GCE (either the primary IP or as part of an aliased IP range). If the IP
|
12845
|
+
# address is not specified, then the primary IP address for the VM instance in
|
12846
|
+
# the network that the network endpoint group belongs to will be used.
|
12847
|
+
# Corresponds to the JSON property `ipAddress`
|
12848
|
+
# @return [String]
|
12849
|
+
attr_accessor :ip_address
|
12672
12850
|
|
12673
|
-
#
|
12674
|
-
#
|
12675
|
-
#
|
12676
|
-
#
|
12677
|
-
#
|
12678
|
-
|
12851
|
+
# Optional port number of network endpoint. If not specified and the
|
12852
|
+
# NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the defaultPort for
|
12853
|
+
# the network endpoint group will be used.
|
12854
|
+
# Corresponds to the JSON property `port`
|
12855
|
+
# @return [Fixnum]
|
12856
|
+
attr_accessor :port
|
12857
|
+
|
12858
|
+
def initialize(**args)
|
12859
|
+
update!(**args)
|
12860
|
+
end
|
12861
|
+
|
12862
|
+
# Update properties of this object
|
12863
|
+
def update!(**args)
|
12864
|
+
@instance = args[:instance] if args.key?(:instance)
|
12865
|
+
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
12866
|
+
@port = args[:port] if args.key?(:port)
|
12867
|
+
end
|
12868
|
+
end
|
12869
|
+
|
12870
|
+
# Represents a collection of network endpoints.
|
12871
|
+
class NetworkEndpointGroup
|
12872
|
+
include Google::Apis::Core::Hashable
|
12873
|
+
|
12874
|
+
# [Output Only] Creation timestamp in RFC3339 text format.
|
12875
|
+
# Corresponds to the JSON property `creationTimestamp`
|
12679
12876
|
# @return [String]
|
12680
|
-
attr_accessor :
|
12877
|
+
attr_accessor :creation_timestamp
|
12681
12878
|
|
12682
|
-
#
|
12683
|
-
#
|
12879
|
+
# The default port used if the port number is not specified in the network
|
12880
|
+
# endpoint.
|
12881
|
+
# Corresponds to the JSON property `defaultPort`
|
12882
|
+
# @return [Fixnum]
|
12883
|
+
attr_accessor :default_port
|
12884
|
+
|
12885
|
+
# An optional description of this resource. Provide this property when you
|
12886
|
+
# create the resource.
|
12887
|
+
# Corresponds to the JSON property `description`
|
12888
|
+
# @return [String]
|
12889
|
+
attr_accessor :description
|
12890
|
+
|
12891
|
+
# [Output Only] The unique identifier for the resource. This identifier is
|
12892
|
+
# defined by the server.
|
12893
|
+
# Corresponds to the JSON property `id`
|
12894
|
+
# @return [Fixnum]
|
12895
|
+
attr_accessor :id
|
12896
|
+
|
12897
|
+
# [Output Only] Type of the resource. Always compute#networkEndpointGroup for
|
12898
|
+
# network endpoint group.
|
12684
12899
|
# Corresponds to the JSON property `kind`
|
12685
12900
|
# @return [String]
|
12686
12901
|
attr_accessor :kind
|
12687
12902
|
|
12688
|
-
#
|
12689
|
-
#
|
12903
|
+
# Name of the resource; provided by the client when the resource is created. The
|
12904
|
+
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
12905
|
+
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
12906
|
+
# z0-9]*[a-z0-9])?` which means the first character must be a lowercase letter,
|
12907
|
+
# and all following characters must be a dash, lowercase letter, or digit,
|
12908
|
+
# except the last character, which cannot be a dash.
|
12690
12909
|
# Corresponds to the JSON property `name`
|
12691
12910
|
# @return [String]
|
12692
12911
|
attr_accessor :name
|
12693
12912
|
|
12694
|
-
# URL of the network
|
12695
|
-
#
|
12696
|
-
# global/networks/default is used; if the network is not specified but the
|
12697
|
-
# subnetwork is specified, the network is inferred.
|
12698
|
-
# This field is optional when creating a firewall rule. If not specified when
|
12699
|
-
# creating a firewall rule, the default network global/networks/default is used.
|
12700
|
-
# If you specify this property, you can specify the network as a full or partial
|
12701
|
-
# URL. For example, the following are all valid URLs:
|
12702
|
-
# - https://www.googleapis.com/compute/v1/projects/project/global/networks/
|
12703
|
-
# network
|
12704
|
-
# - projects/project/global/networks/network
|
12705
|
-
# - global/networks/default
|
12913
|
+
# The URL of the network to which all network endpoints in the NEG belong. Uses "
|
12914
|
+
# default" project network if unspecified.
|
12706
12915
|
# Corresponds to the JSON property `network`
|
12707
12916
|
# @return [String]
|
12708
12917
|
attr_accessor :network
|
12709
12918
|
|
12710
|
-
#
|
12711
|
-
#
|
12712
|
-
# the
|
12713
|
-
# Corresponds to the JSON property `networkIP`
|
12919
|
+
# Type of network endpoints in this network endpoint group. Currently the only
|
12920
|
+
# supported value is GCE_VM_IP_PORT.
|
12921
|
+
# Corresponds to the JSON property `networkEndpointType`
|
12714
12922
|
# @return [String]
|
12715
|
-
attr_accessor :
|
12923
|
+
attr_accessor :network_endpoint_type
|
12716
12924
|
|
12717
|
-
#
|
12718
|
-
#
|
12719
|
-
#
|
12720
|
-
|
12721
|
-
|
12722
|
-
#
|
12723
|
-
#
|
12724
|
-
#
|
12725
|
-
|
12925
|
+
# [Output Only] Server-defined URL for the resource.
|
12926
|
+
# Corresponds to the JSON property `selfLink`
|
12927
|
+
# @return [String]
|
12928
|
+
attr_accessor :self_link
|
12929
|
+
|
12930
|
+
# [Output only] Number of network endpoints in the network endpoint group.
|
12931
|
+
# Corresponds to the JSON property `size`
|
12932
|
+
# @return [Fixnum]
|
12933
|
+
attr_accessor :size
|
12934
|
+
|
12935
|
+
# Optional URL of the subnetwork to which all network endpoints in the NEG
|
12936
|
+
# belong.
|
12726
12937
|
# Corresponds to the JSON property `subnetwork`
|
12727
12938
|
# @return [String]
|
12728
12939
|
attr_accessor :subnetwork
|
12729
12940
|
|
12941
|
+
# [Output Only] The URL of the zone where the network endpoint group is located.
|
12942
|
+
# Corresponds to the JSON property `zone`
|
12943
|
+
# @return [String]
|
12944
|
+
attr_accessor :zone
|
12945
|
+
|
12730
12946
|
def initialize(**args)
|
12731
12947
|
update!(**args)
|
12732
12948
|
end
|
12733
12949
|
|
12734
12950
|
# Update properties of this object
|
12735
12951
|
def update!(**args)
|
12736
|
-
@
|
12737
|
-
@
|
12738
|
-
@
|
12952
|
+
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
12953
|
+
@default_port = args[:default_port] if args.key?(:default_port)
|
12954
|
+
@description = args[:description] if args.key?(:description)
|
12955
|
+
@id = args[:id] if args.key?(:id)
|
12739
12956
|
@kind = args[:kind] if args.key?(:kind)
|
12740
12957
|
@name = args[:name] if args.key?(:name)
|
12741
12958
|
@network = args[:network] if args.key?(:network)
|
12742
|
-
@
|
12959
|
+
@network_endpoint_type = args[:network_endpoint_type] if args.key?(:network_endpoint_type)
|
12960
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
12961
|
+
@size = args[:size] if args.key?(:size)
|
12743
12962
|
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
12963
|
+
@zone = args[:zone] if args.key?(:zone)
|
12744
12964
|
end
|
12745
12965
|
end
|
12746
12966
|
|
12747
|
-
#
|
12748
|
-
class
|
12967
|
+
#
|
12968
|
+
class NetworkEndpointGroupAggregatedList
|
12749
12969
|
include Google::Apis::Core::Hashable
|
12750
12970
|
|
12751
12971
|
# [Output Only] Unique identifier for the resource; defined by the server.
|
@@ -12753,13 +12973,14 @@ module Google
|
|
12753
12973
|
# @return [String]
|
12754
12974
|
attr_accessor :id
|
12755
12975
|
|
12756
|
-
# A list of
|
12976
|
+
# A list of NetworkEndpointGroupsScopedList resources.
|
12757
12977
|
# Corresponds to the JSON property `items`
|
12758
|
-
# @return [
|
12978
|
+
# @return [Hash<String,Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList>]
|
12759
12979
|
attr_accessor :items
|
12760
12980
|
|
12761
|
-
# [Output Only]
|
12762
|
-
#
|
12981
|
+
# [Output Only] The resource type, which is always compute#
|
12982
|
+
# networkEndpointGroupAggregatedList for aggregated lists of network endpoint
|
12983
|
+
# groups.
|
12763
12984
|
# Corresponds to the JSON property `kind`
|
12764
12985
|
# @return [String]
|
12765
12986
|
attr_accessor :kind
|
@@ -12780,7 +13001,7 @@ module Google
|
|
12780
13001
|
|
12781
13002
|
# [Output Only] Informational warning message.
|
12782
13003
|
# Corresponds to the JSON property `warning`
|
12783
|
-
# @return [Google::Apis::ComputeV1::
|
13004
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning]
|
12784
13005
|
attr_accessor :warning
|
12785
13006
|
|
12786
13007
|
def initialize(**args)
|
@@ -12810,7 +13031,7 @@ module Google
|
|
12810
13031
|
# [Output Only] Metadata about this warning in key: value format. For example:
|
12811
13032
|
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
12812
13033
|
# Corresponds to the JSON property `data`
|
12813
|
-
# @return [Array<Google::Apis::ComputeV1::
|
13034
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpointGroupAggregatedList::Warning::Datum>]
|
12814
13035
|
attr_accessor :data
|
12815
13036
|
|
12816
13037
|
# [Output Only] A human-readable description of the warning code.
|
@@ -12862,43 +13083,659 @@ module Google
|
|
12862
13083
|
end
|
12863
13084
|
end
|
12864
13085
|
|
12865
|
-
#
|
12866
|
-
|
12867
|
-
# Google Compute Engine should automatically create routes for the peering.
|
12868
|
-
class NetworkPeering
|
13086
|
+
#
|
13087
|
+
class NetworkEndpointGroupList
|
12869
13088
|
include Google::Apis::Core::Hashable
|
12870
13089
|
|
12871
|
-
#
|
12872
|
-
#
|
12873
|
-
#
|
12874
|
-
|
12875
|
-
# is ACTIVE. Otherwise, user needs to create routes manually to route packets to
|
12876
|
-
# peer network.
|
12877
|
-
# Corresponds to the JSON property `autoCreateRoutes`
|
12878
|
-
# @return [Boolean]
|
12879
|
-
attr_accessor :auto_create_routes
|
12880
|
-
alias_method :auto_create_routes?, :auto_create_routes
|
13090
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
13091
|
+
# Corresponds to the JSON property `id`
|
13092
|
+
# @return [String]
|
13093
|
+
attr_accessor :id
|
12881
13094
|
|
12882
|
-
#
|
12883
|
-
#
|
12884
|
-
#
|
12885
|
-
|
12886
|
-
# Corresponds to the JSON property `exchangeSubnetRoutes`
|
12887
|
-
# @return [Boolean]
|
12888
|
-
attr_accessor :exchange_subnet_routes
|
12889
|
-
alias_method :exchange_subnet_routes?, :exchange_subnet_routes
|
13095
|
+
# A list of NetworkEndpointGroup resources.
|
13096
|
+
# Corresponds to the JSON property `items`
|
13097
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpointGroup>]
|
13098
|
+
attr_accessor :items
|
12890
13099
|
|
12891
|
-
#
|
12892
|
-
#
|
12893
|
-
#
|
12894
|
-
# first character must be a lowercase letter, and all the following characters
|
12895
|
-
# must be a dash, lowercase letter, or digit, except the last character, which
|
12896
|
-
# cannot be a dash.
|
12897
|
-
# Corresponds to the JSON property `name`
|
13100
|
+
# [Output Only] The resource type, which is always compute#
|
13101
|
+
# networkEndpointGroupList for network endpoint group lists.
|
13102
|
+
# Corresponds to the JSON property `kind`
|
12898
13103
|
# @return [String]
|
12899
|
-
attr_accessor :
|
13104
|
+
attr_accessor :kind
|
12900
13105
|
|
12901
|
-
#
|
13106
|
+
# [Output Only] This token allows you to get the next page of results for list
|
13107
|
+
# requests. If the number of results is larger than maxResults, use the
|
13108
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
13109
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
13110
|
+
# continue paging through the results.
|
13111
|
+
# Corresponds to the JSON property `nextPageToken`
|
13112
|
+
# @return [String]
|
13113
|
+
attr_accessor :next_page_token
|
13114
|
+
|
13115
|
+
# [Output Only] Server-defined URL for this resource.
|
13116
|
+
# Corresponds to the JSON property `selfLink`
|
13117
|
+
# @return [String]
|
13118
|
+
attr_accessor :self_link
|
13119
|
+
|
13120
|
+
# [Output Only] Informational warning message.
|
13121
|
+
# Corresponds to the JSON property `warning`
|
13122
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning]
|
13123
|
+
attr_accessor :warning
|
13124
|
+
|
13125
|
+
def initialize(**args)
|
13126
|
+
update!(**args)
|
13127
|
+
end
|
13128
|
+
|
13129
|
+
# Update properties of this object
|
13130
|
+
def update!(**args)
|
13131
|
+
@id = args[:id] if args.key?(:id)
|
13132
|
+
@items = args[:items] if args.key?(:items)
|
13133
|
+
@kind = args[:kind] if args.key?(:kind)
|
13134
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13135
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13136
|
+
@warning = args[:warning] if args.key?(:warning)
|
13137
|
+
end
|
13138
|
+
|
13139
|
+
# [Output Only] Informational warning message.
|
13140
|
+
class Warning
|
13141
|
+
include Google::Apis::Core::Hashable
|
13142
|
+
|
13143
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13144
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13145
|
+
# Corresponds to the JSON property `code`
|
13146
|
+
# @return [String]
|
13147
|
+
attr_accessor :code
|
13148
|
+
|
13149
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13150
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13151
|
+
# Corresponds to the JSON property `data`
|
13152
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpointGroupList::Warning::Datum>]
|
13153
|
+
attr_accessor :data
|
13154
|
+
|
13155
|
+
# [Output Only] A human-readable description of the warning code.
|
13156
|
+
# Corresponds to the JSON property `message`
|
13157
|
+
# @return [String]
|
13158
|
+
attr_accessor :message
|
13159
|
+
|
13160
|
+
def initialize(**args)
|
13161
|
+
update!(**args)
|
13162
|
+
end
|
13163
|
+
|
13164
|
+
# Update properties of this object
|
13165
|
+
def update!(**args)
|
13166
|
+
@code = args[:code] if args.key?(:code)
|
13167
|
+
@data = args[:data] if args.key?(:data)
|
13168
|
+
@message = args[:message] if args.key?(:message)
|
13169
|
+
end
|
13170
|
+
|
13171
|
+
#
|
13172
|
+
class Datum
|
13173
|
+
include Google::Apis::Core::Hashable
|
13174
|
+
|
13175
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13176
|
+
# For example, for warnings where there are no results in a list request for a
|
13177
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13178
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13179
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13180
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13181
|
+
# for IP forwarding).
|
13182
|
+
# Corresponds to the JSON property `key`
|
13183
|
+
# @return [String]
|
13184
|
+
attr_accessor :key
|
13185
|
+
|
13186
|
+
# [Output Only] A warning data value corresponding to the key.
|
13187
|
+
# Corresponds to the JSON property `value`
|
13188
|
+
# @return [String]
|
13189
|
+
attr_accessor :value
|
13190
|
+
|
13191
|
+
def initialize(**args)
|
13192
|
+
update!(**args)
|
13193
|
+
end
|
13194
|
+
|
13195
|
+
# Update properties of this object
|
13196
|
+
def update!(**args)
|
13197
|
+
@key = args[:key] if args.key?(:key)
|
13198
|
+
@value = args[:value] if args.key?(:value)
|
13199
|
+
end
|
13200
|
+
end
|
13201
|
+
end
|
13202
|
+
end
|
13203
|
+
|
13204
|
+
#
|
13205
|
+
class NetworkEndpointGroupsAttachEndpointsRequest
|
13206
|
+
include Google::Apis::Core::Hashable
|
13207
|
+
|
13208
|
+
# The list of network endpoints to be attached.
|
13209
|
+
# Corresponds to the JSON property `networkEndpoints`
|
13210
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpoint>]
|
13211
|
+
attr_accessor :network_endpoints
|
13212
|
+
|
13213
|
+
def initialize(**args)
|
13214
|
+
update!(**args)
|
13215
|
+
end
|
13216
|
+
|
13217
|
+
# Update properties of this object
|
13218
|
+
def update!(**args)
|
13219
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
13220
|
+
end
|
13221
|
+
end
|
13222
|
+
|
13223
|
+
#
|
13224
|
+
class NetworkEndpointGroupsDetachEndpointsRequest
|
13225
|
+
include Google::Apis::Core::Hashable
|
13226
|
+
|
13227
|
+
# The list of network endpoints to be detached.
|
13228
|
+
# Corresponds to the JSON property `networkEndpoints`
|
13229
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpoint>]
|
13230
|
+
attr_accessor :network_endpoints
|
13231
|
+
|
13232
|
+
def initialize(**args)
|
13233
|
+
update!(**args)
|
13234
|
+
end
|
13235
|
+
|
13236
|
+
# Update properties of this object
|
13237
|
+
def update!(**args)
|
13238
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
13239
|
+
end
|
13240
|
+
end
|
13241
|
+
|
13242
|
+
#
|
13243
|
+
class NetworkEndpointGroupsListEndpointsRequest
|
13244
|
+
include Google::Apis::Core::Hashable
|
13245
|
+
|
13246
|
+
# Optional query parameter for showing the health status of each network
|
13247
|
+
# endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter,
|
13248
|
+
# the health status of network endpoints will not be provided.
|
13249
|
+
# Corresponds to the JSON property `healthStatus`
|
13250
|
+
# @return [String]
|
13251
|
+
attr_accessor :health_status
|
13252
|
+
|
13253
|
+
def initialize(**args)
|
13254
|
+
update!(**args)
|
13255
|
+
end
|
13256
|
+
|
13257
|
+
# Update properties of this object
|
13258
|
+
def update!(**args)
|
13259
|
+
@health_status = args[:health_status] if args.key?(:health_status)
|
13260
|
+
end
|
13261
|
+
end
|
13262
|
+
|
13263
|
+
#
|
13264
|
+
class NetworkEndpointGroupsListNetworkEndpoints
|
13265
|
+
include Google::Apis::Core::Hashable
|
13266
|
+
|
13267
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
13268
|
+
# Corresponds to the JSON property `id`
|
13269
|
+
# @return [String]
|
13270
|
+
attr_accessor :id
|
13271
|
+
|
13272
|
+
# A list of NetworkEndpointWithHealthStatus resources.
|
13273
|
+
# Corresponds to the JSON property `items`
|
13274
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpointWithHealthStatus>]
|
13275
|
+
attr_accessor :items
|
13276
|
+
|
13277
|
+
# [Output Only] The resource type, which is always compute#
|
13278
|
+
# networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in
|
13279
|
+
# the specified network endpoint group.
|
13280
|
+
# Corresponds to the JSON property `kind`
|
13281
|
+
# @return [String]
|
13282
|
+
attr_accessor :kind
|
13283
|
+
|
13284
|
+
# [Output Only] This token allows you to get the next page of results for list
|
13285
|
+
# requests. If the number of results is larger than maxResults, use the
|
13286
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
13287
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
13288
|
+
# continue paging through the results.
|
13289
|
+
# Corresponds to the JSON property `nextPageToken`
|
13290
|
+
# @return [String]
|
13291
|
+
attr_accessor :next_page_token
|
13292
|
+
|
13293
|
+
# [Output Only] Informational warning message.
|
13294
|
+
# Corresponds to the JSON property `warning`
|
13295
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning]
|
13296
|
+
attr_accessor :warning
|
13297
|
+
|
13298
|
+
def initialize(**args)
|
13299
|
+
update!(**args)
|
13300
|
+
end
|
13301
|
+
|
13302
|
+
# Update properties of this object
|
13303
|
+
def update!(**args)
|
13304
|
+
@id = args[:id] if args.key?(:id)
|
13305
|
+
@items = args[:items] if args.key?(:items)
|
13306
|
+
@kind = args[:kind] if args.key?(:kind)
|
13307
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13308
|
+
@warning = args[:warning] if args.key?(:warning)
|
13309
|
+
end
|
13310
|
+
|
13311
|
+
# [Output Only] Informational warning message.
|
13312
|
+
class Warning
|
13313
|
+
include Google::Apis::Core::Hashable
|
13314
|
+
|
13315
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13316
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13317
|
+
# Corresponds to the JSON property `code`
|
13318
|
+
# @return [String]
|
13319
|
+
attr_accessor :code
|
13320
|
+
|
13321
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13322
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13323
|
+
# Corresponds to the JSON property `data`
|
13324
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpointGroupsListNetworkEndpoints::Warning::Datum>]
|
13325
|
+
attr_accessor :data
|
13326
|
+
|
13327
|
+
# [Output Only] A human-readable description of the warning code.
|
13328
|
+
# Corresponds to the JSON property `message`
|
13329
|
+
# @return [String]
|
13330
|
+
attr_accessor :message
|
13331
|
+
|
13332
|
+
def initialize(**args)
|
13333
|
+
update!(**args)
|
13334
|
+
end
|
13335
|
+
|
13336
|
+
# Update properties of this object
|
13337
|
+
def update!(**args)
|
13338
|
+
@code = args[:code] if args.key?(:code)
|
13339
|
+
@data = args[:data] if args.key?(:data)
|
13340
|
+
@message = args[:message] if args.key?(:message)
|
13341
|
+
end
|
13342
|
+
|
13343
|
+
#
|
13344
|
+
class Datum
|
13345
|
+
include Google::Apis::Core::Hashable
|
13346
|
+
|
13347
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13348
|
+
# For example, for warnings where there are no results in a list request for a
|
13349
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13350
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13351
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13352
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13353
|
+
# for IP forwarding).
|
13354
|
+
# Corresponds to the JSON property `key`
|
13355
|
+
# @return [String]
|
13356
|
+
attr_accessor :key
|
13357
|
+
|
13358
|
+
# [Output Only] A warning data value corresponding to the key.
|
13359
|
+
# Corresponds to the JSON property `value`
|
13360
|
+
# @return [String]
|
13361
|
+
attr_accessor :value
|
13362
|
+
|
13363
|
+
def initialize(**args)
|
13364
|
+
update!(**args)
|
13365
|
+
end
|
13366
|
+
|
13367
|
+
# Update properties of this object
|
13368
|
+
def update!(**args)
|
13369
|
+
@key = args[:key] if args.key?(:key)
|
13370
|
+
@value = args[:value] if args.key?(:value)
|
13371
|
+
end
|
13372
|
+
end
|
13373
|
+
end
|
13374
|
+
end
|
13375
|
+
|
13376
|
+
#
|
13377
|
+
class NetworkEndpointGroupsScopedList
|
13378
|
+
include Google::Apis::Core::Hashable
|
13379
|
+
|
13380
|
+
# [Output Only] The list of network endpoint groups that are contained in this
|
13381
|
+
# scope.
|
13382
|
+
# Corresponds to the JSON property `networkEndpointGroups`
|
13383
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpointGroup>]
|
13384
|
+
attr_accessor :network_endpoint_groups
|
13385
|
+
|
13386
|
+
# [Output Only] An informational warning that replaces the list of network
|
13387
|
+
# endpoint groups when the list is empty.
|
13388
|
+
# Corresponds to the JSON property `warning`
|
13389
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning]
|
13390
|
+
attr_accessor :warning
|
13391
|
+
|
13392
|
+
def initialize(**args)
|
13393
|
+
update!(**args)
|
13394
|
+
end
|
13395
|
+
|
13396
|
+
# Update properties of this object
|
13397
|
+
def update!(**args)
|
13398
|
+
@network_endpoint_groups = args[:network_endpoint_groups] if args.key?(:network_endpoint_groups)
|
13399
|
+
@warning = args[:warning] if args.key?(:warning)
|
13400
|
+
end
|
13401
|
+
|
13402
|
+
# [Output Only] An informational warning that replaces the list of network
|
13403
|
+
# endpoint groups when the list is empty.
|
13404
|
+
class Warning
|
13405
|
+
include Google::Apis::Core::Hashable
|
13406
|
+
|
13407
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13408
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13409
|
+
# Corresponds to the JSON property `code`
|
13410
|
+
# @return [String]
|
13411
|
+
attr_accessor :code
|
13412
|
+
|
13413
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13414
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13415
|
+
# Corresponds to the JSON property `data`
|
13416
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkEndpointGroupsScopedList::Warning::Datum>]
|
13417
|
+
attr_accessor :data
|
13418
|
+
|
13419
|
+
# [Output Only] A human-readable description of the warning code.
|
13420
|
+
# Corresponds to the JSON property `message`
|
13421
|
+
# @return [String]
|
13422
|
+
attr_accessor :message
|
13423
|
+
|
13424
|
+
def initialize(**args)
|
13425
|
+
update!(**args)
|
13426
|
+
end
|
13427
|
+
|
13428
|
+
# Update properties of this object
|
13429
|
+
def update!(**args)
|
13430
|
+
@code = args[:code] if args.key?(:code)
|
13431
|
+
@data = args[:data] if args.key?(:data)
|
13432
|
+
@message = args[:message] if args.key?(:message)
|
13433
|
+
end
|
13434
|
+
|
13435
|
+
#
|
13436
|
+
class Datum
|
13437
|
+
include Google::Apis::Core::Hashable
|
13438
|
+
|
13439
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13440
|
+
# For example, for warnings where there are no results in a list request for a
|
13441
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13442
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13443
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13444
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13445
|
+
# for IP forwarding).
|
13446
|
+
# Corresponds to the JSON property `key`
|
13447
|
+
# @return [String]
|
13448
|
+
attr_accessor :key
|
13449
|
+
|
13450
|
+
# [Output Only] A warning data value corresponding to the key.
|
13451
|
+
# Corresponds to the JSON property `value`
|
13452
|
+
# @return [String]
|
13453
|
+
attr_accessor :value
|
13454
|
+
|
13455
|
+
def initialize(**args)
|
13456
|
+
update!(**args)
|
13457
|
+
end
|
13458
|
+
|
13459
|
+
# Update properties of this object
|
13460
|
+
def update!(**args)
|
13461
|
+
@key = args[:key] if args.key?(:key)
|
13462
|
+
@value = args[:value] if args.key?(:value)
|
13463
|
+
end
|
13464
|
+
end
|
13465
|
+
end
|
13466
|
+
end
|
13467
|
+
|
13468
|
+
#
|
13469
|
+
class NetworkEndpointWithHealthStatus
|
13470
|
+
include Google::Apis::Core::Hashable
|
13471
|
+
|
13472
|
+
# [Output only] The health status of network endpoint;
|
13473
|
+
# Corresponds to the JSON property `healths`
|
13474
|
+
# @return [Array<Google::Apis::ComputeV1::HealthStatusForNetworkEndpoint>]
|
13475
|
+
attr_accessor :healths
|
13476
|
+
|
13477
|
+
# The network endpoint.
|
13478
|
+
# Corresponds to the JSON property `networkEndpoint`
|
13479
|
+
# @return [Google::Apis::ComputeV1::NetworkEndpoint]
|
13480
|
+
attr_accessor :network_endpoint
|
13481
|
+
|
13482
|
+
def initialize(**args)
|
13483
|
+
update!(**args)
|
13484
|
+
end
|
13485
|
+
|
13486
|
+
# Update properties of this object
|
13487
|
+
def update!(**args)
|
13488
|
+
@healths = args[:healths] if args.key?(:healths)
|
13489
|
+
@network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint)
|
13490
|
+
end
|
13491
|
+
end
|
13492
|
+
|
13493
|
+
# A network interface resource attached to an instance.
|
13494
|
+
class NetworkInterface
|
13495
|
+
include Google::Apis::Core::Hashable
|
13496
|
+
|
13497
|
+
# An array of configurations for this interface. Currently, only one access
|
13498
|
+
# config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified,
|
13499
|
+
# then this instance will have no external internet access.
|
13500
|
+
# Corresponds to the JSON property `accessConfigs`
|
13501
|
+
# @return [Array<Google::Apis::ComputeV1::AccessConfig>]
|
13502
|
+
attr_accessor :access_configs
|
13503
|
+
|
13504
|
+
# An array of alias IP ranges for this network interface. Can only be specified
|
13505
|
+
# for network interfaces on subnet-mode networks.
|
13506
|
+
# Corresponds to the JSON property `aliasIpRanges`
|
13507
|
+
# @return [Array<Google::Apis::ComputeV1::AliasIpRange>]
|
13508
|
+
attr_accessor :alias_ip_ranges
|
13509
|
+
|
13510
|
+
# Fingerprint hash of contents stored in this network interface. This field will
|
13511
|
+
# be ignored when inserting an Instance or adding a NetworkInterface. An up-to-
|
13512
|
+
# date fingerprint must be provided in order to update the NetworkInterface,
|
13513
|
+
# otherwise the request will fail with error 412 conditionNotMet.
|
13514
|
+
# Corresponds to the JSON property `fingerprint`
|
13515
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
13516
|
+
# @return [String]
|
13517
|
+
attr_accessor :fingerprint
|
13518
|
+
|
13519
|
+
# [Output Only] Type of the resource. Always compute#networkInterface for
|
13520
|
+
# network interfaces.
|
13521
|
+
# Corresponds to the JSON property `kind`
|
13522
|
+
# @return [String]
|
13523
|
+
attr_accessor :kind
|
13524
|
+
|
13525
|
+
# [Output Only] The name of the network interface, generated by the server. For
|
13526
|
+
# network devices, these are eth0, eth1, etc.
|
13527
|
+
# Corresponds to the JSON property `name`
|
13528
|
+
# @return [String]
|
13529
|
+
attr_accessor :name
|
13530
|
+
|
13531
|
+
# URL of the network resource for this instance. When creating an instance, if
|
13532
|
+
# neither the network nor the subnetwork is specified, the default network
|
13533
|
+
# global/networks/default is used; if the network is not specified but the
|
13534
|
+
# subnetwork is specified, the network is inferred.
|
13535
|
+
# This field is optional when creating a firewall rule. If not specified when
|
13536
|
+
# creating a firewall rule, the default network global/networks/default is used.
|
13537
|
+
# If you specify this property, you can specify the network as a full or partial
|
13538
|
+
# URL. For example, the following are all valid URLs:
|
13539
|
+
# - https://www.googleapis.com/compute/v1/projects/project/global/networks/
|
13540
|
+
# network
|
13541
|
+
# - projects/project/global/networks/network
|
13542
|
+
# - global/networks/default
|
13543
|
+
# Corresponds to the JSON property `network`
|
13544
|
+
# @return [String]
|
13545
|
+
attr_accessor :network
|
13546
|
+
|
13547
|
+
# An IPv4 internal network address to assign to the instance for this network
|
13548
|
+
# interface. If not specified by the user, an unused internal IP is assigned by
|
13549
|
+
# the system.
|
13550
|
+
# Corresponds to the JSON property `networkIP`
|
13551
|
+
# @return [String]
|
13552
|
+
attr_accessor :network_ip
|
13553
|
+
|
13554
|
+
# The URL of the Subnetwork resource for this instance. If the network resource
|
13555
|
+
# is in legacy mode, do not provide this property. If the network is in auto
|
13556
|
+
# subnet mode, providing the subnetwork is optional. If the network is in custom
|
13557
|
+
# subnet mode, then this field should be specified. If you specify this property,
|
13558
|
+
# you can specify the subnetwork as a full or partial URL. For example, the
|
13559
|
+
# following are all valid URLs:
|
13560
|
+
# - https://www.googleapis.com/compute/v1/projects/project/regions/region/
|
13561
|
+
# subnetworks/subnetwork
|
13562
|
+
# - regions/region/subnetworks/subnetwork
|
13563
|
+
# Corresponds to the JSON property `subnetwork`
|
13564
|
+
# @return [String]
|
13565
|
+
attr_accessor :subnetwork
|
13566
|
+
|
13567
|
+
def initialize(**args)
|
13568
|
+
update!(**args)
|
13569
|
+
end
|
13570
|
+
|
13571
|
+
# Update properties of this object
|
13572
|
+
def update!(**args)
|
13573
|
+
@access_configs = args[:access_configs] if args.key?(:access_configs)
|
13574
|
+
@alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
|
13575
|
+
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
13576
|
+
@kind = args[:kind] if args.key?(:kind)
|
13577
|
+
@name = args[:name] if args.key?(:name)
|
13578
|
+
@network = args[:network] if args.key?(:network)
|
13579
|
+
@network_ip = args[:network_ip] if args.key?(:network_ip)
|
13580
|
+
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
|
13581
|
+
end
|
13582
|
+
end
|
13583
|
+
|
13584
|
+
# Contains a list of networks.
|
13585
|
+
class NetworkList
|
13586
|
+
include Google::Apis::Core::Hashable
|
13587
|
+
|
13588
|
+
# [Output Only] Unique identifier for the resource; defined by the server.
|
13589
|
+
# Corresponds to the JSON property `id`
|
13590
|
+
# @return [String]
|
13591
|
+
attr_accessor :id
|
13592
|
+
|
13593
|
+
# A list of Network resources.
|
13594
|
+
# Corresponds to the JSON property `items`
|
13595
|
+
# @return [Array<Google::Apis::ComputeV1::Network>]
|
13596
|
+
attr_accessor :items
|
13597
|
+
|
13598
|
+
# [Output Only] Type of resource. Always compute#networkList for lists of
|
13599
|
+
# networks.
|
13600
|
+
# Corresponds to the JSON property `kind`
|
13601
|
+
# @return [String]
|
13602
|
+
attr_accessor :kind
|
13603
|
+
|
13604
|
+
# [Output Only] This token allows you to get the next page of results for list
|
13605
|
+
# requests. If the number of results is larger than maxResults, use the
|
13606
|
+
# nextPageToken as a value for the query parameter pageToken in the next list
|
13607
|
+
# request. Subsequent list requests will have their own nextPageToken to
|
13608
|
+
# continue paging through the results.
|
13609
|
+
# Corresponds to the JSON property `nextPageToken`
|
13610
|
+
# @return [String]
|
13611
|
+
attr_accessor :next_page_token
|
13612
|
+
|
13613
|
+
# [Output Only] Server-defined URL for this resource.
|
13614
|
+
# Corresponds to the JSON property `selfLink`
|
13615
|
+
# @return [String]
|
13616
|
+
attr_accessor :self_link
|
13617
|
+
|
13618
|
+
# [Output Only] Informational warning message.
|
13619
|
+
# Corresponds to the JSON property `warning`
|
13620
|
+
# @return [Google::Apis::ComputeV1::NetworkList::Warning]
|
13621
|
+
attr_accessor :warning
|
13622
|
+
|
13623
|
+
def initialize(**args)
|
13624
|
+
update!(**args)
|
13625
|
+
end
|
13626
|
+
|
13627
|
+
# Update properties of this object
|
13628
|
+
def update!(**args)
|
13629
|
+
@id = args[:id] if args.key?(:id)
|
13630
|
+
@items = args[:items] if args.key?(:items)
|
13631
|
+
@kind = args[:kind] if args.key?(:kind)
|
13632
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
13633
|
+
@self_link = args[:self_link] if args.key?(:self_link)
|
13634
|
+
@warning = args[:warning] if args.key?(:warning)
|
13635
|
+
end
|
13636
|
+
|
13637
|
+
# [Output Only] Informational warning message.
|
13638
|
+
class Warning
|
13639
|
+
include Google::Apis::Core::Hashable
|
13640
|
+
|
13641
|
+
# [Output Only] A warning code, if applicable. For example, Compute Engine
|
13642
|
+
# returns NO_RESULTS_ON_PAGE if there are no results in the response.
|
13643
|
+
# Corresponds to the JSON property `code`
|
13644
|
+
# @return [String]
|
13645
|
+
attr_accessor :code
|
13646
|
+
|
13647
|
+
# [Output Only] Metadata about this warning in key: value format. For example:
|
13648
|
+
# "data": [ ` "key": "scope", "value": "zones/us-east1-d" `
|
13649
|
+
# Corresponds to the JSON property `data`
|
13650
|
+
# @return [Array<Google::Apis::ComputeV1::NetworkList::Warning::Datum>]
|
13651
|
+
attr_accessor :data
|
13652
|
+
|
13653
|
+
# [Output Only] A human-readable description of the warning code.
|
13654
|
+
# Corresponds to the JSON property `message`
|
13655
|
+
# @return [String]
|
13656
|
+
attr_accessor :message
|
13657
|
+
|
13658
|
+
def initialize(**args)
|
13659
|
+
update!(**args)
|
13660
|
+
end
|
13661
|
+
|
13662
|
+
# Update properties of this object
|
13663
|
+
def update!(**args)
|
13664
|
+
@code = args[:code] if args.key?(:code)
|
13665
|
+
@data = args[:data] if args.key?(:data)
|
13666
|
+
@message = args[:message] if args.key?(:message)
|
13667
|
+
end
|
13668
|
+
|
13669
|
+
#
|
13670
|
+
class Datum
|
13671
|
+
include Google::Apis::Core::Hashable
|
13672
|
+
|
13673
|
+
# [Output Only] A key that provides more detail on the warning being returned.
|
13674
|
+
# For example, for warnings where there are no results in a list request for a
|
13675
|
+
# particular zone, this key might be scope and the key value might be the zone
|
13676
|
+
# name. Other examples might be a key indicating a deprecated resource and a
|
13677
|
+
# suggested replacement, or a warning about invalid network settings (for
|
13678
|
+
# example, if an instance attempts to perform IP forwarding but is not enabled
|
13679
|
+
# for IP forwarding).
|
13680
|
+
# Corresponds to the JSON property `key`
|
13681
|
+
# @return [String]
|
13682
|
+
attr_accessor :key
|
13683
|
+
|
13684
|
+
# [Output Only] A warning data value corresponding to the key.
|
13685
|
+
# Corresponds to the JSON property `value`
|
13686
|
+
# @return [String]
|
13687
|
+
attr_accessor :value
|
13688
|
+
|
13689
|
+
def initialize(**args)
|
13690
|
+
update!(**args)
|
13691
|
+
end
|
13692
|
+
|
13693
|
+
# Update properties of this object
|
13694
|
+
def update!(**args)
|
13695
|
+
@key = args[:key] if args.key?(:key)
|
13696
|
+
@value = args[:value] if args.key?(:value)
|
13697
|
+
end
|
13698
|
+
end
|
13699
|
+
end
|
13700
|
+
end
|
13701
|
+
|
13702
|
+
# A network peering attached to a network resource. The message includes the
|
13703
|
+
# peering name, peer network, peering state, and a flag indicating whether
|
13704
|
+
# Google Compute Engine should automatically create routes for the peering.
|
13705
|
+
class NetworkPeering
|
13706
|
+
include Google::Apis::Core::Hashable
|
13707
|
+
|
13708
|
+
# This field will be deprecated soon. Prefer using exchange_subnet_routes
|
13709
|
+
# instead. Indicates whether full mesh connectivity is created and managed
|
13710
|
+
# automatically. When it is set to true, Google Compute Engine will
|
13711
|
+
# automatically create and manage the routes between two networks when the state
|
13712
|
+
# is ACTIVE. Otherwise, user needs to create routes manually to route packets to
|
13713
|
+
# peer network.
|
13714
|
+
# Corresponds to the JSON property `autoCreateRoutes`
|
13715
|
+
# @return [Boolean]
|
13716
|
+
attr_accessor :auto_create_routes
|
13717
|
+
alias_method :auto_create_routes?, :auto_create_routes
|
13718
|
+
|
13719
|
+
# Whether full mesh connectivity is created and managed automatically. When it
|
13720
|
+
# is set to true, Google Compute Engine will automatically create and manage the
|
13721
|
+
# routes between two networks when the peering state is ACTIVE. Otherwise, user
|
13722
|
+
# needs to create routes manually to route packets to peer network.
|
13723
|
+
# Corresponds to the JSON property `exchangeSubnetRoutes`
|
13724
|
+
# @return [Boolean]
|
13725
|
+
attr_accessor :exchange_subnet_routes
|
13726
|
+
alias_method :exchange_subnet_routes?, :exchange_subnet_routes
|
13727
|
+
|
13728
|
+
# Name of this peering. Provided by the client when the peering is created. The
|
13729
|
+
# name must comply with RFC1035. Specifically, the name must be 1-63 characters
|
13730
|
+
# long and match regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the
|
13731
|
+
# first character must be a lowercase letter, and all the following characters
|
13732
|
+
# must be a dash, lowercase letter, or digit, except the last character, which
|
13733
|
+
# cannot be a dash.
|
13734
|
+
# Corresponds to the JSON property `name`
|
13735
|
+
# @return [String]
|
13736
|
+
attr_accessor :name
|
13737
|
+
|
13738
|
+
# The URL of the peer network. It can be either full URL or partial URL. The
|
12902
13739
|
# peer network may belong to a different project. If the partial URL does not
|
12903
13740
|
# contain project, it is assumed that the peer network is in the same project as
|
12904
13741
|
# the current network.
|
@@ -13019,7 +13856,10 @@ module Google
|
|
13019
13856
|
end
|
13020
13857
|
end
|
13021
13858
|
|
13022
|
-
# A NodeGroup resource.
|
13859
|
+
# A NodeGroup resource. To create a node group, you must first create a node
|
13860
|
+
# templates. To learn more about node groups and sole-tenant nodes, read the
|
13861
|
+
# Sole-tenant nodes documentation. (== resource_for beta.nodeGroups ==) (==
|
13862
|
+
# resource_for v1.nodeGroups ==)
|
13023
13863
|
class NodeGroup
|
13024
13864
|
include Google::Apis::Core::Hashable
|
13025
13865
|
|
@@ -13642,7 +14482,9 @@ module Google
|
|
13642
14482
|
end
|
13643
14483
|
end
|
13644
14484
|
|
13645
|
-
# A Node Template resource.
|
14485
|
+
# A Node Template resource. To learn more about node templates and sole-tenant
|
14486
|
+
# nodes, read the Sole-tenant nodes documentation. (== resource_for beta.
|
14487
|
+
# nodeTemplates ==) (== resource_for v1.nodeTemplates ==)
|
13646
14488
|
class NodeTemplate
|
13647
14489
|
include Google::Apis::Core::Hashable
|
13648
14490
|
|
@@ -18112,6 +18954,26 @@ module Google
|
|
18112
18954
|
# @return [String]
|
18113
18955
|
attr_accessor :port_name
|
18114
18956
|
|
18957
|
+
# Specifies how port is selected for health checking, can be one of following
|
18958
|
+
# values:
|
18959
|
+
# USE_FIXED_PORT: The port number in
|
18960
|
+
# port
|
18961
|
+
# is used for health checking.
|
18962
|
+
# USE_NAMED_PORT: The
|
18963
|
+
# portName
|
18964
|
+
# is used for health checking.
|
18965
|
+
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
18966
|
+
# network endpoint is used for health checking. For other backends, the port or
|
18967
|
+
# named port specified in the Backend Service is used for health checking.
|
18968
|
+
# If not specified, SSL health check follows behavior specified in
|
18969
|
+
# port
|
18970
|
+
# and
|
18971
|
+
# portName
|
18972
|
+
# fields.
|
18973
|
+
# Corresponds to the JSON property `portSpecification`
|
18974
|
+
# @return [String]
|
18975
|
+
attr_accessor :port_specification
|
18976
|
+
|
18115
18977
|
# Specifies the type of proxy header to append before sending data to the
|
18116
18978
|
# backend, either NONE or PROXY_V1. The default is NONE.
|
18117
18979
|
# Corresponds to the JSON property `proxyHeader`
|
@@ -18141,6 +19003,7 @@ module Google
|
|
18141
19003
|
def update!(**args)
|
18142
19004
|
@port = args[:port] if args.key?(:port)
|
18143
19005
|
@port_name = args[:port_name] if args.key?(:port_name)
|
19006
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
18144
19007
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
18145
19008
|
@request = args[:request] if args.key?(:request)
|
18146
19009
|
@response = args[:response] if args.key?(:response)
|
@@ -18887,6 +19750,11 @@ module Google
|
|
18887
19750
|
# @return [String]
|
18888
19751
|
attr_accessor :storage_bytes_status
|
18889
19752
|
|
19753
|
+
# GCS bucket storage location of the snapshot (regional or multi-regional).
|
19754
|
+
# Corresponds to the JSON property `storageLocations`
|
19755
|
+
# @return [Array<String>]
|
19756
|
+
attr_accessor :storage_locations
|
19757
|
+
|
18890
19758
|
def initialize(**args)
|
18891
19759
|
update!(**args)
|
18892
19760
|
end
|
@@ -18911,6 +19779,7 @@ module Google
|
|
18911
19779
|
@status = args[:status] if args.key?(:status)
|
18912
19780
|
@storage_bytes = args[:storage_bytes] if args.key?(:storage_bytes)
|
18913
19781
|
@storage_bytes_status = args[:storage_bytes_status] if args.key?(:storage_bytes_status)
|
19782
|
+
@storage_locations = args[:storage_locations] if args.key?(:storage_locations)
|
18914
19783
|
end
|
18915
19784
|
end
|
18916
19785
|
|
@@ -20118,6 +20987,26 @@ module Google
|
|
20118
20987
|
# @return [String]
|
20119
20988
|
attr_accessor :port_name
|
20120
20989
|
|
20990
|
+
# Specifies how port is selected for health checking, can be one of following
|
20991
|
+
# values:
|
20992
|
+
# USE_FIXED_PORT: The port number in
|
20993
|
+
# port
|
20994
|
+
# is used for health checking.
|
20995
|
+
# USE_NAMED_PORT: The
|
20996
|
+
# portName
|
20997
|
+
# is used for health checking.
|
20998
|
+
# USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each
|
20999
|
+
# network endpoint is used for health checking. For other backends, the port or
|
21000
|
+
# named port specified in the Backend Service is used for health checking.
|
21001
|
+
# If not specified, TCP health check follows behavior specified in
|
21002
|
+
# port
|
21003
|
+
# and
|
21004
|
+
# portName
|
21005
|
+
# fields.
|
21006
|
+
# Corresponds to the JSON property `portSpecification`
|
21007
|
+
# @return [String]
|
21008
|
+
attr_accessor :port_specification
|
21009
|
+
|
20121
21010
|
# Specifies the type of proxy header to append before sending data to the
|
20122
21011
|
# backend, either NONE or PROXY_V1. The default is NONE.
|
20123
21012
|
# Corresponds to the JSON property `proxyHeader`
|
@@ -20147,6 +21036,7 @@ module Google
|
|
20147
21036
|
def update!(**args)
|
20148
21037
|
@port = args[:port] if args.key?(:port)
|
20149
21038
|
@port_name = args[:port_name] if args.key?(:port_name)
|
21039
|
+
@port_specification = args[:port_specification] if args.key?(:port_specification)
|
20150
21040
|
@proxy_header = args[:proxy_header] if args.key?(:proxy_header)
|
20151
21041
|
@request = args[:request] if args.key?(:request)
|
20152
21042
|
@response = args[:response] if args.key?(:response)
|
@@ -23979,6 +24869,7 @@ module Google
|
|
23979
24869
|
end
|
23980
24870
|
|
23981
24871
|
# A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
|
24872
|
+
# Next ID: 17
|
23982
24873
|
class Zone
|
23983
24874
|
include Google::Apis::Core::Hashable
|
23984
24875
|
|