google-api-client 0.38.0 → 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +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
@@ -318,6 +318,8 @@ module Google
|
|
318
318
|
# corresponds to serial_number of the device. The filter is case insensitive.
|
319
319
|
# @param [Fixnum] page_size
|
320
320
|
# The maximum number of devices to return in the response.
|
321
|
+
# If empty or zero, all devices will be listed.
|
322
|
+
# Must be in the range [0, 1000].
|
321
323
|
# @param [String] page_token
|
322
324
|
# A pagination token returned from a previous call to ListDevices
|
323
325
|
# that indicates where this listing should continue from.
|
@@ -985,6 +987,8 @@ module Google
|
|
985
987
|
# corresponds to serial_number of the device. The filter is case insensitive.
|
986
988
|
# @param [Fixnum] page_size
|
987
989
|
# The maximum number of devices to return in the response.
|
990
|
+
# If empty or zero, all devices will be listed.
|
991
|
+
# Must be in the range [0, 1000].
|
988
992
|
# @param [String] page_token
|
989
993
|
# A pagination token returned from a previous call to ListDevices
|
990
994
|
# that indicates where this listing should continue from.
|
@@ -1462,6 +1466,8 @@ module Google
|
|
1462
1466
|
# corresponds to serial_number of the device. The filter is case insensitive.
|
1463
1467
|
# @param [Fixnum] page_size
|
1464
1468
|
# The maximum number of devices to return in the response.
|
1469
|
+
# If empty or zero, all devices will be listed.
|
1470
|
+
# Must be in the range [0, 1000].
|
1465
1471
|
# @param [String] page_token
|
1466
1472
|
# A pagination token returned from a previous call to ListDevices
|
1467
1473
|
# that indicates where this listing should continue from.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
26
26
|
module RemotebuildexecutionV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200505'
|
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'
|
@@ -1832,6 +1832,31 @@ module Google
|
|
1832
1832
|
end
|
1833
1833
|
end
|
1834
1834
|
|
1835
|
+
# Autoscale defines the autoscaling policy of a worker pool.
|
1836
|
+
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
|
1837
|
+
include Google::Apis::Core::Hashable
|
1838
|
+
|
1839
|
+
# The maximal number of workers. Must be equal to or greater than min_size.
|
1840
|
+
# Corresponds to the JSON property `maxSize`
|
1841
|
+
# @return [Fixnum]
|
1842
|
+
attr_accessor :max_size
|
1843
|
+
|
1844
|
+
# The minimal number of workers. Must be greater than 0.
|
1845
|
+
# Corresponds to the JSON property `minSize`
|
1846
|
+
# @return [Fixnum]
|
1847
|
+
attr_accessor :min_size
|
1848
|
+
|
1849
|
+
def initialize(**args)
|
1850
|
+
update!(**args)
|
1851
|
+
end
|
1852
|
+
|
1853
|
+
# Update properties of this object
|
1854
|
+
def update!(**args)
|
1855
|
+
@max_size = args[:max_size] if args.key?(:max_size)
|
1856
|
+
@min_size = args[:min_size] if args.key?(:min_size)
|
1857
|
+
end
|
1858
|
+
end
|
1859
|
+
|
1835
1860
|
# The request used for `CreateInstance`.
|
1836
1861
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
1837
1862
|
include Google::Apis::Core::Hashable
|
@@ -2146,19 +2171,37 @@ module Google
|
|
2146
2171
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
|
2147
2172
|
include Google::Apis::Core::Hashable
|
2148
2173
|
|
2174
|
+
# Instance conceptually encapsulates all Remote Build Execution resources
|
2175
|
+
# for remote builds.
|
2176
|
+
# An instance consists of storage and compute resources (for example,
|
2177
|
+
# `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for
|
2178
|
+
# running remote builds.
|
2179
|
+
# All Remote Build Execution API calls are scoped to an instance.
|
2180
|
+
# Corresponds to the JSON property `instance`
|
2181
|
+
# @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance]
|
2182
|
+
attr_accessor :instance
|
2183
|
+
|
2184
|
+
# Deprecated, use instance.logging_enabled instead.
|
2149
2185
|
# Whether to enable Stackdriver logging for this instance.
|
2150
2186
|
# Corresponds to the JSON property `loggingEnabled`
|
2151
2187
|
# @return [Boolean]
|
2152
2188
|
attr_accessor :logging_enabled
|
2153
2189
|
alias_method :logging_enabled?, :logging_enabled
|
2154
2190
|
|
2191
|
+
# Deprecated, use instance.Name instead.
|
2155
2192
|
# Name of the instance to update.
|
2156
2193
|
# Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
|
2157
2194
|
# Corresponds to the JSON property `name`
|
2158
2195
|
# @return [String]
|
2159
2196
|
attr_accessor :name
|
2160
2197
|
|
2161
|
-
# The
|
2198
|
+
# The update mask applies to instance. For the `FieldMask` definition, see
|
2199
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
2200
|
+
# fieldmask
|
2201
|
+
# If an empty update_mask is provided, only the non-default valued field in
|
2202
|
+
# the worker pool field will be updated. Note that in order to update a field
|
2203
|
+
# to the default value (zero, false, empty string) an explicit update_mask
|
2204
|
+
# must be provided.
|
2162
2205
|
# Corresponds to the JSON property `updateMask`
|
2163
2206
|
# @return [String]
|
2164
2207
|
attr_accessor :update_mask
|
@@ -2169,6 +2212,7 @@ module Google
|
|
2169
2212
|
|
2170
2213
|
# Update properties of this object
|
2171
2214
|
def update!(**args)
|
2215
|
+
@instance = args[:instance] if args.key?(:instance)
|
2172
2216
|
@logging_enabled = args[:logging_enabled] if args.key?(:logging_enabled)
|
2173
2217
|
@name = args[:name] if args.key?(:name)
|
2174
2218
|
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
@@ -2300,6 +2344,16 @@ module Google
|
|
2300
2344
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
|
2301
2345
|
include Google::Apis::Core::Hashable
|
2302
2346
|
|
2347
|
+
# Autoscale defines the autoscaling policy of a worker pool.
|
2348
|
+
# Corresponds to the JSON property `autoscale`
|
2349
|
+
# @return [Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale]
|
2350
|
+
attr_accessor :autoscale
|
2351
|
+
|
2352
|
+
# Channel specifies the release channel of the pool.
|
2353
|
+
# Corresponds to the JSON property `channel`
|
2354
|
+
# @return [String]
|
2355
|
+
attr_accessor :channel
|
2356
|
+
|
2303
2357
|
# WorkerPool resource name formatted as:
|
2304
2358
|
# `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
|
2305
2359
|
# name should not be populated when creating a worker pool since it is
|
@@ -2331,6 +2385,8 @@ module Google
|
|
2331
2385
|
|
2332
2386
|
# Update properties of this object
|
2333
2387
|
def update!(**args)
|
2388
|
+
@autoscale = args[:autoscale] if args.key?(:autoscale)
|
2389
|
+
@channel = args[:channel] if args.key?(:channel)
|
2334
2390
|
@name = args[:name] if args.key?(:name)
|
2335
2391
|
@state = args[:state] if args.key?(:state)
|
2336
2392
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
@@ -196,6 +196,12 @@ module Google
|
|
196
196
|
include Google::Apis::Core::JsonObjectSupport
|
197
197
|
end
|
198
198
|
|
199
|
+
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
199
205
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
200
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
207
|
|
@@ -718,6 +724,14 @@ module Google
|
|
718
724
|
end
|
719
725
|
end
|
720
726
|
|
727
|
+
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
|
728
|
+
# @private
|
729
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
730
|
+
property :max_size, :numeric_string => true, as: 'maxSize'
|
731
|
+
property :min_size, :numeric_string => true, as: 'minSize'
|
732
|
+
end
|
733
|
+
end
|
734
|
+
|
721
735
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
722
736
|
# @private
|
723
737
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -810,6 +824,8 @@ module Google
|
|
810
824
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
|
811
825
|
# @private
|
812
826
|
class Representation < Google::Apis::Core::JsonRepresentation
|
827
|
+
property :instance, as: 'instance', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::Representation
|
828
|
+
|
813
829
|
property :logging_enabled, as: 'loggingEnabled'
|
814
830
|
property :name, as: 'name'
|
815
831
|
property :update_mask, as: 'updateMask'
|
@@ -844,6 +860,9 @@ module Google
|
|
844
860
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
|
845
861
|
# @private
|
846
862
|
class Representation < Google::Apis::Core::JsonRepresentation
|
863
|
+
property :autoscale, as: 'autoscale', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale::Representation
|
864
|
+
|
865
|
+
property :channel, as: 'channel'
|
847
866
|
property :name, as: 'name'
|
848
867
|
property :state, as: 'state'
|
849
868
|
property :worker_config, as: 'workerConfig', class: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig, decorator: Google::Apis::RemotebuildexecutionV1::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
26
26
|
module RemotebuildexecutionV1alpha
|
27
27
|
VERSION = 'V1alpha'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200505'
|
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'
|
@@ -1813,6 +1813,31 @@ module Google
|
|
1813
1813
|
end
|
1814
1814
|
end
|
1815
1815
|
|
1816
|
+
# Autoscale defines the autoscaling policy of a worker pool.
|
1817
|
+
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
|
1818
|
+
include Google::Apis::Core::Hashable
|
1819
|
+
|
1820
|
+
# The maximal number of workers. Must be equal to or greater than min_size.
|
1821
|
+
# Corresponds to the JSON property `maxSize`
|
1822
|
+
# @return [Fixnum]
|
1823
|
+
attr_accessor :max_size
|
1824
|
+
|
1825
|
+
# The minimal number of workers. Must be greater than 0.
|
1826
|
+
# Corresponds to the JSON property `minSize`
|
1827
|
+
# @return [Fixnum]
|
1828
|
+
attr_accessor :min_size
|
1829
|
+
|
1830
|
+
def initialize(**args)
|
1831
|
+
update!(**args)
|
1832
|
+
end
|
1833
|
+
|
1834
|
+
# Update properties of this object
|
1835
|
+
def update!(**args)
|
1836
|
+
@max_size = args[:max_size] if args.key?(:max_size)
|
1837
|
+
@min_size = args[:min_size] if args.key?(:min_size)
|
1838
|
+
end
|
1839
|
+
end
|
1840
|
+
|
1816
1841
|
# The request used for `CreateInstance`.
|
1817
1842
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
1818
1843
|
include Google::Apis::Core::Hashable
|
@@ -2127,19 +2152,37 @@ module Google
|
|
2127
2152
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
|
2128
2153
|
include Google::Apis::Core::Hashable
|
2129
2154
|
|
2155
|
+
# Instance conceptually encapsulates all Remote Build Execution resources
|
2156
|
+
# for remote builds.
|
2157
|
+
# An instance consists of storage and compute resources (for example,
|
2158
|
+
# `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for
|
2159
|
+
# running remote builds.
|
2160
|
+
# All Remote Build Execution API calls are scoped to an instance.
|
2161
|
+
# Corresponds to the JSON property `instance`
|
2162
|
+
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance]
|
2163
|
+
attr_accessor :instance
|
2164
|
+
|
2165
|
+
# Deprecated, use instance.logging_enabled instead.
|
2130
2166
|
# Whether to enable Stackdriver logging for this instance.
|
2131
2167
|
# Corresponds to the JSON property `loggingEnabled`
|
2132
2168
|
# @return [Boolean]
|
2133
2169
|
attr_accessor :logging_enabled
|
2134
2170
|
alias_method :logging_enabled?, :logging_enabled
|
2135
2171
|
|
2172
|
+
# Deprecated, use instance.Name instead.
|
2136
2173
|
# Name of the instance to update.
|
2137
2174
|
# Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
|
2138
2175
|
# Corresponds to the JSON property `name`
|
2139
2176
|
# @return [String]
|
2140
2177
|
attr_accessor :name
|
2141
2178
|
|
2142
|
-
# The
|
2179
|
+
# The update mask applies to instance. For the `FieldMask` definition, see
|
2180
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
2181
|
+
# fieldmask
|
2182
|
+
# If an empty update_mask is provided, only the non-default valued field in
|
2183
|
+
# the worker pool field will be updated. Note that in order to update a field
|
2184
|
+
# to the default value (zero, false, empty string) an explicit update_mask
|
2185
|
+
# must be provided.
|
2143
2186
|
# Corresponds to the JSON property `updateMask`
|
2144
2187
|
# @return [String]
|
2145
2188
|
attr_accessor :update_mask
|
@@ -2150,6 +2193,7 @@ module Google
|
|
2150
2193
|
|
2151
2194
|
# Update properties of this object
|
2152
2195
|
def update!(**args)
|
2196
|
+
@instance = args[:instance] if args.key?(:instance)
|
2153
2197
|
@logging_enabled = args[:logging_enabled] if args.key?(:logging_enabled)
|
2154
2198
|
@name = args[:name] if args.key?(:name)
|
2155
2199
|
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
@@ -2281,6 +2325,16 @@ module Google
|
|
2281
2325
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
|
2282
2326
|
include Google::Apis::Core::Hashable
|
2283
2327
|
|
2328
|
+
# Autoscale defines the autoscaling policy of a worker pool.
|
2329
|
+
# Corresponds to the JSON property `autoscale`
|
2330
|
+
# @return [Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale]
|
2331
|
+
attr_accessor :autoscale
|
2332
|
+
|
2333
|
+
# Channel specifies the release channel of the pool.
|
2334
|
+
# Corresponds to the JSON property `channel`
|
2335
|
+
# @return [String]
|
2336
|
+
attr_accessor :channel
|
2337
|
+
|
2284
2338
|
# WorkerPool resource name formatted as:
|
2285
2339
|
# `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
|
2286
2340
|
# name should not be populated when creating a worker pool since it is
|
@@ -2312,6 +2366,8 @@ module Google
|
|
2312
2366
|
|
2313
2367
|
# Update properties of this object
|
2314
2368
|
def update!(**args)
|
2369
|
+
@autoscale = args[:autoscale] if args.key?(:autoscale)
|
2370
|
+
@channel = args[:channel] if args.key?(:channel)
|
2315
2371
|
@name = args[:name] if args.key?(:name)
|
2316
2372
|
@state = args[:state] if args.key?(:state)
|
2317
2373
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|
@@ -190,6 +190,12 @@ module Google
|
|
190
190
|
include Google::Apis::Core::JsonObjectSupport
|
191
191
|
end
|
192
192
|
|
193
|
+
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
193
199
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
194
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
201
|
|
@@ -687,6 +693,14 @@ module Google
|
|
687
693
|
end
|
688
694
|
end
|
689
695
|
|
696
|
+
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
|
697
|
+
# @private
|
698
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
699
|
+
property :max_size, :numeric_string => true, as: 'maxSize'
|
700
|
+
property :min_size, :numeric_string => true, as: 'minSize'
|
701
|
+
end
|
702
|
+
end
|
703
|
+
|
690
704
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
691
705
|
# @private
|
692
706
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -779,6 +793,8 @@ module Google
|
|
779
793
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
|
780
794
|
# @private
|
781
795
|
class Representation < Google::Apis::Core::JsonRepresentation
|
796
|
+
property :instance, as: 'instance', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance::Representation
|
797
|
+
|
782
798
|
property :logging_enabled, as: 'loggingEnabled'
|
783
799
|
property :name, as: 'name'
|
784
800
|
property :update_mask, as: 'updateMask'
|
@@ -813,6 +829,9 @@ module Google
|
|
813
829
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
|
814
830
|
# @private
|
815
831
|
class Representation < Google::Apis::Core::JsonRepresentation
|
832
|
+
property :autoscale, as: 'autoscale', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale::Representation
|
833
|
+
|
834
|
+
property :channel, as: 'channel'
|
816
835
|
property :name, as: 'name'
|
817
836
|
property :state, as: 'state'
|
818
837
|
property :worker_config, as: 'workerConfig', class: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig, decorator: Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig::Representation
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/remote-build-execution/docs/
|
26
26
|
module RemotebuildexecutionV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200505'
|
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'
|
@@ -2512,6 +2512,31 @@ module Google
|
|
2512
2512
|
end
|
2513
2513
|
end
|
2514
2514
|
|
2515
|
+
# Autoscale defines the autoscaling policy of a worker pool.
|
2516
|
+
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
|
2517
|
+
include Google::Apis::Core::Hashable
|
2518
|
+
|
2519
|
+
# The maximal number of workers. Must be equal to or greater than min_size.
|
2520
|
+
# Corresponds to the JSON property `maxSize`
|
2521
|
+
# @return [Fixnum]
|
2522
|
+
attr_accessor :max_size
|
2523
|
+
|
2524
|
+
# The minimal number of workers. Must be greater than 0.
|
2525
|
+
# Corresponds to the JSON property `minSize`
|
2526
|
+
# @return [Fixnum]
|
2527
|
+
attr_accessor :min_size
|
2528
|
+
|
2529
|
+
def initialize(**args)
|
2530
|
+
update!(**args)
|
2531
|
+
end
|
2532
|
+
|
2533
|
+
# Update properties of this object
|
2534
|
+
def update!(**args)
|
2535
|
+
@max_size = args[:max_size] if args.key?(:max_size)
|
2536
|
+
@min_size = args[:min_size] if args.key?(:min_size)
|
2537
|
+
end
|
2538
|
+
end
|
2539
|
+
|
2515
2540
|
# The request used for `CreateInstance`.
|
2516
2541
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaCreateInstanceRequest
|
2517
2542
|
include Google::Apis::Core::Hashable
|
@@ -2826,19 +2851,37 @@ module Google
|
|
2826
2851
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaUpdateInstanceRequest
|
2827
2852
|
include Google::Apis::Core::Hashable
|
2828
2853
|
|
2854
|
+
# Instance conceptually encapsulates all Remote Build Execution resources
|
2855
|
+
# for remote builds.
|
2856
|
+
# An instance consists of storage and compute resources (for example,
|
2857
|
+
# `ContentAddressableStorage`, `ActionCache`, `WorkerPools`) used for
|
2858
|
+
# running remote builds.
|
2859
|
+
# All Remote Build Execution API calls are scoped to an instance.
|
2860
|
+
# Corresponds to the JSON property `instance`
|
2861
|
+
# @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaInstance]
|
2862
|
+
attr_accessor :instance
|
2863
|
+
|
2864
|
+
# Deprecated, use instance.logging_enabled instead.
|
2829
2865
|
# Whether to enable Stackdriver logging for this instance.
|
2830
2866
|
# Corresponds to the JSON property `loggingEnabled`
|
2831
2867
|
# @return [Boolean]
|
2832
2868
|
attr_accessor :logging_enabled
|
2833
2869
|
alias_method :logging_enabled?, :logging_enabled
|
2834
2870
|
|
2871
|
+
# Deprecated, use instance.Name instead.
|
2835
2872
|
# Name of the instance to update.
|
2836
2873
|
# Format: `projects/[PROJECT_ID]/instances/[INSTANCE_ID]`.
|
2837
2874
|
# Corresponds to the JSON property `name`
|
2838
2875
|
# @return [String]
|
2839
2876
|
attr_accessor :name
|
2840
2877
|
|
2841
|
-
# The
|
2878
|
+
# The update mask applies to instance. For the `FieldMask` definition, see
|
2879
|
+
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
2880
|
+
# fieldmask
|
2881
|
+
# If an empty update_mask is provided, only the non-default valued field in
|
2882
|
+
# the worker pool field will be updated. Note that in order to update a field
|
2883
|
+
# to the default value (zero, false, empty string) an explicit update_mask
|
2884
|
+
# must be provided.
|
2842
2885
|
# Corresponds to the JSON property `updateMask`
|
2843
2886
|
# @return [String]
|
2844
2887
|
attr_accessor :update_mask
|
@@ -2849,6 +2892,7 @@ module Google
|
|
2849
2892
|
|
2850
2893
|
# Update properties of this object
|
2851
2894
|
def update!(**args)
|
2895
|
+
@instance = args[:instance] if args.key?(:instance)
|
2852
2896
|
@logging_enabled = args[:logging_enabled] if args.key?(:logging_enabled)
|
2853
2897
|
@name = args[:name] if args.key?(:name)
|
2854
2898
|
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
@@ -2980,6 +3024,16 @@ module Google
|
|
2980
3024
|
class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerPool
|
2981
3025
|
include Google::Apis::Core::Hashable
|
2982
3026
|
|
3027
|
+
# Autoscale defines the autoscaling policy of a worker pool.
|
3028
|
+
# Corresponds to the JSON property `autoscale`
|
3029
|
+
# @return [Google::Apis::RemotebuildexecutionV2::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale]
|
3030
|
+
attr_accessor :autoscale
|
3031
|
+
|
3032
|
+
# Channel specifies the release channel of the pool.
|
3033
|
+
# Corresponds to the JSON property `channel`
|
3034
|
+
# @return [String]
|
3035
|
+
attr_accessor :channel
|
3036
|
+
|
2983
3037
|
# WorkerPool resource name formatted as:
|
2984
3038
|
# `projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]`.
|
2985
3039
|
# name should not be populated when creating a worker pool since it is
|
@@ -3011,6 +3065,8 @@ module Google
|
|
3011
3065
|
|
3012
3066
|
# Update properties of this object
|
3013
3067
|
def update!(**args)
|
3068
|
+
@autoscale = args[:autoscale] if args.key?(:autoscale)
|
3069
|
+
@channel = args[:channel] if args.key?(:channel)
|
3014
3070
|
@name = args[:name] if args.key?(:name)
|
3015
3071
|
@state = args[:state] if args.key?(:state)
|
3016
3072
|
@worker_config = args[:worker_config] if args.key?(:worker_config)
|