google-api-client 0.36.4 → 0.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +1 -0
- data/CHANGELOG.md +184 -0
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
- 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/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -4
- data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
- 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/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
- data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
- data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
- data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
- data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
- data/generated/google/apis/bigquerydatatransfer_v1.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/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
- data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
- data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1.rb +2 -2
- data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1/service.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
- data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
- data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
- data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
- data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +429 -237
- data/generated/google/apis/compute_alpha/representations.rb +42 -3
- data/generated/google/apis/compute_alpha/service.rb +99 -32
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1054 -235
- data/generated/google/apis/compute_beta/representations.rb +266 -0
- data/generated/google/apis/compute_beta/service.rb +5821 -4671
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1118 -314
- data/generated/google/apis/compute_v1/representations.rb +313 -0
- data/generated/google/apis/compute_v1/service.rb +612 -24
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +247 -3
- data/generated/google/apis/container_v1/representations.rb +74 -0
- data/generated/google/apis/container_v1/service.rb +8 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +284 -80
- data/generated/google/apis/container_v1beta1/representations.rb +85 -0
- data/generated/google/apis/container_v1beta1/service.rb +129 -121
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +97 -0
- data/generated/google/apis/content_v2/representations.rb +47 -0
- data/generated/google/apis/content_v2/service.rb +33 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +191 -0
- data/generated/google/apis/content_v2_1/representations.rb +94 -0
- data/generated/google/apis/content_v2_1/service.rb +77 -0
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
- data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
- data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
- data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +156 -122
- data/generated/google/apis/dataproc_v1/service.rb +16 -14
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
- data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
- data/generated/google/apis/dialogflow_v2/service.rb +477 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +101 -92
- data/generated/google/apis/dlp_v2/service.rb +56 -56
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +275 -18
- data/generated/google/apis/docs_v1/representations.rb +75 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +1 -2
- data/generated/google/apis/drive_v2/service.rb +0 -92
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +1 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
- data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +4 -2
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +8 -4
- data/generated/google/apis/fitness_v1/service.rb +26 -8
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1.rb +13 -1
- data/generated/google/apis/gmail_v1/service.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
- data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +93 -23
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +66 -17
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +31 -33
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +106 -4
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +184 -0
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/ml_v1.rb +4 -1
- data/generated/google/apis/ml_v1/classes.rb +131 -26
- data/generated/google/apis/ml_v1/representations.rb +15 -0
- data/generated/google/apis/ml_v1/service.rb +2 -7
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +144 -109
- data/generated/google/apis/monitoring_v1/representations.rb +0 -18
- data/generated/google/apis/monitoring_v1/service.rb +11 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +211 -99
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +178 -153
- data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
- data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -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/oslogin_v1.rb +1 -2
- data/generated/google/apis/oslogin_v1/service.rb +0 -1
- data/generated/google/apis/oslogin_v1alpha.rb +1 -2
- data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -2
- data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
- data/generated/google/apis/pagespeedonline_v5.rb +9 -4
- data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
- data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
- data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +14 -13
- data/generated/google/apis/people_v1/service.rb +12 -16
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
- data/generated/google/apis/poly_v1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +119 -15
- data/generated/google/apis/pubsub_v1/representations.rb +17 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
- data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +10 -3
- data/generated/google/apis/redis_v1/representations.rb +1 -0
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
- data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
- data/generated/google/apis/redis_v1beta1/service.rb +36 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +49 -15
- data/generated/google/apis/run_v1/service.rb +0 -30
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
- data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
- data/generated/google/apis/run_v1alpha1/service.rb +272 -682
- data/generated/google/apis/run_v1beta1.rb +4 -1
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
- data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
- data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
- data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
- data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
- data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
- data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +195 -31
- data/generated/google/apis/sheets_v4/representations.rb +56 -0
- data/generated/google/apis/sheets_v4/service.rb +9 -11
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
- data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +49 -15
- data/generated/google/apis/spanner_v1/service.rb +1 -1
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +1 -8
- data/generated/google/apis/speech_v1/representations.rb +0 -1
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
- data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
- data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
- data/generated/google/apis/sql_v1beta4/service.rb +190 -9
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +16 -7
- data/generated/google/apis/storage_v1/service.rb +1 -1
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +1 -1
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
- data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
- data/generated/google/apis/tagmanager_v2.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/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -1
- data/generated/google/apis/toolresults_v1.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +0 -1
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
- data/generated/google/apis/translate_v3.rb +37 -0
- data/generated/google/apis/translate_v3/classes.rb +943 -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/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
- data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
- data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
- 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.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +61 -9
- data/generated/google/apis/youtube_v3/representations.rb +8 -1
- data/generated/google/apis/youtube_v3/service.rb +8 -2
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/lib/google/apis/core/base_service.rb +1 -1
- data/lib/google/apis/core/http_command.rb +1 -2
- data/lib/google/apis/version.rb +1 -1
- metadata +27 -27
- data/generated/google/apis/analytics_v2_4.rb +0 -37
- 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/plus_domains_v1.rb +0 -55
- 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/replicapool_v1beta1.rb +0 -50
- 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/servicebroker_v1/classes.rb +0 -368
- data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
- data/generated/google/apis/servicebroker_v1/service.rb +0 -177
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
- data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
|
@@ -1,416 +0,0 @@
|
|
|
1
|
-
# Copyright 2015 Google Inc.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
require 'date'
|
|
16
|
-
require 'google/apis/core/base_service'
|
|
17
|
-
require 'google/apis/core/json_representation'
|
|
18
|
-
require 'google/apis/core/hashable'
|
|
19
|
-
require 'google/apis/errors'
|
|
20
|
-
|
|
21
|
-
module Google
|
|
22
|
-
module Apis
|
|
23
|
-
module ServicebrokerV1beta1
|
|
24
|
-
|
|
25
|
-
class GoogleCloudServicebrokerV1beta1Binding
|
|
26
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
-
|
|
28
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
class GoogleCloudServicebrokerV1beta1Broker
|
|
32
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
-
|
|
34
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
-
end
|
|
36
|
-
|
|
37
|
-
class GoogleCloudServicebrokerV1beta1CreateBindingResponse
|
|
38
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
-
|
|
40
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
-
end
|
|
42
|
-
|
|
43
|
-
class GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse
|
|
44
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
45
|
-
|
|
46
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
47
|
-
end
|
|
48
|
-
|
|
49
|
-
class GoogleCloudServicebrokerV1beta1DashboardClient
|
|
50
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
-
|
|
52
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
-
end
|
|
54
|
-
|
|
55
|
-
class GoogleCloudServicebrokerV1beta1DeleteBindingResponse
|
|
56
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
-
|
|
58
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
-
end
|
|
60
|
-
|
|
61
|
-
class GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse
|
|
62
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
-
|
|
64
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
-
end
|
|
66
|
-
|
|
67
|
-
class GoogleCloudServicebrokerV1beta1GetBindingResponse
|
|
68
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
-
|
|
70
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
-
end
|
|
72
|
-
|
|
73
|
-
class GoogleCloudServicebrokerV1beta1ListBindingsResponse
|
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
-
|
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
-
end
|
|
78
|
-
|
|
79
|
-
class GoogleCloudServicebrokerV1beta1ListBrokersResponse
|
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
-
|
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
class GoogleCloudServicebrokerV1beta1ListCatalogResponse
|
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
-
|
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
-
end
|
|
90
|
-
|
|
91
|
-
class GoogleCloudServicebrokerV1beta1ListServiceInstancesResponse
|
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
93
|
-
|
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
95
|
-
end
|
|
96
|
-
|
|
97
|
-
class GoogleCloudServicebrokerV1beta1Operation
|
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
-
|
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
-
end
|
|
102
|
-
|
|
103
|
-
class GoogleCloudServicebrokerV1beta1Plan
|
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
105
|
-
|
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
107
|
-
end
|
|
108
|
-
|
|
109
|
-
class GoogleCloudServicebrokerV1beta1Service
|
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
111
|
-
|
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
class GoogleCloudServicebrokerV1beta1ServiceInstance
|
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
117
|
-
|
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
119
|
-
end
|
|
120
|
-
|
|
121
|
-
class GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse
|
|
122
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
|
-
|
|
124
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
125
|
-
end
|
|
126
|
-
|
|
127
|
-
class GoogleIamV1Binding
|
|
128
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
129
|
-
|
|
130
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
131
|
-
end
|
|
132
|
-
|
|
133
|
-
class GoogleIamV1Policy
|
|
134
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
135
|
-
|
|
136
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
137
|
-
end
|
|
138
|
-
|
|
139
|
-
class GoogleIamV1SetIamPolicyRequest
|
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
-
|
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
-
end
|
|
144
|
-
|
|
145
|
-
class GoogleIamV1TestIamPermissionsRequest
|
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
-
|
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
-
end
|
|
150
|
-
|
|
151
|
-
class GoogleIamV1TestIamPermissionsResponse
|
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
153
|
-
|
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
155
|
-
end
|
|
156
|
-
|
|
157
|
-
class GoogleProtobufEmpty
|
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
|
-
|
|
160
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
161
|
-
end
|
|
162
|
-
|
|
163
|
-
class GoogleTypeExpr
|
|
164
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
165
|
-
|
|
166
|
-
include Google::Apis::Core::JsonObjectSupport
|
|
167
|
-
end
|
|
168
|
-
|
|
169
|
-
class GoogleCloudServicebrokerV1beta1Binding
|
|
170
|
-
# @private
|
|
171
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
172
|
-
hash :bind_resource, as: 'bind_resource'
|
|
173
|
-
property :binding_id, as: 'binding_id'
|
|
174
|
-
property :create_time, as: 'createTime'
|
|
175
|
-
property :deployment_name, as: 'deploymentName'
|
|
176
|
-
hash :parameters, as: 'parameters'
|
|
177
|
-
property :plan_id, as: 'plan_id'
|
|
178
|
-
property :resource_name, as: 'resourceName'
|
|
179
|
-
property :service_id, as: 'service_id'
|
|
180
|
-
end
|
|
181
|
-
end
|
|
182
|
-
|
|
183
|
-
class GoogleCloudServicebrokerV1beta1Broker
|
|
184
|
-
# @private
|
|
185
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
186
|
-
property :create_time, as: 'createTime'
|
|
187
|
-
property :name, as: 'name'
|
|
188
|
-
property :title, as: 'title'
|
|
189
|
-
property :url, as: 'url'
|
|
190
|
-
end
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
class GoogleCloudServicebrokerV1beta1CreateBindingResponse
|
|
194
|
-
# @private
|
|
195
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
196
|
-
hash :credentials, as: 'credentials'
|
|
197
|
-
property :description, as: 'description'
|
|
198
|
-
property :operation, as: 'operation'
|
|
199
|
-
property :route_service_url, as: 'route_service_url'
|
|
200
|
-
property :syslog_drain_url, as: 'syslog_drain_url'
|
|
201
|
-
collection :volume_mounts, as: 'volume_mounts'
|
|
202
|
-
end
|
|
203
|
-
end
|
|
204
|
-
|
|
205
|
-
class GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse
|
|
206
|
-
# @private
|
|
207
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
208
|
-
property :description, as: 'description'
|
|
209
|
-
property :operation, as: 'operation'
|
|
210
|
-
end
|
|
211
|
-
end
|
|
212
|
-
|
|
213
|
-
class GoogleCloudServicebrokerV1beta1DashboardClient
|
|
214
|
-
# @private
|
|
215
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
216
|
-
property :id, as: 'id'
|
|
217
|
-
property :redirect_uri, as: 'redirect_uri'
|
|
218
|
-
property :secret, as: 'secret'
|
|
219
|
-
end
|
|
220
|
-
end
|
|
221
|
-
|
|
222
|
-
class GoogleCloudServicebrokerV1beta1DeleteBindingResponse
|
|
223
|
-
# @private
|
|
224
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
225
|
-
property :description, as: 'description'
|
|
226
|
-
property :operation, as: 'operation'
|
|
227
|
-
end
|
|
228
|
-
end
|
|
229
|
-
|
|
230
|
-
class GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse
|
|
231
|
-
# @private
|
|
232
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
233
|
-
property :description, as: 'description'
|
|
234
|
-
property :operation, as: 'operation'
|
|
235
|
-
end
|
|
236
|
-
end
|
|
237
|
-
|
|
238
|
-
class GoogleCloudServicebrokerV1beta1GetBindingResponse
|
|
239
|
-
# @private
|
|
240
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
241
|
-
hash :credentials, as: 'credentials'
|
|
242
|
-
property :deployment_name, as: 'deploymentName'
|
|
243
|
-
property :description, as: 'description'
|
|
244
|
-
property :resource_name, as: 'resourceName'
|
|
245
|
-
property :route_service_url, as: 'route_service_url'
|
|
246
|
-
property :syslog_drain_url, as: 'syslog_drain_url'
|
|
247
|
-
collection :volume_mounts, as: 'volume_mounts'
|
|
248
|
-
end
|
|
249
|
-
end
|
|
250
|
-
|
|
251
|
-
class GoogleCloudServicebrokerV1beta1ListBindingsResponse
|
|
252
|
-
# @private
|
|
253
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
254
|
-
collection :bindings, as: 'bindings', class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Binding, decorator: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Binding::Representation
|
|
255
|
-
|
|
256
|
-
property :description, as: 'description'
|
|
257
|
-
property :next_page_token, as: 'nextPageToken'
|
|
258
|
-
end
|
|
259
|
-
end
|
|
260
|
-
|
|
261
|
-
class GoogleCloudServicebrokerV1beta1ListBrokersResponse
|
|
262
|
-
# @private
|
|
263
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
264
|
-
collection :brokers, as: 'brokers', class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker, decorator: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker::Representation
|
|
265
|
-
|
|
266
|
-
property :next_page_token, as: 'nextPageToken'
|
|
267
|
-
end
|
|
268
|
-
end
|
|
269
|
-
|
|
270
|
-
class GoogleCloudServicebrokerV1beta1ListCatalogResponse
|
|
271
|
-
# @private
|
|
272
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
273
|
-
property :description, as: 'description'
|
|
274
|
-
property :next_page_token, as: 'nextPageToken'
|
|
275
|
-
collection :services, as: 'services', class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Service, decorator: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Service::Representation
|
|
276
|
-
|
|
277
|
-
end
|
|
278
|
-
end
|
|
279
|
-
|
|
280
|
-
class GoogleCloudServicebrokerV1beta1ListServiceInstancesResponse
|
|
281
|
-
# @private
|
|
282
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
283
|
-
property :description, as: 'description'
|
|
284
|
-
collection :instances, as: 'instances', class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance, decorator: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance::Representation
|
|
285
|
-
|
|
286
|
-
property :next_page_token, as: 'nextPageToken'
|
|
287
|
-
end
|
|
288
|
-
end
|
|
289
|
-
|
|
290
|
-
class GoogleCloudServicebrokerV1beta1Operation
|
|
291
|
-
# @private
|
|
292
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
293
|
-
property :description, as: 'description'
|
|
294
|
-
property :state, as: 'state'
|
|
295
|
-
end
|
|
296
|
-
end
|
|
297
|
-
|
|
298
|
-
class GoogleCloudServicebrokerV1beta1Plan
|
|
299
|
-
# @private
|
|
300
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
301
|
-
property :bindable, as: 'bindable'
|
|
302
|
-
property :description, as: 'description'
|
|
303
|
-
property :free, as: 'free'
|
|
304
|
-
property :id, as: 'id'
|
|
305
|
-
hash :metadata, as: 'metadata'
|
|
306
|
-
property :name, as: 'name'
|
|
307
|
-
hash :schemas, as: 'schemas'
|
|
308
|
-
end
|
|
309
|
-
end
|
|
310
|
-
|
|
311
|
-
class GoogleCloudServicebrokerV1beta1Service
|
|
312
|
-
# @private
|
|
313
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
314
|
-
property :bindable, as: 'bindable'
|
|
315
|
-
property :binding_retrievable, as: 'binding_retrievable'
|
|
316
|
-
property :bindings_retrievable, as: 'bindings_retrievable'
|
|
317
|
-
property :dashboard_client, as: 'dashboard_client', class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DashboardClient, decorator: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DashboardClient::Representation
|
|
318
|
-
|
|
319
|
-
property :description, as: 'description'
|
|
320
|
-
property :id, as: 'id'
|
|
321
|
-
property :instances_retrievable, as: 'instances_retrievable'
|
|
322
|
-
hash :metadata, as: 'metadata'
|
|
323
|
-
property :name, as: 'name'
|
|
324
|
-
property :plan_updateable, as: 'plan_updateable'
|
|
325
|
-
collection :plans, as: 'plans', class: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Plan, decorator: Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Plan::Representation
|
|
326
|
-
|
|
327
|
-
collection :tags, as: 'tags'
|
|
328
|
-
end
|
|
329
|
-
end
|
|
330
|
-
|
|
331
|
-
class GoogleCloudServicebrokerV1beta1ServiceInstance
|
|
332
|
-
# @private
|
|
333
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
334
|
-
hash :context, as: 'context'
|
|
335
|
-
property :create_time, as: 'createTime'
|
|
336
|
-
property :deployment_name, as: 'deploymentName'
|
|
337
|
-
property :description, as: 'description'
|
|
338
|
-
property :instance_id, as: 'instance_id'
|
|
339
|
-
property :organization_guid, as: 'organization_guid'
|
|
340
|
-
hash :parameters, as: 'parameters'
|
|
341
|
-
property :plan_id, as: 'plan_id'
|
|
342
|
-
hash :previous_values, as: 'previous_values'
|
|
343
|
-
property :resource_name, as: 'resourceName'
|
|
344
|
-
property :service_id, as: 'service_id'
|
|
345
|
-
property :space_guid, as: 'space_guid'
|
|
346
|
-
end
|
|
347
|
-
end
|
|
348
|
-
|
|
349
|
-
class GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse
|
|
350
|
-
# @private
|
|
351
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
352
|
-
property :description, as: 'description'
|
|
353
|
-
property :operation, as: 'operation'
|
|
354
|
-
end
|
|
355
|
-
end
|
|
356
|
-
|
|
357
|
-
class GoogleIamV1Binding
|
|
358
|
-
# @private
|
|
359
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
360
|
-
property :condition, as: 'condition', class: Google::Apis::ServicebrokerV1beta1::GoogleTypeExpr, decorator: Google::Apis::ServicebrokerV1beta1::GoogleTypeExpr::Representation
|
|
361
|
-
|
|
362
|
-
collection :members, as: 'members'
|
|
363
|
-
property :role, as: 'role'
|
|
364
|
-
end
|
|
365
|
-
end
|
|
366
|
-
|
|
367
|
-
class GoogleIamV1Policy
|
|
368
|
-
# @private
|
|
369
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
370
|
-
collection :bindings, as: 'bindings', class: Google::Apis::ServicebrokerV1beta1::GoogleIamV1Binding, decorator: Google::Apis::ServicebrokerV1beta1::GoogleIamV1Binding::Representation
|
|
371
|
-
|
|
372
|
-
property :etag, :base64 => true, as: 'etag'
|
|
373
|
-
property :version, as: 'version'
|
|
374
|
-
end
|
|
375
|
-
end
|
|
376
|
-
|
|
377
|
-
class GoogleIamV1SetIamPolicyRequest
|
|
378
|
-
# @private
|
|
379
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
380
|
-
property :policy, as: 'policy', class: Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy, decorator: Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy::Representation
|
|
381
|
-
|
|
382
|
-
end
|
|
383
|
-
end
|
|
384
|
-
|
|
385
|
-
class GoogleIamV1TestIamPermissionsRequest
|
|
386
|
-
# @private
|
|
387
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
388
|
-
collection :permissions, as: 'permissions'
|
|
389
|
-
end
|
|
390
|
-
end
|
|
391
|
-
|
|
392
|
-
class GoogleIamV1TestIamPermissionsResponse
|
|
393
|
-
# @private
|
|
394
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
395
|
-
collection :permissions, as: 'permissions'
|
|
396
|
-
end
|
|
397
|
-
end
|
|
398
|
-
|
|
399
|
-
class GoogleProtobufEmpty
|
|
400
|
-
# @private
|
|
401
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
402
|
-
end
|
|
403
|
-
end
|
|
404
|
-
|
|
405
|
-
class GoogleTypeExpr
|
|
406
|
-
# @private
|
|
407
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
|
408
|
-
property :description, as: 'description'
|
|
409
|
-
property :expression, as: 'expression'
|
|
410
|
-
property :location, as: 'location'
|
|
411
|
-
property :title, as: 'title'
|
|
412
|
-
end
|
|
413
|
-
end
|
|
414
|
-
end
|
|
415
|
-
end
|
|
416
|
-
end
|
|
@@ -1,926 +0,0 @@
|
|
|
1
|
-
# Copyright 2015 Google Inc.
|
|
2
|
-
#
|
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
# you may not use this file except in compliance with the License.
|
|
5
|
-
# You may obtain a copy of the License at
|
|
6
|
-
#
|
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
-
#
|
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
-
# See the License for the specific language governing permissions and
|
|
13
|
-
# limitations under the License.
|
|
14
|
-
|
|
15
|
-
require 'google/apis/core/base_service'
|
|
16
|
-
require 'google/apis/core/json_representation'
|
|
17
|
-
require 'google/apis/core/hashable'
|
|
18
|
-
require 'google/apis/errors'
|
|
19
|
-
|
|
20
|
-
module Google
|
|
21
|
-
module Apis
|
|
22
|
-
module ServicebrokerV1beta1
|
|
23
|
-
# Service Broker API
|
|
24
|
-
#
|
|
25
|
-
# The Google Cloud Platform Service Broker API provides Google hosted
|
|
26
|
-
# implementation of the Open Service Broker API
|
|
27
|
-
# (https://www.openservicebrokerapi.org/).
|
|
28
|
-
#
|
|
29
|
-
# @example
|
|
30
|
-
# require 'google/apis/servicebroker_v1beta1'
|
|
31
|
-
#
|
|
32
|
-
# Servicebroker = Google::Apis::ServicebrokerV1beta1 # Alias the module
|
|
33
|
-
# service = Servicebroker::ServiceBrokerService.new
|
|
34
|
-
#
|
|
35
|
-
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
|
36
|
-
class ServiceBrokerService < Google::Apis::Core::BaseService
|
|
37
|
-
# @return [String]
|
|
38
|
-
# API key. Your API key identifies your project and provides you with API access,
|
|
39
|
-
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
|
40
|
-
attr_accessor :key
|
|
41
|
-
|
|
42
|
-
# @return [String]
|
|
43
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
44
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
45
|
-
attr_accessor :quota_user
|
|
46
|
-
|
|
47
|
-
def initialize
|
|
48
|
-
super('https://servicebroker.googleapis.com/', '')
|
|
49
|
-
@batch_path = 'batch'
|
|
50
|
-
end
|
|
51
|
-
|
|
52
|
-
# CreateBroker creates a Broker.
|
|
53
|
-
# @param [String] parent
|
|
54
|
-
# The project in which to create broker.
|
|
55
|
-
# @param [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker] google_cloud_servicebroker_v1beta1__broker_object
|
|
56
|
-
# @param [String] fields
|
|
57
|
-
# Selector specifying which fields to include in a partial response.
|
|
58
|
-
# @param [String] quota_user
|
|
59
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
60
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
61
|
-
# @param [Google::Apis::RequestOptions] options
|
|
62
|
-
# Request-specific options
|
|
63
|
-
#
|
|
64
|
-
# @yield [result, err] Result & error if block supplied
|
|
65
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker] parsed result object
|
|
66
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
67
|
-
#
|
|
68
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker]
|
|
69
|
-
#
|
|
70
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
71
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
72
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
73
|
-
def create_project_broker(parent, google_cloud_servicebroker_v1beta1__broker_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
74
|
-
command = make_simple_command(:post, 'v1beta1/{+parent}/brokers', options)
|
|
75
|
-
command.request_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker::Representation
|
|
76
|
-
command.request_object = google_cloud_servicebroker_v1beta1__broker_object
|
|
77
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker::Representation
|
|
78
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Broker
|
|
79
|
-
command.params['parent'] = parent unless parent.nil?
|
|
80
|
-
command.query['fields'] = fields unless fields.nil?
|
|
81
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
82
|
-
execute_or_queue_command(command, &block)
|
|
83
|
-
end
|
|
84
|
-
|
|
85
|
-
# DeleteBroker deletes a Broker.
|
|
86
|
-
# @param [String] name
|
|
87
|
-
# The broker to delete.
|
|
88
|
-
# @param [String] fields
|
|
89
|
-
# Selector specifying which fields to include in a partial response.
|
|
90
|
-
# @param [String] quota_user
|
|
91
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
92
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
93
|
-
# @param [Google::Apis::RequestOptions] options
|
|
94
|
-
# Request-specific options
|
|
95
|
-
#
|
|
96
|
-
# @yield [result, err] Result & error if block supplied
|
|
97
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleProtobufEmpty] parsed result object
|
|
98
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
99
|
-
#
|
|
100
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleProtobufEmpty]
|
|
101
|
-
#
|
|
102
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
103
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
104
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
105
|
-
def delete_project_broker(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
106
|
-
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
107
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleProtobufEmpty::Representation
|
|
108
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleProtobufEmpty
|
|
109
|
-
command.params['name'] = name unless name.nil?
|
|
110
|
-
command.query['fields'] = fields unless fields.nil?
|
|
111
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
112
|
-
execute_or_queue_command(command, &block)
|
|
113
|
-
end
|
|
114
|
-
|
|
115
|
-
# ListBrokers lists brokers.
|
|
116
|
-
# @param [String] parent
|
|
117
|
-
# Parent must match `projects/[PROJECT_ID]/brokers`.
|
|
118
|
-
# @param [Fixnum] page_size
|
|
119
|
-
# Specifies the number of results to return per page. If there are fewer
|
|
120
|
-
# elements than the specified number, returns all elements.
|
|
121
|
-
# Optional. Acceptable values are 0 to 200, inclusive. (Default: 100)
|
|
122
|
-
# @param [String] page_token
|
|
123
|
-
# Specifies a page token to use. Set `pageToken` to a `nextPageToken`
|
|
124
|
-
# returned by a previous list request to get the next page of results.
|
|
125
|
-
# @param [String] fields
|
|
126
|
-
# Selector specifying which fields to include in a partial response.
|
|
127
|
-
# @param [String] quota_user
|
|
128
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
129
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
130
|
-
# @param [Google::Apis::RequestOptions] options
|
|
131
|
-
# Request-specific options
|
|
132
|
-
#
|
|
133
|
-
# @yield [result, err] Result & error if block supplied
|
|
134
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBrokersResponse] parsed result object
|
|
135
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
136
|
-
#
|
|
137
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBrokersResponse]
|
|
138
|
-
#
|
|
139
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
140
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
141
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
142
|
-
def list_project_brokers(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
143
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/brokers', options)
|
|
144
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBrokersResponse::Representation
|
|
145
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBrokersResponse
|
|
146
|
-
command.params['parent'] = parent unless parent.nil?
|
|
147
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
148
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
149
|
-
command.query['fields'] = fields unless fields.nil?
|
|
150
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
151
|
-
execute_or_queue_command(command, &block)
|
|
152
|
-
end
|
|
153
|
-
|
|
154
|
-
# Gets the given service instance from the system.
|
|
155
|
-
# The API call accepts both OSB style API and standard google style API
|
|
156
|
-
# resource path.
|
|
157
|
-
# i.e. both `projects/*/brokers/*/instances/*`
|
|
158
|
-
# and `projects/*/brokers/*/v2/service_instances/*` are acceptable paths.
|
|
159
|
-
# @param [String] name
|
|
160
|
-
# The resource name of the instance to return.
|
|
161
|
-
# Name must match
|
|
162
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/` +
|
|
163
|
-
# `v2/service_instances/[INSTANCE_ID]`
|
|
164
|
-
# or
|
|
165
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/instances/[INSTANCE_ID]`.
|
|
166
|
-
# @param [String] fields
|
|
167
|
-
# Selector specifying which fields to include in a partial response.
|
|
168
|
-
# @param [String] quota_user
|
|
169
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
170
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
171
|
-
# @param [Google::Apis::RequestOptions] options
|
|
172
|
-
# Request-specific options
|
|
173
|
-
#
|
|
174
|
-
# @yield [result, err] Result & error if block supplied
|
|
175
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance] parsed result object
|
|
176
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
177
|
-
#
|
|
178
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance]
|
|
179
|
-
#
|
|
180
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
181
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
182
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
183
|
-
def get_project_broker_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
184
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
185
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance::Representation
|
|
186
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance
|
|
187
|
-
command.params['name'] = name unless name.nil?
|
|
188
|
-
command.query['fields'] = fields unless fields.nil?
|
|
189
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
190
|
-
execute_or_queue_command(command, &block)
|
|
191
|
-
end
|
|
192
|
-
|
|
193
|
-
# Returns the state of the last operation for the service instance.
|
|
194
|
-
# Only last (or current) operation can be polled.
|
|
195
|
-
# @param [String] name
|
|
196
|
-
# Name must match
|
|
197
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/v2/`+
|
|
198
|
-
# `service_instances/[INSTANCE_ID]`.
|
|
199
|
-
# @param [String] operation
|
|
200
|
-
# If `operation` was returned during mutation operation, this field must be
|
|
201
|
-
# populated with the provided value.
|
|
202
|
-
# @param [String] plan_id
|
|
203
|
-
# Plan id.
|
|
204
|
-
# @param [String] service_id
|
|
205
|
-
# Service id.
|
|
206
|
-
# @param [String] fields
|
|
207
|
-
# Selector specifying which fields to include in a partial response.
|
|
208
|
-
# @param [String] quota_user
|
|
209
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
210
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
211
|
-
# @param [Google::Apis::RequestOptions] options
|
|
212
|
-
# Request-specific options
|
|
213
|
-
#
|
|
214
|
-
# @yield [result, err] Result & error if block supplied
|
|
215
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation] parsed result object
|
|
216
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
217
|
-
#
|
|
218
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation]
|
|
219
|
-
#
|
|
220
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
221
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
222
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
223
|
-
def get_project_broker_instance_last_operation(name, operation: nil, plan_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
224
|
-
command = make_simple_command(:get, 'v1beta1/{+name}/last_operation', options)
|
|
225
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation::Representation
|
|
226
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation
|
|
227
|
-
command.params['name'] = name unless name.nil?
|
|
228
|
-
command.query['operation'] = operation unless operation.nil?
|
|
229
|
-
command.query['planId'] = plan_id unless plan_id.nil?
|
|
230
|
-
command.query['serviceId'] = service_id unless service_id.nil?
|
|
231
|
-
command.query['fields'] = fields unless fields.nil?
|
|
232
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
233
|
-
execute_or_queue_command(command, &block)
|
|
234
|
-
end
|
|
235
|
-
|
|
236
|
-
# Lists all the instances in the brokers
|
|
237
|
-
# This API is an extension and not part of the OSB spec.
|
|
238
|
-
# Hence the path is a standard Google API URL.
|
|
239
|
-
# @param [String] parent
|
|
240
|
-
# Parent must match `projects/[PROJECT_ID]/brokers/[BROKER_ID]`.
|
|
241
|
-
# @param [Fixnum] page_size
|
|
242
|
-
# Specifies the number of results to return per page. If there are fewer
|
|
243
|
-
# elements than the specified number, returns all elements.
|
|
244
|
-
# Optional. Acceptable values are 0 to 200, inclusive. (Default: 100)
|
|
245
|
-
# @param [String] page_token
|
|
246
|
-
# Specifies a page token to use. Set `pageToken` to a `nextPageToken`
|
|
247
|
-
# returned by a previous list request to get the next page of results.
|
|
248
|
-
# @param [String] fields
|
|
249
|
-
# Selector specifying which fields to include in a partial response.
|
|
250
|
-
# @param [String] quota_user
|
|
251
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
252
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
253
|
-
# @param [Google::Apis::RequestOptions] options
|
|
254
|
-
# Request-specific options
|
|
255
|
-
#
|
|
256
|
-
# @yield [result, err] Result & error if block supplied
|
|
257
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListServiceInstancesResponse] parsed result object
|
|
258
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
259
|
-
#
|
|
260
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListServiceInstancesResponse]
|
|
261
|
-
#
|
|
262
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
263
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
264
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
265
|
-
def list_project_broker_instances(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
266
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/instances', options)
|
|
267
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListServiceInstancesResponse::Representation
|
|
268
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListServiceInstancesResponse
|
|
269
|
-
command.params['parent'] = parent unless parent.nil?
|
|
270
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
271
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
272
|
-
command.query['fields'] = fields unless fields.nil?
|
|
273
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
274
|
-
execute_or_queue_command(command, &block)
|
|
275
|
-
end
|
|
276
|
-
|
|
277
|
-
# Returns the state of the last operation for the binding.
|
|
278
|
-
# Only last (or current) operation can be polled.
|
|
279
|
-
# @param [String] name
|
|
280
|
-
# Name must match
|
|
281
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/v2/service_instances/[INSTANCE_ID]/
|
|
282
|
-
# service_binding/[BINDING_ID]`.
|
|
283
|
-
# @param [String] operation
|
|
284
|
-
# If `operation` was returned during mutation operation, this field must be
|
|
285
|
-
# populated with the provided value.
|
|
286
|
-
# @param [String] plan_id
|
|
287
|
-
# Plan id.
|
|
288
|
-
# @param [String] service_id
|
|
289
|
-
# Service id.
|
|
290
|
-
# @param [String] fields
|
|
291
|
-
# Selector specifying which fields to include in a partial response.
|
|
292
|
-
# @param [String] quota_user
|
|
293
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
294
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
295
|
-
# @param [Google::Apis::RequestOptions] options
|
|
296
|
-
# Request-specific options
|
|
297
|
-
#
|
|
298
|
-
# @yield [result, err] Result & error if block supplied
|
|
299
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation] parsed result object
|
|
300
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
301
|
-
#
|
|
302
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation]
|
|
303
|
-
#
|
|
304
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
305
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
306
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
307
|
-
def get_project_broker_instance_binding_last_operation(name, operation: nil, plan_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
308
|
-
command = make_simple_command(:get, 'v1beta1/{+name}/last_operation', options)
|
|
309
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation::Representation
|
|
310
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation
|
|
311
|
-
command.params['name'] = name unless name.nil?
|
|
312
|
-
command.query['operation'] = operation unless operation.nil?
|
|
313
|
-
command.query['planId'] = plan_id unless plan_id.nil?
|
|
314
|
-
command.query['serviceId'] = service_id unless service_id.nil?
|
|
315
|
-
command.query['fields'] = fields unless fields.nil?
|
|
316
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
317
|
-
execute_or_queue_command(command, &block)
|
|
318
|
-
end
|
|
319
|
-
|
|
320
|
-
# Lists all the bindings in the instance.
|
|
321
|
-
# @param [String] parent
|
|
322
|
-
# Parent must match
|
|
323
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/` +
|
|
324
|
-
# `v2/service_instances/[INSTANCE_ID]`
|
|
325
|
-
# or
|
|
326
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/instances/[INSTANCE_ID]`.
|
|
327
|
-
# @param [Fixnum] page_size
|
|
328
|
-
# Specifies the number of results to return per page. If there are fewer
|
|
329
|
-
# elements than the specified number, returns all elements.
|
|
330
|
-
# Optional. Acceptable values are 0 to 200, inclusive. (Default: 100)
|
|
331
|
-
# @param [String] page_token
|
|
332
|
-
# Specifies a page token to use. Set `pageToken` to a `nextPageToken`
|
|
333
|
-
# returned by a previous list request to get the next page of results.
|
|
334
|
-
# @param [String] fields
|
|
335
|
-
# Selector specifying which fields to include in a partial response.
|
|
336
|
-
# @param [String] quota_user
|
|
337
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
338
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
339
|
-
# @param [Google::Apis::RequestOptions] options
|
|
340
|
-
# Request-specific options
|
|
341
|
-
#
|
|
342
|
-
# @yield [result, err] Result & error if block supplied
|
|
343
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBindingsResponse] parsed result object
|
|
344
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
345
|
-
#
|
|
346
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBindingsResponse]
|
|
347
|
-
#
|
|
348
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
349
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
350
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
351
|
-
def list_project_broker_instance_bindings(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
352
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/bindings', options)
|
|
353
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBindingsResponse::Representation
|
|
354
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListBindingsResponse
|
|
355
|
-
command.params['parent'] = parent unless parent.nil?
|
|
356
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
357
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
358
|
-
command.query['fields'] = fields unless fields.nil?
|
|
359
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
360
|
-
execute_or_queue_command(command, &block)
|
|
361
|
-
end
|
|
362
|
-
|
|
363
|
-
# Lists all the Services registered with this broker for consumption for
|
|
364
|
-
# given service registry broker, which contains an set of services.
|
|
365
|
-
# Note, that Service producer API is separate from Broker API.
|
|
366
|
-
# @param [String] parent
|
|
367
|
-
# Parent must match `projects/[PROJECT_ID]/brokers/[BROKER_ID]`.
|
|
368
|
-
# @param [Fixnum] page_size
|
|
369
|
-
# Specifies the number of results to return per page. If there are fewer
|
|
370
|
-
# elements than the specified number, returns all elements.
|
|
371
|
-
# Optional. If unset or 0, all the results will be returned.
|
|
372
|
-
# @param [String] page_token
|
|
373
|
-
# Specifies a page token to use. Set `pageToken` to a `nextPageToken`
|
|
374
|
-
# returned by a previous list request to get the next page of results.
|
|
375
|
-
# @param [String] fields
|
|
376
|
-
# Selector specifying which fields to include in a partial response.
|
|
377
|
-
# @param [String] quota_user
|
|
378
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
379
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
380
|
-
# @param [Google::Apis::RequestOptions] options
|
|
381
|
-
# Request-specific options
|
|
382
|
-
#
|
|
383
|
-
# @yield [result, err] Result & error if block supplied
|
|
384
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListCatalogResponse] parsed result object
|
|
385
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
386
|
-
#
|
|
387
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListCatalogResponse]
|
|
388
|
-
#
|
|
389
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
390
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
391
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
392
|
-
def list_project_broker_v2_catalogs(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
393
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/v2/catalog', options)
|
|
394
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListCatalogResponse::Representation
|
|
395
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ListCatalogResponse
|
|
396
|
-
command.params['parent'] = parent unless parent.nil?
|
|
397
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
|
398
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
|
399
|
-
command.query['fields'] = fields unless fields.nil?
|
|
400
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
401
|
-
execute_or_queue_command(command, &block)
|
|
402
|
-
end
|
|
403
|
-
|
|
404
|
-
# Provisions a service instance.
|
|
405
|
-
# If `request.accepts_incomplete` is false and Broker cannot execute request
|
|
406
|
-
# synchronously HTTP 422 error will be returned along with
|
|
407
|
-
# FAILED_PRECONDITION status.
|
|
408
|
-
# If `request.accepts_incomplete` is true and the Broker decides to execute
|
|
409
|
-
# resource asynchronously then HTTP 202 response code will be returned and a
|
|
410
|
-
# valid polling operation in the response will be included.
|
|
411
|
-
# If Broker executes the request synchronously and it succeeds HTTP 201
|
|
412
|
-
# response will be furnished.
|
|
413
|
-
# If identical instance exists, then HTTP 200 response will be returned.
|
|
414
|
-
# If an instance with identical ID but mismatching parameters exists, then
|
|
415
|
-
# HTTP 409 status code will be returned.
|
|
416
|
-
# @param [String] parent
|
|
417
|
-
# Parent must match `projects/[PROJECT_ID]/brokers/[BROKER_ID]`.
|
|
418
|
-
# @param [String] instance_id
|
|
419
|
-
# The id of the service instance. Must be unique within GCP project.
|
|
420
|
-
# Maximum length is 64, GUID recommended.
|
|
421
|
-
# Required.
|
|
422
|
-
# @param [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance] google_cloud_servicebroker_v1beta1__service_instance_object
|
|
423
|
-
# @param [Boolean] accepts_incomplete
|
|
424
|
-
# Value indicating that API client supports asynchronous operations. If
|
|
425
|
-
# Broker cannot execute the request synchronously HTTP 422 code will be
|
|
426
|
-
# returned to HTTP clients along with FAILED_PRECONDITION error.
|
|
427
|
-
# If true and broker will execute request asynchronously 202 HTTP code will
|
|
428
|
-
# be returned.
|
|
429
|
-
# This broker always requires this to be true as all mutator operations are
|
|
430
|
-
# asynchronous.
|
|
431
|
-
# @param [String] fields
|
|
432
|
-
# Selector specifying which fields to include in a partial response.
|
|
433
|
-
# @param [String] quota_user
|
|
434
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
435
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
436
|
-
# @param [Google::Apis::RequestOptions] options
|
|
437
|
-
# Request-specific options
|
|
438
|
-
#
|
|
439
|
-
# @yield [result, err] Result & error if block supplied
|
|
440
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse] parsed result object
|
|
441
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
442
|
-
#
|
|
443
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse]
|
|
444
|
-
#
|
|
445
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
446
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
447
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
448
|
-
def create_project_broker_v2_service_instance(parent, instance_id, google_cloud_servicebroker_v1beta1__service_instance_object = nil, accepts_incomplete: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
449
|
-
command = make_simple_command(:put, 'v1beta1/{+parent}/v2/service_instances/{+instance_id}', options)
|
|
450
|
-
command.request_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance::Representation
|
|
451
|
-
command.request_object = google_cloud_servicebroker_v1beta1__service_instance_object
|
|
452
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse::Representation
|
|
453
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateServiceInstanceResponse
|
|
454
|
-
command.params['parent'] = parent unless parent.nil?
|
|
455
|
-
command.params['instance_id'] = instance_id unless instance_id.nil?
|
|
456
|
-
command.query['acceptsIncomplete'] = accepts_incomplete unless accepts_incomplete.nil?
|
|
457
|
-
command.query['fields'] = fields unless fields.nil?
|
|
458
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
459
|
-
execute_or_queue_command(command, &block)
|
|
460
|
-
end
|
|
461
|
-
|
|
462
|
-
# Deprovisions a service instance.
|
|
463
|
-
# For synchronous/asynchronous request details see CreateServiceInstance
|
|
464
|
-
# method.
|
|
465
|
-
# If service instance does not exist HTTP 410 status will be returned.
|
|
466
|
-
# @param [String] name
|
|
467
|
-
# Name must match
|
|
468
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/` +
|
|
469
|
-
# `v2/service_instances/[INSTANCE_ID]`
|
|
470
|
-
# or
|
|
471
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/instances/[INSTANCE_ID]`.
|
|
472
|
-
# @param [Boolean] accepts_incomplete
|
|
473
|
-
# See CreateServiceInstanceRequest for details.
|
|
474
|
-
# @param [String] plan_id
|
|
475
|
-
# The plan id of the service instance.
|
|
476
|
-
# @param [String] service_id
|
|
477
|
-
# The service id of the service instance.
|
|
478
|
-
# @param [String] fields
|
|
479
|
-
# Selector specifying which fields to include in a partial response.
|
|
480
|
-
# @param [String] quota_user
|
|
481
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
482
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
483
|
-
# @param [Google::Apis::RequestOptions] options
|
|
484
|
-
# Request-specific options
|
|
485
|
-
#
|
|
486
|
-
# @yield [result, err] Result & error if block supplied
|
|
487
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse] parsed result object
|
|
488
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
489
|
-
#
|
|
490
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse]
|
|
491
|
-
#
|
|
492
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
493
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
494
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
495
|
-
def delete_project_broker_v2_service_instance(name, accepts_incomplete: nil, plan_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
496
|
-
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
497
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse::Representation
|
|
498
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteServiceInstanceResponse
|
|
499
|
-
command.params['name'] = name unless name.nil?
|
|
500
|
-
command.query['acceptsIncomplete'] = accepts_incomplete unless accepts_incomplete.nil?
|
|
501
|
-
command.query['planId'] = plan_id unless plan_id.nil?
|
|
502
|
-
command.query['serviceId'] = service_id unless service_id.nil?
|
|
503
|
-
command.query['fields'] = fields unless fields.nil?
|
|
504
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
505
|
-
execute_or_queue_command(command, &block)
|
|
506
|
-
end
|
|
507
|
-
|
|
508
|
-
# Gets the given service instance from the system.
|
|
509
|
-
# The API call accepts both OSB style API and standard google style API
|
|
510
|
-
# resource path.
|
|
511
|
-
# i.e. both `projects/*/brokers/*/instances/*`
|
|
512
|
-
# and `projects/*/brokers/*/v2/service_instances/*` are acceptable paths.
|
|
513
|
-
# @param [String] name
|
|
514
|
-
# The resource name of the instance to return.
|
|
515
|
-
# Name must match
|
|
516
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/` +
|
|
517
|
-
# `v2/service_instances/[INSTANCE_ID]`
|
|
518
|
-
# or
|
|
519
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/instances/[INSTANCE_ID]`.
|
|
520
|
-
# @param [String] fields
|
|
521
|
-
# Selector specifying which fields to include in a partial response.
|
|
522
|
-
# @param [String] quota_user
|
|
523
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
524
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
525
|
-
# @param [Google::Apis::RequestOptions] options
|
|
526
|
-
# Request-specific options
|
|
527
|
-
#
|
|
528
|
-
# @yield [result, err] Result & error if block supplied
|
|
529
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance] parsed result object
|
|
530
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
531
|
-
#
|
|
532
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance]
|
|
533
|
-
#
|
|
534
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
535
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
536
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
537
|
-
def get_project_broker_v2_service_instance(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
538
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
539
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance::Representation
|
|
540
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance
|
|
541
|
-
command.params['name'] = name unless name.nil?
|
|
542
|
-
command.query['fields'] = fields unless fields.nil?
|
|
543
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
544
|
-
execute_or_queue_command(command, &block)
|
|
545
|
-
end
|
|
546
|
-
|
|
547
|
-
# Returns the state of the last operation for the service instance.
|
|
548
|
-
# Only last (or current) operation can be polled.
|
|
549
|
-
# @param [String] name
|
|
550
|
-
# Name must match
|
|
551
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/v2/`+
|
|
552
|
-
# `service_instances/[INSTANCE_ID]`.
|
|
553
|
-
# @param [String] operation
|
|
554
|
-
# If `operation` was returned during mutation operation, this field must be
|
|
555
|
-
# populated with the provided value.
|
|
556
|
-
# @param [String] plan_id
|
|
557
|
-
# Plan id.
|
|
558
|
-
# @param [String] service_id
|
|
559
|
-
# Service id.
|
|
560
|
-
# @param [String] fields
|
|
561
|
-
# Selector specifying which fields to include in a partial response.
|
|
562
|
-
# @param [String] quota_user
|
|
563
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
564
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
565
|
-
# @param [Google::Apis::RequestOptions] options
|
|
566
|
-
# Request-specific options
|
|
567
|
-
#
|
|
568
|
-
# @yield [result, err] Result & error if block supplied
|
|
569
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation] parsed result object
|
|
570
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
571
|
-
#
|
|
572
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation]
|
|
573
|
-
#
|
|
574
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
575
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
576
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
577
|
-
def get_project_broker_v2_service_instance_last_operation(name, operation: nil, plan_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
578
|
-
command = make_simple_command(:get, 'v1beta1/{+name}/last_operation', options)
|
|
579
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation::Representation
|
|
580
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation
|
|
581
|
-
command.params['name'] = name unless name.nil?
|
|
582
|
-
command.query['operation'] = operation unless operation.nil?
|
|
583
|
-
command.query['planId'] = plan_id unless plan_id.nil?
|
|
584
|
-
command.query['serviceId'] = service_id unless service_id.nil?
|
|
585
|
-
command.query['fields'] = fields unless fields.nil?
|
|
586
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
587
|
-
execute_or_queue_command(command, &block)
|
|
588
|
-
end
|
|
589
|
-
|
|
590
|
-
# Updates an existing service instance.
|
|
591
|
-
# See CreateServiceInstance for possible response codes.
|
|
592
|
-
# @param [String] name
|
|
593
|
-
# Name must match
|
|
594
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/v2/service_instances/[INSTANCE_ID]`.
|
|
595
|
-
# @param [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance] google_cloud_servicebroker_v1beta1__service_instance_object
|
|
596
|
-
# @param [Boolean] accepts_incomplete
|
|
597
|
-
# See CreateServiceInstanceRequest for details.
|
|
598
|
-
# @param [String] fields
|
|
599
|
-
# Selector specifying which fields to include in a partial response.
|
|
600
|
-
# @param [String] quota_user
|
|
601
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
602
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
603
|
-
# @param [Google::Apis::RequestOptions] options
|
|
604
|
-
# Request-specific options
|
|
605
|
-
#
|
|
606
|
-
# @yield [result, err] Result & error if block supplied
|
|
607
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse] parsed result object
|
|
608
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
609
|
-
#
|
|
610
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse]
|
|
611
|
-
#
|
|
612
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
613
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
614
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
615
|
-
def patch_project_broker_v2_service_instance(name, google_cloud_servicebroker_v1beta1__service_instance_object = nil, accepts_incomplete: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
616
|
-
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
|
617
|
-
command.request_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1ServiceInstance::Representation
|
|
618
|
-
command.request_object = google_cloud_servicebroker_v1beta1__service_instance_object
|
|
619
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse::Representation
|
|
620
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1UpdateServiceInstanceResponse
|
|
621
|
-
command.params['name'] = name unless name.nil?
|
|
622
|
-
command.query['acceptsIncomplete'] = accepts_incomplete unless accepts_incomplete.nil?
|
|
623
|
-
command.query['fields'] = fields unless fields.nil?
|
|
624
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
625
|
-
execute_or_queue_command(command, &block)
|
|
626
|
-
end
|
|
627
|
-
|
|
628
|
-
# CreateBinding generates a service binding to an existing service instance.
|
|
629
|
-
# See ProviServiceInstance for async operation details.
|
|
630
|
-
# @param [String] parent
|
|
631
|
-
# The GCP container.
|
|
632
|
-
# Must match
|
|
633
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/v2/service_instances/[INSTANCE_ID]`.
|
|
634
|
-
# @param [String] binding_id
|
|
635
|
-
# The id of the binding. Must be unique within GCP project.
|
|
636
|
-
# Maximum length is 64, GUID recommended.
|
|
637
|
-
# Required.
|
|
638
|
-
# @param [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Binding] google_cloud_servicebroker_v1beta1__binding_object
|
|
639
|
-
# @param [Boolean] accepts_incomplete
|
|
640
|
-
# See CreateServiceInstanceRequest for details.
|
|
641
|
-
# @param [String] fields
|
|
642
|
-
# Selector specifying which fields to include in a partial response.
|
|
643
|
-
# @param [String] quota_user
|
|
644
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
645
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
646
|
-
# @param [Google::Apis::RequestOptions] options
|
|
647
|
-
# Request-specific options
|
|
648
|
-
#
|
|
649
|
-
# @yield [result, err] Result & error if block supplied
|
|
650
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateBindingResponse] parsed result object
|
|
651
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
652
|
-
#
|
|
653
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateBindingResponse]
|
|
654
|
-
#
|
|
655
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
656
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
657
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
658
|
-
def create_project_broker_v2_service_instance_service_binding(parent, binding_id, google_cloud_servicebroker_v1beta1__binding_object = nil, accepts_incomplete: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
659
|
-
command = make_simple_command(:put, 'v1beta1/{+parent}/service_bindings/{+binding_id}', options)
|
|
660
|
-
command.request_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Binding::Representation
|
|
661
|
-
command.request_object = google_cloud_servicebroker_v1beta1__binding_object
|
|
662
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateBindingResponse::Representation
|
|
663
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1CreateBindingResponse
|
|
664
|
-
command.params['parent'] = parent unless parent.nil?
|
|
665
|
-
command.params['binding_id'] = binding_id unless binding_id.nil?
|
|
666
|
-
command.query['acceptsIncomplete'] = accepts_incomplete unless accepts_incomplete.nil?
|
|
667
|
-
command.query['fields'] = fields unless fields.nil?
|
|
668
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
669
|
-
execute_or_queue_command(command, &block)
|
|
670
|
-
end
|
|
671
|
-
|
|
672
|
-
# Unbinds from a service instance.
|
|
673
|
-
# For synchronous/asynchronous request details see CreateServiceInstance
|
|
674
|
-
# method.
|
|
675
|
-
# If binding does not exist HTTP 410 status will be returned.
|
|
676
|
-
# @param [String] name
|
|
677
|
-
# Name must match
|
|
678
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/`
|
|
679
|
-
# `v2/service_instances/[INSTANCE_ID]/service_bindings/[BINDING_ID]`
|
|
680
|
-
# or
|
|
681
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/`
|
|
682
|
-
# `/instances/[INSTANCE_ID]/bindings/[BINDING_ID]`.
|
|
683
|
-
# @param [Boolean] accepts_incomplete
|
|
684
|
-
# See CreateServiceInstanceRequest for details.
|
|
685
|
-
# @param [String] plan_id
|
|
686
|
-
# The plan id of the service instance.
|
|
687
|
-
# @param [String] service_id
|
|
688
|
-
# Additional query parameter hints.
|
|
689
|
-
# The service id of the service instance.
|
|
690
|
-
# @param [String] fields
|
|
691
|
-
# Selector specifying which fields to include in a partial response.
|
|
692
|
-
# @param [String] quota_user
|
|
693
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
694
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
695
|
-
# @param [Google::Apis::RequestOptions] options
|
|
696
|
-
# Request-specific options
|
|
697
|
-
#
|
|
698
|
-
# @yield [result, err] Result & error if block supplied
|
|
699
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteBindingResponse] parsed result object
|
|
700
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
701
|
-
#
|
|
702
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteBindingResponse]
|
|
703
|
-
#
|
|
704
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
705
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
706
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
707
|
-
def delete_project_broker_v2_service_instance_service_binding(name, accepts_incomplete: nil, plan_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
708
|
-
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
|
709
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteBindingResponse::Representation
|
|
710
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1DeleteBindingResponse
|
|
711
|
-
command.params['name'] = name unless name.nil?
|
|
712
|
-
command.query['acceptsIncomplete'] = accepts_incomplete unless accepts_incomplete.nil?
|
|
713
|
-
command.query['planId'] = plan_id unless plan_id.nil?
|
|
714
|
-
command.query['serviceId'] = service_id unless service_id.nil?
|
|
715
|
-
command.query['fields'] = fields unless fields.nil?
|
|
716
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
717
|
-
execute_or_queue_command(command, &block)
|
|
718
|
-
end
|
|
719
|
-
|
|
720
|
-
# GetBinding returns the binding information.
|
|
721
|
-
# @param [String] name
|
|
722
|
-
# Name must match
|
|
723
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/v2/service_instances/[INSTANCE_ID]/
|
|
724
|
-
# service_bindings`.
|
|
725
|
-
# @param [String] plan_id
|
|
726
|
-
# Plan id.
|
|
727
|
-
# @param [String] service_id
|
|
728
|
-
# Service id.
|
|
729
|
-
# @param [String] fields
|
|
730
|
-
# Selector specifying which fields to include in a partial response.
|
|
731
|
-
# @param [String] quota_user
|
|
732
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
733
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
734
|
-
# @param [Google::Apis::RequestOptions] options
|
|
735
|
-
# Request-specific options
|
|
736
|
-
#
|
|
737
|
-
# @yield [result, err] Result & error if block supplied
|
|
738
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1GetBindingResponse] parsed result object
|
|
739
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
740
|
-
#
|
|
741
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1GetBindingResponse]
|
|
742
|
-
#
|
|
743
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
744
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
745
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
746
|
-
def get_project_broker_v2_service_instance_service_binding(name, plan_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
747
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
|
748
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1GetBindingResponse::Representation
|
|
749
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1GetBindingResponse
|
|
750
|
-
command.params['name'] = name unless name.nil?
|
|
751
|
-
command.query['planId'] = plan_id unless plan_id.nil?
|
|
752
|
-
command.query['serviceId'] = service_id unless service_id.nil?
|
|
753
|
-
command.query['fields'] = fields unless fields.nil?
|
|
754
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
755
|
-
execute_or_queue_command(command, &block)
|
|
756
|
-
end
|
|
757
|
-
|
|
758
|
-
# Returns the state of the last operation for the binding.
|
|
759
|
-
# Only last (or current) operation can be polled.
|
|
760
|
-
# @param [String] name
|
|
761
|
-
# Name must match
|
|
762
|
-
# `projects/[PROJECT_ID]/brokers/[BROKER_ID]/v2/service_instances/[INSTANCE_ID]/
|
|
763
|
-
# service_binding/[BINDING_ID]`.
|
|
764
|
-
# @param [String] operation
|
|
765
|
-
# If `operation` was returned during mutation operation, this field must be
|
|
766
|
-
# populated with the provided value.
|
|
767
|
-
# @param [String] plan_id
|
|
768
|
-
# Plan id.
|
|
769
|
-
# @param [String] service_id
|
|
770
|
-
# Service id.
|
|
771
|
-
# @param [String] fields
|
|
772
|
-
# Selector specifying which fields to include in a partial response.
|
|
773
|
-
# @param [String] quota_user
|
|
774
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
775
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
776
|
-
# @param [Google::Apis::RequestOptions] options
|
|
777
|
-
# Request-specific options
|
|
778
|
-
#
|
|
779
|
-
# @yield [result, err] Result & error if block supplied
|
|
780
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation] parsed result object
|
|
781
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
782
|
-
#
|
|
783
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation]
|
|
784
|
-
#
|
|
785
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
786
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
787
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
788
|
-
def get_project_broker_v2_service_instance_service_binding_last_operation(name, operation: nil, plan_id: nil, service_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
789
|
-
command = make_simple_command(:get, 'v1beta1/{+name}/last_operation', options)
|
|
790
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation::Representation
|
|
791
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleCloudServicebrokerV1beta1Operation
|
|
792
|
-
command.params['name'] = name unless name.nil?
|
|
793
|
-
command.query['operation'] = operation unless operation.nil?
|
|
794
|
-
command.query['planId'] = plan_id unless plan_id.nil?
|
|
795
|
-
command.query['serviceId'] = service_id unless service_id.nil?
|
|
796
|
-
command.query['fields'] = fields unless fields.nil?
|
|
797
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
798
|
-
execute_or_queue_command(command, &block)
|
|
799
|
-
end
|
|
800
|
-
|
|
801
|
-
# Gets the access control policy for a resource.
|
|
802
|
-
# Returns an empty policy if the resource exists and does not have a policy
|
|
803
|
-
# set.
|
|
804
|
-
# @param [String] resource
|
|
805
|
-
# REQUIRED: The resource for which the policy is being requested.
|
|
806
|
-
# See the operation documentation for the appropriate value for this field.
|
|
807
|
-
# @param [Fixnum] options_requested_policy_version
|
|
808
|
-
# Optional. The policy format version to be returned.
|
|
809
|
-
# Valid values are 0, 1, and 3. Requests specifying an invalid value will be
|
|
810
|
-
# rejected.
|
|
811
|
-
# Requests for policies with any conditional bindings must specify version 3.
|
|
812
|
-
# Policies without any conditional bindings may specify any valid value or
|
|
813
|
-
# leave the field unset.
|
|
814
|
-
# @param [String] fields
|
|
815
|
-
# Selector specifying which fields to include in a partial response.
|
|
816
|
-
# @param [String] quota_user
|
|
817
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
818
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
819
|
-
# @param [Google::Apis::RequestOptions] options
|
|
820
|
-
# Request-specific options
|
|
821
|
-
#
|
|
822
|
-
# @yield [result, err] Result & error if block supplied
|
|
823
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy] parsed result object
|
|
824
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
825
|
-
#
|
|
826
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy]
|
|
827
|
-
#
|
|
828
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
829
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
830
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
831
|
-
def get_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
832
|
-
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
|
833
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy::Representation
|
|
834
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy
|
|
835
|
-
command.params['resource'] = resource unless resource.nil?
|
|
836
|
-
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
|
837
|
-
command.query['fields'] = fields unless fields.nil?
|
|
838
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
839
|
-
execute_or_queue_command(command, &block)
|
|
840
|
-
end
|
|
841
|
-
|
|
842
|
-
# Sets the access control policy on the specified resource. Replaces any
|
|
843
|
-
# existing policy.
|
|
844
|
-
# Can return Public Errors: NOT_FOUND, INVALID_ARGUMENT and PERMISSION_DENIED
|
|
845
|
-
# @param [String] resource
|
|
846
|
-
# REQUIRED: The resource for which the policy is being specified.
|
|
847
|
-
# See the operation documentation for the appropriate value for this field.
|
|
848
|
-
# @param [Google::Apis::ServicebrokerV1beta1::GoogleIamV1SetIamPolicyRequest] google_iam_v1__set_iam_policy_request_object
|
|
849
|
-
# @param [String] fields
|
|
850
|
-
# Selector specifying which fields to include in a partial response.
|
|
851
|
-
# @param [String] quota_user
|
|
852
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
|
853
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
854
|
-
# @param [Google::Apis::RequestOptions] options
|
|
855
|
-
# Request-specific options
|
|
856
|
-
#
|
|
857
|
-
# @yield [result, err] Result & error if block supplied
|
|
858
|
-
# @yieldparam result [Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy] parsed result object
|
|
859
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
860
|
-
#
|
|
861
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy]
|
|
862
|
-
#
|
|
863
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
864
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
865
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
866
|
-
def set_iam_policy(resource, google_iam_v1__set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
867
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
|
868
|
-
command.request_representation = Google::Apis::ServicebrokerV1beta1::GoogleIamV1SetIamPolicyRequest::Representation
|
|
869
|
-
command.request_object = google_iam_v1__set_iam_policy_request_object
|
|
870
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy::Representation
|
|
871
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleIamV1Policy
|
|
872
|
-
command.params['resource'] = resource unless resource.nil?
|
|
873
|
-
command.query['fields'] = fields unless fields.nil?
|
|
874
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
875
|
-
execute_or_queue_command(command, &block)
|
|
876
|
-
end
|
|
877
|
-
|
|
878
|
-
# Returns permissions that a caller has on the specified resource.
|
|
879
|
-
# If the resource does not exist, this will return an empty set of
|
|
880
|
-
# permissions, not a NOT_FOUND error.
|
|
881
|
-
# Note: This operation is designed to be used for building permission-aware
|
|
882
|
-
# UIs and command-line tools, not for authorization checking. This operation
|
|
883
|
-
# may "fail open" without warning.
|
|
884
|
-
# @param [String] resource
|
|
885
|
-
# REQUIRED: The resource for which the policy detail is being requested.
|
|
886
|
-
# See the operation documentation for the appropriate value for this field.
|
|
887
|
-
# @param [Google::Apis::ServicebrokerV1beta1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1__test_iam_permissions_request_object
|
|
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::ServicebrokerV1beta1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
|
898
|
-
# @yieldparam err [StandardError] error object if request failed
|
|
899
|
-
#
|
|
900
|
-
# @return [Google::Apis::ServicebrokerV1beta1::GoogleIamV1TestIamPermissionsResponse]
|
|
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 test_iam_permissions(resource, google_iam_v1__test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
906
|
-
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
|
907
|
-
command.request_representation = Google::Apis::ServicebrokerV1beta1::GoogleIamV1TestIamPermissionsRequest::Representation
|
|
908
|
-
command.request_object = google_iam_v1__test_iam_permissions_request_object
|
|
909
|
-
command.response_representation = Google::Apis::ServicebrokerV1beta1::GoogleIamV1TestIamPermissionsResponse::Representation
|
|
910
|
-
command.response_class = Google::Apis::ServicebrokerV1beta1::GoogleIamV1TestIamPermissionsResponse
|
|
911
|
-
command.params['resource'] = resource unless resource.nil?
|
|
912
|
-
command.query['fields'] = fields unless fields.nil?
|
|
913
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
914
|
-
execute_or_queue_command(command, &block)
|
|
915
|
-
end
|
|
916
|
-
|
|
917
|
-
protected
|
|
918
|
-
|
|
919
|
-
def apply_command_defaults(command)
|
|
920
|
-
command.query['key'] = key unless key.nil?
|
|
921
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
922
|
-
end
|
|
923
|
-
end
|
|
924
|
-
end
|
|
925
|
-
end
|
|
926
|
-
end
|