google-api-client 0.32.1 → 0.40.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.kokoro/continuous/linux.cfg +2 -2
- data/.kokoro/continuous/post.cfg +30 -0
- data/.kokoro/presubmit/linux.cfg +1 -1
- data/.kokoro/release.cfg +94 -0
- data/.repo-metadata.json +5 -0
- data/.rubocop.yml +5 -0
- data/.yardopts +16 -2
- data/CHANGELOG.md +1354 -0
- data/Gemfile +1 -0
- data/OVERVIEW.md +36 -0
- data/README.md +50 -2
- data/Rakefile +71 -2
- data/api_list_config.yaml +1 -0
- data/api_names.yaml +2 -0
- data/bin/generate-api +10 -2
- data/docs/api-keys.md +20 -0
- data/docs/auth.md +53 -0
- data/docs/client-secrets.md +69 -0
- data/docs/getting-started.md +340 -0
- data/docs/installation.md +0 -0
- data/docs/logging.md +34 -0
- data/docs/media-upload.md +25 -0
- data/docs/oauth-installed.md +191 -0
- data/docs/oauth-server.md +135 -0
- data/docs/oauth-web.md +280 -0
- data/docs/oauth.md +268 -0
- data/docs/pagination.md +29 -0
- data/docs/performance.md +25 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
- data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
- data/generated/google/apis/accessapproval_v1/service.rb +869 -0
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
- data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
- data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +357 -56
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +137 -6
- data/generated/google/apis/accesscontextmanager_v1/service.rb +143 -5
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +133 -125
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +21 -27
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +6 -5
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +35 -5
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +4 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +4 -150
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -54
- data/generated/google/apis/admin_directory_v1/service.rb +0 -60
- data/generated/google/apis/admin_directory_v1.rb +4 -1
- data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
- data/generated/google/apis/admin_reports_v1/service.rb +310 -64
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/admob_v1/classes.rb +951 -0
- data/generated/google/apis/admob_v1/representations.rb +378 -0
- data/generated/google/apis/admob_v1/service.rb +196 -0
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +5 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +259 -7
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -2
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +39 -60
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +203 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +68 -0
- data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1/service.rb +1 -81
- data/generated/google/apis/androidpublisher_v1.rb +1 -4
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +0 -41
- data/generated/google/apis/androidpublisher_v1_1/representations.rb +0 -16
- data/generated/google/apis/androidpublisher_v1_1/service.rb +0 -80
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +37 -1755
- data/generated/google/apis/androidpublisher_v2/representations.rb +15 -804
- data/generated/google/apis/androidpublisher_v2/service.rb +0 -2359
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +404 -65
- data/generated/google/apis/androidpublisher_v3/representations.rb +180 -27
- data/generated/google/apis/androidpublisher_v3/service.rb +162 -3
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +4928 -0
- data/generated/google/apis/apigee_v1/representations.rb +1822 -0
- data/generated/google/apis/apigee_v1/service.rb +5578 -0
- data/generated/google/apis/apigee_v1.rb +40 -0
- data/generated/google/apis/appengine_v1/classes.rb +7 -0
- data/generated/google/apis/appengine_v1/representations.rb +1 -0
- data/generated/google/apis/appengine_v1/service.rb +10 -6
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +7 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +1 -17
- data/generated/google/apis/appengine_v1beta/service.rb +10 -6
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → artifactregistry_v1beta1}/classes.rb +591 -765
- data/generated/google/apis/{servicebroker_v1alpha1 → artifactregistry_v1beta1}/representations.rb +128 -115
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/bigquery_v2/classes.rb +993 -43
- data/generated/google/apis/bigquery_v2/representations.rb +273 -2
- data/generated/google/apis/bigquery_v2/service.rb +137 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +149 -59
- data/generated/google/apis/bigqueryconnection_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +11 -10
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +90 -34
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +392 -16
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +174 -6
- data/generated/google/apis/bigqueryreservation_v1/service.rb +758 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +109 -10
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +26 -3
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +166 -160
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +49 -38
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +257 -146
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +21 -18
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +189 -82
- data/generated/google/apis/bigtableadmin_v2/service.rb +170 -58
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +413 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +197 -0
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +244 -0
- data/generated/google/apis/{servicebroker_v1beta1.rb → billingbudgets_v1beta1.rb} +9 -10
- data/generated/google/apis/binaryauthorization_v1/classes.rb +143 -58
- data/generated/google/apis/binaryauthorization_v1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +139 -57
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +10 -2
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/blogger_v2/classes.rb +297 -45
- data/generated/google/apis/blogger_v2/representations.rb +105 -26
- data/generated/google/apis/blogger_v2/service.rb +79 -134
- data/generated/google/apis/blogger_v2.rb +5 -4
- data/generated/google/apis/blogger_v3/classes.rb +60 -53
- data/generated/google/apis/blogger_v3/representations.rb +10 -18
- data/generated/google/apis/blogger_v3/service.rb +183 -463
- data/generated/google/apis/blogger_v3.rb +4 -3
- data/generated/google/apis/books_v1/classes.rb +494 -242
- data/generated/google/apis/books_v1/representations.rb +145 -72
- data/generated/google/apis/books_v1/service.rb +354 -484
- data/generated/google/apis/books_v1.rb +3 -3
- data/generated/google/apis/calendar_v3/classes.rb +8 -21
- data/generated/google/apis/calendar_v3/service.rb +18 -30
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +29 -3
- data/generated/google/apis/chat_v1/representations.rb +3 -0
- data/generated/google/apis/chat_v1/service.rb +5 -2
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/{pagespeedonline_v1.rb → chromeuxreport_v1.rb} +9 -9
- data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +14 -14
- data/generated/google/apis/classroom_v1/service.rb +11 -11
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +917 -195
- data/generated/google/apis/cloudasset_v1/representations.rb +234 -6
- data/generated/google/apis/cloudasset_v1/service.rb +363 -12
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +139 -57
- data/generated/google/apis/cloudasset_v1beta1/service.rb +13 -4
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +701 -0
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +201 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +189 -0
- data/generated/google/apis/cloudasset_v1p1beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +924 -0
- data/generated/google/apis/cloudasset_v1p4beta1/representations.rb +377 -0
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +217 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +34 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +179 -68
- data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +16 -9
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +55 -10
- data/generated/google/apis/cloudbuild_v1/representations.rb +5 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +139 -18
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +170 -5
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +63 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -5
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1283 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +491 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +353 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +34 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +4 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +24 -17
- data/generated/google/apis/clouddebugger_v2.rb +2 -2
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +13 -13
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +2 -2
- data/generated/google/apis/cloudfunctions_v1/classes.rb +161 -59
- data/generated/google/apis/cloudfunctions_v1/representations.rb +3 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +13 -4
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
- data/generated/google/apis/cloudidentity_v1/service.rb +22 -14
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1009 -69
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +390 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -78
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +142 -57
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +461 -61
- data/generated/google/apis/cloudkms_v1/representations.rb +33 -0
- data/generated/google/apis/cloudkms_v1/service.rb +15 -3
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +155 -71
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -3
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +143 -59
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +147 -67
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +3 -2
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +86 -195
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -75
- data/generated/google/apis/cloudsearch_v1/service.rb +62 -10
- data/generated/google/apis/cloudsearch_v1.rb +8 -8
- data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
- data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +30 -1
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +5 -0
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +388 -70
- data/generated/google/apis/cloudtasks_v2/representations.rb +65 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +148 -66
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +6 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +156 -74
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +10 -4
- data/generated/google/apis/cloudtrace_v1.rb +5 -5
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -7
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -4
- data/generated/google/apis/cloudtrace_v2.rb +5 -5
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +143 -0
- data/generated/google/apis/{oauth2_v1 → cloudtrace_v2beta1}/representations.rb +36 -27
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +258 -0
- data/generated/google/apis/cloudtrace_v2beta1.rb +44 -0
- data/generated/google/apis/composer_v1/classes.rb +180 -0
- data/generated/google/apis/composer_v1/representations.rb +54 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +152 -5
- data/generated/google/apis/composer_v1beta1/representations.rb +64 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3252 -973
- data/generated/google/apis/compute_alpha/representations.rb +634 -69
- data/generated/google/apis/compute_alpha/service.rb +9085 -6210
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +4787 -1066
- data/generated/google/apis/compute_beta/representations.rb +1394 -31
- data/generated/google/apis/compute_beta/service.rb +8858 -5018
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2976 -599
- data/generated/google/apis/compute_v1/representations.rb +850 -0
- data/generated/google/apis/compute_v1/service.rb +4634 -2481
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +925 -164
- data/generated/google/apis/container_v1/representations.rb +278 -0
- data/generated/google/apis/container_v1/service.rb +175 -158
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +803 -340
- data/generated/google/apis/container_v1beta1/representations.rb +185 -39
- data/generated/google/apis/container_v1beta1/service.rb +294 -277
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +142 -57
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +478 -59
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +159 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +26 -20
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +1566 -634
- data/generated/google/apis/content_v2/representations.rb +78 -115
- data/generated/google/apis/content_v2/service.rb +81 -206
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +2706 -683
- data/generated/google/apis/content_v2_1/representations.rb +551 -0
- data/generated/google/apis/content_v2_1/service.rb +520 -46
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +1194 -353
- data/generated/google/apis/customsearch_v1/representations.rb +166 -95
- data/generated/google/apis/customsearch_v1/service.rb +373 -104
- data/generated/google/apis/customsearch_v1.rb +3 -3
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +1907 -0
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +739 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +2247 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1.rb → datacatalog_v1beta1.rb} +9 -9
- data/generated/google/apis/dataflow_v1b3/classes.rb +786 -11
- data/generated/google/apis/dataflow_v1b3/representations.rb +377 -1
- data/generated/google/apis/dataflow_v1b3/service.rb +626 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +245 -362
- data/generated/google/apis/datafusion_v1beta1/representations.rb +29 -112
- data/generated/google/apis/datafusion_v1beta1/service.rb +15 -2
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +533 -177
- data/generated/google/apis/dataproc_v1/representations.rb +85 -0
- data/generated/google/apis/dataproc_v1/service.rb +102 -36
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +477 -182
- data/generated/google/apis/dataproc_v1beta2/representations.rb +81 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +199 -43
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +17 -23
- data/generated/google/apis/datastore_v1/service.rb +93 -9
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +6 -5
- data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +39 -13
- data/generated/google/apis/dfareporting_v3_3/service.rb +9 -8
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1361 -813
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +639 -396
- data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +969 -1076
- data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
- data/generated/google/apis/dialogflow_v2/classes.rb +1778 -219
- data/generated/google/apis/dialogflow_v2/representations.rb +603 -0
- data/generated/google/apis/dialogflow_v2/service.rb +849 -158
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1776 -242
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +592 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +436 -172
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3alpha1/classes.rb +5579 -0
- data/generated/google/apis/dialogflow_v3alpha1/representations.rb +2295 -0
- data/generated/google/apis/dialogflow_v3alpha1/service.rb +296 -0
- data/generated/google/apis/dialogflow_v3alpha1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +7527 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +3034 -0
- data/generated/google/apis/displayvideo_v1/service.rb +3126 -0
- data/generated/google/apis/displayvideo_v1.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +798 -130
- data/generated/google/apis/dlp_v2/representations.rb +277 -3
- data/generated/google/apis/dlp_v2/service.rb +2074 -231
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +220 -251
- data/generated/google/apis/dns_v1/representations.rb +49 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +224 -261
- data/generated/google/apis/dns_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +220 -251
- data/generated/google/apis/dns_v2beta1/representations.rb +49 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +608 -2
- data/generated/google/apis/docs_v1/representations.rb +211 -0
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +860 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +388 -0
- data/generated/google/apis/{surveys_v2 → doubleclickbidmanager_v1_1}/service.rb +140 -110
- data/generated/google/apis/{proximitybeacon_v1beta1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
- data/generated/google/apis/doubleclicksearch_v2/service.rb +0 -55
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +58 -5
- data/generated/google/apis/drive_v2/representations.rb +18 -0
- data/generated/google/apis/drive_v2/service.rb +92 -118
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +66 -5
- data/generated/google/apis/drive_v3/representations.rb +18 -0
- data/generated/google/apis/drive_v3/service.rb +46 -14
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +15 -5
- data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +15 -0
- data/generated/google/apis/fcm_v1/representations.rb +2 -0
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +1235 -158
- data/generated/google/apis/file_v1/representations.rb +401 -22
- data/generated/google/apis/file_v1/service.rb +14 -10
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1236 -159
- data/generated/google/apis/file_v1beta1/representations.rb +401 -22
- data/generated/google/apis/file_v1beta1/service.rb +18 -11
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +20 -16
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +22 -16
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +174 -1
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +65 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +805 -2
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/{servicebroker_v1 → firebaseml_v1}/representations.rb +26 -28
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/firebaseml_v1.rb +34 -0
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +344 -0
- data/generated/google/apis/{cloudprivatecatalog_v1beta1 → firebaseml_v1beta2}/representations.rb +62 -31
- data/generated/google/apis/firebaseml_v1beta2/service.rb +267 -0
- data/generated/google/apis/firebaseml_v1beta2.rb +34 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +113 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +52 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1/service.rb +26 -24
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +16 -5
- data/generated/google/apis/firestore_v1beta1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1beta1/service.rb +18 -16
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +189 -153
- data/generated/google/apis/fitness_v1/service.rb +192 -198
- data/generated/google/apis/fitness_v1.rb +14 -14
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +38 -53
- data/generated/google/apis/games_configuration_v1configuration/service.rb +58 -169
- data/generated/google/apis/games_configuration_v1configuration.rb +4 -3
- data/generated/google/apis/games_management_v1management/classes.rb +50 -109
- data/generated/google/apis/games_management_v1management/representations.rb +0 -30
- data/generated/google/apis/games_management_v1management/service.rb +116 -452
- data/generated/google/apis/games_management_v1management.rb +6 -4
- data/generated/google/apis/games_v1/classes.rb +14 -293
- data/generated/google/apis/games_v1/representations.rb +2 -98
- data/generated/google/apis/games_v1/service.rb +3 -135
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +2354 -0
- data/generated/google/apis/gameservices_v1beta/representations.rb +971 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +1472 -0
- data/generated/google/apis/gameservices_v1beta.rb +34 -0
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +34 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +6 -2
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1/classes.rb +2659 -0
- data/generated/google/apis/healthcare_v1/representations.rb +1114 -0
- data/generated/google/apis/healthcare_v1/service.rb +3439 -0
- data/generated/google/apis/healthcare_v1.rb +34 -0
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1013 -128
- data/generated/google/apis/healthcare_v1beta1/representations.rb +341 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +762 -275
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +79 -56
- data/generated/google/apis/homegraph_v1/representations.rb +2 -1
- data/generated/google/apis/homegraph_v1/service.rb +43 -47
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +201 -169
- data/generated/google/apis/iam_v1/representations.rb +1 -6
- data/generated/google/apis/iam_v1/service.rb +18 -21
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +40 -8
- data/generated/google/apis/iamcredentials_v1/service.rb +4 -4
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +691 -59
- data/generated/google/apis/iap_v1/representations.rb +254 -0
- data/generated/google/apis/iap_v1/service.rb +362 -0
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +144 -59
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +180 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +187 -2
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +6 -6
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +5 -5
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +23 -7
- data/generated/google/apis/language_v1beta2/representations.rb +2 -0
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +15 -7
- data/generated/google/apis/licensing_v1/service.rb +81 -37
- data/generated/google/apis/licensing_v1.rb +4 -4
- data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
- data/generated/google/apis/lifesciences_v2beta.rb +35 -0
- data/generated/google/apis/logging_v2/classes.rb +292 -91
- data/generated/google/apis/logging_v2/representations.rb +51 -0
- data/generated/google/apis/logging_v2/service.rb +888 -15
- data/generated/google/apis/logging_v2.rb +6 -6
- data/generated/google/apis/managedidentities_v1/classes.rb +1571 -0
- data/generated/google/apis/managedidentities_v1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1/service.rb +779 -0
- data/generated/google/apis/managedidentities_v1.rb +35 -0
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +1570 -0
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +782 -0
- data/generated/google/apis/{servicebroker_v1alpha1.rb → managedidentities_v1alpha1.rb} +9 -10
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +1568 -0
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +560 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +778 -0
- data/generated/google/apis/managedidentities_v1beta1.rb +35 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +7 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +1 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1587 -0
- data/generated/google/apis/memcache_v1beta2/representations.rb +557 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +677 -0
- data/generated/google/apis/memcache_v1beta2.rb +35 -0
- data/generated/google/apis/ml_v1/classes.rb +1518 -233
- data/generated/google/apis/ml_v1/representations.rb +559 -0
- data/generated/google/apis/ml_v1/service.rb +560 -25
- data/generated/google/apis/ml_v1.rb +5 -2
- data/generated/google/apis/monitoring_v1/classes.rb +1231 -0
- data/generated/google/apis/monitoring_v1/representations.rb +513 -0
- data/generated/google/apis/monitoring_v1/service.rb +246 -0
- data/generated/google/apis/monitoring_v1.rb +47 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1330 -172
- data/generated/google/apis/monitoring_v3/representations.rb +482 -1
- data/generated/google/apis/monitoring_v3/service.rb +614 -162
- data/generated/google/apis/monitoring_v3.rb +7 -8
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +667 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1.rb → networkmanagement_v1beta1.rb} +9 -9
- data/generated/google/apis/oauth2_v2/classes.rb +1 -81
- data/generated/google/apis/oauth2_v2/representations.rb +2 -36
- data/generated/google/apis/oauth2_v2/service.rb +10 -42
- data/generated/google/apis/oauth2_v2.rb +5 -5
- data/generated/google/apis/osconfig_v1/classes.rb +1225 -0
- data/generated/google/apis/osconfig_v1/representations.rb +506 -0
- data/generated/google/apis/osconfig_v1/service.rb +386 -0
- data/generated/google/apis/osconfig_v1.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/classes.rb +2362 -0
- data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
- data/generated/google/apis/osconfig_v1beta.rb +35 -0
- data/generated/google/apis/oslogin_v1/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +10 -7
- data/generated/google/apis/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/service.rb +9 -6
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +534 -495
- data/generated/google/apis/pagespeedonline_v5/representations.rb +226 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/people_v1/classes.rb +104 -81
- data/generated/google/apis/people_v1/representations.rb +1 -0
- data/generated/google/apis/people_v1/service.rb +72 -79
- data/generated/google/apis/people_v1.rb +10 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +765 -0
- data/generated/google/apis/policytroubleshooter_v1/representations.rb +203 -0
- data/generated/google/apis/policytroubleshooter_v1/service.rb +90 -0
- data/generated/google/apis/policytroubleshooter_v1.rb +34 -0
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +254 -111
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v4.rb → prod_tt_sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/pubsub_v1/classes.rb +248 -76
- data/generated/google/apis/pubsub_v1/representations.rb +18 -0
- data/generated/google/apis/pubsub_v1/service.rb +43 -31
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +144 -59
- data/generated/google/apis/pubsub_v1beta2/service.rb +10 -2
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +221 -7
- data/generated/google/apis/recommender_v1beta1/representations.rb +96 -0
- data/generated/google/apis/recommender_v1beta1/service.rb +146 -19
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +48 -18
- data/generated/google/apis/redis_v1/representations.rb +14 -0
- data/generated/google/apis/redis_v1/service.rb +41 -5
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +48 -18
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +41 -5
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +352 -37
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +99 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +362 -45
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +100 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +5 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/service.rb +1 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +308 -325
- data/generated/google/apis/run_v1/representations.rb +63 -103
- data/generated/google/apis/run_v1/service.rb +336 -933
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1045 -392
- data/generated/google/apis/run_v1alpha1/representations.rb +343 -144
- data/generated/google/apis/run_v1alpha1/service.rb +1735 -492
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +1 -1
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +139 -57
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +8 -5
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +1137 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +532 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +1676 -0
- data/generated/google/apis/{pagespeedonline_v2.rb → sasportal_v1alpha1.rb} +12 -10
- data/generated/google/apis/script_v1/classes.rb +4 -22
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +982 -0
- data/generated/google/apis/{cloudprivatecatalogproducer_v1beta1 → secretmanager_v1}/representations.rb +105 -116
- data/generated/google/apis/secretmanager_v1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1.rb +35 -0
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +982 -0
- data/generated/google/apis/{servicebroker_v1beta1 → secretmanager_v1beta1}/representations.rb +114 -142
- data/generated/google/apis/secretmanager_v1beta1/service.rb +681 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1/classes.rb +862 -138
- data/generated/google/apis/securitycenter_v1/representations.rb +221 -0
- data/generated/google/apis/securitycenter_v1/service.rb +225 -21
- data/generated/google/apis/securitycenter_v1.rb +4 -4
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +782 -125
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +192 -2
- data/generated/google/apis/securitycenter_v1beta1/service.rb +53 -51
- data/generated/google/apis/securitycenter_v1beta1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +568 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +190 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/service.rb +3 -3
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +4 -4
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +2205 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +751 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1329 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +419 -64
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +98 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +4159 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1307 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +428 -0
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +34 -0
- data/generated/google/apis/servicecontrol_v1/classes.rb +255 -20
- data/generated/google/apis/servicecontrol_v1/representations.rb +87 -1
- data/generated/google/apis/servicecontrol_v1/service.rb +2 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +816 -0
- data/generated/google/apis/{surveys_v2 → servicedirectory_v1beta1}/representations.rb +103 -104
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +992 -0
- data/generated/google/apis/servicedirectory_v1beta1.rb +35 -0
- data/generated/google/apis/servicemanagement_v1/classes.rb +459 -125
- data/generated/google/apis/servicemanagement_v1/representations.rb +61 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +40 -29
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +986 -68
- data/generated/google/apis/servicenetworking_v1/representations.rb +403 -0
- data/generated/google/apis/servicenetworking_v1/service.rb +351 -23
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +575 -57
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +223 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +417 -64
- data/generated/google/apis/serviceusage_v1/representations.rb +110 -0
- data/generated/google/apis/serviceusage_v1/service.rb +42 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +644 -64
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +198 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +472 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1741 -253
- data/generated/google/apis/sheets_v4/representations.rb +283 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +1 -1
- data/generated/google/apis/slides_v1/service.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +173 -67
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +706 -71
- data/generated/google/apis/spanner_v1/representations.rb +194 -0
- data/generated/google/apis/spanner_v1/service.rb +770 -7
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +15 -11
- data/generated/google/apis/speech_v1/representations.rb +2 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +197 -11
- data/generated/google/apis/speech_v1p1beta1/representations.rb +79 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +16 -8
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +7 -6
- data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
- data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +701 -383
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +209 -104
- data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +579 -597
- data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
- data/generated/google/apis/storage_v1/classes.rb +73 -7
- data/generated/google/apis/storage_v1/representations.rb +10 -0
- data/generated/google/apis/storage_v1/service.rb +29 -4
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +280 -79
- data/generated/google/apis/storagetransfer_v1/representations.rb +52 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +19 -41
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/service.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v1/service.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
- data/generated/google/apis/tagmanager_v2/service.rb +1 -1
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +78 -124
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/testing_v1/classes.rb +187 -1
- data/generated/google/apis/testing_v1/representations.rb +93 -0
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +2061 -1133
- data/generated/google/apis/toolresults_v1beta3/representations.rb +723 -13
- data/generated/google/apis/toolresults_v1beta3/service.rb +663 -591
- data/generated/google/apis/toolresults_v1beta3.rb +2 -2
- data/generated/google/apis/tpu_v1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -4
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +946 -0
- data/generated/google/apis/translate_v3/representations.rb +439 -0
- data/generated/google/apis/translate_v3/service.rb +781 -0
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +10 -7
- data/generated/google/apis/vault_v1/service.rb +7 -7
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/videointelligence_v1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1216 -129
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1205 -118
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +492 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1290 -116
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +526 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +67 -1
- data/generated/google/apis/vision_v1/representations.rb +32 -0
- data/generated/google/apis/vision_v1/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +67 -1
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +75 -4
- data/generated/google/apis/websecurityscanner_v1/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -6
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +32 -0
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1376 -1262
- data/generated/google/apis/youtube_v3/representations.rb +99 -191
- data/generated/google/apis/youtube_v3/service.rb +1829 -2150
- data/generated/google/apis/youtube_v3.rb +8 -5
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/google-api-client.gemspec +6 -3
- data/lib/google/apis/core/api_command.rb +7 -0
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +11 -10
- data/lib/google/apis/core/upload.rb +4 -0
- data/lib/google/apis/generator/annotator.rb +1 -1
- data/lib/google/apis/version.rb +9 -4
- data/rakelib/devsite/devsite_builder.rb +126 -0
- data/rakelib/devsite/link_checker.rb +64 -0
- data/rakelib/devsite/repo_metadata.rb +56 -0
- metadata +193 -110
- data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
- data/generated/google/apis/analytics_v2_4/service.rb +0 -331
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +0 -358
- data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +0 -486
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +0 -1081
- data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +0 -485
- data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +0 -210
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +0 -124
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +0 -39
- data/generated/google/apis/fusiontables_v1/classes.rb +0 -977
- data/generated/google/apis/fusiontables_v1/representations.rb +0 -449
- data/generated/google/apis/fusiontables_v1/service.rb +0 -1307
- data/generated/google/apis/fusiontables_v1.rb +0 -37
- data/generated/google/apis/fusiontables_v2/classes.rb +0 -1049
- data/generated/google/apis/fusiontables_v2/representations.rb +0 -457
- data/generated/google/apis/fusiontables_v2/service.rb +0 -1431
- data/generated/google/apis/fusiontables_v2.rb +0 -37
- data/generated/google/apis/mirror_v1/classes.rb +0 -1072
- data/generated/google/apis/mirror_v1/representations.rb +0 -390
- data/generated/google/apis/mirror_v1/service.rb +0 -928
- data/generated/google/apis/mirror_v1.rb +0 -37
- data/generated/google/apis/oauth2_v1/classes.rb +0 -197
- data/generated/google/apis/oauth2_v1/service.rb +0 -160
- data/generated/google/apis/oauth2_v1.rb +0 -40
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
- data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
- data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
- data/generated/google/apis/plus_domains_v1/service.rb +0 -489
- data/generated/google/apis/plus_domains_v1.rb +0 -55
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +0 -845
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +0 -350
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +0 -933
- data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
- data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
- data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
- data/generated/google/apis/replicapool_v1beta1.rb +0 -50
- data/generated/google/apis/servicebroker_v1/classes.rb +0 -333
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1037
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1173
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
- data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
- data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
- data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
- data/generated/google/apis/storage_v1beta1.rb +0 -40
- data/generated/google/apis/surveys_v2/classes.rb +0 -691
- data/generated/google/apis/surveys_v2.rb +0 -40
- data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
- data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
- data/generated/google/apis/urlshortener_v1/service.rb +0 -169
- data/generated/google/apis/urlshortener_v1.rb +0 -34
@@ -84,10 +84,53 @@ module Google
|
|
84
84
|
execute_or_queue_command(command, &block)
|
85
85
|
end
|
86
86
|
|
87
|
-
#
|
87
|
+
# Creates a new cloudauditlogssource.
|
88
|
+
# @param [String] parent
|
89
|
+
# The project ID or project number in which this cloudauditlogssource should
|
90
|
+
# be created.
|
91
|
+
# @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object
|
92
|
+
# @param [String] fields
|
93
|
+
# Selector specifying which fields to include in a partial response.
|
94
|
+
# @param [String] quota_user
|
95
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
96
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
97
|
+
# @param [Google::Apis::RequestOptions] options
|
98
|
+
# Request-specific options
|
99
|
+
#
|
100
|
+
# @yield [result, err] Result & error if block supplied
|
101
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
|
102
|
+
# @yieldparam err [StandardError] error object if request failed
|
103
|
+
#
|
104
|
+
# @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
|
105
|
+
#
|
106
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
107
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
108
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
109
|
+
def create_namespace_cloudauditlogssource(parent, cloud_audit_logs_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
110
|
+
command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogssources', options)
|
111
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
|
112
|
+
command.request_object = cloud_audit_logs_source_object
|
113
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
|
114
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
|
115
|
+
command.params['parent'] = parent unless parent.nil?
|
116
|
+
command.query['fields'] = fields unless fields.nil?
|
117
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
118
|
+
execute_or_queue_command(command, &block)
|
119
|
+
end
|
120
|
+
|
121
|
+
# Rpc to delete a cloudauditlogssource.
|
88
122
|
# @param [String] name
|
89
|
-
# The name of the
|
123
|
+
# The name of the cloudauditlogssource being deleted. If needed, replace
|
90
124
|
# `namespace_id` with the project ID.
|
125
|
+
# @param [String] api_version
|
126
|
+
# Cloud Run currently ignores this parameter.
|
127
|
+
# @param [String] kind
|
128
|
+
# Cloud Run currently ignores this parameter.
|
129
|
+
# @param [String] propagation_policy
|
130
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
131
|
+
# this setting, and deletes in the background. Please see
|
132
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
133
|
+
# more information.
|
91
134
|
# @param [String] fields
|
92
135
|
# Selector specifying which fields to include in a partial response.
|
93
136
|
# @param [String] quota_user
|
@@ -97,28 +140,62 @@ module Google
|
|
97
140
|
# Request-specific options
|
98
141
|
#
|
99
142
|
# @yield [result, err] Result & error if block supplied
|
100
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
143
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
101
144
|
# @yieldparam err [StandardError] error object if request failed
|
102
145
|
#
|
103
|
-
# @return [Google::Apis::RunV1alpha1::
|
146
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
104
147
|
#
|
105
148
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
106
149
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
107
150
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
108
|
-
def
|
109
|
-
command = make_simple_command(:
|
110
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
111
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
151
|
+
def delete_namespace_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
152
|
+
command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
153
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
154
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
112
155
|
command.params['name'] = name unless name.nil?
|
156
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
157
|
+
command.query['kind'] = kind unless kind.nil?
|
158
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
113
159
|
command.query['fields'] = fields unless fields.nil?
|
114
160
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
115
161
|
execute_or_queue_command(command, &block)
|
116
162
|
end
|
117
163
|
|
118
|
-
# Rpc to
|
164
|
+
# Rpc to get information about a cloudauditlogssource.
|
165
|
+
# @param [String] name
|
166
|
+
# The name of the cloudauditlogssource being retrieved. If needed, replace
|
167
|
+
# `namespace_id` with the project ID.
|
168
|
+
# @param [String] fields
|
169
|
+
# Selector specifying which fields to include in a partial response.
|
170
|
+
# @param [String] quota_user
|
171
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
172
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
173
|
+
# @param [Google::Apis::RequestOptions] options
|
174
|
+
# Request-specific options
|
175
|
+
#
|
176
|
+
# @yield [result, err] Result & error if block supplied
|
177
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
|
178
|
+
# @yieldparam err [StandardError] error object if request failed
|
179
|
+
#
|
180
|
+
# @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
|
181
|
+
#
|
182
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
183
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
184
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
185
|
+
def get_namespace_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block)
|
186
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
187
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
|
188
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
|
189
|
+
command.params['name'] = name unless name.nil?
|
190
|
+
command.query['fields'] = fields unless fields.nil?
|
191
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
192
|
+
execute_or_queue_command(command, &block)
|
193
|
+
end
|
194
|
+
|
195
|
+
# Rpc to list cloudauditlogssources.
|
119
196
|
# @param [String] parent
|
120
|
-
# The project ID or project number from which the
|
121
|
-
# listed.
|
197
|
+
# The project ID or project number from which the cloudauditlogssources
|
198
|
+
# should be listed.
|
122
199
|
# @param [String] continue
|
123
200
|
# Optional encoded string to continue paging.
|
124
201
|
# @param [String] field_selector
|
@@ -147,18 +224,18 @@ module Google
|
|
147
224
|
# Request-specific options
|
148
225
|
#
|
149
226
|
# @yield [result, err] Result & error if block supplied
|
150
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
227
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object
|
151
228
|
# @yieldparam err [StandardError] error object if request failed
|
152
229
|
#
|
153
|
-
# @return [Google::Apis::RunV1alpha1::
|
230
|
+
# @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse]
|
154
231
|
#
|
155
232
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
156
233
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
234
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
|
-
def
|
159
|
-
command = make_simple_command(:get, 'apis/
|
160
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
161
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
235
|
+
def list_namespace_cloudauditlogssources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
236
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudauditlogssources', options)
|
237
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse::Representation
|
238
|
+
command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse
|
162
239
|
command.params['parent'] = parent unless parent.nil?
|
163
240
|
command.query['continue'] = continue unless continue.nil?
|
164
241
|
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
@@ -172,11 +249,11 @@ module Google
|
|
172
249
|
execute_or_queue_command(command, &block)
|
173
250
|
end
|
174
251
|
|
175
|
-
# Creates a new
|
252
|
+
# Creates a new cloudpubsubsource.
|
176
253
|
# @param [String] parent
|
177
|
-
# The project ID or project number in which this
|
178
|
-
# created.
|
179
|
-
# @param [Google::Apis::RunV1alpha1::
|
254
|
+
# The project ID or project number in which this cloudpubsubsource should
|
255
|
+
# be created.
|
256
|
+
# @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object
|
180
257
|
# @param [String] fields
|
181
258
|
# Selector specifying which fields to include in a partial response.
|
182
259
|
# @param [String] quota_user
|
@@ -186,40 +263,34 @@ module Google
|
|
186
263
|
# Request-specific options
|
187
264
|
#
|
188
265
|
# @yield [result, err] Result & error if block supplied
|
189
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
266
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
|
190
267
|
# @yieldparam err [StandardError] error object if request failed
|
191
268
|
#
|
192
|
-
# @return [Google::Apis::RunV1alpha1::
|
269
|
+
# @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
|
193
270
|
#
|
194
271
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
195
272
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
196
273
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
197
|
-
def
|
198
|
-
command = make_simple_command(:post, 'apis/
|
199
|
-
command.request_representation = Google::Apis::RunV1alpha1::
|
200
|
-
command.request_object =
|
201
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
202
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
274
|
+
def create_namespace_cloudpubsubsource(parent, cloud_pub_sub_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
275
|
+
command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudpubsubsources', options)
|
276
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
|
277
|
+
command.request_object = cloud_pub_sub_source_object
|
278
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
|
279
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
|
203
280
|
command.params['parent'] = parent unless parent.nil?
|
204
281
|
command.query['fields'] = fields unless fields.nil?
|
205
282
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
206
283
|
execute_or_queue_command(command, &block)
|
207
284
|
end
|
208
285
|
|
209
|
-
# Rpc to delete a
|
286
|
+
# Rpc to delete a cloudpubsubsource.
|
210
287
|
# @param [String] name
|
211
|
-
# The name of the
|
288
|
+
# The name of the cloudpubsubsource being deleted. If needed, replace
|
212
289
|
# `namespace_id` with the project ID.
|
213
290
|
# @param [String] api_version
|
214
291
|
# Cloud Run currently ignores this parameter.
|
215
292
|
# @param [String] kind
|
216
293
|
# Cloud Run currently ignores this parameter.
|
217
|
-
# @param [Boolean] orphan_dependents
|
218
|
-
# Deprecated.
|
219
|
-
# Specifies the cascade behavior on delete.
|
220
|
-
# Cloud Run only supports cascading behavior, so this must be false.
|
221
|
-
# This attribute is deprecated, and is now replaced with PropagationPolicy
|
222
|
-
# See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
|
223
294
|
# @param [String] propagation_policy
|
224
295
|
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
225
296
|
# this setting, and deletes in the background. Please see
|
@@ -242,23 +313,22 @@ module Google
|
|
242
313
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
243
314
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
244
315
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
245
|
-
def
|
246
|
-
command = make_simple_command(:delete, 'apis/
|
316
|
+
def delete_namespace_cloudpubsubsource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
317
|
+
command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
247
318
|
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
248
319
|
command.response_class = Google::Apis::RunV1alpha1::Empty
|
249
320
|
command.params['name'] = name unless name.nil?
|
250
321
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
251
322
|
command.query['kind'] = kind unless kind.nil?
|
252
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
253
323
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
254
324
|
command.query['fields'] = fields unless fields.nil?
|
255
325
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
256
326
|
execute_or_queue_command(command, &block)
|
257
327
|
end
|
258
328
|
|
259
|
-
# Rpc to get information about a
|
329
|
+
# Rpc to get information about a cloudpubsubsource.
|
260
330
|
# @param [String] name
|
261
|
-
# The name of the
|
331
|
+
# The name of the cloudpubsubsource being retrieved. If needed, replace
|
262
332
|
# `namespace_id` with the project ID.
|
263
333
|
# @param [String] fields
|
264
334
|
# Selector specifying which fields to include in a partial response.
|
@@ -269,28 +339,28 @@ module Google
|
|
269
339
|
# Request-specific options
|
270
340
|
#
|
271
341
|
# @yield [result, err] Result & error if block supplied
|
272
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
342
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
|
273
343
|
# @yieldparam err [StandardError] error object if request failed
|
274
344
|
#
|
275
|
-
# @return [Google::Apis::RunV1alpha1::
|
345
|
+
# @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
|
276
346
|
#
|
277
347
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
278
348
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
279
349
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
280
|
-
def
|
281
|
-
command = make_simple_command(:get, 'apis/
|
282
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
283
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
350
|
+
def get_namespace_cloudpubsubsource(name, fields: nil, quota_user: nil, options: nil, &block)
|
351
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
352
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
|
353
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
|
284
354
|
command.params['name'] = name unless name.nil?
|
285
355
|
command.query['fields'] = fields unless fields.nil?
|
286
356
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
287
357
|
execute_or_queue_command(command, &block)
|
288
358
|
end
|
289
359
|
|
290
|
-
# Rpc to list
|
360
|
+
# Rpc to list cloudpubsubsources.
|
291
361
|
# @param [String] parent
|
292
|
-
# The project ID or project number from which the
|
293
|
-
# listed.
|
362
|
+
# The project ID or project number from which the cloudpubsubsources should
|
363
|
+
# be listed.
|
294
364
|
# @param [String] continue
|
295
365
|
# Optional encoded string to continue paging.
|
296
366
|
# @param [String] field_selector
|
@@ -319,18 +389,18 @@ module Google
|
|
319
389
|
# Request-specific options
|
320
390
|
#
|
321
391
|
# @yield [result, err] Result & error if block supplied
|
322
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
392
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object
|
323
393
|
# @yieldparam err [StandardError] error object if request failed
|
324
394
|
#
|
325
|
-
# @return [Google::Apis::RunV1alpha1::
|
395
|
+
# @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse]
|
326
396
|
#
|
327
397
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
328
398
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
329
399
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
330
|
-
def
|
331
|
-
command = make_simple_command(:get, 'apis/
|
332
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
333
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
400
|
+
def list_namespace_cloudpubsubsources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
401
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudpubsubsources', options)
|
402
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse::Representation
|
403
|
+
command.response_class = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse
|
334
404
|
command.params['parent'] = parent unless parent.nil?
|
335
405
|
command.query['continue'] = continue unless continue.nil?
|
336
406
|
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
@@ -344,60 +414,12 @@ module Google
|
|
344
414
|
execute_or_queue_command(command, &block)
|
345
415
|
end
|
346
416
|
|
347
|
-
#
|
348
|
-
# @param [String] name
|
349
|
-
# The name of the trigger being retrieved. If needed, replace
|
350
|
-
# `namespace_id` with the project ID.
|
351
|
-
# @param [String] fields
|
352
|
-
# Selector specifying which fields to include in a partial response.
|
353
|
-
# @param [String] quota_user
|
354
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
355
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
356
|
-
# @param [Google::Apis::RequestOptions] options
|
357
|
-
# Request-specific options
|
358
|
-
#
|
359
|
-
# @yield [result, err] Result & error if block supplied
|
360
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::EventType] parsed result object
|
361
|
-
# @yieldparam err [StandardError] error object if request failed
|
362
|
-
#
|
363
|
-
# @return [Google::Apis::RunV1alpha1::EventType]
|
364
|
-
#
|
365
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
366
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
367
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
368
|
-
def get_namespace_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
|
369
|
-
command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
|
370
|
-
command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation
|
371
|
-
command.response_class = Google::Apis::RunV1alpha1::EventType
|
372
|
-
command.params['name'] = name unless name.nil?
|
373
|
-
command.query['fields'] = fields unless fields.nil?
|
374
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
375
|
-
execute_or_queue_command(command, &block)
|
376
|
-
end
|
377
|
-
|
378
|
-
# Rpc to list EventTypes.
|
417
|
+
# Creates a new cloudschedulersource.
|
379
418
|
# @param [String] parent
|
380
|
-
# The project ID or project number
|
381
|
-
#
|
382
|
-
#
|
383
|
-
#
|
384
|
-
# @param [String] field_selector
|
385
|
-
# Allows to filter resources based on a specific value for a field name.
|
386
|
-
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
387
|
-
# Not currently used by Cloud Run.
|
388
|
-
# @param [Boolean] include_uninitialized
|
389
|
-
# Not currently used by Cloud Run.
|
390
|
-
# @param [String] label_selector
|
391
|
-
# Allows to filter resources based on a label. Supported operations are
|
392
|
-
# =, !=, exists, in, and notIn.
|
393
|
-
# @param [Fixnum] limit
|
394
|
-
# The maximum number of records that should be returned.
|
395
|
-
# @param [String] resource_version
|
396
|
-
# The baseline resource version from which the list or watch operation should
|
397
|
-
# start. Not currently used by Cloud Run.
|
398
|
-
# @param [Boolean] watch
|
399
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
400
|
-
# Not currently used by Cloud Run.
|
419
|
+
# Required. The project ID or project number in which this cloudschedulersource
|
420
|
+
# should
|
421
|
+
# be created.
|
422
|
+
# @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object
|
401
423
|
# @param [String] fields
|
402
424
|
# Selector specifying which fields to include in a partial response.
|
403
425
|
# @param [String] quota_user
|
@@ -407,45 +429,35 @@ module Google
|
|
407
429
|
# Request-specific options
|
408
430
|
#
|
409
431
|
# @yield [result, err] Result & error if block supplied
|
410
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
432
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
|
411
433
|
# @yieldparam err [StandardError] error object if request failed
|
412
434
|
#
|
413
|
-
# @return [Google::Apis::RunV1alpha1::
|
435
|
+
# @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
|
414
436
|
#
|
415
437
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
416
438
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
417
439
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
418
|
-
def
|
419
|
-
command = make_simple_command(:
|
420
|
-
command.
|
421
|
-
command.
|
440
|
+
def create_namespace_cloudschedulersource(parent, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
441
|
+
command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudschedulersources', options)
|
442
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
443
|
+
command.request_object = cloud_scheduler_source_object
|
444
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
445
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
|
422
446
|
command.params['parent'] = parent unless parent.nil?
|
423
|
-
command.query['continue'] = continue unless continue.nil?
|
424
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
425
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
426
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
427
|
-
command.query['limit'] = limit unless limit.nil?
|
428
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
429
|
-
command.query['watch'] = watch unless watch.nil?
|
430
447
|
command.query['fields'] = fields unless fields.nil?
|
431
448
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
432
449
|
execute_or_queue_command(command, &block)
|
433
450
|
end
|
434
451
|
|
435
|
-
# Rpc to delete a
|
452
|
+
# Rpc to delete a cloudschedulersource.
|
436
453
|
# @param [String] name
|
437
|
-
# The name of the
|
454
|
+
# Required. The name of the cloudschedulersource being deleted. If needed,
|
455
|
+
# replace
|
438
456
|
# `namespace_id` with the project ID.
|
439
457
|
# @param [String] api_version
|
440
458
|
# Cloud Run currently ignores this parameter.
|
441
459
|
# @param [String] kind
|
442
460
|
# Cloud Run currently ignores this parameter.
|
443
|
-
# @param [Boolean] orphan_dependents
|
444
|
-
# Deprecated.
|
445
|
-
# Specifies the cascade behavior on delete.
|
446
|
-
# Cloud Run only supports cascading behavior, so this must be false.
|
447
|
-
# This attribute is deprecated, and is now replaced with PropagationPolicy
|
448
|
-
# See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
|
449
461
|
# @param [String] propagation_policy
|
450
462
|
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
451
463
|
# this setting, and deletes in the background. Please see
|
@@ -468,23 +480,23 @@ module Google
|
|
468
480
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
469
481
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
470
482
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
471
|
-
def
|
472
|
-
command = make_simple_command(:delete, 'apis/
|
483
|
+
def delete_namespace_cloudschedulersource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
484
|
+
command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
473
485
|
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
474
486
|
command.response_class = Google::Apis::RunV1alpha1::Empty
|
475
487
|
command.params['name'] = name unless name.nil?
|
476
488
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
477
489
|
command.query['kind'] = kind unless kind.nil?
|
478
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
479
490
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
480
491
|
command.query['fields'] = fields unless fields.nil?
|
481
492
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
482
493
|
execute_or_queue_command(command, &block)
|
483
494
|
end
|
484
495
|
|
485
|
-
# Rpc to get information about a
|
496
|
+
# Rpc to get information about a cloudschedulersource.
|
486
497
|
# @param [String] name
|
487
|
-
# The name of the
|
498
|
+
# Required. The name of the cloudschedulersource being retrieved. If needed,
|
499
|
+
# replace
|
488
500
|
# `namespace_id` with the project ID.
|
489
501
|
# @param [String] fields
|
490
502
|
# Selector specifying which fields to include in a partial response.
|
@@ -495,27 +507,29 @@ module Google
|
|
495
507
|
# Request-specific options
|
496
508
|
#
|
497
509
|
# @yield [result, err] Result & error if block supplied
|
498
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
510
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
|
499
511
|
# @yieldparam err [StandardError] error object if request failed
|
500
512
|
#
|
501
|
-
# @return [Google::Apis::RunV1alpha1::
|
513
|
+
# @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
|
502
514
|
#
|
503
515
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
504
516
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
505
517
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
506
|
-
def
|
507
|
-
command = make_simple_command(:get, 'apis/
|
508
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
509
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
518
|
+
def get_namespace_cloudschedulersource(name, fields: nil, quota_user: nil, options: nil, &block)
|
519
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
520
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
521
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
|
510
522
|
command.params['name'] = name unless name.nil?
|
511
523
|
command.query['fields'] = fields unless fields.nil?
|
512
524
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
513
525
|
execute_or_queue_command(command, &block)
|
514
526
|
end
|
515
527
|
|
516
|
-
# Rpc to list
|
528
|
+
# Rpc to list cloudschedulersources.
|
517
529
|
# @param [String] parent
|
518
|
-
# The project ID or project number from which the
|
530
|
+
# Required. The project ID or project number from which the
|
531
|
+
# cloudschedulersources
|
532
|
+
# should be listed.
|
519
533
|
# @param [String] continue
|
520
534
|
# Optional encoded string to continue paging.
|
521
535
|
# @param [String] field_selector
|
@@ -544,18 +558,18 @@ module Google
|
|
544
558
|
# Request-specific options
|
545
559
|
#
|
546
560
|
# @yield [result, err] Result & error if block supplied
|
547
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
561
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse] parsed result object
|
548
562
|
# @yieldparam err [StandardError] error object if request failed
|
549
563
|
#
|
550
|
-
# @return [Google::Apis::RunV1alpha1::
|
564
|
+
# @return [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse]
|
551
565
|
#
|
552
566
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
553
567
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
554
568
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
555
|
-
def
|
556
|
-
command = make_simple_command(:get, 'apis/
|
557
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
558
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
569
|
+
def list_namespace_cloudschedulersources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
570
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudschedulersources', options)
|
571
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse::Representation
|
572
|
+
command.response_class = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse
|
559
573
|
command.params['parent'] = parent unless parent.nil?
|
560
574
|
command.query['continue'] = continue unless continue.nil?
|
561
575
|
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
@@ -569,10 +583,17 @@ module Google
|
|
569
583
|
execute_or_queue_command(command, &block)
|
570
584
|
end
|
571
585
|
|
572
|
-
# Rpc to
|
586
|
+
# Rpc to replace a cloudschedulersource.
|
587
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
588
|
+
# the Update request, Cloud Run will work to make the 'status'
|
589
|
+
# match the requested 'spec'.
|
590
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
591
|
+
# optimistic concurrency control.
|
573
592
|
# @param [String] name
|
574
|
-
# The name of the
|
593
|
+
# Required. The name of the cloudschedulersource being retrieved. If needed,
|
594
|
+
# replace
|
575
595
|
# `namespace_id` with the project ID.
|
596
|
+
# @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object
|
576
597
|
# @param [String] fields
|
577
598
|
# Selector specifying which fields to include in a partial response.
|
578
599
|
# @param [String] quota_user
|
@@ -582,46 +603,32 @@ module Google
|
|
582
603
|
# Request-specific options
|
583
604
|
#
|
584
605
|
# @yield [result, err] Result & error if block supplied
|
585
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
606
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
|
586
607
|
# @yieldparam err [StandardError] error object if request failed
|
587
608
|
#
|
588
|
-
# @return [Google::Apis::RunV1alpha1::
|
609
|
+
# @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
|
589
610
|
#
|
590
611
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
591
612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
592
613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
593
|
-
def
|
594
|
-
command = make_simple_command(:
|
595
|
-
command.
|
596
|
-
command.
|
614
|
+
def replace_namespace_cloudschedulersource_cloud_scheduler_source(name, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
615
|
+
command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
616
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
617
|
+
command.request_object = cloud_scheduler_source_object
|
618
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
619
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
|
597
620
|
command.params['name'] = name unless name.nil?
|
598
621
|
command.query['fields'] = fields unless fields.nil?
|
599
622
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
600
623
|
execute_or_queue_command(command, &block)
|
601
624
|
end
|
602
625
|
|
603
|
-
#
|
626
|
+
# Creates a new cloudstoragesource.
|
604
627
|
# @param [String] parent
|
605
|
-
# The project ID or project number
|
606
|
-
#
|
607
|
-
#
|
608
|
-
# @param [
|
609
|
-
# Allows to filter resources based on a specific value for a field name.
|
610
|
-
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
611
|
-
# Not currently used by Cloud Run.
|
612
|
-
# @param [Boolean] include_uninitialized
|
613
|
-
# Not currently used by Cloud Run.
|
614
|
-
# @param [String] label_selector
|
615
|
-
# Allows to filter resources based on a label. Supported operations are
|
616
|
-
# =, !=, exists, in, and notIn.
|
617
|
-
# @param [Fixnum] limit
|
618
|
-
# The maximum number of records that should be returned.
|
619
|
-
# @param [String] resource_version
|
620
|
-
# The baseline resource version from which the list or watch operation should
|
621
|
-
# start. Not currently used by Cloud Run.
|
622
|
-
# @param [Boolean] watch
|
623
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
624
|
-
# Not currently used by Cloud Run.
|
628
|
+
# Required. The project ID or project number in which this cloudstoragesource
|
629
|
+
# should
|
630
|
+
# be created.
|
631
|
+
# @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object
|
625
632
|
# @param [String] fields
|
626
633
|
# Selector specifying which fields to include in a partial response.
|
627
634
|
# @param [String] quota_user
|
@@ -631,80 +638,1341 @@ module Google
|
|
631
638
|
# Request-specific options
|
632
639
|
#
|
633
640
|
# @yield [result, err] Result & error if block supplied
|
634
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
641
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
|
635
642
|
# @yieldparam err [StandardError] error object if request failed
|
636
643
|
#
|
637
|
-
# @return [Google::Apis::RunV1alpha1::
|
644
|
+
# @return [Google::Apis::RunV1alpha1::CloudStorageSource]
|
638
645
|
#
|
639
646
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
640
647
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
641
648
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
642
|
-
def
|
643
|
-
command = make_simple_command(:
|
644
|
-
command.
|
645
|
-
command.
|
649
|
+
def create_namespace_cloudstoragesource(parent, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
650
|
+
command = make_simple_command(:post, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudstoragesources', options)
|
651
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
652
|
+
command.request_object = cloud_storage_source_object
|
653
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
654
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
|
646
655
|
command.params['parent'] = parent unless parent.nil?
|
647
|
-
command.query['continue'] = continue unless continue.nil?
|
648
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
649
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
650
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
651
|
-
command.query['limit'] = limit unless limit.nil?
|
652
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
653
|
-
command.query['watch'] = watch unless watch.nil?
|
654
656
|
command.query['fields'] = fields unless fields.nil?
|
655
657
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
656
658
|
execute_or_queue_command(command, &block)
|
657
659
|
end
|
658
660
|
|
659
|
-
# Rpc to
|
660
|
-
# @param [String]
|
661
|
-
# The
|
662
|
-
#
|
663
|
-
# @param [String]
|
664
|
-
#
|
665
|
-
# @param [String]
|
661
|
+
# Rpc to delete a cloudstoragesource.
|
662
|
+
# @param [String] name
|
663
|
+
# Required. The name of the cloudstoragesource being deleted. If needed, replace
|
664
|
+
# `namespace_id` with the project ID.
|
665
|
+
# @param [String] api_version
|
666
|
+
# Cloud Run currently ignores this parameter.
|
667
|
+
# @param [String] kind
|
668
|
+
# Cloud Run currently ignores this parameter.
|
669
|
+
# @param [String] propagation_policy
|
670
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
671
|
+
# this setting, and deletes in the background. Please see
|
672
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
673
|
+
# more information.
|
674
|
+
# @param [String] fields
|
675
|
+
# Selector specifying which fields to include in a partial response.
|
676
|
+
# @param [String] quota_user
|
677
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
678
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
679
|
+
# @param [Google::Apis::RequestOptions] options
|
680
|
+
# Request-specific options
|
681
|
+
#
|
682
|
+
# @yield [result, err] Result & error if block supplied
|
683
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
684
|
+
# @yieldparam err [StandardError] error object if request failed
|
685
|
+
#
|
686
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
687
|
+
#
|
688
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
689
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
690
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
691
|
+
def delete_namespace_cloudstoragesource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
692
|
+
command = make_simple_command(:delete, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
693
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
694
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
695
|
+
command.params['name'] = name unless name.nil?
|
696
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
697
|
+
command.query['kind'] = kind unless kind.nil?
|
698
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
699
|
+
command.query['fields'] = fields unless fields.nil?
|
700
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
701
|
+
execute_or_queue_command(command, &block)
|
702
|
+
end
|
703
|
+
|
704
|
+
# Rpc to get information about a cloudstoragesource.
|
705
|
+
# @param [String] name
|
706
|
+
# Required. The name of the cloudstoragesource being retrieved. If needed,
|
707
|
+
# replace
|
708
|
+
# `namespace_id` with the project ID.
|
709
|
+
# @param [String] fields
|
710
|
+
# Selector specifying which fields to include in a partial response.
|
711
|
+
# @param [String] quota_user
|
712
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
713
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
714
|
+
# @param [Google::Apis::RequestOptions] options
|
715
|
+
# Request-specific options
|
716
|
+
#
|
717
|
+
# @yield [result, err] Result & error if block supplied
|
718
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
|
719
|
+
# @yieldparam err [StandardError] error object if request failed
|
720
|
+
#
|
721
|
+
# @return [Google::Apis::RunV1alpha1::CloudStorageSource]
|
722
|
+
#
|
723
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
724
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
725
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
726
|
+
def get_namespace_cloudstoragesource(name, fields: nil, quota_user: nil, options: nil, &block)
|
727
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
728
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
729
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
|
730
|
+
command.params['name'] = name unless name.nil?
|
731
|
+
command.query['fields'] = fields unless fields.nil?
|
732
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
733
|
+
execute_or_queue_command(command, &block)
|
734
|
+
end
|
735
|
+
|
736
|
+
# Rpc to list cloudstoragesources.
|
737
|
+
# @param [String] parent
|
738
|
+
# Required. The project ID or project number from which the cloudstoragesources
|
739
|
+
# should
|
740
|
+
# be listed.
|
741
|
+
# @param [String] continue
|
742
|
+
# Optional encoded string to continue paging.
|
743
|
+
# @param [String] field_selector
|
744
|
+
# Allows to filter resources based on a specific value for a field name.
|
745
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
746
|
+
# Not currently used by Cloud Run.
|
747
|
+
# @param [Boolean] include_uninitialized
|
748
|
+
# Not currently used by Cloud Run.
|
749
|
+
# @param [String] label_selector
|
750
|
+
# Allows to filter resources based on a label. Supported operations are
|
751
|
+
# =, !=, exists, in, and notIn.
|
752
|
+
# @param [Fixnum] limit
|
753
|
+
# The maximum number of records that should be returned.
|
754
|
+
# @param [String] resource_version
|
755
|
+
# The baseline resource version from which the list or watch operation should
|
756
|
+
# start. Not currently used by Cloud Run.
|
757
|
+
# @param [Boolean] watch
|
758
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
759
|
+
# Not currently used by Cloud Run.
|
760
|
+
# @param [String] fields
|
761
|
+
# Selector specifying which fields to include in a partial response.
|
762
|
+
# @param [String] quota_user
|
763
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
764
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
765
|
+
# @param [Google::Apis::RequestOptions] options
|
766
|
+
# Request-specific options
|
767
|
+
#
|
768
|
+
# @yield [result, err] Result & error if block supplied
|
769
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse] parsed result object
|
770
|
+
# @yieldparam err [StandardError] error object if request failed
|
771
|
+
#
|
772
|
+
# @return [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse]
|
773
|
+
#
|
774
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
775
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
776
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
777
|
+
def list_namespace_cloudstoragesources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
778
|
+
command = make_simple_command(:get, 'apis/events.cloud.google.com/v1alpha1/{+parent}/cloudstoragesources', options)
|
779
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse::Representation
|
780
|
+
command.response_class = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse
|
781
|
+
command.params['parent'] = parent unless parent.nil?
|
782
|
+
command.query['continue'] = continue unless continue.nil?
|
783
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
784
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
785
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
786
|
+
command.query['limit'] = limit unless limit.nil?
|
787
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
788
|
+
command.query['watch'] = watch unless watch.nil?
|
789
|
+
command.query['fields'] = fields unless fields.nil?
|
790
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
791
|
+
execute_or_queue_command(command, &block)
|
792
|
+
end
|
793
|
+
|
794
|
+
# Rpc to replace a cloudstoragesource.
|
795
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
796
|
+
# the Update request, Cloud Run will work to make the 'status'
|
797
|
+
# match the requested 'spec'.
|
798
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
799
|
+
# optimistic concurrency control.
|
800
|
+
# @param [String] name
|
801
|
+
# Required. The name of the cloudstoragesource being retrieved. If needed,
|
802
|
+
# replace
|
803
|
+
# `namespace_id` with the project ID.
|
804
|
+
# @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object
|
805
|
+
# @param [String] fields
|
806
|
+
# Selector specifying which fields to include in a partial response.
|
807
|
+
# @param [String] quota_user
|
808
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
809
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
810
|
+
# @param [Google::Apis::RequestOptions] options
|
811
|
+
# Request-specific options
|
812
|
+
#
|
813
|
+
# @yield [result, err] Result & error if block supplied
|
814
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
|
815
|
+
# @yieldparam err [StandardError] error object if request failed
|
816
|
+
#
|
817
|
+
# @return [Google::Apis::RunV1alpha1::CloudStorageSource]
|
818
|
+
#
|
819
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
820
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
821
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
822
|
+
def replace_namespace_cloudstoragesource_cloud_storage_source(name, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
823
|
+
command = make_simple_command(:put, 'apis/events.cloud.google.com/v1alpha1/{+name}', options)
|
824
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
825
|
+
command.request_object = cloud_storage_source_object
|
826
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
827
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
|
828
|
+
command.params['name'] = name unless name.nil?
|
829
|
+
command.query['fields'] = fields unless fields.nil?
|
830
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
831
|
+
execute_or_queue_command(command, &block)
|
832
|
+
end
|
833
|
+
|
834
|
+
# Rpc to get information about a configuration.
|
835
|
+
# @param [String] name
|
836
|
+
# The name of the configuration being retrieved. If needed, replace
|
837
|
+
# `namespace_id` with the project ID.
|
838
|
+
# @param [String] fields
|
839
|
+
# Selector specifying which fields to include in a partial response.
|
840
|
+
# @param [String] quota_user
|
841
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
842
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
843
|
+
# @param [Google::Apis::RequestOptions] options
|
844
|
+
# Request-specific options
|
845
|
+
#
|
846
|
+
# @yield [result, err] Result & error if block supplied
|
847
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Configuration] parsed result object
|
848
|
+
# @yieldparam err [StandardError] error object if request failed
|
849
|
+
#
|
850
|
+
# @return [Google::Apis::RunV1alpha1::Configuration]
|
851
|
+
#
|
852
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
853
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
854
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
855
|
+
def get_namespace_configuration(name, fields: nil, quota_user: nil, options: nil, &block)
|
856
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
857
|
+
command.response_representation = Google::Apis::RunV1alpha1::Configuration::Representation
|
858
|
+
command.response_class = Google::Apis::RunV1alpha1::Configuration
|
859
|
+
command.params['name'] = name unless name.nil?
|
860
|
+
command.query['fields'] = fields unless fields.nil?
|
861
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
862
|
+
execute_or_queue_command(command, &block)
|
863
|
+
end
|
864
|
+
|
865
|
+
# Rpc to list configurations.
|
866
|
+
# @param [String] parent
|
867
|
+
# The project ID or project number from which the configurations should be
|
868
|
+
# listed.
|
869
|
+
# @param [String] continue
|
870
|
+
# Optional encoded string to continue paging.
|
871
|
+
# @param [String] field_selector
|
872
|
+
# Allows to filter resources based on a specific value for a field name.
|
873
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
874
|
+
# Not currently used by Cloud Run.
|
875
|
+
# @param [Boolean] include_uninitialized
|
876
|
+
# Not currently used by Cloud Run.
|
877
|
+
# @param [String] label_selector
|
878
|
+
# Allows to filter resources based on a label. Supported operations are
|
879
|
+
# =, !=, exists, in, and notIn.
|
880
|
+
# @param [Fixnum] limit
|
881
|
+
# The maximum number of records that should be returned.
|
882
|
+
# @param [String] resource_version
|
883
|
+
# The baseline resource version from which the list or watch operation should
|
884
|
+
# start. Not currently used by Cloud Run.
|
885
|
+
# @param [Boolean] watch
|
886
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
887
|
+
# Not currently used by Cloud Run.
|
888
|
+
# @param [String] fields
|
889
|
+
# Selector specifying which fields to include in a partial response.
|
890
|
+
# @param [String] quota_user
|
891
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
892
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
893
|
+
# @param [Google::Apis::RequestOptions] options
|
894
|
+
# Request-specific options
|
895
|
+
#
|
896
|
+
# @yield [result, err] Result & error if block supplied
|
897
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListConfigurationsResponse] parsed result object
|
898
|
+
# @yieldparam err [StandardError] error object if request failed
|
899
|
+
#
|
900
|
+
# @return [Google::Apis::RunV1alpha1::ListConfigurationsResponse]
|
901
|
+
#
|
902
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
903
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
904
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
905
|
+
def list_namespace_configurations(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
906
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/configurations', options)
|
907
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListConfigurationsResponse::Representation
|
908
|
+
command.response_class = Google::Apis::RunV1alpha1::ListConfigurationsResponse
|
909
|
+
command.params['parent'] = parent unless parent.nil?
|
910
|
+
command.query['continue'] = continue unless continue.nil?
|
911
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
912
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
913
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
914
|
+
command.query['limit'] = limit unless limit.nil?
|
915
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
916
|
+
command.query['watch'] = watch unless watch.nil?
|
917
|
+
command.query['fields'] = fields unless fields.nil?
|
918
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
919
|
+
execute_or_queue_command(command, &block)
|
920
|
+
end
|
921
|
+
|
922
|
+
# Creates a new domain mapping.
|
923
|
+
# @param [String] parent
|
924
|
+
# The project ID or project number in which this domain mapping should be
|
925
|
+
# created.
|
926
|
+
# @param [Google::Apis::RunV1alpha1::DomainMapping] domain_mapping_object
|
927
|
+
# @param [String] fields
|
928
|
+
# Selector specifying which fields to include in a partial response.
|
929
|
+
# @param [String] quota_user
|
930
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
931
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
932
|
+
# @param [Google::Apis::RequestOptions] options
|
933
|
+
# Request-specific options
|
934
|
+
#
|
935
|
+
# @yield [result, err] Result & error if block supplied
|
936
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
|
937
|
+
# @yieldparam err [StandardError] error object if request failed
|
938
|
+
#
|
939
|
+
# @return [Google::Apis::RunV1alpha1::DomainMapping]
|
940
|
+
#
|
941
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
942
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
943
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
944
|
+
def create_namespace_domainmapping(parent, domain_mapping_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
945
|
+
command = make_simple_command(:post, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
|
946
|
+
command.request_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
947
|
+
command.request_object = domain_mapping_object
|
948
|
+
command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
949
|
+
command.response_class = Google::Apis::RunV1alpha1::DomainMapping
|
950
|
+
command.params['parent'] = parent unless parent.nil?
|
951
|
+
command.query['fields'] = fields unless fields.nil?
|
952
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
953
|
+
execute_or_queue_command(command, &block)
|
954
|
+
end
|
955
|
+
|
956
|
+
# Rpc to delete a domain mapping.
|
957
|
+
# @param [String] name
|
958
|
+
# The name of the domain mapping being deleted. If needed, replace
|
959
|
+
# `namespace_id` with the project ID.
|
960
|
+
# @param [String] api_version
|
961
|
+
# Cloud Run currently ignores this parameter.
|
962
|
+
# @param [String] kind
|
963
|
+
# Cloud Run currently ignores this parameter.
|
964
|
+
# @param [Boolean] orphan_dependents
|
965
|
+
# Deprecated.
|
966
|
+
# Specifies the cascade behavior on delete.
|
967
|
+
# Cloud Run only supports cascading behavior, so this must be false.
|
968
|
+
# This attribute is deprecated, and is now replaced with PropagationPolicy
|
969
|
+
# See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
|
970
|
+
# @param [String] propagation_policy
|
971
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
972
|
+
# this setting, and deletes in the background. Please see
|
973
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
974
|
+
# more information.
|
975
|
+
# @param [String] fields
|
976
|
+
# Selector specifying which fields to include in a partial response.
|
977
|
+
# @param [String] quota_user
|
978
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
979
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
980
|
+
# @param [Google::Apis::RequestOptions] options
|
981
|
+
# Request-specific options
|
982
|
+
#
|
983
|
+
# @yield [result, err] Result & error if block supplied
|
984
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
985
|
+
# @yieldparam err [StandardError] error object if request failed
|
986
|
+
#
|
987
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
988
|
+
#
|
989
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
990
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
991
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
992
|
+
def delete_namespace_domainmapping(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
993
|
+
command = make_simple_command(:delete, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
|
994
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
995
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
996
|
+
command.params['name'] = name unless name.nil?
|
997
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
998
|
+
command.query['kind'] = kind unless kind.nil?
|
999
|
+
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
1000
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1001
|
+
command.query['fields'] = fields unless fields.nil?
|
1002
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1003
|
+
execute_or_queue_command(command, &block)
|
1004
|
+
end
|
1005
|
+
|
1006
|
+
# Rpc to get information about a domain mapping.
|
1007
|
+
# @param [String] name
|
1008
|
+
# The name of the domain mapping being retrieved. If needed, replace
|
1009
|
+
# `namespace_id` with the project ID.
|
1010
|
+
# @param [String] fields
|
1011
|
+
# Selector specifying which fields to include in a partial response.
|
1012
|
+
# @param [String] quota_user
|
1013
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1014
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1015
|
+
# @param [Google::Apis::RequestOptions] options
|
1016
|
+
# Request-specific options
|
1017
|
+
#
|
1018
|
+
# @yield [result, err] Result & error if block supplied
|
1019
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::DomainMapping] parsed result object
|
1020
|
+
# @yieldparam err [StandardError] error object if request failed
|
1021
|
+
#
|
1022
|
+
# @return [Google::Apis::RunV1alpha1::DomainMapping]
|
1023
|
+
#
|
1024
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1025
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1026
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1027
|
+
def get_namespace_domainmapping(name, fields: nil, quota_user: nil, options: nil, &block)
|
1028
|
+
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+name}', options)
|
1029
|
+
command.response_representation = Google::Apis::RunV1alpha1::DomainMapping::Representation
|
1030
|
+
command.response_class = Google::Apis::RunV1alpha1::DomainMapping
|
1031
|
+
command.params['name'] = name unless name.nil?
|
1032
|
+
command.query['fields'] = fields unless fields.nil?
|
1033
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1034
|
+
execute_or_queue_command(command, &block)
|
1035
|
+
end
|
1036
|
+
|
1037
|
+
# Rpc to list domain mappings.
|
1038
|
+
# @param [String] parent
|
1039
|
+
# The project ID or project number from which the domain mappings should be
|
1040
|
+
# listed.
|
1041
|
+
# @param [String] continue
|
1042
|
+
# Optional encoded string to continue paging.
|
1043
|
+
# @param [String] field_selector
|
1044
|
+
# Allows to filter resources based on a specific value for a field name.
|
1045
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
1046
|
+
# Not currently used by Cloud Run.
|
1047
|
+
# @param [Boolean] include_uninitialized
|
1048
|
+
# Not currently used by Cloud Run.
|
1049
|
+
# @param [String] label_selector
|
1050
|
+
# Allows to filter resources based on a label. Supported operations are
|
1051
|
+
# =, !=, exists, in, and notIn.
|
1052
|
+
# @param [Fixnum] limit
|
1053
|
+
# The maximum number of records that should be returned.
|
1054
|
+
# @param [String] resource_version
|
1055
|
+
# The baseline resource version from which the list or watch operation should
|
1056
|
+
# start. Not currently used by Cloud Run.
|
1057
|
+
# @param [Boolean] watch
|
1058
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
1059
|
+
# Not currently used by Cloud Run.
|
1060
|
+
# @param [String] fields
|
1061
|
+
# Selector specifying which fields to include in a partial response.
|
1062
|
+
# @param [String] quota_user
|
1063
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1064
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1065
|
+
# @param [Google::Apis::RequestOptions] options
|
1066
|
+
# Request-specific options
|
1067
|
+
#
|
1068
|
+
# @yield [result, err] Result & error if block supplied
|
1069
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListDomainMappingsResponse] parsed result object
|
1070
|
+
# @yieldparam err [StandardError] error object if request failed
|
1071
|
+
#
|
1072
|
+
# @return [Google::Apis::RunV1alpha1::ListDomainMappingsResponse]
|
1073
|
+
#
|
1074
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1075
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1076
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1077
|
+
def list_namespace_domainmappings(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1078
|
+
command = make_simple_command(:get, 'apis/domains.cloudrun.com/v1alpha1/{+parent}/domainmappings', options)
|
1079
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListDomainMappingsResponse::Representation
|
1080
|
+
command.response_class = Google::Apis::RunV1alpha1::ListDomainMappingsResponse
|
1081
|
+
command.params['parent'] = parent unless parent.nil?
|
1082
|
+
command.query['continue'] = continue unless continue.nil?
|
1083
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1084
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1085
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1086
|
+
command.query['limit'] = limit unless limit.nil?
|
1087
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1088
|
+
command.query['watch'] = watch unless watch.nil?
|
1089
|
+
command.query['fields'] = fields unless fields.nil?
|
1090
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1091
|
+
execute_or_queue_command(command, &block)
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
# Rpc to delete a revision.
|
1095
|
+
# @param [String] name
|
1096
|
+
# The name of the revision being deleted. If needed, replace
|
1097
|
+
# `namespace_id` with the project ID.
|
1098
|
+
# @param [String] api_version
|
1099
|
+
# Cloud Run currently ignores this parameter.
|
1100
|
+
# @param [String] kind
|
1101
|
+
# Cloud Run currently ignores this parameter.
|
1102
|
+
# @param [Boolean] orphan_dependents
|
1103
|
+
# Deprecated.
|
1104
|
+
# Specifies the cascade behavior on delete.
|
1105
|
+
# Cloud Run only supports cascading behavior, so this must be false.
|
1106
|
+
# This attribute is deprecated, and is now replaced with PropagationPolicy
|
1107
|
+
# See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
|
1108
|
+
# @param [String] propagation_policy
|
1109
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
1110
|
+
# this setting, and deletes in the background. Please see
|
1111
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
1112
|
+
# more information.
|
1113
|
+
# @param [String] fields
|
1114
|
+
# Selector specifying which fields to include in a partial response.
|
1115
|
+
# @param [String] quota_user
|
1116
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1117
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1118
|
+
# @param [Google::Apis::RequestOptions] options
|
1119
|
+
# Request-specific options
|
1120
|
+
#
|
1121
|
+
# @yield [result, err] Result & error if block supplied
|
1122
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
1123
|
+
# @yieldparam err [StandardError] error object if request failed
|
1124
|
+
#
|
1125
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
1126
|
+
#
|
1127
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1128
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1129
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1130
|
+
def delete_namespace_revision(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1131
|
+
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
1132
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
1133
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
1134
|
+
command.params['name'] = name unless name.nil?
|
1135
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
1136
|
+
command.query['kind'] = kind unless kind.nil?
|
1137
|
+
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
1138
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1139
|
+
command.query['fields'] = fields unless fields.nil?
|
1140
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1141
|
+
execute_or_queue_command(command, &block)
|
1142
|
+
end
|
1143
|
+
|
1144
|
+
# Rpc to get information about a revision.
|
1145
|
+
# @param [String] name
|
1146
|
+
# The name of the revision being retrieved. If needed, replace
|
1147
|
+
# `namespace_id` with the project ID.
|
1148
|
+
# @param [String] fields
|
1149
|
+
# Selector specifying which fields to include in a partial response.
|
1150
|
+
# @param [String] quota_user
|
1151
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1152
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1153
|
+
# @param [Google::Apis::RequestOptions] options
|
1154
|
+
# Request-specific options
|
1155
|
+
#
|
1156
|
+
# @yield [result, err] Result & error if block supplied
|
1157
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Revision] parsed result object
|
1158
|
+
# @yieldparam err [StandardError] error object if request failed
|
1159
|
+
#
|
1160
|
+
# @return [Google::Apis::RunV1alpha1::Revision]
|
1161
|
+
#
|
1162
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1163
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1164
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1165
|
+
def get_namespace_revision(name, fields: nil, quota_user: nil, options: nil, &block)
|
1166
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
1167
|
+
command.response_representation = Google::Apis::RunV1alpha1::Revision::Representation
|
1168
|
+
command.response_class = Google::Apis::RunV1alpha1::Revision
|
1169
|
+
command.params['name'] = name unless name.nil?
|
1170
|
+
command.query['fields'] = fields unless fields.nil?
|
1171
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1172
|
+
execute_or_queue_command(command, &block)
|
1173
|
+
end
|
1174
|
+
|
1175
|
+
# Rpc to list revisions.
|
1176
|
+
# @param [String] parent
|
1177
|
+
# The project ID or project number from which the revisions should be listed.
|
1178
|
+
# @param [String] continue
|
1179
|
+
# Optional encoded string to continue paging.
|
1180
|
+
# @param [String] field_selector
|
1181
|
+
# Allows to filter resources based on a specific value for a field name.
|
1182
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
1183
|
+
# Not currently used by Cloud Run.
|
1184
|
+
# @param [Boolean] include_uninitialized
|
1185
|
+
# Not currently used by Cloud Run.
|
1186
|
+
# @param [String] label_selector
|
1187
|
+
# Allows to filter resources based on a label. Supported operations are
|
1188
|
+
# =, !=, exists, in, and notIn.
|
1189
|
+
# @param [Fixnum] limit
|
1190
|
+
# The maximum number of records that should be returned.
|
1191
|
+
# @param [String] resource_version
|
1192
|
+
# The baseline resource version from which the list or watch operation should
|
1193
|
+
# start. Not currently used by Cloud Run.
|
1194
|
+
# @param [Boolean] watch
|
1195
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
1196
|
+
# Not currently used by Cloud Run.
|
1197
|
+
# @param [String] fields
|
1198
|
+
# Selector specifying which fields to include in a partial response.
|
1199
|
+
# @param [String] quota_user
|
1200
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1201
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1202
|
+
# @param [Google::Apis::RequestOptions] options
|
1203
|
+
# Request-specific options
|
1204
|
+
#
|
1205
|
+
# @yield [result, err] Result & error if block supplied
|
1206
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListRevisionsResponse] parsed result object
|
1207
|
+
# @yieldparam err [StandardError] error object if request failed
|
1208
|
+
#
|
1209
|
+
# @return [Google::Apis::RunV1alpha1::ListRevisionsResponse]
|
1210
|
+
#
|
1211
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1212
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1213
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1214
|
+
def list_namespace_revisions(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1215
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/revisions', options)
|
1216
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListRevisionsResponse::Representation
|
1217
|
+
command.response_class = Google::Apis::RunV1alpha1::ListRevisionsResponse
|
1218
|
+
command.params['parent'] = parent unless parent.nil?
|
1219
|
+
command.query['continue'] = continue unless continue.nil?
|
1220
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1221
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1222
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1223
|
+
command.query['limit'] = limit unless limit.nil?
|
1224
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1225
|
+
command.query['watch'] = watch unless watch.nil?
|
1226
|
+
command.query['fields'] = fields unless fields.nil?
|
1227
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1228
|
+
execute_or_queue_command(command, &block)
|
1229
|
+
end
|
1230
|
+
|
1231
|
+
# Rpc to get information about a route.
|
1232
|
+
# @param [String] name
|
1233
|
+
# The name of the route being retrieved. If needed, replace
|
1234
|
+
# `namespace_id` with the project ID.
|
1235
|
+
# @param [String] fields
|
1236
|
+
# Selector specifying which fields to include in a partial response.
|
1237
|
+
# @param [String] quota_user
|
1238
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1239
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1240
|
+
# @param [Google::Apis::RequestOptions] options
|
1241
|
+
# Request-specific options
|
1242
|
+
#
|
1243
|
+
# @yield [result, err] Result & error if block supplied
|
1244
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Route] parsed result object
|
1245
|
+
# @yieldparam err [StandardError] error object if request failed
|
1246
|
+
#
|
1247
|
+
# @return [Google::Apis::RunV1alpha1::Route]
|
1248
|
+
#
|
1249
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1250
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1251
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1252
|
+
def get_namespace_route(name, fields: nil, quota_user: nil, options: nil, &block)
|
1253
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
1254
|
+
command.response_representation = Google::Apis::RunV1alpha1::Route::Representation
|
1255
|
+
command.response_class = Google::Apis::RunV1alpha1::Route
|
1256
|
+
command.params['name'] = name unless name.nil?
|
1257
|
+
command.query['fields'] = fields unless fields.nil?
|
1258
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1259
|
+
execute_or_queue_command(command, &block)
|
1260
|
+
end
|
1261
|
+
|
1262
|
+
# Rpc to list routes.
|
1263
|
+
# @param [String] parent
|
1264
|
+
# The project ID or project number from which the routes should be listed.
|
1265
|
+
# @param [String] continue
|
1266
|
+
# Optional encoded string to continue paging.
|
1267
|
+
# @param [String] field_selector
|
1268
|
+
# Allows to filter resources based on a specific value for a field name.
|
1269
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
1270
|
+
# Not currently used by Cloud Run.
|
1271
|
+
# @param [Boolean] include_uninitialized
|
1272
|
+
# Not currently used by Cloud Run.
|
1273
|
+
# @param [String] label_selector
|
1274
|
+
# Allows to filter resources based on a label. Supported operations are
|
1275
|
+
# =, !=, exists, in, and notIn.
|
1276
|
+
# @param [Fixnum] limit
|
1277
|
+
# The maximum number of records that should be returned.
|
1278
|
+
# @param [String] resource_version
|
1279
|
+
# The baseline resource version from which the list or watch operation should
|
1280
|
+
# start. Not currently used by Cloud Run.
|
1281
|
+
# @param [Boolean] watch
|
1282
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
1283
|
+
# Not currently used by Cloud Run.
|
1284
|
+
# @param [String] fields
|
1285
|
+
# Selector specifying which fields to include in a partial response.
|
1286
|
+
# @param [String] quota_user
|
1287
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1288
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1289
|
+
# @param [Google::Apis::RequestOptions] options
|
1290
|
+
# Request-specific options
|
1291
|
+
#
|
1292
|
+
# @yield [result, err] Result & error if block supplied
|
1293
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListRoutesResponse] parsed result object
|
1294
|
+
# @yieldparam err [StandardError] error object if request failed
|
1295
|
+
#
|
1296
|
+
# @return [Google::Apis::RunV1alpha1::ListRoutesResponse]
|
1297
|
+
#
|
1298
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1299
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1300
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1301
|
+
def list_namespace_routes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1302
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/routes', options)
|
1303
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListRoutesResponse::Representation
|
1304
|
+
command.response_class = Google::Apis::RunV1alpha1::ListRoutesResponse
|
1305
|
+
command.params['parent'] = parent unless parent.nil?
|
1306
|
+
command.query['continue'] = continue unless continue.nil?
|
1307
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1308
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1309
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1310
|
+
command.query['limit'] = limit unless limit.nil?
|
1311
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1312
|
+
command.query['watch'] = watch unless watch.nil?
|
1313
|
+
command.query['fields'] = fields unless fields.nil?
|
1314
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1315
|
+
execute_or_queue_command(command, &block)
|
1316
|
+
end
|
1317
|
+
|
1318
|
+
# Rpc to create a service.
|
1319
|
+
# @param [String] parent
|
1320
|
+
# The project ID or project number in which this service should be created.
|
1321
|
+
# @param [Google::Apis::RunV1alpha1::Service] service_object
|
1322
|
+
# @param [String] fields
|
1323
|
+
# Selector specifying which fields to include in a partial response.
|
1324
|
+
# @param [String] quota_user
|
1325
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1326
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1327
|
+
# @param [Google::Apis::RequestOptions] options
|
1328
|
+
# Request-specific options
|
1329
|
+
#
|
1330
|
+
# @yield [result, err] Result & error if block supplied
|
1331
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
1332
|
+
# @yieldparam err [StandardError] error object if request failed
|
1333
|
+
#
|
1334
|
+
# @return [Google::Apis::RunV1alpha1::Service]
|
1335
|
+
#
|
1336
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1337
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1338
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1339
|
+
def create_namespace_service(parent, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1340
|
+
command = make_simple_command(:post, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options)
|
1341
|
+
command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1342
|
+
command.request_object = service_object
|
1343
|
+
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1344
|
+
command.response_class = Google::Apis::RunV1alpha1::Service
|
1345
|
+
command.params['parent'] = parent unless parent.nil?
|
1346
|
+
command.query['fields'] = fields unless fields.nil?
|
1347
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1348
|
+
execute_or_queue_command(command, &block)
|
1349
|
+
end
|
1350
|
+
|
1351
|
+
# Rpc to delete a service.
|
1352
|
+
# This will cause the Service to stop serving traffic and will delete the
|
1353
|
+
# child entities like Routes, Configurations and Revisions.
|
1354
|
+
# @param [String] name
|
1355
|
+
# The name of the service being deleted. If needed, replace
|
1356
|
+
# `namespace_id` with the project ID.
|
1357
|
+
# @param [String] api_version
|
1358
|
+
# Cloud Run currently ignores this parameter.
|
1359
|
+
# @param [String] kind
|
1360
|
+
# Cloud Run currently ignores this parameter.
|
1361
|
+
# @param [Boolean] orphan_dependents
|
1362
|
+
# Deprecated.
|
1363
|
+
# Specifies the cascade behavior on delete.
|
1364
|
+
# Cloud Run only supports cascading behavior, so this must be false.
|
1365
|
+
# This attribute is deprecated, and is now replaced with PropagationPolicy
|
1366
|
+
# See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
|
1367
|
+
# @param [String] propagation_policy
|
1368
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
1369
|
+
# this setting, and deletes in the background. Please see
|
1370
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
1371
|
+
# more information.
|
1372
|
+
# @param [String] fields
|
1373
|
+
# Selector specifying which fields to include in a partial response.
|
1374
|
+
# @param [String] quota_user
|
1375
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1376
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1377
|
+
# @param [Google::Apis::RequestOptions] options
|
1378
|
+
# Request-specific options
|
1379
|
+
#
|
1380
|
+
# @yield [result, err] Result & error if block supplied
|
1381
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
1382
|
+
# @yieldparam err [StandardError] error object if request failed
|
1383
|
+
#
|
1384
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
1385
|
+
#
|
1386
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1387
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1388
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1389
|
+
def delete_namespace_service(name, api_version: nil, kind: nil, orphan_dependents: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1390
|
+
command = make_simple_command(:delete, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
1391
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
1392
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
1393
|
+
command.params['name'] = name unless name.nil?
|
1394
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
1395
|
+
command.query['kind'] = kind unless kind.nil?
|
1396
|
+
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
1397
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1398
|
+
command.query['fields'] = fields unless fields.nil?
|
1399
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1400
|
+
execute_or_queue_command(command, &block)
|
1401
|
+
end
|
1402
|
+
|
1403
|
+
# Rpc to get information about a service.
|
1404
|
+
# @param [String] name
|
1405
|
+
# The name of the service being retrieved. If needed, replace
|
1406
|
+
# `namespace_id` with the project ID.
|
1407
|
+
# @param [String] fields
|
1408
|
+
# Selector specifying which fields to include in a partial response.
|
1409
|
+
# @param [String] quota_user
|
1410
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1411
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1412
|
+
# @param [Google::Apis::RequestOptions] options
|
1413
|
+
# Request-specific options
|
1414
|
+
#
|
1415
|
+
# @yield [result, err] Result & error if block supplied
|
1416
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
1417
|
+
# @yieldparam err [StandardError] error object if request failed
|
1418
|
+
#
|
1419
|
+
# @return [Google::Apis::RunV1alpha1::Service]
|
1420
|
+
#
|
1421
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1422
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1423
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1424
|
+
def get_namespace_service(name, fields: nil, quota_user: nil, options: nil, &block)
|
1425
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
1426
|
+
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1427
|
+
command.response_class = Google::Apis::RunV1alpha1::Service
|
1428
|
+
command.params['name'] = name unless name.nil?
|
1429
|
+
command.query['fields'] = fields unless fields.nil?
|
1430
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1431
|
+
execute_or_queue_command(command, &block)
|
1432
|
+
end
|
1433
|
+
|
1434
|
+
# Rpc to list services.
|
1435
|
+
# @param [String] parent
|
1436
|
+
# The project ID or project number from which the services should be listed.
|
1437
|
+
# @param [String] continue
|
1438
|
+
# Optional encoded string to continue paging.
|
1439
|
+
# @param [String] field_selector
|
1440
|
+
# Allows to filter resources based on a specific value for a field name.
|
1441
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
1442
|
+
# Not currently used by Cloud Run.
|
1443
|
+
# @param [Boolean] include_uninitialized
|
1444
|
+
# Not currently used by Cloud Run.
|
1445
|
+
# @param [String] label_selector
|
1446
|
+
# Allows to filter resources based on a label. Supported operations are
|
1447
|
+
# =, !=, exists, in, and notIn.
|
1448
|
+
# @param [Fixnum] limit
|
1449
|
+
# The maximum number of records that should be returned.
|
1450
|
+
# @param [String] resource_version
|
1451
|
+
# The baseline resource version from which the list or watch operation should
|
1452
|
+
# start. Not currently used by Cloud Run.
|
1453
|
+
# @param [Boolean] watch
|
1454
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
1455
|
+
# Not currently used by Cloud Run.
|
1456
|
+
# @param [String] fields
|
1457
|
+
# Selector specifying which fields to include in a partial response.
|
1458
|
+
# @param [String] quota_user
|
1459
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1460
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1461
|
+
# @param [Google::Apis::RequestOptions] options
|
1462
|
+
# Request-specific options
|
1463
|
+
#
|
1464
|
+
# @yield [result, err] Result & error if block supplied
|
1465
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListServicesResponse] parsed result object
|
1466
|
+
# @yieldparam err [StandardError] error object if request failed
|
1467
|
+
#
|
1468
|
+
# @return [Google::Apis::RunV1alpha1::ListServicesResponse]
|
1469
|
+
#
|
1470
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1471
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1472
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1473
|
+
def list_namespace_services(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1474
|
+
command = make_simple_command(:get, 'apis/serving.knative.dev/v1alpha1/{+parent}/services', options)
|
1475
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListServicesResponse::Representation
|
1476
|
+
command.response_class = Google::Apis::RunV1alpha1::ListServicesResponse
|
1477
|
+
command.params['parent'] = parent unless parent.nil?
|
1478
|
+
command.query['continue'] = continue unless continue.nil?
|
1479
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1480
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1481
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1482
|
+
command.query['limit'] = limit unless limit.nil?
|
1483
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1484
|
+
command.query['watch'] = watch unless watch.nil?
|
1485
|
+
command.query['fields'] = fields unless fields.nil?
|
1486
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1487
|
+
execute_or_queue_command(command, &block)
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
# Rpc to replace a service.
|
1491
|
+
# Only the spec and metadata labels and annotations are modifiable. After
|
1492
|
+
# the Update request, Cloud Run will work to make the 'status'
|
1493
|
+
# match the requested 'spec'.
|
1494
|
+
# May provide metadata.resourceVersion to enforce update from last read for
|
1495
|
+
# optimistic concurrency control.
|
1496
|
+
# @param [String] name
|
1497
|
+
# The name of the service being replaced. If needed, replace
|
1498
|
+
# `namespace_id` with the project ID.
|
1499
|
+
# @param [Google::Apis::RunV1alpha1::Service] service_object
|
1500
|
+
# @param [String] fields
|
1501
|
+
# Selector specifying which fields to include in a partial response.
|
1502
|
+
# @param [String] quota_user
|
1503
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1504
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1505
|
+
# @param [Google::Apis::RequestOptions] options
|
1506
|
+
# Request-specific options
|
1507
|
+
#
|
1508
|
+
# @yield [result, err] Result & error if block supplied
|
1509
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Service] parsed result object
|
1510
|
+
# @yieldparam err [StandardError] error object if request failed
|
1511
|
+
#
|
1512
|
+
# @return [Google::Apis::RunV1alpha1::Service]
|
1513
|
+
#
|
1514
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1515
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1516
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1517
|
+
def replace_namespace_service_service(name, service_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1518
|
+
command = make_simple_command(:put, 'apis/serving.knative.dev/v1alpha1/{+name}', options)
|
1519
|
+
command.request_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1520
|
+
command.request_object = service_object
|
1521
|
+
command.response_representation = Google::Apis::RunV1alpha1::Service::Representation
|
1522
|
+
command.response_class = Google::Apis::RunV1alpha1::Service
|
1523
|
+
command.params['name'] = name unless name.nil?
|
1524
|
+
command.query['fields'] = fields unless fields.nil?
|
1525
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1526
|
+
execute_or_queue_command(command, &block)
|
1527
|
+
end
|
1528
|
+
|
1529
|
+
# Creates a new trigger.
|
1530
|
+
# @param [String] parent
|
1531
|
+
# The project ID or project number in which this trigger should
|
1532
|
+
# be created.
|
1533
|
+
# @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
|
1534
|
+
# @param [String] fields
|
1535
|
+
# Selector specifying which fields to include in a partial response.
|
1536
|
+
# @param [String] quota_user
|
1537
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1538
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1539
|
+
# @param [Google::Apis::RequestOptions] options
|
1540
|
+
# Request-specific options
|
1541
|
+
#
|
1542
|
+
# @yield [result, err] Result & error if block supplied
|
1543
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
|
1544
|
+
# @yieldparam err [StandardError] error object if request failed
|
1545
|
+
#
|
1546
|
+
# @return [Google::Apis::RunV1alpha1::Trigger]
|
1547
|
+
#
|
1548
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1549
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1550
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1551
|
+
def create_namespace_trigger(parent, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1552
|
+
command = make_simple_command(:post, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
|
1553
|
+
command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
|
1554
|
+
command.request_object = trigger_object
|
1555
|
+
command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
|
1556
|
+
command.response_class = Google::Apis::RunV1alpha1::Trigger
|
1557
|
+
command.params['parent'] = parent unless parent.nil?
|
1558
|
+
command.query['fields'] = fields unless fields.nil?
|
1559
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1560
|
+
execute_or_queue_command(command, &block)
|
1561
|
+
end
|
1562
|
+
|
1563
|
+
# Rpc to delete a trigger.
|
1564
|
+
# @param [String] name
|
1565
|
+
# The name of the trigger being deleted. If needed, replace
|
1566
|
+
# `namespace_id` with the project ID.
|
1567
|
+
# @param [String] api_version
|
1568
|
+
# Cloud Run currently ignores this parameter.
|
1569
|
+
# @param [String] kind
|
1570
|
+
# Cloud Run currently ignores this parameter.
|
1571
|
+
# @param [String] propagation_policy
|
1572
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
1573
|
+
# this setting, and deletes in the background. Please see
|
1574
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
1575
|
+
# more information.
|
1576
|
+
# @param [String] fields
|
1577
|
+
# Selector specifying which fields to include in a partial response.
|
1578
|
+
# @param [String] quota_user
|
1579
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1580
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1581
|
+
# @param [Google::Apis::RequestOptions] options
|
1582
|
+
# Request-specific options
|
1583
|
+
#
|
1584
|
+
# @yield [result, err] Result & error if block supplied
|
1585
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
1586
|
+
# @yieldparam err [StandardError] error object if request failed
|
1587
|
+
#
|
1588
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
1589
|
+
#
|
1590
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1591
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1592
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1593
|
+
def delete_namespace_trigger(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1594
|
+
command = make_simple_command(:delete, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
|
1595
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
1596
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
1597
|
+
command.params['name'] = name unless name.nil?
|
1598
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
1599
|
+
command.query['kind'] = kind unless kind.nil?
|
1600
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1601
|
+
command.query['fields'] = fields unless fields.nil?
|
1602
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1603
|
+
execute_or_queue_command(command, &block)
|
1604
|
+
end
|
1605
|
+
|
1606
|
+
# Rpc to get information about a trigger.
|
1607
|
+
# @param [String] name
|
1608
|
+
# The name of the trigger being retrieved. If needed, replace
|
1609
|
+
# `namespace_id` with the project ID.
|
1610
|
+
# @param [String] fields
|
1611
|
+
# Selector specifying which fields to include in a partial response.
|
1612
|
+
# @param [String] quota_user
|
1613
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1614
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1615
|
+
# @param [Google::Apis::RequestOptions] options
|
1616
|
+
# Request-specific options
|
1617
|
+
#
|
1618
|
+
# @yield [result, err] Result & error if block supplied
|
1619
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
|
1620
|
+
# @yieldparam err [StandardError] error object if request failed
|
1621
|
+
#
|
1622
|
+
# @return [Google::Apis::RunV1alpha1::Trigger]
|
1623
|
+
#
|
1624
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1625
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1626
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1627
|
+
def get_namespace_trigger(name, fields: nil, quota_user: nil, options: nil, &block)
|
1628
|
+
command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
|
1629
|
+
command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
|
1630
|
+
command.response_class = Google::Apis::RunV1alpha1::Trigger
|
1631
|
+
command.params['name'] = name unless name.nil?
|
1632
|
+
command.query['fields'] = fields unless fields.nil?
|
1633
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1634
|
+
execute_or_queue_command(command, &block)
|
1635
|
+
end
|
1636
|
+
|
1637
|
+
# Rpc to list triggers.
|
1638
|
+
# @param [String] parent
|
1639
|
+
# The project ID or project number from which the triggers should
|
1640
|
+
# be listed.
|
1641
|
+
# @param [String] continue
|
1642
|
+
# Optional. Encoded string to continue paging.
|
1643
|
+
# @param [String] field_selector
|
1644
|
+
# Allows to filter resources based on a specific value for a field name.
|
1645
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
1646
|
+
# Not currently used by Cloud Run.
|
1647
|
+
# @param [Boolean] include_uninitialized
|
1648
|
+
# Not currently used by Cloud Run.
|
1649
|
+
# @param [String] label_selector
|
1650
|
+
# Allows to filter resources based on a label. Supported operations are
|
1651
|
+
# =, !=, exists, in, and notIn.
|
1652
|
+
# @param [Fixnum] limit
|
1653
|
+
# The maximum number of records that should be returned.
|
1654
|
+
# @param [String] resource_version
|
1655
|
+
# The baseline resource version from which the list or watch operation should
|
1656
|
+
# start. Not currently used by Cloud Run.
|
1657
|
+
# @param [Boolean] watch
|
1658
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
1659
|
+
# Not currently used by Cloud Run.
|
1660
|
+
# @param [String] fields
|
1661
|
+
# Selector specifying which fields to include in a partial response.
|
1662
|
+
# @param [String] quota_user
|
1663
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1664
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1665
|
+
# @param [Google::Apis::RequestOptions] options
|
1666
|
+
# Request-specific options
|
1667
|
+
#
|
1668
|
+
# @yield [result, err] Result & error if block supplied
|
1669
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListTriggersResponse] parsed result object
|
1670
|
+
# @yieldparam err [StandardError] error object if request failed
|
1671
|
+
#
|
1672
|
+
# @return [Google::Apis::RunV1alpha1::ListTriggersResponse]
|
1673
|
+
#
|
1674
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1675
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1676
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1677
|
+
def list_namespace_triggers(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1678
|
+
command = make_simple_command(:get, 'apis/eventing.knative.dev/v1alpha1/{+parent}/triggers', options)
|
1679
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListTriggersResponse::Representation
|
1680
|
+
command.response_class = Google::Apis::RunV1alpha1::ListTriggersResponse
|
1681
|
+
command.params['parent'] = parent unless parent.nil?
|
1682
|
+
command.query['continue'] = continue unless continue.nil?
|
1683
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1684
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1685
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1686
|
+
command.query['limit'] = limit unless limit.nil?
|
1687
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1688
|
+
command.query['watch'] = watch unless watch.nil?
|
1689
|
+
command.query['fields'] = fields unless fields.nil?
|
1690
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1691
|
+
execute_or_queue_command(command, &block)
|
1692
|
+
end
|
1693
|
+
|
1694
|
+
# Lists information about the supported locations for this service.
|
1695
|
+
# @param [String] name
|
1696
|
+
# The resource that owns the locations collection, if applicable.
|
1697
|
+
# @param [String] filter
|
1698
|
+
# The standard list filter.
|
1699
|
+
# @param [Fixnum] page_size
|
1700
|
+
# The standard list page size.
|
1701
|
+
# @param [String] page_token
|
1702
|
+
# The standard list page token.
|
1703
|
+
# @param [String] fields
|
1704
|
+
# Selector specifying which fields to include in a partial response.
|
1705
|
+
# @param [String] quota_user
|
1706
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1707
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1708
|
+
# @param [Google::Apis::RequestOptions] options
|
1709
|
+
# Request-specific options
|
1710
|
+
#
|
1711
|
+
# @yield [result, err] Result & error if block supplied
|
1712
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListLocationsResponse] parsed result object
|
1713
|
+
# @yieldparam err [StandardError] error object if request failed
|
1714
|
+
#
|
1715
|
+
# @return [Google::Apis::RunV1alpha1::ListLocationsResponse]
|
1716
|
+
#
|
1717
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1718
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1719
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1720
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1721
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}/locations', options)
|
1722
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListLocationsResponse::Representation
|
1723
|
+
command.response_class = Google::Apis::RunV1alpha1::ListLocationsResponse
|
1724
|
+
command.params['name'] = name unless name.nil?
|
1725
|
+
command.query['filter'] = filter unless filter.nil?
|
1726
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1727
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1728
|
+
command.query['fields'] = fields unless fields.nil?
|
1729
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1730
|
+
execute_or_queue_command(command, &block)
|
1731
|
+
end
|
1732
|
+
|
1733
|
+
# RPC to list authorized domains.
|
1734
|
+
# @param [String] parent
|
1735
|
+
# Name of the parent Application resource. Example: `apps/myapp`.
|
1736
|
+
# @param [Fixnum] page_size
|
1737
|
+
# Maximum results to return per page.
|
1738
|
+
# @param [String] page_token
|
1739
|
+
# Continuation token for fetching the next page of results.
|
1740
|
+
# @param [String] fields
|
1741
|
+
# Selector specifying which fields to include in a partial response.
|
1742
|
+
# @param [String] quota_user
|
1743
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1744
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1745
|
+
# @param [Google::Apis::RequestOptions] options
|
1746
|
+
# Request-specific options
|
1747
|
+
#
|
1748
|
+
# @yield [result, err] Result & error if block supplied
|
1749
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
|
1750
|
+
# @yieldparam err [StandardError] error object if request failed
|
1751
|
+
#
|
1752
|
+
# @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
|
1753
|
+
#
|
1754
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1755
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1756
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1757
|
+
def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1758
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
|
1759
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
|
1760
|
+
command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
|
1761
|
+
command.params['parent'] = parent unless parent.nil?
|
1762
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1763
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1764
|
+
command.query['fields'] = fields unless fields.nil?
|
1765
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1766
|
+
execute_or_queue_command(command, &block)
|
1767
|
+
end
|
1768
|
+
|
1769
|
+
# Creates a new cloudauditlogssource.
|
1770
|
+
# @param [String] parent
|
1771
|
+
# The project ID or project number in which this cloudauditlogssource should
|
1772
|
+
# be created.
|
1773
|
+
# @param [Google::Apis::RunV1alpha1::CloudAuditLogsSource] cloud_audit_logs_source_object
|
1774
|
+
# @param [String] fields
|
1775
|
+
# Selector specifying which fields to include in a partial response.
|
1776
|
+
# @param [String] quota_user
|
1777
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1778
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1779
|
+
# @param [Google::Apis::RequestOptions] options
|
1780
|
+
# Request-specific options
|
1781
|
+
#
|
1782
|
+
# @yield [result, err] Result & error if block supplied
|
1783
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
|
1784
|
+
# @yieldparam err [StandardError] error object if request failed
|
1785
|
+
#
|
1786
|
+
# @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
|
1787
|
+
#
|
1788
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1789
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1790
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1791
|
+
def create_project_location_cloudauditlogssource(parent, cloud_audit_logs_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1792
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudauditlogssources', options)
|
1793
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
|
1794
|
+
command.request_object = cloud_audit_logs_source_object
|
1795
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
|
1796
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
|
1797
|
+
command.params['parent'] = parent unless parent.nil?
|
1798
|
+
command.query['fields'] = fields unless fields.nil?
|
1799
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1800
|
+
execute_or_queue_command(command, &block)
|
1801
|
+
end
|
1802
|
+
|
1803
|
+
# Rpc to delete a cloudauditlogssource.
|
1804
|
+
# @param [String] name
|
1805
|
+
# The name of the cloudauditlogssource being deleted. If needed, replace
|
1806
|
+
# `namespace_id` with the project ID.
|
1807
|
+
# @param [String] api_version
|
1808
|
+
# Cloud Run currently ignores this parameter.
|
1809
|
+
# @param [String] kind
|
1810
|
+
# Cloud Run currently ignores this parameter.
|
1811
|
+
# @param [String] propagation_policy
|
1812
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
1813
|
+
# this setting, and deletes in the background. Please see
|
1814
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
1815
|
+
# more information.
|
1816
|
+
# @param [String] fields
|
1817
|
+
# Selector specifying which fields to include in a partial response.
|
1818
|
+
# @param [String] quota_user
|
1819
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1820
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1821
|
+
# @param [Google::Apis::RequestOptions] options
|
1822
|
+
# Request-specific options
|
1823
|
+
#
|
1824
|
+
# @yield [result, err] Result & error if block supplied
|
1825
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
1826
|
+
# @yieldparam err [StandardError] error object if request failed
|
1827
|
+
#
|
1828
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
1829
|
+
#
|
1830
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1831
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1832
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1833
|
+
def delete_project_location_cloudauditlogssource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1834
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
1835
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
1836
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
1837
|
+
command.params['name'] = name unless name.nil?
|
1838
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
1839
|
+
command.query['kind'] = kind unless kind.nil?
|
1840
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
1841
|
+
command.query['fields'] = fields unless fields.nil?
|
1842
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1843
|
+
execute_or_queue_command(command, &block)
|
1844
|
+
end
|
1845
|
+
|
1846
|
+
# Rpc to get information about a cloudauditlogssource.
|
1847
|
+
# @param [String] name
|
1848
|
+
# The name of the cloudauditlogssource being retrieved. If needed, replace
|
1849
|
+
# `namespace_id` with the project ID.
|
1850
|
+
# @param [String] fields
|
1851
|
+
# Selector specifying which fields to include in a partial response.
|
1852
|
+
# @param [String] quota_user
|
666
1853
|
# Available to use for quota purposes for server-side applications. Can be any
|
667
1854
|
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
668
1855
|
# @param [Google::Apis::RequestOptions] options
|
669
1856
|
# Request-specific options
|
670
1857
|
#
|
671
1858
|
# @yield [result, err] Result & error if block supplied
|
672
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
1859
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudAuditLogsSource] parsed result object
|
673
1860
|
# @yieldparam err [StandardError] error object if request failed
|
674
1861
|
#
|
675
|
-
# @return [Google::Apis::RunV1alpha1::
|
1862
|
+
# @return [Google::Apis::RunV1alpha1::CloudAuditLogsSource]
|
676
1863
|
#
|
677
1864
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
678
1865
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
679
1866
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
680
|
-
def
|
681
|
-
command = make_simple_command(:
|
682
|
-
command.
|
683
|
-
command.
|
684
|
-
command.
|
685
|
-
command.
|
1867
|
+
def get_project_location_cloudauditlogssource(name, fields: nil, quota_user: nil, options: nil, &block)
|
1868
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
1869
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudAuditLogsSource::Representation
|
1870
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudAuditLogsSource
|
1871
|
+
command.params['name'] = name unless name.nil?
|
1872
|
+
command.query['fields'] = fields unless fields.nil?
|
1873
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1874
|
+
execute_or_queue_command(command, &block)
|
1875
|
+
end
|
1876
|
+
|
1877
|
+
# Rpc to list cloudauditlogssources.
|
1878
|
+
# @param [String] parent
|
1879
|
+
# The project ID or project number from which the cloudauditlogssources
|
1880
|
+
# should be listed.
|
1881
|
+
# @param [String] continue
|
1882
|
+
# Optional encoded string to continue paging.
|
1883
|
+
# @param [String] field_selector
|
1884
|
+
# Allows to filter resources based on a specific value for a field name.
|
1885
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
1886
|
+
# Not currently used by Cloud Run.
|
1887
|
+
# @param [Boolean] include_uninitialized
|
1888
|
+
# Not currently used by Cloud Run.
|
1889
|
+
# @param [String] label_selector
|
1890
|
+
# Allows to filter resources based on a label. Supported operations are
|
1891
|
+
# =, !=, exists, in, and notIn.
|
1892
|
+
# @param [Fixnum] limit
|
1893
|
+
# The maximum number of records that should be returned.
|
1894
|
+
# @param [String] resource_version
|
1895
|
+
# The baseline resource version from which the list or watch operation should
|
1896
|
+
# start. Not currently used by Cloud Run.
|
1897
|
+
# @param [Boolean] watch
|
1898
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
1899
|
+
# Not currently used by Cloud Run.
|
1900
|
+
# @param [String] fields
|
1901
|
+
# Selector specifying which fields to include in a partial response.
|
1902
|
+
# @param [String] quota_user
|
1903
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1904
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1905
|
+
# @param [Google::Apis::RequestOptions] options
|
1906
|
+
# Request-specific options
|
1907
|
+
#
|
1908
|
+
# @yield [result, err] Result & error if block supplied
|
1909
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse] parsed result object
|
1910
|
+
# @yieldparam err [StandardError] error object if request failed
|
1911
|
+
#
|
1912
|
+
# @return [Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse]
|
1913
|
+
#
|
1914
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1915
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1916
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1917
|
+
def list_project_location_cloudauditlogssources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1918
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudauditlogssources', options)
|
1919
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse::Representation
|
1920
|
+
command.response_class = Google::Apis::RunV1alpha1::ListCloudAuditLogsSourcesResponse
|
686
1921
|
command.params['parent'] = parent unless parent.nil?
|
1922
|
+
command.query['continue'] = continue unless continue.nil?
|
1923
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1924
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1925
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1926
|
+
command.query['limit'] = limit unless limit.nil?
|
1927
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1928
|
+
command.query['watch'] = watch unless watch.nil?
|
687
1929
|
command.query['fields'] = fields unless fields.nil?
|
688
1930
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
689
1931
|
execute_or_queue_command(command, &block)
|
690
1932
|
end
|
691
1933
|
|
692
|
-
#
|
693
|
-
#
|
694
|
-
#
|
1934
|
+
# Creates a new cloudpubsubsource.
|
1935
|
+
# @param [String] parent
|
1936
|
+
# The project ID or project number in which this cloudpubsubsource should
|
1937
|
+
# be created.
|
1938
|
+
# @param [Google::Apis::RunV1alpha1::CloudPubSubSource] cloud_pub_sub_source_object
|
1939
|
+
# @param [String] fields
|
1940
|
+
# Selector specifying which fields to include in a partial response.
|
1941
|
+
# @param [String] quota_user
|
1942
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1943
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1944
|
+
# @param [Google::Apis::RequestOptions] options
|
1945
|
+
# Request-specific options
|
1946
|
+
#
|
1947
|
+
# @yield [result, err] Result & error if block supplied
|
1948
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
|
1949
|
+
# @yieldparam err [StandardError] error object if request failed
|
1950
|
+
#
|
1951
|
+
# @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
|
1952
|
+
#
|
1953
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1954
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1955
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1956
|
+
def create_project_location_cloudpubsubsource(parent, cloud_pub_sub_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1957
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudpubsubsources', options)
|
1958
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
|
1959
|
+
command.request_object = cloud_pub_sub_source_object
|
1960
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
|
1961
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
|
1962
|
+
command.params['parent'] = parent unless parent.nil?
|
1963
|
+
command.query['fields'] = fields unless fields.nil?
|
1964
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1965
|
+
execute_or_queue_command(command, &block)
|
1966
|
+
end
|
1967
|
+
|
1968
|
+
# Rpc to delete a cloudpubsubsource.
|
695
1969
|
# @param [String] name
|
696
|
-
# The name of the
|
1970
|
+
# The name of the cloudpubsubsource being deleted. If needed, replace
|
697
1971
|
# `namespace_id` with the project ID.
|
698
1972
|
# @param [String] api_version
|
699
1973
|
# Cloud Run currently ignores this parameter.
|
700
1974
|
# @param [String] kind
|
701
1975
|
# Cloud Run currently ignores this parameter.
|
702
|
-
# @param [Boolean] orphan_dependents
|
703
|
-
# Deprecated.
|
704
|
-
# Specifies the cascade behavior on delete.
|
705
|
-
# Cloud Run only supports cascading behavior, so this must be false.
|
706
|
-
# This attribute is deprecated, and is now replaced with PropagationPolicy
|
707
|
-
# See https://github.com/kubernetes/kubernetes/issues/46659 for more info.
|
708
1976
|
# @param [String] propagation_policy
|
709
1977
|
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
710
1978
|
# this setting, and deletes in the background. Please see
|
@@ -727,23 +1995,190 @@ module Google
|
|
727
1995
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
728
1996
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
729
1997
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
730
|
-
def
|
731
|
-
command = make_simple_command(:delete, '
|
1998
|
+
def delete_project_location_cloudpubsubsource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1999
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
732
2000
|
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
733
2001
|
command.response_class = Google::Apis::RunV1alpha1::Empty
|
734
2002
|
command.params['name'] = name unless name.nil?
|
735
2003
|
command.query['apiVersion'] = api_version unless api_version.nil?
|
736
2004
|
command.query['kind'] = kind unless kind.nil?
|
737
|
-
command.query['orphanDependents'] = orphan_dependents unless orphan_dependents.nil?
|
738
2005
|
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
739
2006
|
command.query['fields'] = fields unless fields.nil?
|
740
2007
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
741
2008
|
execute_or_queue_command(command, &block)
|
742
2009
|
end
|
743
2010
|
|
744
|
-
# Rpc to get information about a
|
2011
|
+
# Rpc to get information about a cloudpubsubsource.
|
745
2012
|
# @param [String] name
|
746
|
-
# The name of the
|
2013
|
+
# The name of the cloudpubsubsource being retrieved. If needed, replace
|
2014
|
+
# `namespace_id` with the project ID.
|
2015
|
+
# @param [String] fields
|
2016
|
+
# Selector specifying which fields to include in a partial response.
|
2017
|
+
# @param [String] quota_user
|
2018
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2019
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2020
|
+
# @param [Google::Apis::RequestOptions] options
|
2021
|
+
# Request-specific options
|
2022
|
+
#
|
2023
|
+
# @yield [result, err] Result & error if block supplied
|
2024
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudPubSubSource] parsed result object
|
2025
|
+
# @yieldparam err [StandardError] error object if request failed
|
2026
|
+
#
|
2027
|
+
# @return [Google::Apis::RunV1alpha1::CloudPubSubSource]
|
2028
|
+
#
|
2029
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2030
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2031
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2032
|
+
def get_project_location_cloudpubsubsource(name, fields: nil, quota_user: nil, options: nil, &block)
|
2033
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
2034
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudPubSubSource::Representation
|
2035
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudPubSubSource
|
2036
|
+
command.params['name'] = name unless name.nil?
|
2037
|
+
command.query['fields'] = fields unless fields.nil?
|
2038
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2039
|
+
execute_or_queue_command(command, &block)
|
2040
|
+
end
|
2041
|
+
|
2042
|
+
# Rpc to list cloudpubsubsources.
|
2043
|
+
# @param [String] parent
|
2044
|
+
# The project ID or project number from which the cloudpubsubsources should
|
2045
|
+
# be listed.
|
2046
|
+
# @param [String] continue
|
2047
|
+
# Optional encoded string to continue paging.
|
2048
|
+
# @param [String] field_selector
|
2049
|
+
# Allows to filter resources based on a specific value for a field name.
|
2050
|
+
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
2051
|
+
# Not currently used by Cloud Run.
|
2052
|
+
# @param [Boolean] include_uninitialized
|
2053
|
+
# Not currently used by Cloud Run.
|
2054
|
+
# @param [String] label_selector
|
2055
|
+
# Allows to filter resources based on a label. Supported operations are
|
2056
|
+
# =, !=, exists, in, and notIn.
|
2057
|
+
# @param [Fixnum] limit
|
2058
|
+
# The maximum number of records that should be returned.
|
2059
|
+
# @param [String] resource_version
|
2060
|
+
# The baseline resource version from which the list or watch operation should
|
2061
|
+
# start. Not currently used by Cloud Run.
|
2062
|
+
# @param [Boolean] watch
|
2063
|
+
# Flag that indicates that the client expects to watch this resource as well.
|
2064
|
+
# Not currently used by Cloud Run.
|
2065
|
+
# @param [String] fields
|
2066
|
+
# Selector specifying which fields to include in a partial response.
|
2067
|
+
# @param [String] quota_user
|
2068
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2069
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2070
|
+
# @param [Google::Apis::RequestOptions] options
|
2071
|
+
# Request-specific options
|
2072
|
+
#
|
2073
|
+
# @yield [result, err] Result & error if block supplied
|
2074
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse] parsed result object
|
2075
|
+
# @yieldparam err [StandardError] error object if request failed
|
2076
|
+
#
|
2077
|
+
# @return [Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse]
|
2078
|
+
#
|
2079
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2080
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2081
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2082
|
+
def list_project_location_cloudpubsubsources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2083
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudpubsubsources', options)
|
2084
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse::Representation
|
2085
|
+
command.response_class = Google::Apis::RunV1alpha1::ListCloudPubSubSourcesResponse
|
2086
|
+
command.params['parent'] = parent unless parent.nil?
|
2087
|
+
command.query['continue'] = continue unless continue.nil?
|
2088
|
+
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
2089
|
+
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
2090
|
+
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
2091
|
+
command.query['limit'] = limit unless limit.nil?
|
2092
|
+
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
2093
|
+
command.query['watch'] = watch unless watch.nil?
|
2094
|
+
command.query['fields'] = fields unless fields.nil?
|
2095
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2096
|
+
execute_or_queue_command(command, &block)
|
2097
|
+
end
|
2098
|
+
|
2099
|
+
# Creates a new cloudschedulersource.
|
2100
|
+
# @param [String] parent
|
2101
|
+
# Required. The project ID or project number in which this cloudschedulersource
|
2102
|
+
# should
|
2103
|
+
# be created.
|
2104
|
+
# @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object
|
2105
|
+
# @param [String] fields
|
2106
|
+
# Selector specifying which fields to include in a partial response.
|
2107
|
+
# @param [String] quota_user
|
2108
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2109
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2110
|
+
# @param [Google::Apis::RequestOptions] options
|
2111
|
+
# Request-specific options
|
2112
|
+
#
|
2113
|
+
# @yield [result, err] Result & error if block supplied
|
2114
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
|
2115
|
+
# @yieldparam err [StandardError] error object if request failed
|
2116
|
+
#
|
2117
|
+
# @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
|
2118
|
+
#
|
2119
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2120
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2121
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2122
|
+
def create_project_location_cloudschedulersource(parent, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2123
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudschedulersources', options)
|
2124
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
2125
|
+
command.request_object = cloud_scheduler_source_object
|
2126
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
2127
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
|
2128
|
+
command.params['parent'] = parent unless parent.nil?
|
2129
|
+
command.query['fields'] = fields unless fields.nil?
|
2130
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2131
|
+
execute_or_queue_command(command, &block)
|
2132
|
+
end
|
2133
|
+
|
2134
|
+
# Rpc to delete a cloudschedulersource.
|
2135
|
+
# @param [String] name
|
2136
|
+
# Required. The name of the cloudschedulersource being deleted. If needed,
|
2137
|
+
# replace
|
2138
|
+
# `namespace_id` with the project ID.
|
2139
|
+
# @param [String] api_version
|
2140
|
+
# Cloud Run currently ignores this parameter.
|
2141
|
+
# @param [String] kind
|
2142
|
+
# Cloud Run currently ignores this parameter.
|
2143
|
+
# @param [String] propagation_policy
|
2144
|
+
# Specifies the propagation policy of delete. Cloud Run currently ignores
|
2145
|
+
# this setting, and deletes in the background. Please see
|
2146
|
+
# kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/ for
|
2147
|
+
# more information.
|
2148
|
+
# @param [String] fields
|
2149
|
+
# Selector specifying which fields to include in a partial response.
|
2150
|
+
# @param [String] quota_user
|
2151
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
2152
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2153
|
+
# @param [Google::Apis::RequestOptions] options
|
2154
|
+
# Request-specific options
|
2155
|
+
#
|
2156
|
+
# @yield [result, err] Result & error if block supplied
|
2157
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::Empty] parsed result object
|
2158
|
+
# @yieldparam err [StandardError] error object if request failed
|
2159
|
+
#
|
2160
|
+
# @return [Google::Apis::RunV1alpha1::Empty]
|
2161
|
+
#
|
2162
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2163
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2164
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2165
|
+
def delete_project_location_cloudschedulersource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2166
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
2167
|
+
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
2168
|
+
command.response_class = Google::Apis::RunV1alpha1::Empty
|
2169
|
+
command.params['name'] = name unless name.nil?
|
2170
|
+
command.query['apiVersion'] = api_version unless api_version.nil?
|
2171
|
+
command.query['kind'] = kind unless kind.nil?
|
2172
|
+
command.query['propagationPolicy'] = propagation_policy unless propagation_policy.nil?
|
2173
|
+
command.query['fields'] = fields unless fields.nil?
|
2174
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2175
|
+
execute_or_queue_command(command, &block)
|
2176
|
+
end
|
2177
|
+
|
2178
|
+
# Rpc to get information about a cloudschedulersource.
|
2179
|
+
# @param [String] name
|
2180
|
+
# Required. The name of the cloudschedulersource being retrieved. If needed,
|
2181
|
+
# replace
|
747
2182
|
# `namespace_id` with the project ID.
|
748
2183
|
# @param [String] fields
|
749
2184
|
# Selector specifying which fields to include in a partial response.
|
@@ -754,27 +2189,29 @@ module Google
|
|
754
2189
|
# Request-specific options
|
755
2190
|
#
|
756
2191
|
# @yield [result, err] Result & error if block supplied
|
757
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
2192
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
|
758
2193
|
# @yieldparam err [StandardError] error object if request failed
|
759
2194
|
#
|
760
|
-
# @return [Google::Apis::RunV1alpha1::
|
2195
|
+
# @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
|
761
2196
|
#
|
762
2197
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
763
2198
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
764
2199
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
765
|
-
def
|
766
|
-
command = make_simple_command(:get, '
|
767
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
768
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
2200
|
+
def get_project_location_cloudschedulersource(name, fields: nil, quota_user: nil, options: nil, &block)
|
2201
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
2202
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
2203
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
|
769
2204
|
command.params['name'] = name unless name.nil?
|
770
2205
|
command.query['fields'] = fields unless fields.nil?
|
771
2206
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
772
2207
|
execute_or_queue_command(command, &block)
|
773
2208
|
end
|
774
2209
|
|
775
|
-
# Rpc to list
|
2210
|
+
# Rpc to list cloudschedulersources.
|
776
2211
|
# @param [String] parent
|
777
|
-
# The project ID or project number from which the
|
2212
|
+
# Required. The project ID or project number from which the
|
2213
|
+
# cloudschedulersources
|
2214
|
+
# should be listed.
|
778
2215
|
# @param [String] continue
|
779
2216
|
# Optional encoded string to continue paging.
|
780
2217
|
# @param [String] field_selector
|
@@ -803,18 +2240,18 @@ module Google
|
|
803
2240
|
# Request-specific options
|
804
2241
|
#
|
805
2242
|
# @yield [result, err] Result & error if block supplied
|
806
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
2243
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse] parsed result object
|
807
2244
|
# @yieldparam err [StandardError] error object if request failed
|
808
2245
|
#
|
809
|
-
# @return [Google::Apis::RunV1alpha1::
|
2246
|
+
# @return [Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse]
|
810
2247
|
#
|
811
2248
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
812
2249
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
813
2250
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
814
|
-
def
|
815
|
-
command = make_simple_command(:get, '
|
816
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
817
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
2251
|
+
def list_project_location_cloudschedulersources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2252
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudschedulersources', options)
|
2253
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse::Representation
|
2254
|
+
command.response_class = Google::Apis::RunV1alpha1::ListCloudSchedulerSourcesResponse
|
818
2255
|
command.params['parent'] = parent unless parent.nil?
|
819
2256
|
command.query['continue'] = continue unless continue.nil?
|
820
2257
|
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
@@ -828,16 +2265,17 @@ module Google
|
|
828
2265
|
execute_or_queue_command(command, &block)
|
829
2266
|
end
|
830
2267
|
|
831
|
-
# Rpc to replace a
|
2268
|
+
# Rpc to replace a cloudschedulersource.
|
832
2269
|
# Only the spec and metadata labels and annotations are modifiable. After
|
833
2270
|
# the Update request, Cloud Run will work to make the 'status'
|
834
2271
|
# match the requested 'spec'.
|
835
2272
|
# May provide metadata.resourceVersion to enforce update from last read for
|
836
2273
|
# optimistic concurrency control.
|
837
2274
|
# @param [String] name
|
838
|
-
# The name of the
|
2275
|
+
# Required. The name of the cloudschedulersource being retrieved. If needed,
|
2276
|
+
# replace
|
839
2277
|
# `namespace_id` with the project ID.
|
840
|
-
# @param [Google::Apis::RunV1alpha1::
|
2278
|
+
# @param [Google::Apis::RunV1alpha1::CloudSchedulerSource] cloud_scheduler_source_object
|
841
2279
|
# @param [String] fields
|
842
2280
|
# Selector specifying which fields to include in a partial response.
|
843
2281
|
# @param [String] quota_user
|
@@ -847,31 +2285,32 @@ module Google
|
|
847
2285
|
# Request-specific options
|
848
2286
|
#
|
849
2287
|
# @yield [result, err] Result & error if block supplied
|
850
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
2288
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudSchedulerSource] parsed result object
|
851
2289
|
# @yieldparam err [StandardError] error object if request failed
|
852
2290
|
#
|
853
|
-
# @return [Google::Apis::RunV1alpha1::
|
2291
|
+
# @return [Google::Apis::RunV1alpha1::CloudSchedulerSource]
|
854
2292
|
#
|
855
2293
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
856
2294
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
857
2295
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
858
|
-
def
|
859
|
-
command = make_simple_command(:put, '
|
860
|
-
command.request_representation = Google::Apis::RunV1alpha1::
|
861
|
-
command.request_object =
|
862
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
863
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
2296
|
+
def replace_project_location_cloudschedulersource_cloud_scheduler_source(name, cloud_scheduler_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2297
|
+
command = make_simple_command(:put, 'v1alpha1/{+name}', options)
|
2298
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
2299
|
+
command.request_object = cloud_scheduler_source_object
|
2300
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudSchedulerSource::Representation
|
2301
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudSchedulerSource
|
864
2302
|
command.params['name'] = name unless name.nil?
|
865
2303
|
command.query['fields'] = fields unless fields.nil?
|
866
2304
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
867
2305
|
execute_or_queue_command(command, &block)
|
868
2306
|
end
|
869
2307
|
|
870
|
-
# Creates a new
|
2308
|
+
# Creates a new cloudstoragesource.
|
871
2309
|
# @param [String] parent
|
872
|
-
# The project ID or project number in which this
|
2310
|
+
# Required. The project ID or project number in which this cloudstoragesource
|
2311
|
+
# should
|
873
2312
|
# be created.
|
874
|
-
# @param [Google::Apis::RunV1alpha1::
|
2313
|
+
# @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object
|
875
2314
|
# @param [String] fields
|
876
2315
|
# Selector specifying which fields to include in a partial response.
|
877
2316
|
# @param [String] quota_user
|
@@ -881,29 +2320,29 @@ module Google
|
|
881
2320
|
# Request-specific options
|
882
2321
|
#
|
883
2322
|
# @yield [result, err] Result & error if block supplied
|
884
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
2323
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
|
885
2324
|
# @yieldparam err [StandardError] error object if request failed
|
886
2325
|
#
|
887
|
-
# @return [Google::Apis::RunV1alpha1::
|
2326
|
+
# @return [Google::Apis::RunV1alpha1::CloudStorageSource]
|
888
2327
|
#
|
889
2328
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
890
2329
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
891
2330
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
892
|
-
def
|
893
|
-
command = make_simple_command(:post, '
|
894
|
-
command.request_representation = Google::Apis::RunV1alpha1::
|
895
|
-
command.request_object =
|
896
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
897
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
2331
|
+
def create_project_location_cloudstoragesource(parent, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2332
|
+
command = make_simple_command(:post, 'v1alpha1/{+parent}/cloudstoragesources', options)
|
2333
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
2334
|
+
command.request_object = cloud_storage_source_object
|
2335
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
2336
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
|
898
2337
|
command.params['parent'] = parent unless parent.nil?
|
899
2338
|
command.query['fields'] = fields unless fields.nil?
|
900
2339
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
901
2340
|
execute_or_queue_command(command, &block)
|
902
2341
|
end
|
903
2342
|
|
904
|
-
# Rpc to delete a
|
2343
|
+
# Rpc to delete a cloudstoragesource.
|
905
2344
|
# @param [String] name
|
906
|
-
# The name of the
|
2345
|
+
# Required. The name of the cloudstoragesource being deleted. If needed, replace
|
907
2346
|
# `namespace_id` with the project ID.
|
908
2347
|
# @param [String] api_version
|
909
2348
|
# Cloud Run currently ignores this parameter.
|
@@ -931,8 +2370,8 @@ module Google
|
|
931
2370
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
932
2371
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
933
2372
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
934
|
-
def
|
935
|
-
command = make_simple_command(:delete, '
|
2373
|
+
def delete_project_location_cloudstoragesource(name, api_version: nil, kind: nil, propagation_policy: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2374
|
+
command = make_simple_command(:delete, 'v1alpha1/{+name}', options)
|
936
2375
|
command.response_representation = Google::Apis::RunV1alpha1::Empty::Representation
|
937
2376
|
command.response_class = Google::Apis::RunV1alpha1::Empty
|
938
2377
|
command.params['name'] = name unless name.nil?
|
@@ -944,9 +2383,10 @@ module Google
|
|
944
2383
|
execute_or_queue_command(command, &block)
|
945
2384
|
end
|
946
2385
|
|
947
|
-
# Rpc to get information about a
|
2386
|
+
# Rpc to get information about a cloudstoragesource.
|
948
2387
|
# @param [String] name
|
949
|
-
# The name of the
|
2388
|
+
# Required. The name of the cloudstoragesource being retrieved. If needed,
|
2389
|
+
# replace
|
950
2390
|
# `namespace_id` with the project ID.
|
951
2391
|
# @param [String] fields
|
952
2392
|
# Selector specifying which fields to include in a partial response.
|
@@ -957,27 +2397,28 @@ module Google
|
|
957
2397
|
# Request-specific options
|
958
2398
|
#
|
959
2399
|
# @yield [result, err] Result & error if block supplied
|
960
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
2400
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
|
961
2401
|
# @yieldparam err [StandardError] error object if request failed
|
962
2402
|
#
|
963
|
-
# @return [Google::Apis::RunV1alpha1::
|
2403
|
+
# @return [Google::Apis::RunV1alpha1::CloudStorageSource]
|
964
2404
|
#
|
965
2405
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
966
2406
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
967
2407
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
968
|
-
def
|
969
|
-
command = make_simple_command(:get, '
|
970
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
971
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
2408
|
+
def get_project_location_cloudstoragesource(name, fields: nil, quota_user: nil, options: nil, &block)
|
2409
|
+
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
2410
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
2411
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
|
972
2412
|
command.params['name'] = name unless name.nil?
|
973
2413
|
command.query['fields'] = fields unless fields.nil?
|
974
2414
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
975
2415
|
execute_or_queue_command(command, &block)
|
976
2416
|
end
|
977
2417
|
|
978
|
-
# Rpc to list
|
2418
|
+
# Rpc to list cloudstoragesources.
|
979
2419
|
# @param [String] parent
|
980
|
-
# The project ID or project number from which the
|
2420
|
+
# Required. The project ID or project number from which the cloudstoragesources
|
2421
|
+
# should
|
981
2422
|
# be listed.
|
982
2423
|
# @param [String] continue
|
983
2424
|
# Optional encoded string to continue paging.
|
@@ -1007,18 +2448,18 @@ module Google
|
|
1007
2448
|
# Request-specific options
|
1008
2449
|
#
|
1009
2450
|
# @yield [result, err] Result & error if block supplied
|
1010
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
2451
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse] parsed result object
|
1011
2452
|
# @yieldparam err [StandardError] error object if request failed
|
1012
2453
|
#
|
1013
|
-
# @return [Google::Apis::RunV1alpha1::
|
2454
|
+
# @return [Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse]
|
1014
2455
|
#
|
1015
2456
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1016
2457
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1017
2458
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1018
|
-
def
|
1019
|
-
command = make_simple_command(:get, '
|
1020
|
-
command.response_representation = Google::Apis::RunV1alpha1::
|
1021
|
-
command.response_class = Google::Apis::RunV1alpha1::
|
2459
|
+
def list_project_location_cloudstoragesources(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
2460
|
+
command = make_simple_command(:get, 'v1alpha1/{+parent}/cloudstoragesources', options)
|
2461
|
+
command.response_representation = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse::Representation
|
2462
|
+
command.response_class = Google::Apis::RunV1alpha1::ListCloudStorageSourcesResponse
|
1022
2463
|
command.params['parent'] = parent unless parent.nil?
|
1023
2464
|
command.query['continue'] = continue unless continue.nil?
|
1024
2465
|
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
@@ -1032,54 +2473,17 @@ module Google
|
|
1032
2473
|
execute_or_queue_command(command, &block)
|
1033
2474
|
end
|
1034
2475
|
|
1035
|
-
# Rpc to replace a
|
2476
|
+
# Rpc to replace a cloudstoragesource.
|
1036
2477
|
# Only the spec and metadata labels and annotations are modifiable. After
|
1037
2478
|
# the Update request, Cloud Run will work to make the 'status'
|
1038
2479
|
# match the requested 'spec'.
|
1039
2480
|
# May provide metadata.resourceVersion to enforce update from last read for
|
1040
2481
|
# optimistic concurrency control.
|
1041
2482
|
# @param [String] name
|
1042
|
-
# The name of the
|
2483
|
+
# Required. The name of the cloudstoragesource being retrieved. If needed,
|
2484
|
+
# replace
|
1043
2485
|
# `namespace_id` with the project ID.
|
1044
|
-
# @param [Google::Apis::RunV1alpha1::
|
1045
|
-
# @param [String] fields
|
1046
|
-
# Selector specifying which fields to include in a partial response.
|
1047
|
-
# @param [String] quota_user
|
1048
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1049
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1050
|
-
# @param [Google::Apis::RequestOptions] options
|
1051
|
-
# Request-specific options
|
1052
|
-
#
|
1053
|
-
# @yield [result, err] Result & error if block supplied
|
1054
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
|
1055
|
-
# @yieldparam err [StandardError] error object if request failed
|
1056
|
-
#
|
1057
|
-
# @return [Google::Apis::RunV1alpha1::Trigger]
|
1058
|
-
#
|
1059
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1060
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1061
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1062
|
-
def replace_namespace_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1063
|
-
command = make_simple_command(:put, 'apis/eventing.knative.dev/v1alpha1/{+name}', options)
|
1064
|
-
command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
|
1065
|
-
command.request_object = trigger_object
|
1066
|
-
command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
|
1067
|
-
command.response_class = Google::Apis::RunV1alpha1::Trigger
|
1068
|
-
command.params['name'] = name unless name.nil?
|
1069
|
-
command.query['fields'] = fields unless fields.nil?
|
1070
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1071
|
-
execute_or_queue_command(command, &block)
|
1072
|
-
end
|
1073
|
-
|
1074
|
-
# Lists information about the supported locations for this service.
|
1075
|
-
# @param [String] name
|
1076
|
-
# The resource that owns the locations collection, if applicable.
|
1077
|
-
# @param [String] filter
|
1078
|
-
# The standard list filter.
|
1079
|
-
# @param [Fixnum] page_size
|
1080
|
-
# The standard list page size.
|
1081
|
-
# @param [String] page_token
|
1082
|
-
# The standard list page token.
|
2486
|
+
# @param [Google::Apis::RunV1alpha1::CloudStorageSource] cloud_storage_source_object
|
1083
2487
|
# @param [String] fields
|
1084
2488
|
# Selector specifying which fields to include in a partial response.
|
1085
2489
|
# @param [String] quota_user
|
@@ -1089,58 +2493,21 @@ module Google
|
|
1089
2493
|
# Request-specific options
|
1090
2494
|
#
|
1091
2495
|
# @yield [result, err] Result & error if block supplied
|
1092
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::
|
2496
|
+
# @yieldparam result [Google::Apis::RunV1alpha1::CloudStorageSource] parsed result object
|
1093
2497
|
# @yieldparam err [StandardError] error object if request failed
|
1094
2498
|
#
|
1095
|
-
# @return [Google::Apis::RunV1alpha1::
|
2499
|
+
# @return [Google::Apis::RunV1alpha1::CloudStorageSource]
|
1096
2500
|
#
|
1097
2501
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1098
2502
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1099
2503
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1100
|
-
def
|
1101
|
-
command = make_simple_command(:
|
1102
|
-
command.
|
1103
|
-
command.
|
2504
|
+
def replace_project_location_cloudstoragesource_cloud_storage_source(name, cloud_storage_source_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2505
|
+
command = make_simple_command(:put, 'v1alpha1/{+name}', options)
|
2506
|
+
command.request_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
2507
|
+
command.request_object = cloud_storage_source_object
|
2508
|
+
command.response_representation = Google::Apis::RunV1alpha1::CloudStorageSource::Representation
|
2509
|
+
command.response_class = Google::Apis::RunV1alpha1::CloudStorageSource
|
1104
2510
|
command.params['name'] = name unless name.nil?
|
1105
|
-
command.query['filter'] = filter unless filter.nil?
|
1106
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1107
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1108
|
-
command.query['fields'] = fields unless fields.nil?
|
1109
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1110
|
-
execute_or_queue_command(command, &block)
|
1111
|
-
end
|
1112
|
-
|
1113
|
-
# RPC to list authorized domains.
|
1114
|
-
# @param [String] parent
|
1115
|
-
# Name of the parent Application resource. Example: `apps/myapp`.
|
1116
|
-
# @param [Fixnum] page_size
|
1117
|
-
# Maximum results to return per page.
|
1118
|
-
# @param [String] page_token
|
1119
|
-
# Continuation token for fetching the next page of results.
|
1120
|
-
# @param [String] fields
|
1121
|
-
# Selector specifying which fields to include in a partial response.
|
1122
|
-
# @param [String] quota_user
|
1123
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1124
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1125
|
-
# @param [Google::Apis::RequestOptions] options
|
1126
|
-
# Request-specific options
|
1127
|
-
#
|
1128
|
-
# @yield [result, err] Result & error if block supplied
|
1129
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse] parsed result object
|
1130
|
-
# @yieldparam err [StandardError] error object if request failed
|
1131
|
-
#
|
1132
|
-
# @return [Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse]
|
1133
|
-
#
|
1134
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1135
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1136
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1137
|
-
def list_project_location_authorizeddomains(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1138
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/authorizeddomains', options)
|
1139
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse::Representation
|
1140
|
-
command.response_class = Google::Apis::RunV1alpha1::ListAuthorizedDomainsResponse
|
1141
|
-
command.params['parent'] = parent unless parent.nil?
|
1142
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
1143
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
1144
2511
|
command.query['fields'] = fields unless fields.nil?
|
1145
2512
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1146
2513
|
execute_or_queue_command(command, &block)
|
@@ -1406,94 +2773,6 @@ module Google
|
|
1406
2773
|
execute_or_queue_command(command, &block)
|
1407
2774
|
end
|
1408
2775
|
|
1409
|
-
# Rpc to get information about an EventType.
|
1410
|
-
# @param [String] name
|
1411
|
-
# The name of the trigger being retrieved. If needed, replace
|
1412
|
-
# `namespace_id` with the project ID.
|
1413
|
-
# @param [String] fields
|
1414
|
-
# Selector specifying which fields to include in a partial response.
|
1415
|
-
# @param [String] quota_user
|
1416
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1417
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1418
|
-
# @param [Google::Apis::RequestOptions] options
|
1419
|
-
# Request-specific options
|
1420
|
-
#
|
1421
|
-
# @yield [result, err] Result & error if block supplied
|
1422
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::EventType] parsed result object
|
1423
|
-
# @yieldparam err [StandardError] error object if request failed
|
1424
|
-
#
|
1425
|
-
# @return [Google::Apis::RunV1alpha1::EventType]
|
1426
|
-
#
|
1427
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1428
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1429
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1430
|
-
def get_project_location_eventtype(name, fields: nil, quota_user: nil, options: nil, &block)
|
1431
|
-
command = make_simple_command(:get, 'v1alpha1/{+name}', options)
|
1432
|
-
command.response_representation = Google::Apis::RunV1alpha1::EventType::Representation
|
1433
|
-
command.response_class = Google::Apis::RunV1alpha1::EventType
|
1434
|
-
command.params['name'] = name unless name.nil?
|
1435
|
-
command.query['fields'] = fields unless fields.nil?
|
1436
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1437
|
-
execute_or_queue_command(command, &block)
|
1438
|
-
end
|
1439
|
-
|
1440
|
-
# Rpc to list EventTypes.
|
1441
|
-
# @param [String] parent
|
1442
|
-
# The project ID or project number from which the EventTypes should be
|
1443
|
-
# listed.
|
1444
|
-
# @param [String] continue
|
1445
|
-
# Optional encoded string to continue paging.
|
1446
|
-
# @param [String] field_selector
|
1447
|
-
# Allows to filter resources based on a specific value for a field name.
|
1448
|
-
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
1449
|
-
# Not currently used by Cloud Run.
|
1450
|
-
# @param [Boolean] include_uninitialized
|
1451
|
-
# Not currently used by Cloud Run.
|
1452
|
-
# @param [String] label_selector
|
1453
|
-
# Allows to filter resources based on a label. Supported operations are
|
1454
|
-
# =, !=, exists, in, and notIn.
|
1455
|
-
# @param [Fixnum] limit
|
1456
|
-
# The maximum number of records that should be returned.
|
1457
|
-
# @param [String] resource_version
|
1458
|
-
# The baseline resource version from which the list or watch operation should
|
1459
|
-
# start. Not currently used by Cloud Run.
|
1460
|
-
# @param [Boolean] watch
|
1461
|
-
# Flag that indicates that the client expects to watch this resource as well.
|
1462
|
-
# Not currently used by Cloud Run.
|
1463
|
-
# @param [String] fields
|
1464
|
-
# Selector specifying which fields to include in a partial response.
|
1465
|
-
# @param [String] quota_user
|
1466
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
1467
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1468
|
-
# @param [Google::Apis::RequestOptions] options
|
1469
|
-
# Request-specific options
|
1470
|
-
#
|
1471
|
-
# @yield [result, err] Result & error if block supplied
|
1472
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::ListEventTypesResponse] parsed result object
|
1473
|
-
# @yieldparam err [StandardError] error object if request failed
|
1474
|
-
#
|
1475
|
-
# @return [Google::Apis::RunV1alpha1::ListEventTypesResponse]
|
1476
|
-
#
|
1477
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1478
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1479
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1480
|
-
def list_project_location_eventtypes(parent, continue: nil, field_selector: nil, include_uninitialized: nil, label_selector: nil, limit: nil, resource_version: nil, watch: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1481
|
-
command = make_simple_command(:get, 'v1alpha1/{+parent}/eventtypes', options)
|
1482
|
-
command.response_representation = Google::Apis::RunV1alpha1::ListEventTypesResponse::Representation
|
1483
|
-
command.response_class = Google::Apis::RunV1alpha1::ListEventTypesResponse
|
1484
|
-
command.params['parent'] = parent unless parent.nil?
|
1485
|
-
command.query['continue'] = continue unless continue.nil?
|
1486
|
-
command.query['fieldSelector'] = field_selector unless field_selector.nil?
|
1487
|
-
command.query['includeUninitialized'] = include_uninitialized unless include_uninitialized.nil?
|
1488
|
-
command.query['labelSelector'] = label_selector unless label_selector.nil?
|
1489
|
-
command.query['limit'] = limit unless limit.nil?
|
1490
|
-
command.query['resourceVersion'] = resource_version unless resource_version.nil?
|
1491
|
-
command.query['watch'] = watch unless watch.nil?
|
1492
|
-
command.query['fields'] = fields unless fields.nil?
|
1493
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1494
|
-
execute_or_queue_command(command, &block)
|
1495
|
-
end
|
1496
|
-
|
1497
2776
|
# Rpc to delete a revision.
|
1498
2777
|
# @param [String] name
|
1499
2778
|
# The name of the revision being deleted. If needed, replace
|
@@ -1846,6 +3125,9 @@ module Google
|
|
1846
3125
|
# Requests for policies with any conditional bindings must specify version 3.
|
1847
3126
|
# Policies without any conditional bindings may specify any valid value or
|
1848
3127
|
# leave the field unset.
|
3128
|
+
# To learn which resources support conditions in their IAM policies, see the
|
3129
|
+
# [IAM
|
3130
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
1849
3131
|
# @param [String] fields
|
1850
3132
|
# Selector specifying which fields to include in a partial response.
|
1851
3133
|
# @param [String] quota_user
|
@@ -2152,7 +3434,7 @@ module Google
|
|
2152
3434
|
# The project ID or project number from which the triggers should
|
2153
3435
|
# be listed.
|
2154
3436
|
# @param [String] continue
|
2155
|
-
# Optional
|
3437
|
+
# Optional. Encoded string to continue paging.
|
2156
3438
|
# @param [String] field_selector
|
2157
3439
|
# Allows to filter resources based on a specific value for a field name.
|
2158
3440
|
# Send this in a query string format. i.e. 'metadata.name%3Dlorem'.
|
@@ -2203,45 +3485,6 @@ module Google
|
|
2203
3485
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2204
3486
|
execute_or_queue_command(command, &block)
|
2205
3487
|
end
|
2206
|
-
|
2207
|
-
# Rpc to replace a trigger.
|
2208
|
-
# Only the spec and metadata labels and annotations are modifiable. After
|
2209
|
-
# the Update request, Cloud Run will work to make the 'status'
|
2210
|
-
# match the requested 'spec'.
|
2211
|
-
# May provide metadata.resourceVersion to enforce update from last read for
|
2212
|
-
# optimistic concurrency control.
|
2213
|
-
# @param [String] name
|
2214
|
-
# The name of the trigger being retrieved. If needed, replace
|
2215
|
-
# `namespace_id` with the project ID.
|
2216
|
-
# @param [Google::Apis::RunV1alpha1::Trigger] trigger_object
|
2217
|
-
# @param [String] fields
|
2218
|
-
# Selector specifying which fields to include in a partial response.
|
2219
|
-
# @param [String] quota_user
|
2220
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
2221
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
2222
|
-
# @param [Google::Apis::RequestOptions] options
|
2223
|
-
# Request-specific options
|
2224
|
-
#
|
2225
|
-
# @yield [result, err] Result & error if block supplied
|
2226
|
-
# @yieldparam result [Google::Apis::RunV1alpha1::Trigger] parsed result object
|
2227
|
-
# @yieldparam err [StandardError] error object if request failed
|
2228
|
-
#
|
2229
|
-
# @return [Google::Apis::RunV1alpha1::Trigger]
|
2230
|
-
#
|
2231
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
2232
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
2233
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
2234
|
-
def replace_project_location_trigger_trigger(name, trigger_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
2235
|
-
command = make_simple_command(:put, 'v1alpha1/{+name}', options)
|
2236
|
-
command.request_representation = Google::Apis::RunV1alpha1::Trigger::Representation
|
2237
|
-
command.request_object = trigger_object
|
2238
|
-
command.response_representation = Google::Apis::RunV1alpha1::Trigger::Representation
|
2239
|
-
command.response_class = Google::Apis::RunV1alpha1::Trigger
|
2240
|
-
command.params['name'] = name unless name.nil?
|
2241
|
-
command.query['fields'] = fields unless fields.nil?
|
2242
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
2243
|
-
execute_or_queue_command(command, &block)
|
2244
|
-
end
|
2245
3488
|
|
2246
3489
|
protected
|
2247
3490
|
|