google-api-client 0.43.0 → 0.44.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +218 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +51 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +17 -6
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +224 -243
- data/generated/google/apis/admin_directory_v1/representations.rb +14 -40
- data/generated/google/apis/admin_directory_v1/service.rb +475 -1026
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +95 -59
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/apigee_v1/classes.rb +205 -75
- data/generated/google/apis/apigee_v1/representations.rb +51 -0
- data/generated/google/apis/apigee_v1/service.rb +133 -34
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1/classes.rb +45 -35
- data/generated/google/apis/appengine_v1/representations.rb +2 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +45 -35
- data/generated/google/apis/appengine_v1beta/representations.rb +2 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +355 -553
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +50 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +239 -354
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +90 -115
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +712 -1039
- data/generated/google/apis/cloudasset_v1/service.rb +125 -167
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +291 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +48 -63
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +283 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +269 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -493
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +625 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +203 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +43 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1045 -317
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +263 -373
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +681 -127
- data/generated/google/apis/compute_alpha/representations.rb +110 -6
- data/generated/google/apis/compute_alpha/service.rb +695 -692
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +570 -70
- data/generated/google/apis/compute_beta/representations.rb +112 -1
- data/generated/google/apis/compute_beta/service.rb +608 -605
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +977 -85
- data/generated/google/apis/compute_v1/representations.rb +372 -0
- data/generated/google/apis/compute_v1/service.rb +747 -15
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +915 -965
- data/generated/google/apis/container_v1/representations.rb +53 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1021 -1043
- data/generated/google/apis/container_v1beta1/representations.rb +70 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +456 -596
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +454 -613
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +3 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +93 -2
- data/generated/google/apis/content_v2_1/representations.rb +34 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +382 -573
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +268 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +37 -4
- data/generated/google/apis/dataproc_v1/representations.rb +16 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +56 -0
- data/generated/google/apis/dataproc_v1beta2/representations.rb +31 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +348 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +43 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +84 -44
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +52 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +37 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → dialogflow_v3beta1.rb} +13 -10
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8183 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +55 -8
- data/generated/google/apis/displayvideo_v1/representations.rb +5 -0
- data/generated/google/apis/displayvideo_v1/service.rb +48 -36
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1302
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +1186 -810
- data/generated/google/apis/documentai_v1beta2/representations.rb +303 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +11 -18
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +14 -6
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +14 -6
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +25 -47
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +8 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +26 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +15 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +0 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +0 -1
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +85 -0
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +626 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +76 -83
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +84 -90
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +4 -3
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +1 -1
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +563 -826
- data/generated/google/apis/healthcare_v1/service.rb +675 -853
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +828 -1102
- data/generated/google/apis/healthcare_v1beta1/representations.rb +20 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +895 -1139
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +388 -592
- data/generated/google/apis/iam_v1/service.rb +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +246 -355
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +157 -254
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -249
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -71
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +949 -1144
- data/generated/google/apis/ml_v1/representations.rb +64 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +103 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +220 -322
- data/generated/google/apis/monitoring_v3/service.rb +121 -140
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +226 -270
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +1031 -411
- data/generated/google/apis/osconfig_v1beta/representations.rb +337 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +121 -12
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +39 -39
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +392 -518
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/{memcache_v1 → pubsublite_v1}/service.rb +195 -228
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +335 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +172 -208
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +176 -212
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +4 -3
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +295 -412
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +6 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +211 -363
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +16 -6
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +21 -9
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +281 -103
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +18 -48
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +19 -49
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +279 -325
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +214 -333
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1266 -2116
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +93 -48
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +116 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +74 -48
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +52 -48
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -49
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2157
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +311 -370
- data/generated/google/apis/sql_v1beta4/representations.rb +2 -0
- data/generated/google/apis/sql_v1beta4/service.rb +51 -56
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +261 -339
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -64
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +317 -382
- data/generated/google/apis/testing_v1/representations.rb +2 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +7 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +1 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1/representations.rb +1 -0
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +11 -0
- data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → trafficdirector_v2.rb} +9 -9
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +40 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- 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 +347 -0
- data/generated/google/apis/youtube_v3/representations.rb +176 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -31
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/memcache_v1/representations.rb +0 -471
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/representations.rb +0 -68
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +0 -207
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -48,16 +48,13 @@ module Google
|
|
48
48
|
@batch_path = 'batch'
|
49
49
|
end
|
50
50
|
|
51
|
-
# Creates a billing account.
|
52
|
-
#
|
53
|
-
#
|
54
|
-
#
|
55
|
-
#
|
56
|
-
#
|
57
|
-
#
|
58
|
-
# [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
|
59
|
-
# This method will return an error if the master account has not been
|
60
|
-
# provisioned as a reseller account.
|
51
|
+
# Creates a billing account. This method can only be used to create [billing
|
52
|
+
# subaccounts](https://cloud.google.com/billing/docs/concepts) by Google Cloud
|
53
|
+
# resellers. When creating a subaccount, the current authenticated user must
|
54
|
+
# have the `billing.accounts.update` IAM permission on the master account, which
|
55
|
+
# is typically given to billing account [administrators](https://cloud.google.
|
56
|
+
# com/billing/docs/how-to/billing-access). This method will return an error if
|
57
|
+
# the master account has not been provisioned as a reseller account.
|
61
58
|
# @param [Google::Apis::CloudbillingV1::BillingAccount] billing_account_object
|
62
59
|
# @param [String] fields
|
63
60
|
# Selector specifying which fields to include in a partial response.
|
@@ -87,12 +84,12 @@ module Google
|
|
87
84
|
execute_or_queue_command(command, &block)
|
88
85
|
end
|
89
86
|
|
90
|
-
# Gets information about a billing account. The current authenticated user
|
91
|
-
#
|
92
|
-
#
|
87
|
+
# Gets information about a billing account. The current authenticated user must
|
88
|
+
# be a [viewer of the billing account](https://cloud.google.com/billing/docs/how-
|
89
|
+
# to/billing-access).
|
93
90
|
# @param [String] name
|
94
|
-
# Required. The resource name of the billing account to retrieve. For example,
|
95
|
-
#
|
91
|
+
# Required. The resource name of the billing account to retrieve. For example, `
|
92
|
+
# billingAccounts/012345-567890-ABCDEF`.
|
96
93
|
# @param [String] fields
|
97
94
|
# Selector specifying which fields to include in a partial response.
|
98
95
|
# @param [String] quota_user
|
@@ -120,23 +117,21 @@ module Google
|
|
120
117
|
execute_or_queue_command(command, &block)
|
121
118
|
end
|
122
119
|
|
123
|
-
# Gets the access control policy for a billing account.
|
124
|
-
#
|
125
|
-
#
|
126
|
-
#
|
120
|
+
# Gets the access control policy for a billing account. The caller must have the
|
121
|
+
# `billing.accounts.getIamPolicy` permission on the account, which is often
|
122
|
+
# given to billing account [viewers](https://cloud.google.com/billing/docs/how-
|
123
|
+
# to/billing-access).
|
127
124
|
# @param [String] resource
|
128
|
-
# REQUIRED: The resource for which the policy is being requested.
|
129
|
-
#
|
125
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
126
|
+
# operation documentation for the appropriate value for this field.
|
130
127
|
# @param [Fixnum] options_requested_policy_version
|
131
|
-
# Optional. The policy format version to be returned.
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# [IAM
|
139
|
-
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
128
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
129
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
130
|
+
# policies with any conditional bindings must specify version 3. Policies
|
131
|
+
# without any conditional bindings may specify any valid value or leave the
|
132
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
133
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
134
|
+
# resource-policies).
|
140
135
|
# @param [String] fields
|
141
136
|
# Selector specifying which fields to include in a partial response.
|
142
137
|
# @param [String] quota_user
|
@@ -165,23 +160,20 @@ module Google
|
|
165
160
|
execute_or_queue_command(command, &block)
|
166
161
|
end
|
167
162
|
|
168
|
-
# Lists the billing accounts that the current authenticated user has
|
169
|
-
#
|
170
|
-
# [view](https://cloud.google.com/billing/docs/how-to/billing-access).
|
163
|
+
# Lists the billing accounts that the current authenticated user has permission
|
164
|
+
# to [view](https://cloud.google.com/billing/docs/how-to/billing-access).
|
171
165
|
# @param [String] filter
|
172
|
-
# Options for how to filter the returned billing accounts.
|
173
|
-
#
|
174
|
-
#
|
175
|
-
#
|
176
|
-
#
|
177
|
-
# Boolean algebra and other fields are not currently supported.
|
166
|
+
# Options for how to filter the returned billing accounts. Currently this only
|
167
|
+
# supports filtering for [subaccounts](https://cloud.google.com/billing/docs/
|
168
|
+
# concepts) under a single provided reseller billing account. (e.g. "
|
169
|
+
# master_billing_account=billingAccounts/012345-678901-ABCDEF"). Boolean algebra
|
170
|
+
# and other fields are not currently supported.
|
178
171
|
# @param [Fixnum] page_size
|
179
|
-
# Requested page size. The maximum page size is 100; this is also the
|
180
|
-
# default.
|
172
|
+
# Requested page size. The maximum page size is 100; this is also the default.
|
181
173
|
# @param [String] page_token
|
182
|
-
# A token identifying a page of results to return. This should be a
|
183
|
-
#
|
184
|
-
#
|
174
|
+
# A token identifying a page of results to return. This should be a `
|
175
|
+
# next_page_token` value returned from a previous `ListBillingAccounts` call. If
|
176
|
+
# unspecified, the first page of results is returned.
|
185
177
|
# @param [String] fields
|
186
178
|
# Selector specifying which fields to include in a partial response.
|
187
179
|
# @param [String] quota_user
|
@@ -211,18 +203,17 @@ module Google
|
|
211
203
|
execute_or_queue_command(command, &block)
|
212
204
|
end
|
213
205
|
|
214
|
-
# Updates a billing account's fields.
|
215
|
-
#
|
216
|
-
#
|
217
|
-
#
|
218
|
-
#
|
219
|
-
# of the billing account.
|
206
|
+
# Updates a billing account's fields. Currently the only field that can be
|
207
|
+
# edited is `display_name`. The current authenticated user must have the `
|
208
|
+
# billing.accounts.update` IAM permission, which is typically given to the [
|
209
|
+
# administrator](https://cloud.google.com/billing/docs/how-to/billing-access) of
|
210
|
+
# the billing account.
|
220
211
|
# @param [String] name
|
221
212
|
# Required. The name of the billing account resource to be updated.
|
222
213
|
# @param [Google::Apis::CloudbillingV1::BillingAccount] billing_account_object
|
223
214
|
# @param [String] update_mask
|
224
|
-
# The update mask applied to the resource.
|
225
|
-
#
|
215
|
+
# The update mask applied to the resource. Only "display_name" is currently
|
216
|
+
# supported.
|
226
217
|
# @param [String] fields
|
227
218
|
# Selector specifying which fields to include in a partial response.
|
228
219
|
# @param [String] quota_user
|
@@ -254,13 +245,12 @@ module Google
|
|
254
245
|
end
|
255
246
|
|
256
247
|
# Sets the access control policy for a billing account. Replaces any existing
|
257
|
-
# policy.
|
258
|
-
#
|
259
|
-
#
|
260
|
-
# [administrators](https://cloud.google.com/billing/docs/how-to/billing-access).
|
248
|
+
# policy. The caller must have the `billing.accounts.setIamPolicy` permission on
|
249
|
+
# the account, which is often given to billing account [administrators](https://
|
250
|
+
# cloud.google.com/billing/docs/how-to/billing-access).
|
261
251
|
# @param [String] resource
|
262
|
-
# REQUIRED: The resource for which the policy is being specified.
|
263
|
-
#
|
252
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
253
|
+
# operation documentation for the appropriate value for this field.
|
264
254
|
# @param [Google::Apis::CloudbillingV1::SetIamPolicyRequest] set_iam_policy_request_object
|
265
255
|
# @param [String] fields
|
266
256
|
# Selector specifying which fields to include in a partial response.
|
@@ -291,12 +281,12 @@ module Google
|
|
291
281
|
execute_or_queue_command(command, &block)
|
292
282
|
end
|
293
283
|
|
294
|
-
# Tests the access control policy for a billing account. This method takes
|
295
|
-
#
|
296
|
-
#
|
284
|
+
# Tests the access control policy for a billing account. This method takes the
|
285
|
+
# resource and a set of permissions as input and returns the subset of the input
|
286
|
+
# permissions that the caller is allowed for that resource.
|
297
287
|
# @param [String] resource
|
298
|
-
# REQUIRED: The resource for which the policy detail is being requested.
|
299
|
-
#
|
288
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
289
|
+
# operation documentation for the appropriate value for this field.
|
300
290
|
# @param [Google::Apis::CloudbillingV1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
301
291
|
# @param [String] fields
|
302
292
|
# Selector specifying which fields to include in a partial response.
|
@@ -329,19 +319,18 @@ module Google
|
|
329
319
|
|
330
320
|
# Lists the projects associated with a billing account. The current
|
331
321
|
# authenticated user must have the `billing.resourceAssociations.list` IAM
|
332
|
-
# permission, which is often given to billing account
|
333
|
-
#
|
322
|
+
# permission, which is often given to billing account [viewers](https://cloud.
|
323
|
+
# google.com/billing/docs/how-to/billing-access).
|
334
324
|
# @param [String] name
|
335
325
|
# Required. The resource name of the billing account associated with the
|
336
|
-
# projects that
|
337
|
-
#
|
326
|
+
# projects that you want to list. For example, `billingAccounts/012345-567890-
|
327
|
+
# ABCDEF`.
|
338
328
|
# @param [Fixnum] page_size
|
339
|
-
# Requested page size. The maximum page size is 100; this is also the
|
340
|
-
# default.
|
329
|
+
# Requested page size. The maximum page size is 100; this is also the default.
|
341
330
|
# @param [String] page_token
|
342
|
-
# A token identifying a page of results to be returned. This should be a
|
343
|
-
#
|
344
|
-
#
|
331
|
+
# A token identifying a page of results to be returned. This should be a `
|
332
|
+
# next_page_token` value returned from a previous `ListProjectBillingInfo` call.
|
333
|
+
# If unspecified, the first page of results is returned.
|
345
334
|
# @param [String] fields
|
346
335
|
# Selector specifying which fields to include in a partial response.
|
347
336
|
# @param [String] quota_user
|
@@ -372,9 +361,8 @@ module Google
|
|
372
361
|
end
|
373
362
|
|
374
363
|
# Gets the billing information for a project. The current authenticated user
|
375
|
-
# must have [permission to view the
|
376
|
-
#
|
377
|
-
# ).
|
364
|
+
# must have [permission to view the project](https://cloud.google.com/docs/
|
365
|
+
# permissions-overview#h.bgs0oxofvnoo ).
|
378
366
|
# @param [String] name
|
379
367
|
# Required. The resource name of the project for which billing information is
|
380
368
|
# retrieved. For example, `projects/tokyo-rain-123`.
|
@@ -405,37 +393,32 @@ module Google
|
|
405
393
|
execute_or_queue_command(command, &block)
|
406
394
|
end
|
407
395
|
|
408
|
-
# Sets or updates the billing account associated with a project. You specify
|
409
|
-
#
|
410
|
-
#
|
396
|
+
# Sets or updates the billing account associated with a project. You specify the
|
397
|
+
# new billing account by setting the `billing_account_name` in the `
|
398
|
+
# ProjectBillingInfo` resource to the resource name of a billing account.
|
411
399
|
# Associating a project with an open billing account enables billing on the
|
412
400
|
# project and allows charges for resource usage. If the project already had a
|
413
401
|
# billing account, this method changes the billing account used for resource
|
414
|
-
# usage charges.
|
415
|
-
#
|
416
|
-
#
|
417
|
-
#
|
418
|
-
#
|
419
|
-
#
|
420
|
-
#
|
421
|
-
#
|
422
|
-
# account
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
#
|
430
|
-
#
|
431
|
-
# much the same effect as disabling billing on the project: any paid
|
432
|
-
# resources used by the project will be shut down. Thus, unless you wish to
|
433
|
-
# disable billing, you should always call this method with the name of an
|
434
|
-
# *open* billing account.
|
402
|
+
# usage charges. *Note:* Incurred charges that have not yet been reported in the
|
403
|
+
# transaction history of the Google Cloud Console might be billed to the new
|
404
|
+
# billing account, even if the charge occurred before the new billing account
|
405
|
+
# was assigned to the project. The current authenticated user must have
|
406
|
+
# ownership privileges for both the [project](https://cloud.google.com/docs/
|
407
|
+
# permissions-overview#h.bgs0oxofvnoo ) and the [billing account](https://cloud.
|
408
|
+
# google.com/billing/docs/how-to/billing-access). You can disable billing on the
|
409
|
+
# project by setting the `billing_account_name` field to empty. This action
|
410
|
+
# disassociates the current billing account from the project. Any billable
|
411
|
+
# activity of your in-use services will stop, and your application could stop
|
412
|
+
# functioning as expected. Any unbilled charges to date will be billed to the
|
413
|
+
# previously associated account. The current authenticated user must be either
|
414
|
+
# an owner of the project or an owner of the billing account for the project.
|
415
|
+
# Note that associating a project with a *closed* billing account will have much
|
416
|
+
# the same effect as disabling billing on the project: any paid resources used
|
417
|
+
# by the project will be shut down. Thus, unless you wish to disable billing,
|
418
|
+
# you should always call this method with the name of an *open* billing account.
|
435
419
|
# @param [String] name
|
436
420
|
# Required. The resource name of the project associated with the billing
|
437
|
-
# information
|
438
|
-
# that you want to update. For example, `projects/tokyo-rain-123`.
|
421
|
+
# information that you want to update. For example, `projects/tokyo-rain-123`.
|
439
422
|
# @param [Google::Apis::CloudbillingV1::ProjectBillingInfo] project_billing_info_object
|
440
423
|
# @param [String] fields
|
441
424
|
# Selector specifying which fields to include in a partial response.
|
@@ -470,9 +453,9 @@ module Google
|
|
470
453
|
# @param [Fixnum] page_size
|
471
454
|
# Requested page size. Defaults to 5000.
|
472
455
|
# @param [String] page_token
|
473
|
-
# A token identifying a page of results to return. This should be a
|
474
|
-
#
|
475
|
-
#
|
456
|
+
# A token identifying a page of results to return. This should be a `
|
457
|
+
# next_page_token` value returned from a previous `ListServices` call. If
|
458
|
+
# unspecified, the first page of results is returned.
|
476
459
|
# @param [String] fields
|
477
460
|
# Selector specifying which fields to include in a partial response.
|
478
461
|
# @param [String] quota_user
|
@@ -503,32 +486,29 @@ module Google
|
|
503
486
|
|
504
487
|
# Lists all publicly available SKUs for a given cloud service.
|
505
488
|
# @param [String] parent
|
506
|
-
# Required. The name of the service.
|
507
|
-
# Example: "services/DA34-426B-A397"
|
489
|
+
# Required. The name of the service. Example: "services/DA34-426B-A397"
|
508
490
|
# @param [String] currency_code
|
509
|
-
# The ISO 4217 currency code for the pricing info in the response proto.
|
510
|
-
#
|
511
|
-
#
|
491
|
+
# The ISO 4217 currency code for the pricing info in the response proto. Will
|
492
|
+
# use the conversion rate as of start_time. Optional. If not specified USD will
|
493
|
+
# be used.
|
512
494
|
# @param [String] end_time
|
513
|
-
# Optional exclusive end time of the time range for which the pricing
|
514
|
-
#
|
515
|
-
#
|
516
|
-
#
|
517
|
-
#
|
518
|
-
# most).
|
495
|
+
# Optional exclusive end time of the time range for which the pricing versions
|
496
|
+
# will be returned. Timestamps in the future are not allowed. The time range has
|
497
|
+
# to be within a single calendar month in America/Los_Angeles timezone. Time
|
498
|
+
# range as a whole is optional. If not specified, the latest pricing will be
|
499
|
+
# returned (up to 12 hours old at most).
|
519
500
|
# @param [Fixnum] page_size
|
520
501
|
# Requested page size. Defaults to 5000.
|
521
502
|
# @param [String] page_token
|
522
|
-
# A token identifying a page of results to return. This should be a
|
523
|
-
#
|
524
|
-
#
|
503
|
+
# A token identifying a page of results to return. This should be a `
|
504
|
+
# next_page_token` value returned from a previous `ListSkus` call. If
|
505
|
+
# unspecified, the first page of results is returned.
|
525
506
|
# @param [String] start_time
|
526
|
-
# Optional inclusive start time of the time range for which the pricing
|
527
|
-
#
|
528
|
-
#
|
529
|
-
#
|
530
|
-
#
|
531
|
-
# most).
|
507
|
+
# Optional inclusive start time of the time range for which the pricing versions
|
508
|
+
# will be returned. Timestamps in the future are not allowed. The time range has
|
509
|
+
# to be within a single calendar month in America/Los_Angeles timezone. Time
|
510
|
+
# range as a whole is optional. If not specified, the latest pricing will be
|
511
|
+
# returned (up to 12 hours old at most).
|
532
512
|
# @param [String] fields
|
533
513
|
# Selector specifying which fields to include in a partial response.
|
534
514
|
# @param [String] quota_user
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1
|
27
27
|
VERSION = 'V1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200817'
|
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,17 +22,15 @@ 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
|
-
#
|
25
|
+
# Files in the workspace to upload to Cloud Storage upon successful completion
|
26
|
+
# of all build steps.
|
27
27
|
class ArtifactObjects
|
28
28
|
include Google::Apis::Core::Hashable
|
29
29
|
|
30
|
-
# Cloud Storage bucket and optional object path, in the form
|
31
|
-
#
|
32
|
-
#
|
33
|
-
#
|
34
|
-
# Files in the workspace matching any path pattern will be uploaded to
|
35
|
-
# Cloud Storage with this location as a prefix.
|
30
|
+
# Cloud Storage bucket and optional object path, in the form "gs://bucket/path/
|
31
|
+
# to/somewhere/". (see [Bucket Name Requirements](https://cloud.google.com/
|
32
|
+
# storage/docs/bucket-naming#requirements)). Files in the workspace matching any
|
33
|
+
# path pattern will be uploaded to Cloud Storage with this location as a prefix.
|
36
34
|
# Corresponds to the JSON property `location`
|
37
35
|
# @return [String]
|
38
36
|
attr_accessor :location
|
@@ -59,8 +57,8 @@ module Google
|
|
59
57
|
end
|
60
58
|
end
|
61
59
|
|
62
|
-
# An artifact that was uploaded during a build. This
|
63
|
-
#
|
60
|
+
# An artifact that was uploaded during a build. This is a single record in the
|
61
|
+
# artifact manifest JSON file.
|
64
62
|
class ArtifactResult
|
65
63
|
include Google::Apis::Core::Hashable
|
66
64
|
|
@@ -69,9 +67,8 @@ module Google
|
|
69
67
|
# @return [Array<Google::Apis::CloudbuildV1::FileHashes>]
|
70
68
|
attr_accessor :file_hash
|
71
69
|
|
72
|
-
# The path of an artifact in a Google Cloud Storage bucket, with the
|
73
|
-
#
|
74
|
-
# `gs://mybucket/path/to/output.jar#generation`.
|
70
|
+
# The path of an artifact in a Google Cloud Storage bucket, with the generation
|
71
|
+
# number. For example, `gs://mybucket/path/to/output.jar#generation`.
|
75
72
|
# Corresponds to the JSON property `location`
|
76
73
|
# @return [String]
|
77
74
|
attr_accessor :location
|
@@ -87,23 +84,22 @@ module Google
|
|
87
84
|
end
|
88
85
|
end
|
89
86
|
|
90
|
-
# Artifacts produced by a build that should be uploaded upon
|
91
|
-
#
|
87
|
+
# Artifacts produced by a build that should be uploaded upon successful
|
88
|
+
# completion of all build steps.
|
92
89
|
class Artifacts
|
93
90
|
include Google::Apis::Core::Hashable
|
94
91
|
|
95
92
|
# A list of images to be pushed upon the successful completion of all build
|
96
|
-
# steps.
|
97
|
-
# The images will be
|
98
|
-
#
|
99
|
-
#
|
100
|
-
# If any of the images fail to be pushed, the build is marked FAILURE.
|
93
|
+
# steps. The images will be pushed using the builder service account's
|
94
|
+
# credentials. The digests of the pushed images will be stored in the Build
|
95
|
+
# resource's results field. If any of the images fail to be pushed, the build is
|
96
|
+
# marked FAILURE.
|
101
97
|
# Corresponds to the JSON property `images`
|
102
98
|
# @return [Array<String>]
|
103
99
|
attr_accessor :images
|
104
100
|
|
105
|
-
# Files in the workspace to upload to Cloud Storage upon successful
|
106
|
-
#
|
101
|
+
# Files in the workspace to upload to Cloud Storage upon successful completion
|
102
|
+
# of all build steps.
|
107
103
|
# Corresponds to the JSON property `objects`
|
108
104
|
# @return [Google::Apis::CloudbuildV1::ArtifactObjects]
|
109
105
|
attr_accessor :objects
|
@@ -119,31 +115,27 @@ module Google
|
|
119
115
|
end
|
120
116
|
end
|
121
117
|
|
122
|
-
# A build resource in the Cloud Build API.
|
123
|
-
#
|
124
|
-
#
|
125
|
-
# the
|
126
|
-
#
|
127
|
-
# build
|
128
|
-
#
|
129
|
-
# - $
|
130
|
-
#
|
131
|
-
#
|
132
|
-
# - $TAG_NAME: the tag name specified by RepoSource.
|
133
|
-
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
|
134
|
-
# resolved from the specified branch or tag.
|
135
|
-
# - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
|
118
|
+
# A build resource in the Cloud Build API. At a high level, a `Build` describes
|
119
|
+
# where to find source code, how to build it (for example, the builder image to
|
120
|
+
# run on the source), and where to store the built artifacts. Fields can include
|
121
|
+
# the following variables, which will be expanded when the build is created: - $
|
122
|
+
# PROJECT_ID: the project ID of the build. - $BUILD_ID: the autogenerated ID of
|
123
|
+
# the build. - $REPO_NAME: the source repository name specified by RepoSource. -
|
124
|
+
# $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag
|
125
|
+
# name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA
|
126
|
+
# specified by RepoSource or resolved from the specified branch or tag. - $
|
127
|
+
# SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
|
136
128
|
class Build
|
137
129
|
include Google::Apis::Core::Hashable
|
138
130
|
|
139
|
-
# Artifacts produced by a build that should be uploaded upon
|
140
|
-
#
|
131
|
+
# Artifacts produced by a build that should be uploaded upon successful
|
132
|
+
# completion of all build steps.
|
141
133
|
# Corresponds to the JSON property `artifacts`
|
142
134
|
# @return [Google::Apis::CloudbuildV1::Artifacts]
|
143
135
|
attr_accessor :artifacts
|
144
136
|
|
145
|
-
# Output only. The ID of the `BuildTrigger` that triggered this build, if it
|
146
|
-
#
|
137
|
+
# Output only. The ID of the `BuildTrigger` that triggered this build, if it was
|
138
|
+
# triggered automatically.
|
147
139
|
# Corresponds to the JSON property `buildTriggerId`
|
148
140
|
# @return [String]
|
149
141
|
attr_accessor :build_trigger_id
|
@@ -153,9 +145,8 @@ module Google
|
|
153
145
|
# @return [String]
|
154
146
|
attr_accessor :create_time
|
155
147
|
|
156
|
-
# Output only. Time at which execution of the build was finished.
|
157
|
-
#
|
158
|
-
# build's execution.
|
148
|
+
# Output only. Time at which execution of the build was finished. The difference
|
149
|
+
# between finish_time and start_time is the duration of the build's execution.
|
159
150
|
# Corresponds to the JSON property `finishTime`
|
160
151
|
# @return [String]
|
161
152
|
attr_accessor :finish_time
|
@@ -166,12 +157,10 @@ module Google
|
|
166
157
|
attr_accessor :id
|
167
158
|
|
168
159
|
# A list of images to be pushed upon the successful completion of all build
|
169
|
-
# steps.
|
170
|
-
# The images are pushed using the builder service account's credentials.
|
160
|
+
# steps. The images are pushed using the builder service account's credentials.
|
171
161
|
# The digests of the pushed images will be stored in the `Build` resource's
|
172
|
-
# results field.
|
173
|
-
#
|
174
|
-
# `FAILURE`.
|
162
|
+
# results field. If any of the images fail to be pushed, the build status is
|
163
|
+
# marked `FAILURE`.
|
175
164
|
# Corresponds to the JSON property `images`
|
176
165
|
# @return [Array<String>]
|
177
166
|
attr_accessor :images
|
@@ -181,11 +170,9 @@ module Google
|
|
181
170
|
# @return [String]
|
182
171
|
attr_accessor :log_url
|
183
172
|
|
184
|
-
# Google Cloud Storage bucket where logs should be written (see
|
185
|
-
# [Bucket Name
|
173
|
+
# Google Cloud Storage bucket where logs should be written (see [Bucket Name
|
186
174
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
187
|
-
# ).
|
188
|
-
# Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
|
175
|
+
# ). Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
|
189
176
|
# Corresponds to the JSON property `logsBucket`
|
190
177
|
# @return [String]
|
191
178
|
attr_accessor :logs_bucket
|
@@ -200,10 +187,9 @@ module Google
|
|
200
187
|
# @return [String]
|
201
188
|
attr_accessor :project_id
|
202
189
|
|
203
|
-
# TTL in queue for this build. If provided and the build is enqueued longer
|
204
|
-
#
|
205
|
-
#
|
206
|
-
# The TTL starts ticking from create_time.
|
190
|
+
# TTL in queue for this build. If provided and the build is enqueued longer than
|
191
|
+
# this value, the build will expire and the build status will be `EXPIRED`. The
|
192
|
+
# TTL starts ticking from create_time.
|
207
193
|
# Corresponds to the JSON property `queueTtl`
|
208
194
|
# @return [String]
|
209
195
|
attr_accessor :queue_ttl
|
@@ -218,6 +204,14 @@ module Google
|
|
218
204
|
# @return [Array<Google::Apis::CloudbuildV1::Secret>]
|
219
205
|
attr_accessor :secrets
|
220
206
|
|
207
|
+
# IAM service account whose credentials will be used at build runtime. Must be
|
208
|
+
# of the format `projects/`PROJECT_ID`/serviceAccounts/`ACCOUNT``. ACCOUNT can
|
209
|
+
# be email address or uniqueId of the service account. This field is in alpha
|
210
|
+
# and is not publicly available.
|
211
|
+
# Corresponds to the JSON property `serviceAccount`
|
212
|
+
# @return [String]
|
213
|
+
attr_accessor :service_account
|
214
|
+
|
221
215
|
# Location of the source in a supported storage service.
|
222
216
|
# Corresponds to the JSON property `source`
|
223
217
|
# @return [Google::Apis::CloudbuildV1::Source]
|
@@ -259,22 +253,18 @@ module Google
|
|
259
253
|
# @return [Array<String>]
|
260
254
|
attr_accessor :tags
|
261
255
|
|
262
|
-
# Amount of time that this build should be allowed to run, to second
|
263
|
-
#
|
264
|
-
#
|
265
|
-
#
|
266
|
-
# Default time is ten minutes.
|
256
|
+
# Amount of time that this build should be allowed to run, to second granularity.
|
257
|
+
# If this amount of time elapses, work on the build will cease and the build
|
258
|
+
# status will be `TIMEOUT`. `timeout` starts ticking from `startTime`. Default
|
259
|
+
# time is ten minutes.
|
267
260
|
# Corresponds to the JSON property `timeout`
|
268
261
|
# @return [String]
|
269
262
|
attr_accessor :timeout
|
270
263
|
|
271
|
-
# Output only. Stores timing information for phases of the build. Valid keys
|
272
|
-
#
|
273
|
-
# *
|
274
|
-
#
|
275
|
-
# * FETCHSOURCE: time to fetch source.
|
276
|
-
# If the build does not specify source or images,
|
277
|
-
# these keys will not be included.
|
264
|
+
# Output only. Stores timing information for phases of the build. Valid keys are:
|
265
|
+
# * BUILD: time to execute all build steps * PUSH: time to push all specified
|
266
|
+
# images. * FETCHSOURCE: time to fetch source. If the build does not specify
|
267
|
+
# source or images, these keys will not be included.
|
278
268
|
# Corresponds to the JSON property `timing`
|
279
269
|
# @return [Hash<String,Google::Apis::CloudbuildV1::TimeSpan>]
|
280
270
|
attr_accessor :timing
|
@@ -298,6 +288,7 @@ module Google
|
|
298
288
|
@queue_ttl = args[:queue_ttl] if args.key?(:queue_ttl)
|
299
289
|
@results = args[:results] if args.key?(:results)
|
300
290
|
@secrets = args[:secrets] if args.key?(:secrets)
|
291
|
+
@service_account = args[:service_account] if args.key?(:service_account)
|
301
292
|
@source = args[:source] if args.key?(:source)
|
302
293
|
@source_provenance = args[:source_provenance] if args.key?(:source_provenance)
|
303
294
|
@start_time = args[:start_time] if args.key?(:start_time)
|
@@ -315,20 +306,16 @@ module Google
|
|
315
306
|
class BuildOperationMetadata
|
316
307
|
include Google::Apis::Core::Hashable
|
317
308
|
|
318
|
-
# A build resource in the Cloud Build API.
|
319
|
-
#
|
320
|
-
#
|
321
|
-
# the
|
322
|
-
#
|
323
|
-
# build
|
324
|
-
#
|
325
|
-
# - $
|
326
|
-
#
|
327
|
-
#
|
328
|
-
# - $TAG_NAME: the tag name specified by RepoSource.
|
329
|
-
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
|
330
|
-
# resolved from the specified branch or tag.
|
331
|
-
# - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
|
309
|
+
# A build resource in the Cloud Build API. At a high level, a `Build` describes
|
310
|
+
# where to find source code, how to build it (for example, the builder image to
|
311
|
+
# run on the source), and where to store the built artifacts. Fields can include
|
312
|
+
# the following variables, which will be expanded when the build is created: - $
|
313
|
+
# PROJECT_ID: the project ID of the build. - $BUILD_ID: the autogenerated ID of
|
314
|
+
# the build. - $REPO_NAME: the source repository name specified by RepoSource. -
|
315
|
+
# $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag
|
316
|
+
# name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA
|
317
|
+
# specified by RepoSource or resolved from the specified branch or tag. - $
|
318
|
+
# SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
|
332
319
|
# Corresponds to the JSON property `build`
|
333
320
|
# @return [Google::Apis::CloudbuildV1::Build]
|
334
321
|
attr_accessor :build
|
@@ -347,19 +334,18 @@ module Google
|
|
347
334
|
class BuildOptions
|
348
335
|
include Google::Apis::Core::Hashable
|
349
336
|
|
350
|
-
# Requested disk size for the VM that runs the build. Note that this is *NOT*
|
351
|
-
#
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
337
|
+
# Requested disk size for the VM that runs the build. Note that this is *NOT* "
|
338
|
+
# disk free"; some of the space will be used by the operating system and build
|
339
|
+
# utilities. Also note that this is the minimum disk size that will be allocated
|
340
|
+
# for the build -- the build may run with a larger disk than requested. At
|
341
|
+
# present, the maximum disk size is 1000GB; builds that request more than the
|
342
|
+
# maximum are rejected with an error.
|
356
343
|
# Corresponds to the JSON property `diskSizeGb`
|
357
344
|
# @return [Fixnum]
|
358
345
|
attr_accessor :disk_size_gb
|
359
346
|
|
360
|
-
# Option to specify whether or not to apply bash style string
|
361
|
-
#
|
362
|
-
# NOTE: this is always enabled for triggered builds and cannot be
|
347
|
+
# Option to specify whether or not to apply bash style string operations to the
|
348
|
+
# substitutions. NOTE: this is always enabled for triggered builds and cannot be
|
363
349
|
# overridden in the build configuration file.
|
364
350
|
# Corresponds to the JSON property `dynamicSubstitutions`
|
365
351
|
# @return [Boolean]
|
@@ -367,22 +353,21 @@ module Google
|
|
367
353
|
alias_method :dynamic_substitutions?, :dynamic_substitutions
|
368
354
|
|
369
355
|
# A list of global environment variable definitions that will exist for all
|
370
|
-
# build steps in this build. If a variable is defined in both globally and in
|
371
|
-
#
|
372
|
-
#
|
373
|
-
#
|
356
|
+
# build steps in this build. If a variable is defined in both globally and in a
|
357
|
+
# build step, the variable will use the build step value. The elements are of
|
358
|
+
# the form "KEY=VALUE" for the environment variable "KEY" being given the value "
|
359
|
+
# VALUE".
|
374
360
|
# Corresponds to the JSON property `env`
|
375
361
|
# @return [Array<String>]
|
376
362
|
attr_accessor :env
|
377
363
|
|
378
|
-
# Option to define build log streaming behavior to Google Cloud
|
379
|
-
# Storage.
|
364
|
+
# Option to define build log streaming behavior to Google Cloud Storage.
|
380
365
|
# Corresponds to the JSON property `logStreamingOption`
|
381
366
|
# @return [String]
|
382
367
|
attr_accessor :log_streaming_option
|
383
368
|
|
384
|
-
# Option to specify the logging mode, which determines if and where build
|
385
|
-
#
|
369
|
+
# Option to specify the logging mode, which determines if and where build logs
|
370
|
+
# are stored.
|
386
371
|
# Corresponds to the JSON property `logging`
|
387
372
|
# @return [String]
|
388
373
|
attr_accessor :logging
|
@@ -397,10 +382,9 @@ module Google
|
|
397
382
|
# @return [String]
|
398
383
|
attr_accessor :requested_verify_option
|
399
384
|
|
400
|
-
# A list of global environment variables, which are encrypted using a Cloud
|
401
|
-
#
|
402
|
-
#
|
403
|
-
# in this build.
|
385
|
+
# A list of global environment variables, which are encrypted using a Cloud Key
|
386
|
+
# Management Service crypto key. These values must be specified in the build's `
|
387
|
+
# Secret`. These variables will be available to all build steps in this build.
|
404
388
|
# Corresponds to the JSON property `secretEnv`
|
405
389
|
# @return [Array<String>]
|
406
390
|
attr_accessor :secret_env
|
@@ -410,28 +394,25 @@ module Google
|
|
410
394
|
# @return [Array<String>]
|
411
395
|
attr_accessor :source_provenance_hash
|
412
396
|
|
413
|
-
# Option to specify behavior when there is an error in the substitution
|
414
|
-
#
|
415
|
-
#
|
416
|
-
# be overridden in the build configuration file.
|
397
|
+
# Option to specify behavior when there is an error in the substitution checks.
|
398
|
+
# NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be
|
399
|
+
# overridden in the build configuration file.
|
417
400
|
# Corresponds to the JSON property `substitutionOption`
|
418
401
|
# @return [String]
|
419
402
|
attr_accessor :substitution_option
|
420
403
|
|
421
|
-
# Global list of volumes to mount for ALL build steps
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
#
|
426
|
-
#
|
427
|
-
# it is indicative of a build request with an incorrect configuration.
|
404
|
+
# Global list of volumes to mount for ALL build steps Each volume is created as
|
405
|
+
# an empty volume prior to starting the build process. Upon completion of the
|
406
|
+
# build, volumes and their contents are discarded. Global volume names and paths
|
407
|
+
# cannot conflict with the volumes defined a build step. Using a global volume
|
408
|
+
# in a build with only one step is not valid as it is indicative of a build
|
409
|
+
# request with an incorrect configuration.
|
428
410
|
# Corresponds to the JSON property `volumes`
|
429
411
|
# @return [Array<Google::Apis::CloudbuildV1::Volume>]
|
430
412
|
attr_accessor :volumes
|
431
413
|
|
432
|
-
# Option to specify a `WorkerPool` for the build.
|
433
|
-
#
|
434
|
-
# This field is experimental.
|
414
|
+
# Option to specify a `WorkerPool` for the build. Format: projects/`project`/
|
415
|
+
# locations/`location`/workerPools/`workerPool` This field is experimental.
|
435
416
|
# Corresponds to the JSON property `workerPool`
|
436
417
|
# @return [String]
|
437
418
|
attr_accessor :worker_pool
|
@@ -461,61 +442,56 @@ module Google
|
|
461
442
|
class BuildStep
|
462
443
|
include Google::Apis::Core::Hashable
|
463
444
|
|
464
|
-
# A list of arguments that will be presented to the step when it is started.
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
#
|
445
|
+
# A list of arguments that will be presented to the step when it is started. If
|
446
|
+
# the image used to run the step's container has an entrypoint, the `args` are
|
447
|
+
# used as arguments to that entrypoint. If the image does not define an
|
448
|
+
# entrypoint, the first element in args is used as the entrypoint, and the
|
449
|
+
# remainder will be used as arguments.
|
469
450
|
# Corresponds to the JSON property `args`
|
470
451
|
# @return [Array<String>]
|
471
452
|
attr_accessor :args
|
472
453
|
|
473
|
-
# Working directory to use when running this step's container.
|
474
|
-
#
|
475
|
-
#
|
476
|
-
#
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
# the step's execution.
|
454
|
+
# Working directory to use when running this step's container. If this value is
|
455
|
+
# a relative path, it is relative to the build's working directory. If this
|
456
|
+
# value is absolute, it may be outside the build's working directory, in which
|
457
|
+
# case the contents of the path may not be persisted across build step
|
458
|
+
# executions, unless a `volume` for that path is specified. If the build
|
459
|
+
# specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies
|
460
|
+
# an absolute path, the `RepoSource` `dir` is ignored for the step's execution.
|
481
461
|
# Corresponds to the JSON property `dir`
|
482
462
|
# @return [String]
|
483
463
|
attr_accessor :dir
|
484
464
|
|
485
|
-
# Entrypoint to be used instead of the build step image's default entrypoint.
|
486
|
-
#
|
465
|
+
# Entrypoint to be used instead of the build step image's default entrypoint. If
|
466
|
+
# unset, the image's default entrypoint is used.
|
487
467
|
# Corresponds to the JSON property `entrypoint`
|
488
468
|
# @return [String]
|
489
469
|
attr_accessor :entrypoint
|
490
470
|
|
491
|
-
# A list of environment variable definitions to be used when running a step.
|
492
|
-
#
|
493
|
-
#
|
471
|
+
# A list of environment variable definitions to be used when running a step. The
|
472
|
+
# elements are of the form "KEY=VALUE" for the environment variable "KEY" being
|
473
|
+
# given the value "VALUE".
|
494
474
|
# Corresponds to the JSON property `env`
|
495
475
|
# @return [Array<String>]
|
496
476
|
attr_accessor :env
|
497
477
|
|
498
|
-
# Unique identifier for this build step, used in `wait_for` to
|
499
|
-
#
|
478
|
+
# Unique identifier for this build step, used in `wait_for` to reference this
|
479
|
+
# build step as a dependency.
|
500
480
|
# Corresponds to the JSON property `id`
|
501
481
|
# @return [String]
|
502
482
|
attr_accessor :id
|
503
483
|
|
504
|
-
# Required. The name of the container image that will run this particular
|
505
|
-
#
|
506
|
-
# If the
|
507
|
-
#
|
508
|
-
#
|
509
|
-
#
|
510
|
-
#
|
511
|
-
#
|
512
|
-
#
|
513
|
-
#
|
514
|
-
#
|
515
|
-
# attempt to use them.
|
516
|
-
# If you built an image in a previous build step, it will be stored in the
|
517
|
-
# host's Docker daemon's cache and is available to use as the name for a
|
518
|
-
# later build step.
|
484
|
+
# Required. The name of the container image that will run this particular build
|
485
|
+
# step. If the image is available in the host's Docker daemon's cache, it will
|
486
|
+
# be run directly. If not, the host will attempt to pull the image first, using
|
487
|
+
# the builder service account's credentials if necessary. The Docker daemon's
|
488
|
+
# cache will already have the latest versions of all of the officially supported
|
489
|
+
# build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://
|
490
|
+
# github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also
|
491
|
+
# have cached many of the layers for some popular images, like "ubuntu", "debian"
|
492
|
+
# , but they will be refreshed at the time you attempt to use them. If you built
|
493
|
+
# an image in a previous build step, it will be stored in the host's Docker
|
494
|
+
# daemon's cache and is available to use as the name for a later build step.
|
519
495
|
# Corresponds to the JSON property `name`
|
520
496
|
# @return [String]
|
521
497
|
attr_accessor :name
|
@@ -526,22 +502,22 @@ module Google
|
|
526
502
|
attr_accessor :pull_timing
|
527
503
|
|
528
504
|
# A list of environment variables which are encrypted using a Cloud Key
|
529
|
-
# Management Service crypto key. These values must be specified in the
|
530
|
-
#
|
505
|
+
# Management Service crypto key. These values must be specified in the build's `
|
506
|
+
# Secret`.
|
531
507
|
# Corresponds to the JSON property `secretEnv`
|
532
508
|
# @return [Array<String>]
|
533
509
|
attr_accessor :secret_env
|
534
510
|
|
535
|
-
# Output only. Status of the build step. At this time, build step status is
|
536
|
-
#
|
537
|
-
#
|
511
|
+
# Output only. Status of the build step. At this time, build step status is only
|
512
|
+
# updated on build completion; step status is not updated in real-time as the
|
513
|
+
# build progresses.
|
538
514
|
# Corresponds to the JSON property `status`
|
539
515
|
# @return [String]
|
540
516
|
attr_accessor :status
|
541
517
|
|
542
|
-
# Time limit for executing this build step. If not defined, the step has no
|
543
|
-
#
|
544
|
-
#
|
518
|
+
# Time limit for executing this build step. If not defined, the step has no time
|
519
|
+
# limit and will be allowed to continue to run until either it completes or the
|
520
|
+
# build itself times out.
|
545
521
|
# Corresponds to the JSON property `timeout`
|
546
522
|
# @return [String]
|
547
523
|
attr_accessor :timeout
|
@@ -551,21 +527,19 @@ module Google
|
|
551
527
|
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
552
528
|
attr_accessor :timing
|
553
529
|
|
554
|
-
# List of volumes to mount into the build step.
|
555
|
-
#
|
556
|
-
# build
|
557
|
-
#
|
558
|
-
#
|
559
|
-
# of a build request with an incorrect configuration.
|
530
|
+
# List of volumes to mount into the build step. Each volume is created as an
|
531
|
+
# empty volume prior to execution of the build step. Upon completion of the
|
532
|
+
# build, volumes and their contents are discarded. Using a named volume in only
|
533
|
+
# one step is not valid as it is indicative of a build request with an incorrect
|
534
|
+
# configuration.
|
560
535
|
# Corresponds to the JSON property `volumes`
|
561
536
|
# @return [Array<Google::Apis::CloudbuildV1::Volume>]
|
562
537
|
attr_accessor :volumes
|
563
538
|
|
564
|
-
# The ID(s) of the step(s) that this build step depends on.
|
565
|
-
#
|
566
|
-
#
|
567
|
-
#
|
568
|
-
# completed successfully.
|
539
|
+
# The ID(s) of the step(s) that this build step depends on. This build step will
|
540
|
+
# not start until all the build steps in `wait_for` have completed successfully.
|
541
|
+
# If `wait_for` is empty, this build step will start when all previous build
|
542
|
+
# steps in the `Build.Steps` list have completed successfully.
|
569
543
|
# Corresponds to the JSON property `waitFor`
|
570
544
|
# @return [Array<String>]
|
571
545
|
attr_accessor :wait_for
|
@@ -592,25 +566,20 @@ module Google
|
|
592
566
|
end
|
593
567
|
end
|
594
568
|
|
595
|
-
# Configuration for an automated build in response to source repository
|
596
|
-
# changes.
|
569
|
+
# Configuration for an automated build in response to source repository changes.
|
597
570
|
class BuildTrigger
|
598
571
|
include Google::Apis::Core::Hashable
|
599
572
|
|
600
|
-
# A build resource in the Cloud Build API.
|
601
|
-
#
|
602
|
-
#
|
603
|
-
# the
|
604
|
-
#
|
605
|
-
# build
|
606
|
-
#
|
607
|
-
# - $
|
608
|
-
#
|
609
|
-
#
|
610
|
-
# - $TAG_NAME: the tag name specified by RepoSource.
|
611
|
-
# - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
|
612
|
-
# resolved from the specified branch or tag.
|
613
|
-
# - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
|
573
|
+
# A build resource in the Cloud Build API. At a high level, a `Build` describes
|
574
|
+
# where to find source code, how to build it (for example, the builder image to
|
575
|
+
# run on the source), and where to store the built artifacts. Fields can include
|
576
|
+
# the following variables, which will be expanded when the build is created: - $
|
577
|
+
# PROJECT_ID: the project ID of the build. - $BUILD_ID: the autogenerated ID of
|
578
|
+
# the build. - $REPO_NAME: the source repository name specified by RepoSource. -
|
579
|
+
# $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag
|
580
|
+
# name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA
|
581
|
+
# specified by RepoSource or resolved from the specified branch or tag. - $
|
582
|
+
# SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
|
614
583
|
# Corresponds to the JSON property `build`
|
615
584
|
# @return [Google::Apis::CloudbuildV1::Build]
|
616
585
|
attr_accessor :build
|
@@ -631,15 +600,13 @@ module Google
|
|
631
600
|
attr_accessor :disabled
|
632
601
|
alias_method :disabled?, :disabled
|
633
602
|
|
634
|
-
# Path, from the source root, to a file whose contents is used for the
|
635
|
-
# template.
|
603
|
+
# Path, from the source root, to a file whose contents is used for the template.
|
636
604
|
# Corresponds to the JSON property `filename`
|
637
605
|
# @return [String]
|
638
606
|
attr_accessor :filename
|
639
607
|
|
640
608
|
# GitHubEventsConfig describes the configuration of a trigger that creates a
|
641
|
-
# build whenever a GitHub event is received.
|
642
|
-
# This message is experimental.
|
609
|
+
# build whenever a GitHub event is received. This message is experimental.
|
643
610
|
# Corresponds to the JSON property `github`
|
644
611
|
# @return [Google::Apis::CloudbuildV1::GitHubEventsConfig]
|
645
612
|
attr_accessor :github
|
@@ -649,40 +616,36 @@ module Google
|
|
649
616
|
# @return [String]
|
650
617
|
attr_accessor :id
|
651
618
|
|
652
|
-
# ignored_files and included_files are file glob matches using
|
653
|
-
#
|
654
|
-
#
|
655
|
-
# not
|
656
|
-
#
|
657
|
-
#
|
658
|
-
# outside of the ignored_files globs, then we do not trigger a build.
|
619
|
+
# ignored_files and included_files are file glob matches using https://golang.
|
620
|
+
# org/pkg/path/filepath/#Match extended with support for "**". If ignored_files
|
621
|
+
# and changed files are both empty, then they are not used to determine whether
|
622
|
+
# or not to trigger a build. If ignored_files is not empty, then we ignore any
|
623
|
+
# files that match any of the ignored_file globs. If the change has no files
|
624
|
+
# that are outside of the ignored_files globs, then we do not trigger a build.
|
659
625
|
# Corresponds to the JSON property `ignoredFiles`
|
660
626
|
# @return [Array<String>]
|
661
627
|
attr_accessor :ignored_files
|
662
628
|
|
663
|
-
# If any of the files altered in the commit pass the ignored_files
|
664
|
-
#
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
# then we do not trigger a build.
|
629
|
+
# If any of the files altered in the commit pass the ignored_files filter and
|
630
|
+
# included_files is empty, then as far as this filter is concerned, we should
|
631
|
+
# trigger the build. If any of the files altered in the commit pass the
|
632
|
+
# ignored_files filter and included_files is not empty, then we make sure that
|
633
|
+
# at least one of those files matches a included_files glob. If not, then we do
|
634
|
+
# not trigger a build.
|
670
635
|
# Corresponds to the JSON property `includedFiles`
|
671
636
|
# @return [Array<String>]
|
672
637
|
attr_accessor :included_files
|
673
638
|
|
674
|
-
# User-assigned name of the trigger. Must be unique within the project.
|
675
|
-
#
|
676
|
-
# + They
|
677
|
-
#
|
678
|
-
# + They must begin and end with an alphanumeric character.
|
639
|
+
# User-assigned name of the trigger. Must be unique within the project. Trigger
|
640
|
+
# names must meet the following requirements: + They must contain only
|
641
|
+
# alphanumeric characters and dashes. + They can be 1-64 characters long. + They
|
642
|
+
# must begin and end with an alphanumeric character.
|
679
643
|
# Corresponds to the JSON property `name`
|
680
644
|
# @return [String]
|
681
645
|
attr_accessor :name
|
682
646
|
|
683
|
-
# Substitutions for Build resource. The keys must match the following
|
684
|
-
#
|
685
|
-
# keys in bindings.
|
647
|
+
# Substitutions for Build resource. The keys must match the following regular
|
648
|
+
# expression: `^_[A-Z0-9_]+$`.The keys cannot conflict with the keys in bindings.
|
686
649
|
# Corresponds to the JSON property `substitutions`
|
687
650
|
# @return [Hash<String,String>]
|
688
651
|
attr_accessor :substitutions
|
@@ -777,13 +740,11 @@ module Google
|
|
777
740
|
end
|
778
741
|
end
|
779
742
|
|
780
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
781
|
-
#
|
782
|
-
#
|
783
|
-
#
|
784
|
-
#
|
785
|
-
# `
|
786
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
743
|
+
# A generic empty message that you can re-use to avoid defining duplicated empty
|
744
|
+
# messages in your APIs. A typical example is to use it as the request or the
|
745
|
+
# response type of an API method. For instance: service Foo ` rpc Bar(google.
|
746
|
+
# protobuf.Empty) returns (google.protobuf.Empty); ` The JSON representation for
|
747
|
+
# `Empty` is empty JSON object ````.
|
787
748
|
class Empty
|
788
749
|
include Google::Apis::Core::Hashable
|
789
750
|
|
@@ -817,8 +778,7 @@ module Google
|
|
817
778
|
end
|
818
779
|
|
819
780
|
# GitHubEventsConfig describes the configuration of a trigger that creates a
|
820
|
-
# build whenever a GitHub event is received.
|
821
|
-
# This message is experimental.
|
781
|
+
# build whenever a GitHub event is received. This message is experimental.
|
822
782
|
class GitHubEventsConfig
|
823
783
|
include Google::Apis::Core::Hashable
|
824
784
|
|
@@ -827,21 +787,19 @@ module Google
|
|
827
787
|
# @return [Fixnum]
|
828
788
|
attr_accessor :installation_id
|
829
789
|
|
830
|
-
# Name of the repository. For example: The name for
|
831
|
-
#
|
790
|
+
# Name of the repository. For example: The name for https://github.com/
|
791
|
+
# googlecloudplatform/cloud-builders is "cloud-builders".
|
832
792
|
# Corresponds to the JSON property `name`
|
833
793
|
# @return [String]
|
834
794
|
attr_accessor :name
|
835
795
|
|
836
|
-
# Owner of the repository. For example: The owner for
|
837
|
-
#
|
838
|
-
# "googlecloudplatform".
|
796
|
+
# Owner of the repository. For example: The owner for https://github.com/
|
797
|
+
# googlecloudplatform/cloud-builders is "googlecloudplatform".
|
839
798
|
# Corresponds to the JSON property `owner`
|
840
799
|
# @return [String]
|
841
800
|
attr_accessor :owner
|
842
801
|
|
843
|
-
# PullRequestFilter contains filter properties for matching GitHub Pull
|
844
|
-
# Requests.
|
802
|
+
# PullRequestFilter contains filter properties for matching GitHub Pull Requests.
|
845
803
|
# Corresponds to the JSON property `pullRequest`
|
846
804
|
# @return [Google::Apis::CloudbuildV1::PullRequestFilter]
|
847
805
|
attr_accessor :pull_request
|
@@ -965,9 +923,9 @@ module Google
|
|
965
923
|
class Notification
|
966
924
|
include Google::Apis::Core::Hashable
|
967
925
|
|
968
|
-
# The filter string to use for notification filtering.
|
969
|
-
#
|
970
|
-
#
|
926
|
+
# The filter string to use for notification filtering. Currently, this is
|
927
|
+
# assumed to be a CEL program. See https://opensource.google/projects/cel for
|
928
|
+
# more.
|
971
929
|
# Corresponds to the JSON property `filter`
|
972
930
|
# @return [String]
|
973
931
|
attr_accessor :filter
|
@@ -978,8 +936,8 @@ module Google
|
|
978
936
|
attr_accessor :http_delivery
|
979
937
|
|
980
938
|
# SlackDelivery is the delivery configuration for delivering Slack messages via
|
981
|
-
# webhooks. See Slack webhook documentation at:
|
982
|
-
#
|
939
|
+
# webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/
|
940
|
+
# webhooks.
|
983
941
|
# Corresponds to the JSON property `slackDelivery`
|
984
942
|
# @return [Google::Apis::CloudbuildV1::SlackDelivery]
|
985
943
|
attr_accessor :slack_delivery
|
@@ -1051,15 +1009,15 @@ module Google
|
|
1051
1009
|
class NotifierMetadata
|
1052
1010
|
include Google::Apis::Core::Hashable
|
1053
1011
|
|
1054
|
-
# The human-readable and user-given name for the notifier.
|
1055
|
-
#
|
1012
|
+
# The human-readable and user-given name for the notifier. For example: "repo-
|
1013
|
+
# merge-email-notifier".
|
1056
1014
|
# Corresponds to the JSON property `name`
|
1057
1015
|
# @return [String]
|
1058
1016
|
attr_accessor :name
|
1059
1017
|
|
1060
|
-
# The string representing the name and version of notifier to deploy.
|
1061
|
-
#
|
1062
|
-
#
|
1018
|
+
# The string representing the name and version of notifier to deploy. Expected
|
1019
|
+
# to be of the form of "/:". For example: "gcr.io/my-project/notifiers/smtp:1.2.
|
1020
|
+
# 34".
|
1063
1021
|
# Corresponds to the JSON property `notifier`
|
1064
1022
|
# @return [String]
|
1065
1023
|
attr_accessor :notifier
|
@@ -1080,16 +1038,16 @@ module Google
|
|
1080
1038
|
class NotifierSecret
|
1081
1039
|
include Google::Apis::Core::Hashable
|
1082
1040
|
|
1083
|
-
# Name is the local name of the secret, such as the verbatim string
|
1084
|
-
#
|
1041
|
+
# Name is the local name of the secret, such as the verbatim string "my-smtp-
|
1042
|
+
# password".
|
1085
1043
|
# Corresponds to the JSON property `name`
|
1086
1044
|
# @return [String]
|
1087
1045
|
attr_accessor :name
|
1088
1046
|
|
1089
|
-
# Value is interpreted to be a resource path for fetching the actual
|
1090
|
-
#
|
1091
|
-
#
|
1092
|
-
#
|
1047
|
+
# Value is interpreted to be a resource path for fetching the actual (versioned)
|
1048
|
+
# secret data for this secret. For example, this would be a Google Cloud Secret
|
1049
|
+
# Manager secret version resource path like: "projects/my-project/secrets/my-
|
1050
|
+
# secret/versions/latest".
|
1093
1051
|
# Corresponds to the JSON property `value`
|
1094
1052
|
# @return [String]
|
1095
1053
|
attr_accessor :value
|
@@ -1110,8 +1068,8 @@ module Google
|
|
1110
1068
|
class NotifierSecretRef
|
1111
1069
|
include Google::Apis::Core::Hashable
|
1112
1070
|
|
1113
|
-
# The value of `secret_ref` should be a `name` that is registered in a
|
1114
|
-
#
|
1071
|
+
# The value of `secret_ref` should be a `name` that is registered in a `Secret`
|
1072
|
+
# in the `secrets` list of the `Spec`.
|
1115
1073
|
# Corresponds to the JSON property `secretRef`
|
1116
1074
|
# @return [String]
|
1117
1075
|
attr_accessor :secret_ref
|
@@ -1157,47 +1115,45 @@ module Google
|
|
1157
1115
|
class Operation
|
1158
1116
|
include Google::Apis::Core::Hashable
|
1159
1117
|
|
1160
|
-
# If the value is `false`, it means the operation is still in progress.
|
1161
|
-
#
|
1162
|
-
# available.
|
1118
|
+
# If the value is `false`, it means the operation is still in progress. If `true`
|
1119
|
+
# , the operation is completed, and either `error` or `response` is available.
|
1163
1120
|
# Corresponds to the JSON property `done`
|
1164
1121
|
# @return [Boolean]
|
1165
1122
|
attr_accessor :done
|
1166
1123
|
alias_method :done?, :done
|
1167
1124
|
|
1168
|
-
# The `Status` type defines a logical error model that is suitable for
|
1169
|
-
#
|
1170
|
-
#
|
1171
|
-
#
|
1172
|
-
#
|
1173
|
-
#
|
1125
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1126
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1127
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1128
|
+
# data: error code, error message, and error details. You can find out more
|
1129
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1130
|
+
# //cloud.google.com/apis/design/errors).
|
1174
1131
|
# Corresponds to the JSON property `error`
|
1175
1132
|
# @return [Google::Apis::CloudbuildV1::Status]
|
1176
1133
|
attr_accessor :error
|
1177
1134
|
|
1178
|
-
# Service-specific metadata associated with the operation.
|
1179
|
-
#
|
1180
|
-
#
|
1181
|
-
#
|
1135
|
+
# Service-specific metadata associated with the operation. It typically contains
|
1136
|
+
# progress information and common metadata such as create time. Some services
|
1137
|
+
# might not provide such metadata. Any method that returns a long-running
|
1138
|
+
# operation should document the metadata type, if any.
|
1182
1139
|
# Corresponds to the JSON property `metadata`
|
1183
1140
|
# @return [Hash<String,Object>]
|
1184
1141
|
attr_accessor :metadata
|
1185
1142
|
|
1186
1143
|
# The server-assigned name, which is only unique within the same service that
|
1187
|
-
# originally returns it. If you use the default HTTP mapping, the
|
1188
|
-
#
|
1144
|
+
# originally returns it. If you use the default HTTP mapping, the `name` should
|
1145
|
+
# be a resource name ending with `operations/`unique_id``.
|
1189
1146
|
# Corresponds to the JSON property `name`
|
1190
1147
|
# @return [String]
|
1191
1148
|
attr_accessor :name
|
1192
1149
|
|
1193
|
-
# The normal response of the operation in case of success.
|
1194
|
-
# method returns no data on success, such as `Delete`, the response is
|
1195
|
-
#
|
1196
|
-
#
|
1197
|
-
#
|
1198
|
-
#
|
1199
|
-
#
|
1200
|
-
# `TakeSnapshotResponse`.
|
1150
|
+
# The normal response of the operation in case of success. If the original
|
1151
|
+
# method returns no data on success, such as `Delete`, the response is `google.
|
1152
|
+
# protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
|
1153
|
+
# the response should be the resource. For other methods, the response should
|
1154
|
+
# have the type `XxxResponse`, where `Xxx` is the original method name. For
|
1155
|
+
# example, if the original method name is `TakeSnapshot()`, the inferred
|
1156
|
+
# response type is `TakeSnapshotResponse`.
|
1201
1157
|
# Corresponds to the JSON property `response`
|
1202
1158
|
# @return [Hash<String,Object>]
|
1203
1159
|
attr_accessor :response
|
@@ -1216,14 +1172,13 @@ module Google
|
|
1216
1172
|
end
|
1217
1173
|
end
|
1218
1174
|
|
1219
|
-
# PullRequestFilter contains filter properties for matching GitHub Pull
|
1220
|
-
# Requests.
|
1175
|
+
# PullRequestFilter contains filter properties for matching GitHub Pull Requests.
|
1221
1176
|
class PullRequestFilter
|
1222
1177
|
include Google::Apis::Core::Hashable
|
1223
1178
|
|
1224
|
-
# Regex of branches to match.
|
1225
|
-
#
|
1226
|
-
#
|
1179
|
+
# Regex of branches to match. The syntax of the regular expressions accepted is
|
1180
|
+
# the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/
|
1181
|
+
# Syntax
|
1227
1182
|
# Corresponds to the JSON property `branch`
|
1228
1183
|
# @return [String]
|
1229
1184
|
attr_accessor :branch
|
@@ -1256,9 +1211,9 @@ module Google
|
|
1256
1211
|
class PushFilter
|
1257
1212
|
include Google::Apis::Core::Hashable
|
1258
1213
|
|
1259
|
-
# Regexes matching branches to build.
|
1260
|
-
#
|
1261
|
-
#
|
1214
|
+
# Regexes matching branches to build. The syntax of the regular expressions
|
1215
|
+
# accepted is the syntax accepted by RE2 and described at https://github.com/
|
1216
|
+
# google/re2/wiki/Syntax
|
1262
1217
|
# Corresponds to the JSON property `branch`
|
1263
1218
|
# @return [String]
|
1264
1219
|
attr_accessor :branch
|
@@ -1270,9 +1225,9 @@ module Google
|
|
1270
1225
|
attr_accessor :invert_regex
|
1271
1226
|
alias_method :invert_regex?, :invert_regex
|
1272
1227
|
|
1273
|
-
# Regexes matching tags to build.
|
1274
|
-
#
|
1275
|
-
#
|
1228
|
+
# Regexes matching tags to build. The syntax of the regular expressions accepted
|
1229
|
+
# is the syntax accepted by RE2 and described at https://github.com/google/re2/
|
1230
|
+
# wiki/Syntax
|
1276
1231
|
# Corresponds to the JSON property `tag`
|
1277
1232
|
# @return [String]
|
1278
1233
|
attr_accessor :tag
|
@@ -1293,9 +1248,9 @@ module Google
|
|
1293
1248
|
class RepoSource
|
1294
1249
|
include Google::Apis::Core::Hashable
|
1295
1250
|
|
1296
|
-
# Regex matching branches to build.
|
1297
|
-
#
|
1298
|
-
#
|
1251
|
+
# Regex matching branches to build. The syntax of the regular expressions
|
1252
|
+
# accepted is the syntax accepted by RE2 and described at https://github.com/
|
1253
|
+
# google/re2/wiki/Syntax
|
1299
1254
|
# Corresponds to the JSON property `branchName`
|
1300
1255
|
# @return [String]
|
1301
1256
|
attr_accessor :branch_name
|
@@ -1305,15 +1260,14 @@ module Google
|
|
1305
1260
|
# @return [String]
|
1306
1261
|
attr_accessor :commit_sha
|
1307
1262
|
|
1308
|
-
# Directory, relative to the source root, in which to run the build.
|
1309
|
-
#
|
1310
|
-
#
|
1263
|
+
# Directory, relative to the source root, in which to run the build. This must
|
1264
|
+
# be a relative path. If a step's `dir` is specified and is an absolute path,
|
1265
|
+
# this value is ignored for that step's execution.
|
1311
1266
|
# Corresponds to the JSON property `dir`
|
1312
1267
|
# @return [String]
|
1313
1268
|
attr_accessor :dir
|
1314
1269
|
|
1315
|
-
# Only trigger a build if the revision regex does NOT match the revision
|
1316
|
-
# regex.
|
1270
|
+
# Only trigger a build if the revision regex does NOT match the revision regex.
|
1317
1271
|
# Corresponds to the JSON property `invertRegex`
|
1318
1272
|
# @return [Boolean]
|
1319
1273
|
attr_accessor :invert_regex
|
@@ -1330,15 +1284,15 @@ module Google
|
|
1330
1284
|
# @return [String]
|
1331
1285
|
attr_accessor :repo_name
|
1332
1286
|
|
1333
|
-
# Substitutions to use in a triggered build.
|
1334
|
-
#
|
1287
|
+
# Substitutions to use in a triggered build. Should only be used with
|
1288
|
+
# RunBuildTrigger
|
1335
1289
|
# Corresponds to the JSON property `substitutions`
|
1336
1290
|
# @return [Hash<String,String>]
|
1337
1291
|
attr_accessor :substitutions
|
1338
1292
|
|
1339
|
-
# Regex matching tags to build.
|
1340
|
-
#
|
1341
|
-
#
|
1293
|
+
# Regex matching tags to build. The syntax of the regular expressions accepted
|
1294
|
+
# is the syntax accepted by RE2 and described at https://github.com/google/re2/
|
1295
|
+
# wiki/Syntax
|
1342
1296
|
# Corresponds to the JSON property `tagName`
|
1343
1297
|
# @return [String]
|
1344
1298
|
attr_accessor :tag_name
|
@@ -1374,17 +1328,15 @@ module Google
|
|
1374
1328
|
# @return [Google::Apis::CloudbuildV1::TimeSpan]
|
1375
1329
|
attr_accessor :artifact_timing
|
1376
1330
|
|
1377
|
-
# List of build step digests, in the order corresponding to build step
|
1378
|
-
# indices.
|
1331
|
+
# List of build step digests, in the order corresponding to build step indices.
|
1379
1332
|
# Corresponds to the JSON property `buildStepImages`
|
1380
1333
|
# @return [Array<String>]
|
1381
1334
|
attr_accessor :build_step_images
|
1382
1335
|
|
1383
1336
|
# List of build step outputs, produced by builder images, in the order
|
1384
|
-
# corresponding to build step indices.
|
1385
|
-
#
|
1386
|
-
#
|
1387
|
-
# Only the first 4KB of data is stored.
|
1337
|
+
# corresponding to build step indices. [Cloud Builders](https://cloud.google.com/
|
1338
|
+
# cloud-build/docs/cloud-builders) can produce this output by writing to `$
|
1339
|
+
# BUILDER_OUTPUT/output`. Only the first 4KB of data is stored.
|
1388
1340
|
# Corresponds to the JSON property `buildStepOutputs`
|
1389
1341
|
# @return [Array<String>]
|
1390
1342
|
attr_accessor :build_step_outputs
|
@@ -1431,8 +1383,8 @@ module Google
|
|
1431
1383
|
class SmtpDelivery
|
1432
1384
|
include Google::Apis::Core::Hashable
|
1433
1385
|
|
1434
|
-
# This is the SMTP account/email that appears in the `From:` of the email.
|
1435
|
-
#
|
1386
|
+
# This is the SMTP account/email that appears in the `From:` of the email. If
|
1387
|
+
# empty, it is assumed to be sender.
|
1436
1388
|
# Corresponds to the JSON property `fromAddress`
|
1437
1389
|
# @return [String]
|
1438
1390
|
attr_accessor :from_address
|
@@ -1448,8 +1400,8 @@ module Google
|
|
1448
1400
|
# @return [String]
|
1449
1401
|
attr_accessor :port
|
1450
1402
|
|
1451
|
-
# This is the list of addresses to which we send the email (i.e. in the `To:`
|
1452
|
-
#
|
1403
|
+
# This is the list of addresses to which we send the email (i.e. in the `To:` of
|
1404
|
+
# the email).
|
1453
1405
|
# Corresponds to the JSON property `recipientAddresses`
|
1454
1406
|
# @return [Array<String>]
|
1455
1407
|
attr_accessor :recipient_addresses
|
@@ -1479,8 +1431,8 @@ module Google
|
|
1479
1431
|
end
|
1480
1432
|
end
|
1481
1433
|
|
1482
|
-
# Pairs a set of secret environment variables containing encrypted
|
1483
|
-
#
|
1434
|
+
# Pairs a set of secret environment variables containing encrypted values with
|
1435
|
+
# the Cloud KMS key to use to decrypt the value.
|
1484
1436
|
class Secret
|
1485
1437
|
include Google::Apis::Core::Hashable
|
1486
1438
|
|
@@ -1489,11 +1441,10 @@ module Google
|
|
1489
1441
|
# @return [String]
|
1490
1442
|
attr_accessor :kms_key_name
|
1491
1443
|
|
1492
|
-
# Map of environment variable name to its encrypted value.
|
1493
|
-
#
|
1494
|
-
#
|
1495
|
-
#
|
1496
|
-
# build's secrets.
|
1444
|
+
# Map of environment variable name to its encrypted value. Secret environment
|
1445
|
+
# variables must be unique across all of a build's secrets, and must be used by
|
1446
|
+
# at least one build step. Values can be at most 64 KB in size. There can be at
|
1447
|
+
# most 100 secret values across all of a build's secrets.
|
1497
1448
|
# Corresponds to the JSON property `secretEnv`
|
1498
1449
|
# @return [Hash<String,String>]
|
1499
1450
|
attr_accessor :secret_env
|
@@ -1510,8 +1461,8 @@ module Google
|
|
1510
1461
|
end
|
1511
1462
|
|
1512
1463
|
# SlackDelivery is the delivery configuration for delivering Slack messages via
|
1513
|
-
# webhooks. See Slack webhook documentation at:
|
1514
|
-
#
|
1464
|
+
# webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/
|
1465
|
+
# webhooks.
|
1515
1466
|
class SlackDelivery
|
1516
1467
|
include Google::Apis::Core::Hashable
|
1517
1468
|
|
@@ -1562,13 +1513,12 @@ module Google
|
|
1562
1513
|
include Google::Apis::Core::Hashable
|
1563
1514
|
|
1564
1515
|
# Output only. Hash(es) of the build source, which can be used to verify that
|
1565
|
-
# the original source integrity was maintained in the build. Note that
|
1566
|
-
#
|
1567
|
-
#
|
1568
|
-
#
|
1569
|
-
#
|
1570
|
-
#
|
1571
|
-
# (`.tar.gz`), the `FileHash` will be for the single path to that file.
|
1516
|
+
# the original source integrity was maintained in the build. Note that `
|
1517
|
+
# FileHashes` will only be populated if `BuildOptions` has requested a `
|
1518
|
+
# SourceProvenanceHash`. The keys to this map are file paths used as build
|
1519
|
+
# source and the values contain the hash values for those files. If the build
|
1520
|
+
# source came in a single package such as a gzipped tarfile (`.tar.gz`), the `
|
1521
|
+
# FileHash` will be for the single path to that file.
|
1572
1522
|
# Corresponds to the JSON property `fileHashes`
|
1573
1523
|
# @return [Hash<String,Google::Apis::CloudbuildV1::FileHashes>]
|
1574
1524
|
attr_accessor :file_hashes
|
@@ -1595,12 +1545,12 @@ module Google
|
|
1595
1545
|
end
|
1596
1546
|
end
|
1597
1547
|
|
1598
|
-
# The `Status` type defines a logical error model that is suitable for
|
1599
|
-
#
|
1600
|
-
#
|
1601
|
-
#
|
1602
|
-
#
|
1603
|
-
#
|
1548
|
+
# The `Status` type defines a logical error model that is suitable for different
|
1549
|
+
# programming environments, including REST APIs and RPC APIs. It is used by [
|
1550
|
+
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
1551
|
+
# data: error code, error message, and error details. You can find out more
|
1552
|
+
# about this error model and how to work with it in the [API Design Guide](https:
|
1553
|
+
# //cloud.google.com/apis/design/errors).
|
1604
1554
|
class Status
|
1605
1555
|
include Google::Apis::Core::Hashable
|
1606
1556
|
|
@@ -1609,15 +1559,15 @@ module Google
|
|
1609
1559
|
# @return [Fixnum]
|
1610
1560
|
attr_accessor :code
|
1611
1561
|
|
1612
|
-
# A list of messages that carry the error details.
|
1562
|
+
# A list of messages that carry the error details. There is a common set of
|
1613
1563
|
# message types for APIs to use.
|
1614
1564
|
# Corresponds to the JSON property `details`
|
1615
1565
|
# @return [Array<Hash<String,Object>>]
|
1616
1566
|
attr_accessor :details
|
1617
1567
|
|
1618
|
-
# A developer-facing error message, which should be in English. Any
|
1619
|
-
#
|
1620
|
-
#
|
1568
|
+
# A developer-facing error message, which should be in English. Any user-facing
|
1569
|
+
# error message should be localized and sent in the google.rpc.Status.details
|
1570
|
+
# field, or localized by the client.
|
1621
1571
|
# Corresponds to the JSON property `message`
|
1622
1572
|
# @return [String]
|
1623
1573
|
attr_accessor :message
|
@@ -1638,23 +1588,21 @@ module Google
|
|
1638
1588
|
class StorageSource
|
1639
1589
|
include Google::Apis::Core::Hashable
|
1640
1590
|
|
1641
|
-
# Google Cloud Storage bucket containing the source (see
|
1642
|
-
# [Bucket Name
|
1591
|
+
# Google Cloud Storage bucket containing the source (see [Bucket Name
|
1643
1592
|
# Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
|
1644
1593
|
# ).
|
1645
1594
|
# Corresponds to the JSON property `bucket`
|
1646
1595
|
# @return [String]
|
1647
1596
|
attr_accessor :bucket
|
1648
1597
|
|
1649
|
-
# Google Cloud Storage generation for the object. If the generation is
|
1650
|
-
#
|
1598
|
+
# Google Cloud Storage generation for the object. If the generation is omitted,
|
1599
|
+
# the latest generation will be used.
|
1651
1600
|
# Corresponds to the JSON property `generation`
|
1652
1601
|
# @return [Fixnum]
|
1653
1602
|
attr_accessor :generation
|
1654
1603
|
|
1655
|
-
# Google Cloud Storage object containing the source.
|
1656
|
-
#
|
1657
|
-
# build.
|
1604
|
+
# Google Cloud Storage object containing the source. This object must be a
|
1605
|
+
# gzipped archive file (`.tar.gz`) containing source to build.
|
1658
1606
|
# Corresponds to the JSON property `object`
|
1659
1607
|
# @return [String]
|
1660
1608
|
attr_accessor :object
|
@@ -1701,16 +1649,16 @@ module Google
|
|
1701
1649
|
class Volume
|
1702
1650
|
include Google::Apis::Core::Hashable
|
1703
1651
|
|
1704
|
-
# Name of the volume to mount.
|
1705
|
-
#
|
1706
|
-
#
|
1652
|
+
# Name of the volume to mount. Volume names must be unique per build step and
|
1653
|
+
# must be valid names for Docker volumes. Each named volume must be used by at
|
1654
|
+
# least two build steps.
|
1707
1655
|
# Corresponds to the JSON property `name`
|
1708
1656
|
# @return [String]
|
1709
1657
|
attr_accessor :name
|
1710
1658
|
|
1711
|
-
# Path at which to mount the volume.
|
1712
|
-
#
|
1713
|
-
#
|
1659
|
+
# Path at which to mount the volume. Paths must be absolute and cannot conflict
|
1660
|
+
# with other volume paths on the same build step or with certain reserved volume
|
1661
|
+
# paths.
|
1714
1662
|
# Corresponds to the JSON property `path`
|
1715
1663
|
# @return [String]
|
1716
1664
|
attr_accessor :path
|