google-api-client 0.42.1 → 0.44.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +550 -0
- data/api_names.yaml +1 -0
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -1
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +8 -13
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +59 -83
- data/generated/google/apis/accessapproval_v1/representations.rb +1 -0
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +198 -236
- data/generated/google/apis/accesscontextmanager_v1/service.rb +128 -171
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +532 -651
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +467 -631
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +47 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +18 -0
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1/classes.rb +11 -18
- data/generated/google/apis/adexperiencereport_v1/service.rb +2 -3
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_directory_v1/classes.rb +209 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +0 -39
- data/generated/google/apis/admin_directory_v1/service.rb +535 -998
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +139 -268
- data/generated/google/apis/admob_v1/service.rb +11 -13
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +107 -138
- data/generated/google/apis/alertcenter_v1beta1/service.rb +50 -55
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1610 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +789 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +220 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +315 -399
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +193 -220
- data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +55 -61
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +452 -557
- data/generated/google/apis/androidenterprise_v1/service.rb +181 -240
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +98 -61
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +281 -342
- data/generated/google/apis/androidpublisher_v3/service.rb +127 -155
- data/generated/google/apis/{accessapproval_v1beta1.rb → apigateway_v1alpha1.rb} +9 -9
- data/generated/google/apis/apigateway_v1alpha1/classes.rb +633 -0
- data/generated/google/apis/apigateway_v1alpha1/representations.rb +250 -0
- data/generated/google/apis/apigateway_v1alpha1/service.rb +623 -0
- data/generated/google/apis/{cloudfunctions_v1beta2.rb → apigateway_v1beta.rb} +9 -9
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/apigateway_v1beta/representations.rb +470 -0
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigee_v1.rb +6 -8
- data/generated/google/apis/apigee_v1/classes.rb +925 -1226
- data/generated/google/apis/apigee_v1/representations.rb +66 -2
- data/generated/google/apis/apigee_v1/service.rb +1000 -1142
- data/generated/google/apis/appengine_v1.rb +1 -1
- 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 -44
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -43
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +235 -337
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +564 -541
- data/generated/google/apis/bigquery_v2/representations.rb +86 -0
- data/generated/google/apis/bigquery_v2/service.rb +32 -40
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +350 -65
- data/generated/google/apis/bigtableadmin_v1/representations.rb +129 -0
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +746 -543
- data/generated/google/apis/bigtableadmin_v2/representations.rb +175 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +386 -141
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +97 -118
- data/generated/google/apis/billingbudgets_v1beta1/service.rb +30 -33
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +74 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +246 -354
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +1 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +74 -89
- data/generated/google/apis/blogger_v2.rb +2 -3
- data/generated/google/apis/blogger_v2/classes.rb +1 -2
- data/generated/google/apis/blogger_v2/service.rb +1 -2
- data/generated/google/apis/blogger_v3.rb +2 -3
- data/generated/google/apis/blogger_v3/classes.rb +1 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -2
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +140 -159
- data/generated/google/apis/books_v1/service.rb +47 -49
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +11 -9
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +109 -115
- data/generated/google/apis/chat_v1/representations.rb +13 -0
- data/generated/google/apis/chat_v1/service.rb +65 -38
- data/generated/google/apis/chromeuxreport_v1.rb +1 -1
- data/generated/google/apis/chromeuxreport_v1/classes.rb +68 -57
- data/generated/google/apis/chromeuxreport_v1/representations.rb +2 -0
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -8
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +250 -365
- data/generated/google/apis/classroom_v1/service.rb +643 -902
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +713 -1036
- data/generated/google/apis/cloudasset_v1/service.rb +131 -156
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -775
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +220 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p5beta1.rb +34 -0
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +1300 -0
- data/generated/google/apis/cloudasset_v1p5beta1/representations.rb +399 -0
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +126 -0
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +284 -445
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +371 -343
- data/generated/google/apis/cloudbuild_v1/representations.rb +23 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +265 -66
- data/generated/google/apis/cloudbuild_v1alpha1.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_v1alpha2.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/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +132 -154
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +1 -0
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +323 -538
- data/generated/google/apis/cloudfunctions_v1/representations.rb +0 -17
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +893 -75
- data/generated/google/apis/cloudidentity_v1/representations.rb +342 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +802 -61
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1059 -318
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +331 -22
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +742 -96
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +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/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +502 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +510 -754
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +197 -246
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +265 -429
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +134 -175
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +265 -414
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +96 -129
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +265 -414
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +96 -129
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +280 -380
- data/generated/google/apis/cloudscheduler_v1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +281 -381
- data/generated/google/apis/cloudscheduler_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudsearch_v1/classes.rb +650 -782
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +36 -227
- data/generated/google/apis/cloudshell_v1/representations.rb +0 -67
- data/generated/google/apis/cloudshell_v1/service.rb +21 -25
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +66 -72
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +605 -933
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +602 -964
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +609 -938
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +190 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +92 -179
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1021 -137
- data/generated/google/apis/compute_alpha/representations.rb +208 -4
- data/generated/google/apis/compute_alpha/service.rb +710 -699
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +607 -82
- data/generated/google/apis/compute_beta/representations.rb +114 -1
- data/generated/google/apis/compute_beta/service.rb +623 -612
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1014 -99
- data/generated/google/apis/compute_v1/representations.rb +390 -15
- data/generated/google/apis/compute_v1/service.rb +809 -33
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +996 -965
- data/generated/google/apis/container_v1/representations.rb +75 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1066 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +76 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +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_v1beta1.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/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +20 -2
- data/generated/google/apis/content_v2/representations.rb +1 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +122 -5
- data/generated/google/apis/content_v2_1/representations.rb +36 -0
- data/generated/google/apis/content_v2_1/service.rb +53 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/classes.rb +303 -488
- data/generated/google/apis/customsearch_v1/service.rb +186 -343
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +389 -570
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1015 -972
- data/generated/google/apis/dataflow_v1b3/representations.rb +115 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +299 -257
- data/generated/google/apis/datafusion_v1.rb +40 -0
- data/generated/google/apis/datafusion_v1/classes.rb +1040 -0
- data/generated/google/apis/{cloudfunctions_v1beta2 → datafusion_v1}/representations.rb +143 -94
- data/generated/google/apis/datafusion_v1/service.rb +667 -0
- data/generated/google/apis/datafusion_v1beta1.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/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +249 -327
- data/generated/google/apis/dataproc_v1/representations.rb +18 -0
- data/generated/google/apis/dataproc_v1/service.rb +134 -168
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +272 -322
- data/generated/google/apis/dataproc_v1beta2/representations.rb +33 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +137 -192
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +330 -472
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +255 -371
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/classes.rb +326 -339
- data/generated/google/apis/dfareporting_v3_3/representations.rb +42 -0
- data/generated/google/apis/dfareporting_v3_3/service.rb +673 -1286
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +769 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +225 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +708 -1285
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +1381 -1563
- data/generated/google/apis/dialogflow_v2/representations.rb +68 -15
- data/generated/google/apis/dialogflow_v2/service.rb +324 -444
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +1462 -1643
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +68 -15
- data/generated/google/apis/dialogflow_v2beta1/service.rb +915 -988
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8192 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3459 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2812 -0
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/displayvideo_v1.rb +7 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +1817 -1726
- data/generated/google/apis/displayvideo_v1/representations.rb +305 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1287 -924
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- 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_v1beta2.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_v1dev.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/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +1076 -1301
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +175 -198
- data/generated/google/apis/dns_v1/service.rb +82 -97
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +180 -205
- data/generated/google/apis/dns_v1beta2/service.rb +82 -97
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +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/domainsrdap_v1.rb +1 -1
- data/generated/google/apis/domainsrdap_v1/classes.rb +42 -69
- data/generated/google/apis/domainsrdap_v1/service.rb +16 -16
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +8 -15
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +37 -66
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +202 -15
- data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +107 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +37 -66
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +109 -126
- data/generated/google/apis/doubleclicksearch_v2/service.rb +5 -6
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +17 -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_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +23 -7
- data/generated/google/apis/drive_v3/representations.rb +2 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/driveactivity_v2.rb +1 -1
- data/generated/google/apis/driveactivity_v2/classes.rb +55 -68
- data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
- data/generated/google/apis/factchecktools_v1alpha1/classes.rb +46 -56
- data/generated/google/apis/factchecktools_v1alpha1/service.rb +30 -33
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/fcm_v1/classes.rb +245 -393
- data/generated/google/apis/fcm_v1/service.rb +5 -6
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +154 -173
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +334 -193
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +325 -381
- data/generated/google/apis/firebase_v1beta1/representations.rb +3 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +364 -421
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +89 -112
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +18 -21
- data/generated/google/apis/firebasehosting_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1/classes.rb +36 -40
- data/generated/google/apis/firebasehosting_v1/service.rb +19 -22
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +334 -177
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +526 -145
- data/generated/google/apis/firebaseml_v1.rb +1 -1
- data/generated/google/apis/firebaseml_v1/classes.rb +39 -44
- data/generated/google/apis/firebaseml_v1/service.rb +19 -22
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +67 -68
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -0
- data/generated/google/apis/firebaseml_v1beta2/service.rb +16 -18
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +402 -498
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +334 -409
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/fitness_v1.rb +3 -3
- data/generated/google/apis/fitness_v1/classes.rb +172 -210
- data/generated/google/apis/fitness_v1/service.rb +125 -146
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +8 -8
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +37 -38
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +77 -84
- data/generated/google/apis/games_v1/representations.rb +2 -0
- data/generated/google/apis/games_v1/service.rb +86 -92
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +167 -207
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +351 -523
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +167 -207
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +252 -347
- data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -27
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -100
- data/generated/google/apis/gmail_v1.rb +3 -3
- data/generated/google/apis/gmail_v1/classes.rb +207 -266
- data/generated/google/apis/gmail_v1/service.rb +260 -287
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +5 -2
- data/generated/google/apis/gmailpostmastertools_v1beta1/classes.rb +37 -42
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +35 -41
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +635 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +843 -843
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +880 -1086
- data/generated/google/apis/healthcare_v1beta1/representations.rb +59 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1150 -1108
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/iam_v1.rb +5 -2
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +429 -555
- data/generated/google/apis/iamcredentials_v1.rb +4 -2
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +15 -13
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +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_v1beta1.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/indexing_v3.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +786 -1086
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +637 -856
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +762 -1023
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +93 -111
- data/generated/google/apis/language_v1/service.rb +4 -4
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +78 -90
- data/generated/google/apis/language_v1beta1/service.rb +2 -2
- data/generated/google/apis/language_v1beta2.rb +1 -1
- data/generated/google/apis/language_v1beta2/classes.rb +95 -112
- data/generated/google/apis/language_v1beta2/service.rb +4 -4
- data/generated/google/apis/libraryagent_v1.rb +1 -1
- data/generated/google/apis/libraryagent_v1/classes.rb +10 -16
- data/generated/google/apis/libraryagent_v1/service.rb +13 -16
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +262 -290
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/localservices_v1.rb +31 -0
- data/generated/google/apis/localservices_v1/classes.rb +419 -0
- data/generated/google/apis/localservices_v1/representations.rb +172 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +174 -214
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +1017 -584
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +326 -452
- data/generated/google/apis/managedidentities_v1/service.rb +78 -99
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +344 -457
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +88 -112
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +340 -456
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +76 -96
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +170 -710
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -120
- data/generated/google/apis/memcache_v1beta2/service.rb +58 -190
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +956 -1144
- data/generated/google/apis/ml_v1/representations.rb +65 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +121 -38
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +253 -337
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +126 -144
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +388 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +40 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +227 -179
- data/generated/google/apis/osconfig_v1/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1/service.rb +22 -27
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +400 -409
- data/generated/google/apis/osconfig_v1beta/representations.rb +35 -0
- data/generated/google/apis/osconfig_v1beta/service.rb +39 -52
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +14 -14
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +493 -403
- data/generated/google/apis/people_v1/representations.rb +98 -0
- data/generated/google/apis/people_v1/service.rb +169 -385
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +108 -155
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/classes.rb +2 -2
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +232 -394
- data/generated/google/apis/policytroubleshooter_v1/service.rb +2 -2
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +232 -393
- data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -2
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +148 -219
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +11 -29
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +304 -313
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +407 -512
- data/generated/google/apis/pubsub_v1/representations.rb +3 -0
- data/generated/google/apis/pubsub_v1/service.rb +220 -246
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +244 -354
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsublite_v1.rb +34 -0
- data/generated/google/apis/pubsublite_v1/classes.rb +389 -0
- data/generated/google/apis/{accessapproval_v1beta1 → pubsublite_v1}/representations.rb +78 -53
- data/generated/google/apis/pubsublite_v1/service.rb +525 -0
- data/generated/google/apis/realtimebidding_v1.rb +1 -4
- data/generated/google/apis/realtimebidding_v1/classes.rb +198 -291
- data/generated/google/apis/realtimebidding_v1/service.rb +98 -135
- data/generated/google/apis/recommendationengine_v1beta1.rb +2 -2
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +337 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +0 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +141 -207
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +76 -100
- data/generated/google/apis/recommender_v1/service.rb +43 -58
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +75 -99
- data/generated/google/apis/recommender_v1beta1/service.rb +43 -58
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +477 -116
- data/generated/google/apis/redis_v1/representations.rb +139 -0
- data/generated/google/apis/redis_v1/service.rb +93 -110
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +481 -120
- data/generated/google/apis/redis_v1beta1/representations.rb +139 -0
- data/generated/google/apis/redis_v1beta1/service.rb +93 -110
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +951 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +946 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1099 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +61 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +837 -1249
- data/generated/google/apis/run_v1/representations.rb +1 -1
- data/generated/google/apis/run_v1/service.rb +233 -247
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +935 -1332
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1/service.rb +321 -377
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +210 -276
- data/generated/google/apis/run_v1beta1/service.rb +16 -18
- data/generated/google/apis/runtimeconfig_v1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1/classes.rb +36 -40
- data/generated/google/apis/runtimeconfig_v1/service.rb +19 -22
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +302 -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/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +128 -219
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +1 -32
- data/generated/google/apis/sasportal_v1alpha1/service.rb +38 -526
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/searchconsole_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +2 -2
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +379 -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_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +218 -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/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +584 -826
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1/service.rb +250 -332
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +533 -746
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -0
- data/generated/google/apis/securitycenter_v1beta1/service.rb +160 -202
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +415 -269
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +101 -30
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1120 -1784
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +114 -141
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +1107 -1774
- data/generated/google/apis/serviceconsumermanagement_v1beta1/service.rb +52 -66
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +523 -641
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v2.rb +38 -0
- data/generated/google/apis/servicecontrol_v2/classes.rb +1075 -0
- data/generated/google/apis/servicecontrol_v2/representations.rb +405 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +155 -0
- data/generated/google/apis/servicedirectory_v1beta1.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/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1288 -2090
- data/generated/google/apis/servicemanagement_v1/representations.rb +14 -0
- data/generated/google/apis/servicemanagement_v1/service.rb +144 -195
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +1160 -1763
- data/generated/google/apis/servicenetworking_v1/representations.rb +52 -1
- data/generated/google/apis/servicenetworking_v1/service.rb +210 -114
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +1091 -1684
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +38 -0
- data/generated/google/apis/servicenetworking_v1beta/service.rb +52 -63
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +1144 -1823
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -0
- data/generated/google/apis/serviceusage_v1/service.rb +67 -80
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +1273 -1986
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +8 -0
- data/generated/google/apis/serviceusage_v1beta1/service.rb +130 -162
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +3932 -5007
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +6 -6
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1546 -2156
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +322 -374
- data/generated/google/apis/sql_v1beta4/representations.rb +3 -0
- data/generated/google/apis/sql_v1beta4/service.rb +49 -54
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +8 -7
- data/generated/google/apis/storage_v1/representations.rb +2 -2
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +263 -343
- data/generated/google/apis/storagetransfer_v1/service.rb +43 -40
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +106 -148
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1/classes.rb +120 -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_v1beta.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/{oauth2_v2 → sts_v1beta}/representations.rb +14 -21
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/tagmanager_v1.rb +2 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +225 -288
- data/generated/google/apis/tagmanager_v1/service.rb +22 -23
- data/generated/google/apis/tagmanager_v2.rb +2 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +240 -280
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v2/service.rb +189 -285
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +20 -21
- data/generated/google/apis/tasks_v1/service.rb +16 -17
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +374 -376
- data/generated/google/apis/testing_v1/representations.rb +34 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +678 -928
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/toolresults_v1beta3/service.rb +522 -640
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +122 -78
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +21 -25
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +122 -78
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +21 -25
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3/classes.rb +148 -175
- data/generated/google/apis/translate_v3/service.rb +122 -138
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +149 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -138
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +80 -103
- data/generated/google/apis/vault_v1/service.rb +31 -37
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +753 -918
- data/generated/google/apis/videointelligence_v1/service.rb +71 -48
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +748 -911
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +754 -920
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1304 -1870
- data/generated/google/apis/vision_v1/service.rb +254 -340
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p1beta1/service.rb +91 -121
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +1246 -1790
- data/generated/google/apis/vision_v1p2beta1/service.rb +91 -121
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +4 -6
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1/classes.rb +71 -95
- data/generated/google/apis/websecurityscanner_v1/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +55 -63
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +46 -65
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +77 -92
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +46 -65
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → workflowexecutions_v1beta.rb} +9 -10
- 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 -73
- data/generated/google/apis/workflows_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 +437 -0
- data/generated/google/apis/youtube_analytics_v2.rb +1 -1
- data/generated/google/apis/youtube_analytics_v2/classes.rb +77 -104
- data/generated/google/apis/youtube_analytics_v2/service.rb +106 -126
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +637 -761
- data/generated/google/apis/youtube_partner_v1/service.rb +521 -661
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +1290 -1175
- data/generated/google/apis/youtube_v3/representations.rb +177 -0
- data/generated/google/apis/youtube_v3/service.rb +1159 -1390
- data/generated/google/apis/youtubereporting_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1/classes.rb +20 -29
- data/generated/google/apis/youtubereporting_v1/service.rb +40 -43
- data/google-api-client.gemspec +2 -1
- data/lib/google/apis/core/base_service.rb +7 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +94 -32
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +0 -848
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +0 -486
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/oauth2_v2.rb +0 -40
- data/generated/google/apis/oauth2_v2/classes.rb +0 -165
- data/generated/google/apis/oauth2_v2/service.rb +0 -158
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2305
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1326
- data/generated/google/apis/storage_v1beta2.rb +0 -40
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
@@ -1,417 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'date'
|
16
|
-
require 'google/apis/core/base_service'
|
17
|
-
require 'google/apis/core/json_representation'
|
18
|
-
require 'google/apis/core/hashable'
|
19
|
-
require 'google/apis/errors'
|
20
|
-
|
21
|
-
module Google
|
22
|
-
module Apis
|
23
|
-
module AccessapprovalV1beta1
|
24
|
-
|
25
|
-
# Settings on a Project/Folder/Organization related to Access Approval.
|
26
|
-
class AccessApprovalSettings
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# Output only. This field is read only (not settable via
|
30
|
-
# UpdateAccessAccessApprovalSettings method). If the field is true, that
|
31
|
-
# indicates that at least one service is enrolled for Access Approval in one
|
32
|
-
# or more ancestors of the Project or Folder (this field will always be
|
33
|
-
# unset for the organization since organizations do not have ancestors).
|
34
|
-
# Corresponds to the JSON property `enrolledAncestor`
|
35
|
-
# @return [Boolean]
|
36
|
-
attr_accessor :enrolled_ancestor
|
37
|
-
alias_method :enrolled_ancestor?, :enrolled_ancestor
|
38
|
-
|
39
|
-
# A list of Google Cloud Services for which the given resource has Access
|
40
|
-
# Approval enrolled. Access requests for the resource given by name against
|
41
|
-
# any of these services contained here will be required to have explicit
|
42
|
-
# approval. If name refers to an organization, enrollment can be done for
|
43
|
-
# individual services. If name refers to a folder or project, enrollment can
|
44
|
-
# only be done on an all or nothing basis.
|
45
|
-
# If a cloud_product is repeated in this list, the first entry will be
|
46
|
-
# honored and all following entries will be discarded. A maximum of 10
|
47
|
-
# enrolled services will be enforced, to be expanded as the set of supported
|
48
|
-
# services is expanded.
|
49
|
-
# Corresponds to the JSON property `enrolledServices`
|
50
|
-
# @return [Array<Google::Apis::AccessapprovalV1beta1::EnrolledService>]
|
51
|
-
attr_accessor :enrolled_services
|
52
|
-
|
53
|
-
# The resource name of the settings. Format is one of:
|
54
|
-
# <ol>
|
55
|
-
# <li>"projects/`project_id`/accessApprovalSettings"</li>
|
56
|
-
# <li>"folders/`folder_id`/accessApprovalSettings"</li>
|
57
|
-
# <li>"organizations/`organization_id`/accessApprovalSettings"</li>
|
58
|
-
# <ol>
|
59
|
-
# Corresponds to the JSON property `name`
|
60
|
-
# @return [String]
|
61
|
-
attr_accessor :name
|
62
|
-
|
63
|
-
# A list of email addresses to which notifications relating to approval
|
64
|
-
# requests should be sent. Notifications relating to a resource will be sent
|
65
|
-
# to all emails in the settings of ancestor resources of that resource. A
|
66
|
-
# maximum of 50 email addresses are allowed.
|
67
|
-
# Corresponds to the JSON property `notificationEmails`
|
68
|
-
# @return [Array<String>]
|
69
|
-
attr_accessor :notification_emails
|
70
|
-
|
71
|
-
def initialize(**args)
|
72
|
-
update!(**args)
|
73
|
-
end
|
74
|
-
|
75
|
-
# Update properties of this object
|
76
|
-
def update!(**args)
|
77
|
-
@enrolled_ancestor = args[:enrolled_ancestor] if args.key?(:enrolled_ancestor)
|
78
|
-
@enrolled_services = args[:enrolled_services] if args.key?(:enrolled_services)
|
79
|
-
@name = args[:name] if args.key?(:name)
|
80
|
-
@notification_emails = args[:notification_emails] if args.key?(:notification_emails)
|
81
|
-
end
|
82
|
-
end
|
83
|
-
|
84
|
-
# Home office and physical location of the principal.
|
85
|
-
class AccessLocations
|
86
|
-
include Google::Apis::Core::Hashable
|
87
|
-
|
88
|
-
# The "home office" location of the principal. A two-letter country code
|
89
|
-
# (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some
|
90
|
-
# limited situations Google systems may refer refer to a region code instead
|
91
|
-
# of a country code.
|
92
|
-
# Possible Region Codes:
|
93
|
-
# <ol>
|
94
|
-
# <li>ASI: Asia</li>
|
95
|
-
# <li>EUR: Europe</li>
|
96
|
-
# <li>OCE: Oceania</li>
|
97
|
-
# <li>AFR: Africa</li>
|
98
|
-
# <li>NAM: North America</li>
|
99
|
-
# <li>SAM: South America</li>
|
100
|
-
# <li>ANT: Antarctica</li>
|
101
|
-
# <li>ANY: Any location</li>
|
102
|
-
# </ol>
|
103
|
-
# Corresponds to the JSON property `principalOfficeCountry`
|
104
|
-
# @return [String]
|
105
|
-
attr_accessor :principal_office_country
|
106
|
-
|
107
|
-
# Physical location of the principal at the time of the access. A
|
108
|
-
# two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or
|
109
|
-
# a region code. In some limited situations Google systems may refer refer to
|
110
|
-
# a region code instead of a country code.
|
111
|
-
# Possible Region Codes:
|
112
|
-
# <ol>
|
113
|
-
# <li>ASI: Asia</li>
|
114
|
-
# <li>EUR: Europe</li>
|
115
|
-
# <li>OCE: Oceania</li>
|
116
|
-
# <li>AFR: Africa</li>
|
117
|
-
# <li>NAM: North America</li>
|
118
|
-
# <li>SAM: South America</li>
|
119
|
-
# <li>ANT: Antarctica</li>
|
120
|
-
# <li>ANY: Any location</li>
|
121
|
-
# </ol>
|
122
|
-
# Corresponds to the JSON property `principalPhysicalLocationCountry`
|
123
|
-
# @return [String]
|
124
|
-
attr_accessor :principal_physical_location_country
|
125
|
-
|
126
|
-
def initialize(**args)
|
127
|
-
update!(**args)
|
128
|
-
end
|
129
|
-
|
130
|
-
# Update properties of this object
|
131
|
-
def update!(**args)
|
132
|
-
@principal_office_country = args[:principal_office_country] if args.key?(:principal_office_country)
|
133
|
-
@principal_physical_location_country = args[:principal_physical_location_country] if args.key?(:principal_physical_location_country)
|
134
|
-
end
|
135
|
-
end
|
136
|
-
|
137
|
-
#
|
138
|
-
class AccessReason
|
139
|
-
include Google::Apis::Core::Hashable
|
140
|
-
|
141
|
-
# More detail about certain reason types. See comments for each type above.
|
142
|
-
# Corresponds to the JSON property `detail`
|
143
|
-
# @return [String]
|
144
|
-
attr_accessor :detail
|
145
|
-
|
146
|
-
# Type of access justification.
|
147
|
-
# Corresponds to the JSON property `type`
|
148
|
-
# @return [String]
|
149
|
-
attr_accessor :type
|
150
|
-
|
151
|
-
def initialize(**args)
|
152
|
-
update!(**args)
|
153
|
-
end
|
154
|
-
|
155
|
-
# Update properties of this object
|
156
|
-
def update!(**args)
|
157
|
-
@detail = args[:detail] if args.key?(:detail)
|
158
|
-
@type = args[:type] if args.key?(:type)
|
159
|
-
end
|
160
|
-
end
|
161
|
-
|
162
|
-
# A request for the customer to approve access to a resource.
|
163
|
-
class ApprovalRequest
|
164
|
-
include Google::Apis::Core::Hashable
|
165
|
-
|
166
|
-
# A decision that has been made to approve access to a resource.
|
167
|
-
# Corresponds to the JSON property `approve`
|
168
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApproveDecision]
|
169
|
-
attr_accessor :approve
|
170
|
-
|
171
|
-
# A decision that has been made to dismiss an approval request.
|
172
|
-
# Corresponds to the JSON property `dismiss`
|
173
|
-
# @return [Google::Apis::AccessapprovalV1beta1::DismissDecision]
|
174
|
-
attr_accessor :dismiss
|
175
|
-
|
176
|
-
# The resource name of the request. Format is
|
177
|
-
# "`projects|folders|organizations`/`id`/approvalRequests/`approval_request_id`".
|
178
|
-
# Corresponds to the JSON property `name`
|
179
|
-
# @return [String]
|
180
|
-
attr_accessor :name
|
181
|
-
|
182
|
-
# The time at which approval was requested.
|
183
|
-
# Corresponds to the JSON property `requestTime`
|
184
|
-
# @return [String]
|
185
|
-
attr_accessor :request_time
|
186
|
-
|
187
|
-
# The requested expiration for the approval. If the request is approved,
|
188
|
-
# access will be granted from the time of approval until the expiration time.
|
189
|
-
# Corresponds to the JSON property `requestedExpiration`
|
190
|
-
# @return [String]
|
191
|
-
attr_accessor :requested_expiration
|
192
|
-
|
193
|
-
# Home office and physical location of the principal.
|
194
|
-
# Corresponds to the JSON property `requestedLocations`
|
195
|
-
# @return [Google::Apis::AccessapprovalV1beta1::AccessLocations]
|
196
|
-
attr_accessor :requested_locations
|
197
|
-
|
198
|
-
# The justification for which approval is being requested.
|
199
|
-
# Corresponds to the JSON property `requestedReason`
|
200
|
-
# @return [Google::Apis::AccessapprovalV1beta1::AccessReason]
|
201
|
-
attr_accessor :requested_reason
|
202
|
-
|
203
|
-
# The resource for which approval is being requested. The format of the
|
204
|
-
# resource name is defined at
|
205
|
-
# https://cloud.google.com/apis/design/resource_names. The resource name here
|
206
|
-
# may either be a "full" resource name (e.g.
|
207
|
-
# "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative"
|
208
|
-
# resource name (e.g. "shelves/shelf1/books/book2") as described in the
|
209
|
-
# resource name specification.
|
210
|
-
# Corresponds to the JSON property `requestedResourceName`
|
211
|
-
# @return [String]
|
212
|
-
attr_accessor :requested_resource_name
|
213
|
-
|
214
|
-
# The properties associated with the resource of the request.
|
215
|
-
# Corresponds to the JSON property `requestedResourceProperties`
|
216
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ResourceProperties]
|
217
|
-
attr_accessor :requested_resource_properties
|
218
|
-
|
219
|
-
def initialize(**args)
|
220
|
-
update!(**args)
|
221
|
-
end
|
222
|
-
|
223
|
-
# Update properties of this object
|
224
|
-
def update!(**args)
|
225
|
-
@approve = args[:approve] if args.key?(:approve)
|
226
|
-
@dismiss = args[:dismiss] if args.key?(:dismiss)
|
227
|
-
@name = args[:name] if args.key?(:name)
|
228
|
-
@request_time = args[:request_time] if args.key?(:request_time)
|
229
|
-
@requested_expiration = args[:requested_expiration] if args.key?(:requested_expiration)
|
230
|
-
@requested_locations = args[:requested_locations] if args.key?(:requested_locations)
|
231
|
-
@requested_reason = args[:requested_reason] if args.key?(:requested_reason)
|
232
|
-
@requested_resource_name = args[:requested_resource_name] if args.key?(:requested_resource_name)
|
233
|
-
@requested_resource_properties = args[:requested_resource_properties] if args.key?(:requested_resource_properties)
|
234
|
-
end
|
235
|
-
end
|
236
|
-
|
237
|
-
# Request to approve an ApprovalRequest.
|
238
|
-
class ApproveApprovalRequestMessage
|
239
|
-
include Google::Apis::Core::Hashable
|
240
|
-
|
241
|
-
# The expiration time of this approval.
|
242
|
-
# Corresponds to the JSON property `expireTime`
|
243
|
-
# @return [String]
|
244
|
-
attr_accessor :expire_time
|
245
|
-
|
246
|
-
def initialize(**args)
|
247
|
-
update!(**args)
|
248
|
-
end
|
249
|
-
|
250
|
-
# Update properties of this object
|
251
|
-
def update!(**args)
|
252
|
-
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
253
|
-
end
|
254
|
-
end
|
255
|
-
|
256
|
-
# A decision that has been made to approve access to a resource.
|
257
|
-
class ApproveDecision
|
258
|
-
include Google::Apis::Core::Hashable
|
259
|
-
|
260
|
-
# The time at which approval was granted.
|
261
|
-
# Corresponds to the JSON property `approveTime`
|
262
|
-
# @return [String]
|
263
|
-
attr_accessor :approve_time
|
264
|
-
|
265
|
-
# The time at which the approval expires.
|
266
|
-
# Corresponds to the JSON property `expireTime`
|
267
|
-
# @return [String]
|
268
|
-
attr_accessor :expire_time
|
269
|
-
|
270
|
-
def initialize(**args)
|
271
|
-
update!(**args)
|
272
|
-
end
|
273
|
-
|
274
|
-
# Update properties of this object
|
275
|
-
def update!(**args)
|
276
|
-
@approve_time = args[:approve_time] if args.key?(:approve_time)
|
277
|
-
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
278
|
-
end
|
279
|
-
end
|
280
|
-
|
281
|
-
# Request to dismiss an approval request.
|
282
|
-
class DismissApprovalRequestMessage
|
283
|
-
include Google::Apis::Core::Hashable
|
284
|
-
|
285
|
-
def initialize(**args)
|
286
|
-
update!(**args)
|
287
|
-
end
|
288
|
-
|
289
|
-
# Update properties of this object
|
290
|
-
def update!(**args)
|
291
|
-
end
|
292
|
-
end
|
293
|
-
|
294
|
-
# A decision that has been made to dismiss an approval request.
|
295
|
-
class DismissDecision
|
296
|
-
include Google::Apis::Core::Hashable
|
297
|
-
|
298
|
-
# The time at which the approval request was dismissed.
|
299
|
-
# Corresponds to the JSON property `dismissTime`
|
300
|
-
# @return [String]
|
301
|
-
attr_accessor :dismiss_time
|
302
|
-
|
303
|
-
def initialize(**args)
|
304
|
-
update!(**args)
|
305
|
-
end
|
306
|
-
|
307
|
-
# Update properties of this object
|
308
|
-
def update!(**args)
|
309
|
-
@dismiss_time = args[:dismiss_time] if args.key?(:dismiss_time)
|
310
|
-
end
|
311
|
-
end
|
312
|
-
|
313
|
-
# A generic empty message that you can re-use to avoid defining duplicated
|
314
|
-
# empty messages in your APIs. A typical example is to use it as the request
|
315
|
-
# or the response type of an API method. For instance:
|
316
|
-
# service Foo `
|
317
|
-
# rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
|
318
|
-
# `
|
319
|
-
# The JSON representation for `Empty` is empty JSON object ````.
|
320
|
-
class Empty
|
321
|
-
include Google::Apis::Core::Hashable
|
322
|
-
|
323
|
-
def initialize(**args)
|
324
|
-
update!(**args)
|
325
|
-
end
|
326
|
-
|
327
|
-
# Update properties of this object
|
328
|
-
def update!(**args)
|
329
|
-
end
|
330
|
-
end
|
331
|
-
|
332
|
-
# Represents the enrollment of a cloud resource into a specific service.
|
333
|
-
class EnrolledService
|
334
|
-
include Google::Apis::Core::Hashable
|
335
|
-
|
336
|
-
# The product for which Access Approval will be enrolled. Allowed values are
|
337
|
-
# listed below (case-sensitive):
|
338
|
-
# <ol>
|
339
|
-
# <li>all</li>
|
340
|
-
# <li>appengine.googleapis.com</li>
|
341
|
-
# <li>bigquery.googleapis.com</li>
|
342
|
-
# <li>bigtable.googleapis.com</li>
|
343
|
-
# <li>cloudkms.googleapis.com</li>
|
344
|
-
# <li>compute.googleapis.com</li>
|
345
|
-
# <li>dataflow.googleapis.com</li>
|
346
|
-
# <li>iam.googleapis.com</li>
|
347
|
-
# <li>pubsub.googleapis.com</li>
|
348
|
-
# <li>storage.googleapis.com</li>
|
349
|
-
# <ol>
|
350
|
-
# Corresponds to the JSON property `cloudProduct`
|
351
|
-
# @return [String]
|
352
|
-
attr_accessor :cloud_product
|
353
|
-
|
354
|
-
# The enrollment level of the service.
|
355
|
-
# Corresponds to the JSON property `enrollmentLevel`
|
356
|
-
# @return [String]
|
357
|
-
attr_accessor :enrollment_level
|
358
|
-
|
359
|
-
def initialize(**args)
|
360
|
-
update!(**args)
|
361
|
-
end
|
362
|
-
|
363
|
-
# Update properties of this object
|
364
|
-
def update!(**args)
|
365
|
-
@cloud_product = args[:cloud_product] if args.key?(:cloud_product)
|
366
|
-
@enrollment_level = args[:enrollment_level] if args.key?(:enrollment_level)
|
367
|
-
end
|
368
|
-
end
|
369
|
-
|
370
|
-
# Response to listing of ApprovalRequest objects.
|
371
|
-
class ListApprovalRequestsResponse
|
372
|
-
include Google::Apis::Core::Hashable
|
373
|
-
|
374
|
-
# Approval request details.
|
375
|
-
# Corresponds to the JSON property `approvalRequests`
|
376
|
-
# @return [Array<Google::Apis::AccessapprovalV1beta1::ApprovalRequest>]
|
377
|
-
attr_accessor :approval_requests
|
378
|
-
|
379
|
-
# Token to retrieve the next page of results, or empty if there are no more.
|
380
|
-
# Corresponds to the JSON property `nextPageToken`
|
381
|
-
# @return [String]
|
382
|
-
attr_accessor :next_page_token
|
383
|
-
|
384
|
-
def initialize(**args)
|
385
|
-
update!(**args)
|
386
|
-
end
|
387
|
-
|
388
|
-
# Update properties of this object
|
389
|
-
def update!(**args)
|
390
|
-
@approval_requests = args[:approval_requests] if args.key?(:approval_requests)
|
391
|
-
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
392
|
-
end
|
393
|
-
end
|
394
|
-
|
395
|
-
# The properties associated with the resource of the request.
|
396
|
-
class ResourceProperties
|
397
|
-
include Google::Apis::Core::Hashable
|
398
|
-
|
399
|
-
# Whether an approval will exclude the descendants of the resource being
|
400
|
-
# requested.
|
401
|
-
# Corresponds to the JSON property `excludesDescendants`
|
402
|
-
# @return [Boolean]
|
403
|
-
attr_accessor :excludes_descendants
|
404
|
-
alias_method :excludes_descendants?, :excludes_descendants
|
405
|
-
|
406
|
-
def initialize(**args)
|
407
|
-
update!(**args)
|
408
|
-
end
|
409
|
-
|
410
|
-
# Update properties of this object
|
411
|
-
def update!(**args)
|
412
|
-
@excludes_descendants = args[:excludes_descendants] if args.key?(:excludes_descendants)
|
413
|
-
end
|
414
|
-
end
|
415
|
-
end
|
416
|
-
end
|
417
|
-
end
|
@@ -1,857 +0,0 @@
|
|
1
|
-
# Copyright 2015 Google Inc.
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
require 'google/apis/core/base_service'
|
16
|
-
require 'google/apis/core/json_representation'
|
17
|
-
require 'google/apis/core/hashable'
|
18
|
-
require 'google/apis/errors'
|
19
|
-
|
20
|
-
module Google
|
21
|
-
module Apis
|
22
|
-
module AccessapprovalV1beta1
|
23
|
-
# Access Approval API
|
24
|
-
#
|
25
|
-
# An API for controlling access to data by Google personnel.
|
26
|
-
#
|
27
|
-
# @example
|
28
|
-
# require 'google/apis/accessapproval_v1beta1'
|
29
|
-
#
|
30
|
-
# Accessapproval = Google::Apis::AccessapprovalV1beta1 # Alias the module
|
31
|
-
# service = Accessapproval::AccessApprovalService.new
|
32
|
-
#
|
33
|
-
# @see https://cloud.google.com/access-approval/docs
|
34
|
-
class AccessApprovalService < 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://accessapproval.googleapis.com/', '')
|
47
|
-
@batch_path = 'batch'
|
48
|
-
end
|
49
|
-
|
50
|
-
# Deletes the settings associated with a project, folder, or organization.
|
51
|
-
# This will have the effect of disabling Access Approval for the project,
|
52
|
-
# folder, or organization, but only if all ancestors also have Access
|
53
|
-
# Approval disabled. If Access Approval is enabled at a higher level of the
|
54
|
-
# hierarchy, then Access Approval will still be enabled at this level as
|
55
|
-
# the settings are inherited.
|
56
|
-
# @param [String] name
|
57
|
-
# Name of the AccessApprovalSettings to delete.
|
58
|
-
# @param [String] fields
|
59
|
-
# Selector specifying which fields to include in a partial response.
|
60
|
-
# @param [String] quota_user
|
61
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
-
# @param [Google::Apis::RequestOptions] options
|
64
|
-
# Request-specific options
|
65
|
-
#
|
66
|
-
# @yield [result, err] Result & error if block supplied
|
67
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::Empty] parsed result object
|
68
|
-
# @yieldparam err [StandardError] error object if request failed
|
69
|
-
#
|
70
|
-
# @return [Google::Apis::AccessapprovalV1beta1::Empty]
|
71
|
-
#
|
72
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
-
def delete_folder_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
-
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
77
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::Empty::Representation
|
78
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::Empty
|
79
|
-
command.params['name'] = name unless name.nil?
|
80
|
-
command.query['fields'] = fields unless fields.nil?
|
81
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
|
-
execute_or_queue_command(command, &block)
|
83
|
-
end
|
84
|
-
|
85
|
-
# Gets the settings associated with a project, folder, or organization.
|
86
|
-
# @param [String] name
|
87
|
-
# Name of the AccessApprovalSettings to retrieve.
|
88
|
-
# @param [String] fields
|
89
|
-
# Selector specifying which fields to include in a partial response.
|
90
|
-
# @param [String] quota_user
|
91
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
92
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
93
|
-
# @param [Google::Apis::RequestOptions] options
|
94
|
-
# Request-specific options
|
95
|
-
#
|
96
|
-
# @yield [result, err] Result & error if block supplied
|
97
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
|
98
|
-
# @yieldparam err [StandardError] error object if request failed
|
99
|
-
#
|
100
|
-
# @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
|
101
|
-
#
|
102
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
103
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
104
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
105
|
-
def get_folder_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
106
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
107
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
108
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
|
109
|
-
command.params['name'] = name unless name.nil?
|
110
|
-
command.query['fields'] = fields unless fields.nil?
|
111
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
112
|
-
execute_or_queue_command(command, &block)
|
113
|
-
end
|
114
|
-
|
115
|
-
# Updates the settings associated with a project, folder, or organization.
|
116
|
-
# Settings to update are determined by the value of field_mask.
|
117
|
-
# @param [String] name
|
118
|
-
# The resource name of the settings. Format is one of:
|
119
|
-
# <ol>
|
120
|
-
# <li>"projects/`project_id`/accessApprovalSettings"</li>
|
121
|
-
# <li>"folders/`folder_id`/accessApprovalSettings"</li>
|
122
|
-
# <li>"organizations/`organization_id`/accessApprovalSettings"</li>
|
123
|
-
# <ol>
|
124
|
-
# @param [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] access_approval_settings_object
|
125
|
-
# @param [String] update_mask
|
126
|
-
# For the `FieldMask` definition, see
|
127
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
128
|
-
# fieldmask
|
129
|
-
# If this field is left unset, only the notification_emails field will be
|
130
|
-
# updated.
|
131
|
-
# @param [String] fields
|
132
|
-
# Selector specifying which fields to include in a partial response.
|
133
|
-
# @param [String] quota_user
|
134
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
135
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
136
|
-
# @param [Google::Apis::RequestOptions] options
|
137
|
-
# Request-specific options
|
138
|
-
#
|
139
|
-
# @yield [result, err] Result & error if block supplied
|
140
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
|
141
|
-
# @yieldparam err [StandardError] error object if request failed
|
142
|
-
#
|
143
|
-
# @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
|
144
|
-
#
|
145
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
146
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
147
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
148
|
-
def update_folder_access_approval_settings(name, access_approval_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
149
|
-
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
150
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
151
|
-
command.request_object = access_approval_settings_object
|
152
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
153
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
|
154
|
-
command.params['name'] = name unless name.nil?
|
155
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
156
|
-
command.query['fields'] = fields unless fields.nil?
|
157
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
158
|
-
execute_or_queue_command(command, &block)
|
159
|
-
end
|
160
|
-
|
161
|
-
# Approves a request and returns the updated ApprovalRequest.
|
162
|
-
# Returns NOT_FOUND if the request does not exist. Returns
|
163
|
-
# FAILED_PRECONDITION if the request exists but is not in a pending state.
|
164
|
-
# @param [String] name
|
165
|
-
# Name of the approval request to approve.
|
166
|
-
# @param [Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage] approve_approval_request_message_object
|
167
|
-
# @param [String] fields
|
168
|
-
# Selector specifying which fields to include in a partial response.
|
169
|
-
# @param [String] quota_user
|
170
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
171
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
172
|
-
# @param [Google::Apis::RequestOptions] options
|
173
|
-
# Request-specific options
|
174
|
-
#
|
175
|
-
# @yield [result, err] Result & error if block supplied
|
176
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
177
|
-
# @yieldparam err [StandardError] error object if request failed
|
178
|
-
#
|
179
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
180
|
-
#
|
181
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
182
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
183
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
184
|
-
def approve_folder_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
185
|
-
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
|
186
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
|
187
|
-
command.request_object = approve_approval_request_message_object
|
188
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
189
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
190
|
-
command.params['name'] = name unless name.nil?
|
191
|
-
command.query['fields'] = fields unless fields.nil?
|
192
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
193
|
-
execute_or_queue_command(command, &block)
|
194
|
-
end
|
195
|
-
|
196
|
-
# Dismisses a request. Returns the updated ApprovalRequest.
|
197
|
-
# NOTE: This does not deny access to the resource if another request has been
|
198
|
-
# made and approved. It is equivalent in effect to ignoring the request
|
199
|
-
# altogether.
|
200
|
-
# Returns NOT_FOUND if the request does not exist.
|
201
|
-
# Returns FAILED_PRECONDITION if the request exists but is not in a pending
|
202
|
-
# state.
|
203
|
-
# @param [String] name
|
204
|
-
# Name of the ApprovalRequest to dismiss.
|
205
|
-
# @param [Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage] dismiss_approval_request_message_object
|
206
|
-
# @param [String] fields
|
207
|
-
# Selector specifying which fields to include in a partial response.
|
208
|
-
# @param [String] quota_user
|
209
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
210
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
211
|
-
# @param [Google::Apis::RequestOptions] options
|
212
|
-
# Request-specific options
|
213
|
-
#
|
214
|
-
# @yield [result, err] Result & error if block supplied
|
215
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
216
|
-
# @yieldparam err [StandardError] error object if request failed
|
217
|
-
#
|
218
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
219
|
-
#
|
220
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
221
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
222
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
223
|
-
def dismiss_folder_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
224
|
-
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
|
225
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
|
226
|
-
command.request_object = dismiss_approval_request_message_object
|
227
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
228
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
229
|
-
command.params['name'] = name unless name.nil?
|
230
|
-
command.query['fields'] = fields unless fields.nil?
|
231
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
232
|
-
execute_or_queue_command(command, &block)
|
233
|
-
end
|
234
|
-
|
235
|
-
# Gets an approval request. Returns NOT_FOUND if the request does not exist.
|
236
|
-
# @param [String] name
|
237
|
-
# Name of the approval request to retrieve.
|
238
|
-
# @param [String] fields
|
239
|
-
# Selector specifying which fields to include in a partial response.
|
240
|
-
# @param [String] quota_user
|
241
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
242
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
243
|
-
# @param [Google::Apis::RequestOptions] options
|
244
|
-
# Request-specific options
|
245
|
-
#
|
246
|
-
# @yield [result, err] Result & error if block supplied
|
247
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
248
|
-
# @yieldparam err [StandardError] error object if request failed
|
249
|
-
#
|
250
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
251
|
-
#
|
252
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
253
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
254
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
255
|
-
def get_folder_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
|
256
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
257
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
258
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
259
|
-
command.params['name'] = name unless name.nil?
|
260
|
-
command.query['fields'] = fields unless fields.nil?
|
261
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
262
|
-
execute_or_queue_command(command, &block)
|
263
|
-
end
|
264
|
-
|
265
|
-
# Lists approval requests associated with a project, folder, or organization.
|
266
|
-
# Approval requests can be filtered by state (pending, active, dismissed).
|
267
|
-
# The order is reverse chronological.
|
268
|
-
# @param [String] parent
|
269
|
-
# The parent resource. This may be "projects/`project_id`",
|
270
|
-
# "folders/`folder_id`", or "organizations/`organization_id`".
|
271
|
-
# @param [String] filter
|
272
|
-
# A filter on the type of approval requests to retrieve. Must be one of the
|
273
|
-
# following values:
|
274
|
-
# <ol>
|
275
|
-
# <li>[not set]: Requests that are pending or have active approvals.</li>
|
276
|
-
# <li>ALL: All requests.</li>
|
277
|
-
# <li>PENDING: Only pending requests.</li>
|
278
|
-
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
279
|
-
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
280
|
-
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
281
|
-
# </ol>
|
282
|
-
# @param [Fixnum] page_size
|
283
|
-
# Requested page size.
|
284
|
-
# @param [String] page_token
|
285
|
-
# A token identifying the page of results to return.
|
286
|
-
# @param [String] fields
|
287
|
-
# Selector specifying which fields to include in a partial response.
|
288
|
-
# @param [String] quota_user
|
289
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
290
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
291
|
-
# @param [Google::Apis::RequestOptions] options
|
292
|
-
# Request-specific options
|
293
|
-
#
|
294
|
-
# @yield [result, err] Result & error if block supplied
|
295
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse] parsed result object
|
296
|
-
# @yieldparam err [StandardError] error object if request failed
|
297
|
-
#
|
298
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse]
|
299
|
-
#
|
300
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
301
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
302
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
303
|
-
def list_folder_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
304
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
|
305
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
|
306
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
|
307
|
-
command.params['parent'] = parent unless parent.nil?
|
308
|
-
command.query['filter'] = filter unless filter.nil?
|
309
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
310
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
311
|
-
command.query['fields'] = fields unless fields.nil?
|
312
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
313
|
-
execute_or_queue_command(command, &block)
|
314
|
-
end
|
315
|
-
|
316
|
-
# Deletes the settings associated with a project, folder, or organization.
|
317
|
-
# This will have the effect of disabling Access Approval for the project,
|
318
|
-
# folder, or organization, but only if all ancestors also have Access
|
319
|
-
# Approval disabled. If Access Approval is enabled at a higher level of the
|
320
|
-
# hierarchy, then Access Approval will still be enabled at this level as
|
321
|
-
# the settings are inherited.
|
322
|
-
# @param [String] name
|
323
|
-
# Name of the AccessApprovalSettings to delete.
|
324
|
-
# @param [String] fields
|
325
|
-
# Selector specifying which fields to include in a partial response.
|
326
|
-
# @param [String] quota_user
|
327
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
328
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
329
|
-
# @param [Google::Apis::RequestOptions] options
|
330
|
-
# Request-specific options
|
331
|
-
#
|
332
|
-
# @yield [result, err] Result & error if block supplied
|
333
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::Empty] parsed result object
|
334
|
-
# @yieldparam err [StandardError] error object if request failed
|
335
|
-
#
|
336
|
-
# @return [Google::Apis::AccessapprovalV1beta1::Empty]
|
337
|
-
#
|
338
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
339
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
340
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
341
|
-
def delete_organization_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
342
|
-
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
343
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::Empty::Representation
|
344
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::Empty
|
345
|
-
command.params['name'] = name unless name.nil?
|
346
|
-
command.query['fields'] = fields unless fields.nil?
|
347
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
348
|
-
execute_or_queue_command(command, &block)
|
349
|
-
end
|
350
|
-
|
351
|
-
# Gets the settings associated with a project, folder, or organization.
|
352
|
-
# @param [String] name
|
353
|
-
# Name of the AccessApprovalSettings to retrieve.
|
354
|
-
# @param [String] fields
|
355
|
-
# Selector specifying which fields to include in a partial response.
|
356
|
-
# @param [String] quota_user
|
357
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
358
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
359
|
-
# @param [Google::Apis::RequestOptions] options
|
360
|
-
# Request-specific options
|
361
|
-
#
|
362
|
-
# @yield [result, err] Result & error if block supplied
|
363
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
|
364
|
-
# @yieldparam err [StandardError] error object if request failed
|
365
|
-
#
|
366
|
-
# @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
|
367
|
-
#
|
368
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
369
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
370
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
371
|
-
def get_organization_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
372
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
373
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
374
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
|
375
|
-
command.params['name'] = name unless name.nil?
|
376
|
-
command.query['fields'] = fields unless fields.nil?
|
377
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
378
|
-
execute_or_queue_command(command, &block)
|
379
|
-
end
|
380
|
-
|
381
|
-
# Updates the settings associated with a project, folder, or organization.
|
382
|
-
# Settings to update are determined by the value of field_mask.
|
383
|
-
# @param [String] name
|
384
|
-
# The resource name of the settings. Format is one of:
|
385
|
-
# <ol>
|
386
|
-
# <li>"projects/`project_id`/accessApprovalSettings"</li>
|
387
|
-
# <li>"folders/`folder_id`/accessApprovalSettings"</li>
|
388
|
-
# <li>"organizations/`organization_id`/accessApprovalSettings"</li>
|
389
|
-
# <ol>
|
390
|
-
# @param [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] access_approval_settings_object
|
391
|
-
# @param [String] update_mask
|
392
|
-
# For the `FieldMask` definition, see
|
393
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
394
|
-
# fieldmask
|
395
|
-
# If this field is left unset, only the notification_emails field will be
|
396
|
-
# updated.
|
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::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
|
407
|
-
# @yieldparam err [StandardError] error object if request failed
|
408
|
-
#
|
409
|
-
# @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
|
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 update_organization_access_approval_settings(name, access_approval_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
415
|
-
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
416
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
417
|
-
command.request_object = access_approval_settings_object
|
418
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
419
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
|
420
|
-
command.params['name'] = name unless name.nil?
|
421
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
422
|
-
command.query['fields'] = fields unless fields.nil?
|
423
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
424
|
-
execute_or_queue_command(command, &block)
|
425
|
-
end
|
426
|
-
|
427
|
-
# Approves a request and returns the updated ApprovalRequest.
|
428
|
-
# Returns NOT_FOUND if the request does not exist. Returns
|
429
|
-
# FAILED_PRECONDITION if the request exists but is not in a pending state.
|
430
|
-
# @param [String] name
|
431
|
-
# Name of the approval request to approve.
|
432
|
-
# @param [Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage] approve_approval_request_message_object
|
433
|
-
# @param [String] fields
|
434
|
-
# Selector specifying which fields to include in a partial response.
|
435
|
-
# @param [String] quota_user
|
436
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
437
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
438
|
-
# @param [Google::Apis::RequestOptions] options
|
439
|
-
# Request-specific options
|
440
|
-
#
|
441
|
-
# @yield [result, err] Result & error if block supplied
|
442
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
443
|
-
# @yieldparam err [StandardError] error object if request failed
|
444
|
-
#
|
445
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
446
|
-
#
|
447
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
448
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
449
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
450
|
-
def approve_organization_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
451
|
-
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
|
452
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
|
453
|
-
command.request_object = approve_approval_request_message_object
|
454
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
455
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
456
|
-
command.params['name'] = name unless name.nil?
|
457
|
-
command.query['fields'] = fields unless fields.nil?
|
458
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
459
|
-
execute_or_queue_command(command, &block)
|
460
|
-
end
|
461
|
-
|
462
|
-
# Dismisses a request. Returns the updated ApprovalRequest.
|
463
|
-
# NOTE: This does not deny access to the resource if another request has been
|
464
|
-
# made and approved. It is equivalent in effect to ignoring the request
|
465
|
-
# altogether.
|
466
|
-
# Returns NOT_FOUND if the request does not exist.
|
467
|
-
# Returns FAILED_PRECONDITION if the request exists but is not in a pending
|
468
|
-
# state.
|
469
|
-
# @param [String] name
|
470
|
-
# Name of the ApprovalRequest to dismiss.
|
471
|
-
# @param [Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage] dismiss_approval_request_message_object
|
472
|
-
# @param [String] fields
|
473
|
-
# Selector specifying which fields to include in a partial response.
|
474
|
-
# @param [String] quota_user
|
475
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
476
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
477
|
-
# @param [Google::Apis::RequestOptions] options
|
478
|
-
# Request-specific options
|
479
|
-
#
|
480
|
-
# @yield [result, err] Result & error if block supplied
|
481
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
482
|
-
# @yieldparam err [StandardError] error object if request failed
|
483
|
-
#
|
484
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
485
|
-
#
|
486
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
487
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
488
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
489
|
-
def dismiss_organization_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
490
|
-
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
|
491
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
|
492
|
-
command.request_object = dismiss_approval_request_message_object
|
493
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
494
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
495
|
-
command.params['name'] = name unless name.nil?
|
496
|
-
command.query['fields'] = fields unless fields.nil?
|
497
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
498
|
-
execute_or_queue_command(command, &block)
|
499
|
-
end
|
500
|
-
|
501
|
-
# Gets an approval request. Returns NOT_FOUND if the request does not exist.
|
502
|
-
# @param [String] name
|
503
|
-
# Name of the approval request to retrieve.
|
504
|
-
# @param [String] fields
|
505
|
-
# Selector specifying which fields to include in a partial response.
|
506
|
-
# @param [String] quota_user
|
507
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
508
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
509
|
-
# @param [Google::Apis::RequestOptions] options
|
510
|
-
# Request-specific options
|
511
|
-
#
|
512
|
-
# @yield [result, err] Result & error if block supplied
|
513
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
514
|
-
# @yieldparam err [StandardError] error object if request failed
|
515
|
-
#
|
516
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
517
|
-
#
|
518
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
519
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
520
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
521
|
-
def get_organization_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
|
522
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
523
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
524
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
525
|
-
command.params['name'] = name unless name.nil?
|
526
|
-
command.query['fields'] = fields unless fields.nil?
|
527
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
528
|
-
execute_or_queue_command(command, &block)
|
529
|
-
end
|
530
|
-
|
531
|
-
# Lists approval requests associated with a project, folder, or organization.
|
532
|
-
# Approval requests can be filtered by state (pending, active, dismissed).
|
533
|
-
# The order is reverse chronological.
|
534
|
-
# @param [String] parent
|
535
|
-
# The parent resource. This may be "projects/`project_id`",
|
536
|
-
# "folders/`folder_id`", or "organizations/`organization_id`".
|
537
|
-
# @param [String] filter
|
538
|
-
# A filter on the type of approval requests to retrieve. Must be one of the
|
539
|
-
# following values:
|
540
|
-
# <ol>
|
541
|
-
# <li>[not set]: Requests that are pending or have active approvals.</li>
|
542
|
-
# <li>ALL: All requests.</li>
|
543
|
-
# <li>PENDING: Only pending requests.</li>
|
544
|
-
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
545
|
-
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
546
|
-
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
547
|
-
# </ol>
|
548
|
-
# @param [Fixnum] page_size
|
549
|
-
# Requested page size.
|
550
|
-
# @param [String] page_token
|
551
|
-
# A token identifying the page of results to return.
|
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::AccessapprovalV1beta1::ListApprovalRequestsResponse] parsed result object
|
562
|
-
# @yieldparam err [StandardError] error object if request failed
|
563
|
-
#
|
564
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse]
|
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 list_organization_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
570
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
|
571
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
|
572
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
|
573
|
-
command.params['parent'] = parent unless parent.nil?
|
574
|
-
command.query['filter'] = filter unless filter.nil?
|
575
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
576
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
577
|
-
command.query['fields'] = fields unless fields.nil?
|
578
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
579
|
-
execute_or_queue_command(command, &block)
|
580
|
-
end
|
581
|
-
|
582
|
-
# Deletes the settings associated with a project, folder, or organization.
|
583
|
-
# This will have the effect of disabling Access Approval for the project,
|
584
|
-
# folder, or organization, but only if all ancestors also have Access
|
585
|
-
# Approval disabled. If Access Approval is enabled at a higher level of the
|
586
|
-
# hierarchy, then Access Approval will still be enabled at this level as
|
587
|
-
# the settings are inherited.
|
588
|
-
# @param [String] name
|
589
|
-
# Name of the AccessApprovalSettings to delete.
|
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::AccessapprovalV1beta1::Empty] parsed result object
|
600
|
-
# @yieldparam err [StandardError] error object if request failed
|
601
|
-
#
|
602
|
-
# @return [Google::Apis::AccessapprovalV1beta1::Empty]
|
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 delete_project_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
608
|
-
command = make_simple_command(:delete, 'v1beta1/{+name}', options)
|
609
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::Empty::Representation
|
610
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::Empty
|
611
|
-
command.params['name'] = name unless name.nil?
|
612
|
-
command.query['fields'] = fields unless fields.nil?
|
613
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
614
|
-
execute_or_queue_command(command, &block)
|
615
|
-
end
|
616
|
-
|
617
|
-
# Gets the settings associated with a project, folder, or organization.
|
618
|
-
# @param [String] name
|
619
|
-
# Name of the AccessApprovalSettings to retrieve.
|
620
|
-
# @param [String] fields
|
621
|
-
# Selector specifying which fields to include in a partial response.
|
622
|
-
# @param [String] quota_user
|
623
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
624
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
625
|
-
# @param [Google::Apis::RequestOptions] options
|
626
|
-
# Request-specific options
|
627
|
-
#
|
628
|
-
# @yield [result, err] Result & error if block supplied
|
629
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
|
630
|
-
# @yieldparam err [StandardError] error object if request failed
|
631
|
-
#
|
632
|
-
# @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
|
633
|
-
#
|
634
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
635
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
636
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
637
|
-
def get_project_access_approval_settings(name, fields: nil, quota_user: nil, options: nil, &block)
|
638
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
639
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
640
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
|
641
|
-
command.params['name'] = name unless name.nil?
|
642
|
-
command.query['fields'] = fields unless fields.nil?
|
643
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
644
|
-
execute_or_queue_command(command, &block)
|
645
|
-
end
|
646
|
-
|
647
|
-
# Updates the settings associated with a project, folder, or organization.
|
648
|
-
# Settings to update are determined by the value of field_mask.
|
649
|
-
# @param [String] name
|
650
|
-
# The resource name of the settings. Format is one of:
|
651
|
-
# <ol>
|
652
|
-
# <li>"projects/`project_id`/accessApprovalSettings"</li>
|
653
|
-
# <li>"folders/`folder_id`/accessApprovalSettings"</li>
|
654
|
-
# <li>"organizations/`organization_id`/accessApprovalSettings"</li>
|
655
|
-
# <ol>
|
656
|
-
# @param [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] access_approval_settings_object
|
657
|
-
# @param [String] update_mask
|
658
|
-
# For the `FieldMask` definition, see
|
659
|
-
# https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#
|
660
|
-
# fieldmask
|
661
|
-
# If this field is left unset, only the notification_emails field will be
|
662
|
-
# updated.
|
663
|
-
# @param [String] fields
|
664
|
-
# Selector specifying which fields to include in a partial response.
|
665
|
-
# @param [String] quota_user
|
666
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
667
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
668
|
-
# @param [Google::Apis::RequestOptions] options
|
669
|
-
# Request-specific options
|
670
|
-
#
|
671
|
-
# @yield [result, err] Result & error if block supplied
|
672
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings] parsed result object
|
673
|
-
# @yieldparam err [StandardError] error object if request failed
|
674
|
-
#
|
675
|
-
# @return [Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings]
|
676
|
-
#
|
677
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
678
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
679
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
680
|
-
def update_project_access_approval_settings(name, access_approval_settings_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
681
|
-
command = make_simple_command(:patch, 'v1beta1/{+name}', options)
|
682
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
683
|
-
command.request_object = access_approval_settings_object
|
684
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings::Representation
|
685
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::AccessApprovalSettings
|
686
|
-
command.params['name'] = name unless name.nil?
|
687
|
-
command.query['updateMask'] = update_mask unless update_mask.nil?
|
688
|
-
command.query['fields'] = fields unless fields.nil?
|
689
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
690
|
-
execute_or_queue_command(command, &block)
|
691
|
-
end
|
692
|
-
|
693
|
-
# Approves a request and returns the updated ApprovalRequest.
|
694
|
-
# Returns NOT_FOUND if the request does not exist. Returns
|
695
|
-
# FAILED_PRECONDITION if the request exists but is not in a pending state.
|
696
|
-
# @param [String] name
|
697
|
-
# Name of the approval request to approve.
|
698
|
-
# @param [Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage] approve_approval_request_message_object
|
699
|
-
# @param [String] fields
|
700
|
-
# Selector specifying which fields to include in a partial response.
|
701
|
-
# @param [String] quota_user
|
702
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
703
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
704
|
-
# @param [Google::Apis::RequestOptions] options
|
705
|
-
# Request-specific options
|
706
|
-
#
|
707
|
-
# @yield [result, err] Result & error if block supplied
|
708
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
709
|
-
# @yieldparam err [StandardError] error object if request failed
|
710
|
-
#
|
711
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
712
|
-
#
|
713
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
714
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
715
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
716
|
-
def approve_project_approval_request(name, approve_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
717
|
-
command = make_simple_command(:post, 'v1beta1/{+name}:approve', options)
|
718
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::ApproveApprovalRequestMessage::Representation
|
719
|
-
command.request_object = approve_approval_request_message_object
|
720
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
721
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
722
|
-
command.params['name'] = name unless name.nil?
|
723
|
-
command.query['fields'] = fields unless fields.nil?
|
724
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
725
|
-
execute_or_queue_command(command, &block)
|
726
|
-
end
|
727
|
-
|
728
|
-
# Dismisses a request. Returns the updated ApprovalRequest.
|
729
|
-
# NOTE: This does not deny access to the resource if another request has been
|
730
|
-
# made and approved. It is equivalent in effect to ignoring the request
|
731
|
-
# altogether.
|
732
|
-
# Returns NOT_FOUND if the request does not exist.
|
733
|
-
# Returns FAILED_PRECONDITION if the request exists but is not in a pending
|
734
|
-
# state.
|
735
|
-
# @param [String] name
|
736
|
-
# Name of the ApprovalRequest to dismiss.
|
737
|
-
# @param [Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage] dismiss_approval_request_message_object
|
738
|
-
# @param [String] fields
|
739
|
-
# Selector specifying which fields to include in a partial response.
|
740
|
-
# @param [String] quota_user
|
741
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
742
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
743
|
-
# @param [Google::Apis::RequestOptions] options
|
744
|
-
# Request-specific options
|
745
|
-
#
|
746
|
-
# @yield [result, err] Result & error if block supplied
|
747
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
748
|
-
# @yieldparam err [StandardError] error object if request failed
|
749
|
-
#
|
750
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
751
|
-
#
|
752
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
753
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
754
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
755
|
-
def dismiss_project_approval_request(name, dismiss_approval_request_message_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
756
|
-
command = make_simple_command(:post, 'v1beta1/{+name}:dismiss', options)
|
757
|
-
command.request_representation = Google::Apis::AccessapprovalV1beta1::DismissApprovalRequestMessage::Representation
|
758
|
-
command.request_object = dismiss_approval_request_message_object
|
759
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
760
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
761
|
-
command.params['name'] = name unless name.nil?
|
762
|
-
command.query['fields'] = fields unless fields.nil?
|
763
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
764
|
-
execute_or_queue_command(command, &block)
|
765
|
-
end
|
766
|
-
|
767
|
-
# Gets an approval request. Returns NOT_FOUND if the request does not exist.
|
768
|
-
# @param [String] name
|
769
|
-
# Name of the approval request to retrieve.
|
770
|
-
# @param [String] fields
|
771
|
-
# Selector specifying which fields to include in a partial response.
|
772
|
-
# @param [String] quota_user
|
773
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
774
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
775
|
-
# @param [Google::Apis::RequestOptions] options
|
776
|
-
# Request-specific options
|
777
|
-
#
|
778
|
-
# @yield [result, err] Result & error if block supplied
|
779
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ApprovalRequest] parsed result object
|
780
|
-
# @yieldparam err [StandardError] error object if request failed
|
781
|
-
#
|
782
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ApprovalRequest]
|
783
|
-
#
|
784
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
785
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
786
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
787
|
-
def get_project_approval_request(name, fields: nil, quota_user: nil, options: nil, &block)
|
788
|
-
command = make_simple_command(:get, 'v1beta1/{+name}', options)
|
789
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ApprovalRequest::Representation
|
790
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ApprovalRequest
|
791
|
-
command.params['name'] = name unless name.nil?
|
792
|
-
command.query['fields'] = fields unless fields.nil?
|
793
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
794
|
-
execute_or_queue_command(command, &block)
|
795
|
-
end
|
796
|
-
|
797
|
-
# Lists approval requests associated with a project, folder, or organization.
|
798
|
-
# Approval requests can be filtered by state (pending, active, dismissed).
|
799
|
-
# The order is reverse chronological.
|
800
|
-
# @param [String] parent
|
801
|
-
# The parent resource. This may be "projects/`project_id`",
|
802
|
-
# "folders/`folder_id`", or "organizations/`organization_id`".
|
803
|
-
# @param [String] filter
|
804
|
-
# A filter on the type of approval requests to retrieve. Must be one of the
|
805
|
-
# following values:
|
806
|
-
# <ol>
|
807
|
-
# <li>[not set]: Requests that are pending or have active approvals.</li>
|
808
|
-
# <li>ALL: All requests.</li>
|
809
|
-
# <li>PENDING: Only pending requests.</li>
|
810
|
-
# <li>ACTIVE: Only active (i.e. currently approved) requests.</li>
|
811
|
-
# <li>DISMISSED: Only dismissed (including expired) requests.</li>
|
812
|
-
# <li>HISTORY: Active and dismissed (including expired) requests.</li>
|
813
|
-
# </ol>
|
814
|
-
# @param [Fixnum] page_size
|
815
|
-
# Requested page size.
|
816
|
-
# @param [String] page_token
|
817
|
-
# A token identifying the page of results to return.
|
818
|
-
# @param [String] fields
|
819
|
-
# Selector specifying which fields to include in a partial response.
|
820
|
-
# @param [String] quota_user
|
821
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
822
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
823
|
-
# @param [Google::Apis::RequestOptions] options
|
824
|
-
# Request-specific options
|
825
|
-
#
|
826
|
-
# @yield [result, err] Result & error if block supplied
|
827
|
-
# @yieldparam result [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse] parsed result object
|
828
|
-
# @yieldparam err [StandardError] error object if request failed
|
829
|
-
#
|
830
|
-
# @return [Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse]
|
831
|
-
#
|
832
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
833
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
834
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
835
|
-
def list_project_approval_requests(parent, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
836
|
-
command = make_simple_command(:get, 'v1beta1/{+parent}/approvalRequests', options)
|
837
|
-
command.response_representation = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse::Representation
|
838
|
-
command.response_class = Google::Apis::AccessapprovalV1beta1::ListApprovalRequestsResponse
|
839
|
-
command.params['parent'] = parent unless parent.nil?
|
840
|
-
command.query['filter'] = filter unless filter.nil?
|
841
|
-
command.query['pageSize'] = page_size unless page_size.nil?
|
842
|
-
command.query['pageToken'] = page_token unless page_token.nil?
|
843
|
-
command.query['fields'] = fields unless fields.nil?
|
844
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
845
|
-
execute_or_queue_command(command, &block)
|
846
|
-
end
|
847
|
-
|
848
|
-
protected
|
849
|
-
|
850
|
-
def apply_command_defaults(command)
|
851
|
-
command.query['key'] = key unless key.nil?
|
852
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
853
|
-
end
|
854
|
-
end
|
855
|
-
end
|
856
|
-
end
|
857
|
-
end
|