google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -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/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -0,0 +1,1487 @@
|
|
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 PrivatecaV1beta1
|
23
|
+
# Certificate Authority API
|
24
|
+
#
|
25
|
+
#
|
26
|
+
#
|
27
|
+
# @example
|
28
|
+
# require 'google/apis/privateca_v1beta1'
|
29
|
+
#
|
30
|
+
# Privateca = Google::Apis::PrivatecaV1beta1 # Alias the module
|
31
|
+
# service = Privateca::CertificateAuthorityServiceService.new
|
32
|
+
#
|
33
|
+
# @see https://cloud.google.com/
|
34
|
+
class CertificateAuthorityServiceService < Google::Apis::Core::BaseService
|
35
|
+
# @return [String]
|
36
|
+
# API key. Your API key identifies your project and provides you with API access,
|
37
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
38
|
+
attr_accessor :key
|
39
|
+
|
40
|
+
# @return [String]
|
41
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
42
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
43
|
+
attr_accessor :quota_user
|
44
|
+
|
45
|
+
def initialize
|
46
|
+
super('https://privateca.googleapis.com/', '')
|
47
|
+
@batch_path = 'batch'
|
48
|
+
end
|
49
|
+
|
50
|
+
# Gets information about a location.
|
51
|
+
# @param [String] name
|
52
|
+
# Resource name for the location.
|
53
|
+
# @param [String] fields
|
54
|
+
# Selector specifying which fields to include in a partial response.
|
55
|
+
# @param [String] quota_user
|
56
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
57
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
58
|
+
# @param [Google::Apis::RequestOptions] options
|
59
|
+
# Request-specific options
|
60
|
+
#
|
61
|
+
# @yield [result, err] Result & error if block supplied
|
62
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Location] parsed result object
|
63
|
+
# @yieldparam err [StandardError] error object if request failed
|
64
|
+
#
|
65
|
+
# @return [Google::Apis::PrivatecaV1beta1::Location]
|
66
|
+
#
|
67
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
68
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
69
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
70
|
+
def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block)
|
71
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
72
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Location::Representation
|
73
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Location
|
74
|
+
command.params['name'] = name unless name.nil?
|
75
|
+
command.query['fields'] = fields unless fields.nil?
|
76
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
77
|
+
execute_or_queue_command(command, &block)
|
78
|
+
end
|
79
|
+
|
80
|
+
# Lists information about the supported locations for this service.
|
81
|
+
# @param [String] name
|
82
|
+
# The resource that owns the locations collection, if applicable.
|
83
|
+
# @param [String] filter
|
84
|
+
# The standard list filter.
|
85
|
+
# @param [Fixnum] page_size
|
86
|
+
# The standard list page size.
|
87
|
+
# @param [String] page_token
|
88
|
+
# The standard list page token.
|
89
|
+
# @param [String] fields
|
90
|
+
# Selector specifying which fields to include in a partial response.
|
91
|
+
# @param [String] quota_user
|
92
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
93
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
94
|
+
# @param [Google::Apis::RequestOptions] options
|
95
|
+
# Request-specific options
|
96
|
+
#
|
97
|
+
# @yield [result, err] Result & error if block supplied
|
98
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::ListLocationsResponse] parsed result object
|
99
|
+
# @yieldparam err [StandardError] error object if request failed
|
100
|
+
#
|
101
|
+
# @return [Google::Apis::PrivatecaV1beta1::ListLocationsResponse]
|
102
|
+
#
|
103
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
104
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
105
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
106
|
+
def list_project_locations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
107
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/locations', options)
|
108
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::ListLocationsResponse::Representation
|
109
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::ListLocationsResponse
|
110
|
+
command.params['name'] = name unless name.nil?
|
111
|
+
command.query['filter'] = filter unless filter.nil?
|
112
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
113
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
114
|
+
command.query['fields'] = fields unless fields.nil?
|
115
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
116
|
+
execute_or_queue_command(command, &block)
|
117
|
+
end
|
118
|
+
|
119
|
+
# Activate a CertificateAuthority that is in state PENDING_ACTIVATION and is of
|
120
|
+
# type SUBORDINATE. After the parent Certificate Authority signs a certificate
|
121
|
+
# signing request from FetchCertificateAuthorityCsr, this method can complete
|
122
|
+
# the activation process.
|
123
|
+
# @param [String] name
|
124
|
+
# Required. The resource name for this CertificateAuthority in the format `
|
125
|
+
# projects/*/locations/*/certificateAuthorities/*`.
|
126
|
+
# @param [Google::Apis::PrivatecaV1beta1::ActivateCertificateAuthorityRequest] activate_certificate_authority_request_object
|
127
|
+
# @param [String] fields
|
128
|
+
# Selector specifying which fields to include in a partial response.
|
129
|
+
# @param [String] quota_user
|
130
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
131
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
132
|
+
# @param [Google::Apis::RequestOptions] options
|
133
|
+
# Request-specific options
|
134
|
+
#
|
135
|
+
# @yield [result, err] Result & error if block supplied
|
136
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
137
|
+
# @yieldparam err [StandardError] error object if request failed
|
138
|
+
#
|
139
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
140
|
+
#
|
141
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
142
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
143
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
144
|
+
def activate_certificate_authority(name, activate_certificate_authority_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
145
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:activate', options)
|
146
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::ActivateCertificateAuthorityRequest::Representation
|
147
|
+
command.request_object = activate_certificate_authority_request_object
|
148
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
149
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
150
|
+
command.params['name'] = name unless name.nil?
|
151
|
+
command.query['fields'] = fields unless fields.nil?
|
152
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
153
|
+
execute_or_queue_command(command, &block)
|
154
|
+
end
|
155
|
+
|
156
|
+
# Create a new CertificateAuthority in a given Project and Location.
|
157
|
+
# @param [String] parent
|
158
|
+
# Required. The resource name of the location associated with the
|
159
|
+
# CertificateAuthorities, in the format `projects/*/locations/*`.
|
160
|
+
# @param [Google::Apis::PrivatecaV1beta1::CertificateAuthority] certificate_authority_object
|
161
|
+
# @param [String] certificate_authority_id
|
162
|
+
# Required. It must be unique within a location and match the regular expression
|
163
|
+
# `[a-zA-Z0-9_-]`1,63``
|
164
|
+
# @param [String] request_id
|
165
|
+
# Optional. An ID to identify requests. Specify a unique request ID so that if
|
166
|
+
# you must retry your request, the server will know to ignore the request if it
|
167
|
+
# has already been completed. The server will guarantee that for at least 60
|
168
|
+
# minutes since the first request. For example, consider a situation where you
|
169
|
+
# make an initial request and t he request times out. If you make the request
|
170
|
+
# again with the same request ID, the server can check if original operation
|
171
|
+
# with the same request ID was received, and if so, will ignore the second
|
172
|
+
# request. This prevents clients from accidentally creating duplicate
|
173
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
174
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
175
|
+
# @param [String] fields
|
176
|
+
# Selector specifying which fields to include in a partial response.
|
177
|
+
# @param [String] quota_user
|
178
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
179
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
180
|
+
# @param [Google::Apis::RequestOptions] options
|
181
|
+
# Request-specific options
|
182
|
+
#
|
183
|
+
# @yield [result, err] Result & error if block supplied
|
184
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
185
|
+
# @yieldparam err [StandardError] error object if request failed
|
186
|
+
#
|
187
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
188
|
+
#
|
189
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
190
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
191
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
192
|
+
def create_project_location_certificate_authority(parent, certificate_authority_object = nil, certificate_authority_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
193
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/certificateAuthorities', options)
|
194
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::CertificateAuthority::Representation
|
195
|
+
command.request_object = certificate_authority_object
|
196
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
197
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
198
|
+
command.params['parent'] = parent unless parent.nil?
|
199
|
+
command.query['certificateAuthorityId'] = certificate_authority_id unless certificate_authority_id.nil?
|
200
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
201
|
+
command.query['fields'] = fields unless fields.nil?
|
202
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
203
|
+
execute_or_queue_command(command, &block)
|
204
|
+
end
|
205
|
+
|
206
|
+
# Disable a CertificateAuthority.
|
207
|
+
# @param [String] name
|
208
|
+
# Required. The resource name for this CertificateAuthority in the format `
|
209
|
+
# projects/*/locations/*/certificateAuthorities/*`.
|
210
|
+
# @param [Google::Apis::PrivatecaV1beta1::DisableCertificateAuthorityRequest] disable_certificate_authority_request_object
|
211
|
+
# @param [String] fields
|
212
|
+
# Selector specifying which fields to include in a partial response.
|
213
|
+
# @param [String] quota_user
|
214
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
215
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
216
|
+
# @param [Google::Apis::RequestOptions] options
|
217
|
+
# Request-specific options
|
218
|
+
#
|
219
|
+
# @yield [result, err] Result & error if block supplied
|
220
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
221
|
+
# @yieldparam err [StandardError] error object if request failed
|
222
|
+
#
|
223
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
224
|
+
#
|
225
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
226
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
227
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
228
|
+
def disable_certificate_authority(name, disable_certificate_authority_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
229
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:disable', options)
|
230
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::DisableCertificateAuthorityRequest::Representation
|
231
|
+
command.request_object = disable_certificate_authority_request_object
|
232
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
233
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
234
|
+
command.params['name'] = name unless name.nil?
|
235
|
+
command.query['fields'] = fields unless fields.nil?
|
236
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
237
|
+
execute_or_queue_command(command, &block)
|
238
|
+
end
|
239
|
+
|
240
|
+
# Enable a CertificateAuthority.
|
241
|
+
# @param [String] name
|
242
|
+
# Required. The resource name for this CertificateAuthority in the format `
|
243
|
+
# projects/*/locations/*/certificateAuthorities/*`.
|
244
|
+
# @param [Google::Apis::PrivatecaV1beta1::EnableCertificateAuthorityRequest] enable_certificate_authority_request_object
|
245
|
+
# @param [String] fields
|
246
|
+
# Selector specifying which fields to include in a partial response.
|
247
|
+
# @param [String] quota_user
|
248
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
249
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
250
|
+
# @param [Google::Apis::RequestOptions] options
|
251
|
+
# Request-specific options
|
252
|
+
#
|
253
|
+
# @yield [result, err] Result & error if block supplied
|
254
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
255
|
+
# @yieldparam err [StandardError] error object if request failed
|
256
|
+
#
|
257
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
258
|
+
#
|
259
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
260
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
261
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
262
|
+
def enable_certificate_authority(name, enable_certificate_authority_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
263
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:enable', options)
|
264
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::EnableCertificateAuthorityRequest::Representation
|
265
|
+
command.request_object = enable_certificate_authority_request_object
|
266
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
267
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
268
|
+
command.params['name'] = name unless name.nil?
|
269
|
+
command.query['fields'] = fields unless fields.nil?
|
270
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
271
|
+
execute_or_queue_command(command, &block)
|
272
|
+
end
|
273
|
+
|
274
|
+
# Fetch a certificate signing request (CSR) from a CertificateAuthority that is
|
275
|
+
# in state PENDING_ACTIVATION and is of type SUBORDINATE. The CSR must then be
|
276
|
+
# signed by the desired parent Certificate Authority, which could be another
|
277
|
+
# CertificateAuthority resource, or could be an on-prem certificate authority.
|
278
|
+
# See also ActivateCertificateAuthority.
|
279
|
+
# @param [String] name
|
280
|
+
# Required. The resource name for this CertificateAuthority in the format `
|
281
|
+
# projects/*/locations/*/certificateAuthorities/*`.
|
282
|
+
# @param [String] fields
|
283
|
+
# Selector specifying which fields to include in a partial response.
|
284
|
+
# @param [String] quota_user
|
285
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
286
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
287
|
+
# @param [Google::Apis::RequestOptions] options
|
288
|
+
# Request-specific options
|
289
|
+
#
|
290
|
+
# @yield [result, err] Result & error if block supplied
|
291
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::FetchCertificateAuthorityCsrResponse] parsed result object
|
292
|
+
# @yieldparam err [StandardError] error object if request failed
|
293
|
+
#
|
294
|
+
# @return [Google::Apis::PrivatecaV1beta1::FetchCertificateAuthorityCsrResponse]
|
295
|
+
#
|
296
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
297
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
298
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
299
|
+
def fetch_project_location_certificate_authority(name, fields: nil, quota_user: nil, options: nil, &block)
|
300
|
+
command = make_simple_command(:get, 'v1beta1/{+name}:fetch', options)
|
301
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::FetchCertificateAuthorityCsrResponse::Representation
|
302
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::FetchCertificateAuthorityCsrResponse
|
303
|
+
command.params['name'] = name unless name.nil?
|
304
|
+
command.query['fields'] = fields unless fields.nil?
|
305
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
306
|
+
execute_or_queue_command(command, &block)
|
307
|
+
end
|
308
|
+
|
309
|
+
# Returns a CertificateAuthority.
|
310
|
+
# @param [String] name
|
311
|
+
# Required. The name of the CertificateAuthority to get.
|
312
|
+
# @param [String] fields
|
313
|
+
# Selector specifying which fields to include in a partial response.
|
314
|
+
# @param [String] quota_user
|
315
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
316
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
317
|
+
# @param [Google::Apis::RequestOptions] options
|
318
|
+
# Request-specific options
|
319
|
+
#
|
320
|
+
# @yield [result, err] Result & error if block supplied
|
321
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::CertificateAuthority] parsed result object
|
322
|
+
# @yieldparam err [StandardError] error object if request failed
|
323
|
+
#
|
324
|
+
# @return [Google::Apis::PrivatecaV1beta1::CertificateAuthority]
|
325
|
+
#
|
326
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
327
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
328
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
329
|
+
def get_project_location_certificate_authority(name, fields: nil, quota_user: nil, options: nil, &block)
|
330
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
331
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::CertificateAuthority::Representation
|
332
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::CertificateAuthority
|
333
|
+
command.params['name'] = name unless name.nil?
|
334
|
+
command.query['fields'] = fields unless fields.nil?
|
335
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
336
|
+
execute_or_queue_command(command, &block)
|
337
|
+
end
|
338
|
+
|
339
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
340
|
+
# resource exists and does not have a policy set.
|
341
|
+
# @param [String] resource
|
342
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
343
|
+
# operation documentation for the appropriate value for this field.
|
344
|
+
# @param [Fixnum] options_requested_policy_version
|
345
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
346
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
347
|
+
# policies with any conditional bindings must specify version 3. Policies
|
348
|
+
# without any conditional bindings may specify any valid value or leave the
|
349
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
350
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
351
|
+
# resource-policies).
|
352
|
+
# @param [String] fields
|
353
|
+
# Selector specifying which fields to include in a partial response.
|
354
|
+
# @param [String] quota_user
|
355
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
356
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
357
|
+
# @param [Google::Apis::RequestOptions] options
|
358
|
+
# Request-specific options
|
359
|
+
#
|
360
|
+
# @yield [result, err] Result & error if block supplied
|
361
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Policy] parsed result object
|
362
|
+
# @yieldparam err [StandardError] error object if request failed
|
363
|
+
#
|
364
|
+
# @return [Google::Apis::PrivatecaV1beta1::Policy]
|
365
|
+
#
|
366
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
367
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
368
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
369
|
+
def get_project_location_certificate_authority_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
370
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
371
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Policy::Representation
|
372
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Policy
|
373
|
+
command.params['resource'] = resource unless resource.nil?
|
374
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
375
|
+
command.query['fields'] = fields unless fields.nil?
|
376
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
377
|
+
execute_or_queue_command(command, &block)
|
378
|
+
end
|
379
|
+
|
380
|
+
# Lists CertificateAuthorities.
|
381
|
+
# @param [String] parent
|
382
|
+
# Required. The resource name of the location associated with the
|
383
|
+
# CertificateAuthorities, in the format `projects/*/locations/*`.
|
384
|
+
# @param [String] filter
|
385
|
+
# Optional. Only include resources that match the filter in the response.
|
386
|
+
# @param [String] order_by
|
387
|
+
# Optional. Specify how the results should be sorted.
|
388
|
+
# @param [Fixnum] page_size
|
389
|
+
# Optional. Limit on the number of CertificateAuthorities to include in the
|
390
|
+
# response. Further CertificateAuthorities can subsequently be obtained by
|
391
|
+
# including the ListCertificateAuthoritiesResponse.next_page_token in a
|
392
|
+
# subsequent request. If unspecified, the server will pick an appropriate
|
393
|
+
# default.
|
394
|
+
# @param [String] page_token
|
395
|
+
# Optional. Pagination token, returned earlier via
|
396
|
+
# ListCertificateAuthoritiesResponse.next_page_token.
|
397
|
+
# @param [String] fields
|
398
|
+
# Selector specifying which fields to include in a partial response.
|
399
|
+
# @param [String] quota_user
|
400
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
401
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
402
|
+
# @param [Google::Apis::RequestOptions] options
|
403
|
+
# Request-specific options
|
404
|
+
#
|
405
|
+
# @yield [result, err] Result & error if block supplied
|
406
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::ListCertificateAuthoritiesResponse] parsed result object
|
407
|
+
# @yieldparam err [StandardError] error object if request failed
|
408
|
+
#
|
409
|
+
# @return [Google::Apis::PrivatecaV1beta1::ListCertificateAuthoritiesResponse]
|
410
|
+
#
|
411
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
412
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
413
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
414
|
+
def list_project_location_certificate_authorities(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
415
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/certificateAuthorities', options)
|
416
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::ListCertificateAuthoritiesResponse::Representation
|
417
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::ListCertificateAuthoritiesResponse
|
418
|
+
command.params['parent'] = parent unless parent.nil?
|
419
|
+
command.query['filter'] = filter unless filter.nil?
|
420
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
421
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
422
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
423
|
+
command.query['fields'] = fields unless fields.nil?
|
424
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
425
|
+
execute_or_queue_command(command, &block)
|
426
|
+
end
|
427
|
+
|
428
|
+
# Update a CertificateAuthority.
|
429
|
+
# @param [String] name
|
430
|
+
# Output only. The resource name for this CertificateAuthority in the format `
|
431
|
+
# projects/*/locations/*/certificateAuthorities/*`.
|
432
|
+
# @param [Google::Apis::PrivatecaV1beta1::CertificateAuthority] certificate_authority_object
|
433
|
+
# @param [String] request_id
|
434
|
+
# Optional. An ID to identify requests. Specify a unique request ID so that if
|
435
|
+
# you must retry your request, the server will know to ignore the request if it
|
436
|
+
# has already been completed. The server will guarantee that for at least 60
|
437
|
+
# minutes since the first request. For example, consider a situation where you
|
438
|
+
# make an initial request and t he request times out. If you make the request
|
439
|
+
# again with the same request ID, the server can check if original operation
|
440
|
+
# with the same request ID was received, and if so, will ignore the second
|
441
|
+
# request. This prevents clients from accidentally creating duplicate
|
442
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
443
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
444
|
+
# @param [String] update_mask
|
445
|
+
# Required. A list of fields to be updated in this request.
|
446
|
+
# @param [String] fields
|
447
|
+
# Selector specifying which fields to include in a partial response.
|
448
|
+
# @param [String] quota_user
|
449
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
450
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
451
|
+
# @param [Google::Apis::RequestOptions] options
|
452
|
+
# Request-specific options
|
453
|
+
#
|
454
|
+
# @yield [result, err] Result & error if block supplied
|
455
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
456
|
+
# @yieldparam err [StandardError] error object if request failed
|
457
|
+
#
|
458
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
459
|
+
#
|
460
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
461
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
462
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
463
|
+
def patch_project_location_certificate_authority(name, certificate_authority_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
464
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
465
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::CertificateAuthority::Representation
|
466
|
+
command.request_object = certificate_authority_object
|
467
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
468
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
469
|
+
command.params['name'] = name unless name.nil?
|
470
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
471
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
472
|
+
command.query['fields'] = fields unless fields.nil?
|
473
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
474
|
+
execute_or_queue_command(command, &block)
|
475
|
+
end
|
476
|
+
|
477
|
+
# Restore a CertificateAuthority that is scheduled for deletion.
|
478
|
+
# @param [String] name
|
479
|
+
# Required. The resource name for this CertificateAuthority in the format `
|
480
|
+
# projects/*/locations/*/certificateAuthorities/*`.
|
481
|
+
# @param [Google::Apis::PrivatecaV1beta1::RestoreCertificateAuthorityRequest] restore_certificate_authority_request_object
|
482
|
+
# @param [String] fields
|
483
|
+
# Selector specifying which fields to include in a partial response.
|
484
|
+
# @param [String] quota_user
|
485
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
486
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
487
|
+
# @param [Google::Apis::RequestOptions] options
|
488
|
+
# Request-specific options
|
489
|
+
#
|
490
|
+
# @yield [result, err] Result & error if block supplied
|
491
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
492
|
+
# @yieldparam err [StandardError] error object if request failed
|
493
|
+
#
|
494
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
495
|
+
#
|
496
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
497
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
498
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
499
|
+
def restore_certificate_authority(name, restore_certificate_authority_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
500
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:restore', options)
|
501
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::RestoreCertificateAuthorityRequest::Representation
|
502
|
+
command.request_object = restore_certificate_authority_request_object
|
503
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
504
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
505
|
+
command.params['name'] = name unless name.nil?
|
506
|
+
command.query['fields'] = fields unless fields.nil?
|
507
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
508
|
+
execute_or_queue_command(command, &block)
|
509
|
+
end
|
510
|
+
|
511
|
+
# Schedule a CertificateAuthority for deletion.
|
512
|
+
# @param [String] name
|
513
|
+
# Required. The resource name for this CertificateAuthority in the format `
|
514
|
+
# projects/*/locations/*/certificateAuthorities/*`.
|
515
|
+
# @param [Google::Apis::PrivatecaV1beta1::ScheduleDeleteCertificateAuthorityRequest] schedule_delete_certificate_authority_request_object
|
516
|
+
# @param [String] fields
|
517
|
+
# Selector specifying which fields to include in a partial response.
|
518
|
+
# @param [String] quota_user
|
519
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
520
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
521
|
+
# @param [Google::Apis::RequestOptions] options
|
522
|
+
# Request-specific options
|
523
|
+
#
|
524
|
+
# @yield [result, err] Result & error if block supplied
|
525
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
526
|
+
# @yieldparam err [StandardError] error object if request failed
|
527
|
+
#
|
528
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
529
|
+
#
|
530
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
531
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
532
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
533
|
+
def schedule_delete_certificate_authority(name, schedule_delete_certificate_authority_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
534
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:scheduleDelete', options)
|
535
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::ScheduleDeleteCertificateAuthorityRequest::Representation
|
536
|
+
command.request_object = schedule_delete_certificate_authority_request_object
|
537
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
538
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
539
|
+
command.params['name'] = name unless name.nil?
|
540
|
+
command.query['fields'] = fields unless fields.nil?
|
541
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
542
|
+
execute_or_queue_command(command, &block)
|
543
|
+
end
|
544
|
+
|
545
|
+
# Sets the access control policy on the specified resource. Replaces any
|
546
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
547
|
+
# PERMISSION_DENIED` errors.
|
548
|
+
# @param [String] resource
|
549
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
550
|
+
# operation documentation for the appropriate value for this field.
|
551
|
+
# @param [Google::Apis::PrivatecaV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
552
|
+
# @param [String] fields
|
553
|
+
# Selector specifying which fields to include in a partial response.
|
554
|
+
# @param [String] quota_user
|
555
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
556
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
557
|
+
# @param [Google::Apis::RequestOptions] options
|
558
|
+
# Request-specific options
|
559
|
+
#
|
560
|
+
# @yield [result, err] Result & error if block supplied
|
561
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Policy] parsed result object
|
562
|
+
# @yieldparam err [StandardError] error object if request failed
|
563
|
+
#
|
564
|
+
# @return [Google::Apis::PrivatecaV1beta1::Policy]
|
565
|
+
#
|
566
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
567
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
568
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
569
|
+
def set_certificate_authority_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
570
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
571
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::SetIamPolicyRequest::Representation
|
572
|
+
command.request_object = set_iam_policy_request_object
|
573
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Policy::Representation
|
574
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Policy
|
575
|
+
command.params['resource'] = resource unless resource.nil?
|
576
|
+
command.query['fields'] = fields unless fields.nil?
|
577
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
578
|
+
execute_or_queue_command(command, &block)
|
579
|
+
end
|
580
|
+
|
581
|
+
# Returns permissions that a caller has on the specified resource. If the
|
582
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
583
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
584
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
585
|
+
# This operation may "fail open" without warning.
|
586
|
+
# @param [String] resource
|
587
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
588
|
+
# operation documentation for the appropriate value for this field.
|
589
|
+
# @param [Google::Apis::PrivatecaV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
590
|
+
# @param [String] fields
|
591
|
+
# Selector specifying which fields to include in a partial response.
|
592
|
+
# @param [String] quota_user
|
593
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
594
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
595
|
+
# @param [Google::Apis::RequestOptions] options
|
596
|
+
# Request-specific options
|
597
|
+
#
|
598
|
+
# @yield [result, err] Result & error if block supplied
|
599
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse] parsed result object
|
600
|
+
# @yieldparam err [StandardError] error object if request failed
|
601
|
+
#
|
602
|
+
# @return [Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse]
|
603
|
+
#
|
604
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
605
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
606
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
607
|
+
def test_certificate_authority_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
608
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
609
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::TestIamPermissionsRequest::Representation
|
610
|
+
command.request_object = test_iam_permissions_request_object
|
611
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse::Representation
|
612
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse
|
613
|
+
command.params['resource'] = resource unless resource.nil?
|
614
|
+
command.query['fields'] = fields unless fields.nil?
|
615
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
616
|
+
execute_or_queue_command(command, &block)
|
617
|
+
end
|
618
|
+
|
619
|
+
# Create a new CertificateRevocationList in a given Project, Location for a
|
620
|
+
# particular CertificateAuthority.
|
621
|
+
# @param [String] parent
|
622
|
+
# Required. The resource name of the location and CertificateAuthority
|
623
|
+
# associated with the CertificateRevocationList, in the format `projects/*/
|
624
|
+
# locations/*/certificateAuthorities/*`.
|
625
|
+
# @param [Google::Apis::PrivatecaV1beta1::CertificateRevocationList] certificate_revocation_list_object
|
626
|
+
# @param [String] certificate_revocation_list_id
|
627
|
+
# Required. It must be unique within a location and match the regular expression
|
628
|
+
# `[a-zA-Z0-9_-]`1,63``
|
629
|
+
# @param [String] request_id
|
630
|
+
# Optional. An ID to identify requests. Specify a unique request ID so that if
|
631
|
+
# you must retry your request, the server will know to ignore the request if it
|
632
|
+
# has already been completed. The server will guarantee that for at least 60
|
633
|
+
# minutes since the first request. For example, consider a situation where you
|
634
|
+
# make an initial request and t he request times out. If you make the request
|
635
|
+
# again with the same request ID, the server can check if original operation
|
636
|
+
# with the same request ID was received, and if so, will ignore the second
|
637
|
+
# request. This prevents clients from accidentally creating duplicate
|
638
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
639
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
640
|
+
# @param [String] fields
|
641
|
+
# Selector specifying which fields to include in a partial response.
|
642
|
+
# @param [String] quota_user
|
643
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
644
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
645
|
+
# @param [Google::Apis::RequestOptions] options
|
646
|
+
# Request-specific options
|
647
|
+
#
|
648
|
+
# @yield [result, err] Result & error if block supplied
|
649
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
650
|
+
# @yieldparam err [StandardError] error object if request failed
|
651
|
+
#
|
652
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
653
|
+
#
|
654
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
655
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
656
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
657
|
+
def create_project_location_certificate_authority_certificate_revocation_list(parent, certificate_revocation_list_object = nil, certificate_revocation_list_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
658
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/certificateRevocationLists', options)
|
659
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::CertificateRevocationList::Representation
|
660
|
+
command.request_object = certificate_revocation_list_object
|
661
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
662
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
663
|
+
command.params['parent'] = parent unless parent.nil?
|
664
|
+
command.query['certificateRevocationListId'] = certificate_revocation_list_id unless certificate_revocation_list_id.nil?
|
665
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
666
|
+
command.query['fields'] = fields unless fields.nil?
|
667
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
668
|
+
execute_or_queue_command(command, &block)
|
669
|
+
end
|
670
|
+
|
671
|
+
# Returns a CertificateRevocationList.
|
672
|
+
# @param [String] name
|
673
|
+
# Required. The name of the CertificateRevocationList to get.
|
674
|
+
# @param [String] fields
|
675
|
+
# Selector specifying which fields to include in a partial response.
|
676
|
+
# @param [String] quota_user
|
677
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
678
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
679
|
+
# @param [Google::Apis::RequestOptions] options
|
680
|
+
# Request-specific options
|
681
|
+
#
|
682
|
+
# @yield [result, err] Result & error if block supplied
|
683
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::CertificateRevocationList] parsed result object
|
684
|
+
# @yieldparam err [StandardError] error object if request failed
|
685
|
+
#
|
686
|
+
# @return [Google::Apis::PrivatecaV1beta1::CertificateRevocationList]
|
687
|
+
#
|
688
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
689
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
690
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
691
|
+
def get_project_location_certificate_authority_certificate_revocation_list(name, fields: nil, quota_user: nil, options: nil, &block)
|
692
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
693
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::CertificateRevocationList::Representation
|
694
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::CertificateRevocationList
|
695
|
+
command.params['name'] = name unless name.nil?
|
696
|
+
command.query['fields'] = fields unless fields.nil?
|
697
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
698
|
+
execute_or_queue_command(command, &block)
|
699
|
+
end
|
700
|
+
|
701
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
702
|
+
# resource exists and does not have a policy set.
|
703
|
+
# @param [String] resource
|
704
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
705
|
+
# operation documentation for the appropriate value for this field.
|
706
|
+
# @param [Fixnum] options_requested_policy_version
|
707
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
708
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
709
|
+
# policies with any conditional bindings must specify version 3. Policies
|
710
|
+
# without any conditional bindings may specify any valid value or leave the
|
711
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
712
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
713
|
+
# resource-policies).
|
714
|
+
# @param [String] fields
|
715
|
+
# Selector specifying which fields to include in a partial response.
|
716
|
+
# @param [String] quota_user
|
717
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
718
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
719
|
+
# @param [Google::Apis::RequestOptions] options
|
720
|
+
# Request-specific options
|
721
|
+
#
|
722
|
+
# @yield [result, err] Result & error if block supplied
|
723
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Policy] parsed result object
|
724
|
+
# @yieldparam err [StandardError] error object if request failed
|
725
|
+
#
|
726
|
+
# @return [Google::Apis::PrivatecaV1beta1::Policy]
|
727
|
+
#
|
728
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
729
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
730
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
731
|
+
def get_project_location_certificate_authority_certificate_revocation_list_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
732
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
733
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Policy::Representation
|
734
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Policy
|
735
|
+
command.params['resource'] = resource unless resource.nil?
|
736
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
737
|
+
command.query['fields'] = fields unless fields.nil?
|
738
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
739
|
+
execute_or_queue_command(command, &block)
|
740
|
+
end
|
741
|
+
|
742
|
+
# Lists CertificateRevocationLists.
|
743
|
+
# @param [String] parent
|
744
|
+
# Required. The resource name of the location associated with the
|
745
|
+
# CertificateRevocationLists, in the format `projects/*/locations/*/
|
746
|
+
# certificateauthorities/*`.
|
747
|
+
# @param [String] filter
|
748
|
+
# Optional. Only include resources that match the filter in the response.
|
749
|
+
# @param [String] order_by
|
750
|
+
# Optional. Specify how the results should be sorted.
|
751
|
+
# @param [Fixnum] page_size
|
752
|
+
# Optional. Limit on the number of CertificateRevocationLists to include in the
|
753
|
+
# response. Further CertificateRevocationLists can subsequently be obtained by
|
754
|
+
# including the ListCertificateRevocationListsResponse.next_page_token in a
|
755
|
+
# subsequent request. If unspecified, the server will pick an appropriate
|
756
|
+
# default.
|
757
|
+
# @param [String] page_token
|
758
|
+
# Optional. Pagination token, returned earlier via
|
759
|
+
# ListCertificateRevocationListsResponse.next_page_token.
|
760
|
+
# @param [String] fields
|
761
|
+
# Selector specifying which fields to include in a partial response.
|
762
|
+
# @param [String] quota_user
|
763
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
764
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
765
|
+
# @param [Google::Apis::RequestOptions] options
|
766
|
+
# Request-specific options
|
767
|
+
#
|
768
|
+
# @yield [result, err] Result & error if block supplied
|
769
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::ListCertificateRevocationListsResponse] parsed result object
|
770
|
+
# @yieldparam err [StandardError] error object if request failed
|
771
|
+
#
|
772
|
+
# @return [Google::Apis::PrivatecaV1beta1::ListCertificateRevocationListsResponse]
|
773
|
+
#
|
774
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
775
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
776
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
777
|
+
def list_project_location_certificate_authority_certificate_revocation_lists(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
778
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/certificateRevocationLists', options)
|
779
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::ListCertificateRevocationListsResponse::Representation
|
780
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::ListCertificateRevocationListsResponse
|
781
|
+
command.params['parent'] = parent unless parent.nil?
|
782
|
+
command.query['filter'] = filter unless filter.nil?
|
783
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
784
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
785
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
786
|
+
command.query['fields'] = fields unless fields.nil?
|
787
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
788
|
+
execute_or_queue_command(command, &block)
|
789
|
+
end
|
790
|
+
|
791
|
+
# Update a CertificateRevocationList.
|
792
|
+
# @param [String] name
|
793
|
+
# Output only. The resource path for this CertificateRevocationList in the
|
794
|
+
# format `projects/*/locations/*/certificateAuthorities/*/
|
795
|
+
# certificateRevocationLists/*`.
|
796
|
+
# @param [Google::Apis::PrivatecaV1beta1::CertificateRevocationList] certificate_revocation_list_object
|
797
|
+
# @param [String] request_id
|
798
|
+
# Optional. An ID to identify requests. Specify a unique request ID so that if
|
799
|
+
# you must retry your request, the server will know to ignore the request if it
|
800
|
+
# has already been completed. The server will guarantee that for at least 60
|
801
|
+
# minutes since the first request. For example, consider a situation where you
|
802
|
+
# make an initial request and t he request times out. If you make the request
|
803
|
+
# again with the same request ID, the server can check if original operation
|
804
|
+
# with the same request ID was received, and if so, will ignore the second
|
805
|
+
# request. This prevents clients from accidentally creating duplicate
|
806
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
807
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
808
|
+
# @param [String] update_mask
|
809
|
+
# Required. A list of fields to be updated in this request.
|
810
|
+
# @param [String] fields
|
811
|
+
# Selector specifying which fields to include in a partial response.
|
812
|
+
# @param [String] quota_user
|
813
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
814
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
815
|
+
# @param [Google::Apis::RequestOptions] options
|
816
|
+
# Request-specific options
|
817
|
+
#
|
818
|
+
# @yield [result, err] Result & error if block supplied
|
819
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
820
|
+
# @yieldparam err [StandardError] error object if request failed
|
821
|
+
#
|
822
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
823
|
+
#
|
824
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
825
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
826
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
827
|
+
def patch_project_location_certificate_authority_certificate_revocation_list(name, certificate_revocation_list_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
828
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
829
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::CertificateRevocationList::Representation
|
830
|
+
command.request_object = certificate_revocation_list_object
|
831
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
832
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
833
|
+
command.params['name'] = name unless name.nil?
|
834
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
835
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
836
|
+
command.query['fields'] = fields unless fields.nil?
|
837
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
838
|
+
execute_or_queue_command(command, &block)
|
839
|
+
end
|
840
|
+
|
841
|
+
# Sets the access control policy on the specified resource. Replaces any
|
842
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
843
|
+
# PERMISSION_DENIED` errors.
|
844
|
+
# @param [String] resource
|
845
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
846
|
+
# operation documentation for the appropriate value for this field.
|
847
|
+
# @param [Google::Apis::PrivatecaV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
848
|
+
# @param [String] fields
|
849
|
+
# Selector specifying which fields to include in a partial response.
|
850
|
+
# @param [String] quota_user
|
851
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
852
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
853
|
+
# @param [Google::Apis::RequestOptions] options
|
854
|
+
# Request-specific options
|
855
|
+
#
|
856
|
+
# @yield [result, err] Result & error if block supplied
|
857
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Policy] parsed result object
|
858
|
+
# @yieldparam err [StandardError] error object if request failed
|
859
|
+
#
|
860
|
+
# @return [Google::Apis::PrivatecaV1beta1::Policy]
|
861
|
+
#
|
862
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
863
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
864
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
865
|
+
def set_certificate_revocation_list_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
866
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
867
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::SetIamPolicyRequest::Representation
|
868
|
+
command.request_object = set_iam_policy_request_object
|
869
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Policy::Representation
|
870
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Policy
|
871
|
+
command.params['resource'] = resource unless resource.nil?
|
872
|
+
command.query['fields'] = fields unless fields.nil?
|
873
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
874
|
+
execute_or_queue_command(command, &block)
|
875
|
+
end
|
876
|
+
|
877
|
+
# Returns permissions that a caller has on the specified resource. If the
|
878
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
879
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
880
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
881
|
+
# This operation may "fail open" without warning.
|
882
|
+
# @param [String] resource
|
883
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
884
|
+
# operation documentation for the appropriate value for this field.
|
885
|
+
# @param [Google::Apis::PrivatecaV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
886
|
+
# @param [String] fields
|
887
|
+
# Selector specifying which fields to include in a partial response.
|
888
|
+
# @param [String] quota_user
|
889
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
890
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
891
|
+
# @param [Google::Apis::RequestOptions] options
|
892
|
+
# Request-specific options
|
893
|
+
#
|
894
|
+
# @yield [result, err] Result & error if block supplied
|
895
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse] parsed result object
|
896
|
+
# @yieldparam err [StandardError] error object if request failed
|
897
|
+
#
|
898
|
+
# @return [Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse]
|
899
|
+
#
|
900
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
901
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
902
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
903
|
+
def test_certificate_revocation_list_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
904
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
905
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::TestIamPermissionsRequest::Representation
|
906
|
+
command.request_object = test_iam_permissions_request_object
|
907
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse::Representation
|
908
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse
|
909
|
+
command.params['resource'] = resource unless resource.nil?
|
910
|
+
command.query['fields'] = fields unless fields.nil?
|
911
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
912
|
+
execute_or_queue_command(command, &block)
|
913
|
+
end
|
914
|
+
|
915
|
+
# Create a new Certificate in a given Project, Location from a particular
|
916
|
+
# CertificateAuthority.
|
917
|
+
# @param [String] parent
|
918
|
+
# Required. The resource name of the location and CertificateAuthority
|
919
|
+
# associated with the Certificate, in the format `projects/*/locations/*/
|
920
|
+
# certificateAuthorities/*`.
|
921
|
+
# @param [Google::Apis::PrivatecaV1beta1::Certificate] certificate_object
|
922
|
+
# @param [String] certificate_id
|
923
|
+
# Optional. It must be unique within a location and match the regular expression
|
924
|
+
# `[a-zA-Z0-9_-]`1,63``. This field is required when using a
|
925
|
+
# CertificateAuthority in the Enterprise CertificateAuthority.Tier, but is
|
926
|
+
# optional and its value is ignored otherwise.
|
927
|
+
# @param [String] request_id
|
928
|
+
# Optional. An ID to identify requests. Specify a unique request ID so that if
|
929
|
+
# you must retry your request, the server will know to ignore the request if it
|
930
|
+
# has already been completed. The server will guarantee that for at least 60
|
931
|
+
# minutes since the first request. For example, consider a situation where you
|
932
|
+
# make an initial request and t he request times out. If you make the request
|
933
|
+
# again with the same request ID, the server can check if original operation
|
934
|
+
# with the same request ID was received, and if so, will ignore the second
|
935
|
+
# request. This prevents clients from accidentally creating duplicate
|
936
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
937
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
938
|
+
# @param [String] fields
|
939
|
+
# Selector specifying which fields to include in a partial response.
|
940
|
+
# @param [String] quota_user
|
941
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
942
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
943
|
+
# @param [Google::Apis::RequestOptions] options
|
944
|
+
# Request-specific options
|
945
|
+
#
|
946
|
+
# @yield [result, err] Result & error if block supplied
|
947
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Certificate] parsed result object
|
948
|
+
# @yieldparam err [StandardError] error object if request failed
|
949
|
+
#
|
950
|
+
# @return [Google::Apis::PrivatecaV1beta1::Certificate]
|
951
|
+
#
|
952
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
953
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
954
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
955
|
+
def create_project_location_certificate_authority_certificate(parent, certificate_object = nil, certificate_id: nil, request_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
956
|
+
command = make_simple_command(:post, 'v1beta1/{+parent}/certificates', options)
|
957
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::Certificate::Representation
|
958
|
+
command.request_object = certificate_object
|
959
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Certificate::Representation
|
960
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Certificate
|
961
|
+
command.params['parent'] = parent unless parent.nil?
|
962
|
+
command.query['certificateId'] = certificate_id unless certificate_id.nil?
|
963
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
964
|
+
command.query['fields'] = fields unless fields.nil?
|
965
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
966
|
+
execute_or_queue_command(command, &block)
|
967
|
+
end
|
968
|
+
|
969
|
+
# Returns a Certificate.
|
970
|
+
# @param [String] name
|
971
|
+
# Required. The name of the Certificate to get.
|
972
|
+
# @param [String] fields
|
973
|
+
# Selector specifying which fields to include in a partial response.
|
974
|
+
# @param [String] quota_user
|
975
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
976
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
977
|
+
# @param [Google::Apis::RequestOptions] options
|
978
|
+
# Request-specific options
|
979
|
+
#
|
980
|
+
# @yield [result, err] Result & error if block supplied
|
981
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Certificate] parsed result object
|
982
|
+
# @yieldparam err [StandardError] error object if request failed
|
983
|
+
#
|
984
|
+
# @return [Google::Apis::PrivatecaV1beta1::Certificate]
|
985
|
+
#
|
986
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
987
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
988
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
989
|
+
def get_project_location_certificate_authority_certificate(name, fields: nil, quota_user: nil, options: nil, &block)
|
990
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
991
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Certificate::Representation
|
992
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Certificate
|
993
|
+
command.params['name'] = name unless name.nil?
|
994
|
+
command.query['fields'] = fields unless fields.nil?
|
995
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
996
|
+
execute_or_queue_command(command, &block)
|
997
|
+
end
|
998
|
+
|
999
|
+
# Lists Certificates.
|
1000
|
+
# @param [String] parent
|
1001
|
+
# Required. The resource name of the location associated with the Certificates,
|
1002
|
+
# in the format `projects/*/locations/*/certificateauthorities/*`.
|
1003
|
+
# @param [String] filter
|
1004
|
+
# Optional. Only include resources that match the filter in the response. For
|
1005
|
+
# details on supported filters and syntax, see [Certificates Filtering
|
1006
|
+
# documentation](https://cloud.google.com/certificate-authority-service/docs/
|
1007
|
+
# sorting-filtering-certificates#filtering_support).
|
1008
|
+
# @param [String] order_by
|
1009
|
+
# Optional. Specify how the results should be sorted. For details on supported
|
1010
|
+
# fields and syntax, see [Certificates Sorting documentation](https://cloud.
|
1011
|
+
# google.com/certificate-authority-service/docs/sorting-filtering-certificates#
|
1012
|
+
# sorting_support).
|
1013
|
+
# @param [Fixnum] page_size
|
1014
|
+
# Optional. Limit on the number of Certificates to include in the response.
|
1015
|
+
# Further Certificates can subsequently be obtained by including the
|
1016
|
+
# ListCertificatesResponse.next_page_token in a subsequent request. If
|
1017
|
+
# unspecified, the server will pick an appropriate default.
|
1018
|
+
# @param [String] page_token
|
1019
|
+
# Optional. Pagination token, returned earlier via ListCertificatesResponse.
|
1020
|
+
# next_page_token.
|
1021
|
+
# @param [String] fields
|
1022
|
+
# Selector specifying which fields to include in a partial response.
|
1023
|
+
# @param [String] quota_user
|
1024
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1025
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1026
|
+
# @param [Google::Apis::RequestOptions] options
|
1027
|
+
# Request-specific options
|
1028
|
+
#
|
1029
|
+
# @yield [result, err] Result & error if block supplied
|
1030
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::ListCertificatesResponse] parsed result object
|
1031
|
+
# @yieldparam err [StandardError] error object if request failed
|
1032
|
+
#
|
1033
|
+
# @return [Google::Apis::PrivatecaV1beta1::ListCertificatesResponse]
|
1034
|
+
#
|
1035
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1036
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1037
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1038
|
+
def list_project_location_certificate_authority_certificates(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1039
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/certificates', options)
|
1040
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::ListCertificatesResponse::Representation
|
1041
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::ListCertificatesResponse
|
1042
|
+
command.params['parent'] = parent unless parent.nil?
|
1043
|
+
command.query['filter'] = filter unless filter.nil?
|
1044
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1045
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1046
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1047
|
+
command.query['fields'] = fields unless fields.nil?
|
1048
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1049
|
+
execute_or_queue_command(command, &block)
|
1050
|
+
end
|
1051
|
+
|
1052
|
+
# Update a Certificate. Currently, the only field you can update is the labels
|
1053
|
+
# field.
|
1054
|
+
# @param [String] name
|
1055
|
+
# Output only. The resource path for this Certificate in the format `projects/*/
|
1056
|
+
# locations/*/certificateAuthorities/*/certificates/*`.
|
1057
|
+
# @param [Google::Apis::PrivatecaV1beta1::Certificate] certificate_object
|
1058
|
+
# @param [String] request_id
|
1059
|
+
# Optional. An ID to identify requests. Specify a unique request ID so that if
|
1060
|
+
# you must retry your request, the server will know to ignore the request if it
|
1061
|
+
# has already been completed. The server will guarantee that for at least 60
|
1062
|
+
# minutes since the first request. For example, consider a situation where you
|
1063
|
+
# make an initial request and t he request times out. If you make the request
|
1064
|
+
# again with the same request ID, the server can check if original operation
|
1065
|
+
# with the same request ID was received, and if so, will ignore the second
|
1066
|
+
# request. This prevents clients from accidentally creating duplicate
|
1067
|
+
# commitments. The request ID must be a valid UUID with the exception that zero
|
1068
|
+
# UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1069
|
+
# @param [String] update_mask
|
1070
|
+
# Required. A list of fields to be updated in this request.
|
1071
|
+
# @param [String] fields
|
1072
|
+
# Selector specifying which fields to include in a partial response.
|
1073
|
+
# @param [String] quota_user
|
1074
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1075
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1076
|
+
# @param [Google::Apis::RequestOptions] options
|
1077
|
+
# Request-specific options
|
1078
|
+
#
|
1079
|
+
# @yield [result, err] Result & error if block supplied
|
1080
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Certificate] parsed result object
|
1081
|
+
# @yieldparam err [StandardError] error object if request failed
|
1082
|
+
#
|
1083
|
+
# @return [Google::Apis::PrivatecaV1beta1::Certificate]
|
1084
|
+
#
|
1085
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1086
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1087
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1088
|
+
def patch_project_location_certificate_authority_certificate(name, certificate_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1089
|
+
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
1090
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::Certificate::Representation
|
1091
|
+
command.request_object = certificate_object
|
1092
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Certificate::Representation
|
1093
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Certificate
|
1094
|
+
command.params['name'] = name unless name.nil?
|
1095
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1096
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
1097
|
+
command.query['fields'] = fields unless fields.nil?
|
1098
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1099
|
+
execute_or_queue_command(command, &block)
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# Revoke a Certificate.
|
1103
|
+
# @param [String] name
|
1104
|
+
# Required. The resource name for this Certificate in the format `projects/*/
|
1105
|
+
# locations/*/certificateAuthorities/*/certificates/*`.
|
1106
|
+
# @param [Google::Apis::PrivatecaV1beta1::RevokeCertificateRequest] revoke_certificate_request_object
|
1107
|
+
# @param [String] fields
|
1108
|
+
# Selector specifying which fields to include in a partial response.
|
1109
|
+
# @param [String] quota_user
|
1110
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1111
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1112
|
+
# @param [Google::Apis::RequestOptions] options
|
1113
|
+
# Request-specific options
|
1114
|
+
#
|
1115
|
+
# @yield [result, err] Result & error if block supplied
|
1116
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Certificate] parsed result object
|
1117
|
+
# @yieldparam err [StandardError] error object if request failed
|
1118
|
+
#
|
1119
|
+
# @return [Google::Apis::PrivatecaV1beta1::Certificate]
|
1120
|
+
#
|
1121
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1122
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1123
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1124
|
+
def revoke_certificate(name, revoke_certificate_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1125
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:revoke', options)
|
1126
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::RevokeCertificateRequest::Representation
|
1127
|
+
command.request_object = revoke_certificate_request_object
|
1128
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Certificate::Representation
|
1129
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Certificate
|
1130
|
+
command.params['name'] = name unless name.nil?
|
1131
|
+
command.query['fields'] = fields unless fields.nil?
|
1132
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1133
|
+
execute_or_queue_command(command, &block)
|
1134
|
+
end
|
1135
|
+
|
1136
|
+
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1137
|
+
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1138
|
+
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
1139
|
+
# Clients can use Operations.GetOperation or other methods to check whether the
|
1140
|
+
# cancellation succeeded or whether the operation completed despite cancellation.
|
1141
|
+
# On successful cancellation, the operation is not deleted; instead, it becomes
|
1142
|
+
# an operation with an Operation.error value with a google.rpc.Status.code of 1,
|
1143
|
+
# corresponding to `Code.CANCELLED`.
|
1144
|
+
# @param [String] name
|
1145
|
+
# The name of the operation resource to be cancelled.
|
1146
|
+
# @param [Google::Apis::PrivatecaV1beta1::CancelOperationRequest] cancel_operation_request_object
|
1147
|
+
# @param [String] fields
|
1148
|
+
# Selector specifying which fields to include in a partial response.
|
1149
|
+
# @param [String] quota_user
|
1150
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1151
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1152
|
+
# @param [Google::Apis::RequestOptions] options
|
1153
|
+
# Request-specific options
|
1154
|
+
#
|
1155
|
+
# @yield [result, err] Result & error if block supplied
|
1156
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Empty] parsed result object
|
1157
|
+
# @yieldparam err [StandardError] error object if request failed
|
1158
|
+
#
|
1159
|
+
# @return [Google::Apis::PrivatecaV1beta1::Empty]
|
1160
|
+
#
|
1161
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1162
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1163
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1164
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1165
|
+
command = make_simple_command(:post, 'v1beta1/{+name}:cancel', options)
|
1166
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::CancelOperationRequest::Representation
|
1167
|
+
command.request_object = cancel_operation_request_object
|
1168
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Empty::Representation
|
1169
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Empty
|
1170
|
+
command.params['name'] = name unless name.nil?
|
1171
|
+
command.query['fields'] = fields unless fields.nil?
|
1172
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1173
|
+
execute_or_queue_command(command, &block)
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
# Deletes a long-running operation. This method indicates that the client is no
|
1177
|
+
# longer interested in the operation result. It does not cancel the operation.
|
1178
|
+
# If the server doesn't support this method, it returns `google.rpc.Code.
|
1179
|
+
# UNIMPLEMENTED`.
|
1180
|
+
# @param [String] name
|
1181
|
+
# The name of the operation resource to be deleted.
|
1182
|
+
# @param [String] fields
|
1183
|
+
# Selector specifying which fields to include in a partial response.
|
1184
|
+
# @param [String] quota_user
|
1185
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1186
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1187
|
+
# @param [Google::Apis::RequestOptions] options
|
1188
|
+
# Request-specific options
|
1189
|
+
#
|
1190
|
+
# @yield [result, err] Result & error if block supplied
|
1191
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Empty] parsed result object
|
1192
|
+
# @yieldparam err [StandardError] error object if request failed
|
1193
|
+
#
|
1194
|
+
# @return [Google::Apis::PrivatecaV1beta1::Empty]
|
1195
|
+
#
|
1196
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1197
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1198
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1199
|
+
def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1200
|
+
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
1201
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Empty::Representation
|
1202
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Empty
|
1203
|
+
command.params['name'] = name unless name.nil?
|
1204
|
+
command.query['fields'] = fields unless fields.nil?
|
1205
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1206
|
+
execute_or_queue_command(command, &block)
|
1207
|
+
end
|
1208
|
+
|
1209
|
+
# Gets the latest state of a long-running operation. Clients can use this method
|
1210
|
+
# to poll the operation result at intervals as recommended by the API service.
|
1211
|
+
# @param [String] name
|
1212
|
+
# The name of the operation resource.
|
1213
|
+
# @param [String] fields
|
1214
|
+
# Selector specifying which fields to include in a partial response.
|
1215
|
+
# @param [String] quota_user
|
1216
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1217
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1218
|
+
# @param [Google::Apis::RequestOptions] options
|
1219
|
+
# Request-specific options
|
1220
|
+
#
|
1221
|
+
# @yield [result, err] Result & error if block supplied
|
1222
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Operation] parsed result object
|
1223
|
+
# @yieldparam err [StandardError] error object if request failed
|
1224
|
+
#
|
1225
|
+
# @return [Google::Apis::PrivatecaV1beta1::Operation]
|
1226
|
+
#
|
1227
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1228
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1229
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1230
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1231
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1232
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Operation::Representation
|
1233
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Operation
|
1234
|
+
command.params['name'] = name unless name.nil?
|
1235
|
+
command.query['fields'] = fields unless fields.nil?
|
1236
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1237
|
+
execute_or_queue_command(command, &block)
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
# Lists operations that match the specified filter in the request. If the server
|
1241
|
+
# doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name`
|
1242
|
+
# binding allows API services to override the binding to use different resource
|
1243
|
+
# name schemes, such as `users/*/operations`. To override the binding, API
|
1244
|
+
# services can add a binding such as `"/v1/`name=users/*`/operations"` to their
|
1245
|
+
# service configuration. For backwards compatibility, the default name includes
|
1246
|
+
# the operations collection id, however overriding users must ensure the name
|
1247
|
+
# binding is the parent resource, without the operations collection id.
|
1248
|
+
# @param [String] name
|
1249
|
+
# The name of the operation's parent resource.
|
1250
|
+
# @param [String] filter
|
1251
|
+
# The standard list filter.
|
1252
|
+
# @param [Fixnum] page_size
|
1253
|
+
# The standard list page size.
|
1254
|
+
# @param [String] page_token
|
1255
|
+
# The standard list page token.
|
1256
|
+
# @param [String] fields
|
1257
|
+
# Selector specifying which fields to include in a partial response.
|
1258
|
+
# @param [String] quota_user
|
1259
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1260
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1261
|
+
# @param [Google::Apis::RequestOptions] options
|
1262
|
+
# Request-specific options
|
1263
|
+
#
|
1264
|
+
# @yield [result, err] Result & error if block supplied
|
1265
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::ListOperationsResponse] parsed result object
|
1266
|
+
# @yieldparam err [StandardError] error object if request failed
|
1267
|
+
#
|
1268
|
+
# @return [Google::Apis::PrivatecaV1beta1::ListOperationsResponse]
|
1269
|
+
#
|
1270
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1271
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1272
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1273
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1274
|
+
command = make_simple_command(:get, 'v1beta1/{+name}/operations', options)
|
1275
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::ListOperationsResponse::Representation
|
1276
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::ListOperationsResponse
|
1277
|
+
command.params['name'] = name unless name.nil?
|
1278
|
+
command.query['filter'] = filter unless filter.nil?
|
1279
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1280
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1281
|
+
command.query['fields'] = fields unless fields.nil?
|
1282
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1283
|
+
execute_or_queue_command(command, &block)
|
1284
|
+
end
|
1285
|
+
|
1286
|
+
# Returns a ReusableConfig.
|
1287
|
+
# @param [String] name
|
1288
|
+
# Required. The name of the ReusableConfigs to get.
|
1289
|
+
# @param [String] fields
|
1290
|
+
# Selector specifying which fields to include in a partial response.
|
1291
|
+
# @param [String] quota_user
|
1292
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1293
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1294
|
+
# @param [Google::Apis::RequestOptions] options
|
1295
|
+
# Request-specific options
|
1296
|
+
#
|
1297
|
+
# @yield [result, err] Result & error if block supplied
|
1298
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::ReusableConfig] parsed result object
|
1299
|
+
# @yieldparam err [StandardError] error object if request failed
|
1300
|
+
#
|
1301
|
+
# @return [Google::Apis::PrivatecaV1beta1::ReusableConfig]
|
1302
|
+
#
|
1303
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1304
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1305
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1306
|
+
def get_project_location_reusable_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1307
|
+
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
1308
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::ReusableConfig::Representation
|
1309
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::ReusableConfig
|
1310
|
+
command.params['name'] = name unless name.nil?
|
1311
|
+
command.query['fields'] = fields unless fields.nil?
|
1312
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1313
|
+
execute_or_queue_command(command, &block)
|
1314
|
+
end
|
1315
|
+
|
1316
|
+
# Gets the access control policy for a resource. Returns an empty policy if the
|
1317
|
+
# resource exists and does not have a policy set.
|
1318
|
+
# @param [String] resource
|
1319
|
+
# REQUIRED: The resource for which the policy is being requested. See the
|
1320
|
+
# operation documentation for the appropriate value for this field.
|
1321
|
+
# @param [Fixnum] options_requested_policy_version
|
1322
|
+
# Optional. The policy format version to be returned. Valid values are 0, 1, and
|
1323
|
+
# 3. Requests specifying an invalid value will be rejected. Requests for
|
1324
|
+
# policies with any conditional bindings must specify version 3. Policies
|
1325
|
+
# without any conditional bindings may specify any valid value or leave the
|
1326
|
+
# field unset. To learn which resources support conditions in their IAM policies,
|
1327
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1328
|
+
# resource-policies).
|
1329
|
+
# @param [String] fields
|
1330
|
+
# Selector specifying which fields to include in a partial response.
|
1331
|
+
# @param [String] quota_user
|
1332
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1333
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1334
|
+
# @param [Google::Apis::RequestOptions] options
|
1335
|
+
# Request-specific options
|
1336
|
+
#
|
1337
|
+
# @yield [result, err] Result & error if block supplied
|
1338
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Policy] parsed result object
|
1339
|
+
# @yieldparam err [StandardError] error object if request failed
|
1340
|
+
#
|
1341
|
+
# @return [Google::Apis::PrivatecaV1beta1::Policy]
|
1342
|
+
#
|
1343
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1344
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1345
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1346
|
+
def get_project_location_reusable_config_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1347
|
+
command = make_simple_command(:get, 'v1beta1/{+resource}:getIamPolicy', options)
|
1348
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Policy::Representation
|
1349
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Policy
|
1350
|
+
command.params['resource'] = resource unless resource.nil?
|
1351
|
+
command.query['options.requestedPolicyVersion'] = options_requested_policy_version unless options_requested_policy_version.nil?
|
1352
|
+
command.query['fields'] = fields unless fields.nil?
|
1353
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1354
|
+
execute_or_queue_command(command, &block)
|
1355
|
+
end
|
1356
|
+
|
1357
|
+
# Lists ReusableConfigs.
|
1358
|
+
# @param [String] parent
|
1359
|
+
# Required. The resource name of the location associated with the
|
1360
|
+
# ReusableConfigs, in the format `projects/*/locations/*`.
|
1361
|
+
# @param [String] filter
|
1362
|
+
# Optional. Only include resources that match the filter in the response.
|
1363
|
+
# @param [String] order_by
|
1364
|
+
# Optional. Specify how the results should be sorted.
|
1365
|
+
# @param [Fixnum] page_size
|
1366
|
+
# Optional. Limit on the number of ReusableConfigs to include in the response.
|
1367
|
+
# Further ReusableConfigs can subsequently be obtained by including the
|
1368
|
+
# ListReusableConfigsResponse.next_page_token in a subsequent request. If
|
1369
|
+
# unspecified, the server will pick an appropriate default.
|
1370
|
+
# @param [String] page_token
|
1371
|
+
# Optional. Pagination token, returned earlier via ListReusableConfigsResponse.
|
1372
|
+
# next_page_token.
|
1373
|
+
# @param [String] fields
|
1374
|
+
# Selector specifying which fields to include in a partial response.
|
1375
|
+
# @param [String] quota_user
|
1376
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1377
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1378
|
+
# @param [Google::Apis::RequestOptions] options
|
1379
|
+
# Request-specific options
|
1380
|
+
#
|
1381
|
+
# @yield [result, err] Result & error if block supplied
|
1382
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::ListReusableConfigsResponse] parsed result object
|
1383
|
+
# @yieldparam err [StandardError] error object if request failed
|
1384
|
+
#
|
1385
|
+
# @return [Google::Apis::PrivatecaV1beta1::ListReusableConfigsResponse]
|
1386
|
+
#
|
1387
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1388
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1389
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1390
|
+
def list_project_location_reusable_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1391
|
+
command = make_simple_command(:get, 'v1beta1/{+parent}/reusableConfigs', options)
|
1392
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::ListReusableConfigsResponse::Representation
|
1393
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::ListReusableConfigsResponse
|
1394
|
+
command.params['parent'] = parent unless parent.nil?
|
1395
|
+
command.query['filter'] = filter unless filter.nil?
|
1396
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1397
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1398
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1399
|
+
command.query['fields'] = fields unless fields.nil?
|
1400
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1401
|
+
execute_or_queue_command(command, &block)
|
1402
|
+
end
|
1403
|
+
|
1404
|
+
# Sets the access control policy on the specified resource. Replaces any
|
1405
|
+
# existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `
|
1406
|
+
# PERMISSION_DENIED` errors.
|
1407
|
+
# @param [String] resource
|
1408
|
+
# REQUIRED: The resource for which the policy is being specified. See the
|
1409
|
+
# operation documentation for the appropriate value for this field.
|
1410
|
+
# @param [Google::Apis::PrivatecaV1beta1::SetIamPolicyRequest] set_iam_policy_request_object
|
1411
|
+
# @param [String] fields
|
1412
|
+
# Selector specifying which fields to include in a partial response.
|
1413
|
+
# @param [String] quota_user
|
1414
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1415
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1416
|
+
# @param [Google::Apis::RequestOptions] options
|
1417
|
+
# Request-specific options
|
1418
|
+
#
|
1419
|
+
# @yield [result, err] Result & error if block supplied
|
1420
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::Policy] parsed result object
|
1421
|
+
# @yieldparam err [StandardError] error object if request failed
|
1422
|
+
#
|
1423
|
+
# @return [Google::Apis::PrivatecaV1beta1::Policy]
|
1424
|
+
#
|
1425
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1426
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1427
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1428
|
+
def set_reusable_config_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1429
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:setIamPolicy', options)
|
1430
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::SetIamPolicyRequest::Representation
|
1431
|
+
command.request_object = set_iam_policy_request_object
|
1432
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::Policy::Representation
|
1433
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::Policy
|
1434
|
+
command.params['resource'] = resource unless resource.nil?
|
1435
|
+
command.query['fields'] = fields unless fields.nil?
|
1436
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1437
|
+
execute_or_queue_command(command, &block)
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Returns permissions that a caller has on the specified resource. If the
|
1441
|
+
# resource does not exist, this will return an empty set of permissions, not a `
|
1442
|
+
# NOT_FOUND` error. Note: This operation is designed to be used for building
|
1443
|
+
# permission-aware UIs and command-line tools, not for authorization checking.
|
1444
|
+
# This operation may "fail open" without warning.
|
1445
|
+
# @param [String] resource
|
1446
|
+
# REQUIRED: The resource for which the policy detail is being requested. See the
|
1447
|
+
# operation documentation for the appropriate value for this field.
|
1448
|
+
# @param [Google::Apis::PrivatecaV1beta1::TestIamPermissionsRequest] test_iam_permissions_request_object
|
1449
|
+
# @param [String] fields
|
1450
|
+
# Selector specifying which fields to include in a partial response.
|
1451
|
+
# @param [String] quota_user
|
1452
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1453
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1454
|
+
# @param [Google::Apis::RequestOptions] options
|
1455
|
+
# Request-specific options
|
1456
|
+
#
|
1457
|
+
# @yield [result, err] Result & error if block supplied
|
1458
|
+
# @yieldparam result [Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse] parsed result object
|
1459
|
+
# @yieldparam err [StandardError] error object if request failed
|
1460
|
+
#
|
1461
|
+
# @return [Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse]
|
1462
|
+
#
|
1463
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1464
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1465
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1466
|
+
def test_reusable_config_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1467
|
+
command = make_simple_command(:post, 'v1beta1/{+resource}:testIamPermissions', options)
|
1468
|
+
command.request_representation = Google::Apis::PrivatecaV1beta1::TestIamPermissionsRequest::Representation
|
1469
|
+
command.request_object = test_iam_permissions_request_object
|
1470
|
+
command.response_representation = Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse::Representation
|
1471
|
+
command.response_class = Google::Apis::PrivatecaV1beta1::TestIamPermissionsResponse
|
1472
|
+
command.params['resource'] = resource unless resource.nil?
|
1473
|
+
command.query['fields'] = fields unless fields.nil?
|
1474
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1475
|
+
execute_or_queue_command(command, &block)
|
1476
|
+
end
|
1477
|
+
|
1478
|
+
protected
|
1479
|
+
|
1480
|
+
def apply_command_defaults(command)
|
1481
|
+
command.query['key'] = key unless key.nil?
|
1482
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1483
|
+
end
|
1484
|
+
end
|
1485
|
+
end
|
1486
|
+
end
|
1487
|
+
end
|