google-api-client 0.38.0 → 0.39.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +124 -0
- data/api_list_config.yaml +1 -2
- data/bin/generate-api +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +22 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +3 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +36 -1661
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -739
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +3 -2
- data/generated/google/apis/androidpublisher_v3/service.rb +4 -3
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/apigee_v1/classes.rb +5205 -0
- data/generated/google/apis/apigee_v1/representations.rb +1944 -0
- data/generated/google/apis/apigee_v1/service.rb +6068 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -19
- data/generated/google/apis/bigquery_v2/representations.rb +21 -4
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +1 -2
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +2 -2
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +12 -12
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +12 -12
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -4
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +23 -10
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -4
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +5 -5
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +2 -0
- data/generated/google/apis/{osconfig_v1beta.rb → cloudasset_v1p4beta1.rb} +8 -9
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +24 -12
- data/generated/google/apis/cloudbilling_v1/service.rb +3 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +2 -2
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +26 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +9 -2
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +214 -66
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +64 -10
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +6 -4
- data/generated/google/apis/cloudsearch_v1/service.rb +3 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -9
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -9
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +3 -4
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +1 -2
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +414 -29
- data/generated/google/apis/compute_alpha/representations.rb +141 -0
- data/generated/google/apis/compute_alpha/service.rb +351 -1
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +34 -29
- data/generated/google/apis/compute_beta/service.rb +3 -1
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +129 -10
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +3 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +145 -132
- data/generated/google/apis/container_v1/service.rb +168 -159
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +186 -134
- data/generated/google/apis/container_v1beta1/representations.rb +16 -0
- data/generated/google/apis/container_v1beta1/service.rb +169 -160
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +26 -10
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +360 -10
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1176 -1094
- data/generated/google/apis/content_v2/representations.rb +31 -0
- data/generated/google/apis/content_v2/service.rb +45 -45
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1801 -931
- data/generated/google/apis/content_v2_1/representations.rb +351 -0
- data/generated/google/apis/content_v2_1/service.rb +299 -47
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +67 -7
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +43 -33
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +69 -36
- data/generated/google/apis/dataproc_v1/service.rb +14 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +46 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +203 -35
- data/generated/google/apis/dialogflow_v2/representations.rb +46 -0
- data/generated/google/apis/dialogflow_v2/service.rb +39 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +261 -36
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +64 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +88 -10
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7216 -220
- data/generated/google/apis/displayvideo_v1/representations.rb +2846 -55
- data/generated/google/apis/displayvideo_v1/service.rb +2665 -0
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +6 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +51 -57
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +28 -29
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +9 -5
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1 -1
- data/generated/google/apis/file_v1/service.rb +5 -5
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/file_v1beta1/service.rb +10 -7
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +5 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +8 -58
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +1 -31
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +0 -70
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +154 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +9 -10
- data/generated/google/apis/games_configuration_v1configuration/service.rb +2 -2
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +0 -6
- data/generated/google/apis/games_management_v1management/representations.rb +0 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +1 -7
- data/generated/google/apis/games_v1/representations.rb +0 -1
- data/generated/google/apis/games_v1/service.rb +3 -12
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +1 -2
- data/generated/google/apis/gameservices_v1beta/service.rb +2 -2
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +0 -1
- data/generated/google/apis/healthcare_v1/service.rb +9 -7
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +124 -1
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +8 -6
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +9 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/service.rb +2 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +7 -7
- data/generated/google/apis/memcache_v1beta2/service.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +41 -38
- data/generated/google/apis/ml_v1/service.rb +17 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +27 -38
- data/generated/google/apis/monitoring_v3/representations.rb +3 -16
- data/generated/google/apis/monitoring_v3/service.rb +6 -5
- data/generated/google/apis/people_v1.rb +7 -1
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +23 -10
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +23 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +19 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +57 -1
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +19 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +22 -46
- data/generated/google/apis/run_v1/representations.rb +5 -19
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +23 -10
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +6 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +1 -2
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +1 -2
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +0 -12
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +0 -8
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -8
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +34 -14
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +34 -14
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/service.rb +6 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +34 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +34 -14
- data/generated/google/apis/serviceusage_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -14
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +1 -2
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +2 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +182 -1
- data/generated/google/apis/speech_v1p1beta1/representations.rb +77 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +21 -0
- data/generated/google/apis/storage_v1/representations.rb +5 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +9 -0
- data/generated/google/apis/testing_v1/representations.rb +1 -0
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/toolresults_v1beta3/classes.rb +1431 -1231
- data/generated/google/apis/toolresults_v1beta3/representations.rb +442 -2
- data/generated/google/apis/toolresults_v1beta3/service.rb +647 -720
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +6 -6
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +215 -76
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +23 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +222 -83
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +23 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -11
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -480
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/osconfig_v1beta/classes.rb +0 -2365
- data/generated/google/apis/osconfig_v1beta/representations.rb +0 -966
- data/generated/google/apis/osconfig_v1beta/service.rb +0 -605
@@ -2268,6 +2268,12 @@ module Google
|
|
2268
2268
|
|
2269
2269
|
class MachineType
|
2270
2270
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2271
|
+
|
2272
|
+
class Accelerator
|
2273
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2274
|
+
|
2275
|
+
include Google::Apis::Core::JsonObjectSupport
|
2276
|
+
end
|
2271
2277
|
|
2272
2278
|
include Google::Apis::Core::JsonObjectSupport
|
2273
2279
|
end
|
@@ -3922,6 +3928,18 @@ module Google
|
|
3922
3928
|
include Google::Apis::Core::JsonObjectSupport
|
3923
3929
|
end
|
3924
3930
|
|
3931
|
+
class RouterNatRule
|
3932
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3933
|
+
|
3934
|
+
include Google::Apis::Core::JsonObjectSupport
|
3935
|
+
end
|
3936
|
+
|
3937
|
+
class RouterNatRuleAction
|
3938
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3939
|
+
|
3940
|
+
include Google::Apis::Core::JsonObjectSupport
|
3941
|
+
end
|
3942
|
+
|
3925
3943
|
class RouterNatSubnetworkToNat
|
3926
3944
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
3927
3945
|
|
@@ -4138,6 +4156,36 @@ module Google
|
|
4138
4156
|
include Google::Apis::Core::JsonObjectSupport
|
4139
4157
|
end
|
4140
4158
|
|
4159
|
+
class ServiceAttachment
|
4160
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4161
|
+
|
4162
|
+
include Google::Apis::Core::JsonObjectSupport
|
4163
|
+
end
|
4164
|
+
|
4165
|
+
class ServiceAttachmentConsumerForwardingRule
|
4166
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4167
|
+
|
4168
|
+
include Google::Apis::Core::JsonObjectSupport
|
4169
|
+
end
|
4170
|
+
|
4171
|
+
class ServiceAttachmentList
|
4172
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4173
|
+
|
4174
|
+
class Warning
|
4175
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4176
|
+
|
4177
|
+
class Datum
|
4178
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4179
|
+
|
4180
|
+
include Google::Apis::Core::JsonObjectSupport
|
4181
|
+
end
|
4182
|
+
|
4183
|
+
include Google::Apis::Core::JsonObjectSupport
|
4184
|
+
end
|
4185
|
+
|
4186
|
+
include Google::Apis::Core::JsonObjectSupport
|
4187
|
+
end
|
4188
|
+
|
4141
4189
|
class ShieldedInstanceConfig
|
4142
4190
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
4143
4191
|
|
@@ -5643,6 +5691,7 @@ module Google
|
|
5643
5691
|
|
5644
5692
|
collection :local_ssds, as: 'localSsds', class: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk, decorator: Google::Apis::ComputeAlpha::AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk::Representation
|
5645
5693
|
|
5694
|
+
property :location_hint, as: 'locationHint'
|
5646
5695
|
property :long_term_release, as: 'longTermRelease'
|
5647
5696
|
property :machine_type, as: 'machineType'
|
5648
5697
|
property :min_cpu_platform, as: 'minCpuPlatform'
|
@@ -9699,6 +9748,8 @@ module Google
|
|
9699
9748
|
class MachineType
|
9700
9749
|
# @private
|
9701
9750
|
class Representation < Google::Apis::Core::JsonRepresentation
|
9751
|
+
collection :accelerators, as: 'accelerators', class: Google::Apis::ComputeAlpha::MachineType::Accelerator, decorator: Google::Apis::ComputeAlpha::MachineType::Accelerator::Representation
|
9752
|
+
|
9702
9753
|
property :creation_timestamp, as: 'creationTimestamp'
|
9703
9754
|
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeAlpha::DeprecationStatus, decorator: Google::Apis::ComputeAlpha::DeprecationStatus::Representation
|
9704
9755
|
|
@@ -9715,6 +9766,14 @@ module Google
|
|
9715
9766
|
property :self_link_with_id, as: 'selfLinkWithId'
|
9716
9767
|
property :zone, as: 'zone'
|
9717
9768
|
end
|
9769
|
+
|
9770
|
+
class Accelerator
|
9771
|
+
# @private
|
9772
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
9773
|
+
property :guest_accelerator_count, as: 'guestAcceleratorCount'
|
9774
|
+
property :guest_accelerator_type, as: 'guestAcceleratorType'
|
9775
|
+
end
|
9776
|
+
end
|
9718
9777
|
end
|
9719
9778
|
|
9720
9779
|
class MachineTypeAggregatedList
|
@@ -10329,6 +10388,7 @@ module Google
|
|
10329
10388
|
property :fingerprint, :base64 => true, as: 'fingerprint'
|
10330
10389
|
property :id, :numeric_string => true, as: 'id'
|
10331
10390
|
property :kind, as: 'kind'
|
10391
|
+
property :location_hint, as: 'locationHint'
|
10332
10392
|
property :maintenance_policy, as: 'maintenancePolicy'
|
10333
10393
|
property :maintenance_window, as: 'maintenanceWindow', class: Google::Apis::ComputeAlpha::NodeGroupMaintenanceWindow, decorator: Google::Apis::ComputeAlpha::NodeGroupMaintenanceWindow::Representation
|
10334
10394
|
|
@@ -12653,6 +12713,7 @@ module Google
|
|
12653
12713
|
# @private
|
12654
12714
|
class Representation < Google::Apis::Core::JsonRepresentation
|
12655
12715
|
collection :drain_nat_ips, as: 'drainNatIps'
|
12716
|
+
property :enable_endpoint_independent_mapping, as: 'enableEndpointIndependentMapping'
|
12656
12717
|
property :icmp_idle_timeout_sec, as: 'icmpIdleTimeoutSec'
|
12657
12718
|
property :log_config, as: 'logConfig', class: Google::Apis::ComputeAlpha::RouterNatLogConfig, decorator: Google::Apis::ComputeAlpha::RouterNatLogConfig::Representation
|
12658
12719
|
|
@@ -12660,10 +12721,13 @@ module Google
|
|
12660
12721
|
property :name, as: 'name'
|
12661
12722
|
property :nat_ip_allocate_option, as: 'natIpAllocateOption'
|
12662
12723
|
collection :nat_ips, as: 'natIps'
|
12724
|
+
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::RouterNatRule, decorator: Google::Apis::ComputeAlpha::RouterNatRule::Representation
|
12725
|
+
|
12663
12726
|
property :source_subnetwork_ip_ranges_to_nat, as: 'sourceSubnetworkIpRangesToNat'
|
12664
12727
|
collection :subnetworks, as: 'subnetworks', class: Google::Apis::ComputeAlpha::RouterNatSubnetworkToNat, decorator: Google::Apis::ComputeAlpha::RouterNatSubnetworkToNat::Representation
|
12665
12728
|
|
12666
12729
|
property :tcp_established_idle_timeout_sec, as: 'tcpEstablishedIdleTimeoutSec'
|
12730
|
+
property :tcp_time_wait_timeout_sec, as: 'tcpTimeWaitTimeoutSec'
|
12667
12731
|
property :tcp_transitory_idle_timeout_sec, as: 'tcpTransitoryIdleTimeoutSec'
|
12668
12732
|
property :udp_idle_timeout_sec, as: 'udpIdleTimeoutSec'
|
12669
12733
|
end
|
@@ -12677,6 +12741,25 @@ module Google
|
|
12677
12741
|
end
|
12678
12742
|
end
|
12679
12743
|
|
12744
|
+
class RouterNatRule
|
12745
|
+
# @private
|
12746
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12747
|
+
property :action, as: 'action', class: Google::Apis::ComputeAlpha::RouterNatRuleAction, decorator: Google::Apis::ComputeAlpha::RouterNatRuleAction::Representation
|
12748
|
+
|
12749
|
+
property :description, as: 'description'
|
12750
|
+
property :match, as: 'match'
|
12751
|
+
property :priority, as: 'priority'
|
12752
|
+
end
|
12753
|
+
end
|
12754
|
+
|
12755
|
+
class RouterNatRuleAction
|
12756
|
+
# @private
|
12757
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12758
|
+
collection :source_nat_active_ips, as: 'sourceNatActiveIps'
|
12759
|
+
collection :source_nat_drain_ips, as: 'sourceNatDrainIps'
|
12760
|
+
end
|
12761
|
+
end
|
12762
|
+
|
12680
12763
|
class RouterNatSubnetworkToNat
|
12681
12764
|
# @private
|
12682
12765
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -13087,6 +13170,64 @@ module Google
|
|
13087
13170
|
end
|
13088
13171
|
end
|
13089
13172
|
|
13173
|
+
class ServiceAttachment
|
13174
|
+
# @private
|
13175
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13176
|
+
property :connection_preference, as: 'connectionPreference'
|
13177
|
+
collection :consumer_forwarding_rules, as: 'consumerForwardingRules', class: Google::Apis::ComputeAlpha::ServiceAttachmentConsumerForwardingRule, decorator: Google::Apis::ComputeAlpha::ServiceAttachmentConsumerForwardingRule::Representation
|
13178
|
+
|
13179
|
+
property :creation_timestamp, as: 'creationTimestamp'
|
13180
|
+
property :description, as: 'description'
|
13181
|
+
property :id, :numeric_string => true, as: 'id'
|
13182
|
+
property :kind, as: 'kind'
|
13183
|
+
property :name, as: 'name'
|
13184
|
+
collection :nat_ip_cidr_ranges, as: 'natIpCidrRanges'
|
13185
|
+
property :producer_forwarding_rule, as: 'producerForwardingRule'
|
13186
|
+
property :region, as: 'region'
|
13187
|
+
property :self_link, as: 'selfLink'
|
13188
|
+
end
|
13189
|
+
end
|
13190
|
+
|
13191
|
+
class ServiceAttachmentConsumerForwardingRule
|
13192
|
+
# @private
|
13193
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13194
|
+
property :forwarding_rule, as: 'forwardingRule'
|
13195
|
+
property :status, as: 'status'
|
13196
|
+
end
|
13197
|
+
end
|
13198
|
+
|
13199
|
+
class ServiceAttachmentList
|
13200
|
+
# @private
|
13201
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13202
|
+
property :id, as: 'id'
|
13203
|
+
collection :items, as: 'items', class: Google::Apis::ComputeAlpha::ServiceAttachment, decorator: Google::Apis::ComputeAlpha::ServiceAttachment::Representation
|
13204
|
+
|
13205
|
+
property :kind, as: 'kind'
|
13206
|
+
property :next_page_token, as: 'nextPageToken'
|
13207
|
+
property :self_link, as: 'selfLink'
|
13208
|
+
property :warning, as: 'warning', class: Google::Apis::ComputeAlpha::ServiceAttachmentList::Warning, decorator: Google::Apis::ComputeAlpha::ServiceAttachmentList::Warning::Representation
|
13209
|
+
|
13210
|
+
end
|
13211
|
+
|
13212
|
+
class Warning
|
13213
|
+
# @private
|
13214
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13215
|
+
property :code, as: 'code'
|
13216
|
+
collection :data, as: 'data', class: Google::Apis::ComputeAlpha::ServiceAttachmentList::Warning::Datum, decorator: Google::Apis::ComputeAlpha::ServiceAttachmentList::Warning::Datum::Representation
|
13217
|
+
|
13218
|
+
property :message, as: 'message'
|
13219
|
+
end
|
13220
|
+
|
13221
|
+
class Datum
|
13222
|
+
# @private
|
13223
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
13224
|
+
property :key, as: 'key'
|
13225
|
+
property :value, as: 'value'
|
13226
|
+
end
|
13227
|
+
end
|
13228
|
+
end
|
13229
|
+
end
|
13230
|
+
|
13090
13231
|
class ShieldedInstanceConfig
|
13091
13232
|
# @private
|
13092
13233
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1921,6 +1921,8 @@ module Google
|
|
1921
1921
|
end
|
1922
1922
|
|
1923
1923
|
# Gets the most recent health check results for this BackendService.
|
1924
|
+
# Example request body:
|
1925
|
+
# ` "group": "/zones/us-east1-b/instanceGroups/lb-backend-example" `
|
1924
1926
|
# @param [String] project
|
1925
1927
|
# @param [String] backend_service
|
1926
1928
|
# Name of the BackendService resource to which the queried instance belongs.
|
@@ -16897,7 +16899,7 @@ module Google
|
|
16897
16899
|
execute_or_queue_command(command, &block)
|
16898
16900
|
end
|
16899
16901
|
|
16900
|
-
#
|
16902
|
+
# Updates the specified node group.
|
16901
16903
|
# @param [String] project
|
16902
16904
|
# Project ID for this request.
|
16903
16905
|
# @param [String] zone
|
@@ -29354,6 +29356,354 @@ module Google
|
|
29354
29356
|
execute_or_queue_command(command, &block)
|
29355
29357
|
end
|
29356
29358
|
|
29359
|
+
# Deletes the specified ServiceAttachment in the given scope
|
29360
|
+
# @param [String] project
|
29361
|
+
# Project ID for this request.
|
29362
|
+
# @param [String] region
|
29363
|
+
# Name of the region of this request.
|
29364
|
+
# @param [String] service_attachment
|
29365
|
+
# Name of the ServiceAttachment resource to delete.
|
29366
|
+
# @param [String] request_id
|
29367
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
29368
|
+
# that if you must retry your request, the server will know to ignore the
|
29369
|
+
# request if it has already been completed.
|
29370
|
+
# For example, consider a situation where you make an initial request and the
|
29371
|
+
# request times out. If you make the request again with the same request ID, the
|
29372
|
+
# server can check if original operation with the same request ID was received,
|
29373
|
+
# and if so, will ignore the second request. This prevents clients from
|
29374
|
+
# accidentally creating duplicate commitments.
|
29375
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
29376
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
29377
|
+
# @param [String] fields
|
29378
|
+
# Selector specifying which fields to include in a partial response.
|
29379
|
+
# @param [String] quota_user
|
29380
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
29381
|
+
# characters.
|
29382
|
+
# @param [String] user_ip
|
29383
|
+
# Deprecated. Please use quotaUser instead.
|
29384
|
+
# @param [Google::Apis::RequestOptions] options
|
29385
|
+
# Request-specific options
|
29386
|
+
#
|
29387
|
+
# @yield [result, err] Result & error if block supplied
|
29388
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
29389
|
+
# @yieldparam err [StandardError] error object if request failed
|
29390
|
+
#
|
29391
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
29392
|
+
#
|
29393
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29394
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29395
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29396
|
+
def delete_service_attachment(project, region, service_attachment, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29397
|
+
command = make_simple_command(:delete, '{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options)
|
29398
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
29399
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
29400
|
+
command.params['project'] = project unless project.nil?
|
29401
|
+
command.params['region'] = region unless region.nil?
|
29402
|
+
command.params['serviceAttachment'] = service_attachment unless service_attachment.nil?
|
29403
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
29404
|
+
command.query['fields'] = fields unless fields.nil?
|
29405
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29406
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
29407
|
+
execute_or_queue_command(command, &block)
|
29408
|
+
end
|
29409
|
+
|
29410
|
+
# Returns the specified ServiceAttachment resource in the given scope.
|
29411
|
+
# @param [String] project
|
29412
|
+
# Project ID for this request.
|
29413
|
+
# @param [String] region
|
29414
|
+
# Name of the region of this request.
|
29415
|
+
# @param [String] service_attachment
|
29416
|
+
# Name of the ServiceAttachment resource to return.
|
29417
|
+
# @param [String] fields
|
29418
|
+
# Selector specifying which fields to include in a partial response.
|
29419
|
+
# @param [String] quota_user
|
29420
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
29421
|
+
# characters.
|
29422
|
+
# @param [String] user_ip
|
29423
|
+
# Deprecated. Please use quotaUser instead.
|
29424
|
+
# @param [Google::Apis::RequestOptions] options
|
29425
|
+
# Request-specific options
|
29426
|
+
#
|
29427
|
+
# @yield [result, err] Result & error if block supplied
|
29428
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::ServiceAttachment] parsed result object
|
29429
|
+
# @yieldparam err [StandardError] error object if request failed
|
29430
|
+
#
|
29431
|
+
# @return [Google::Apis::ComputeAlpha::ServiceAttachment]
|
29432
|
+
#
|
29433
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29434
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29435
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29436
|
+
def get_service_attachment(project, region, service_attachment, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29437
|
+
command = make_simple_command(:get, '{project}/regions/{region}/serviceAttachments/{serviceAttachment}', options)
|
29438
|
+
command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation
|
29439
|
+
command.response_class = Google::Apis::ComputeAlpha::ServiceAttachment
|
29440
|
+
command.params['project'] = project unless project.nil?
|
29441
|
+
command.params['region'] = region unless region.nil?
|
29442
|
+
command.params['serviceAttachment'] = service_attachment unless service_attachment.nil?
|
29443
|
+
command.query['fields'] = fields unless fields.nil?
|
29444
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29445
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
29446
|
+
execute_or_queue_command(command, &block)
|
29447
|
+
end
|
29448
|
+
|
29449
|
+
# Gets the access control policy for a resource. May be empty if no such policy
|
29450
|
+
# or resource exists.
|
29451
|
+
# @param [String] project
|
29452
|
+
# Project ID for this request.
|
29453
|
+
# @param [String] region
|
29454
|
+
# The name of the region for this request.
|
29455
|
+
# @param [String] resource
|
29456
|
+
# Name or id of the resource for this request.
|
29457
|
+
# @param [Fixnum] options_requested_policy_version
|
29458
|
+
# Requested IAM Policy version.
|
29459
|
+
# @param [String] fields
|
29460
|
+
# Selector specifying which fields to include in a partial response.
|
29461
|
+
# @param [String] quota_user
|
29462
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
29463
|
+
# characters.
|
29464
|
+
# @param [String] user_ip
|
29465
|
+
# Deprecated. Please use quotaUser instead.
|
29466
|
+
# @param [Google::Apis::RequestOptions] options
|
29467
|
+
# Request-specific options
|
29468
|
+
#
|
29469
|
+
# @yield [result, err] Result & error if block supplied
|
29470
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
29471
|
+
# @yieldparam err [StandardError] error object if request failed
|
29472
|
+
#
|
29473
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
29474
|
+
#
|
29475
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29476
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29477
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29478
|
+
def get_service_attachment_iam_policy(project, region, resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29479
|
+
command = make_simple_command(:get, '{project}/regions/{region}/serviceAttachments/{resource}/getIamPolicy', options)
|
29480
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
29481
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
29482
|
+
command.params['project'] = project unless project.nil?
|
29483
|
+
command.params['region'] = region unless region.nil?
|
29484
|
+
command.params['resource'] = resource unless resource.nil?
|
29485
|
+
command.query['optionsRequestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
29486
|
+
command.query['fields'] = fields unless fields.nil?
|
29487
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29488
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
29489
|
+
execute_or_queue_command(command, &block)
|
29490
|
+
end
|
29491
|
+
|
29492
|
+
# Creates a ServiceAttachment in the specified project in the given scope using
|
29493
|
+
# the parameters that are included in the request.
|
29494
|
+
# @param [String] project
|
29495
|
+
# Project ID for this request.
|
29496
|
+
# @param [String] region
|
29497
|
+
# Name of the region of this request.
|
29498
|
+
# @param [Google::Apis::ComputeAlpha::ServiceAttachment] service_attachment_object
|
29499
|
+
# @param [String] request_id
|
29500
|
+
# An optional request ID to identify requests. Specify a unique request ID so
|
29501
|
+
# that if you must retry your request, the server will know to ignore the
|
29502
|
+
# request if it has already been completed.
|
29503
|
+
# For example, consider a situation where you make an initial request and the
|
29504
|
+
# request times out. If you make the request again with the same request ID, the
|
29505
|
+
# server can check if original operation with the same request ID was received,
|
29506
|
+
# and if so, will ignore the second request. This prevents clients from
|
29507
|
+
# accidentally creating duplicate commitments.
|
29508
|
+
# The request ID must be a valid UUID with the exception that zero UUID is not
|
29509
|
+
# supported (00000000-0000-0000-0000-000000000000).
|
29510
|
+
# @param [String] fields
|
29511
|
+
# Selector specifying which fields to include in a partial response.
|
29512
|
+
# @param [String] quota_user
|
29513
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
29514
|
+
# characters.
|
29515
|
+
# @param [String] user_ip
|
29516
|
+
# Deprecated. Please use quotaUser instead.
|
29517
|
+
# @param [Google::Apis::RequestOptions] options
|
29518
|
+
# Request-specific options
|
29519
|
+
#
|
29520
|
+
# @yield [result, err] Result & error if block supplied
|
29521
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
29522
|
+
# @yieldparam err [StandardError] error object if request failed
|
29523
|
+
#
|
29524
|
+
# @return [Google::Apis::ComputeAlpha::Operation]
|
29525
|
+
#
|
29526
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29527
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29528
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29529
|
+
def insert_service_attachment(project, region, service_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29530
|
+
command = make_simple_command(:post, '{project}/regions/{region}/serviceAttachments', options)
|
29531
|
+
command.request_representation = Google::Apis::ComputeAlpha::ServiceAttachment::Representation
|
29532
|
+
command.request_object = service_attachment_object
|
29533
|
+
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
29534
|
+
command.response_class = Google::Apis::ComputeAlpha::Operation
|
29535
|
+
command.params['project'] = project unless project.nil?
|
29536
|
+
command.params['region'] = region unless region.nil?
|
29537
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
29538
|
+
command.query['fields'] = fields unless fields.nil?
|
29539
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29540
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
29541
|
+
execute_or_queue_command(command, &block)
|
29542
|
+
end
|
29543
|
+
|
29544
|
+
# Lists the ServiceAttachments for a project in the given scope.
|
29545
|
+
# @param [String] project
|
29546
|
+
# Project ID for this request.
|
29547
|
+
# @param [String] region
|
29548
|
+
# Name of the region of this request.
|
29549
|
+
# @param [String] filter
|
29550
|
+
# A filter expression that filters resources listed in the response. The
|
29551
|
+
# expression must specify the field name, a comparison operator, and the value
|
29552
|
+
# that you want to use for filtering. The value must be a string, a number, or a
|
29553
|
+
# boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`.
|
29554
|
+
# For example, if you are filtering Compute Engine instances, you can exclude
|
29555
|
+
# instances named `example-instance` by specifying `name != example-instance`.
|
29556
|
+
# You can also filter nested fields. For example, you could specify `scheduling.
|
29557
|
+
# automaticRestart = false` to include instances only if they are not scheduled
|
29558
|
+
# for automatic restarts. You can use filtering on nested fields to filter based
|
29559
|
+
# on resource labels.
|
29560
|
+
# To filter on multiple expressions, provide each separate expression within
|
29561
|
+
# parentheses. For example: ``` (scheduling.automaticRestart = true) (
|
29562
|
+
# cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND`
|
29563
|
+
# expression. However, you can include `AND` and `OR` expressions explicitly.
|
29564
|
+
# For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel
|
29565
|
+
# Broadwell") AND (scheduling.automaticRestart = true) ```
|
29566
|
+
# @param [Fixnum] max_results
|
29567
|
+
# The maximum number of results per page that should be returned. If the number
|
29568
|
+
# of available results is larger than `maxResults`, Compute Engine returns a `
|
29569
|
+
# nextPageToken` that can be used to get the next page of results in subsequent
|
29570
|
+
# list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`)
|
29571
|
+
# @param [String] order_by
|
29572
|
+
# Sorts list results by a certain order. By default, results are returned in
|
29573
|
+
# alphanumerical order based on the resource name.
|
29574
|
+
# You can also sort results in descending order based on the creation timestamp
|
29575
|
+
# using `orderBy="creationTimestamp desc"`. This sorts results based on the `
|
29576
|
+
# creationTimestamp` field in reverse chronological order (newest result first).
|
29577
|
+
# Use this to sort resources like operations so that the newest operation is
|
29578
|
+
# returned first.
|
29579
|
+
# Currently, only sorting by `name` or `creationTimestamp desc` is supported.
|
29580
|
+
# @param [String] page_token
|
29581
|
+
# Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned
|
29582
|
+
# by a previous list request to get the next page of results.
|
29583
|
+
# @param [Boolean] return_partial_success
|
29584
|
+
# Opt-in for partial success behavior which provides partial results in case of
|
29585
|
+
# failure. The default value is false and the logic is the same as today.
|
29586
|
+
# @param [String] fields
|
29587
|
+
# Selector specifying which fields to include in a partial response.
|
29588
|
+
# @param [String] quota_user
|
29589
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
29590
|
+
# characters.
|
29591
|
+
# @param [String] user_ip
|
29592
|
+
# Deprecated. Please use quotaUser instead.
|
29593
|
+
# @param [Google::Apis::RequestOptions] options
|
29594
|
+
# Request-specific options
|
29595
|
+
#
|
29596
|
+
# @yield [result, err] Result & error if block supplied
|
29597
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::ServiceAttachmentList] parsed result object
|
29598
|
+
# @yieldparam err [StandardError] error object if request failed
|
29599
|
+
#
|
29600
|
+
# @return [Google::Apis::ComputeAlpha::ServiceAttachmentList]
|
29601
|
+
#
|
29602
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29603
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29604
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29605
|
+
def list_service_attachments(project, region, filter: nil, max_results: nil, order_by: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29606
|
+
command = make_simple_command(:get, '{project}/regions/{region}/serviceAttachments', options)
|
29607
|
+
command.response_representation = Google::Apis::ComputeAlpha::ServiceAttachmentList::Representation
|
29608
|
+
command.response_class = Google::Apis::ComputeAlpha::ServiceAttachmentList
|
29609
|
+
command.params['project'] = project unless project.nil?
|
29610
|
+
command.params['region'] = region unless region.nil?
|
29611
|
+
command.query['filter'] = filter unless filter.nil?
|
29612
|
+
command.query['maxResults'] = max_results unless max_results.nil?
|
29613
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
29614
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
29615
|
+
command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
|
29616
|
+
command.query['fields'] = fields unless fields.nil?
|
29617
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29618
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
29619
|
+
execute_or_queue_command(command, &block)
|
29620
|
+
end
|
29621
|
+
|
29622
|
+
# Sets the access control policy on the specified resource. Replaces any
|
29623
|
+
# existing policy.
|
29624
|
+
# @param [String] project
|
29625
|
+
# Project ID for this request.
|
29626
|
+
# @param [String] region
|
29627
|
+
# The name of the region for this request.
|
29628
|
+
# @param [String] resource
|
29629
|
+
# Name or id of the resource for this request.
|
29630
|
+
# @param [Google::Apis::ComputeAlpha::RegionSetPolicyRequest] region_set_policy_request_object
|
29631
|
+
# @param [String] fields
|
29632
|
+
# Selector specifying which fields to include in a partial response.
|
29633
|
+
# @param [String] quota_user
|
29634
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
29635
|
+
# characters.
|
29636
|
+
# @param [String] user_ip
|
29637
|
+
# Deprecated. Please use quotaUser instead.
|
29638
|
+
# @param [Google::Apis::RequestOptions] options
|
29639
|
+
# Request-specific options
|
29640
|
+
#
|
29641
|
+
# @yield [result, err] Result & error if block supplied
|
29642
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::Policy] parsed result object
|
29643
|
+
# @yieldparam err [StandardError] error object if request failed
|
29644
|
+
#
|
29645
|
+
# @return [Google::Apis::ComputeAlpha::Policy]
|
29646
|
+
#
|
29647
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29648
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29649
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29650
|
+
def set_service_attachment_iam_policy(project, region, resource, region_set_policy_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29651
|
+
command = make_simple_command(:post, '{project}/regions/{region}/serviceAttachments/{resource}/setIamPolicy', options)
|
29652
|
+
command.request_representation = Google::Apis::ComputeAlpha::RegionSetPolicyRequest::Representation
|
29653
|
+
command.request_object = region_set_policy_request_object
|
29654
|
+
command.response_representation = Google::Apis::ComputeAlpha::Policy::Representation
|
29655
|
+
command.response_class = Google::Apis::ComputeAlpha::Policy
|
29656
|
+
command.params['project'] = project unless project.nil?
|
29657
|
+
command.params['region'] = region unless region.nil?
|
29658
|
+
command.params['resource'] = resource unless resource.nil?
|
29659
|
+
command.query['fields'] = fields unless fields.nil?
|
29660
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29661
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
29662
|
+
execute_or_queue_command(command, &block)
|
29663
|
+
end
|
29664
|
+
|
29665
|
+
# Returns permissions that a caller has on the specified resource.
|
29666
|
+
# @param [String] project
|
29667
|
+
# Project ID for this request.
|
29668
|
+
# @param [String] region
|
29669
|
+
# The name of the region for this request.
|
29670
|
+
# @param [String] resource
|
29671
|
+
# Name or id of the resource for this request.
|
29672
|
+
# @param [Google::Apis::ComputeAlpha::TestPermissionsRequest] test_permissions_request_object
|
29673
|
+
# @param [String] fields
|
29674
|
+
# Selector specifying which fields to include in a partial response.
|
29675
|
+
# @param [String] quota_user
|
29676
|
+
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
29677
|
+
# characters.
|
29678
|
+
# @param [String] user_ip
|
29679
|
+
# Deprecated. Please use quotaUser instead.
|
29680
|
+
# @param [Google::Apis::RequestOptions] options
|
29681
|
+
# Request-specific options
|
29682
|
+
#
|
29683
|
+
# @yield [result, err] Result & error if block supplied
|
29684
|
+
# @yieldparam result [Google::Apis::ComputeAlpha::TestPermissionsResponse] parsed result object
|
29685
|
+
# @yieldparam err [StandardError] error object if request failed
|
29686
|
+
#
|
29687
|
+
# @return [Google::Apis::ComputeAlpha::TestPermissionsResponse]
|
29688
|
+
#
|
29689
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
29690
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
29691
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
29692
|
+
def test_service_attachment_iam_permissions(project, region, resource, test_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
29693
|
+
command = make_simple_command(:post, '{project}/regions/{region}/serviceAttachments/{resource}/testIamPermissions', options)
|
29694
|
+
command.request_representation = Google::Apis::ComputeAlpha::TestPermissionsRequest::Representation
|
29695
|
+
command.request_object = test_permissions_request_object
|
29696
|
+
command.response_representation = Google::Apis::ComputeAlpha::TestPermissionsResponse::Representation
|
29697
|
+
command.response_class = Google::Apis::ComputeAlpha::TestPermissionsResponse
|
29698
|
+
command.params['project'] = project unless project.nil?
|
29699
|
+
command.params['region'] = region unless region.nil?
|
29700
|
+
command.params['resource'] = resource unless resource.nil?
|
29701
|
+
command.query['fields'] = fields unless fields.nil?
|
29702
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
29703
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
29704
|
+
execute_or_queue_command(command, &block)
|
29705
|
+
end
|
29706
|
+
|
29357
29707
|
# Deletes the specified Snapshot resource. Keep in mind that deleting a single
|
29358
29708
|
# snapshot might not necessarily delete all the data on that snapshot. If any
|
29359
29709
|
# data on the snapshot that is marked for deletion is needed for subsequent
|