google-api-client 0.19.8 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +7 -4
- data/CHANGELOG.md +106 -0
- data/MIGRATING.md +3 -3
- data/README.md +6 -9
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1 -7
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -8
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +84 -9
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -10
- data/generated/google/apis/admin_directory_v1/service.rb +21 -7
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +52 -35
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +33 -20
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +44 -0
- data/generated/google/apis/androidenterprise_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +66 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +10 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -72
- data/generated/google/apis/androidpublisher_v2/representations.rb +5 -34
- data/generated/google/apis/androidpublisher_v2/service.rb +6 -52
- data/generated/google/apis/appengine_v1.rb +2 -2
- data/generated/google/apis/appengine_v1/classes.rb +82 -7
- data/generated/google/apis/appengine_v1/representations.rb +32 -0
- data/generated/google/apis/appengine_v1/service.rb +2 -2
- data/generated/google/apis/appengine_v1alpha.rb +2 -2
- data/generated/google/apis/appengine_v1alpha/classes.rb +35 -0
- data/generated/google/apis/appengine_v1alpha/representations.rb +16 -0
- data/generated/google/apis/appengine_v1alpha/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta.rb +2 -2
- data/generated/google/apis/appengine_v1beta/classes.rb +51 -7
- data/generated/google/apis/appengine_v1beta/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta4.rb +2 -2
- data/generated/google/apis/appengine_v1beta4/classes.rb +50 -6
- data/generated/google/apis/appengine_v1beta4/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +2 -2
- data/generated/google/apis/appengine_v1beta5.rb +2 -2
- data/generated/google/apis/appengine_v1beta5/classes.rb +50 -6
- data/generated/google/apis/appengine_v1beta5/representations.rb +17 -0
- data/generated/google/apis/appengine_v1beta5/service.rb +2 -2
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +19 -11
- data/generated/google/apis/bigquery_v2/representations.rb +4 -3
- data/generated/google/apis/bigquery_v2/service.rb +9 -1
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +9 -6
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +1 -1
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -1
- data/generated/google/apis/{firebaseremoteconfig_v1.rb → chat_v1.rb} +8 -9
- data/generated/google/apis/chat_v1/classes.rb +890 -0
- data/generated/google/apis/chat_v1/representations.rb +445 -0
- data/generated/google/apis/chat_v1/service.rb +344 -0
- data/generated/google/apis/cloudbilling_v1.rb +2 -2
- data/generated/google/apis/cloudbilling_v1/classes.rb +341 -5
- data/generated/google/apis/cloudbilling_v1/representations.rb +103 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +217 -10
- data/generated/google/apis/cloudbuild_v1.rb +2 -2
- data/generated/google/apis/cloudbuild_v1/classes.rb +180 -84
- data/generated/google/apis/cloudbuild_v1/representations.rb +35 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +25 -25
- data/generated/google/apis/cloudiot_v1.rb +2 -2
- data/generated/google/apis/cloudiot_v1/classes.rb +13 -142
- data/generated/google/apis/cloudiot_v1/representations.rb +0 -32
- data/generated/google/apis/cloudiot_v1/service.rb +2 -2
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -1
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +6 -6
- data/generated/google/apis/{clouduseraccounts_beta.rb → cloudresourcemanager_v2.rb} +10 -16
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +821 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +304 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +534 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +2 -2
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +2 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +216 -120
- data/generated/google/apis/compute_alpha/representations.rb +25 -1
- data/generated/google/apis/compute_alpha/service.rb +1354 -1621
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +548 -85
- data/generated/google/apis/compute_beta/representations.rb +159 -0
- data/generated/google/apis/compute_beta/service.rb +1971 -1460
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +206 -70
- data/generated/google/apis/compute_v1/representations.rb +32 -0
- data/generated/google/apis/compute_v1/service.rb +1184 -1278
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +742 -9
- data/generated/google/apis/container_v1/representations.rb +90 -0
- data/generated/google/apis/container_v1/service.rb +1380 -100
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +191 -138
- data/generated/google/apis/container_v1beta1/representations.rb +2 -0
- data/generated/google/apis/container_v1beta1/service.rb +236 -231
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2690 -1540
- data/generated/google/apis/content_v2/representations.rb +491 -0
- data/generated/google/apis/content_v2/service.rb +684 -0
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +2 -2
- data/generated/google/apis/dataflow_v1b3/classes.rb +95 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +36 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +1 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +56 -45
- data/generated/google/apis/dataproc_v1/representations.rb +1 -0
- data/generated/google/apis/dataproc_v1/service.rb +30 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +77 -53
- data/generated/google/apis/dataproc_v1beta2/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +484 -18
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +372 -0
- data/generated/google/apis/datastore_v1/representations.rb +132 -0
- data/generated/google/apis/datastore_v1/service.rb +77 -0
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +255 -0
- data/generated/google/apis/datastore_v1beta1/representations.rb +100 -0
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +100 -0
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +6 -1
- data/generated/google/apis/deploymentmanager_alpha/service.rb +121 -145
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +79 -91
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +6 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +121 -145
- data/generated/google/apis/dialogflow_v2.rb +35 -0
- data/generated/google/apis/dialogflow_v2/classes.rb +3994 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +1670 -0
- data/generated/google/apis/dialogflow_v2/service.rb +1397 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +39 -11
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +559 -16
- data/generated/google/apis/dlp_v2.rb +36 -0
- data/generated/google/apis/dlp_v2/classes.rb +6431 -0
- data/generated/google/apis/dlp_v2/representations.rb +3116 -0
- data/generated/google/apis/dlp_v2/service.rb +1300 -0
- data/generated/google/apis/dlp_v2beta1.rb +4 -4
- data/generated/google/apis/dlp_v2beta1/classes.rb +38 -0
- data/generated/google/apis/dlp_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dlp_v2beta1/service.rb +3 -3
- data/generated/google/apis/dlp_v2beta2.rb +4 -4
- data/generated/google/apis/dlp_v2beta2/classes.rb +229 -1
- data/generated/google/apis/dlp_v2beta2/representations.rb +91 -0
- data/generated/google/apis/dlp_v2beta2/service.rb +3 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +496 -0
- data/generated/google/apis/dns_v1/representations.rb +188 -0
- data/generated/google/apis/dns_v1/service.rb +319 -6
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +0 -19
- data/generated/google/apis/dns_v1beta2/representations.rb +0 -14
- data/generated/google/apis/dns_v1beta2/service.rb +2 -4
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +6 -19
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -14
- data/generated/google/apis/dns_v2beta1/service.rb +2 -4
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +4 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +2 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +271 -1
- data/generated/google/apis/genomics_v1/representations.rb +140 -0
- data/generated/google/apis/genomics_v1/service.rb +9 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +271 -1
- data/generated/google/apis/genomics_v1alpha2/representations.rb +140 -0
- data/generated/google/apis/genomics_v1alpha2/service.rb +9 -1
- data/generated/google/apis/genomics_v2alpha1.rb +37 -0
- data/generated/google/apis/genomics_v2alpha1/classes.rb +1306 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +535 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +261 -0
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +2 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +1 -1
- data/generated/google/apis/language_v1.rb +2 -2
- data/generated/google/apis/language_v1/classes.rb +2 -1
- data/generated/google/apis/language_v1/service.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +2 -2
- data/generated/google/apis/language_v1beta1/service.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +2 -2
- data/generated/google/apis/language_v1beta2/classes.rb +2 -1
- data/generated/google/apis/language_v1beta2/service.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/service.rb +14 -11
- data/generated/google/apis/ml_v1.rb +2 -2
- data/generated/google/apis/ml_v1/classes.rb +180 -5
- data/generated/google/apis/ml_v1/representations.rb +49 -0
- data/generated/google/apis/ml_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +797 -2
- data/generated/google/apis/monitoring_v3/representations.rb +279 -0
- data/generated/google/apis/monitoring_v3/service.rb +612 -0
- data/generated/google/apis/oslogin_v1.rb +2 -2
- data/generated/google/apis/oslogin_v1/service.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha.rb +2 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +1 -1
- data/generated/google/apis/oslogin_v1beta.rb +2 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +1 -1
- data/generated/google/apis/pagespeedonline_v4.rb +32 -0
- data/generated/google/apis/pagespeedonline_v4/classes.rb +795 -0
- data/generated/google/apis/pagespeedonline_v4/representations.rb +335 -0
- data/generated/google/apis/pagespeedonline_v4/service.rb +129 -0
- data/generated/google/apis/people_v1.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +5 -2
- data/generated/google/apis/people_v1/service.rb +9 -7
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +153 -0
- data/generated/google/apis/poly_v1/representations.rb +67 -0
- data/generated/google/apis/proximitybeacon_v1beta1.rb +2 -2
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +7 -0
- data/generated/google/apis/script_v1.rb +2 -2
- data/generated/google/apis/script_v1/service.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -126
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -30
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -13
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +9 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +44 -157
- data/generated/google/apis/servicemanagement_v1/representations.rb +2 -48
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -0
- data/generated/google/apis/{serviceusage_v1.rb → serviceusage_v1beta1.rb} +6 -6
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/classes.rb +290 -325
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/representations.rb +105 -163
- data/generated/google/apis/{serviceusage_v1 → serviceusage_v1beta1}/service.rb +105 -163
- data/generated/google/apis/serviceuser_v1.rb +2 -2
- data/generated/google/apis/serviceuser_v1/classes.rb +44 -101
- data/generated/google/apis/serviceuser_v1/representations.rb +2 -30
- data/generated/google/apis/serviceuser_v1/service.rb +1 -1
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +643 -10
- data/generated/google/apis/sheets_v4/representations.rb +53 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +92 -9
- data/generated/google/apis/slides_v1/representations.rb +21 -0
- data/generated/google/apis/slides_v1/service.rb +3 -2
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +4 -73
- data/generated/google/apis/sourcerepo_v1/representations.rb +0 -20
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +238 -2
- data/generated/google/apis/spanner_v1/representations.rb +86 -0
- data/generated/google/apis/spanner_v1/service.rb +80 -0
- data/generated/google/apis/speech_v1.rb +2 -2
- data/generated/google/apis/speech_v1/classes.rb +14 -19
- data/generated/google/apis/speech_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1beta1.rb +2 -2
- data/generated/google/apis/speech_v1beta1/service.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +15 -6
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +3 -6
- data/generated/google/apis/storagetransfer_v1.rb +2 -2
- data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +107 -2
- data/generated/google/apis/testing_v1/representations.rb +38 -0
- data/generated/google/apis/texttospeech_v1beta1.rb +34 -0
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +278 -0
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +133 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +128 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +30 -16
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +30 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +73 -1
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +29 -3
- data/generated/google/apis/vault_v1/representations.rb +15 -0
- data/generated/google/apis/vault_v1/service.rb +8 -2
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +650 -0
- data/generated/google/apis/videointelligence_v1beta1/representations.rb +315 -0
- data/generated/google/apis/vision_v1.rb +2 -2
- data/generated/google/apis/vision_v1/classes.rb +290 -2
- data/generated/google/apis/vision_v1/representations.rb +128 -0
- data/generated/google/apis/vision_v1/service.rb +187 -1
- data/generated/google/apis/vision_v1p1beta1.rb +2 -2
- data/generated/google/apis/vision_v1p1beta1/classes.rb +136 -2
- data/generated/google/apis/vision_v1p1beta1/representations.rb +71 -0
- data/generated/google/apis/vision_v1p1beta1/service.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1.rb +39 -0
- data/generated/google/apis/vision_v1p2beta1/classes.rb +2172 -0
- data/generated/google/apis/vision_v1p2beta1/representations.rb +895 -0
- data/generated/google/apis/vision_v1p2beta1/service.rb +126 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +12 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/json_representation.rb +1 -1
- data/lib/google/apis/version.rb +3 -3
- data/samples/web/Gemfile +3 -0
- metadata +38 -26
- data/generated/google/apis/clouduseraccounts_alpha.rb +0 -44
- data/generated/google/apis/clouduseraccounts_alpha/classes.rb +0 -1188
- data/generated/google/apis/clouduseraccounts_alpha/representations.rb +0 -494
- data/generated/google/apis/clouduseraccounts_alpha/service.rb +0 -1152
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +0 -845
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +0 -352
- data/generated/google/apis/clouduseraccounts_beta/service.rb +0 -908
- data/generated/google/apis/clouduseraccounts_vm_alpha.rb +0 -44
- data/generated/google/apis/clouduseraccounts_vm_alpha/classes.rb +0 -1188
- data/generated/google/apis/clouduseraccounts_vm_alpha/representations.rb +0 -494
- data/generated/google/apis/clouduseraccounts_vm_alpha/service.rb +0 -1152
- data/generated/google/apis/clouduseraccounts_vm_beta.rb +0 -44
- data/generated/google/apis/clouduseraccounts_vm_beta/classes.rb +0 -845
- data/generated/google/apis/clouduseraccounts_vm_beta/representations.rb +0 -352
- data/generated/google/apis/clouduseraccounts_vm_beta/service.rb +0 -908
- data/generated/google/apis/firebaseremoteconfig_v1/classes.rb +0 -200
- data/generated/google/apis/firebaseremoteconfig_v1/representations.rb +0 -89
- data/generated/google/apis/firebaseremoteconfig_v1/service.rb +0 -153
|
@@ -20,7 +20,7 @@ require 'google/apis/errors'
|
|
|
20
20
|
module Google
|
|
21
21
|
module Apis
|
|
22
22
|
module CloudbillingV1
|
|
23
|
-
#
|
|
23
|
+
# Cloud Billing API
|
|
24
24
|
#
|
|
25
25
|
# Allows developers to manage billing for their Google Cloud Platform projects
|
|
26
26
|
# programmatically.
|
|
@@ -48,9 +48,47 @@ module Google
|
|
|
48
48
|
@batch_path = 'batch'
|
|
49
49
|
end
|
|
50
50
|
|
|
51
|
+
# Creates a billing account.
|
|
52
|
+
# This method can only be used to create
|
|
53
|
+
# [billing subaccounts](https://cloud.google.com/billing/docs/concepts).
|
|
54
|
+
# When creating a subaccount, the current authenticated user must have the
|
|
55
|
+
# `billing.accounts.update` IAM permission on the master account, which is
|
|
56
|
+
# typically given to billing account
|
|
57
|
+
# [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
|
|
58
|
+
# > This method is currently in
|
|
59
|
+
# > [Beta](https://cloud.google.com/terms/launch-stages).
|
|
60
|
+
# @param [Google::Apis::CloudbillingV1::BillingAccount] billing_account_object
|
|
61
|
+
# @param [String] fields
|
|
62
|
+
# Selector specifying which fields to include in a partial response.
|
|
63
|
+
# @param [String] quota_user
|
|
64
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
65
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
66
|
+
# @param [Google::Apis::RequestOptions] options
|
|
67
|
+
# Request-specific options
|
|
68
|
+
#
|
|
69
|
+
# @yield [result, err] Result & error if block supplied
|
|
70
|
+
# @yieldparam result [Google::Apis::CloudbillingV1::BillingAccount] parsed result object
|
|
71
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
72
|
+
#
|
|
73
|
+
# @return [Google::Apis::CloudbillingV1::BillingAccount]
|
|
74
|
+
#
|
|
75
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
76
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
77
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
78
|
+
def create_billing_account(billing_account_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
79
|
+
command = make_simple_command(:post, 'v1/billingAccounts', options)
|
|
80
|
+
command.request_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
|
|
81
|
+
command.request_object = billing_account_object
|
|
82
|
+
command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
|
|
83
|
+
command.response_class = Google::Apis::CloudbillingV1::BillingAccount
|
|
84
|
+
command.query['fields'] = fields unless fields.nil?
|
|
85
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
86
|
+
execute_or_queue_command(command, &block)
|
|
87
|
+
end
|
|
88
|
+
|
|
51
89
|
# Gets information about a billing account. The current authenticated user
|
|
52
|
-
# must be
|
|
53
|
-
# account](https://
|
|
90
|
+
# must be a [viewer of the billing
|
|
91
|
+
# account](https://cloud.google.com/billing/docs/how-to/billing-access).
|
|
54
92
|
# @param [String] name
|
|
55
93
|
# The resource name of the billing account to retrieve. For example,
|
|
56
94
|
# `billingAccounts/012345-567890-ABCDEF`.
|
|
@@ -81,8 +119,54 @@ module Google
|
|
|
81
119
|
execute_or_queue_command(command, &block)
|
|
82
120
|
end
|
|
83
121
|
|
|
84
|
-
#
|
|
85
|
-
#
|
|
122
|
+
# Gets the access control policy for a billing account.
|
|
123
|
+
# The caller must have the `billing.accounts.getIamPolicy` permission on the
|
|
124
|
+
# account, which is often given to billing account
|
|
125
|
+
# [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
|
|
126
|
+
# > This method is currently in
|
|
127
|
+
# > [Beta](https://cloud.google.com/terms/launch-stages).
|
|
128
|
+
# @param [String] resource
|
|
129
|
+
# REQUIRED: The resource for which the policy is being requested.
|
|
130
|
+
# See the operation documentation for the appropriate value for this field.
|
|
131
|
+
# @param [String] fields
|
|
132
|
+
# Selector specifying which fields to include in a partial response.
|
|
133
|
+
# @param [String] quota_user
|
|
134
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
135
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
136
|
+
# @param [Google::Apis::RequestOptions] options
|
|
137
|
+
# Request-specific options
|
|
138
|
+
#
|
|
139
|
+
# @yield [result, err] Result & error if block supplied
|
|
140
|
+
# @yieldparam result [Google::Apis::CloudbillingV1::Policy] parsed result object
|
|
141
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
142
|
+
#
|
|
143
|
+
# @return [Google::Apis::CloudbillingV1::Policy]
|
|
144
|
+
#
|
|
145
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
146
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
147
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
148
|
+
def get_billing_account_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
|
149
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
|
150
|
+
command.response_representation = Google::Apis::CloudbillingV1::Policy::Representation
|
|
151
|
+
command.response_class = Google::Apis::CloudbillingV1::Policy
|
|
152
|
+
command.params['resource'] = resource unless resource.nil?
|
|
153
|
+
command.query['fields'] = fields unless fields.nil?
|
|
154
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
155
|
+
execute_or_queue_command(command, &block)
|
|
156
|
+
end
|
|
157
|
+
|
|
158
|
+
# Lists the billing accounts that the current authenticated user has
|
|
159
|
+
# permission to [view](https://cloud.google.com/billing/docs/how-to/billing-
|
|
160
|
+
# access).
|
|
161
|
+
# @param [String] filter
|
|
162
|
+
# Options for how to filter the returned billing accounts.
|
|
163
|
+
# Currently this only supports filtering for
|
|
164
|
+
# [subaccounts](https://cloud.google.com/billing/docs/concepts) under a
|
|
165
|
+
# single provided reseller billing account.
|
|
166
|
+
# (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF").
|
|
167
|
+
# Boolean algebra and other fields are not currently supported.
|
|
168
|
+
# > This field is currently in
|
|
169
|
+
# > [Beta](https://cloud.google.com/terms/launch-stages).
|
|
86
170
|
# @param [Fixnum] page_size
|
|
87
171
|
# Requested page size. The maximum page size is 100; this is also the
|
|
88
172
|
# default.
|
|
@@ -107,10 +191,11 @@ module Google
|
|
|
107
191
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
108
192
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
109
193
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
110
|
-
def list_billing_accounts(page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
194
|
+
def list_billing_accounts(filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
111
195
|
command = make_simple_command(:get, 'v1/billingAccounts', options)
|
|
112
196
|
command.response_representation = Google::Apis::CloudbillingV1::ListBillingAccountsResponse::Representation
|
|
113
197
|
command.response_class = Google::Apis::CloudbillingV1::ListBillingAccountsResponse
|
|
198
|
+
command.query['filter'] = filter unless filter.nil?
|
|
114
199
|
command.query['pageSize'] = page_size unless page_size.nil?
|
|
115
200
|
command.query['pageToken'] = page_token unless page_token.nil?
|
|
116
201
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -118,10 +203,132 @@ module Google
|
|
|
118
203
|
execute_or_queue_command(command, &block)
|
|
119
204
|
end
|
|
120
205
|
|
|
206
|
+
# Updates a billing account's fields.
|
|
207
|
+
# Currently the only field that can be edited is `display_name`.
|
|
208
|
+
# The current authenticated user must have the `billing.accounts.update`
|
|
209
|
+
# IAM permission, which is typically given to the
|
|
210
|
+
# [administrator](https://cloud.google.com/billing/docs/how-to/billing-access)
|
|
211
|
+
# of the billing account.
|
|
212
|
+
# > This method is currently in
|
|
213
|
+
# > [Beta](https://cloud.google.com/terms/launch-stages).
|
|
214
|
+
# @param [String] name
|
|
215
|
+
# The name of the billing account resource to be updated.
|
|
216
|
+
# @param [Google::Apis::CloudbillingV1::BillingAccount] billing_account_object
|
|
217
|
+
# @param [String] update_mask
|
|
218
|
+
# The update mask applied to the resource.
|
|
219
|
+
# Only "display_name" is currently supported.
|
|
220
|
+
# @param [String] fields
|
|
221
|
+
# Selector specifying which fields to include in a partial response.
|
|
222
|
+
# @param [String] quota_user
|
|
223
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
224
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
225
|
+
# @param [Google::Apis::RequestOptions] options
|
|
226
|
+
# Request-specific options
|
|
227
|
+
#
|
|
228
|
+
# @yield [result, err] Result & error if block supplied
|
|
229
|
+
# @yieldparam result [Google::Apis::CloudbillingV1::BillingAccount] parsed result object
|
|
230
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
231
|
+
#
|
|
232
|
+
# @return [Google::Apis::CloudbillingV1::BillingAccount]
|
|
233
|
+
#
|
|
234
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
235
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
236
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
237
|
+
def patch_billing_account(name, billing_account_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
238
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
239
|
+
command.request_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
|
|
240
|
+
command.request_object = billing_account_object
|
|
241
|
+
command.response_representation = Google::Apis::CloudbillingV1::BillingAccount::Representation
|
|
242
|
+
command.response_class = Google::Apis::CloudbillingV1::BillingAccount
|
|
243
|
+
command.params['name'] = name unless name.nil?
|
|
244
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
245
|
+
command.query['fields'] = fields unless fields.nil?
|
|
246
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
247
|
+
execute_or_queue_command(command, &block)
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# Sets the access control policy for a billing account. Replaces any existing
|
|
251
|
+
# policy.
|
|
252
|
+
# The caller must have the `billing.accounts.setIamPolicy` permission on the
|
|
253
|
+
# account, which is often given to billing account
|
|
254
|
+
# [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
|
|
255
|
+
# > This method is currently in
|
|
256
|
+
# > [Beta](https://cloud.google.com/terms/launch-stages).
|
|
257
|
+
# @param [String] resource
|
|
258
|
+
# REQUIRED: The resource for which the policy is being specified.
|
|
259
|
+
# See the operation documentation for the appropriate value for this field.
|
|
260
|
+
# @param [Google::Apis::CloudbillingV1::SetIamPolicyRequest] set_iam_policy_request_object
|
|
261
|
+
# @param [String] fields
|
|
262
|
+
# Selector specifying which fields to include in a partial response.
|
|
263
|
+
# @param [String] quota_user
|
|
264
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
265
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
266
|
+
# @param [Google::Apis::RequestOptions] options
|
|
267
|
+
# Request-specific options
|
|
268
|
+
#
|
|
269
|
+
# @yield [result, err] Result & error if block supplied
|
|
270
|
+
# @yieldparam result [Google::Apis::CloudbillingV1::Policy] parsed result object
|
|
271
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
272
|
+
#
|
|
273
|
+
# @return [Google::Apis::CloudbillingV1::Policy]
|
|
274
|
+
#
|
|
275
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
276
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
277
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
278
|
+
def set_billing_account_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
279
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
|
280
|
+
command.request_representation = Google::Apis::CloudbillingV1::SetIamPolicyRequest::Representation
|
|
281
|
+
command.request_object = set_iam_policy_request_object
|
|
282
|
+
command.response_representation = Google::Apis::CloudbillingV1::Policy::Representation
|
|
283
|
+
command.response_class = Google::Apis::CloudbillingV1::Policy
|
|
284
|
+
command.params['resource'] = resource unless resource.nil?
|
|
285
|
+
command.query['fields'] = fields unless fields.nil?
|
|
286
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
287
|
+
execute_or_queue_command(command, &block)
|
|
288
|
+
end
|
|
289
|
+
|
|
290
|
+
# Tests the access control policy for a billing account. This method takes
|
|
291
|
+
# the resource and a set of permissions as input and returns the subset of
|
|
292
|
+
# the input permissions that the caller is allowed for that resource.
|
|
293
|
+
# > This method is currently in
|
|
294
|
+
# > [Beta](https://cloud.google.com/terms/launch-stages).
|
|
295
|
+
# @param [String] resource
|
|
296
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
|
297
|
+
# See the operation documentation for the appropriate value for this field.
|
|
298
|
+
# @param [Google::Apis::CloudbillingV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
|
299
|
+
# @param [String] fields
|
|
300
|
+
# Selector specifying which fields to include in a partial response.
|
|
301
|
+
# @param [String] quota_user
|
|
302
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
303
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
304
|
+
# @param [Google::Apis::RequestOptions] options
|
|
305
|
+
# Request-specific options
|
|
306
|
+
#
|
|
307
|
+
# @yield [result, err] Result & error if block supplied
|
|
308
|
+
# @yieldparam result [Google::Apis::CloudbillingV1::TestIamPermissionsResponse] parsed result object
|
|
309
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
310
|
+
#
|
|
311
|
+
# @return [Google::Apis::CloudbillingV1::TestIamPermissionsResponse]
|
|
312
|
+
#
|
|
313
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
314
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
315
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
316
|
+
def test_billing_account_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
317
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
|
318
|
+
command.request_representation = Google::Apis::CloudbillingV1::TestIamPermissionsRequest::Representation
|
|
319
|
+
command.request_object = test_iam_permissions_request_object
|
|
320
|
+
command.response_representation = Google::Apis::CloudbillingV1::TestIamPermissionsResponse::Representation
|
|
321
|
+
command.response_class = Google::Apis::CloudbillingV1::TestIamPermissionsResponse
|
|
322
|
+
command.params['resource'] = resource unless resource.nil?
|
|
323
|
+
command.query['fields'] = fields unless fields.nil?
|
|
324
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
325
|
+
execute_or_queue_command(command, &block)
|
|
326
|
+
end
|
|
327
|
+
|
|
121
328
|
# Lists the projects associated with a billing account. The current
|
|
122
|
-
# authenticated user must have the
|
|
329
|
+
# authenticated user must have the `billing.resourceAssociations.list` IAM
|
|
123
330
|
# permission, which is often given to billing account
|
|
124
|
-
# [viewers](https://
|
|
331
|
+
# [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
|
|
125
332
|
# @param [String] name
|
|
126
333
|
# The resource name of the billing account associated with the projects that
|
|
127
334
|
# you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
|
|
@@ -203,13 +410,13 @@ module Google
|
|
|
203
410
|
# billing account, this method changes the billing account used for resource
|
|
204
411
|
# usage charges.
|
|
205
412
|
# *Note:* Incurred charges that have not yet been reported in the transaction
|
|
206
|
-
# history of the
|
|
413
|
+
# history of the GCP Console might be billed to the new billing
|
|
207
414
|
# account, even if the charge occurred before the new billing account was
|
|
208
415
|
# assigned to the project.
|
|
209
416
|
# The current authenticated user must have ownership privileges for both the
|
|
210
417
|
# [project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
|
|
211
418
|
# ) and the [billing
|
|
212
|
-
# account](https://
|
|
419
|
+
# account](https://cloud.google.com/billing/docs/how-to/billing-access).
|
|
213
420
|
# You can disable billing on the project by setting the
|
|
214
421
|
# `billing_account_name` field to empty. This action disassociates the
|
|
215
422
|
# current billing account from the project. Any billable activity of your
|
|
@@ -18,14 +18,14 @@ require 'google/apis/cloudbuild_v1/representations.rb'
|
|
|
18
18
|
|
|
19
19
|
module Google
|
|
20
20
|
module Apis
|
|
21
|
-
#
|
|
21
|
+
# Cloud Container Builder API
|
|
22
22
|
#
|
|
23
23
|
# Builds container images in the cloud.
|
|
24
24
|
#
|
|
25
25
|
# @see https://cloud.google.com/container-builder/docs/
|
|
26
26
|
module CloudbuildV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20180327'
|
|
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,11 +22,74 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module CloudbuildV1
|
|
24
24
|
|
|
25
|
+
# Files in the workspace to upload to Cloud Storage upon successful
|
|
26
|
+
# completion of all build steps.
|
|
27
|
+
class ArtifactObjects
|
|
28
|
+
include Google::Apis::Core::Hashable
|
|
29
|
+
|
|
30
|
+
# Cloud Storage bucket and optional object path, in the form
|
|
31
|
+
# "gs://bucket/path/to/somewhere/". (see [Bucket Name
|
|
32
|
+
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
|
33
|
+
# ).
|
|
34
|
+
# Files in the workspace matching any path pattern will be uploaded to
|
|
35
|
+
# Cloud Storage with this location as a prefix.
|
|
36
|
+
# Corresponds to the JSON property `location`
|
|
37
|
+
# @return [String]
|
|
38
|
+
attr_accessor :location
|
|
39
|
+
|
|
40
|
+
# Path globs used to match files in the build's workspace.
|
|
41
|
+
# Corresponds to the JSON property `paths`
|
|
42
|
+
# @return [Array<String>]
|
|
43
|
+
attr_accessor :paths
|
|
44
|
+
|
|
45
|
+
def initialize(**args)
|
|
46
|
+
update!(**args)
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Update properties of this object
|
|
50
|
+
def update!(**args)
|
|
51
|
+
@location = args[:location] if args.key?(:location)
|
|
52
|
+
@paths = args[:paths] if args.key?(:paths)
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# Artifacts produced by a build that should be uploaded upon
|
|
57
|
+
# successful completion of all build steps.
|
|
58
|
+
class Artifacts
|
|
59
|
+
include Google::Apis::Core::Hashable
|
|
60
|
+
|
|
61
|
+
# A list of images to be pushed upon the successful completion of all build
|
|
62
|
+
# steps.
|
|
63
|
+
# The images will be pushed using the builder service account's credentials.
|
|
64
|
+
# The digests of the pushed images will be stored in the Build resource's
|
|
65
|
+
# results field.
|
|
66
|
+
# If any of the images fail to be pushed, the build is marked FAILURE.
|
|
67
|
+
# Corresponds to the JSON property `images`
|
|
68
|
+
# @return [Array<String>]
|
|
69
|
+
attr_accessor :images
|
|
70
|
+
|
|
71
|
+
# Files in the workspace to upload to Cloud Storage upon successful
|
|
72
|
+
# completion of all build steps.
|
|
73
|
+
# Corresponds to the JSON property `objects`
|
|
74
|
+
# @return [Google::Apis::CloudbuildV1::ArtifactObjects]
|
|
75
|
+
attr_accessor :objects
|
|
76
|
+
|
|
77
|
+
def initialize(**args)
|
|
78
|
+
update!(**args)
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Update properties of this object
|
|
82
|
+
def update!(**args)
|
|
83
|
+
@images = args[:images] if args.key?(:images)
|
|
84
|
+
@objects = args[:objects] if args.key?(:objects)
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
|
|
25
88
|
# A build resource in the Container Builder API.
|
|
26
|
-
# At a high level, a Build describes where to find source code, how to build
|
|
27
|
-
# it (for example, the builder image to run on the source), and
|
|
28
|
-
#
|
|
29
|
-
# Fields can include the following variables which will be expanded when the
|
|
89
|
+
# At a high level, a `Build` describes where to find source code, how to build
|
|
90
|
+
# it (for example, the builder image to run on the source), and where to store
|
|
91
|
+
# the built artifacts.
|
|
92
|
+
# Fields can include the following variables, which will be expanded when the
|
|
30
93
|
# build is created:
|
|
31
94
|
# - $PROJECT_ID: the project ID of the build.
|
|
32
95
|
# - $BUILD_ID: the autogenerated ID of the build.
|
|
@@ -39,7 +102,13 @@ module Google
|
|
|
39
102
|
class Build
|
|
40
103
|
include Google::Apis::Core::Hashable
|
|
41
104
|
|
|
42
|
-
#
|
|
105
|
+
# Artifacts produced by a build that should be uploaded upon
|
|
106
|
+
# successful completion of all build steps.
|
|
107
|
+
# Corresponds to the JSON property `artifacts`
|
|
108
|
+
# @return [Google::Apis::CloudbuildV1::Artifacts]
|
|
109
|
+
attr_accessor :artifacts
|
|
110
|
+
|
|
111
|
+
# The ID of the `BuildTrigger` that triggered this build, if it was
|
|
43
112
|
# triggered automatically.
|
|
44
113
|
# @OutputOnly
|
|
45
114
|
# Corresponds to the JSON property `buildTriggerId`
|
|
@@ -68,10 +137,11 @@ module Google
|
|
|
68
137
|
|
|
69
138
|
# A list of images to be pushed upon the successful completion of all build
|
|
70
139
|
# steps.
|
|
71
|
-
# The images
|
|
72
|
-
# The digests of the pushed images will be stored in the Build resource's
|
|
140
|
+
# The images are pushed using the builder service account's credentials.
|
|
141
|
+
# The digests of the pushed images will be stored in the `Build` resource's
|
|
73
142
|
# results field.
|
|
74
|
-
# If any of the images fail to be pushed, the build is marked
|
|
143
|
+
# If any of the images fail to be pushed, the build status is marked
|
|
144
|
+
# `FAILURE`.
|
|
75
145
|
# Corresponds to the JSON property `images`
|
|
76
146
|
# @return [Array<String>]
|
|
77
147
|
attr_accessor :images
|
|
@@ -102,18 +172,17 @@ module Google
|
|
|
102
172
|
# @return [String]
|
|
103
173
|
attr_accessor :project_id
|
|
104
174
|
|
|
105
|
-
#
|
|
175
|
+
# Artifacts created by the build pipeline.
|
|
106
176
|
# Corresponds to the JSON property `results`
|
|
107
177
|
# @return [Google::Apis::CloudbuildV1::Results]
|
|
108
178
|
attr_accessor :results
|
|
109
179
|
|
|
110
|
-
# Secrets to decrypt using Cloud
|
|
180
|
+
# Secrets to decrypt using Cloud Key Management Service.
|
|
111
181
|
# Corresponds to the JSON property `secrets`
|
|
112
182
|
# @return [Array<Google::Apis::CloudbuildV1::Secret>]
|
|
113
183
|
attr_accessor :secrets
|
|
114
184
|
|
|
115
|
-
#
|
|
116
|
-
# service.
|
|
185
|
+
# Location of the source in a supported storage service.
|
|
117
186
|
# Corresponds to the JSON property `source`
|
|
118
187
|
# @return [Google::Apis::CloudbuildV1::Source]
|
|
119
188
|
attr_accessor :source
|
|
@@ -142,24 +211,24 @@ module Google
|
|
|
142
211
|
# @return [String]
|
|
143
212
|
attr_accessor :status_detail
|
|
144
213
|
|
|
145
|
-
#
|
|
214
|
+
# Required. The operations to be performed on the workspace.
|
|
146
215
|
# Corresponds to the JSON property `steps`
|
|
147
216
|
# @return [Array<Google::Apis::CloudbuildV1::BuildStep>]
|
|
148
217
|
attr_accessor :steps
|
|
149
218
|
|
|
150
|
-
# Substitutions data for Build resource.
|
|
219
|
+
# Substitutions data for `Build` resource.
|
|
151
220
|
# Corresponds to the JSON property `substitutions`
|
|
152
221
|
# @return [Hash<String,String>]
|
|
153
222
|
attr_accessor :substitutions
|
|
154
223
|
|
|
155
|
-
# Tags for annotation of a Build
|
|
224
|
+
# Tags for annotation of a `Build`. These are not docker tags.
|
|
156
225
|
# Corresponds to the JSON property `tags`
|
|
157
226
|
# @return [Array<String>]
|
|
158
227
|
attr_accessor :tags
|
|
159
228
|
|
|
160
229
|
# Amount of time that this build should be allowed to run, to second
|
|
161
230
|
# granularity. If this amount of time elapses, work on the build will cease
|
|
162
|
-
# and the build status will be TIMEOUT
|
|
231
|
+
# and the build status will be `TIMEOUT`.
|
|
163
232
|
# Default time is ten minutes.
|
|
164
233
|
# Corresponds to the JSON property `timeout`
|
|
165
234
|
# @return [String]
|
|
@@ -169,7 +238,7 @@ module Google
|
|
|
169
238
|
# * BUILD: time to execute all build steps
|
|
170
239
|
# * PUSH: time to push all specified images.
|
|
171
240
|
# * FETCHSOURCE: time to fetch source.
|
|
172
|
-
# If the build does not specify source
|
|
241
|
+
# If the build does not specify source or images,
|
|
173
242
|
# these keys will not be included.
|
|
174
243
|
# @OutputOnly
|
|
175
244
|
# Corresponds to the JSON property `timing`
|
|
@@ -182,6 +251,7 @@ module Google
|
|
|
182
251
|
|
|
183
252
|
# Update properties of this object
|
|
184
253
|
def update!(**args)
|
|
254
|
+
@artifacts = args[:artifacts] if args.key?(:artifacts)
|
|
185
255
|
@build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
|
|
186
256
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
187
257
|
@finish_time = args[:finish_time] if args.key?(:finish_time)
|
|
@@ -211,10 +281,10 @@ module Google
|
|
|
211
281
|
include Google::Apis::Core::Hashable
|
|
212
282
|
|
|
213
283
|
# A build resource in the Container Builder API.
|
|
214
|
-
# At a high level, a Build describes where to find source code, how to build
|
|
215
|
-
# it (for example, the builder image to run on the source), and
|
|
216
|
-
#
|
|
217
|
-
# Fields can include the following variables which will be expanded when the
|
|
284
|
+
# At a high level, a `Build` describes where to find source code, how to build
|
|
285
|
+
# it (for example, the builder image to run on the source), and where to store
|
|
286
|
+
# the built artifacts.
|
|
287
|
+
# Fields can include the following variables, which will be expanded when the
|
|
218
288
|
# build is created:
|
|
219
289
|
# - $PROJECT_ID: the project ID of the build.
|
|
220
290
|
# - $BUILD_ID: the autogenerated ID of the build.
|
|
@@ -252,7 +322,7 @@ module Google
|
|
|
252
322
|
# @return [Fixnum]
|
|
253
323
|
attr_accessor :disk_size_gb
|
|
254
324
|
|
|
255
|
-
#
|
|
325
|
+
# Option to define build log streaming behavior to Google Cloud
|
|
256
326
|
# Storage.
|
|
257
327
|
# Corresponds to the JSON property `logStreamingOption`
|
|
258
328
|
# @return [String]
|
|
@@ -273,7 +343,8 @@ module Google
|
|
|
273
343
|
# @return [Array<String>]
|
|
274
344
|
attr_accessor :source_provenance_hash
|
|
275
345
|
|
|
276
|
-
#
|
|
346
|
+
# Option to specify behavior when there is an error in the substitution
|
|
347
|
+
# checks.
|
|
277
348
|
# Corresponds to the JSON property `substitutionOption`
|
|
278
349
|
# @return [String]
|
|
279
350
|
attr_accessor :substitution_option
|
|
@@ -293,14 +364,14 @@ module Google
|
|
|
293
364
|
end
|
|
294
365
|
end
|
|
295
366
|
|
|
296
|
-
#
|
|
367
|
+
# A step in the build pipeline.
|
|
297
368
|
class BuildStep
|
|
298
369
|
include Google::Apis::Core::Hashable
|
|
299
370
|
|
|
300
371
|
# A list of arguments that will be presented to the step when it is started.
|
|
301
|
-
# If the image used to run the step's container has an entrypoint,
|
|
302
|
-
#
|
|
303
|
-
# an entrypoint, the first element in args
|
|
372
|
+
# If the image used to run the step's container has an entrypoint, the `args`
|
|
373
|
+
# are used as arguments to that entrypoint. If the image does not define
|
|
374
|
+
# an entrypoint, the first element in args is used as the entrypoint,
|
|
304
375
|
# and the remainder will be used as arguments.
|
|
305
376
|
# Corresponds to the JSON property `args`
|
|
306
377
|
# @return [Array<String>]
|
|
@@ -310,16 +381,16 @@ module Google
|
|
|
310
381
|
# If this value is a relative path, it is relative to the build's working
|
|
311
382
|
# directory. If this value is absolute, it may be outside the build's working
|
|
312
383
|
# directory, in which case the contents of the path may not be persisted
|
|
313
|
-
# across build step executions, unless a volume for that path is specified.
|
|
314
|
-
# If the build specifies a RepoSource with dir and a step with a dir
|
|
315
|
-
# specifies an absolute path, the RepoSource dir is ignored for
|
|
316
|
-
# execution.
|
|
384
|
+
# across build step executions, unless a `volume` for that path is specified.
|
|
385
|
+
# If the build specifies a `RepoSource` with `dir` and a step with a `dir`,
|
|
386
|
+
# which specifies an absolute path, the `RepoSource` `dir` is ignored for
|
|
387
|
+
# the step's execution.
|
|
317
388
|
# Corresponds to the JSON property `dir`
|
|
318
389
|
# @return [String]
|
|
319
390
|
attr_accessor :dir
|
|
320
391
|
|
|
321
|
-
#
|
|
322
|
-
# If unset, the image's default
|
|
392
|
+
# Entrypoint to be used instead of the build step image's default entrypoint.
|
|
393
|
+
# If unset, the image's default entrypoint is used.
|
|
323
394
|
# Corresponds to the JSON property `entrypoint`
|
|
324
395
|
# @return [String]
|
|
325
396
|
attr_accessor :entrypoint
|
|
@@ -331,14 +402,15 @@ module Google
|
|
|
331
402
|
# @return [Array<String>]
|
|
332
403
|
attr_accessor :env
|
|
333
404
|
|
|
334
|
-
#
|
|
405
|
+
# Unique identifier for this build step, used in `wait_for` to
|
|
335
406
|
# reference this build step as a dependency.
|
|
336
407
|
# Corresponds to the JSON property `id`
|
|
337
408
|
# @return [String]
|
|
338
409
|
attr_accessor :id
|
|
339
410
|
|
|
340
|
-
# The name of the container image that will run this particular
|
|
341
|
-
#
|
|
411
|
+
# Required. The name of the container image that will run this particular
|
|
412
|
+
# build step.
|
|
413
|
+
# If the image is available in the host's Docker daemon's cache, it
|
|
342
414
|
# will be run directly. If not, the host will attempt to pull the image
|
|
343
415
|
# first, using the builder service account's credentials if necessary.
|
|
344
416
|
# The Docker daemon's cache will already have the latest versions of all of
|
|
@@ -355,13 +427,29 @@ module Google
|
|
|
355
427
|
# @return [String]
|
|
356
428
|
attr_accessor :name
|
|
357
429
|
|
|
358
|
-
# A list of environment variables which are encrypted using a Cloud
|
|
359
|
-
# crypto key. These values must be specified in the
|
|
430
|
+
# A list of environment variables which are encrypted using a Cloud Key
|
|
431
|
+
# Management Service crypto key. These values must be specified in the
|
|
432
|
+
# build's `Secret`.
|
|
360
433
|
# Corresponds to the JSON property `secretEnv`
|
|
361
434
|
# @return [Array<String>]
|
|
362
435
|
attr_accessor :secret_env
|
|
363
436
|
|
|
364
|
-
#
|
|
437
|
+
# Status of the build step. At this time, build step status is only updated
|
|
438
|
+
# on build completion; step status is not updated in real-time as the build
|
|
439
|
+
# progresses.
|
|
440
|
+
# @OutputOnly
|
|
441
|
+
# Corresponds to the JSON property `status`
|
|
442
|
+
# @return [String]
|
|
443
|
+
attr_accessor :status
|
|
444
|
+
|
|
445
|
+
# Time limit for executing this build step. If not defined, the step has no
|
|
446
|
+
# time limit and will be allowed to continue to run until either it completes
|
|
447
|
+
# or the build itself times out.
|
|
448
|
+
# Corresponds to the JSON property `timeout`
|
|
449
|
+
# @return [String]
|
|
450
|
+
attr_accessor :timeout
|
|
451
|
+
|
|
452
|
+
# Start and end times for a build execution phase.
|
|
365
453
|
# Corresponds to the JSON property `timing`
|
|
366
454
|
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
|
367
455
|
attr_accessor :timing
|
|
@@ -377,10 +465,10 @@ module Google
|
|
|
377
465
|
attr_accessor :volumes
|
|
378
466
|
|
|
379
467
|
# The ID(s) of the step(s) that this build step depends on.
|
|
380
|
-
# This build step will not start until all the build steps in wait_for
|
|
381
|
-
# have completed successfully. If wait_for is empty, this build step will
|
|
382
|
-
# start when all previous build steps in the Build.Steps list have
|
|
383
|
-
# successfully.
|
|
468
|
+
# This build step will not start until all the build steps in `wait_for`
|
|
469
|
+
# have completed successfully. If `wait_for` is empty, this build step will
|
|
470
|
+
# start when all previous build steps in the `Build.Steps` list have
|
|
471
|
+
# completed successfully.
|
|
384
472
|
# Corresponds to the JSON property `waitFor`
|
|
385
473
|
# @return [Array<String>]
|
|
386
474
|
attr_accessor :wait_for
|
|
@@ -398,6 +486,8 @@ module Google
|
|
|
398
486
|
@id = args[:id] if args.key?(:id)
|
|
399
487
|
@name = args[:name] if args.key?(:name)
|
|
400
488
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
|
489
|
+
@status = args[:status] if args.key?(:status)
|
|
490
|
+
@timeout = args[:timeout] if args.key?(:timeout)
|
|
401
491
|
@timing = args[:timing] if args.key?(:timing)
|
|
402
492
|
@volumes = args[:volumes] if args.key?(:volumes)
|
|
403
493
|
@wait_for = args[:wait_for] if args.key?(:wait_for)
|
|
@@ -410,10 +500,10 @@ module Google
|
|
|
410
500
|
include Google::Apis::Core::Hashable
|
|
411
501
|
|
|
412
502
|
# A build resource in the Container Builder API.
|
|
413
|
-
# At a high level, a Build describes where to find source code, how to build
|
|
414
|
-
# it (for example, the builder image to run on the source), and
|
|
415
|
-
#
|
|
416
|
-
# Fields can include the following variables which will be expanded when the
|
|
503
|
+
# At a high level, a `Build` describes where to find source code, how to build
|
|
504
|
+
# it (for example, the builder image to run on the source), and where to store
|
|
505
|
+
# the built artifacts.
|
|
506
|
+
# Fields can include the following variables, which will be expanded when the
|
|
417
507
|
# build is created:
|
|
418
508
|
# - $PROJECT_ID: the project ID of the build.
|
|
419
509
|
# - $BUILD_ID: the autogenerated ID of the build.
|
|
@@ -461,8 +551,7 @@ module Google
|
|
|
461
551
|
# @return [Hash<String,String>]
|
|
462
552
|
attr_accessor :substitutions
|
|
463
553
|
|
|
464
|
-
#
|
|
465
|
-
# Repository.
|
|
554
|
+
# Location of the source in a Google Cloud Source Repository.
|
|
466
555
|
# Corresponds to the JSON property `triggerTemplate`
|
|
467
556
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
|
468
557
|
attr_accessor :trigger_template
|
|
@@ -484,7 +573,7 @@ module Google
|
|
|
484
573
|
end
|
|
485
574
|
end
|
|
486
575
|
|
|
487
|
-
#
|
|
576
|
+
# An image built by the pipeline.
|
|
488
577
|
class BuiltImage
|
|
489
578
|
include Google::Apis::Core::Hashable
|
|
490
579
|
|
|
@@ -499,7 +588,7 @@ module Google
|
|
|
499
588
|
# @return [String]
|
|
500
589
|
attr_accessor :name
|
|
501
590
|
|
|
502
|
-
#
|
|
591
|
+
# Start and end times for a build execution phase.
|
|
503
592
|
# Corresponds to the JSON property `pushTiming`
|
|
504
593
|
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
|
505
594
|
attr_accessor :push_timing
|
|
@@ -607,11 +696,11 @@ module Google
|
|
|
607
696
|
end
|
|
608
697
|
end
|
|
609
698
|
|
|
610
|
-
# Response containing existing BuildTriggers
|
|
699
|
+
# Response containing existing `BuildTriggers`.
|
|
611
700
|
class ListBuildTriggersResponse
|
|
612
701
|
include Google::Apis::Core::Hashable
|
|
613
702
|
|
|
614
|
-
# BuildTriggers for the project, sorted by create_time descending.
|
|
703
|
+
# `BuildTriggers` for the project, sorted by `create_time` descending.
|
|
615
704
|
# Corresponds to the JSON property `triggers`
|
|
616
705
|
# @return [Array<Google::Apis::CloudbuildV1::BuildTrigger>]
|
|
617
706
|
attr_accessor :triggers
|
|
@@ -630,7 +719,7 @@ module Google
|
|
|
630
719
|
class ListBuildsResponse
|
|
631
720
|
include Google::Apis::Core::Hashable
|
|
632
721
|
|
|
633
|
-
# Builds will be sorted by create_time
|
|
722
|
+
# Builds will be sorted by `create_time`, descending.
|
|
634
723
|
# Corresponds to the JSON property `builds`
|
|
635
724
|
# @return [Array<Google::Apis::CloudbuildV1::Build>]
|
|
636
725
|
attr_accessor :builds
|
|
@@ -773,8 +862,7 @@ module Google
|
|
|
773
862
|
end
|
|
774
863
|
end
|
|
775
864
|
|
|
776
|
-
#
|
|
777
|
-
# Repository.
|
|
865
|
+
# Location of the source in a Google Cloud Source Repository.
|
|
778
866
|
class RepoSource
|
|
779
867
|
include Google::Apis::Core::Hashable
|
|
780
868
|
|
|
@@ -789,19 +877,20 @@ module Google
|
|
|
789
877
|
attr_accessor :commit_sha
|
|
790
878
|
|
|
791
879
|
# Directory, relative to the source root, in which to run the build.
|
|
792
|
-
# This must be a relative path. If a step's dir is specified and is an
|
|
880
|
+
# This must be a relative path. If a step's `dir` is specified and is an
|
|
793
881
|
# absolute path, this value is ignored for that step's execution.
|
|
794
882
|
# Corresponds to the JSON property `dir`
|
|
795
883
|
# @return [String]
|
|
796
884
|
attr_accessor :dir
|
|
797
885
|
|
|
798
|
-
# ID of the project that owns the
|
|
799
|
-
# the build is assumed.
|
|
886
|
+
# ID of the project that owns the Cloud Source Repository. If omitted, the
|
|
887
|
+
# project ID requesting the build is assumed.
|
|
800
888
|
# Corresponds to the JSON property `projectId`
|
|
801
889
|
# @return [String]
|
|
802
890
|
attr_accessor :project_id
|
|
803
891
|
|
|
804
|
-
# Name of the
|
|
892
|
+
# Name of the Cloud Source Repository. If omitted, the name "default" is
|
|
893
|
+
# assumed.
|
|
805
894
|
# Corresponds to the JSON property `repoName`
|
|
806
895
|
# @return [String]
|
|
807
896
|
attr_accessor :repo_name
|
|
@@ -826,32 +915,45 @@ module Google
|
|
|
826
915
|
end
|
|
827
916
|
end
|
|
828
917
|
|
|
829
|
-
#
|
|
918
|
+
# Artifacts created by the build pipeline.
|
|
830
919
|
class Results
|
|
831
920
|
include Google::Apis::Core::Hashable
|
|
832
921
|
|
|
833
|
-
#
|
|
922
|
+
# Path to the artifact manifest. Only populated when artifacts are uploaded.
|
|
923
|
+
# Corresponds to the JSON property `artifactManifest`
|
|
924
|
+
# @return [String]
|
|
925
|
+
attr_accessor :artifact_manifest
|
|
926
|
+
|
|
927
|
+
# List of build step digests, in the order corresponding to build step
|
|
928
|
+
# indices.
|
|
834
929
|
# Corresponds to the JSON property `buildStepImages`
|
|
835
930
|
# @return [Array<String>]
|
|
836
931
|
attr_accessor :build_step_images
|
|
837
932
|
|
|
838
|
-
#
|
|
933
|
+
# Container images that were built as a part of the build.
|
|
839
934
|
# Corresponds to the JSON property `images`
|
|
840
935
|
# @return [Array<Google::Apis::CloudbuildV1::BuiltImage>]
|
|
841
936
|
attr_accessor :images
|
|
842
937
|
|
|
938
|
+
# Number of artifacts uploaded. Only populated when artifacts are uploaded.
|
|
939
|
+
# Corresponds to the JSON property `numArtifacts`
|
|
940
|
+
# @return [Fixnum]
|
|
941
|
+
attr_accessor :num_artifacts
|
|
942
|
+
|
|
843
943
|
def initialize(**args)
|
|
844
944
|
update!(**args)
|
|
845
945
|
end
|
|
846
946
|
|
|
847
947
|
# Update properties of this object
|
|
848
948
|
def update!(**args)
|
|
949
|
+
@artifact_manifest = args[:artifact_manifest] if args.key?(:artifact_manifest)
|
|
849
950
|
@build_step_images = args[:build_step_images] if args.key?(:build_step_images)
|
|
850
951
|
@images = args[:images] if args.key?(:images)
|
|
952
|
+
@num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
|
|
851
953
|
end
|
|
852
954
|
end
|
|
853
955
|
|
|
854
|
-
#
|
|
956
|
+
# Specifies a build to retry.
|
|
855
957
|
class RetryBuildRequest
|
|
856
958
|
include Google::Apis::Core::Hashable
|
|
857
959
|
|
|
@@ -864,7 +966,7 @@ module Google
|
|
|
864
966
|
end
|
|
865
967
|
end
|
|
866
968
|
|
|
867
|
-
#
|
|
969
|
+
# Pairs a set of secret environment variables containing encrypted
|
|
868
970
|
# values with the Cloud KMS key to use to decrypt the value.
|
|
869
971
|
class Secret
|
|
870
972
|
include Google::Apis::Core::Hashable
|
|
@@ -894,19 +996,16 @@ module Google
|
|
|
894
996
|
end
|
|
895
997
|
end
|
|
896
998
|
|
|
897
|
-
#
|
|
898
|
-
# service.
|
|
999
|
+
# Location of the source in a supported storage service.
|
|
899
1000
|
class Source
|
|
900
1001
|
include Google::Apis::Core::Hashable
|
|
901
1002
|
|
|
902
|
-
#
|
|
903
|
-
# Repository.
|
|
1003
|
+
# Location of the source in a Google Cloud Source Repository.
|
|
904
1004
|
# Corresponds to the JSON property `repoSource`
|
|
905
1005
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
|
906
1006
|
attr_accessor :repo_source
|
|
907
1007
|
|
|
908
|
-
#
|
|
909
|
-
# Google Cloud Storage.
|
|
1008
|
+
# Location of the source in an archive file in Google Cloud Storage.
|
|
910
1009
|
# Corresponds to the JSON property `storageSource`
|
|
911
1010
|
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
|
912
1011
|
attr_accessor :storage_source
|
|
@@ -928,25 +1027,23 @@ module Google
|
|
|
928
1027
|
include Google::Apis::Core::Hashable
|
|
929
1028
|
|
|
930
1029
|
# Hash(es) of the build source, which can be used to verify that the original
|
|
931
|
-
# source integrity was maintained in the build. Note that FileHashes will
|
|
932
|
-
# only be populated if BuildOptions has requested a SourceProvenanceHash
|
|
1030
|
+
# source integrity was maintained in the build. Note that `FileHashes` will
|
|
1031
|
+
# only be populated if `BuildOptions` has requested a `SourceProvenanceHash`.
|
|
933
1032
|
# The keys to this map are file paths used as build source and the values
|
|
934
1033
|
# contain the hash values for those files.
|
|
935
1034
|
# If the build source came in a single package such as a gzipped tarfile
|
|
936
|
-
# (
|
|
1035
|
+
# (`.tar.gz`), the `FileHash` will be for the single path to that file.
|
|
937
1036
|
# @OutputOnly
|
|
938
1037
|
# Corresponds to the JSON property `fileHashes`
|
|
939
1038
|
# @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
|
|
940
1039
|
attr_accessor :file_hashes
|
|
941
1040
|
|
|
942
|
-
#
|
|
943
|
-
# Repository.
|
|
1041
|
+
# Location of the source in a Google Cloud Source Repository.
|
|
944
1042
|
# Corresponds to the JSON property `resolvedRepoSource`
|
|
945
1043
|
# @return [Google::Apis::CloudbuildV1::RepoSource]
|
|
946
1044
|
attr_accessor :resolved_repo_source
|
|
947
1045
|
|
|
948
|
-
#
|
|
949
|
-
# Google Cloud Storage.
|
|
1046
|
+
# Location of the source in an archive file in Google Cloud Storage.
|
|
950
1047
|
# Corresponds to the JSON property `resolvedStorageSource`
|
|
951
1048
|
# @return [Google::Apis::CloudbuildV1::StorageSource]
|
|
952
1049
|
attr_accessor :resolved_storage_source
|
|
@@ -1035,12 +1132,11 @@ module Google
|
|
|
1035
1132
|
end
|
|
1036
1133
|
end
|
|
1037
1134
|
|
|
1038
|
-
#
|
|
1039
|
-
# Google Cloud Storage.
|
|
1135
|
+
# Location of the source in an archive file in Google Cloud Storage.
|
|
1040
1136
|
class StorageSource
|
|
1041
1137
|
include Google::Apis::Core::Hashable
|
|
1042
1138
|
|
|
1043
|
-
# Google Cloud Storage bucket containing source (see
|
|
1139
|
+
# Google Cloud Storage bucket containing the source (see
|
|
1044
1140
|
# [Bucket Name
|
|
1045
1141
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
|
1046
1142
|
# ).
|
|
@@ -1054,8 +1150,8 @@ module Google
|
|
|
1054
1150
|
# @return [Fixnum]
|
|
1055
1151
|
attr_accessor :generation
|
|
1056
1152
|
|
|
1057
|
-
# Google Cloud Storage object containing source.
|
|
1058
|
-
# This object must be a gzipped archive file (
|
|
1153
|
+
# Google Cloud Storage object containing the source.
|
|
1154
|
+
# This object must be a gzipped archive file (`.tar.gz`) containing source to
|
|
1059
1155
|
# build.
|
|
1060
1156
|
# Corresponds to the JSON property `object`
|
|
1061
1157
|
# @return [String]
|
|
@@ -1073,7 +1169,7 @@ module Google
|
|
|
1073
1169
|
end
|
|
1074
1170
|
end
|
|
1075
1171
|
|
|
1076
|
-
#
|
|
1172
|
+
# Start and end times for a build execution phase.
|
|
1077
1173
|
class TimeSpan
|
|
1078
1174
|
include Google::Apis::Core::Hashable
|
|
1079
1175
|
|