google-api-client 0.40.0 → 0.41.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +297 -0
- data/bin/generate-api +1 -3
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +31 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +16 -0
- data/generated/google/apis/admin_directory_v1/service.rb +3 -5
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +32 -26
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +499 -684
- data/generated/google/apis/androidpublisher_v3/representations.rb +19 -166
- data/generated/google/apis/androidpublisher_v3/service.rb +564 -748
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +144 -48
- data/generated/google/apis/apigee_v1/representations.rb +17 -0
- data/generated/google/apis/apigee_v1/service.rb +23 -24
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +122 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +51 -13
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -6
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +45 -37
- data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +3 -3
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +1 -4
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- 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 +2 -0
- data/generated/google/apis/civicinfo_v2.rb +2 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -800
- data/generated/google/apis/civicinfo_v2/representations.rb +0 -295
- data/generated/google/apis/civicinfo_v2/service.rb +27 -62
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +116 -36
- data/generated/google/apis/cloudasset_v1/representations.rb +6 -0
- data/generated/google/apis/cloudasset_v1/service.rb +18 -15
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +954 -42
- data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
- data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +40 -23
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +34 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +38 -6
- data/generated/google/apis/cloudbilling_v1/representations.rb +16 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +287 -15
- data/generated/google/apis/cloudbuild_v1/representations.rb +131 -4
- data/generated/google/apis/cloudbuild_v1/service.rb +0 -94
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +0 -47
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +298 -26
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +136 -9
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +0 -47
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +6 -6
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +7 -1
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +22 -18
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +21 -14
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +12 -11
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +6 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +9 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +4 -3
- data/generated/google/apis/composer_v1beta1/service.rb +13 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +801 -219
- data/generated/google/apis/compute_alpha/representations.rb +220 -32
- data/generated/google/apis/compute_alpha/service.rb +899 -113
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +490 -131
- data/generated/google/apis/compute_beta/representations.rb +97 -0
- data/generated/google/apis/compute_beta/service.rb +308 -33
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +706 -76
- data/generated/google/apis/compute_v1/representations.rb +200 -0
- data/generated/google/apis/compute_v1/service.rb +522 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +123 -5
- data/generated/google/apis/container_v1/representations.rb +50 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +142 -24
- data/generated/google/apis/container_v1beta1/representations.rb +37 -0
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +41 -1
- data/generated/google/apis/content_v2/representations.rb +17 -0
- data/generated/google/apis/content_v2/service.rb +15 -6
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +616 -6
- data/generated/google/apis/content_v2_1/representations.rb +243 -0
- data/generated/google/apis/content_v2_1/service.rb +95 -6
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +34 -10
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +13 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +37 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +19 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +71 -24
- data/generated/google/apis/dataproc_v1/representations.rb +17 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +65 -23
- data/generated/google/apis/dataproc_v1beta2/representations.rb +5 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +277 -57
- data/generated/google/apis/dialogflow_v2/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2/service.rb +14 -2
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +268 -56
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +93 -4
- data/generated/google/apis/dialogflow_v2beta1/service.rb +70 -46
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +569 -6
- data/generated/google/apis/displayvideo_v1/representations.rb +249 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1496 -77
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +8 -6
- data/generated/google/apis/dlp_v2/service.rb +170 -64
- data/generated/google/apis/dns_v1beta2.rb +4 -4
- data/generated/google/apis/dns_v1beta2/classes.rb +325 -171
- data/generated/google/apis/dns_v1beta2/service.rb +247 -180
- data/generated/google/apis/{dialogflow_v3alpha1.rb → documentai_v1beta2.rb} +11 -13
- data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
- data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
- data/generated/google/apis/{dialogflow_v3alpha1 → documentai_v1beta2}/service.rb +91 -118
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +4 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +127 -111
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +4 -6
- data/generated/google/apis/doubleclicksearch_v2/service.rb +47 -78
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +9 -0
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +26 -78
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +9 -0
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +18 -54
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +6 -0
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +0 -1156
- data/generated/google/apis/file_v1/representations.rb +0 -381
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +67 -1156
- data/generated/google/apis/file_v1beta1/representations.rb +14 -376
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
- data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1.rb +34 -0
- data/generated/google/apis/gameservices_v1/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1/service.rb +1472 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +33 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +306 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/representations.rb +141 -0
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +236 -0
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +9 -9
- data/generated/google/apis/healthcare_v1/service.rb +5 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +919 -52
- data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +520 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +92 -81
- data/generated/google/apis/iam_v1/service.rb +167 -148
- data/generated/google/apis/iamcredentials_v1.rb +2 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +4 -3
- data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +69 -21
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +3 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +54 -10
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +15 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +3 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +42 -11
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +8 -0
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +68 -19
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +4 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -8
- data/generated/google/apis/playablelocations_v3.rb +31 -0
- data/generated/google/apis/playablelocations_v3/classes.rb +633 -0
- data/generated/google/apis/playablelocations_v3/representations.rb +273 -0
- data/generated/google/apis/playablelocations_v3/service.rb +157 -0
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +507 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +68 -10
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/realtimebidding_v1.rb +40 -0
- data/generated/google/apis/realtimebidding_v1/classes.rb +1436 -0
- data/generated/google/apis/realtimebidding_v1/representations.rb +565 -0
- data/generated/google/apis/realtimebidding_v1/service.rb +661 -0
- data/generated/google/apis/recommender_v1.rb +34 -0
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +1 -1
- data/generated/google/apis/redis_v1/service.rb +1 -1
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
- data/generated/google/apis/redis_v1beta1/service.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +16 -9
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +15 -6
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +92 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +46 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +507 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +6 -6
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1/service.rb +14 -15
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +106 -6
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +116 -16
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +12 -15
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +223 -43
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +33 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +229 -43
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +34 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +9 -3
- data/generated/google/apis/servicecontrol_v1/representations.rb +1 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +124 -49
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1/representations.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +119 -43
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +221 -43
- data/generated/google/apis/serviceusage_v1/representations.rb +34 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +272 -43
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +63 -1
- data/generated/google/apis/serviceusage_v1beta1/service.rb +71 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +90 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +4 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +26 -22
- data/generated/google/apis/spanner_v1/service.rb +15 -8
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +2 -3
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/{customsearch_v1.rb → vectortile_v1.rb} +8 -8
- data/generated/google/apis/vectortile_v1/classes.rb +881 -0
- data/generated/google/apis/vectortile_v1/representations.rb +329 -0
- data/generated/google/apis/vectortile_v1/service.rb +268 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
- data/generated/google/apis/webfonts_v1.rb +5 -5
- data/generated/google/apis/webfonts_v1/classes.rb +4 -3
- data/generated/google/apis/webfonts_v1/representations.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +14 -21
- 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 +38 -0
- data/generated/google/apis/youtube_v3/representations.rb +27 -0
- data/generated/google/apis/youtube_v3/service.rb +32 -0
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +31 -11
- data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
- data/generated/google/apis/customsearch_v1/representations.rb +0 -372
- data/generated/google/apis/customsearch_v1/service.rb +0 -608
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +0 -5579
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +0 -2295
@@ -88,13 +88,13 @@ module Google
|
|
88
88
|
include Google::Apis::Core::JsonObjectSupport
|
89
89
|
end
|
90
90
|
|
91
|
-
class
|
91
|
+
class HttpDelivery
|
92
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
93
|
|
94
94
|
include Google::Apis::Core::JsonObjectSupport
|
95
95
|
end
|
96
96
|
|
97
|
-
class
|
97
|
+
class HashProp
|
98
98
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
99
|
|
100
100
|
include Google::Apis::Core::JsonObjectSupport
|
@@ -112,6 +112,42 @@ module Google
|
|
112
112
|
include Google::Apis::Core::JsonObjectSupport
|
113
113
|
end
|
114
114
|
|
115
|
+
class Notification
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
121
|
+
class NotifierConfig
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class NotifierMetadata
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
133
|
+
class NotifierSecret
|
134
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
|
+
|
136
|
+
include Google::Apis::Core::JsonObjectSupport
|
137
|
+
end
|
138
|
+
|
139
|
+
class NotifierSecretRef
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
145
|
+
class NotifierSpec
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
+
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
149
|
+
end
|
150
|
+
|
115
151
|
class Operation
|
116
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
153
|
|
@@ -130,12 +166,24 @@ module Google
|
|
130
166
|
include Google::Apis::Core::JsonObjectSupport
|
131
167
|
end
|
132
168
|
|
169
|
+
class SmtpDelivery
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
133
175
|
class Secret
|
134
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
177
|
|
136
178
|
include Google::Apis::Core::JsonObjectSupport
|
137
179
|
end
|
138
180
|
|
181
|
+
class SlackDelivery
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
139
187
|
class Source
|
140
188
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
189
|
|
@@ -261,6 +309,7 @@ module Google
|
|
261
309
|
# @private
|
262
310
|
class Representation < Google::Apis::Core::JsonRepresentation
|
263
311
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
312
|
+
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
264
313
|
collection :env, as: 'env'
|
265
314
|
property :log_streaming_option, as: 'logStreamingOption'
|
266
315
|
property :logging, as: 'logging'
|
@@ -327,20 +376,18 @@ module Google
|
|
327
376
|
end
|
328
377
|
end
|
329
378
|
|
330
|
-
class
|
379
|
+
class HttpDelivery
|
331
380
|
# @private
|
332
381
|
class Representation < Google::Apis::Core::JsonRepresentation
|
333
|
-
property :
|
334
|
-
property :value, :base64 => true, as: 'value'
|
382
|
+
property :uri, as: 'uri'
|
335
383
|
end
|
336
384
|
end
|
337
385
|
|
338
|
-
class
|
386
|
+
class HashProp
|
339
387
|
# @private
|
340
388
|
class Representation < Google::Apis::Core::JsonRepresentation
|
341
|
-
property :
|
342
|
-
|
343
|
-
|
389
|
+
property :type, as: 'type'
|
390
|
+
property :value, :base64 => true, as: 'value'
|
344
391
|
end
|
345
392
|
end
|
346
393
|
|
@@ -361,6 +408,65 @@ module Google
|
|
361
408
|
end
|
362
409
|
end
|
363
410
|
|
411
|
+
class Notification
|
412
|
+
# @private
|
413
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
414
|
+
property :filter, as: 'filter'
|
415
|
+
property :http_delivery, as: 'httpDelivery', class: Google::Apis::CloudbuildV1alpha1::HttpDelivery, decorator: Google::Apis::CloudbuildV1alpha1::HttpDelivery::Representation
|
416
|
+
|
417
|
+
property :slack_delivery, as: 'slackDelivery', class: Google::Apis::CloudbuildV1alpha1::SlackDelivery, decorator: Google::Apis::CloudbuildV1alpha1::SlackDelivery::Representation
|
418
|
+
|
419
|
+
property :smtp_delivery, as: 'smtpDelivery', class: Google::Apis::CloudbuildV1alpha1::SmtpDelivery, decorator: Google::Apis::CloudbuildV1alpha1::SmtpDelivery::Representation
|
420
|
+
|
421
|
+
hash :struct_delivery, as: 'structDelivery'
|
422
|
+
end
|
423
|
+
end
|
424
|
+
|
425
|
+
class NotifierConfig
|
426
|
+
# @private
|
427
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
428
|
+
property :api_version, as: 'apiVersion'
|
429
|
+
property :kind, as: 'kind'
|
430
|
+
property :metadata, as: 'metadata', class: Google::Apis::CloudbuildV1alpha1::NotifierMetadata, decorator: Google::Apis::CloudbuildV1alpha1::NotifierMetadata::Representation
|
431
|
+
|
432
|
+
property :spec, as: 'spec', class: Google::Apis::CloudbuildV1alpha1::NotifierSpec, decorator: Google::Apis::CloudbuildV1alpha1::NotifierSpec::Representation
|
433
|
+
|
434
|
+
end
|
435
|
+
end
|
436
|
+
|
437
|
+
class NotifierMetadata
|
438
|
+
# @private
|
439
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
440
|
+
property :name, as: 'name'
|
441
|
+
property :notifier, as: 'notifier'
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
class NotifierSecret
|
446
|
+
# @private
|
447
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
448
|
+
property :name, as: 'name'
|
449
|
+
property :value, as: 'value'
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
class NotifierSecretRef
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
property :secret_ref, as: 'secretRef'
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
class NotifierSpec
|
461
|
+
# @private
|
462
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
463
|
+
property :notification, as: 'notification', class: Google::Apis::CloudbuildV1alpha1::Notification, decorator: Google::Apis::CloudbuildV1alpha1::Notification::Representation
|
464
|
+
|
465
|
+
collection :secrets, as: 'secrets', class: Google::Apis::CloudbuildV1alpha1::NotifierSecret, decorator: Google::Apis::CloudbuildV1alpha1::NotifierSecret::Representation
|
466
|
+
|
467
|
+
end
|
468
|
+
end
|
469
|
+
|
364
470
|
class Operation
|
365
471
|
# @private
|
366
472
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -401,6 +507,19 @@ module Google
|
|
401
507
|
end
|
402
508
|
end
|
403
509
|
|
510
|
+
class SmtpDelivery
|
511
|
+
# @private
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
+
property :from_address, as: 'fromAddress'
|
514
|
+
property :password, as: 'password', class: Google::Apis::CloudbuildV1alpha1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1alpha1::NotifierSecretRef::Representation
|
515
|
+
|
516
|
+
property :port, as: 'port'
|
517
|
+
collection :recipient_addresses, as: 'recipientAddresses'
|
518
|
+
property :sender_address, as: 'senderAddress'
|
519
|
+
property :server, as: 'server'
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
404
523
|
class Secret
|
405
524
|
# @private
|
406
525
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -409,6 +528,14 @@ module Google
|
|
409
528
|
end
|
410
529
|
end
|
411
530
|
|
531
|
+
class SlackDelivery
|
532
|
+
# @private
|
533
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
534
|
+
property :webhook_uri, as: 'webhookUri', class: Google::Apis::CloudbuildV1alpha1::NotifierSecretRef, decorator: Google::Apis::CloudbuildV1alpha1::NotifierSecretRef::Representation
|
535
|
+
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
412
539
|
class Source
|
413
540
|
# @private
|
414
541
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -121,53 +121,6 @@ module Google
|
|
121
121
|
execute_or_queue_command(command, &block)
|
122
122
|
end
|
123
123
|
|
124
|
-
# Lists operations that match the specified filter in the request. If the
|
125
|
-
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
|
-
# NOTE: the `name` binding allows API services to override the binding
|
127
|
-
# to use different resource name schemes, such as `users/*/operations`. To
|
128
|
-
# override the binding, API services can add a binding such as
|
129
|
-
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
130
|
-
# For backwards compatibility, the default name includes the operations
|
131
|
-
# collection id, however overriding users must ensure the name binding
|
132
|
-
# is the parent resource, without the operations collection id.
|
133
|
-
# @param [String] name
|
134
|
-
# The name of the operation's parent resource.
|
135
|
-
# @param [String] filter
|
136
|
-
# The standard list filter.
|
137
|
-
# @param [Fixnum] page_size
|
138
|
-
# The standard list page size.
|
139
|
-
# @param [String] page_token
|
140
|
-
# The standard list page token.
|
141
|
-
# @param [String] fields
|
142
|
-
# Selector specifying which fields to include in a partial response.
|
143
|
-
# @param [String] quota_user
|
144
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
145
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
146
|
-
# @param [Google::Apis::RequestOptions] options
|
147
|
-
# Request-specific options
|
148
|
-
#
|
149
|
-
# @yield [result, err] Result & error if block supplied
|
150
|
-
# @yieldparam result [Google::Apis::CloudbuildV1alpha1::ListOperationsResponse] parsed result object
|
151
|
-
# @yieldparam err [StandardError] error object if request failed
|
152
|
-
#
|
153
|
-
# @return [Google::Apis::CloudbuildV1alpha1::ListOperationsResponse]
|
154
|
-
#
|
155
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
156
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
|
-
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}/operations', options)
|
160
|
-
command.response_representation = Google::Apis::CloudbuildV1alpha1::ListOperationsResponse::Representation
|
161
|
-
command.response_class = Google::Apis::CloudbuildV1alpha1::ListOperationsResponse
|
162
|
-
command.params['name'] = name unless name.nil?
|
163
|
-
command.query['filter'] = filter unless filter.nil?
|
164
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
165
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
166
|
-
command.query['fields'] = fields unless fields.nil?
|
167
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
168
|
-
execute_or_queue_command(command, &block)
|
169
|
-
end
|
170
|
-
|
171
124
|
# Creates a `WorkerPool` to run the builds, and returns the new worker pool.
|
172
125
|
# @param [String] parent
|
173
126
|
# ID of the parent project.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/cloud-build/docs/
|
26
26
|
module CloudbuildV1alpha2
|
27
27
|
VERSION = 'V1alpha2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200626'
|
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'
|
@@ -357,6 +357,15 @@ module Google
|
|
357
357
|
# @return [Fixnum]
|
358
358
|
attr_accessor :disk_size_gb
|
359
359
|
|
360
|
+
# Option to specify whether or not to apply bash style string
|
361
|
+
# operations to the substitutions.
|
362
|
+
# NOTE: this is always enabled for triggered builds and cannot be
|
363
|
+
# overridden in the build configuration file.
|
364
|
+
# Corresponds to the JSON property `dynamicSubstitutions`
|
365
|
+
# @return [Boolean]
|
366
|
+
attr_accessor :dynamic_substitutions
|
367
|
+
alias_method :dynamic_substitutions?, :dynamic_substitutions
|
368
|
+
|
360
369
|
# A list of global environment variable definitions that will exist for all
|
361
370
|
# build steps in this build. If a variable is defined in both globally and in
|
362
371
|
# a build step, the variable will use the build step value.
|
@@ -372,8 +381,8 @@ module Google
|
|
372
381
|
# @return [String]
|
373
382
|
attr_accessor :log_streaming_option
|
374
383
|
|
375
|
-
# Option to specify the logging mode, which determines
|
376
|
-
# stored.
|
384
|
+
# Option to specify the logging mode, which determines if and where build
|
385
|
+
# logs are stored.
|
377
386
|
# Corresponds to the JSON property `logging`
|
378
387
|
# @return [String]
|
379
388
|
attr_accessor :logging
|
@@ -403,6 +412,8 @@ module Google
|
|
403
412
|
|
404
413
|
# Option to specify behavior when there is an error in the substitution
|
405
414
|
# checks.
|
415
|
+
# NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot
|
416
|
+
# be overridden in the build configuration file.
|
406
417
|
# Corresponds to the JSON property `substitutionOption`
|
407
418
|
# @return [String]
|
408
419
|
attr_accessor :substitution_option
|
@@ -432,6 +443,7 @@ module Google
|
|
432
443
|
# Update properties of this object
|
433
444
|
def update!(**args)
|
434
445
|
@disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
|
446
|
+
@dynamic_substitutions = args[:dynamic_substitutions] if args.key?(:dynamic_substitutions)
|
435
447
|
@env = args[:env] if args.key?(:env)
|
436
448
|
@log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
|
437
449
|
@logging = args[:logging] if args.key?(:logging)
|
@@ -664,20 +676,14 @@ module Google
|
|
664
676
|
end
|
665
677
|
end
|
666
678
|
|
667
|
-
#
|
668
|
-
class
|
679
|
+
# HTTPDelivery is the delivery configuration for an HTTP notification.
|
680
|
+
class HttpDelivery
|
669
681
|
include Google::Apis::Core::Hashable
|
670
682
|
|
671
|
-
# The
|
672
|
-
# Corresponds to the JSON property `
|
683
|
+
# The URI to which JSON-containing HTTP POST requests should be sent.
|
684
|
+
# Corresponds to the JSON property `uri`
|
673
685
|
# @return [String]
|
674
|
-
attr_accessor :
|
675
|
-
|
676
|
-
# The hash value.
|
677
|
-
# Corresponds to the JSON property `value`
|
678
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
679
|
-
# @return [String]
|
680
|
-
attr_accessor :value
|
686
|
+
attr_accessor :uri
|
681
687
|
|
682
688
|
def initialize(**args)
|
683
689
|
update!(**args)
|
@@ -685,24 +691,24 @@ module Google
|
|
685
691
|
|
686
692
|
# Update properties of this object
|
687
693
|
def update!(**args)
|
688
|
-
@
|
689
|
-
@value = args[:value] if args.key?(:value)
|
694
|
+
@uri = args[:uri] if args.key?(:uri)
|
690
695
|
end
|
691
696
|
end
|
692
697
|
|
693
|
-
#
|
694
|
-
class
|
698
|
+
# Container message for hash values.
|
699
|
+
class HashProp
|
695
700
|
include Google::Apis::Core::Hashable
|
696
701
|
|
697
|
-
# The
|
698
|
-
# Corresponds to the JSON property `
|
702
|
+
# The type of hash that was performed.
|
703
|
+
# Corresponds to the JSON property `type`
|
699
704
|
# @return [String]
|
700
|
-
attr_accessor :
|
705
|
+
attr_accessor :type
|
701
706
|
|
702
|
-
#
|
703
|
-
# Corresponds to the JSON property `
|
704
|
-
#
|
705
|
-
|
707
|
+
# The hash value.
|
708
|
+
# Corresponds to the JSON property `value`
|
709
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
710
|
+
# @return [String]
|
711
|
+
attr_accessor :value
|
706
712
|
|
707
713
|
def initialize(**args)
|
708
714
|
update!(**args)
|
@@ -710,8 +716,8 @@ module Google
|
|
710
716
|
|
711
717
|
# Update properties of this object
|
712
718
|
def update!(**args)
|
713
|
-
@
|
714
|
-
@
|
719
|
+
@type = args[:type] if args.key?(:type)
|
720
|
+
@value = args[:value] if args.key?(:value)
|
715
721
|
end
|
716
722
|
end
|
717
723
|
|
@@ -758,6 +764,198 @@ module Google
|
|
758
764
|
end
|
759
765
|
end
|
760
766
|
|
767
|
+
# Notification is the container which holds the data that is relevant to this
|
768
|
+
# particular notification.
|
769
|
+
class Notification
|
770
|
+
include Google::Apis::Core::Hashable
|
771
|
+
|
772
|
+
# The filter string to use for notification filtering.
|
773
|
+
# Currently, this is assumed to be a CEL program.
|
774
|
+
# See https://opensource.google/projects/cel for more.
|
775
|
+
# Corresponds to the JSON property `filter`
|
776
|
+
# @return [String]
|
777
|
+
attr_accessor :filter
|
778
|
+
|
779
|
+
# HTTPDelivery is the delivery configuration for an HTTP notification.
|
780
|
+
# Corresponds to the JSON property `httpDelivery`
|
781
|
+
# @return [Google::Apis::CloudbuildV1alpha2::HttpDelivery]
|
782
|
+
attr_accessor :http_delivery
|
783
|
+
|
784
|
+
# SlackDelivery is the delivery configuration for delivering Slack messages via
|
785
|
+
# webhooks. See Slack webhook documentation at:
|
786
|
+
# https://api.slack.com/messaging/webhooks.
|
787
|
+
# Corresponds to the JSON property `slackDelivery`
|
788
|
+
# @return [Google::Apis::CloudbuildV1alpha2::SlackDelivery]
|
789
|
+
attr_accessor :slack_delivery
|
790
|
+
|
791
|
+
# SMTPDelivery is the delivery configuration for an SMTP (email) notification.
|
792
|
+
# Corresponds to the JSON property `smtpDelivery`
|
793
|
+
# @return [Google::Apis::CloudbuildV1alpha2::SmtpDelivery]
|
794
|
+
attr_accessor :smtp_delivery
|
795
|
+
|
796
|
+
# Escape hatch for users to supply custom delivery configs.
|
797
|
+
# Corresponds to the JSON property `structDelivery`
|
798
|
+
# @return [Hash<String,Object>]
|
799
|
+
attr_accessor :struct_delivery
|
800
|
+
|
801
|
+
def initialize(**args)
|
802
|
+
update!(**args)
|
803
|
+
end
|
804
|
+
|
805
|
+
# Update properties of this object
|
806
|
+
def update!(**args)
|
807
|
+
@filter = args[:filter] if args.key?(:filter)
|
808
|
+
@http_delivery = args[:http_delivery] if args.key?(:http_delivery)
|
809
|
+
@slack_delivery = args[:slack_delivery] if args.key?(:slack_delivery)
|
810
|
+
@smtp_delivery = args[:smtp_delivery] if args.key?(:smtp_delivery)
|
811
|
+
@struct_delivery = args[:struct_delivery] if args.key?(:struct_delivery)
|
812
|
+
end
|
813
|
+
end
|
814
|
+
|
815
|
+
# NotifierConfig is the top-level configuration message.
|
816
|
+
class NotifierConfig
|
817
|
+
include Google::Apis::Core::Hashable
|
818
|
+
|
819
|
+
# The API version of this configuration format.
|
820
|
+
# Corresponds to the JSON property `apiVersion`
|
821
|
+
# @return [String]
|
822
|
+
attr_accessor :api_version
|
823
|
+
|
824
|
+
# The type of notifier to use (e.g. SMTPNotifier).
|
825
|
+
# Corresponds to the JSON property `kind`
|
826
|
+
# @return [String]
|
827
|
+
attr_accessor :kind
|
828
|
+
|
829
|
+
# NotifierMetadata contains the data which can be used to reference or describe
|
830
|
+
# this notifier.
|
831
|
+
# Corresponds to the JSON property `metadata`
|
832
|
+
# @return [Google::Apis::CloudbuildV1alpha2::NotifierMetadata]
|
833
|
+
attr_accessor :metadata
|
834
|
+
|
835
|
+
# NotifierSpec is the configuration container for notifications.
|
836
|
+
# Corresponds to the JSON property `spec`
|
837
|
+
# @return [Google::Apis::CloudbuildV1alpha2::NotifierSpec]
|
838
|
+
attr_accessor :spec
|
839
|
+
|
840
|
+
def initialize(**args)
|
841
|
+
update!(**args)
|
842
|
+
end
|
843
|
+
|
844
|
+
# Update properties of this object
|
845
|
+
def update!(**args)
|
846
|
+
@api_version = args[:api_version] if args.key?(:api_version)
|
847
|
+
@kind = args[:kind] if args.key?(:kind)
|
848
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
849
|
+
@spec = args[:spec] if args.key?(:spec)
|
850
|
+
end
|
851
|
+
end
|
852
|
+
|
853
|
+
# NotifierMetadata contains the data which can be used to reference or describe
|
854
|
+
# this notifier.
|
855
|
+
class NotifierMetadata
|
856
|
+
include Google::Apis::Core::Hashable
|
857
|
+
|
858
|
+
# The human-readable and user-given name for the notifier.
|
859
|
+
# For example: "repo-merge-email-notifier".
|
860
|
+
# Corresponds to the JSON property `name`
|
861
|
+
# @return [String]
|
862
|
+
attr_accessor :name
|
863
|
+
|
864
|
+
# The string representing the name and version of notifier to deploy.
|
865
|
+
# Expected to be of the form of "<registry-path>/<name>:<version>".
|
866
|
+
# For example: "gcr.io/my-project/notifiers/smtp:1.2.34".
|
867
|
+
# Corresponds to the JSON property `notifier`
|
868
|
+
# @return [String]
|
869
|
+
attr_accessor :notifier
|
870
|
+
|
871
|
+
def initialize(**args)
|
872
|
+
update!(**args)
|
873
|
+
end
|
874
|
+
|
875
|
+
# Update properties of this object
|
876
|
+
def update!(**args)
|
877
|
+
@name = args[:name] if args.key?(:name)
|
878
|
+
@notifier = args[:notifier] if args.key?(:notifier)
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
882
|
+
# NotifierSecret is the container that maps a secret name (reference) to its
|
883
|
+
# Google Cloud Secret Manager resource path.
|
884
|
+
class NotifierSecret
|
885
|
+
include Google::Apis::Core::Hashable
|
886
|
+
|
887
|
+
# Name is the local name of the secret, such as the verbatim string
|
888
|
+
# "my-smtp-password".
|
889
|
+
# Corresponds to the JSON property `name`
|
890
|
+
# @return [String]
|
891
|
+
attr_accessor :name
|
892
|
+
|
893
|
+
# Value is interpreted to be a resource path for fetching the actual
|
894
|
+
# (versioned) secret data for this secret. For example, this would be a
|
895
|
+
# Google Cloud Secret Manager secret version resource path like:
|
896
|
+
# "projects/my-project/secrets/my-secret/versions/latest".
|
897
|
+
# Corresponds to the JSON property `value`
|
898
|
+
# @return [String]
|
899
|
+
attr_accessor :value
|
900
|
+
|
901
|
+
def initialize(**args)
|
902
|
+
update!(**args)
|
903
|
+
end
|
904
|
+
|
905
|
+
# Update properties of this object
|
906
|
+
def update!(**args)
|
907
|
+
@name = args[:name] if args.key?(:name)
|
908
|
+
@value = args[:value] if args.key?(:value)
|
909
|
+
end
|
910
|
+
end
|
911
|
+
|
912
|
+
# NotifierSecretRef contains the reference to a secret stored in the
|
913
|
+
# corresponding NotifierSpec.
|
914
|
+
class NotifierSecretRef
|
915
|
+
include Google::Apis::Core::Hashable
|
916
|
+
|
917
|
+
# The value of `secret_ref` should be a `name` that is registered in a
|
918
|
+
# `Secret` in the `secrets` list of the `Spec`.
|
919
|
+
# Corresponds to the JSON property `secretRef`
|
920
|
+
# @return [String]
|
921
|
+
attr_accessor :secret_ref
|
922
|
+
|
923
|
+
def initialize(**args)
|
924
|
+
update!(**args)
|
925
|
+
end
|
926
|
+
|
927
|
+
# Update properties of this object
|
928
|
+
def update!(**args)
|
929
|
+
@secret_ref = args[:secret_ref] if args.key?(:secret_ref)
|
930
|
+
end
|
931
|
+
end
|
932
|
+
|
933
|
+
# NotifierSpec is the configuration container for notifications.
|
934
|
+
class NotifierSpec
|
935
|
+
include Google::Apis::Core::Hashable
|
936
|
+
|
937
|
+
# Notification is the container which holds the data that is relevant to this
|
938
|
+
# particular notification.
|
939
|
+
# Corresponds to the JSON property `notification`
|
940
|
+
# @return [Google::Apis::CloudbuildV1alpha2::Notification]
|
941
|
+
attr_accessor :notification
|
942
|
+
|
943
|
+
# Configurations for secret resources used by this particular notifier.
|
944
|
+
# Corresponds to the JSON property `secrets`
|
945
|
+
# @return [Array<Google::Apis::CloudbuildV1alpha2::NotifierSecret>]
|
946
|
+
attr_accessor :secrets
|
947
|
+
|
948
|
+
def initialize(**args)
|
949
|
+
update!(**args)
|
950
|
+
end
|
951
|
+
|
952
|
+
# Update properties of this object
|
953
|
+
def update!(**args)
|
954
|
+
@notification = args[:notification] if args.key?(:notification)
|
955
|
+
@secrets = args[:secrets] if args.key?(:secrets)
|
956
|
+
end
|
957
|
+
end
|
958
|
+
|
761
959
|
# This resource represents a long-running operation that is the result of a
|
762
960
|
# network API call.
|
763
961
|
class Operation
|
@@ -947,6 +1145,58 @@ module Google
|
|
947
1145
|
end
|
948
1146
|
end
|
949
1147
|
|
1148
|
+
# SMTPDelivery is the delivery configuration for an SMTP (email) notification.
|
1149
|
+
class SmtpDelivery
|
1150
|
+
include Google::Apis::Core::Hashable
|
1151
|
+
|
1152
|
+
# This is the SMTP account/email that appears in the `From:` of the email.
|
1153
|
+
# If empty, it is assumed to be sender.
|
1154
|
+
# Corresponds to the JSON property `fromAddress`
|
1155
|
+
# @return [String]
|
1156
|
+
attr_accessor :from_address
|
1157
|
+
|
1158
|
+
# NotifierSecretRef contains the reference to a secret stored in the
|
1159
|
+
# corresponding NotifierSpec.
|
1160
|
+
# Corresponds to the JSON property `password`
|
1161
|
+
# @return [Google::Apis::CloudbuildV1alpha2::NotifierSecretRef]
|
1162
|
+
attr_accessor :password
|
1163
|
+
|
1164
|
+
# The SMTP port of the server.
|
1165
|
+
# Corresponds to the JSON property `port`
|
1166
|
+
# @return [String]
|
1167
|
+
attr_accessor :port
|
1168
|
+
|
1169
|
+
# This is the list of addresses to which we send the email (i.e. in the `To:`
|
1170
|
+
# of the email).
|
1171
|
+
# Corresponds to the JSON property `recipientAddresses`
|
1172
|
+
# @return [Array<String>]
|
1173
|
+
attr_accessor :recipient_addresses
|
1174
|
+
|
1175
|
+
# This is the SMTP account/email that is used to send the message.
|
1176
|
+
# Corresponds to the JSON property `senderAddress`
|
1177
|
+
# @return [String]
|
1178
|
+
attr_accessor :sender_address
|
1179
|
+
|
1180
|
+
# The address of the SMTP server.
|
1181
|
+
# Corresponds to the JSON property `server`
|
1182
|
+
# @return [String]
|
1183
|
+
attr_accessor :server
|
1184
|
+
|
1185
|
+
def initialize(**args)
|
1186
|
+
update!(**args)
|
1187
|
+
end
|
1188
|
+
|
1189
|
+
# Update properties of this object
|
1190
|
+
def update!(**args)
|
1191
|
+
@from_address = args[:from_address] if args.key?(:from_address)
|
1192
|
+
@password = args[:password] if args.key?(:password)
|
1193
|
+
@port = args[:port] if args.key?(:port)
|
1194
|
+
@recipient_addresses = args[:recipient_addresses] if args.key?(:recipient_addresses)
|
1195
|
+
@sender_address = args[:sender_address] if args.key?(:sender_address)
|
1196
|
+
@server = args[:server] if args.key?(:server)
|
1197
|
+
end
|
1198
|
+
end
|
1199
|
+
|
950
1200
|
# Pairs a set of secret environment variables containing encrypted
|
951
1201
|
# values with the Cloud KMS key to use to decrypt the value.
|
952
1202
|
class Secret
|
@@ -977,6 +1227,28 @@ module Google
|
|
977
1227
|
end
|
978
1228
|
end
|
979
1229
|
|
1230
|
+
# SlackDelivery is the delivery configuration for delivering Slack messages via
|
1231
|
+
# webhooks. See Slack webhook documentation at:
|
1232
|
+
# https://api.slack.com/messaging/webhooks.
|
1233
|
+
class SlackDelivery
|
1234
|
+
include Google::Apis::Core::Hashable
|
1235
|
+
|
1236
|
+
# NotifierSecretRef contains the reference to a secret stored in the
|
1237
|
+
# corresponding NotifierSpec.
|
1238
|
+
# Corresponds to the JSON property `webhookUri`
|
1239
|
+
# @return [Google::Apis::CloudbuildV1alpha2::NotifierSecretRef]
|
1240
|
+
attr_accessor :webhook_uri
|
1241
|
+
|
1242
|
+
def initialize(**args)
|
1243
|
+
update!(**args)
|
1244
|
+
end
|
1245
|
+
|
1246
|
+
# Update properties of this object
|
1247
|
+
def update!(**args)
|
1248
|
+
@webhook_uri = args[:webhook_uri] if args.key?(:webhook_uri)
|
1249
|
+
end
|
1250
|
+
end
|
1251
|
+
|
980
1252
|
# Location of the source in a supported storage service.
|
981
1253
|
class Source
|
982
1254
|
include Google::Apis::Core::Hashable
|