google-api-client 0.37.3 → 0.38.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 +146 -0
- data/api_list_config.yaml +2 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +9 -1
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +0 -6
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +0 -36
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +10 -3
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +0 -147
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +2 -2
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +2 -2
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +224 -5
- data/generated/google/apis/bigquery_v2/representations.rb +65 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +413 -0
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +194 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +745 -0
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +69 -20
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +29 -13
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +4 -39
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +20 -17
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +26 -21
- data/generated/google/apis/bigtableadmin_v2/service.rb +93 -53
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +3 -3
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -14
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +81 -90
- data/generated/google/apis/cloudasset_v1/representations.rb +1 -6
- data/generated/google/apis/cloudasset_v1/service.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +669 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +199 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +187 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +12 -1
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +9 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +8 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +0 -561
- data/generated/google/apis/cloudidentity_v1/representations.rb +0 -226
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +652 -2
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +272 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -0
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +52 -50
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2.rb +3 -3
- data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
- data/generated/google/apis/cloudtrace_v2beta1.rb +3 -3
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +1 -2
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +2 -2
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +178 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +36 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +4 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1320 -307
- data/generated/google/apis/compute_alpha/representations.rb +284 -18
- data/generated/google/apis/compute_alpha/service.rb +4914 -3211
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +819 -236
- data/generated/google/apis/compute_beta/representations.rb +245 -16
- data/generated/google/apis/compute_beta/service.rb +3369 -2227
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +837 -133
- data/generated/google/apis/compute_v1/representations.rb +307 -0
- data/generated/google/apis/compute_v1/service.rb +3155 -2026
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +42 -22
- data/generated/google/apis/container_v1/service.rb +2 -2
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +116 -136
- data/generated/google/apis/container_v1beta1/representations.rb +23 -51
- data/generated/google/apis/container_v1beta1/service.rb +2 -2
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1030 -113
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +987 -138
- data/generated/google/apis/content_v2_1/representations.rb +87 -0
- data/generated/google/apis/content_v2_1/service.rb +73 -0
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +2 -2
- data/generated/google/apis/datacatalog_v1beta1/service.rb +16 -24
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +220 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +99 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +327 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +27 -1
- data/generated/google/apis/datafusion_v1beta1/representations.rb +15 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +76 -7
- data/generated/google/apis/dataproc_v1/representations.rb +21 -0
- data/generated/google/apis/dataproc_v1/service.rb +72 -15
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +191 -7
- data/generated/google/apis/dataproc_v1beta2/representations.rb +79 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +148 -15
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +19 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +5 -4
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +152 -15
- data/generated/google/apis/dfareporting_v3_4/representations.rb +46 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +5 -4
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +130 -127
- data/generated/google/apis/dialogflow_v2/service.rb +49 -49
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +129 -126
- data/generated/google/apis/dialogflow_v2beta1/service.rb +96 -96
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +80 -14
- data/generated/google/apis/dlp_v2/representations.rb +32 -0
- data/generated/google/apis/dlp_v2/service.rb +3 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +9 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +54 -2
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +81 -9
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +54 -2
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +37 -4
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +2 -2
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -5
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +6 -6
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +762 -3
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +11 -2
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +39 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +7 -0
- data/generated/google/apis/games_management_v1management/representations.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +13 -0
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → gameservices_v1beta.rb} +11 -11
- data/generated/google/apis/gameservices_v1beta/classes.rb +2342 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1469 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +258 -199
- data/generated/google/apis/gmail_v1/service.rb +552 -744
- data/generated/google/apis/{mirror_v1.rb → healthcare_v1.rb} +10 -13
- data/generated/google/apis/healthcare_v1/classes.rb +2639 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3470 -0
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +569 -23
- data/generated/google/apis/healthcare_v1beta1/representations.rb +236 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +147 -18
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +67 -63
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +190 -0
- data/generated/google/apis/iap_v1/representations.rb +66 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +8 -7
- data/generated/google/apis/logging_v2.rb +3 -3
- data/generated/google/apis/logging_v2/classes.rb +3 -4
- data/generated/google/apis/logging_v2/service.rb +2 -2
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +17 -33
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -145
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +17 -33
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +3 -3
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -1
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → memcache_v1beta2}/classes.rb +1083 -761
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +674 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +47 -7
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/monitoring_v1.rb +7 -8
- data/generated/google/apis/monitoring_v1/classes.rb +54 -15
- data/generated/google/apis/monitoring_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v1/service.rb +7 -8
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/monitoring_v3/classes.rb +300 -27
- data/generated/google/apis/monitoring_v3/representations.rb +128 -0
- data/generated/google/apis/monitoring_v3/service.rb +52 -17
- data/generated/google/apis/oauth2_v2.rb +4 -4
- data/generated/google/apis/oauth2_v2/classes.rb +1 -13
- data/generated/google/apis/oauth2_v2/representations.rb +2 -4
- data/generated/google/apis/oauth2_v2/service.rb +10 -12
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1/classes.rb +1223 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +10 -2
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +30 -12
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +12 -24
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +9 -5
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +5 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -4
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +30 -7
- data/generated/google/apis/redis_v1/representations.rb +13 -0
- data/generated/google/apis/redis_v1/service.rb +36 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +11 -7
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +171 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +28 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +181 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +29 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +6 -13
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +4 -3
- data/generated/google/apis/sasportal_v1alpha1/service.rb +282 -0
- data/generated/google/apis/secretmanager_v1.rb +2 -2
- data/generated/google/apis/secretmanager_v1/service.rb +4 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +2 -2
- data/generated/google/apis/secretmanager_v1beta1/service.rb +4 -1
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1/classes.rb +142 -114
- data/generated/google/apis/securitycenter_v1/service.rb +11 -3
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +137 -123
- data/generated/google/apis/securitycenter_v1beta1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +87 -75
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +117 -95
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +11 -3
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +41 -6
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → serviceconsumermanagement_v1beta1.rb} +8 -9
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4170 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1308 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -2
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → servicedirectory_v1beta1.rb} +9 -9
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +800 -0
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +304 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +41 -6
- data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +179 -6
- data/generated/google/apis/servicenetworking_v1/representations.rb +72 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +53 -21
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +149 -6
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +57 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +116 -6
- data/generated/google/apis/serviceusage_v1/representations.rb +45 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +97 -32
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +31 -15
- data/generated/google/apis/serviceusage_v1beta1/service.rb +0 -43
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +2 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +463 -1
- data/generated/google/apis/spanner_v1/representations.rb +178 -0
- data/generated/google/apis/spanner_v1/service.rb +498 -10
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +7 -3
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +7 -3
- data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +7 -0
- data/generated/google/apis/speech_v2beta1/representations.rb +1 -0
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +3 -3
- data/generated/google/apis/sql_v1beta4/service.rb +54 -384
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +18 -0
- data/generated/google/apis/storage_v1/representations.rb +2 -0
- data/generated/google/apis/storage_v1/service.rb +28 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +194 -11
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +217 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +84 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +76 -29
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +356 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +744 -4
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +356 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +4 -1
- data/generated/google/apis/youtube_v3/classes.rb +7 -0
- data/generated/google/apis/youtube_v3/representations.rb +1 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +32 -23
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +0 -123
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -399
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/representations.rb +0 -73
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
26
26
|
module PubsubV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200312'
|
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'
|
@@ -771,10 +771,14 @@ module Google
|
|
771
771
|
# @return [Fixnum]
|
772
772
|
attr_accessor :max_messages
|
773
773
|
|
774
|
-
# If this field set to true, the system will respond immediately even
|
774
|
+
# Optional. If this field set to true, the system will respond immediately even
|
775
|
+
# if
|
775
776
|
# it there are no messages available to return in the `Pull` response.
|
776
777
|
# Otherwise, the system may wait (for a bounded amount of time) until at
|
777
|
-
# least one message is available, rather than returning no messages.
|
778
|
+
# least one message is available, rather than returning no messages. Warning:
|
779
|
+
# setting this field to `true` is discouraged because it adversely impacts
|
780
|
+
# the performance of `Pull` operations. We recommend that users do not set
|
781
|
+
# this field.
|
778
782
|
# Corresponds to the JSON property `returnImmediately`
|
779
783
|
# @return [Boolean]
|
780
784
|
attr_accessor :return_immediately
|
@@ -1355,9 +1359,9 @@ module Google
|
|
1355
1359
|
# Required. Indicates which fields in the provided topic to update. Must be
|
1356
1360
|
# specified
|
1357
1361
|
# and non-empty. Note that if `update_mask` contains
|
1358
|
-
# "message_storage_policy"
|
1359
|
-
#
|
1360
|
-
#
|
1362
|
+
# "message_storage_policy" but the `message_storage_policy` is not set in
|
1363
|
+
# the `topic` provided above, then the updated value is determined by the
|
1364
|
+
# policy configured at the project or organization level.
|
1361
1365
|
# Corresponds to the JSON property `updateMask`
|
1362
1366
|
# @return [String]
|
1363
1367
|
attr_accessor :update_mask
|
@@ -1218,7 +1218,7 @@ module Google
|
|
1218
1218
|
# acknowledgment state of messages in an existing subscription to the state
|
1219
1219
|
# captured by a snapshot.
|
1220
1220
|
# @param [String] topic
|
1221
|
-
# The name of the topic that snapshots are attached to.
|
1221
|
+
# Required. The name of the topic that snapshots are attached to.
|
1222
1222
|
# Format is `projects/`project`/topics/`topic``.
|
1223
1223
|
# @param [Fixnum] page_size
|
1224
1224
|
# Maximum number of snapshot names to return.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/pubsub/docs
|
26
26
|
module PubsubV1beta2
|
27
27
|
VERSION = 'V1beta2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200303'
|
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'
|
@@ -587,11 +587,14 @@ module Google
|
|
587
587
|
# @return [Fixnum]
|
588
588
|
attr_accessor :max_messages
|
589
589
|
|
590
|
-
# If this is specified as true the system will respond immediately
|
590
|
+
# Optional. If this is specified as true the system will respond immediately
|
591
|
+
# even if
|
591
592
|
# it is not able to return a message in the `Pull` response. Otherwise the
|
592
593
|
# system is allowed to wait until at least one message is available rather
|
593
594
|
# than returning no messages. The client may cancel the request if it does
|
594
|
-
# not wish to wait any longer for the response.
|
595
|
+
# not wish to wait any longer for the response. Warning: setting this field
|
596
|
+
# to `true` is discouraged because it adversely impacts the performance of
|
597
|
+
# `Pull` operations. We recommend that users do not set this field.
|
595
598
|
# Corresponds to the JSON property `returnImmediately`
|
596
599
|
# @return [Boolean]
|
597
600
|
attr_accessor :return_immediately
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/recommender/docs/
|
26
26
|
module RecommenderV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200313'
|
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'
|
@@ -116,9 +116,6 @@ module Google
|
|
116
116
|
attr_accessor :last_refresh_time
|
117
117
|
|
118
118
|
# Name of the insight.
|
119
|
-
# * A project insight is represented as
|
120
|
-
# projects/[PROJECT_NUMBER]/locations/[LOCATION]/insightTypes/[INSIGHT_TYPE_ID]
|
121
|
-
# /insights/[insight_id]
|
122
119
|
# Corresponds to the JSON property `name`
|
123
120
|
# @return [String]
|
124
121
|
attr_accessor :name
|
@@ -317,7 +314,7 @@ module Google
|
|
317
314
|
class GoogleCloudRecommenderV1beta1MarkRecommendationFailedRequest
|
318
315
|
include Google::Apis::Core::Hashable
|
319
316
|
|
320
|
-
# Fingerprint of the Recommendation. Provides optimistic locking.
|
317
|
+
# Required. Fingerprint of the Recommendation. Provides optimistic locking.
|
321
318
|
# Corresponds to the JSON property `etag`
|
322
319
|
# @return [String]
|
323
320
|
attr_accessor :etag
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
26
26
|
module RedisV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200402'
|
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'
|
@@ -271,9 +271,8 @@ module Google
|
|
271
271
|
# @return [String]
|
272
272
|
attr_accessor :authorized_network
|
273
273
|
|
274
|
-
# Optional. The connect mode of Redis instance.
|
275
|
-
# If not provided,
|
276
|
-
# Current default: DIRECT_PEERING.
|
274
|
+
# Optional. The network connect mode of the Redis instance.
|
275
|
+
# If not provided, the connect mode defaults to DIRECT_PEERING.
|
277
276
|
# Corresponds to the JSON property `connectMode`
|
278
277
|
# @return [String]
|
279
278
|
attr_accessor :connect_mode
|
@@ -351,13 +350,17 @@ module Google
|
|
351
350
|
# Optional. Redis configuration parameters, according to
|
352
351
|
# http://redis.io/topics/config. Currently, the only supported parameters
|
353
352
|
# are:
|
354
|
-
# Redis 3.2 and
|
353
|
+
# Redis version 3.2 and newer:
|
355
354
|
# * maxmemory-policy
|
356
355
|
# * notify-keyspace-events
|
357
|
-
# Redis 4.0 and
|
356
|
+
# Redis version 4.0 and newer:
|
358
357
|
# * activedefrag
|
359
|
-
# * lfu-log-factor
|
360
358
|
# * lfu-decay-time
|
359
|
+
# * lfu-log-factor
|
360
|
+
# * maxmemory-gb
|
361
|
+
# Redis version 5.0 and newer:
|
362
|
+
# * stream-node-max-bytes
|
363
|
+
# * stream-node-max-entries
|
361
364
|
# Corresponds to the JSON property `redisConfigs`
|
362
365
|
# @return [Hash<String,String>]
|
363
366
|
attr_accessor :redis_configs
|
@@ -365,8 +368,9 @@ module Google
|
|
365
368
|
# Optional. The version of Redis software.
|
366
369
|
# If not provided, latest supported version will be used. Currently, the
|
367
370
|
# supported values are:
|
368
|
-
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
|
369
371
|
# * `REDIS_3_2` for Redis 3.2 compatibility
|
372
|
+
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
|
373
|
+
# * `REDIS_5_0` for Redis 5.0 compatibility
|
370
374
|
# Corresponds to the JSON property `redisVersion`
|
371
375
|
# @return [String]
|
372
376
|
attr_accessor :redis_version
|
@@ -691,6 +695,25 @@ module Google
|
|
691
695
|
@message = args[:message] if args.key?(:message)
|
692
696
|
end
|
693
697
|
end
|
698
|
+
|
699
|
+
# Request for UpgradeInstance.
|
700
|
+
class UpgradeInstanceRequest
|
701
|
+
include Google::Apis::Core::Hashable
|
702
|
+
|
703
|
+
# Required. Specifies the target version of Redis software to upgrade to.
|
704
|
+
# Corresponds to the JSON property `redisVersion`
|
705
|
+
# @return [String]
|
706
|
+
attr_accessor :redis_version
|
707
|
+
|
708
|
+
def initialize(**args)
|
709
|
+
update!(**args)
|
710
|
+
end
|
711
|
+
|
712
|
+
# Update properties of this object
|
713
|
+
def update!(**args)
|
714
|
+
@redis_version = args[:redis_version] if args.key?(:redis_version)
|
715
|
+
end
|
716
|
+
end
|
694
717
|
end
|
695
718
|
end
|
696
719
|
end
|
@@ -130,6 +130,12 @@ module Google
|
|
130
130
|
include Google::Apis::Core::JsonObjectSupport
|
131
131
|
end
|
132
132
|
|
133
|
+
class UpgradeInstanceRequest
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
133
139
|
class Empty
|
134
140
|
# @private
|
135
141
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -300,6 +306,13 @@ module Google
|
|
300
306
|
property :message, as: 'message'
|
301
307
|
end
|
302
308
|
end
|
309
|
+
|
310
|
+
class UpgradeInstanceRequest
|
311
|
+
# @private
|
312
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
313
|
+
property :redis_version, as: 'redisVersion'
|
314
|
+
end
|
315
|
+
end
|
303
316
|
end
|
304
317
|
end
|
305
318
|
end
|
@@ -448,6 +448,42 @@ module Google
|
|
448
448
|
execute_or_queue_command(command, &block)
|
449
449
|
end
|
450
450
|
|
451
|
+
# Upgrades Redis instance to the newer Redis version specified in the
|
452
|
+
# request.
|
453
|
+
# @param [String] name
|
454
|
+
# Required. Redis instance resource name using the form:
|
455
|
+
# `projects/`project_id`/locations/`location_id`/instances/`instance_id``
|
456
|
+
# where `location_id` refers to a GCP region.
|
457
|
+
# @param [Google::Apis::RedisV1::UpgradeInstanceRequest] upgrade_instance_request_object
|
458
|
+
# @param [String] fields
|
459
|
+
# Selector specifying which fields to include in a partial response.
|
460
|
+
# @param [String] quota_user
|
461
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
462
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
463
|
+
# @param [Google::Apis::RequestOptions] options
|
464
|
+
# Request-specific options
|
465
|
+
#
|
466
|
+
# @yield [result, err] Result & error if block supplied
|
467
|
+
# @yieldparam result [Google::Apis::RedisV1::Operation] parsed result object
|
468
|
+
# @yieldparam err [StandardError] error object if request failed
|
469
|
+
#
|
470
|
+
# @return [Google::Apis::RedisV1::Operation]
|
471
|
+
#
|
472
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
473
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
474
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
475
|
+
def upgrade_instance(name, upgrade_instance_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
476
|
+
command = make_simple_command(:post, 'v1/{+name}:upgrade', options)
|
477
|
+
command.request_representation = Google::Apis::RedisV1::UpgradeInstanceRequest::Representation
|
478
|
+
command.request_object = upgrade_instance_request_object
|
479
|
+
command.response_representation = Google::Apis::RedisV1::Operation::Representation
|
480
|
+
command.response_class = Google::Apis::RedisV1::Operation
|
481
|
+
command.params['name'] = name unless name.nil?
|
482
|
+
command.query['fields'] = fields unless fields.nil?
|
483
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
484
|
+
execute_or_queue_command(command, &block)
|
485
|
+
end
|
486
|
+
|
451
487
|
# Starts asynchronous cancellation on a long-running operation. The server
|
452
488
|
# makes a best effort to cancel the operation, but success is not
|
453
489
|
# guaranteed. If the server doesn't support this method, it returns
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/memorystore/docs/redis/
|
26
26
|
module RedisV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200402'
|
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'
|
@@ -274,9 +274,8 @@ module Google
|
|
274
274
|
# @return [String]
|
275
275
|
attr_accessor :authorized_network
|
276
276
|
|
277
|
-
# Optional. The connect mode of Redis instance.
|
278
|
-
# If not provided,
|
279
|
-
# Current default: DIRECT_PEERING.
|
277
|
+
# Optional. The network connect mode of the Redis instance.
|
278
|
+
# If not provided, the connect mode defaults to DIRECT_PEERING.
|
280
279
|
# Corresponds to the JSON property `connectMode`
|
281
280
|
# @return [String]
|
282
281
|
attr_accessor :connect_mode
|
@@ -354,13 +353,17 @@ module Google
|
|
354
353
|
# Optional. Redis configuration parameters, according to
|
355
354
|
# http://redis.io/topics/config. Currently, the only supported parameters
|
356
355
|
# are:
|
357
|
-
# Redis 3.2 and
|
356
|
+
# Redis version 3.2 and newer:
|
358
357
|
# * maxmemory-policy
|
359
358
|
# * notify-keyspace-events
|
360
|
-
# Redis 4.0 and
|
359
|
+
# Redis version 4.0 and newer:
|
361
360
|
# * activedefrag
|
362
|
-
# * lfu-log-factor
|
363
361
|
# * lfu-decay-time
|
362
|
+
# * lfu-log-factor
|
363
|
+
# * maxmemory-gb
|
364
|
+
# Redis version 5.0 and newer:
|
365
|
+
# * stream-node-max-bytes
|
366
|
+
# * stream-node-max-entries
|
364
367
|
# Corresponds to the JSON property `redisConfigs`
|
365
368
|
# @return [Hash<String,String>]
|
366
369
|
attr_accessor :redis_configs
|
@@ -368,8 +371,9 @@ module Google
|
|
368
371
|
# Optional. The version of Redis software.
|
369
372
|
# If not provided, latest supported version will be used. Currently, the
|
370
373
|
# supported values are:
|
371
|
-
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
|
372
374
|
# * `REDIS_3_2` for Redis 3.2 compatibility
|
375
|
+
# * `REDIS_4_0` for Redis 4.0 compatibility (default)
|
376
|
+
# * `REDIS_5_0` for Redis 5.0 compatibility
|
373
377
|
# Corresponds to the JSON property `redisVersion`
|
374
378
|
# @return [String]
|
375
379
|
attr_accessor :redis_version
|
@@ -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 = '20200324'
|
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'
|
@@ -45,8 +45,7 @@ module Google
|
|
45
45
|
include Google::Apis::Core::Hashable
|
46
46
|
|
47
47
|
# A content digest. A digest for a given blob consists of the size of the blob
|
48
|
-
# and its hash. The hash algorithm to use is defined by the server
|
49
|
-
# SHOULD use SHA-256.
|
48
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
50
49
|
# The size is considered to be an integral part of the digest and cannot be
|
51
50
|
# separated. That is, even if the `hash` field is correctly specified but
|
52
51
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -83,8 +82,7 @@ module Google
|
|
83
82
|
alias_method :do_not_cache?, :do_not_cache
|
84
83
|
|
85
84
|
# A content digest. A digest for a given blob consists of the size of the blob
|
86
|
-
# and its hash. The hash algorithm to use is defined by the server
|
87
|
-
# SHOULD use SHA-256.
|
85
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
88
86
|
# The size is considered to be an integral part of the digest and cannot be
|
89
87
|
# separated. That is, even if the `hash` field is correctly specified but
|
90
88
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -113,6 +111,17 @@ module Google
|
|
113
111
|
# @return [Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2Digest]
|
114
112
|
attr_accessor :input_root_digest
|
115
113
|
|
114
|
+
# List of required supported NodeProperty
|
115
|
+
# keys. In order to ensure that equivalent `Action`s always hash to the same
|
116
|
+
# value, the supported node properties MUST be lexicographically sorted by name.
|
117
|
+
# Sorting of strings is done by code point, equivalently, by the UTF-8 bytes.
|
118
|
+
# The interpretation of these properties is server-dependent. If a property is
|
119
|
+
# not recognized by the server, the server will return an `INVALID_ARGUMENT`
|
120
|
+
# error.
|
121
|
+
# Corresponds to the JSON property `outputNodeProperties`
|
122
|
+
# @return [Array<String>]
|
123
|
+
attr_accessor :output_node_properties
|
124
|
+
|
116
125
|
# A timeout after which the execution should be killed. If the timeout is
|
117
126
|
# absent, then the client is specifying that the execution should continue
|
118
127
|
# as long as the server will let it. The server SHOULD impose a timeout if
|
@@ -141,6 +150,7 @@ module Google
|
|
141
150
|
@command_digest = args[:command_digest] if args.key?(:command_digest)
|
142
151
|
@do_not_cache = args[:do_not_cache] if args.key?(:do_not_cache)
|
143
152
|
@input_root_digest = args[:input_root_digest] if args.key?(:input_root_digest)
|
153
|
+
@output_node_properties = args[:output_node_properties] if args.key?(:output_node_properties)
|
144
154
|
@timeout = args[:timeout] if args.key?(:timeout)
|
145
155
|
end
|
146
156
|
end
|
@@ -161,9 +171,9 @@ module Google
|
|
161
171
|
attr_accessor :exit_code
|
162
172
|
|
163
173
|
# The output directories of the action. For each output directory requested
|
164
|
-
# in the `output_directories` field of the Action, if the
|
165
|
-
# directory existed after the action completed, a single entry
|
166
|
-
# present in the output list, which will contain the digest of a
|
174
|
+
# in the `output_directories` or `output_paths` field of the Action, if the
|
175
|
+
# corresponding directory existed after the action completed, a single entry
|
176
|
+
# will be present in the output list, which will contain the digest of a
|
167
177
|
# Tree message containing the
|
168
178
|
# directory tree, and the path equal exactly to the corresponding Action
|
169
179
|
# output_directories member.
|
@@ -217,7 +227,8 @@ module Google
|
|
217
227
|
# `
|
218
228
|
# `
|
219
229
|
# ```
|
220
|
-
# If an output of the same name
|
230
|
+
# If an output of the same name as listed in `output_files` of
|
231
|
+
# the Command was found in `output_directories`, but was not a directory, the
|
221
232
|
# server will return a FAILED_PRECONDITION.
|
222
233
|
# Corresponds to the JSON property `outputDirectories`
|
223
234
|
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2OutputDirectory>]
|
@@ -237,6 +248,8 @@ module Google
|
|
237
248
|
# If the action does not produce the requested output, then that output
|
238
249
|
# will be omitted from the list. The server is free to arrange the output
|
239
250
|
# list as desired; clients MUST NOT assume that the output list is sorted.
|
251
|
+
# DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
|
252
|
+
# should still populate this field in addition to `output_symlinks`.
|
240
253
|
# Corresponds to the JSON property `outputDirectorySymlinks`
|
241
254
|
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2OutputSymlink>]
|
242
255
|
attr_accessor :output_directory_symlinks
|
@@ -245,25 +258,28 @@ module Google
|
|
245
258
|
# may be links to other output files, or input files, or even absolute paths
|
246
259
|
# outside of the working directory, if the server supports
|
247
260
|
# SymlinkAbsolutePathStrategy.ALLOWED.
|
248
|
-
# For each output file requested in the `output_files`
|
249
|
-
# if the corresponding file existed after
|
261
|
+
# For each output file requested in the `output_files` or `output_paths`
|
262
|
+
# field of the Action, if the corresponding file existed after
|
250
263
|
# the action completed, a single entry will be present either in this field,
|
251
264
|
# or in the `output_files` field, if the file was not a symbolic link.
|
252
|
-
# If an output symbolic link of the same name
|
253
|
-
# type was not a regular file, the
|
265
|
+
# If an output symbolic link of the same name as listed in `output_files` of
|
266
|
+
# the Command was found, but its target type was not a regular file, the
|
267
|
+
# server will return a FAILED_PRECONDITION.
|
254
268
|
# If the action does not produce the requested output, then that output
|
255
269
|
# will be omitted from the list. The server is free to arrange the output
|
256
270
|
# list as desired; clients MUST NOT assume that the output list is sorted.
|
271
|
+
# DEPRECATED as of v2.1. Servers that wish to be compatible with v2.0 API
|
272
|
+
# should still populate this field in addition to `output_symlinks`.
|
257
273
|
# Corresponds to the JSON property `outputFileSymlinks`
|
258
274
|
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2OutputSymlink>]
|
259
275
|
attr_accessor :output_file_symlinks
|
260
276
|
|
261
277
|
# The output files of the action. For each output file requested in the
|
262
|
-
# `output_files` field of the Action, if the corresponding
|
263
|
-
# the action completed, a single entry will be present
|
264
|
-
# or the `output_file_symlinks` field if the file was
|
265
|
-
# another file.
|
266
|
-
# If an output
|
278
|
+
# `output_files` or `output_paths` field of the Action, if the corresponding
|
279
|
+
# file existed after the action completed, a single entry will be present
|
280
|
+
# either in this field, or the `output_file_symlinks` field if the file was
|
281
|
+
# a symbolic link to another file (`output_symlinks` field after v2.1).
|
282
|
+
# If an output listed in `output_files` was found, but was a directory rather
|
267
283
|
# than a regular file, the server will return a FAILED_PRECONDITION.
|
268
284
|
# If the action does not produce the requested output, then that output
|
269
285
|
# will be omitted from the list. The server is free to arrange the output
|
@@ -272,9 +288,25 @@ module Google
|
|
272
288
|
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2OutputFile>]
|
273
289
|
attr_accessor :output_files
|
274
290
|
|
291
|
+
# New in v2.1: this field will only be populated if the command
|
292
|
+
# `output_paths` field was used, and not the pre v2.1 `output_files` or
|
293
|
+
# `output_directories` fields.
|
294
|
+
# The output paths of the action that are symbolic links to other paths. Those
|
295
|
+
# may be links to other outputs, or inputs, or even absolute paths
|
296
|
+
# outside of the working directory, if the server supports
|
297
|
+
# SymlinkAbsolutePathStrategy.ALLOWED.
|
298
|
+
# A single entry for each output requested in `output_paths`
|
299
|
+
# field of the Action, if the corresponding path existed after
|
300
|
+
# the action completed and was a symbolic link.
|
301
|
+
# If the action does not produce a requested output, then that output
|
302
|
+
# will be omitted from the list. The server is free to arrange the output
|
303
|
+
# list as desired; clients MUST NOT assume that the output list is sorted.
|
304
|
+
# Corresponds to the JSON property `outputSymlinks`
|
305
|
+
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2OutputSymlink>]
|
306
|
+
attr_accessor :output_symlinks
|
307
|
+
|
275
308
|
# A content digest. A digest for a given blob consists of the size of the blob
|
276
|
-
# and its hash. The hash algorithm to use is defined by the server
|
277
|
-
# SHOULD use SHA-256.
|
309
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
278
310
|
# The size is considered to be an integral part of the digest and cannot be
|
279
311
|
# separated. That is, even if the `hash` field is correctly specified but
|
280
312
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -315,8 +347,7 @@ module Google
|
|
315
347
|
attr_accessor :stderr_raw
|
316
348
|
|
317
349
|
# A content digest. A digest for a given blob consists of the size of the blob
|
318
|
-
# and its hash. The hash algorithm to use is defined by the server
|
319
|
-
# SHOULD use SHA-256.
|
350
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
320
351
|
# The size is considered to be an integral part of the digest and cannot be
|
321
352
|
# separated. That is, even if the `hash` field is correctly specified but
|
322
353
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -368,6 +399,7 @@ module Google
|
|
368
399
|
@output_directory_symlinks = args[:output_directory_symlinks] if args.key?(:output_directory_symlinks)
|
369
400
|
@output_file_symlinks = args[:output_file_symlinks] if args.key?(:output_file_symlinks)
|
370
401
|
@output_files = args[:output_files] if args.key?(:output_files)
|
402
|
+
@output_symlinks = args[:output_symlinks] if args.key?(:output_symlinks)
|
371
403
|
@stderr_digest = args[:stderr_digest] if args.key?(:stderr_digest)
|
372
404
|
@stderr_raw = args[:stderr_raw] if args.key?(:stderr_raw)
|
373
405
|
@stdout_digest = args[:stdout_digest] if args.key?(:stdout_digest)
|
@@ -425,6 +457,7 @@ module Google
|
|
425
457
|
# Directories leading up to the output directories (but not the output
|
426
458
|
# directories themselves) are created by the worker prior to execution, even
|
427
459
|
# if they are not explicitly part of the input root.
|
460
|
+
# DEPRECATED since 2.1: Use `output_paths` instead.
|
428
461
|
# Corresponds to the JSON property `outputDirectories`
|
429
462
|
# @return [Array<String>]
|
430
463
|
attr_accessor :output_directories
|
@@ -446,10 +479,39 @@ module Google
|
|
446
479
|
# have the same path as any of the listed output directories.
|
447
480
|
# Directories leading up to the output files are created by the worker prior
|
448
481
|
# to execution, even if they are not explicitly part of the input root.
|
482
|
+
# DEPRECATED since v2.1: Use `output_paths` instead.
|
449
483
|
# Corresponds to the JSON property `outputFiles`
|
450
484
|
# @return [Array<String>]
|
451
485
|
attr_accessor :output_files
|
452
486
|
|
487
|
+
# A list of the output paths that the client expects to retrieve from the
|
488
|
+
# action. Only the listed paths will be returned to the client as output.
|
489
|
+
# The type of the output (file or directory) is not specified, and will be
|
490
|
+
# determined by the server after action execution. If the resulting path is
|
491
|
+
# a file, it will be returned in an
|
492
|
+
# OutputFile) typed field.
|
493
|
+
# If the path is a directory, the entire directory structure will be returned
|
494
|
+
# as a Tree message digest, see
|
495
|
+
# OutputDirectory)
|
496
|
+
# Other files or directories that may be created during command execution
|
497
|
+
# are discarded.
|
498
|
+
# The paths are relative to the working directory of the action execution.
|
499
|
+
# The paths are specified using a single forward slash (`/`) as a path
|
500
|
+
# separator, even if the execution platform natively uses a different
|
501
|
+
# separator. The path MUST NOT include a trailing slash, nor a leading slash,
|
502
|
+
# being a relative path.
|
503
|
+
# In order to ensure consistent hashing of the same Action, the output paths
|
504
|
+
# MUST be deduplicated and sorted lexicographically by code point (or,
|
505
|
+
# equivalently, by UTF-8 bytes).
|
506
|
+
# Directories leading up to the output paths are created by the worker prior
|
507
|
+
# to execution, even if they are not explicitly part of the input root.
|
508
|
+
# New in v2.1: this field supersedes the DEPRECATED `output_files` and
|
509
|
+
# `output_directories` fields. If `output_paths` is used, `output_files` and
|
510
|
+
# `output_directories` will be ignored!
|
511
|
+
# Corresponds to the JSON property `outputPaths`
|
512
|
+
# @return [Array<String>]
|
513
|
+
attr_accessor :output_paths
|
514
|
+
|
453
515
|
# A `Platform` is a set of requirements, such as hardware, operating system, or
|
454
516
|
# compiler toolchain, for an
|
455
517
|
# Action's execution
|
@@ -476,6 +538,7 @@ module Google
|
|
476
538
|
@environment_variables = args[:environment_variables] if args.key?(:environment_variables)
|
477
539
|
@output_directories = args[:output_directories] if args.key?(:output_directories)
|
478
540
|
@output_files = args[:output_files] if args.key?(:output_files)
|
541
|
+
@output_paths = args[:output_paths] if args.key?(:output_paths)
|
479
542
|
@platform = args[:platform] if args.key?(:platform)
|
480
543
|
@working_directory = args[:working_directory] if args.key?(:working_directory)
|
481
544
|
end
|
@@ -508,8 +571,7 @@ module Google
|
|
508
571
|
end
|
509
572
|
|
510
573
|
# A content digest. A digest for a given blob consists of the size of the blob
|
511
|
-
# and its hash. The hash algorithm to use is defined by the server
|
512
|
-
# SHOULD use SHA-256.
|
574
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
513
575
|
# The size is considered to be an integral part of the digest and cannot be
|
514
576
|
# separated. That is, even if the `hash` field is correctly specified but
|
515
577
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -580,6 +642,9 @@ module Google
|
|
580
642
|
# * The files, directories and symlinks in the directory must each be sorted
|
581
643
|
# in lexicographical order by path. The path strings must be sorted by code
|
582
644
|
# point, equivalently, by UTF-8 bytes.
|
645
|
+
# * The NodeProperties of files,
|
646
|
+
# directories, and symlinks must be sorted in lexicographical order by
|
647
|
+
# property name.
|
583
648
|
# A `Directory` that obeys the restrictions is said to be in canonical form.
|
584
649
|
# As an example, the following could be used for a file named `bar` and a
|
585
650
|
# directory named `foo` with an executable file named `baz` (hashes shortened
|
@@ -593,7 +658,13 @@ module Google
|
|
593
658
|
# digest: `
|
594
659
|
# hash: "4a73bc9d03...",
|
595
660
|
# size: 65534
|
661
|
+
# `,
|
662
|
+
# node_properties: [
|
596
663
|
# `
|
664
|
+
# "name": "MTime",
|
665
|
+
# "value": "2017-01-15T01:30:15.01Z"
|
666
|
+
# `
|
667
|
+
# ]
|
597
668
|
# `
|
598
669
|
# ],
|
599
670
|
# directories: [
|
@@ -633,6 +704,11 @@ module Google
|
|
633
704
|
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2FileNode>]
|
634
705
|
attr_accessor :files
|
635
706
|
|
707
|
+
# The node properties of the Directory.
|
708
|
+
# Corresponds to the JSON property `nodeProperties`
|
709
|
+
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2NodeProperty>]
|
710
|
+
attr_accessor :node_properties
|
711
|
+
|
636
712
|
# The symlinks in the directory.
|
637
713
|
# Corresponds to the JSON property `symlinks`
|
638
714
|
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2SymlinkNode>]
|
@@ -646,6 +722,7 @@ module Google
|
|
646
722
|
def update!(**args)
|
647
723
|
@directories = args[:directories] if args.key?(:directories)
|
648
724
|
@files = args[:files] if args.key?(:files)
|
725
|
+
@node_properties = args[:node_properties] if args.key?(:node_properties)
|
649
726
|
@symlinks = args[:symlinks] if args.key?(:symlinks)
|
650
727
|
end
|
651
728
|
end
|
@@ -657,8 +734,7 @@ module Google
|
|
657
734
|
include Google::Apis::Core::Hashable
|
658
735
|
|
659
736
|
# A content digest. A digest for a given blob consists of the size of the blob
|
660
|
-
# and its hash. The hash algorithm to use is defined by the server
|
661
|
-
# SHOULD use SHA-256.
|
737
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
662
738
|
# The size is considered to be an integral part of the digest and cannot be
|
663
739
|
# separated. That is, even if the `hash` field is correctly specified but
|
664
740
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -712,8 +788,7 @@ module Google
|
|
712
788
|
include Google::Apis::Core::Hashable
|
713
789
|
|
714
790
|
# A content digest. A digest for a given blob consists of the size of the blob
|
715
|
-
# and its hash. The hash algorithm to use is defined by the server
|
716
|
-
# SHOULD use SHA-256.
|
791
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
717
792
|
# The size is considered to be an integral part of the digest and cannot be
|
718
793
|
# separated. That is, even if the `hash` field is correctly specified but
|
719
794
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -913,8 +988,7 @@ module Google
|
|
913
988
|
include Google::Apis::Core::Hashable
|
914
989
|
|
915
990
|
# A content digest. A digest for a given blob consists of the size of the blob
|
916
|
-
# and its hash. The hash algorithm to use is defined by the server
|
917
|
-
# SHOULD use SHA-256.
|
991
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
918
992
|
# The size is considered to be an integral part of the digest and cannot be
|
919
993
|
# separated. That is, even if the `hash` field is correctly specified but
|
920
994
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -954,6 +1028,11 @@ module Google
|
|
954
1028
|
# @return [String]
|
955
1029
|
attr_accessor :name
|
956
1030
|
|
1031
|
+
# The node properties of the FileNode.
|
1032
|
+
# Corresponds to the JSON property `nodeProperties`
|
1033
|
+
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2NodeProperty>]
|
1034
|
+
attr_accessor :node_properties
|
1035
|
+
|
957
1036
|
def initialize(**args)
|
958
1037
|
update!(**args)
|
959
1038
|
end
|
@@ -963,6 +1042,7 @@ module Google
|
|
963
1042
|
@digest = args[:digest] if args.key?(:digest)
|
964
1043
|
@is_executable = args[:is_executable] if args.key?(:is_executable)
|
965
1044
|
@name = args[:name] if args.key?(:name)
|
1045
|
+
@node_properties = args[:node_properties] if args.key?(:node_properties)
|
966
1046
|
end
|
967
1047
|
end
|
968
1048
|
|
@@ -971,8 +1051,7 @@ module Google
|
|
971
1051
|
include Google::Apis::Core::Hashable
|
972
1052
|
|
973
1053
|
# A content digest. A digest for a given blob consists of the size of the blob
|
974
|
-
# and its hash. The hash algorithm to use is defined by the server
|
975
|
-
# SHOULD use SHA-256.
|
1054
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
976
1055
|
# The size is considered to be an integral part of the digest and cannot be
|
977
1056
|
# separated. That is, even if the `hash` field is correctly specified but
|
978
1057
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -1022,6 +1101,35 @@ module Google
|
|
1022
1101
|
end
|
1023
1102
|
end
|
1024
1103
|
|
1104
|
+
# A single property for FileNodes,
|
1105
|
+
# DirectoryNodes, and
|
1106
|
+
# SymlinkNodes. The server is
|
1107
|
+
# responsible for specifying the property `name`s that it accepts. If
|
1108
|
+
# permitted by the server, the same `name` may occur multiple times.
|
1109
|
+
class BuildBazelRemoteExecutionV2NodeProperty
|
1110
|
+
include Google::Apis::Core::Hashable
|
1111
|
+
|
1112
|
+
# The property name.
|
1113
|
+
# Corresponds to the JSON property `name`
|
1114
|
+
# @return [String]
|
1115
|
+
attr_accessor :name
|
1116
|
+
|
1117
|
+
# The property value.
|
1118
|
+
# Corresponds to the JSON property `value`
|
1119
|
+
# @return [String]
|
1120
|
+
attr_accessor :value
|
1121
|
+
|
1122
|
+
def initialize(**args)
|
1123
|
+
update!(**args)
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# Update properties of this object
|
1127
|
+
def update!(**args)
|
1128
|
+
@name = args[:name] if args.key?(:name)
|
1129
|
+
@value = args[:value] if args.key?(:value)
|
1130
|
+
end
|
1131
|
+
end
|
1132
|
+
|
1025
1133
|
# An `OutputDirectory` is the output in an `ActionResult` corresponding to a
|
1026
1134
|
# directory's full contents rather than a single file.
|
1027
1135
|
class BuildBazelRemoteExecutionV2OutputDirectory
|
@@ -1036,8 +1144,7 @@ module Google
|
|
1036
1144
|
attr_accessor :path
|
1037
1145
|
|
1038
1146
|
# A content digest. A digest for a given blob consists of the size of the blob
|
1039
|
-
# and its hash. The hash algorithm to use is defined by the server
|
1040
|
-
# SHOULD use SHA-256.
|
1147
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
1041
1148
|
# The size is considered to be an integral part of the digest and cannot be
|
1042
1149
|
# separated. That is, even if the `hash` field is correctly specified but
|
1043
1150
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -1097,8 +1204,7 @@ module Google
|
|
1097
1204
|
attr_accessor :contents
|
1098
1205
|
|
1099
1206
|
# A content digest. A digest for a given blob consists of the size of the blob
|
1100
|
-
# and its hash. The hash algorithm to use is defined by the server
|
1101
|
-
# SHOULD use SHA-256.
|
1207
|
+
# and its hash. The hash algorithm to use is defined by the server.
|
1102
1208
|
# The size is considered to be an integral part of the digest and cannot be
|
1103
1209
|
# separated. That is, even if the `hash` field is correctly specified but
|
1104
1210
|
# `size_bytes` is not, the server MUST reject the request.
|
@@ -1133,6 +1239,11 @@ module Google
|
|
1133
1239
|
attr_accessor :is_executable
|
1134
1240
|
alias_method :is_executable?, :is_executable
|
1135
1241
|
|
1242
|
+
# The supported node properties of the OutputFile, if requested by the Action.
|
1243
|
+
# Corresponds to the JSON property `nodeProperties`
|
1244
|
+
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2NodeProperty>]
|
1245
|
+
attr_accessor :node_properties
|
1246
|
+
|
1136
1247
|
# The full path of the file relative to the working directory, including the
|
1137
1248
|
# filename. The path separator is a forward slash `/`. Since this is a
|
1138
1249
|
# relative path, it MUST NOT begin with a leading forward slash.
|
@@ -1149,6 +1260,7 @@ module Google
|
|
1149
1260
|
@contents = args[:contents] if args.key?(:contents)
|
1150
1261
|
@digest = args[:digest] if args.key?(:digest)
|
1151
1262
|
@is_executable = args[:is_executable] if args.key?(:is_executable)
|
1263
|
+
@node_properties = args[:node_properties] if args.key?(:node_properties)
|
1152
1264
|
@path = args[:path] if args.key?(:path)
|
1153
1265
|
end
|
1154
1266
|
end
|
@@ -1160,6 +1272,12 @@ module Google
|
|
1160
1272
|
class BuildBazelRemoteExecutionV2OutputSymlink
|
1161
1273
|
include Google::Apis::Core::Hashable
|
1162
1274
|
|
1275
|
+
# The supported node properties of the OutputSymlink, if requested by the
|
1276
|
+
# Action.
|
1277
|
+
# Corresponds to the JSON property `nodeProperties`
|
1278
|
+
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2NodeProperty>]
|
1279
|
+
attr_accessor :node_properties
|
1280
|
+
|
1163
1281
|
# The full path of the symlink relative to the working directory, including the
|
1164
1282
|
# filename. The path separator is a forward slash `/`. Since this is a
|
1165
1283
|
# relative path, it MUST NOT begin with a leading forward slash.
|
@@ -1183,6 +1301,7 @@ module Google
|
|
1183
1301
|
|
1184
1302
|
# Update properties of this object
|
1185
1303
|
def update!(**args)
|
1304
|
+
@node_properties = args[:node_properties] if args.key?(:node_properties)
|
1186
1305
|
@path = args[:path] if args.key?(:path)
|
1187
1306
|
@target = args[:target] if args.key?(:target)
|
1188
1307
|
end
|
@@ -1314,6 +1433,11 @@ module Google
|
|
1314
1433
|
# @return [String]
|
1315
1434
|
attr_accessor :name
|
1316
1435
|
|
1436
|
+
# The node properties of the SymlinkNode.
|
1437
|
+
# Corresponds to the JSON property `nodeProperties`
|
1438
|
+
# @return [Array<Google::Apis::RemotebuildexecutionV1::BuildBazelRemoteExecutionV2NodeProperty>]
|
1439
|
+
attr_accessor :node_properties
|
1440
|
+
|
1317
1441
|
# The target path of the symlink. The path separator is a forward slash `/`.
|
1318
1442
|
# The target path can be relative to the parent directory of the symlink or
|
1319
1443
|
# it can be an absolute path starting with `/`. Support for absolute paths
|
@@ -1331,6 +1455,7 @@ module Google
|
|
1331
1455
|
# Update properties of this object
|
1332
1456
|
def update!(**args)
|
1333
1457
|
@name = args[:name] if args.key?(:name)
|
1458
|
+
@node_properties = args[:node_properties] if args.key?(:node_properties)
|
1334
1459
|
@target = args[:target] if args.key?(:target)
|
1335
1460
|
end
|
1336
1461
|
end
|
@@ -1395,6 +1520,9 @@ module Google
|
|
1395
1520
|
# * The files, directories and symlinks in the directory must each be sorted
|
1396
1521
|
# in lexicographical order by path. The path strings must be sorted by code
|
1397
1522
|
# point, equivalently, by UTF-8 bytes.
|
1523
|
+
# * The NodeProperties of files,
|
1524
|
+
# directories, and symlinks must be sorted in lexicographical order by
|
1525
|
+
# property name.
|
1398
1526
|
# A `Directory` that obeys the restrictions is said to be in canonical form.
|
1399
1527
|
# As an example, the following could be used for a file named `bar` and a
|
1400
1528
|
# directory named `foo` with an executable file named `baz` (hashes shortened
|
@@ -1408,7 +1536,13 @@ module Google
|
|
1408
1536
|
# digest: `
|
1409
1537
|
# hash: "4a73bc9d03...",
|
1410
1538
|
# size: 65534
|
1539
|
+
# `,
|
1540
|
+
# node_properties: [
|
1541
|
+
# `
|
1542
|
+
# "name": "MTime",
|
1543
|
+
# "value": "2017-01-15T01:30:15.01Z"
|
1411
1544
|
# `
|
1545
|
+
# ]
|
1412
1546
|
# `
|
1413
1547
|
# ],
|
1414
1548
|
# directories: [
|
@@ -1480,7 +1614,7 @@ module Google
|
|
1480
1614
|
# @return [String]
|
1481
1615
|
attr_accessor :docker_prep
|
1482
1616
|
|
1483
|
-
# The timestamp when docker
|
1617
|
+
# The timestamp when docker preparation begins.
|
1484
1618
|
# Corresponds to the JSON property `dockerPrepStartTime`
|
1485
1619
|
# @return [String]
|
1486
1620
|
attr_accessor :docker_prep_start_time
|
@@ -2186,7 +2320,7 @@ module Google
|
|
2186
2320
|
attr_accessor :worker_config
|
2187
2321
|
|
2188
2322
|
# The desired number of workers in the worker pool. Must be a value between
|
2189
|
-
# 0 and
|
2323
|
+
# 0 and 15000.
|
2190
2324
|
# Corresponds to the JSON property `workerCount`
|
2191
2325
|
# @return [Fixnum]
|
2192
2326
|
attr_accessor :worker_count
|