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
@@ -0,0 +1,210 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module CommentanalyzerV1alpha1
|
24
|
+
|
25
|
+
class AnalyzeCommentRequest
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class AnalyzeCommentResponse
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class ArticleAndParentComment
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class AttributeParameters
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class AttributeScores
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class Context
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
61
|
+
class Score
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
63
|
+
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
65
|
+
end
|
66
|
+
|
67
|
+
class SpanScore
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
73
|
+
class SuggestCommentScoreRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
79
|
+
class SuggestCommentScoreResponse
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class TextEntry
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
91
|
+
class AnalyzeCommentRequest
|
92
|
+
# @private
|
93
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
94
|
+
property :client_token, as: 'clientToken'
|
95
|
+
property :comment, as: 'comment', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
|
96
|
+
|
97
|
+
property :community_id, as: 'communityId'
|
98
|
+
property :context, as: 'context', class: Google::Apis::CommentanalyzerV1alpha1::Context, decorator: Google::Apis::CommentanalyzerV1alpha1::Context::Representation
|
99
|
+
|
100
|
+
property :do_not_store, as: 'doNotStore'
|
101
|
+
collection :languages, as: 'languages'
|
102
|
+
hash :requested_attributes, as: 'requestedAttributes', class: Google::Apis::CommentanalyzerV1alpha1::AttributeParameters, decorator: Google::Apis::CommentanalyzerV1alpha1::AttributeParameters::Representation
|
103
|
+
|
104
|
+
property :session_id, as: 'sessionId'
|
105
|
+
property :span_annotations, as: 'spanAnnotations'
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
class AnalyzeCommentResponse
|
110
|
+
# @private
|
111
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
112
|
+
hash :attribute_scores, as: 'attributeScores', class: Google::Apis::CommentanalyzerV1alpha1::AttributeScores, decorator: Google::Apis::CommentanalyzerV1alpha1::AttributeScores::Representation
|
113
|
+
|
114
|
+
property :client_token, as: 'clientToken'
|
115
|
+
collection :detected_languages, as: 'detectedLanguages'
|
116
|
+
collection :languages, as: 'languages'
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
class ArticleAndParentComment
|
121
|
+
# @private
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
123
|
+
property :article, as: 'article', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
|
124
|
+
|
125
|
+
property :parent_comment, as: 'parentComment', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
|
126
|
+
|
127
|
+
end
|
128
|
+
end
|
129
|
+
|
130
|
+
class AttributeParameters
|
131
|
+
# @private
|
132
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
133
|
+
property :score_threshold, as: 'scoreThreshold'
|
134
|
+
property :score_type, as: 'scoreType'
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
class AttributeScores
|
139
|
+
# @private
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
141
|
+
collection :span_scores, as: 'spanScores', class: Google::Apis::CommentanalyzerV1alpha1::SpanScore, decorator: Google::Apis::CommentanalyzerV1alpha1::SpanScore::Representation
|
142
|
+
|
143
|
+
property :summary_score, as: 'summaryScore', class: Google::Apis::CommentanalyzerV1alpha1::Score, decorator: Google::Apis::CommentanalyzerV1alpha1::Score::Representation
|
144
|
+
|
145
|
+
end
|
146
|
+
end
|
147
|
+
|
148
|
+
class Context
|
149
|
+
# @private
|
150
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
151
|
+
property :article_and_parent_comment, as: 'articleAndParentComment', class: Google::Apis::CommentanalyzerV1alpha1::ArticleAndParentComment, decorator: Google::Apis::CommentanalyzerV1alpha1::ArticleAndParentComment::Representation
|
152
|
+
|
153
|
+
collection :entries, as: 'entries', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
|
154
|
+
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
class Score
|
159
|
+
# @private
|
160
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
161
|
+
property :type, as: 'type'
|
162
|
+
property :value, as: 'value'
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
class SpanScore
|
167
|
+
# @private
|
168
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
169
|
+
property :begin, as: 'begin'
|
170
|
+
property :end, as: 'end'
|
171
|
+
property :score, as: 'score', class: Google::Apis::CommentanalyzerV1alpha1::Score, decorator: Google::Apis::CommentanalyzerV1alpha1::Score::Representation
|
172
|
+
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
176
|
+
class SuggestCommentScoreRequest
|
177
|
+
# @private
|
178
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
179
|
+
hash :attribute_scores, as: 'attributeScores', class: Google::Apis::CommentanalyzerV1alpha1::AttributeScores, decorator: Google::Apis::CommentanalyzerV1alpha1::AttributeScores::Representation
|
180
|
+
|
181
|
+
property :client_token, as: 'clientToken'
|
182
|
+
property :comment, as: 'comment', class: Google::Apis::CommentanalyzerV1alpha1::TextEntry, decorator: Google::Apis::CommentanalyzerV1alpha1::TextEntry::Representation
|
183
|
+
|
184
|
+
property :community_id, as: 'communityId'
|
185
|
+
property :context, as: 'context', class: Google::Apis::CommentanalyzerV1alpha1::Context, decorator: Google::Apis::CommentanalyzerV1alpha1::Context::Representation
|
186
|
+
|
187
|
+
collection :languages, as: 'languages'
|
188
|
+
property :session_id, as: 'sessionId'
|
189
|
+
end
|
190
|
+
end
|
191
|
+
|
192
|
+
class SuggestCommentScoreResponse
|
193
|
+
# @private
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
195
|
+
property :client_token, as: 'clientToken'
|
196
|
+
collection :detected_languages, as: 'detectedLanguages'
|
197
|
+
collection :requested_languages, as: 'requestedLanguages'
|
198
|
+
end
|
199
|
+
end
|
200
|
+
|
201
|
+
class TextEntry
|
202
|
+
# @private
|
203
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
204
|
+
property :text, as: 'text'
|
205
|
+
property :type, as: 'type'
|
206
|
+
end
|
207
|
+
end
|
208
|
+
end
|
209
|
+
end
|
210
|
+
end
|
@@ -0,0 +1,124 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module CommentanalyzerV1alpha1
|
23
|
+
# Perspective Comment Analyzer API
|
24
|
+
#
|
25
|
+
# The Perspective Comment Analyzer API provides information about the potential
|
26
|
+
# impact of a comment on a conversation (e.g. it can provide a score for the "
|
27
|
+
# toxicity" of a comment). Users can leverage the "SuggestCommentScore" method
|
28
|
+
# to submit corrections to improve Perspective over time. Users can set the "
|
29
|
+
# doNotStore" flag to ensure that all submitted comments are automatically
|
30
|
+
# deleted after scores are returned.
|
31
|
+
#
|
32
|
+
# @example
|
33
|
+
# require 'google/apis/commentanalyzer_v1alpha1'
|
34
|
+
#
|
35
|
+
# Commentanalyzer = Google::Apis::CommentanalyzerV1alpha1 # Alias the module
|
36
|
+
# service = Commentanalyzer::CommentAnalyzerService.new
|
37
|
+
#
|
38
|
+
# @see https://conversationai.github.io/
|
39
|
+
class CommentAnalyzerService < Google::Apis::Core::BaseService
|
40
|
+
# @return [String]
|
41
|
+
# API key. Your API key identifies your project and provides you with API access,
|
42
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
43
|
+
attr_accessor :key
|
44
|
+
|
45
|
+
# @return [String]
|
46
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
47
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
48
|
+
attr_accessor :quota_user
|
49
|
+
|
50
|
+
def initialize
|
51
|
+
super('https://commentanalyzer.googleapis.com/', '')
|
52
|
+
@batch_path = 'batch'
|
53
|
+
end
|
54
|
+
|
55
|
+
# Analyzes the provided text and returns scores for requested attributes.
|
56
|
+
# @param [Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentRequest] analyze_comment_request_object
|
57
|
+
# @param [String] fields
|
58
|
+
# Selector specifying which fields to include in a partial response.
|
59
|
+
# @param [String] quota_user
|
60
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
61
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
62
|
+
# @param [Google::Apis::RequestOptions] options
|
63
|
+
# Request-specific options
|
64
|
+
#
|
65
|
+
# @yield [result, err] Result & error if block supplied
|
66
|
+
# @yieldparam result [Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentResponse] parsed result object
|
67
|
+
# @yieldparam err [StandardError] error object if request failed
|
68
|
+
#
|
69
|
+
# @return [Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentResponse]
|
70
|
+
#
|
71
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
72
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
73
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
74
|
+
def analyze_comment(analyze_comment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
75
|
+
command = make_simple_command(:post, 'v1alpha1/comments:analyze', options)
|
76
|
+
command.request_representation = Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentRequest::Representation
|
77
|
+
command.request_object = analyze_comment_request_object
|
78
|
+
command.response_representation = Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentResponse::Representation
|
79
|
+
command.response_class = Google::Apis::CommentanalyzerV1alpha1::AnalyzeCommentResponse
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
|
+
execute_or_queue_command(command, &block)
|
83
|
+
end
|
84
|
+
|
85
|
+
# Suggest comment scores as training data.
|
86
|
+
# @param [Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreRequest] suggest_comment_score_request_object
|
87
|
+
# @param [String] fields
|
88
|
+
# Selector specifying which fields to include in a partial response.
|
89
|
+
# @param [String] quota_user
|
90
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
91
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
92
|
+
# @param [Google::Apis::RequestOptions] options
|
93
|
+
# Request-specific options
|
94
|
+
#
|
95
|
+
# @yield [result, err] Result & error if block supplied
|
96
|
+
# @yieldparam result [Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreResponse] parsed result object
|
97
|
+
# @yieldparam err [StandardError] error object if request failed
|
98
|
+
#
|
99
|
+
# @return [Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreResponse]
|
100
|
+
#
|
101
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
102
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
103
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
104
|
+
def suggestscore_comment(suggest_comment_score_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
105
|
+
command = make_simple_command(:post, 'v1alpha1/comments:suggestscore', options)
|
106
|
+
command.request_representation = Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreRequest::Representation
|
107
|
+
command.request_object = suggest_comment_score_request_object
|
108
|
+
command.response_representation = Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreResponse::Representation
|
109
|
+
command.response_class = Google::Apis::CommentanalyzerV1alpha1::SuggestCommentScoreResponse
|
110
|
+
command.query['fields'] = fields unless fields.nil?
|
111
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
112
|
+
execute_or_queue_command(command, &block)
|
113
|
+
end
|
114
|
+
|
115
|
+
protected
|
116
|
+
|
117
|
+
def apply_command_defaults(command)
|
118
|
+
command.query['key'] = key unless key.nil?
|
119
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
120
|
+
end
|
121
|
+
end
|
122
|
+
end
|
123
|
+
end
|
124
|
+
end
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/compute/docs/reference/latest/
|
26
26
|
module ComputeAlpha
|
27
27
|
VERSION = 'Alpha'
|
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'
|
@@ -1374,6 +1374,13 @@ module Google
|
|
1374
1374
|
# @return [Array<String>]
|
1375
1375
|
attr_accessor :replica_zones
|
1376
1376
|
|
1377
|
+
# Resource policies applied to this disk for automatic snapshot creations.
|
1378
|
+
# Specified using the full or partial URL. For instance template, specify only
|
1379
|
+
# the resource policy name.
|
1380
|
+
# Corresponds to the JSON property `resourcePolicies`
|
1381
|
+
# @return [Array<String>]
|
1382
|
+
attr_accessor :resource_policies
|
1383
|
+
|
1377
1384
|
# The source image to create this disk. When creating a new instance, one of
|
1378
1385
|
# initializeParams.sourceImage or disks.source is required except for local SSD.
|
1379
1386
|
# To create a disk with one of the public operating system images, specify the
|
@@ -1428,6 +1435,7 @@ module Google
|
|
1428
1435
|
@guest_os_features = args[:guest_os_features] if args.key?(:guest_os_features)
|
1429
1436
|
@labels = args[:labels] if args.key?(:labels)
|
1430
1437
|
@replica_zones = args[:replica_zones] if args.key?(:replica_zones)
|
1438
|
+
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
1431
1439
|
@source_image = args[:source_image] if args.key?(:source_image)
|
1432
1440
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
1433
1441
|
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
@@ -4706,7 +4714,7 @@ module Google
|
|
4706
4714
|
# @return [String]
|
4707
4715
|
attr_accessor :replacement
|
4708
4716
|
|
4709
|
-
# The deprecation state of this resource. This can be ACTIVE DEPRECATED,
|
4717
|
+
# The deprecation state of this resource. This can be ACTIVE, DEPRECATED,
|
4710
4718
|
# OBSOLETE, or DELETED. Operations which communicate the end of life date for an
|
4711
4719
|
# image, can use ACTIVE. Operations which create a new resource using a
|
4712
4720
|
# DEPRECATED resource will return successfully, but with a warning indicating
|
@@ -4869,6 +4877,24 @@ module Google
|
|
4869
4877
|
# @return [Fixnum]
|
4870
4878
|
attr_accessor :size_gb
|
4871
4879
|
|
4880
|
+
# The source disk used to create this disk. You can provide this as a partial or
|
4881
|
+
# full URL to the resource. For example, the following are valid values:
|
4882
|
+
# - https://www.googleapis.com/compute/v1/projects/project/zones/zone/disks/disk
|
4883
|
+
# - projects/project/zones/zone/disks/disk
|
4884
|
+
# - zones/zone/disks/disk
|
4885
|
+
# Corresponds to the JSON property `sourceDisk`
|
4886
|
+
# @return [String]
|
4887
|
+
attr_accessor :source_disk
|
4888
|
+
|
4889
|
+
# [Output Only] The unique ID of the disk used to create this disk. This value
|
4890
|
+
# identifies the exact disk that was used to create this persistent disk. For
|
4891
|
+
# example, if you created the persistent disk from a disk that was later deleted
|
4892
|
+
# and recreated under the same name, the source disk ID would identify the exact
|
4893
|
+
# version of the disk that was used.
|
4894
|
+
# Corresponds to the JSON property `sourceDiskId`
|
4895
|
+
# @return [String]
|
4896
|
+
attr_accessor :source_disk_id
|
4897
|
+
|
4872
4898
|
# The source image used to create this disk. If the source image is deleted,
|
4873
4899
|
# this field will not be set.
|
4874
4900
|
# To create a disk with one of the public operating system images, specify the
|
@@ -4984,6 +5010,8 @@ module Google
|
|
4984
5010
|
@resource_policies = args[:resource_policies] if args.key?(:resource_policies)
|
4985
5011
|
@self_link = args[:self_link] if args.key?(:self_link)
|
4986
5012
|
@size_gb = args[:size_gb] if args.key?(:size_gb)
|
5013
|
+
@source_disk = args[:source_disk] if args.key?(:source_disk)
|
5014
|
+
@source_disk_id = args[:source_disk_id] if args.key?(:source_disk_id)
|
4987
5015
|
@source_image = args[:source_image] if args.key?(:source_image)
|
4988
5016
|
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
4989
5017
|
@source_image_id = args[:source_image_id] if args.key?(:source_image_id)
|
@@ -6877,7 +6905,8 @@ module Google
|
|
6877
6905
|
# [Output Only] Absolute value of VM instances calculated based on the specific
|
6878
6906
|
# mode.
|
6879
6907
|
#
|
6880
|
-
# - If the value is fixed, then the
|
6908
|
+
# - If the value is fixed, then the calculated value is equal to the fixed value.
|
6909
|
+
#
|
6881
6910
|
# - If the value is a percent, then the calculated value is percent/100 *
|
6882
6911
|
# targetSize. For example, the calculated value of a 80% of a managed instance
|
6883
6912
|
# group with 150 instances would be (80/100 * 150) = 120 VM instances. If there
|
@@ -7567,6 +7596,44 @@ module Google
|
|
7567
7596
|
end
|
7568
7597
|
end
|
7569
7598
|
|
7599
|
+
#
|
7600
|
+
class GlobalNetworkEndpointGroupsAttachEndpointsRequest
|
7601
|
+
include Google::Apis::Core::Hashable
|
7602
|
+
|
7603
|
+
# The list of network endpoints to be attached.
|
7604
|
+
# Corresponds to the JSON property `networkEndpoints`
|
7605
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEndpoint>]
|
7606
|
+
attr_accessor :network_endpoints
|
7607
|
+
|
7608
|
+
def initialize(**args)
|
7609
|
+
update!(**args)
|
7610
|
+
end
|
7611
|
+
|
7612
|
+
# Update properties of this object
|
7613
|
+
def update!(**args)
|
7614
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
7615
|
+
end
|
7616
|
+
end
|
7617
|
+
|
7618
|
+
#
|
7619
|
+
class GlobalNetworkEndpointGroupsDetachEndpointsRequest
|
7620
|
+
include Google::Apis::Core::Hashable
|
7621
|
+
|
7622
|
+
# The list of network endpoints to be detached.
|
7623
|
+
# Corresponds to the JSON property `networkEndpoints`
|
7624
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEndpoint>]
|
7625
|
+
attr_accessor :network_endpoints
|
7626
|
+
|
7627
|
+
def initialize(**args)
|
7628
|
+
update!(**args)
|
7629
|
+
end
|
7630
|
+
|
7631
|
+
# Update properties of this object
|
7632
|
+
def update!(**args)
|
7633
|
+
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
7634
|
+
end
|
7635
|
+
end
|
7636
|
+
|
7570
7637
|
#
|
7571
7638
|
class GlobalSetLabelsRequest
|
7572
7639
|
include Google::Apis::Core::Hashable
|
@@ -8134,9 +8201,9 @@ module Google
|
|
8134
8201
|
# @return [Fixnum]
|
8135
8202
|
attr_accessor :timeout_sec
|
8136
8203
|
|
8137
|
-
# Specifies the type of the healthCheck, either TCP, SSL, HTTP or
|
8138
|
-
# specified, the default is TCP. Exactly one of the protocol-specific
|
8139
|
-
# check field must be specified, which must match type field.
|
8204
|
+
# Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS or HTTP2.
|
8205
|
+
# If not specified, the default is TCP. Exactly one of the protocol-specific
|
8206
|
+
# health check field must be specified, which must match type field.
|
8140
8207
|
# Corresponds to the JSON property `type`
|
8141
8208
|
# @return [String]
|
8142
8209
|
attr_accessor :type
|
@@ -11265,8 +11332,11 @@ module Google
|
|
11265
11332
|
# @return [Array<Google::Apis::ComputeAlpha::NamedPort>]
|
11266
11333
|
attr_accessor :named_ports
|
11267
11334
|
|
11268
|
-
# [
|
11269
|
-
#
|
11335
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
11336
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
11337
|
+
# leave feedback if your workload relies on this field. [Output Only] The list
|
11338
|
+
# of instance actions and the number of instances in this managed instance group
|
11339
|
+
# that are pending for each of those actions.
|
11270
11340
|
# Corresponds to the JSON property `pendingActions`
|
11271
11341
|
# @return [Google::Apis::ComputeAlpha::InstanceGroupManagerPendingActionsSummary]
|
11272
11342
|
attr_accessor :pending_actions
|
@@ -11327,8 +11397,8 @@ module Google
|
|
11327
11397
|
|
11328
11398
|
# Specifies the instance templates used by this managed instance group to create
|
11329
11399
|
# instances.
|
11330
|
-
# Each version is defined by an instanceTemplate. Every
|
11331
|
-
# most once per instance group. This field overrides the top-level
|
11400
|
+
# Each version is defined by an instanceTemplate and a name. Every version can
|
11401
|
+
# appear at most once per instance group. This field overrides the top-level
|
11332
11402
|
# instanceTemplate field. Read more about the relationships between these fields.
|
11333
11403
|
# Exactly one version must leave the targetSize field unset. That version will
|
11334
11404
|
# be applied to all remaining instances. For more information, read about canary
|
@@ -11742,26 +11812,34 @@ module Google
|
|
11742
11812
|
class InstanceGroupManagerPendingActionsSummary
|
11743
11813
|
include Google::Apis::Core::Hashable
|
11744
11814
|
|
11745
|
-
# [
|
11746
|
-
#
|
11815
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
11816
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
11817
|
+
# leave feedback if your workload relies on this field. [Output Only] The number
|
11818
|
+
# of instances in the managed instance group that are pending to be created.
|
11747
11819
|
# Corresponds to the JSON property `creating`
|
11748
11820
|
# @return [Fixnum]
|
11749
11821
|
attr_accessor :creating
|
11750
11822
|
|
11751
|
-
# [
|
11752
|
-
#
|
11823
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
11824
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
11825
|
+
# leave feedback if your workload relies on this field. [Output Only] The number
|
11826
|
+
# of instances in the managed instance group that are pending to be deleted.
|
11753
11827
|
# Corresponds to the JSON property `deleting`
|
11754
11828
|
# @return [Fixnum]
|
11755
11829
|
attr_accessor :deleting
|
11756
11830
|
|
11757
|
-
# [
|
11758
|
-
#
|
11831
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
11832
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
11833
|
+
# leave feedback if your workload relies on this field. [Output Only] The number
|
11834
|
+
# of instances in the managed instance group that are pending to be recreated.
|
11759
11835
|
# Corresponds to the JSON property `recreating`
|
11760
11836
|
# @return [Fixnum]
|
11761
11837
|
attr_accessor :recreating
|
11762
11838
|
|
11763
|
-
# [
|
11764
|
-
#
|
11839
|
+
# [Deprecated] This field is deprecated and will be removed. Prefer using the
|
11840
|
+
# status field instead. Please contact cloud-updater-feedback@google.com to
|
11841
|
+
# leave feedback if your workload relies on this field. [Output Only] The number
|
11842
|
+
# of instances in the managed instance group that are pending to be restarted.
|
11765
11843
|
# Corresponds to the JSON property `restarting`
|
11766
11844
|
# @return [Fixnum]
|
11767
11845
|
attr_accessor :restarting
|
@@ -11899,7 +11977,9 @@ module Google
|
|
11899
11977
|
class InstanceGroupManagerVersion
|
11900
11978
|
include Google::Apis::Core::Hashable
|
11901
11979
|
|
11902
|
-
#
|
11980
|
+
# The URL of the instance template that is specified for this managed instance
|
11981
|
+
# group. The group uses this template to create new instances in the managed
|
11982
|
+
# instance group until the `targetSize` for this version is reached.
|
11903
11983
|
# Corresponds to the JSON property `instanceTemplate`
|
11904
11984
|
# @return [String]
|
11905
11985
|
attr_accessor :instance_template
|
@@ -13429,6 +13509,57 @@ module Google
|
|
13429
13509
|
end
|
13430
13510
|
end
|
13431
13511
|
|
13512
|
+
#
|
13513
|
+
class InstancesGetEffectiveFirewallsResponse
|
13514
|
+
include Google::Apis::Core::Hashable
|
13515
|
+
|
13516
|
+
# Effective firewalls on the instance.
|
13517
|
+
# Corresponds to the JSON property `firewalls`
|
13518
|
+
# @return [Array<Google::Apis::ComputeAlpha::Firewall>]
|
13519
|
+
attr_accessor :firewalls
|
13520
|
+
|
13521
|
+
# Effective firewalls from organization policies.
|
13522
|
+
# Corresponds to the JSON property `organizationFirewalls`
|
13523
|
+
# @return [Array<Google::Apis::ComputeAlpha::InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy>]
|
13524
|
+
attr_accessor :organization_firewalls
|
13525
|
+
|
13526
|
+
def initialize(**args)
|
13527
|
+
update!(**args)
|
13528
|
+
end
|
13529
|
+
|
13530
|
+
# Update properties of this object
|
13531
|
+
def update!(**args)
|
13532
|
+
@firewalls = args[:firewalls] if args.key?(:firewalls)
|
13533
|
+
@organization_firewalls = args[:organization_firewalls] if args.key?(:organization_firewalls)
|
13534
|
+
end
|
13535
|
+
end
|
13536
|
+
|
13537
|
+
# A pruned SecurityPolicy containing ID and any applicable firewall rules.
|
13538
|
+
class InstancesGetEffectiveFirewallsResponseOrganizationFirewallPolicy
|
13539
|
+
include Google::Apis::Core::Hashable
|
13540
|
+
|
13541
|
+
# The unique identifier for the security policy. This identifier is defined by
|
13542
|
+
# the server.
|
13543
|
+
# Corresponds to the JSON property `id`
|
13544
|
+
# @return [Fixnum]
|
13545
|
+
attr_accessor :id
|
13546
|
+
|
13547
|
+
# The rules that apply to the network.
|
13548
|
+
# Corresponds to the JSON property `rules`
|
13549
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRule>]
|
13550
|
+
attr_accessor :rules
|
13551
|
+
|
13552
|
+
def initialize(**args)
|
13553
|
+
update!(**args)
|
13554
|
+
end
|
13555
|
+
|
13556
|
+
# Update properties of this object
|
13557
|
+
def update!(**args)
|
13558
|
+
@id = args[:id] if args.key?(:id)
|
13559
|
+
@rules = args[:rules] if args.key?(:rules)
|
13560
|
+
end
|
13561
|
+
end
|
13562
|
+
|
13432
13563
|
#
|
13433
13564
|
class InstancesRemoveResourcePoliciesRequest
|
13434
13565
|
include Google::Apis::Core::Hashable
|
@@ -15962,6 +16093,39 @@ module Google
|
|
15962
16093
|
end
|
15963
16094
|
end
|
15964
16095
|
|
16096
|
+
#
|
16097
|
+
class LocalDisk
|
16098
|
+
include Google::Apis::Core::Hashable
|
16099
|
+
|
16100
|
+
# Specifies the number of such disks.
|
16101
|
+
# Corresponds to the JSON property `diskCount`
|
16102
|
+
# @return [String]
|
16103
|
+
attr_accessor :disk_count
|
16104
|
+
|
16105
|
+
# Specifies the size of the disk in base-2 GB.
|
16106
|
+
# Corresponds to the JSON property `diskSizeGb`
|
16107
|
+
# @return [String]
|
16108
|
+
attr_accessor :disk_size_gb
|
16109
|
+
|
16110
|
+
# Specifies the desired disk type on the node. This disk type must be a local
|
16111
|
+
# storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be
|
16112
|
+
# the name of the disk type and not its URL.
|
16113
|
+
# Corresponds to the JSON property `diskType`
|
16114
|
+
# @return [String]
|
16115
|
+
attr_accessor :disk_type
|
16116
|
+
|
16117
|
+
def initialize(**args)
|
16118
|
+
update!(**args)
|
16119
|
+
end
|
16120
|
+
|
16121
|
+
# Update properties of this object
|
16122
|
+
def update!(**args)
|
16123
|
+
@disk_count = args[:disk_count] if args.key?(:disk_count)
|
16124
|
+
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
16125
|
+
@disk_type = args[:disk_type] if args.key?(:disk_type)
|
16126
|
+
end
|
16127
|
+
end
|
16128
|
+
|
15965
16129
|
# Specifies what kind of log the caller must write
|
15966
16130
|
class LogConfig
|
15967
16131
|
include Google::Apis::Core::Hashable
|
@@ -17368,6 +17532,13 @@ module Google
|
|
17368
17532
|
# @return [String]
|
17369
17533
|
attr_accessor :load_balancer_vm_encryption
|
17370
17534
|
|
17535
|
+
# The multicast mode for this network. If set to ZONAL, multicast is allowed
|
17536
|
+
# within a zone. If set to DISABLED, multicast is disabled for this network. The
|
17537
|
+
# default is DISABLED.
|
17538
|
+
# Corresponds to the JSON property `multicastMode`
|
17539
|
+
# @return [String]
|
17540
|
+
attr_accessor :multicast_mode
|
17541
|
+
|
17371
17542
|
# Name of the resource. Provided by the client when the resource is created. The
|
17372
17543
|
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
17373
17544
|
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
@@ -17421,6 +17592,7 @@ module Google
|
|
17421
17592
|
@id = args[:id] if args.key?(:id)
|
17422
17593
|
@kind = args[:kind] if args.key?(:kind)
|
17423
17594
|
@load_balancer_vm_encryption = args[:load_balancer_vm_encryption] if args.key?(:load_balancer_vm_encryption)
|
17595
|
+
@multicast_mode = args[:multicast_mode] if args.key?(:multicast_mode)
|
17424
17596
|
@name = args[:name] if args.key?(:name)
|
17425
17597
|
@peerings = args[:peerings] if args.key?(:peerings)
|
17426
17598
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
@@ -17924,6 +18096,13 @@ module Google
|
|
17924
18096
|
class NetworkEndpointGroupsListEndpointsRequest
|
17925
18097
|
include Google::Apis::Core::Hashable
|
17926
18098
|
|
18099
|
+
# Optional list of endpoints to query. This is a more efficient but also limited
|
18100
|
+
# version of filter parameter. Endpoints in the filter must have ip_address and
|
18101
|
+
# port fields populated, other fields are not supported.
|
18102
|
+
# Corresponds to the JSON property `endpointFilters`
|
18103
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter>]
|
18104
|
+
attr_accessor :endpoint_filters
|
18105
|
+
|
17927
18106
|
# Optional query parameter for showing the health status of each network
|
17928
18107
|
# endpoint. Valid options are SKIP or SHOW. If you don't specifiy this parameter,
|
17929
18108
|
# the health status of network endpoints will not be provided.
|
@@ -17937,10 +18116,30 @@ module Google
|
|
17937
18116
|
|
17938
18117
|
# Update properties of this object
|
17939
18118
|
def update!(**args)
|
18119
|
+
@endpoint_filters = args[:endpoint_filters] if args.key?(:endpoint_filters)
|
17940
18120
|
@health_status = args[:health_status] if args.key?(:health_status)
|
17941
18121
|
end
|
17942
18122
|
end
|
17943
18123
|
|
18124
|
+
#
|
18125
|
+
class NetworkEndpointGroupsListEndpointsRequestNetworkEndpointFilter
|
18126
|
+
include Google::Apis::Core::Hashable
|
18127
|
+
|
18128
|
+
# The network endpoint.
|
18129
|
+
# Corresponds to the JSON property `networkEndpoint`
|
18130
|
+
# @return [Google::Apis::ComputeAlpha::NetworkEndpoint]
|
18131
|
+
attr_accessor :network_endpoint
|
18132
|
+
|
18133
|
+
def initialize(**args)
|
18134
|
+
update!(**args)
|
18135
|
+
end
|
18136
|
+
|
18137
|
+
# Update properties of this object
|
18138
|
+
def update!(**args)
|
18139
|
+
@network_endpoint = args[:network_endpoint] if args.key?(:network_endpoint)
|
18140
|
+
end
|
18141
|
+
end
|
18142
|
+
|
17944
18143
|
#
|
17945
18144
|
class NetworkEndpointGroupsListNetworkEndpoints
|
17946
18145
|
include Google::Apis::Core::Hashable
|
@@ -18197,6 +18396,11 @@ module Google
|
|
18197
18396
|
# @return [String]
|
18198
18397
|
attr_accessor :fingerprint
|
18199
18398
|
|
18399
|
+
# [Output Only] An IPv6 internal network address for this network interface.
|
18400
|
+
# Corresponds to the JSON property `ipv6Address`
|
18401
|
+
# @return [String]
|
18402
|
+
attr_accessor :ipv6_address
|
18403
|
+
|
18200
18404
|
# [Output Only] Type of the resource. Always compute#networkInterface for
|
18201
18405
|
# network interfaces.
|
18202
18406
|
# Corresponds to the JSON property `kind`
|
@@ -18254,6 +18458,7 @@ module Google
|
|
18254
18458
|
@access_configs = args[:access_configs] if args.key?(:access_configs)
|
18255
18459
|
@alias_ip_ranges = args[:alias_ip_ranges] if args.key?(:alias_ip_ranges)
|
18256
18460
|
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
18461
|
+
@ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address)
|
18257
18462
|
@kind = args[:kind] if args.key?(:kind)
|
18258
18463
|
@name = args[:name] if args.key?(:name)
|
18259
18464
|
@network = args[:network] if args.key?(:network)
|
@@ -18576,6 +18781,57 @@ module Google
|
|
18576
18781
|
end
|
18577
18782
|
end
|
18578
18783
|
|
18784
|
+
#
|
18785
|
+
class NetworksGetEffectiveFirewallsResponse
|
18786
|
+
include Google::Apis::Core::Hashable
|
18787
|
+
|
18788
|
+
# Effective firewalls on the network.
|
18789
|
+
# Corresponds to the JSON property `firewalls`
|
18790
|
+
# @return [Array<Google::Apis::ComputeAlpha::Firewall>]
|
18791
|
+
attr_accessor :firewalls
|
18792
|
+
|
18793
|
+
# Effective firewalls from organization policies.
|
18794
|
+
# Corresponds to the JSON property `organizationFirewalls`
|
18795
|
+
# @return [Array<Google::Apis::ComputeAlpha::NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy>]
|
18796
|
+
attr_accessor :organization_firewalls
|
18797
|
+
|
18798
|
+
def initialize(**args)
|
18799
|
+
update!(**args)
|
18800
|
+
end
|
18801
|
+
|
18802
|
+
# Update properties of this object
|
18803
|
+
def update!(**args)
|
18804
|
+
@firewalls = args[:firewalls] if args.key?(:firewalls)
|
18805
|
+
@organization_firewalls = args[:organization_firewalls] if args.key?(:organization_firewalls)
|
18806
|
+
end
|
18807
|
+
end
|
18808
|
+
|
18809
|
+
# A pruned SecurityPolicy containing ID and any applicable firewall rules.
|
18810
|
+
class NetworksGetEffectiveFirewallsResponseOrganizationFirewallPolicy
|
18811
|
+
include Google::Apis::Core::Hashable
|
18812
|
+
|
18813
|
+
# [Output Only] The unique identifier for the security policy. This identifier
|
18814
|
+
# is defined by the server.
|
18815
|
+
# Corresponds to the JSON property `id`
|
18816
|
+
# @return [Fixnum]
|
18817
|
+
attr_accessor :id
|
18818
|
+
|
18819
|
+
# The rules that apply to the network.
|
18820
|
+
# Corresponds to the JSON property `rules`
|
18821
|
+
# @return [Array<Google::Apis::ComputeAlpha::SecurityPolicyRule>]
|
18822
|
+
attr_accessor :rules
|
18823
|
+
|
18824
|
+
def initialize(**args)
|
18825
|
+
update!(**args)
|
18826
|
+
end
|
18827
|
+
|
18828
|
+
# Update properties of this object
|
18829
|
+
def update!(**args)
|
18830
|
+
@id = args[:id] if args.key?(:id)
|
18831
|
+
@rules = args[:rules] if args.key?(:rules)
|
18832
|
+
end
|
18833
|
+
end
|
18834
|
+
|
18579
18835
|
#
|
18580
18836
|
class NetworksRemovePeeringRequest
|
18581
18837
|
include Google::Apis::Core::Hashable
|
@@ -18616,7 +18872,10 @@ module Google
|
|
18616
18872
|
end
|
18617
18873
|
end
|
18618
18874
|
|
18619
|
-
# A NodeGroup resource.
|
18875
|
+
# A NodeGroup resource. To create a node group, you must first create a node
|
18876
|
+
# templates. To learn more about node groups and sole-tenant nodes, read the
|
18877
|
+
# Sole-tenant nodes documentation. (== resource_for beta.nodeGroups ==) (==
|
18878
|
+
# resource_for v1.nodeGroups ==)
|
18620
18879
|
class NodeGroup
|
18621
18880
|
include Google::Apis::Core::Hashable
|
18622
18881
|
|
@@ -18648,6 +18907,11 @@ module Google
|
|
18648
18907
|
# @return [String]
|
18649
18908
|
attr_accessor :kind
|
18650
18909
|
|
18910
|
+
#
|
18911
|
+
# Corresponds to the JSON property `managedHoldback`
|
18912
|
+
# @return [String]
|
18913
|
+
attr_accessor :managed_holdback
|
18914
|
+
|
18651
18915
|
# The name of the resource, provided by the client when initially creating the
|
18652
18916
|
# resource. The resource name must be 1-63 characters long, and comply with
|
18653
18917
|
# RFC1035. Specifically, the name must be 1-63 characters long and match the
|
@@ -18701,6 +18965,7 @@ module Google
|
|
18701
18965
|
@description = args[:description] if args.key?(:description)
|
18702
18966
|
@id = args[:id] if args.key?(:id)
|
18703
18967
|
@kind = args[:kind] if args.key?(:kind)
|
18968
|
+
@managed_holdback = args[:managed_holdback] if args.key?(:managed_holdback)
|
18704
18969
|
@name = args[:name] if args.key?(:name)
|
18705
18970
|
@node_template = args[:node_template] if args.key?(:node_template)
|
18706
18971
|
@self_link = args[:self_link] if args.key?(:self_link)
|
@@ -18976,6 +19241,11 @@ module Google
|
|
18976
19241
|
class NodeGroupNode
|
18977
19242
|
include Google::Apis::Core::Hashable
|
18978
19243
|
|
19244
|
+
# Local disk configurations.
|
19245
|
+
# Corresponds to the JSON property `disks`
|
19246
|
+
# @return [Array<Google::Apis::ComputeAlpha::LocalDisk>]
|
19247
|
+
attr_accessor :disks
|
19248
|
+
|
18979
19249
|
# Instances scheduled on this node.
|
18980
19250
|
# Corresponds to the JSON property `instances`
|
18981
19251
|
# @return [Array<String>]
|
@@ -19007,6 +19277,7 @@ module Google
|
|
19007
19277
|
|
19008
19278
|
# Update properties of this object
|
19009
19279
|
def update!(**args)
|
19280
|
+
@disks = args[:disks] if args.key?(:disks)
|
19010
19281
|
@instances = args[:instances] if args.key?(:instances)
|
19011
19282
|
@name = args[:name] if args.key?(:name)
|
19012
19283
|
@node_type = args[:node_type] if args.key?(:node_type)
|
@@ -19301,7 +19572,9 @@ module Google
|
|
19301
19572
|
end
|
19302
19573
|
end
|
19303
19574
|
|
19304
|
-
# A Node Template resource.
|
19575
|
+
# A Node Template resource. To learn more about node templates and sole-tenant
|
19576
|
+
# nodes, read the Sole-tenant nodes documentation. (== resource_for beta.
|
19577
|
+
# nodeTemplates ==) (== resource_for v1.nodeTemplates ==)
|
19305
19578
|
class NodeTemplate
|
19306
19579
|
include Google::Apis::Core::Hashable
|
19307
19580
|
|
@@ -19316,6 +19589,11 @@ module Google
|
|
19316
19589
|
# @return [String]
|
19317
19590
|
attr_accessor :description
|
19318
19591
|
|
19592
|
+
#
|
19593
|
+
# Corresponds to the JSON property `disks`
|
19594
|
+
# @return [Array<Google::Apis::ComputeAlpha::LocalDisk>]
|
19595
|
+
attr_accessor :disks
|
19596
|
+
|
19319
19597
|
# [Output Only] The unique identifier for the resource. This identifier is
|
19320
19598
|
# defined by the server.
|
19321
19599
|
# Corresponds to the JSON property `id`
|
@@ -19397,6 +19675,7 @@ module Google
|
|
19397
19675
|
def update!(**args)
|
19398
19676
|
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
19399
19677
|
@description = args[:description] if args.key?(:description)
|
19678
|
+
@disks = args[:disks] if args.key?(:disks)
|
19400
19679
|
@id = args[:id] if args.key?(:id)
|
19401
19680
|
@kind = args[:kind] if args.key?(:kind)
|
19402
19681
|
@name = args[:name] if args.key?(:name)
|
@@ -24248,6 +24527,11 @@ module Google
|
|
24248
24527
|
# @return [Google::Apis::ComputeAlpha::ResourcePolicySnapshotSchedulePolicy]
|
24249
24528
|
attr_accessor :snapshot_schedule_policy
|
24250
24529
|
|
24530
|
+
# [Output Only] The status of resource policy creation.
|
24531
|
+
# Corresponds to the JSON property `status`
|
24532
|
+
# @return [String]
|
24533
|
+
attr_accessor :status
|
24534
|
+
|
24251
24535
|
# Resource policy applicable to VMs for infrastructure maintenance.
|
24252
24536
|
# Corresponds to the JSON property `vmMaintenancePolicy`
|
24253
24537
|
# @return [Google::Apis::ComputeAlpha::ResourcePolicyVmMaintenancePolicy]
|
@@ -24269,6 +24553,7 @@ module Google
|
|
24269
24553
|
@self_link = args[:self_link] if args.key?(:self_link)
|
24270
24554
|
@self_link_with_id = args[:self_link_with_id] if args.key?(:self_link_with_id)
|
24271
24555
|
@snapshot_schedule_policy = args[:snapshot_schedule_policy] if args.key?(:snapshot_schedule_policy)
|
24556
|
+
@status = args[:status] if args.key?(:status)
|
24272
24557
|
@vm_maintenance_policy = args[:vm_maintenance_policy] if args.key?(:vm_maintenance_policy)
|
24273
24558
|
end
|
24274
24559
|
end
|
@@ -24927,6 +25212,13 @@ module Google
|
|
24927
25212
|
# @return [String]
|
24928
25213
|
attr_accessor :next_hop_instance
|
24929
25214
|
|
25215
|
+
# [Output Only] The URL to an InterconnectAttachment which is the next hop for
|
25216
|
+
# the route. This field will only be populated for the dynamic routes generated
|
25217
|
+
# by Cloud Router with a linked interconnectAttachment.
|
25218
|
+
# Corresponds to the JSON property `nextHopInterconnectAttachment`
|
25219
|
+
# @return [String]
|
25220
|
+
attr_accessor :next_hop_interconnect_attachment
|
25221
|
+
|
24930
25222
|
# The network IP address of an instance that should handle matching packets.
|
24931
25223
|
# Only IPv4 is supported.
|
24932
25224
|
# Corresponds to the JSON property `nextHopIp`
|
@@ -24994,6 +25286,7 @@ module Google
|
|
24994
25286
|
@next_hop_gateway = args[:next_hop_gateway] if args.key?(:next_hop_gateway)
|
24995
25287
|
@next_hop_ilb = args[:next_hop_ilb] if args.key?(:next_hop_ilb)
|
24996
25288
|
@next_hop_instance = args[:next_hop_instance] if args.key?(:next_hop_instance)
|
25289
|
+
@next_hop_interconnect_attachment = args[:next_hop_interconnect_attachment] if args.key?(:next_hop_interconnect_attachment)
|
24997
25290
|
@next_hop_ip = args[:next_hop_ip] if args.key?(:next_hop_ip)
|
24998
25291
|
@next_hop_network = args[:next_hop_network] if args.key?(:next_hop_network)
|
24999
25292
|
@next_hop_peering = args[:next_hop_peering] if args.key?(:next_hop_peering)
|
@@ -25623,11 +25916,11 @@ module Google
|
|
25623
25916
|
# @return [Fixnum]
|
25624
25917
|
attr_accessor :min_transmit_interval
|
25625
25918
|
|
25626
|
-
# The BFD session
|
25627
|
-
# Router will initiate the BFD session for this BGP peer. If set to
|
25628
|
-
# Cloud Router will wait for the peer router to initiate the BFD
|
25629
|
-
# this BGP peer. If set to DISABLED, BFD is disabled for this BGP
|
25630
|
-
# default is PASSIVE.
|
25919
|
+
# The BFD session initialization mode for this BGP peer. If set to ACTIVE, the
|
25920
|
+
# Cloud Router will initiate the BFD session for this BGP peer. If set to
|
25921
|
+
# PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD
|
25922
|
+
# session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP
|
25923
|
+
# peer. The default is PASSIVE.
|
25631
25924
|
# Corresponds to the JSON property `mode`
|
25632
25925
|
# @return [String]
|
25633
25926
|
attr_accessor :mode
|
@@ -26635,6 +26928,14 @@ module Google
|
|
26635
26928
|
attr_accessor :automatic_restart
|
26636
26929
|
alias_method :automatic_restart?, :automatic_restart
|
26637
26930
|
|
26931
|
+
# Defines whether the instance is tolerant of higher cpu latency. This can only
|
26932
|
+
# be set during instance creation, or when the instance is not currently running.
|
26933
|
+
# It must not be set if the preemptible option is also set.
|
26934
|
+
# Corresponds to the JSON property `latencyTolerant`
|
26935
|
+
# @return [Boolean]
|
26936
|
+
attr_accessor :latency_tolerant
|
26937
|
+
alias_method :latency_tolerant?, :latency_tolerant
|
26938
|
+
|
26638
26939
|
# The minimum number of virtual CPUs this instance will consume when running on
|
26639
26940
|
# a sole-tenant node.
|
26640
26941
|
# Corresponds to the JSON property `minNodeCpus`
|
@@ -26669,6 +26970,7 @@ module Google
|
|
26669
26970
|
# Update properties of this object
|
26670
26971
|
def update!(**args)
|
26671
26972
|
@automatic_restart = args[:automatic_restart] if args.key?(:automatic_restart)
|
26973
|
+
@latency_tolerant = args[:latency_tolerant] if args.key?(:latency_tolerant)
|
26672
26974
|
@min_node_cpus = args[:min_node_cpus] if args.key?(:min_node_cpus)
|
26673
26975
|
@node_affinities = args[:node_affinities] if args.key?(:node_affinities)
|
26674
26976
|
@on_host_maintenance = args[:on_host_maintenance] if args.key?(:on_host_maintenance)
|
@@ -35483,6 +35785,7 @@ module Google
|
|
35483
35785
|
end
|
35484
35786
|
|
35485
35787
|
# A Zone resource. (== resource_for beta.zones ==) (== resource_for v1.zones ==)
|
35788
|
+
# Next ID: 17
|
35486
35789
|
class Zone
|
35487
35790
|
include Google::Apis::Core::Hashable
|
35488
35791
|
|