google-api-client 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -18
- data/CHANGELOG.md +22 -2
- data/Gemfile +5 -7
- data/MIGRATING.md +33 -0
- data/README.md +10 -2
- data/Rakefile +1 -0
- data/bin/generate-api +7 -1
- data/dl.rb +0 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
- data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
- data/generated/google/apis/admin_directory_v1/service.rb +1 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
- data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
- data/generated/google/apis/admin_reports_v1/service.rb +1 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
- data/generated/google/apis/adsense_v1_4/service.rb +1 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
- data/generated/google/apis/analytics_v3/classes.rb +10 -10
- data/generated/google/apis/analytics_v3/representations.rb +10 -10
- data/generated/google/apis/analytics_v3/service.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/representations.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +1 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +35 -0
- data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
- data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
- data/generated/google/apis/appsmarket_v2/service.rb +187 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +1 -0
- data/generated/google/apis/bigquery_v2/classes.rb +39 -39
- data/generated/google/apis/bigquery_v2/representations.rb +38 -38
- data/generated/google/apis/bigquery_v2/service.rb +3 -2
- data/generated/google/apis/blogger_v3/classes.rb +2 -2
- data/generated/google/apis/blogger_v3/representations.rb +2 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -0
- data/generated/google/apis/books_v1/classes.rb +5 -5
- data/generated/google/apis/books_v1/representations.rb +4 -4
- data/generated/google/apis/books_v1/service.rb +1 -0
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +1 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
- data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
- data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
- data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
- data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
- data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
- data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
- data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
- data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
- data/generated/google/apis/cloudkms_v1/service.rb +168 -167
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
- data/generated/google/apis/compute_beta/classes.rb +52 -52
- data/generated/google/apis/compute_beta/representations.rb +52 -52
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -48
- data/generated/google/apis/compute_v1/representations.rb +48 -48
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +38 -660
- data/generated/google/apis/content_v2/representations.rb +37 -303
- data/generated/google/apis/content_v2/service.rb +63 -279
- data/generated/google/apis/customsearch_v1/classes.rb +2 -2
- data/generated/google/apis/customsearch_v1/representations.rb +2 -2
- data/generated/google/apis/customsearch_v1/service.rb +1 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
- data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
- data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
- data/generated/google/apis/dataproc_v1/classes.rb +395 -395
- data/generated/google/apis/dataproc_v1/representations.rb +91 -91
- data/generated/google/apis/dataproc_v1/service.rb +356 -355
- data/generated/google/apis/datastore_v1/classes.rb +506 -506
- data/generated/google/apis/datastore_v1/representations.rb +147 -147
- data/generated/google/apis/datastore_v1/service.rb +46 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
- data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
- data/generated/google/apis/discovery_v1/service.rb +1 -0
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
- data/generated/google/apis/dns_v2beta1/service.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
- data/generated/google/apis/drive_v2/classes.rb +17 -17
- data/generated/google/apis/drive_v2/representations.rb +17 -17
- data/generated/google/apis/drive_v2/service.rb +5 -4
- data/generated/google/apis/drive_v3/classes.rb +13 -13
- data/generated/google/apis/drive_v3/representations.rb +12 -12
- data/generated/google/apis/drive_v3/service.rb +1 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
- data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
- data/generated/google/apis/firebaserules_v1/service.rb +1 -0
- data/generated/google/apis/fitness_v1/classes.rb +18 -18
- data/generated/google/apis/fitness_v1/representations.rb +18 -18
- data/generated/google/apis/fitness_v1/service.rb +6 -5
- data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
- data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
- data/generated/google/apis/fusiontables_v2/service.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -6
- data/generated/google/apis/games_management_v1management/representations.rb +6 -6
- data/generated/google/apis/games_management_v1management/service.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +47 -47
- data/generated/google/apis/games_v1/representations.rb +47 -47
- data/generated/google/apis/games_v1/service.rb +58 -57
- data/generated/google/apis/genomics_v1.rb +6 -6
- data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
- data/generated/google/apis/genomics_v1/representations.rb +487 -487
- data/generated/google/apis/genomics_v1/service.rb +1188 -1187
- data/generated/google/apis/gmail_v1/classes.rb +11 -11
- data/generated/google/apis/gmail_v1/representations.rb +11 -11
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -0
- data/generated/google/apis/iam_v1/classes.rb +437 -437
- data/generated/google/apis/iam_v1/representations.rb +95 -95
- data/generated/google/apis/iam_v1/service.rb +87 -86
- data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
- data/generated/google/apis/kgsearch_v1/service.rb +9 -8
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +245 -245
- data/generated/google/apis/language_v1/representations.rb +65 -65
- data/generated/google/apis/language_v1/service.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +277 -277
- data/generated/google/apis/language_v1beta1/representations.rb +83 -83
- data/generated/google/apis/language_v1beta1/service.rb +31 -30
- data/generated/google/apis/licensing_v1/service.rb +1 -0
- data/generated/google/apis/logging_v2/classes.rb +408 -408
- data/generated/google/apis/logging_v2/representations.rb +93 -93
- data/generated/google/apis/logging_v2/service.rb +408 -407
- data/generated/google/apis/logging_v2beta1.rb +3 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
- data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
- data/generated/google/apis/logging_v2beta1/service.rb +89 -88
- data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
- data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
- data/generated/google/apis/manufacturers_v1/service.rb +1 -0
- data/generated/google/apis/mirror_v1/service.rb +1 -0
- data/generated/google/apis/ml_v1/classes.rb +1185 -1185
- data/generated/google/apis/ml_v1/representations.rb +171 -171
- data/generated/google/apis/ml_v1/service.rb +282 -281
- data/generated/google/apis/monitoring_v3.rb +3 -3
- data/generated/google/apis/monitoring_v3/classes.rb +334 -334
- data/generated/google/apis/monitoring_v3/representations.rb +86 -86
- data/generated/google/apis/monitoring_v3/service.rb +344 -343
- data/generated/google/apis/mybusiness_v3/service.rb +1 -0
- data/generated/google/apis/oauth2_v2/service.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
- data/generated/google/apis/partners_v2/classes.rb +1466 -1466
- data/generated/google/apis/partners_v2/representations.rb +371 -371
- data/generated/google/apis/partners_v2/service.rb +530 -529
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +1009 -1009
- data/generated/google/apis/people_v1/representations.rb +249 -249
- data/generated/google/apis/people_v1/service.rb +13 -12
- data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
- data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -0
- data/generated/google/apis/plus_v1/service.rb +1 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
- data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
- data/generated/google/apis/prediction_v1_6/service.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
- data/generated/google/apis/pubsub_v1/classes.rb +99 -99
- data/generated/google/apis/pubsub_v1/representations.rb +25 -25
- data/generated/google/apis/pubsub_v1/service.rb +236 -235
- data/generated/google/apis/qpx_express_v1/service.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
- data/generated/google/apis/reseller_v1/classes.rb +5 -5
- data/generated/google/apis/reseller_v1/representations.rb +5 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
- data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
- data/generated/google/apis/script_v1.rb +18 -18
- data/generated/google/apis/script_v1/classes.rb +84 -84
- data/generated/google/apis/script_v1/representations.rb +18 -18
- data/generated/google/apis/script_v1/service.rb +11 -10
- data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +11 -10
- data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
- data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
- data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
- data/generated/google/apis/servicemanagement_v1.rb +3 -3
- data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
- data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
- data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
- data/generated/google/apis/serviceuser_v1.rb +3 -3
- data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
- data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
- data/generated/google/apis/serviceuser_v1/service.rb +47 -46
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
- data/generated/google/apis/sheets_v4/representations.rb +859 -859
- data/generated/google/apis/sheets_v4/service.rb +180 -179
- data/generated/google/apis/site_verification_v1/service.rb +1 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2856 -2856
- data/generated/google/apis/slides_v1/representations.rb +683 -683
- data/generated/google/apis/slides_v1/service.rb +27 -26
- data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
- data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
- data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
- data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +374 -373
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
- data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
- data/generated/google/apis/speech_v1beta1/service.rb +27 -26
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -11
- data/generated/google/apis/storage_v1/representations.rb +11 -11
- data/generated/google/apis/storage_v1/service.rb +65 -64
- data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
- data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
- data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
- data/generated/google/apis/surveys_v2/classes.rb +4 -4
- data/generated/google/apis/surveys_v2/representations.rb +4 -4
- data/generated/google/apis/surveys_v2/service.rb +1 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
- data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
- data/generated/google/apis/tagmanager_v1/service.rb +1 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
- data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
- data/generated/google/apis/tagmanager_v2/service.rb +1 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
- data/generated/google/apis/tasks_v1/service.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
- data/generated/google/apis/tracing_v1/classes.rb +421 -421
- data/generated/google/apis/tracing_v1/representations.rb +86 -86
- data/generated/google/apis/tracing_v1/service.rb +60 -59
- data/generated/google/apis/translate_v2/service.rb +1 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
- data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
- data/generated/google/apis/urlshortener_v1/service.rb +1 -0
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +184 -184
- data/generated/google/apis/vision_v1/service.rb +11 -10
- data/generated/google/apis/webfonts_v1/service.rb +1 -0
- data/generated/google/apis/webmasters_v3/classes.rb +5 -5
- data/generated/google/apis/webmasters_v3/representations.rb +5 -5
- data/generated/google/apis/webmasters_v3/service.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
- data/generated/google/apis/youtube_v3/classes.rb +31 -31
- data/generated/google/apis/youtube_v3/representations.rb +31 -31
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
- data/google-api-client.gemspec +4 -6
- data/lib/google/apis/core/api_command.rb +8 -3
- data/lib/google/apis/core/base_service.rb +47 -18
- data/lib/google/apis/core/batch.rb +13 -18
- data/lib/google/apis/core/composite_io.rb +97 -0
- data/lib/google/apis/core/download.rb +24 -20
- data/lib/google/apis/core/http_command.rb +49 -38
- data/lib/google/apis/core/json_representation.rb +5 -1
- data/lib/google/apis/core/multipart.rb +43 -95
- data/lib/google/apis/core/upload.rb +59 -84
- data/lib/google/apis/generator/model.rb +2 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
- data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
- data/lib/google/apis/options.rb +24 -12
- data/lib/google/apis/version.rb +1 -1
- data/samples/web/Gemfile +0 -1
- metadata +39 -37
- data/lib/google/apis/core/http_client_adapter.rb +0 -82
- data/third_party/hurley_patches.rb +0 -103
@@ -51,6 +51,7 @@ module Google
|
|
51
51
|
|
52
52
|
def initialize
|
53
53
|
super('https://www.googleapis.com/', 'civicinfo/v2/')
|
54
|
+
@batch_path = 'batch'
|
54
55
|
end
|
55
56
|
|
56
57
|
# Searches for political divisions by their natural name or OCD ID.
|
@@ -134,7 +135,7 @@ module Google
|
|
134
135
|
# @param [String] address
|
135
136
|
# The registered address of the voter to look up.
|
136
137
|
# @param [Google::Apis::CivicinfoV2::VoterInfoRequest] voter_info_request_object
|
137
|
-
# @param [
|
138
|
+
# @param [Fixnum] election_id
|
138
139
|
# The unique ID of the election to look up. A list of election IDs can be
|
139
140
|
# obtained at https://www.googleapis.com/civicinfo/`version`/elections
|
140
141
|
# @param [Boolean] official_only
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/container-builder/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20170403'
|
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'
|
@@ -22,59 +22,125 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudbuildV1
|
24
24
|
|
25
|
-
#
|
26
|
-
#
|
27
|
-
|
28
|
-
# service Foo `
|
29
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
30
|
-
# `
|
31
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
32
|
-
class Empty
|
25
|
+
# Source describes the location of the source in a supported storage
|
26
|
+
# service.
|
27
|
+
class Source
|
33
28
|
include Google::Apis::Core::Hashable
|
34
29
|
|
30
|
+
# StorageSource describes the location of the source in an archive file in
|
31
|
+
# Google Cloud Storage.
|
32
|
+
# Corresponds to the JSON property `storageSource`
|
33
|
+
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
34
|
+
attr_accessor :storage_source
|
35
|
+
|
36
|
+
# RepoSource describes the location of the source in a Google Cloud Source
|
37
|
+
# Repository.
|
38
|
+
# Corresponds to the JSON property `repoSource`
|
39
|
+
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
40
|
+
attr_accessor :repo_source
|
41
|
+
|
35
42
|
def initialize(**args)
|
36
43
|
update!(**args)
|
37
44
|
end
|
38
45
|
|
39
46
|
# Update properties of this object
|
40
47
|
def update!(**args)
|
48
|
+
@storage_source = args[:storage_source] if args.key?(:storage_source)
|
49
|
+
@repo_source = args[:repo_source] if args.key?(:repo_source)
|
41
50
|
end
|
42
51
|
end
|
43
52
|
|
44
|
-
#
|
45
|
-
|
46
|
-
class BuildTrigger
|
53
|
+
# Optional arguments to enable specific features of builds.
|
54
|
+
class BuildOptions
|
47
55
|
include Google::Apis::Core::Hashable
|
48
56
|
|
49
|
-
#
|
50
|
-
# Corresponds to the JSON property `
|
51
|
-
# @return [Boolean]
|
52
|
-
attr_accessor :disabled
|
53
|
-
alias_method :disabled?, :disabled
|
54
|
-
|
55
|
-
# Time when the trigger was created.
|
56
|
-
# @OutputOnly
|
57
|
-
# Corresponds to the JSON property `createTime`
|
57
|
+
# Requested verifiability options.
|
58
|
+
# Corresponds to the JSON property `requestedVerifyOption`
|
58
59
|
# @return [String]
|
59
|
-
attr_accessor :
|
60
|
+
attr_accessor :requested_verify_option
|
60
61
|
|
61
|
-
#
|
62
|
-
#
|
63
|
-
#
|
64
|
-
|
65
|
-
attr_accessor :trigger_template
|
62
|
+
# Requested hash for SourceProvenance.
|
63
|
+
# Corresponds to the JSON property `sourceProvenanceHash`
|
64
|
+
# @return [Array<String>]
|
65
|
+
attr_accessor :source_provenance_hash
|
66
66
|
|
67
|
-
|
68
|
-
|
69
|
-
|
67
|
+
def initialize(**args)
|
68
|
+
update!(**args)
|
69
|
+
end
|
70
|
+
|
71
|
+
# Update properties of this object
|
72
|
+
def update!(**args)
|
73
|
+
@requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
|
74
|
+
@source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
# StorageSource describes the location of the source in an archive file in
|
79
|
+
# Google Cloud Storage.
|
80
|
+
class StorageSource
|
81
|
+
include Google::Apis::Core::Hashable
|
82
|
+
|
83
|
+
# Google Cloud Storage generation for the object. If the generation is
|
84
|
+
# omitted, the latest generation will be used.
|
85
|
+
# Corresponds to the JSON property `generation`
|
86
|
+
# @return [Fixnum]
|
87
|
+
attr_accessor :generation
|
88
|
+
|
89
|
+
# Google Cloud Storage bucket containing source (see
|
90
|
+
# [Bucket Name
|
91
|
+
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
92
|
+
# ).
|
93
|
+
# Corresponds to the JSON property `bucket`
|
70
94
|
# @return [String]
|
71
|
-
attr_accessor :
|
95
|
+
attr_accessor :bucket
|
72
96
|
|
73
|
-
#
|
74
|
-
#
|
75
|
-
#
|
97
|
+
# Google Cloud Storage object containing source.
|
98
|
+
# This object must be a gzipped archive file (.tar.gz) containing source to
|
99
|
+
# build.
|
100
|
+
# Corresponds to the JSON property `object`
|
76
101
|
# @return [String]
|
77
|
-
attr_accessor :
|
102
|
+
attr_accessor :object
|
103
|
+
|
104
|
+
def initialize(**args)
|
105
|
+
update!(**args)
|
106
|
+
end
|
107
|
+
|
108
|
+
# Update properties of this object
|
109
|
+
def update!(**args)
|
110
|
+
@generation = args[:generation] if args.key?(:generation)
|
111
|
+
@bucket = args[:bucket] if args.key?(:bucket)
|
112
|
+
@object = args[:object] if args.key?(:object)
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
# Results describes the artifacts created by the build pipeline.
|
117
|
+
class Results
|
118
|
+
include Google::Apis::Core::Hashable
|
119
|
+
|
120
|
+
# Images that were built as a part of the build.
|
121
|
+
# Corresponds to the JSON property `images`
|
122
|
+
# @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
|
123
|
+
attr_accessor :images
|
124
|
+
|
125
|
+
# List of build step digests, in order corresponding to build step indices.
|
126
|
+
# Corresponds to the JSON property `buildStepImages`
|
127
|
+
# @return [Array<String>]
|
128
|
+
attr_accessor :build_step_images
|
129
|
+
|
130
|
+
def initialize(**args)
|
131
|
+
update!(**args)
|
132
|
+
end
|
133
|
+
|
134
|
+
# Update properties of this object
|
135
|
+
def update!(**args)
|
136
|
+
@images = args[:images] if args.key?(:images)
|
137
|
+
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
# Metadata for build operations.
|
142
|
+
class BuildOperationMetadata
|
143
|
+
include Google::Apis::Core::Hashable
|
78
144
|
|
79
145
|
# A build resource in the Container Builder API.
|
80
146
|
# At a high level, a Build describes where to find source code, how to build
|
@@ -93,164 +159,78 @@ module Google
|
|
93
159
|
# @return [Google::Apis::CloudbuildV1::Build]
|
94
160
|
attr_accessor :build
|
95
161
|
|
96
|
-
# Substitutions data for Build resource.
|
97
|
-
# Corresponds to the JSON property `substitutions`
|
98
|
-
# @return [Hash<String,String>]
|
99
|
-
attr_accessor :substitutions
|
100
|
-
|
101
|
-
# Human-readable description of this trigger.
|
102
|
-
# Corresponds to the JSON property `description`
|
103
|
-
# @return [String]
|
104
|
-
attr_accessor :description
|
105
|
-
|
106
162
|
def initialize(**args)
|
107
163
|
update!(**args)
|
108
164
|
end
|
109
165
|
|
110
166
|
# Update properties of this object
|
111
167
|
def update!(**args)
|
112
|
-
@disabled = args[:disabled] if args.key?(:disabled)
|
113
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
114
|
-
@trigger_template = args[:trigger_template] if args.key?(:trigger_template)
|
115
|
-
@filename = args[:filename] if args.key?(:filename)
|
116
|
-
@id = args[:id] if args.key?(:id)
|
117
168
|
@build = args[:build] if args.key?(:build)
|
118
|
-
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
119
|
-
@description = args[:description] if args.key?(:description)
|
120
169
|
end
|
121
170
|
end
|
122
171
|
|
123
|
-
#
|
124
|
-
#
|
125
|
-
|
126
|
-
# apply to the built image when it is pushed to Google Container Registry.
|
127
|
-
# Fields can include the following variables which will be expanded when the
|
128
|
-
# build is created:
|
129
|
-
# - $PROJECT_ID: the project ID of the build.
|
130
|
-
# - $BUILD_ID: the autogenerated ID of the build.
|
131
|
-
# - $REPO_NAME: the source repository name specified by RepoSource.
|
132
|
-
# - $BRANCH_NAME: the branch name specified by RepoSource.
|
133
|
-
# - $TAG_NAME: the tag name specified by RepoSource.
|
134
|
-
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
|
135
|
-
# resolved from the specified branch or tag.
|
136
|
-
class Build
|
172
|
+
# Provenance of the source. Ways to find the original source, or verify that
|
173
|
+
# some source was used for this build.
|
174
|
+
class SourceProvenance
|
137
175
|
include Google::Apis::Core::Hashable
|
138
176
|
|
139
|
-
#
|
140
|
-
#
|
141
|
-
#
|
142
|
-
|
143
|
-
|
144
|
-
# Source describes the location of the source in a supported storage
|
145
|
-
# service.
|
146
|
-
# Corresponds to the JSON property `source`
|
147
|
-
# @return [Google::Apis::CloudbuildV1::Source]
|
148
|
-
attr_accessor :source
|
177
|
+
# StorageSource describes the location of the source in an archive file in
|
178
|
+
# Google Cloud Storage.
|
179
|
+
# Corresponds to the JSON property `resolvedStorageSource`
|
180
|
+
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
181
|
+
attr_accessor :resolved_storage_source
|
149
182
|
|
150
|
-
#
|
183
|
+
# Hash(es) of the build source, which can be used to verify that the original
|
184
|
+
# source integrity was maintained in the build. Note that FileHashes will
|
185
|
+
# only be populated if BuildOptions has requested a SourceProvenanceHash.
|
186
|
+
# The keys to this map are file paths used as build source and the values
|
187
|
+
# contain the hash values for those files.
|
188
|
+
# If the build source came in a single package such as a gzipped tarfile
|
189
|
+
# (.tar.gz), the FileHash will be for the single path to that file.
|
151
190
|
# @OutputOnly
|
152
|
-
# Corresponds to the JSON property `
|
153
|
-
# @return [String]
|
154
|
-
attr_accessor :
|
191
|
+
# Corresponds to the JSON property `fileHashes`
|
192
|
+
# @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
|
193
|
+
attr_accessor :file_hashes
|
155
194
|
|
156
|
-
#
|
157
|
-
#
|
158
|
-
# Corresponds to the JSON property `
|
159
|
-
# @return [
|
160
|
-
attr_accessor :
|
195
|
+
# RepoSource describes the location of the source in a Google Cloud Source
|
196
|
+
# Repository.
|
197
|
+
# Corresponds to the JSON property `resolvedRepoSource`
|
198
|
+
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
199
|
+
attr_accessor :resolved_repo_source
|
161
200
|
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
# Default time is ten minutes.
|
166
|
-
# Corresponds to the JSON property `timeout`
|
167
|
-
# @return [String]
|
168
|
-
attr_accessor :timeout
|
201
|
+
def initialize(**args)
|
202
|
+
update!(**args)
|
203
|
+
end
|
169
204
|
|
170
|
-
#
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
attr_accessor :logs_bucket
|
205
|
+
# Update properties of this object
|
206
|
+
def update!(**args)
|
207
|
+
@resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
|
208
|
+
@file_hashes = args[:file_hashes] if args.key?(:file_hashes)
|
209
|
+
@resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
|
210
|
+
end
|
211
|
+
end
|
178
212
|
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
attr_accessor :results
|
213
|
+
# The request message for Operations.CancelOperation.
|
214
|
+
class CancelOperationRequest
|
215
|
+
include Google::Apis::Core::Hashable
|
183
216
|
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
attr_accessor :steps
|
217
|
+
def initialize(**args)
|
218
|
+
update!(**args)
|
219
|
+
end
|
188
220
|
|
189
|
-
#
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
# @return [String]
|
194
|
-
attr_accessor :build_trigger_id
|
221
|
+
# Update properties of this object
|
222
|
+
def update!(**args)
|
223
|
+
end
|
224
|
+
end
|
195
225
|
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
# @return [String]
|
200
|
-
attr_accessor :id
|
201
|
-
|
202
|
-
# Time at which execution of the build was started.
|
203
|
-
# @OutputOnly
|
204
|
-
# Corresponds to the JSON property `startTime`
|
205
|
-
# @return [String]
|
206
|
-
attr_accessor :start_time
|
207
|
-
|
208
|
-
# Substitutions data for Build resource.
|
209
|
-
# Corresponds to the JSON property `substitutions`
|
210
|
-
# @return [Hash<String,String>]
|
211
|
-
attr_accessor :substitutions
|
212
|
-
|
213
|
-
# Time at which the request to create the build was received.
|
214
|
-
# @OutputOnly
|
215
|
-
# Corresponds to the JSON property `createTime`
|
216
|
-
# @return [String]
|
217
|
-
attr_accessor :create_time
|
218
|
-
|
219
|
-
# Provenance of the source. Ways to find the original source, or verify that
|
220
|
-
# some source was used for this build.
|
221
|
-
# Corresponds to the JSON property `sourceProvenance`
|
222
|
-
# @return [Google::Apis::CloudbuildV1::SourceProvenance]
|
223
|
-
attr_accessor :source_provenance
|
224
|
-
|
225
|
-
# A list of images to be pushed upon the successful completion of all build
|
226
|
-
# steps.
|
227
|
-
# The images will be pushed using the builder service account's credentials.
|
228
|
-
# The digests of the pushed images will be stored in the Build resource's
|
229
|
-
# results field.
|
230
|
-
# If any of the images fail to be pushed, the build is marked FAILURE.
|
231
|
-
# Corresponds to the JSON property `images`
|
232
|
-
# @return [Array<String>]
|
233
|
-
attr_accessor :images
|
234
|
-
|
235
|
-
# ID of the project.
|
236
|
-
# @OutputOnly.
|
237
|
-
# Corresponds to the JSON property `projectId`
|
238
|
-
# @return [String]
|
239
|
-
attr_accessor :project_id
|
240
|
-
|
241
|
-
# Time at which execution of the build was finished.
|
242
|
-
# The difference between finish_time and start_time is the duration of the
|
243
|
-
# build's execution.
|
244
|
-
# @OutputOnly
|
245
|
-
# Corresponds to the JSON property `finishTime`
|
246
|
-
# @return [String]
|
247
|
-
attr_accessor :finish_time
|
226
|
+
# Response containing existing BuildTriggers.
|
227
|
+
class ListBuildTriggersResponse
|
228
|
+
include Google::Apis::Core::Hashable
|
248
229
|
|
249
|
-
#
|
250
|
-
#
|
251
|
-
#
|
252
|
-
|
253
|
-
attr_accessor :log_url
|
230
|
+
# BuildTriggers for the project, sorted by create_time descending.
|
231
|
+
# Corresponds to the JSON property `triggers`
|
232
|
+
# @return [Array<Google::Apis::CloudbuildV1::BuildTrigger>]
|
233
|
+
attr_accessor :triggers
|
254
234
|
|
255
235
|
def initialize(**args)
|
256
236
|
update!(**args)
|
@@ -258,53 +238,92 @@ module Google
|
|
258
238
|
|
259
239
|
# Update properties of this object
|
260
240
|
def update!(**args)
|
261
|
-
@
|
262
|
-
@source = args[:source] if args.key?(:source)
|
263
|
-
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
264
|
-
@status = args[:status] if args.key?(:status)
|
265
|
-
@timeout = args[:timeout] if args.key?(:timeout)
|
266
|
-
@logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
|
267
|
-
@results = args[:results] if args.key?(:results)
|
268
|
-
@steps = args[:steps] if args.key?(:steps)
|
269
|
-
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
270
|
-
@id = args[:id] if args.key?(:id)
|
271
|
-
@start_time = args[:start_time] if args.key?(:start_time)
|
272
|
-
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
273
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
274
|
-
@source_provenance = args[:source_provenance] if args.key?(:source_provenance)
|
275
|
-
@images = args[:images] if args.key?(:images)
|
276
|
-
@project_id = args[:project_id] if args.key?(:project_id)
|
277
|
-
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
278
|
-
@log_url = args[:log_url] if args.key?(:log_url)
|
241
|
+
@triggers = args[:triggers] if args.key?(:triggers)
|
279
242
|
end
|
280
243
|
end
|
281
244
|
|
282
|
-
#
|
283
|
-
|
245
|
+
# This resource represents a long-running operation that is the result of a
|
246
|
+
# network API call.
|
247
|
+
class Operation
|
284
248
|
include Google::Apis::Core::Hashable
|
285
249
|
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
#
|
291
|
-
|
292
|
-
|
293
|
-
end
|
250
|
+
# If the value is `false`, it means the operation is still in progress.
|
251
|
+
# If true, the operation is completed, and either `error` or `response` is
|
252
|
+
# available.
|
253
|
+
# Corresponds to the JSON property `done`
|
254
|
+
# @return [Boolean]
|
255
|
+
attr_accessor :done
|
256
|
+
alias_method :done?, :done
|
294
257
|
|
295
|
-
|
296
|
-
|
297
|
-
|
258
|
+
# The normal response of the operation in case of success. If the original
|
259
|
+
# method returns no data on success, such as `Delete`, the response is
|
260
|
+
# `google.protobuf.Empty`. If the original method is standard
|
261
|
+
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
262
|
+
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
263
|
+
# is the original method name. For example, if the original method name
|
264
|
+
# is `TakeSnapshot()`, the inferred response type is
|
265
|
+
# `TakeSnapshotResponse`.
|
266
|
+
# Corresponds to the JSON property `response`
|
267
|
+
# @return [Hash<String,Object>]
|
268
|
+
attr_accessor :response
|
298
269
|
|
299
|
-
#
|
300
|
-
#
|
270
|
+
# The server-assigned name, which is only unique within the same service that
|
271
|
+
# originally returns it. If you use the default HTTP mapping, the
|
272
|
+
# `name` should have the format of `operations/some/unique/name`.
|
273
|
+
# Corresponds to the JSON property `name`
|
301
274
|
# @return [String]
|
302
|
-
attr_accessor :
|
275
|
+
attr_accessor :name
|
303
276
|
|
304
|
-
#
|
305
|
-
#
|
306
|
-
#
|
307
|
-
|
277
|
+
# The `Status` type defines a logical error model that is suitable for different
|
278
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
279
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
280
|
+
# - Simple to use and understand for most users
|
281
|
+
# - Flexible enough to meet unexpected needs
|
282
|
+
# # Overview
|
283
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
284
|
+
# and error details. The error code should be an enum value of
|
285
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
286
|
+
# error message should be a developer-facing English message that helps
|
287
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
288
|
+
# error message is needed, put the localized message in the error details or
|
289
|
+
# localize it in the client. The optional error details may contain arbitrary
|
290
|
+
# information about the error. There is a predefined set of error detail types
|
291
|
+
# in the package `google.rpc` which can be used for common error conditions.
|
292
|
+
# # Language mapping
|
293
|
+
# The `Status` message is the logical representation of the error model, but it
|
294
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
295
|
+
# exposed in different client libraries and different wire protocols, it can be
|
296
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
297
|
+
# in Java, but more likely mapped to some error codes in C.
|
298
|
+
# # Other uses
|
299
|
+
# The error model and the `Status` message can be used in a variety of
|
300
|
+
# environments, either with or without APIs, to provide a
|
301
|
+
# consistent developer experience across different environments.
|
302
|
+
# Example uses of this error model include:
|
303
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
304
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
305
|
+
# errors.
|
306
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
307
|
+
# have a `Status` message for error reporting purpose.
|
308
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
309
|
+
# `Status` message should be used directly inside batch response, one for
|
310
|
+
# each error sub-response.
|
311
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
312
|
+
# results in its response, the status of those operations should be
|
313
|
+
# represented directly using the `Status` message.
|
314
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
315
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
316
|
+
# Corresponds to the JSON property `error`
|
317
|
+
# @return [Google::Apis::CloudbuildV1::Status]
|
318
|
+
attr_accessor :error
|
319
|
+
|
320
|
+
# Service-specific metadata associated with the operation. It typically
|
321
|
+
# contains progress information and common metadata such as create time.
|
322
|
+
# Some services might not provide such metadata. Any method that returns a
|
323
|
+
# long-running operation should document the metadata type, if any.
|
324
|
+
# Corresponds to the JSON property `metadata`
|
325
|
+
# @return [Hash<String,Object>]
|
326
|
+
attr_accessor :metadata
|
308
327
|
|
309
328
|
def initialize(**args)
|
310
329
|
update!(**args)
|
@@ -312,24 +331,28 @@ module Google
|
|
312
331
|
|
313
332
|
# Update properties of this object
|
314
333
|
def update!(**args)
|
315
|
-
@
|
316
|
-
@
|
334
|
+
@done = args[:done] if args.key?(:done)
|
335
|
+
@response = args[:response] if args.key?(:response)
|
336
|
+
@name = args[:name] if args.key?(:name)
|
337
|
+
@error = args[:error] if args.key?(:error)
|
338
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
317
339
|
end
|
318
340
|
end
|
319
341
|
|
320
|
-
#
|
321
|
-
class
|
342
|
+
# BuiltImage describes an image built by the pipeline.
|
343
|
+
class BuiltImage
|
322
344
|
include Google::Apis::Core::Hashable
|
323
345
|
|
324
|
-
#
|
325
|
-
#
|
346
|
+
# Name used to push the container image to Google Container Registry, as
|
347
|
+
# presented to `docker push`.
|
348
|
+
# Corresponds to the JSON property `name`
|
326
349
|
# @return [String]
|
327
|
-
attr_accessor :
|
350
|
+
attr_accessor :name
|
328
351
|
|
329
|
-
#
|
330
|
-
# Corresponds to the JSON property `
|
331
|
-
# @return [
|
332
|
-
attr_accessor :
|
352
|
+
# Docker Registry 2.0 digest.
|
353
|
+
# Corresponds to the JSON property `digest`
|
354
|
+
# @return [String]
|
355
|
+
attr_accessor :digest
|
333
356
|
|
334
357
|
def initialize(**args)
|
335
358
|
update!(**args)
|
@@ -337,52 +360,75 @@ module Google
|
|
337
360
|
|
338
361
|
# Update properties of this object
|
339
362
|
def update!(**args)
|
340
|
-
@
|
341
|
-
@
|
363
|
+
@name = args[:name] if args.key?(:name)
|
364
|
+
@digest = args[:digest] if args.key?(:digest)
|
342
365
|
end
|
343
366
|
end
|
344
367
|
|
345
|
-
#
|
346
|
-
|
347
|
-
class Source
|
368
|
+
# BuildStep describes a step to perform in the build pipeline.
|
369
|
+
class BuildStep
|
348
370
|
include Google::Apis::Core::Hashable
|
349
371
|
|
350
|
-
#
|
351
|
-
#
|
352
|
-
# Corresponds to the JSON property `
|
353
|
-
# @return [
|
354
|
-
attr_accessor :
|
355
|
-
|
356
|
-
# RepoSource describes the location of the source in a Google Cloud Source
|
357
|
-
# Repository.
|
358
|
-
# Corresponds to the JSON property `repoSource`
|
359
|
-
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
360
|
-
attr_accessor :repo_source
|
372
|
+
# Optional entrypoint to be used instead of the build step image's default
|
373
|
+
# If unset, the image's default will be used.
|
374
|
+
# Corresponds to the JSON property `entrypoint`
|
375
|
+
# @return [String]
|
376
|
+
attr_accessor :entrypoint
|
361
377
|
|
362
|
-
|
363
|
-
|
364
|
-
|
378
|
+
# Optional unique identifier for this build step, used in wait_for to
|
379
|
+
# reference this build step as a dependency.
|
380
|
+
# Corresponds to the JSON property `id`
|
381
|
+
# @return [String]
|
382
|
+
attr_accessor :id
|
365
383
|
|
366
|
-
#
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
end
|
384
|
+
# Working directory (relative to project source root) to use when running
|
385
|
+
# this operation's container.
|
386
|
+
# Corresponds to the JSON property `dir`
|
387
|
+
# @return [String]
|
388
|
+
attr_accessor :dir
|
372
389
|
|
373
|
-
|
374
|
-
|
375
|
-
|
390
|
+
# A list of environment variable definitions to be used when running a step.
|
391
|
+
# The elements are of the form "KEY=VALUE" for the environment variable "KEY"
|
392
|
+
# being given the value "VALUE".
|
393
|
+
# Corresponds to the JSON property `env`
|
394
|
+
# @return [Array<String>]
|
395
|
+
attr_accessor :env
|
376
396
|
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
|
397
|
+
# The ID(s) of the step(s) that this build step depends on.
|
398
|
+
# This build step will not start until all the build steps in wait_for
|
399
|
+
# have completed successfully. If wait_for is empty, this build step will
|
400
|
+
# start when all previous build steps in the Build.Steps list have completed
|
401
|
+
# successfully.
|
402
|
+
# Corresponds to the JSON property `waitFor`
|
403
|
+
# @return [Array<String>]
|
404
|
+
attr_accessor :wait_for
|
381
405
|
|
382
|
-
#
|
383
|
-
#
|
406
|
+
# A list of arguments that will be presented to the step when it is started.
|
407
|
+
# If the image used to run the step's container has an entrypoint, these args
|
408
|
+
# will be used as arguments to that entrypoint. If the image does not define
|
409
|
+
# an entrypoint, the first element in args will be used as the entrypoint,
|
410
|
+
# and the remainder will be used as arguments.
|
411
|
+
# Corresponds to the JSON property `args`
|
384
412
|
# @return [Array<String>]
|
385
|
-
attr_accessor :
|
413
|
+
attr_accessor :args
|
414
|
+
|
415
|
+
# The name of the container image that will run this particular build step.
|
416
|
+
# If the image is already available in the host's Docker daemon's cache, it
|
417
|
+
# will be run directly. If not, the host will attempt to pull the image
|
418
|
+
# first, using the builder service account's credentials if necessary.
|
419
|
+
# The Docker daemon's cache will already have the latest versions of all of
|
420
|
+
# the officially supported build steps
|
421
|
+
# ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/
|
422
|
+
# GoogleCloudPlatform/cloud-builders)).
|
423
|
+
# The Docker daemon will also have cached many of the layers for some popular
|
424
|
+
# images, like "ubuntu", "debian", but they will be refreshed at the time you
|
425
|
+
# attempt to use them.
|
426
|
+
# If you built an image in a previous build step, it will be stored in the
|
427
|
+
# host's Docker daemon's cache and is available to use as the name for a
|
428
|
+
# later build step.
|
429
|
+
# Corresponds to the JSON property `name`
|
430
|
+
# @return [String]
|
431
|
+
attr_accessor :name
|
386
432
|
|
387
433
|
def initialize(**args)
|
388
434
|
update!(**args)
|
@@ -390,36 +436,46 @@ module Google
|
|
390
436
|
|
391
437
|
# Update properties of this object
|
392
438
|
def update!(**args)
|
393
|
-
@
|
394
|
-
@
|
439
|
+
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
440
|
+
@id = args[:id] if args.key?(:id)
|
441
|
+
@dir = args[:dir] if args.key?(:dir)
|
442
|
+
@env = args[:env] if args.key?(:env)
|
443
|
+
@wait_for = args[:wait_for] if args.key?(:wait_for)
|
444
|
+
@args = args[:args] if args.key?(:args)
|
445
|
+
@name = args[:name] if args.key?(:name)
|
395
446
|
end
|
396
447
|
end
|
397
448
|
|
398
|
-
#
|
399
|
-
#
|
400
|
-
class
|
449
|
+
# RepoSource describes the location of the source in a Google Cloud Source
|
450
|
+
# Repository.
|
451
|
+
class RepoSource
|
401
452
|
include Google::Apis::Core::Hashable
|
402
453
|
|
403
|
-
#
|
404
|
-
#
|
405
|
-
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
406
|
-
# ).
|
407
|
-
# Corresponds to the JSON property `bucket`
|
454
|
+
# Name of the tag to build.
|
455
|
+
# Corresponds to the JSON property `tagName`
|
408
456
|
# @return [String]
|
409
|
-
attr_accessor :
|
457
|
+
attr_accessor :tag_name
|
410
458
|
|
411
|
-
#
|
412
|
-
#
|
413
|
-
# build.
|
414
|
-
# Corresponds to the JSON property `object`
|
459
|
+
# Explicit commit SHA to build.
|
460
|
+
# Corresponds to the JSON property `commitSha`
|
415
461
|
# @return [String]
|
416
|
-
attr_accessor :
|
462
|
+
attr_accessor :commit_sha
|
417
463
|
|
418
|
-
#
|
419
|
-
#
|
420
|
-
# Corresponds to the JSON property `
|
464
|
+
# ID of the project that owns the repo. If omitted, the project ID requesting
|
465
|
+
# the build is assumed.
|
466
|
+
# Corresponds to the JSON property `projectId`
|
421
467
|
# @return [String]
|
422
|
-
attr_accessor :
|
468
|
+
attr_accessor :project_id
|
469
|
+
|
470
|
+
# Name of the repo. If omitted, the name "default" is assumed.
|
471
|
+
# Corresponds to the JSON property `repoName`
|
472
|
+
# @return [String]
|
473
|
+
attr_accessor :repo_name
|
474
|
+
|
475
|
+
# Name of the branch to build.
|
476
|
+
# Corresponds to the JSON property `branchName`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :branch_name
|
423
479
|
|
424
480
|
def initialize(**args)
|
425
481
|
update!(**args)
|
@@ -427,25 +483,28 @@ module Google
|
|
427
483
|
|
428
484
|
# Update properties of this object
|
429
485
|
def update!(**args)
|
430
|
-
@
|
431
|
-
@
|
432
|
-
@
|
486
|
+
@tag_name = args[:tag_name] if args.key?(:tag_name)
|
487
|
+
@commit_sha = args[:commit_sha] if args.key?(:commit_sha)
|
488
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
489
|
+
@repo_name = args[:repo_name] if args.key?(:repo_name)
|
490
|
+
@branch_name = args[:branch_name] if args.key?(:branch_name)
|
433
491
|
end
|
434
492
|
end
|
435
493
|
|
436
|
-
#
|
437
|
-
class
|
494
|
+
# Container message for hash values.
|
495
|
+
class HashProp
|
438
496
|
include Google::Apis::Core::Hashable
|
439
497
|
|
440
|
-
#
|
441
|
-
# Corresponds to the JSON property `
|
442
|
-
# @return [
|
443
|
-
attr_accessor :
|
498
|
+
# The type of hash that was performed.
|
499
|
+
# Corresponds to the JSON property `type`
|
500
|
+
# @return [String]
|
501
|
+
attr_accessor :type
|
444
502
|
|
445
|
-
#
|
446
|
-
# Corresponds to the JSON property `
|
447
|
-
#
|
448
|
-
|
503
|
+
# The hash value.
|
504
|
+
# Corresponds to the JSON property `value`
|
505
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
506
|
+
# @return [String]
|
507
|
+
attr_accessor :value
|
449
508
|
|
450
509
|
def initialize(**args)
|
451
510
|
update!(**args)
|
@@ -453,31 +512,20 @@ module Google
|
|
453
512
|
|
454
513
|
# Update properties of this object
|
455
514
|
def update!(**args)
|
456
|
-
@
|
457
|
-
@
|
515
|
+
@type = args[:type] if args.key?(:type)
|
516
|
+
@value = args[:value] if args.key?(:value)
|
458
517
|
end
|
459
518
|
end
|
460
519
|
|
461
|
-
#
|
462
|
-
|
520
|
+
# Container message for hashes of byte content of files, used in
|
521
|
+
# SourceProvenance messages to verify integrity of source input to the build.
|
522
|
+
class FileHashes
|
463
523
|
include Google::Apis::Core::Hashable
|
464
524
|
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
|
469
|
-
# Fields can include the following variables which will be expanded when the
|
470
|
-
# build is created:
|
471
|
-
# - $PROJECT_ID: the project ID of the build.
|
472
|
-
# - $BUILD_ID: the autogenerated ID of the build.
|
473
|
-
# - $REPO_NAME: the source repository name specified by RepoSource.
|
474
|
-
# - $BRANCH_NAME: the branch name specified by RepoSource.
|
475
|
-
# - $TAG_NAME: the tag name specified by RepoSource.
|
476
|
-
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
|
477
|
-
# resolved from the specified branch or tag.
|
478
|
-
# Corresponds to the JSON property `build`
|
479
|
-
# @return [Google::Apis::CloudbuildV1::Build]
|
480
|
-
attr_accessor :build
|
525
|
+
# Collection of file hashes.
|
526
|
+
# Corresponds to the JSON property `fileHash`
|
527
|
+
# @return [Array<Google::Apis::CloudbuildV1::HashProp>]
|
528
|
+
attr_accessor :file_hash
|
481
529
|
|
482
530
|
def initialize(**args)
|
483
531
|
update!(**args)
|
@@ -485,38 +533,69 @@ module Google
|
|
485
533
|
|
486
534
|
# Update properties of this object
|
487
535
|
def update!(**args)
|
488
|
-
@
|
536
|
+
@file_hash = args[:file_hash] if args.key?(:file_hash)
|
489
537
|
end
|
490
538
|
end
|
491
539
|
|
492
|
-
#
|
493
|
-
#
|
494
|
-
|
540
|
+
# The `Status` type defines a logical error model that is suitable for different
|
541
|
+
# programming environments, including REST APIs and RPC APIs. It is used by
|
542
|
+
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
543
|
+
# - Simple to use and understand for most users
|
544
|
+
# - Flexible enough to meet unexpected needs
|
545
|
+
# # Overview
|
546
|
+
# The `Status` message contains three pieces of data: error code, error message,
|
547
|
+
# and error details. The error code should be an enum value of
|
548
|
+
# google.rpc.Code, but it may accept additional error codes if needed. The
|
549
|
+
# error message should be a developer-facing English message that helps
|
550
|
+
# developers *understand* and *resolve* the error. If a localized user-facing
|
551
|
+
# error message is needed, put the localized message in the error details or
|
552
|
+
# localize it in the client. The optional error details may contain arbitrary
|
553
|
+
# information about the error. There is a predefined set of error detail types
|
554
|
+
# in the package `google.rpc` which can be used for common error conditions.
|
555
|
+
# # Language mapping
|
556
|
+
# The `Status` message is the logical representation of the error model, but it
|
557
|
+
# is not necessarily the actual wire format. When the `Status` message is
|
558
|
+
# exposed in different client libraries and different wire protocols, it can be
|
559
|
+
# mapped differently. For example, it will likely be mapped to some exceptions
|
560
|
+
# in Java, but more likely mapped to some error codes in C.
|
561
|
+
# # Other uses
|
562
|
+
# The error model and the `Status` message can be used in a variety of
|
563
|
+
# environments, either with or without APIs, to provide a
|
564
|
+
# consistent developer experience across different environments.
|
565
|
+
# Example uses of this error model include:
|
566
|
+
# - Partial errors. If a service needs to return partial errors to the client,
|
567
|
+
# it may embed the `Status` in the normal response to indicate the partial
|
568
|
+
# errors.
|
569
|
+
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
570
|
+
# have a `Status` message for error reporting purpose.
|
571
|
+
# - Batch operations. If a client uses batch request and batch response, the
|
572
|
+
# `Status` message should be used directly inside batch response, one for
|
573
|
+
# each error sub-response.
|
574
|
+
# - Asynchronous operations. If an API call embeds asynchronous operation
|
575
|
+
# results in its response, the status of those operations should be
|
576
|
+
# represented directly using the `Status` message.
|
577
|
+
# - Logging. If some API errors are stored in logs, the message `Status` could
|
578
|
+
# be used directly after any stripping needed for security/privacy reasons.
|
579
|
+
class Status
|
495
580
|
include Google::Apis::Core::Hashable
|
496
581
|
|
497
|
-
#
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
|
503
|
-
# (.tar.gz), the FileHash will be for the single path to that file.
|
504
|
-
# @OutputOnly
|
505
|
-
# Corresponds to the JSON property `fileHashes`
|
506
|
-
# @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
|
507
|
-
attr_accessor :file_hashes
|
582
|
+
# A developer-facing error message, which should be in English. Any
|
583
|
+
# user-facing error message should be localized and sent in the
|
584
|
+
# google.rpc.Status.details field, or localized by the client.
|
585
|
+
# Corresponds to the JSON property `message`
|
586
|
+
# @return [String]
|
587
|
+
attr_accessor :message
|
508
588
|
|
509
|
-
#
|
510
|
-
#
|
511
|
-
# Corresponds to the JSON property `
|
512
|
-
# @return [
|
513
|
-
attr_accessor :
|
589
|
+
# A list of messages that carry the error details. There will be a
|
590
|
+
# common set of message types for APIs to use.
|
591
|
+
# Corresponds to the JSON property `details`
|
592
|
+
# @return [Array<Hash<String,Object>>]
|
593
|
+
attr_accessor :details
|
514
594
|
|
515
|
-
#
|
516
|
-
#
|
517
|
-
#
|
518
|
-
|
519
|
-
attr_accessor :resolved_storage_source
|
595
|
+
# The status code, which should be an enum value of google.rpc.Code.
|
596
|
+
# Corresponds to the JSON property `code`
|
597
|
+
# @return [Fixnum]
|
598
|
+
attr_accessor :code
|
520
599
|
|
521
600
|
def initialize(**args)
|
522
601
|
update!(**args)
|
@@ -524,14 +603,20 @@ module Google
|
|
524
603
|
|
525
604
|
# Update properties of this object
|
526
605
|
def update!(**args)
|
527
|
-
@
|
528
|
-
@
|
529
|
-
@
|
606
|
+
@message = args[:message] if args.key?(:message)
|
607
|
+
@details = args[:details] if args.key?(:details)
|
608
|
+
@code = args[:code] if args.key?(:code)
|
530
609
|
end
|
531
610
|
end
|
532
611
|
|
533
|
-
#
|
534
|
-
|
612
|
+
# A generic empty message that you can re-use to avoid defining duplicated
|
613
|
+
# empty messages in your APIs. A typical example is to use it as the request
|
614
|
+
# or the response type of an API method. For instance:
|
615
|
+
# service Foo `
|
616
|
+
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
617
|
+
# `
|
618
|
+
# The JSON representation for `Empty` is empty JSON object ````.
|
619
|
+
class Empty
|
535
620
|
include Google::Apis::Core::Hashable
|
536
621
|
|
537
622
|
def initialize(**args)
|
@@ -543,107 +628,67 @@ module Google
|
|
543
628
|
end
|
544
629
|
end
|
545
630
|
|
546
|
-
#
|
547
|
-
|
631
|
+
# Configuration for an automated build in response to source repository
|
632
|
+
# changes.
|
633
|
+
class BuildTrigger
|
548
634
|
include Google::Apis::Core::Hashable
|
549
635
|
|
550
|
-
#
|
551
|
-
#
|
552
|
-
#
|
553
|
-
|
636
|
+
# Unique identifier of the trigger.
|
637
|
+
# @OutputOnly
|
638
|
+
# Corresponds to the JSON property `id`
|
639
|
+
# @return [String]
|
640
|
+
attr_accessor :id
|
554
641
|
|
555
|
-
|
556
|
-
|
557
|
-
|
642
|
+
# A build resource in the Container Builder API.
|
643
|
+
# At a high level, a Build describes where to find source code, how to build
|
644
|
+
# it (for example, the builder image to run on the source), and what tag to
|
645
|
+
# apply to the built image when it is pushed to Google Container Registry.
|
646
|
+
# Fields can include the following variables which will be expanded when the
|
647
|
+
# build is created:
|
648
|
+
# - $PROJECT_ID: the project ID of the build.
|
649
|
+
# - $BUILD_ID: the autogenerated ID of the build.
|
650
|
+
# - $REPO_NAME: the source repository name specified by RepoSource.
|
651
|
+
# - $BRANCH_NAME: the branch name specified by RepoSource.
|
652
|
+
# - $TAG_NAME: the tag name specified by RepoSource.
|
653
|
+
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
|
654
|
+
# resolved from the specified branch or tag.
|
655
|
+
# Corresponds to the JSON property `build`
|
656
|
+
# @return [Google::Apis::CloudbuildV1::Build]
|
657
|
+
attr_accessor :build
|
558
658
|
|
559
|
-
#
|
560
|
-
|
561
|
-
|
562
|
-
|
563
|
-
end
|
659
|
+
# Substitutions data for Build resource.
|
660
|
+
# Corresponds to the JSON property `substitutions`
|
661
|
+
# @return [Hash<String,String>]
|
662
|
+
attr_accessor :substitutions
|
564
663
|
|
565
|
-
|
566
|
-
|
567
|
-
|
568
|
-
|
664
|
+
# Human-readable description of this trigger.
|
665
|
+
# Corresponds to the JSON property `description`
|
666
|
+
# @return [String]
|
667
|
+
attr_accessor :description
|
569
668
|
|
570
|
-
# If the
|
571
|
-
#
|
572
|
-
# available.
|
573
|
-
# Corresponds to the JSON property `done`
|
669
|
+
# If true, the trigger will never result in a build.
|
670
|
+
# Corresponds to the JSON property `disabled`
|
574
671
|
# @return [Boolean]
|
575
|
-
attr_accessor :
|
576
|
-
alias_method :
|
577
|
-
|
578
|
-
# The normal response of the operation in case of success. If the original
|
579
|
-
# method returns no data on success, such as `Delete`, the response is
|
580
|
-
# `google.protobuf.Empty`. If the original method is standard
|
581
|
-
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
582
|
-
# methods, the response should have the type `XxxResponse`, where `Xxx`
|
583
|
-
# is the original method name. For example, if the original method name
|
584
|
-
# is `TakeSnapshot()`, the inferred response type is
|
585
|
-
# `TakeSnapshotResponse`.
|
586
|
-
# Corresponds to the JSON property `response`
|
587
|
-
# @return [Hash<String,Object>]
|
588
|
-
attr_accessor :response
|
672
|
+
attr_accessor :disabled
|
673
|
+
alias_method :disabled?, :disabled
|
589
674
|
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
# Corresponds to the JSON property `name`
|
675
|
+
# Time when the trigger was created.
|
676
|
+
# @OutputOnly
|
677
|
+
# Corresponds to the JSON property `createTime`
|
594
678
|
# @return [String]
|
595
|
-
attr_accessor :
|
679
|
+
attr_accessor :create_time
|
596
680
|
|
597
|
-
#
|
598
|
-
#
|
599
|
-
#
|
600
|
-
#
|
601
|
-
|
602
|
-
# # Overview
|
603
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
604
|
-
# and error details. The error code should be an enum value of
|
605
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
606
|
-
# error message should be a developer-facing English message that helps
|
607
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
608
|
-
# error message is needed, put the localized message in the error details or
|
609
|
-
# localize it in the client. The optional error details may contain arbitrary
|
610
|
-
# information about the error. There is a predefined set of error detail types
|
611
|
-
# in the package `google.rpc` which can be used for common error conditions.
|
612
|
-
# # Language mapping
|
613
|
-
# The `Status` message is the logical representation of the error model, but it
|
614
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
615
|
-
# exposed in different client libraries and different wire protocols, it can be
|
616
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
617
|
-
# in Java, but more likely mapped to some error codes in C.
|
618
|
-
# # Other uses
|
619
|
-
# The error model and the `Status` message can be used in a variety of
|
620
|
-
# environments, either with or without APIs, to provide a
|
621
|
-
# consistent developer experience across different environments.
|
622
|
-
# Example uses of this error model include:
|
623
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
624
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
625
|
-
# errors.
|
626
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
627
|
-
# have a `Status` message for error reporting purpose.
|
628
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
629
|
-
# `Status` message should be used directly inside batch response, one for
|
630
|
-
# each error sub-response.
|
631
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
632
|
-
# results in its response, the status of those operations should be
|
633
|
-
# represented directly using the `Status` message.
|
634
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
635
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
636
|
-
# Corresponds to the JSON property `error`
|
637
|
-
# @return [Google::Apis::CloudbuildV1::Status]
|
638
|
-
attr_accessor :error
|
681
|
+
# RepoSource describes the location of the source in a Google Cloud Source
|
682
|
+
# Repository.
|
683
|
+
# Corresponds to the JSON property `triggerTemplate`
|
684
|
+
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
685
|
+
attr_accessor :trigger_template
|
639
686
|
|
640
|
-
#
|
641
|
-
#
|
642
|
-
#
|
643
|
-
#
|
644
|
-
|
645
|
-
# @return [Hash<String,Object>]
|
646
|
-
attr_accessor :metadata
|
687
|
+
# Path, from the source root, to a file whose contents is used for the
|
688
|
+
# template.
|
689
|
+
# Corresponds to the JSON property `filename`
|
690
|
+
# @return [String]
|
691
|
+
attr_accessor :filename
|
647
692
|
|
648
693
|
def initialize(**args)
|
649
694
|
update!(**args)
|
@@ -651,149 +696,148 @@ module Google
|
|
651
696
|
|
652
697
|
# Update properties of this object
|
653
698
|
def update!(**args)
|
654
|
-
@
|
655
|
-
@
|
656
|
-
@
|
657
|
-
@
|
658
|
-
@
|
699
|
+
@id = args[:id] if args.key?(:id)
|
700
|
+
@build = args[:build] if args.key?(:build)
|
701
|
+
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
702
|
+
@description = args[:description] if args.key?(:description)
|
703
|
+
@disabled = args[:disabled] if args.key?(:disabled)
|
704
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
705
|
+
@trigger_template = args[:trigger_template] if args.key?(:trigger_template)
|
706
|
+
@filename = args[:filename] if args.key?(:filename)
|
659
707
|
end
|
660
708
|
end
|
661
709
|
|
662
|
-
#
|
663
|
-
|
710
|
+
# A build resource in the Container Builder API.
|
711
|
+
# At a high level, a Build describes where to find source code, how to build
|
712
|
+
# it (for example, the builder image to run on the source), and what tag to
|
713
|
+
# apply to the built image when it is pushed to Google Container Registry.
|
714
|
+
# Fields can include the following variables which will be expanded when the
|
715
|
+
# build is created:
|
716
|
+
# - $PROJECT_ID: the project ID of the build.
|
717
|
+
# - $BUILD_ID: the autogenerated ID of the build.
|
718
|
+
# - $REPO_NAME: the source repository name specified by RepoSource.
|
719
|
+
# - $BRANCH_NAME: the branch name specified by RepoSource.
|
720
|
+
# - $TAG_NAME: the tag name specified by RepoSource.
|
721
|
+
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
|
722
|
+
# resolved from the specified branch or tag.
|
723
|
+
class Build
|
664
724
|
include Google::Apis::Core::Hashable
|
665
725
|
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
|
671
|
-
|
672
|
-
# Docker Registry 2.0 digest.
|
673
|
-
# Corresponds to the JSON property `digest`
|
726
|
+
# Google Cloud Storage bucket where logs should be written (see
|
727
|
+
# [Bucket Name
|
728
|
+
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
729
|
+
# ).
|
730
|
+
# Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
|
731
|
+
# Corresponds to the JSON property `logsBucket`
|
674
732
|
# @return [String]
|
675
|
-
attr_accessor :
|
676
|
-
|
677
|
-
def initialize(**args)
|
678
|
-
update!(**args)
|
679
|
-
end
|
733
|
+
attr_accessor :logs_bucket
|
680
734
|
|
681
|
-
#
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
end
|
686
|
-
end
|
735
|
+
# Results describes the artifacts created by the build pipeline.
|
736
|
+
# Corresponds to the JSON property `results`
|
737
|
+
# @return [Google::Apis::CloudbuildV1::Results]
|
738
|
+
attr_accessor :results
|
687
739
|
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
740
|
+
# Describes the operations to be performed on the workspace.
|
741
|
+
# Corresponds to the JSON property `steps`
|
742
|
+
# @return [Array<Google::Apis::CloudbuildV1::BuildStep>]
|
743
|
+
attr_accessor :steps
|
692
744
|
|
693
|
-
# ID of the
|
694
|
-
#
|
695
|
-
#
|
745
|
+
# The ID of the BuildTrigger that triggered this build, if it was
|
746
|
+
# triggered automatically.
|
747
|
+
# @OutputOnly
|
748
|
+
# Corresponds to the JSON property `buildTriggerId`
|
696
749
|
# @return [String]
|
697
|
-
attr_accessor :
|
750
|
+
attr_accessor :build_trigger_id
|
698
751
|
|
699
|
-
#
|
700
|
-
#
|
752
|
+
# Unique identifier of the build.
|
753
|
+
# @OutputOnly
|
754
|
+
# Corresponds to the JSON property `id`
|
701
755
|
# @return [String]
|
702
|
-
attr_accessor :
|
756
|
+
attr_accessor :id
|
703
757
|
|
704
|
-
#
|
705
|
-
#
|
758
|
+
# Time at which execution of the build was started.
|
759
|
+
# @OutputOnly
|
760
|
+
# Corresponds to the JSON property `startTime`
|
706
761
|
# @return [String]
|
707
|
-
attr_accessor :
|
762
|
+
attr_accessor :start_time
|
708
763
|
|
709
|
-
#
|
710
|
-
# Corresponds to the JSON property `
|
711
|
-
# @return [String]
|
712
|
-
attr_accessor :
|
764
|
+
# Substitutions data for Build resource.
|
765
|
+
# Corresponds to the JSON property `substitutions`
|
766
|
+
# @return [Hash<String,String>]
|
767
|
+
attr_accessor :substitutions
|
713
768
|
|
714
|
-
#
|
715
|
-
#
|
769
|
+
# Time at which the request to create the build was received.
|
770
|
+
# @OutputOnly
|
771
|
+
# Corresponds to the JSON property `createTime`
|
716
772
|
# @return [String]
|
717
|
-
attr_accessor :
|
773
|
+
attr_accessor :create_time
|
718
774
|
|
719
|
-
|
720
|
-
|
721
|
-
|
775
|
+
# Provenance of the source. Ways to find the original source, or verify that
|
776
|
+
# some source was used for this build.
|
777
|
+
# Corresponds to the JSON property `sourceProvenance`
|
778
|
+
# @return [Google::Apis::CloudbuildV1::SourceProvenance]
|
779
|
+
attr_accessor :source_provenance
|
722
780
|
|
723
|
-
#
|
724
|
-
|
725
|
-
|
726
|
-
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
781
|
+
# A list of images to be pushed upon the successful completion of all build
|
782
|
+
# steps.
|
783
|
+
# The images will be pushed using the builder service account's credentials.
|
784
|
+
# The digests of the pushed images will be stored in the Build resource's
|
785
|
+
# results field.
|
786
|
+
# If any of the images fail to be pushed, the build is marked FAILURE.
|
787
|
+
# Corresponds to the JSON property `images`
|
788
|
+
# @return [Array<String>]
|
789
|
+
attr_accessor :images
|
732
790
|
|
733
|
-
|
734
|
-
|
735
|
-
|
791
|
+
# ID of the project.
|
792
|
+
# @OutputOnly.
|
793
|
+
# Corresponds to the JSON property `projectId`
|
794
|
+
# @return [String]
|
795
|
+
attr_accessor :project_id
|
736
796
|
|
737
|
-
#
|
738
|
-
#
|
739
|
-
#
|
797
|
+
# Time at which execution of the build was finished.
|
798
|
+
# The difference between finish_time and start_time is the duration of the
|
799
|
+
# build's execution.
|
800
|
+
# @OutputOnly
|
801
|
+
# Corresponds to the JSON property `finishTime`
|
740
802
|
# @return [String]
|
741
|
-
attr_accessor :
|
803
|
+
attr_accessor :finish_time
|
742
804
|
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
|
748
|
-
attr_accessor :env
|
805
|
+
# URL to logs for this build in Google Cloud Logging.
|
806
|
+
# @OutputOnly
|
807
|
+
# Corresponds to the JSON property `logUrl`
|
808
|
+
# @return [String]
|
809
|
+
attr_accessor :log_url
|
749
810
|
|
750
|
-
#
|
751
|
-
#
|
752
|
-
#
|
753
|
-
|
754
|
-
# successfully.
|
755
|
-
# Corresponds to the JSON property `waitFor`
|
756
|
-
# @return [Array<String>]
|
757
|
-
attr_accessor :wait_for
|
811
|
+
# Optional arguments to enable specific features of builds.
|
812
|
+
# Corresponds to the JSON property `options`
|
813
|
+
# @return [Google::Apis::CloudbuildV1::BuildOptions]
|
814
|
+
attr_accessor :options
|
758
815
|
|
759
|
-
#
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
763
|
-
|
764
|
-
# Corresponds to the JSON property `args`
|
765
|
-
# @return [Array<String>]
|
766
|
-
attr_accessor :args
|
816
|
+
# Source describes the location of the source in a supported storage
|
817
|
+
# service.
|
818
|
+
# Corresponds to the JSON property `source`
|
819
|
+
# @return [Google::Apis::CloudbuildV1::Source]
|
820
|
+
attr_accessor :source
|
767
821
|
|
768
|
-
#
|
769
|
-
#
|
770
|
-
#
|
771
|
-
# first, using the builder service account's credentials if necessary.
|
772
|
-
# The Docker daemon's cache will already have the latest versions of all of
|
773
|
-
# the officially supported build steps
|
774
|
-
# ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/
|
775
|
-
# GoogleCloudPlatform/cloud-builders)).
|
776
|
-
# The Docker daemon will also have cached many of the layers for some popular
|
777
|
-
# images, like "ubuntu", "debian", but they will be refreshed at the time you
|
778
|
-
# attempt to use them.
|
779
|
-
# If you built an image in a previous build step, it will be stored in the
|
780
|
-
# host's Docker daemon's cache and is available to use as the name for a
|
781
|
-
# later build step.
|
782
|
-
# Corresponds to the JSON property `name`
|
822
|
+
# Customer-readable message about the current status.
|
823
|
+
# @OutputOnly
|
824
|
+
# Corresponds to the JSON property `statusDetail`
|
783
825
|
# @return [String]
|
784
|
-
attr_accessor :
|
826
|
+
attr_accessor :status_detail
|
785
827
|
|
786
|
-
#
|
787
|
-
#
|
788
|
-
# Corresponds to the JSON property `
|
828
|
+
# Status of the build.
|
829
|
+
# @OutputOnly
|
830
|
+
# Corresponds to the JSON property `status`
|
789
831
|
# @return [String]
|
790
|
-
attr_accessor :
|
832
|
+
attr_accessor :status
|
791
833
|
|
792
|
-
#
|
793
|
-
#
|
794
|
-
#
|
834
|
+
# Amount of time that this build should be allowed to run, to second
|
835
|
+
# granularity. If this amount of time elapses, work on the build will cease
|
836
|
+
# and the build status will be TIMEOUT.
|
837
|
+
# Default time is ten minutes.
|
838
|
+
# Corresponds to the JSON property `timeout`
|
795
839
|
# @return [String]
|
796
|
-
attr_accessor :
|
840
|
+
attr_accessor :timeout
|
797
841
|
|
798
842
|
def initialize(**args)
|
799
843
|
update!(**args)
|
@@ -801,51 +845,53 @@ module Google
|
|
801
845
|
|
802
846
|
# Update properties of this object
|
803
847
|
def update!(**args)
|
804
|
-
@
|
805
|
-
@
|
806
|
-
@
|
807
|
-
@
|
808
|
-
@name = args[:name] if args.key?(:name)
|
809
|
-
@entrypoint = args[:entrypoint] if args.key?(:entrypoint)
|
848
|
+
@logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
|
849
|
+
@results = args[:results] if args.key?(:results)
|
850
|
+
@steps = args[:steps] if args.key?(:steps)
|
851
|
+
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
810
852
|
@id = args[:id] if args.key?(:id)
|
853
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
854
|
+
@substitutions = args[:substitutions] if args.key?(:substitutions)
|
855
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
856
|
+
@source_provenance = args[:source_provenance] if args.key?(:source_provenance)
|
857
|
+
@images = args[:images] if args.key?(:images)
|
858
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
859
|
+
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
860
|
+
@log_url = args[:log_url] if args.key?(:log_url)
|
861
|
+
@options = args[:options] if args.key?(:options)
|
862
|
+
@source = args[:source] if args.key?(:source)
|
863
|
+
@status_detail = args[:status_detail] if args.key?(:status_detail)
|
864
|
+
@status = args[:status] if args.key?(:status)
|
865
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
811
866
|
end
|
812
867
|
end
|
813
868
|
|
814
|
-
#
|
815
|
-
class
|
869
|
+
# Request to cancel an ongoing build.
|
870
|
+
class CancelBuildRequest
|
816
871
|
include Google::Apis::Core::Hashable
|
817
872
|
|
818
|
-
# The type of hash that was performed.
|
819
|
-
# Corresponds to the JSON property `type`
|
820
|
-
# @return [String]
|
821
|
-
attr_accessor :type
|
822
|
-
|
823
|
-
# The hash value.
|
824
|
-
# Corresponds to the JSON property `value`
|
825
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
826
|
-
# @return [String]
|
827
|
-
attr_accessor :value
|
828
|
-
|
829
873
|
def initialize(**args)
|
830
874
|
update!(**args)
|
831
875
|
end
|
832
876
|
|
833
877
|
# Update properties of this object
|
834
878
|
def update!(**args)
|
835
|
-
@type = args[:type] if args.key?(:type)
|
836
|
-
@value = args[:value] if args.key?(:value)
|
837
879
|
end
|
838
880
|
end
|
839
881
|
|
840
|
-
#
|
841
|
-
|
842
|
-
class FileHashes
|
882
|
+
# Response including listed builds.
|
883
|
+
class ListBuildsResponse
|
843
884
|
include Google::Apis::Core::Hashable
|
844
885
|
|
845
|
-
#
|
846
|
-
# Corresponds to the JSON property `
|
847
|
-
# @return [
|
848
|
-
attr_accessor :
|
886
|
+
# Token to receive the next page of results.
|
887
|
+
# Corresponds to the JSON property `nextPageToken`
|
888
|
+
# @return [String]
|
889
|
+
attr_accessor :next_page_token
|
890
|
+
|
891
|
+
# Builds will be sorted by create_time, descending.
|
892
|
+
# Corresponds to the JSON property `builds`
|
893
|
+
# @return [Array<Google::Apis::CloudbuildV1::Build>]
|
894
|
+
attr_accessor :builds
|
849
895
|
|
850
896
|
def initialize(**args)
|
851
897
|
update!(**args)
|
@@ -853,69 +899,24 @@ module Google
|
|
853
899
|
|
854
900
|
# Update properties of this object
|
855
901
|
def update!(**args)
|
856
|
-
@
|
902
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
903
|
+
@builds = args[:builds] if args.key?(:builds)
|
857
904
|
end
|
858
905
|
end
|
859
906
|
|
860
|
-
# The
|
861
|
-
|
862
|
-
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
863
|
-
# - Simple to use and understand for most users
|
864
|
-
# - Flexible enough to meet unexpected needs
|
865
|
-
# # Overview
|
866
|
-
# The `Status` message contains three pieces of data: error code, error message,
|
867
|
-
# and error details. The error code should be an enum value of
|
868
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
869
|
-
# error message should be a developer-facing English message that helps
|
870
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
871
|
-
# error message is needed, put the localized message in the error details or
|
872
|
-
# localize it in the client. The optional error details may contain arbitrary
|
873
|
-
# information about the error. There is a predefined set of error detail types
|
874
|
-
# in the package `google.rpc` which can be used for common error conditions.
|
875
|
-
# # Language mapping
|
876
|
-
# The `Status` message is the logical representation of the error model, but it
|
877
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
878
|
-
# exposed in different client libraries and different wire protocols, it can be
|
879
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
880
|
-
# in Java, but more likely mapped to some error codes in C.
|
881
|
-
# # Other uses
|
882
|
-
# The error model and the `Status` message can be used in a variety of
|
883
|
-
# environments, either with or without APIs, to provide a
|
884
|
-
# consistent developer experience across different environments.
|
885
|
-
# Example uses of this error model include:
|
886
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
887
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
888
|
-
# errors.
|
889
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
890
|
-
# have a `Status` message for error reporting purpose.
|
891
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
892
|
-
# `Status` message should be used directly inside batch response, one for
|
893
|
-
# each error sub-response.
|
894
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
895
|
-
# results in its response, the status of those operations should be
|
896
|
-
# represented directly using the `Status` message.
|
897
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
898
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
899
|
-
class Status
|
907
|
+
# The response message for Operations.ListOperations.
|
908
|
+
class ListOperationsResponse
|
900
909
|
include Google::Apis::Core::Hashable
|
901
910
|
|
902
|
-
# The
|
903
|
-
# Corresponds to the JSON property `
|
904
|
-
# @return [Fixnum]
|
905
|
-
attr_accessor :code
|
906
|
-
|
907
|
-
# A developer-facing error message, which should be in English. Any
|
908
|
-
# user-facing error message should be localized and sent in the
|
909
|
-
# google.rpc.Status.details field, or localized by the client.
|
910
|
-
# Corresponds to the JSON property `message`
|
911
|
+
# The standard List next-page token.
|
912
|
+
# Corresponds to the JSON property `nextPageToken`
|
911
913
|
# @return [String]
|
912
|
-
attr_accessor :
|
914
|
+
attr_accessor :next_page_token
|
913
915
|
|
914
|
-
# A list of
|
915
|
-
#
|
916
|
-
#
|
917
|
-
|
918
|
-
attr_accessor :details
|
916
|
+
# A list of operations that matches the specified filter in the request.
|
917
|
+
# Corresponds to the JSON property `operations`
|
918
|
+
# @return [Array<Google::Apis::CloudbuildV1::Operation>]
|
919
|
+
attr_accessor :operations
|
919
920
|
|
920
921
|
def initialize(**args)
|
921
922
|
update!(**args)
|
@@ -923,9 +924,8 @@ module Google
|
|
923
924
|
|
924
925
|
# Update properties of this object
|
925
926
|
def update!(**args)
|
926
|
-
@
|
927
|
-
@
|
928
|
-
@details = args[:details] if args.key?(:details)
|
927
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
928
|
+
@operations = args[:operations] if args.key?(:operations)
|
929
929
|
end
|
930
930
|
end
|
931
931
|
end
|