google-api-client 0.43.0 → 0.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/autoapprove.yml +49 -0
- data/.github/workflows/release-please.yml +77 -0
- data/.gitignore +2 -0
- data/.kokoro/trampoline.sh +0 -0
- data/CHANGELOG.md +1066 -184
- data/Gemfile +1 -0
- data/Rakefile +31 -3
- data/api_list_config.yaml +8 -0
- data/api_names.yaml +1 -0
- data/bin/generate-api +77 -15
- data/docs/oauth-server.md +4 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +7 -9
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +2 -2
- data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
- data/generated/google/apis/accessapproval_v1/classes.rb +60 -86
- data/generated/google/apis/accessapproval_v1/service.rb +93 -132
- data/generated/google/apis/accessapproval_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +266 -236
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +308 -171
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +153 -184
- data/generated/google/apis/accesscontextmanager_v1beta/service.rb +82 -111
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +47 -36
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +72 -2
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +33 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexperiencereport_v1.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +16 -4
- data/generated/google/apis/admin_datatransfer_v1/service.rb +30 -48
- data/generated/google/apis/admin_datatransfer_v1.rb +6 -4
- data/generated/google/apis/admin_directory_v1/classes.rb +344 -242
- data/generated/google/apis/admin_directory_v1/representations.rb +62 -39
- data/generated/google/apis/admin_directory_v1/service.rb +607 -998
- data/generated/google/apis/admin_directory_v1.rb +6 -8
- data/generated/google/apis/admin_reports_v1/classes.rb +31 -33
- data/generated/google/apis/admin_reports_v1/service.rb +131 -187
- data/generated/google/apis/admin_reports_v1.rb +6 -5
- data/generated/google/apis/admob_v1/classes.rb +31 -31
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/admob_v1.rb +6 -2
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/analyticsadmin_v1alpha/classes.rb +1361 -0
- data/generated/google/apis/analyticsadmin_v1alpha/representations.rb +610 -0
- data/generated/google/apis/analyticsadmin_v1alpha/service.rb +2134 -0
- data/generated/google/apis/analyticsadmin_v1alpha.rb +43 -0
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +1655 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +806 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +261 -0
- data/generated/google/apis/analyticsdata_v1alpha.rb +37 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +115 -75
- data/generated/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +9 -1
- data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigateway_v1beta/classes.rb +1162 -0
- data/generated/google/apis/{memcache_v1 → apigateway_v1beta}/representations.rb +156 -157
- data/generated/google/apis/apigateway_v1beta/service.rb +1172 -0
- data/generated/google/apis/apigateway_v1beta.rb +34 -0
- data/generated/google/apis/apigee_v1/classes.rb +630 -88
- data/generated/google/apis/apigee_v1/representations.rb +209 -1
- data/generated/google/apis/apigee_v1/service.rb +401 -74
- data/generated/google/apis/apigee_v1.rb +6 -7
- data/generated/google/apis/appengine_v1/classes.rb +96 -59
- data/generated/google/apis/appengine_v1/representations.rb +17 -0
- data/generated/google/apis/appengine_v1/service.rb +38 -47
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1alpha/classes.rb +9 -11
- data/generated/google/apis/appengine_v1alpha.rb +1 -1
- data/generated/google/apis/appengine_v1beta/classes.rb +103 -59
- data/generated/google/apis/appengine_v1beta/representations.rb +18 -0
- data/generated/google/apis/appengine_v1beta/service.rb +37 -47
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2/classes.rb +14 -16
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/area120tables_v1alpha1/classes.rb +423 -0
- data/generated/google/apis/area120tables_v1alpha1/representations.rb +248 -0
- data/generated/google/apis/area120tables_v1alpha1/service.rb +381 -0
- data/generated/google/apis/area120tables_v1alpha1.rb +46 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +249 -337
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +2 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +44 -57
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +722 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +359 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/{accessapproval_v1beta1.rb → assuredworkloads_v1beta1.rb} +8 -8
- data/generated/google/apis/bigquery_v2/classes.rb +593 -576
- data/generated/google/apis/bigquery_v2/representations.rb +85 -0
- data/generated/google/apis/bigquery_v2/service.rb +79 -41
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +192 -337
- data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +29 -32
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +132 -158
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +232 -282
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +116 -123
- data/generated/google/apis/bigqueryreservation_v1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +137 -183
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +88 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +77 -100
- data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +93 -98
- data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +114 -151
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +137 -119
- data/generated/google/apis/bigtableadmin_v1/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +455 -607
- data/generated/google/apis/bigtableadmin_v2/representations.rb +29 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +194 -247
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1/classes.rb +373 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +171 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +27 -6
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +2 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +4 -1
- data/generated/google/apis/binaryauthorization_v1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +434 -355
- data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +75 -0
- data/generated/google/apis/binaryauthorization_v1beta1/service.rb +109 -89
- data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +54 -54
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +13 -10
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +173 -116
- data/generated/google/apis/chat_v1/representations.rb +36 -0
- data/generated/google/apis/chat_v1/service.rb +30 -42
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +18 -32
- data/generated/google/apis/civicinfo_v2/representations.rb +2 -3
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +153 -21
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +1461 -1039
- data/generated/google/apis/cloudasset_v1/representations.rb +320 -0
- data/generated/google/apis/cloudasset_v1/service.rb +296 -167
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +531 -777
- data/generated/google/apis/cloudasset_v1beta1/service.rb +59 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +204 -349
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +35 -47
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +222 -276
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +75 -93
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p5beta1/classes.rb +481 -720
- data/generated/google/apis/cloudasset_v1p5beta1/service.rb +25 -28
- data/generated/google/apis/cloudasset_v1p5beta1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +285 -446
- data/generated/google/apis/cloudbilling_v1/service.rb +104 -124
- data/generated/google/apis/cloudbilling_v1.rb +7 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +339 -344
- data/generated/google/apis/cloudbuild_v1/representations.rb +8 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +277 -67
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +291 -329
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +15 -18
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +277 -313
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +2 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +22 -28
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/clouddebugger_v2/classes.rb +185 -252
- data/generated/google/apis/clouddebugger_v2/service.rb +53 -59
- data/generated/google/apis/clouddebugger_v2.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +127 -156
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +53 -69
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +335 -494
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +79 -93
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +989 -107
- data/generated/google/apis/cloudidentity_v1/representations.rb +371 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +883 -88
- data/generated/google/apis/cloudidentity_v1.rb +4 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1236 -307
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +424 -21
- data/generated/google/apis/cloudidentity_v1beta1/service.rb +921 -96
- data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +270 -373
- data/generated/google/apis/cloudiot_v1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1/service.rb +147 -154
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +509 -692
- data/generated/google/apis/cloudkms_v1/representations.rb +18 -0
- data/generated/google/apis/cloudkms_v1/service.rb +170 -216
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudprofiler_v2/classes.rb +28 -33
- data/generated/google/apis/cloudprofiler_v2/service.rb +17 -19
- data/generated/google/apis/cloudprofiler_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -7
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +62 -60
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +11 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +26 -25
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +7 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/representations.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +7 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +272 -383
- data/generated/google/apis/cloudscheduler_v1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +273 -384
- data/generated/google/apis/cloudscheduler_v1beta1/service.rb +45 -62
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +651 -781
- data/generated/google/apis/cloudsearch_v1/representations.rb +15 -0
- data/generated/google/apis/cloudsearch_v1/service.rb +286 -326
- data/generated/google/apis/cloudsearch_v1.rb +2 -2
- data/generated/google/apis/cloudshell_v1/classes.rb +256 -105
- data/generated/google/apis/cloudshell_v1/representations.rb +143 -10
- data/generated/google/apis/cloudshell_v1/service.rb +198 -25
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +69 -78
- data/generated/google/apis/cloudshell_v1alpha1/service.rb +20 -24
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +612 -933
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +608 -964
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +178 -270
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +616 -938
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3/service.rb +146 -217
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -61
- data/generated/google/apis/cloudtrace_v1/service.rb +37 -51
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +92 -107
- data/generated/google/apis/cloudtrace_v2/service.rb +8 -11
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2beta1/classes.rb +23 -33
- data/generated/google/apis/cloudtrace_v2beta1/service.rb +30 -37
- data/generated/google/apis/cloudtrace_v2beta1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +189 -242
- data/generated/google/apis/composer_v1/service.rb +79 -150
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +203 -262
- data/generated/google/apis/composer_v1beta1/service.rb +94 -179
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1227 -186
- data/generated/google/apis/compute_alpha/representations.rb +235 -8
- data/generated/google/apis/compute_alpha/service.rb +2009 -1024
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +1080 -108
- data/generated/google/apis/compute_beta/representations.rb +212 -2
- data/generated/google/apis/compute_beta/service.rb +1413 -741
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1512 -106
- data/generated/google/apis/compute_v1/representations.rb +470 -1
- data/generated/google/apis/compute_v1/service.rb +1625 -285
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +982 -965
- data/generated/google/apis/container_v1/representations.rb +60 -0
- data/generated/google/apis/container_v1/service.rb +435 -502
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +1106 -1044
- data/generated/google/apis/container_v1beta1/representations.rb +91 -0
- data/generated/google/apis/container_v1beta1/service.rb +403 -466
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +463 -596
- data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1alpha1/service.rb +149 -169
- data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
- data/generated/google/apis/containeranalysis_v1beta1/classes.rb +461 -613
- data/generated/google/apis/containeranalysis_v1beta1/representations.rb +1 -0
- data/generated/google/apis/containeranalysis_v1beta1/service.rb +75 -90
- data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +515 -1219
- data/generated/google/apis/content_v2/service.rb +377 -650
- data/generated/google/apis/content_v2.rb +3 -4
- data/generated/google/apis/content_v2_1/classes.rb +1108 -1058
- data/generated/google/apis/content_v2_1/representations.rb +288 -0
- data/generated/google/apis/content_v2_1/service.rb +987 -795
- data/generated/google/apis/content_v2_1.rb +3 -4
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +413 -573
- data/generated/google/apis/datacatalog_v1beta1/representations.rb +6 -0
- data/generated/google/apis/datacatalog_v1beta1/service.rb +319 -440
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +1174 -973
- data/generated/google/apis/dataflow_v1b3/representations.rb +148 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +308 -257
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/datafusion_v1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1/service.rb +76 -89
- data/generated/google/apis/datafusion_v1.rb +5 -8
- data/generated/google/apis/datafusion_v1beta1/classes.rb +283 -397
- data/generated/google/apis/datafusion_v1beta1/representations.rb +5 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +81 -95
- data/generated/google/apis/datafusion_v1beta1.rb +5 -8
- data/generated/google/apis/datalabeling_v1beta1/classes.rb +6207 -0
- data/generated/google/apis/datalabeling_v1beta1/representations.rb +3156 -0
- data/generated/google/apis/datalabeling_v1beta1/service.rb +1762 -0
- data/generated/google/apis/datalabeling_v1beta1.rb +34 -0
- data/generated/google/apis/dataproc_v1/classes.rb +97 -13
- data/generated/google/apis/dataproc_v1/representations.rb +34 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +117 -9
- data/generated/google/apis/dataproc_v1beta2/representations.rb +49 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +334 -476
- data/generated/google/apis/datastore_v1/service.rb +52 -63
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1beta1/classes.rb +150 -217
- data/generated/google/apis/datastore_v1beta1/service.rb +11 -12
- data/generated/google/apis/datastore_v1beta1.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +259 -375
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +203 -558
- data/generated/google/apis/deploymentmanager_v2/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2/service.rb +169 -213
- data/generated/google/apis/deploymentmanager_v2.rb +6 -4
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +247 -609
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +0 -132
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +278 -359
- data/generated/google/apis/deploymentmanager_v2beta.rb +6 -5
- data/generated/google/apis/dfareporting_v3_3/classes.rb +162 -339
- data/generated/google/apis/dfareporting_v3_3/service.rb +646 -1262
- data/generated/google/apis/dfareporting_v3_3.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/classes.rb +184 -350
- data/generated/google/apis/dfareporting_v3_4/representations.rb +1 -0
- data/generated/google/apis/dfareporting_v3_4/service.rb +681 -1261
- data/generated/google/apis/dfareporting_v3_4.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +746 -217
- data/generated/google/apis/dialogflow_v2/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +764 -233
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +318 -67
- data/generated/google/apis/dialogflow_v2beta1/service.rb +556 -331
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +8816 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +3725 -0
- data/generated/google/apis/dialogflow_v3beta1/service.rb +2825 -0
- data/generated/google/apis/dialogflow_v3beta1.rb +38 -0
- data/generated/google/apis/digitalassetlinks_v1/classes.rb +66 -92
- data/generated/google/apis/digitalassetlinks_v1/service.rb +131 -188
- data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +271 -38
- data/generated/google/apis/displayvideo_v1/representations.rb +83 -0
- data/generated/google/apis/displayvideo_v1/service.rb +287 -32
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1beta/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta/service.rb +161 -0
- data/generated/google/apis/displayvideo_v1beta.rb +38 -0
- data/generated/google/apis/displayvideo_v1beta2/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1beta2/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1beta2/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1beta2.rb +38 -0
- data/generated/google/apis/displayvideo_v1dev/classes.rb +146 -0
- data/generated/google/apis/displayvideo_v1dev/representations.rb +72 -0
- data/generated/google/apis/displayvideo_v1dev/service.rb +130 -0
- data/generated/google/apis/displayvideo_v1dev.rb +38 -0
- data/generated/google/apis/dlp_v2/classes.rb +1111 -1310
- data/generated/google/apis/dlp_v2/representations.rb +16 -0
- data/generated/google/apis/dlp_v2/service.rb +962 -905
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +356 -198
- data/generated/google/apis/dns_v1/representations.rb +83 -0
- data/generated/google/apis/dns_v1/service.rb +83 -98
- data/generated/google/apis/dns_v1.rb +2 -2
- data/generated/google/apis/dns_v1beta2/classes.rb +362 -206
- data/generated/google/apis/dns_v1beta2/representations.rb +83 -0
- data/generated/google/apis/dns_v1beta2/service.rb +83 -98
- data/generated/google/apis/dns_v1beta2.rb +2 -2
- data/generated/google/apis/docs_v1/classes.rb +894 -1229
- data/generated/google/apis/docs_v1/service.rb +17 -22
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/documentai_v1beta2/classes.rb +2253 -824
- data/generated/google/apis/documentai_v1beta2/representations.rb +701 -0
- data/generated/google/apis/documentai_v1beta2/service.rb +22 -24
- data/generated/google/apis/documentai_v1beta2.rb +1 -1
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1.rb → documentai_v1beta3.rb} +11 -10
- data/generated/google/apis/domains_v1alpha2/classes.rb +1540 -0
- data/generated/google/apis/domains_v1alpha2/representations.rb +606 -0
- data/generated/google/apis/domains_v1alpha2/service.rb +805 -0
- data/generated/google/apis/domains_v1alpha2.rb +34 -0
- data/generated/google/apis/domains_v1beta1/classes.rb +1540 -0
- data/generated/google/apis/domains_v1beta1/representations.rb +606 -0
- data/generated/google/apis/domains_v1beta1/service.rb +805 -0
- data/generated/google/apis/domains_v1beta1.rb +34 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -12
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1.rb +3 -2
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +13 -20
- data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +33 -64
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +3 -2
- data/generated/google/apis/doubleclicksearch_v2/service.rb +2 -2
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +18 -7
- data/generated/google/apis/drive_v2/representations.rb +1 -0
- data/generated/google/apis/drive_v2/service.rb +79 -15
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +18 -8
- data/generated/google/apis/drive_v3/representations.rb +1 -0
- data/generated/google/apis/drive_v3/service.rb +59 -11
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/eventarc_v1beta1/classes.rb +931 -0
- data/generated/google/apis/eventarc_v1beta1/representations.rb +379 -0
- data/generated/google/apis/{memcache_v1 → eventarc_v1beta1}/service.rb +236 -215
- data/generated/google/apis/eventarc_v1beta1.rb +34 -0
- data/generated/google/apis/file_v1/classes.rb +155 -174
- data/generated/google/apis/file_v1/service.rb +43 -52
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +335 -194
- data/generated/google/apis/file_v1beta1/representations.rb +55 -0
- data/generated/google/apis/file_v1beta1/service.rb +267 -55
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +33 -51
- data/generated/google/apis/firebase_v1beta1/representations.rb +2 -16
- data/generated/google/apis/firebase_v1beta1/service.rb +21 -1
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +188 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +83 -0
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +418 -4
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2/classes.rb +8 -8
- data/generated/google/apis/firebaseml_v1beta2/representations.rb +1 -1
- data/generated/google/apis/firebaseml_v1beta2.rb +1 -1
- data/generated/google/apis/firebaserules_v1/classes.rb +102 -137
- data/generated/google/apis/firebaserules_v1/service.rb +87 -110
- data/generated/google/apis/firebaserules_v1.rb +1 -1
- data/generated/google/apis/firestore_v1/classes.rb +406 -502
- data/generated/google/apis/firestore_v1/service.rb +165 -201
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +338 -413
- data/generated/google/apis/firestore_v1beta1/service.rb +106 -122
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta2/classes.rb +135 -165
- data/generated/google/apis/firestore_v1beta2/service.rb +65 -86
- data/generated/google/apis/firestore_v1beta2.rb +1 -1
- data/generated/google/apis/fitness_v1/classes.rb +982 -0
- data/generated/google/apis/fitness_v1/representations.rb +398 -0
- data/generated/google/apis/fitness_v1/service.rb +628 -0
- data/generated/google/apis/fitness_v1.rb +97 -0
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -3
- data/generated/google/apis/games_configuration_v1configuration/service.rb +6 -6
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +14 -20
- data/generated/google/apis/games_management_v1management/service.rb +35 -36
- data/generated/google/apis/games_management_v1management.rb +2 -3
- data/generated/google/apis/games_v1/classes.rb +376 -83
- data/generated/google/apis/games_v1/representations.rb +118 -0
- data/generated/google/apis/games_v1/service.rb +118 -90
- data/generated/google/apis/games_v1.rb +2 -3
- data/generated/google/apis/gameservices_v1/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1/service.rb +54 -51
- data/generated/google/apis/gameservices_v1.rb +1 -1
- data/generated/google/apis/gameservices_v1beta/classes.rb +22 -14
- data/generated/google/apis/gameservices_v1beta/representations.rb +1 -0
- data/generated/google/apis/gameservices_v1beta/service.rb +54 -51
- data/generated/google/apis/gameservices_v1beta.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +70 -76
- data/generated/google/apis/genomics_v1/service.rb +28 -43
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +223 -290
- data/generated/google/apis/genomics_v1alpha2/service.rb +54 -76
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +356 -275
- data/generated/google/apis/genomics_v2alpha1/representations.rb +48 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +47 -66
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/gmail_v1/classes.rb +37 -43
- data/generated/google/apis/gmail_v1/service.rb +5 -4
- data/generated/google/apis/gmail_v1.rb +1 -1
- data/generated/google/apis/gmailpostmastertools_v1beta1/service.rb +11 -11
- data/generated/google/apis/gmailpostmastertools_v1beta1.rb +2 -2
- data/generated/google/apis/groupsmigration_v1/classes.rb +51 -0
- data/generated/google/apis/groupsmigration_v1/representations.rb +40 -0
- data/generated/google/apis/groupsmigration_v1/service.rb +100 -0
- data/generated/google/apis/groupsmigration_v1.rb +35 -0
- data/generated/google/apis/healthcare_v1/classes.rb +637 -826
- data/generated/google/apis/healthcare_v1/representations.rb +32 -0
- data/generated/google/apis/healthcare_v1/service.rb +842 -855
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +1937 -1299
- data/generated/google/apis/healthcare_v1beta1/representations.rb +534 -65
- data/generated/google/apis/healthcare_v1beta1/service.rb +2534 -1293
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +76 -164
- data/generated/google/apis/homegraph_v1/service.rb +23 -35
- data/generated/google/apis/homegraph_v1.rb +4 -1
- data/generated/google/apis/iam_v1/classes.rb +395 -592
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/iam_v1/service.rb +427 -555
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +75 -85
- data/generated/google/apis/iamcredentials_v1/service.rb +14 -13
- data/generated/google/apis/iamcredentials_v1.rb +3 -2
- data/generated/google/apis/iap_v1/classes.rb +253 -355
- data/generated/google/apis/iap_v1/representations.rb +1 -0
- data/generated/google/apis/iap_v1/service.rb +61 -71
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +164 -254
- data/generated/google/apis/iap_v1beta1/representations.rb +1 -0
- data/generated/google/apis/iap_v1beta1/service.rb +17 -19
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/indexing_v3/classes.rb +11 -11
- data/generated/google/apis/indexing_v3.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +1584 -1086
- data/generated/google/apis/jobs_v2/representations.rb +272 -0
- data/generated/google/apis/jobs_v2/service.rb +85 -126
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +1559 -980
- data/generated/google/apis/jobs_v3/representations.rb +272 -0
- data/generated/google/apis/jobs_v3/service.rb +101 -139
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +1521 -1023
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
- data/generated/google/apis/jobs_v3p1beta1/service.rb +103 -142
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/kgsearch_v1/classes.rb +4 -4
- data/generated/google/apis/kgsearch_v1/service.rb +11 -11
- data/generated/google/apis/kgsearch_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +56 -86
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/lifesciences_v2beta/classes.rb +366 -290
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/lifesciences_v2beta/service.rb +30 -42
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/localservices_v1/classes.rb +426 -0
- data/generated/google/apis/localservices_v1/representations.rb +174 -0
- data/generated/google/apis/localservices_v1/service.rb +199 -0
- data/generated/google/apis/{appsactivity_v1.rb → localservices_v1.rb} +8 -11
- data/generated/google/apis/logging_v2/classes.rb +306 -232
- data/generated/google/apis/logging_v2/representations.rb +79 -0
- data/generated/google/apis/logging_v2/service.rb +3307 -1579
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/managedidentities_v1/classes.rb +8 -1
- data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
- data/generated/google/apis/managedidentities_v1/service.rb +1 -4
- data/generated/google/apis/managedidentities_v1.rb +1 -1
- data/generated/google/apis/managedidentities_v1alpha1/classes.rb +87 -1
- data/generated/google/apis/managedidentities_v1alpha1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1alpha1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
- data/generated/google/apis/managedidentities_v1beta1/classes.rb +88 -1
- data/generated/google/apis/managedidentities_v1beta1/representations.rb +34 -0
- data/generated/google/apis/managedidentities_v1beta1/service.rb +83 -5
- data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
- data/generated/google/apis/manufacturers_v1/classes.rb +99 -109
- data/generated/google/apis/manufacturers_v1/service.rb +44 -55
- data/generated/google/apis/manufacturers_v1.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +171 -250
- data/generated/google/apis/memcache_v1beta2/representations.rb +0 -19
- data/generated/google/apis/memcache_v1beta2/service.rb +60 -73
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +1122 -1149
- data/generated/google/apis/ml_v1/representations.rb +82 -0
- data/generated/google/apis/ml_v1/service.rb +194 -253
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +107 -26
- data/generated/google/apis/monitoring_v1/representations.rb +35 -0
- data/generated/google/apis/monitoring_v1/service.rb +10 -11
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +303 -345
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3/service.rb +176 -146
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/networkmanagement_v1/classes.rb +273 -429
- data/generated/google/apis/networkmanagement_v1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +456 -429
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +63 -0
- data/generated/google/apis/networkmanagement_v1beta1/service.rb +97 -120
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +154 -902
- data/generated/google/apis/osconfig_v1/representations.rb +0 -337
- data/generated/google/apis/osconfig_v1/service.rb +26 -31
- data/generated/google/apis/osconfig_v1.rb +3 -3
- data/generated/google/apis/osconfig_v1beta/classes.rb +327 -411
- data/generated/google/apis/osconfig_v1beta/service.rb +43 -56
- data/generated/google/apis/osconfig_v1beta.rb +3 -3
- data/generated/google/apis/oslogin_v1/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1/service.rb +12 -16
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +16 -14
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +17 -17
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +14 -12
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1beta/service.rb +12 -16
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +18 -24
- data/generated/google/apis/pagespeedonline_v5/service.rb +3 -4
- data/generated/google/apis/pagespeedonline_v5.rb +2 -2
- data/generated/google/apis/people_v1/classes.rb +173 -63
- data/generated/google/apis/people_v1/representations.rb +41 -0
- data/generated/google/apis/people_v1/service.rb +63 -61
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/playablelocations_v3/classes.rb +114 -161
- data/generated/google/apis/playablelocations_v3/service.rb +10 -10
- data/generated/google/apis/playablelocations_v3.rb +1 -1
- data/generated/google/apis/playcustomapp_v1/service.rb +2 -2
- data/generated/google/apis/playcustomapp_v1.rb +1 -1
- data/generated/google/apis/poly_v1/classes.rb +65 -79
- data/generated/google/apis/poly_v1/service.rb +50 -63
- data/generated/google/apis/poly_v1.rb +3 -4
- data/generated/google/apis/privateca_v1beta1/classes.rb +2466 -0
- data/generated/google/apis/privateca_v1beta1/representations.rb +996 -0
- data/generated/google/apis/privateca_v1beta1/service.rb +1487 -0
- data/generated/google/apis/privateca_v1beta1.rb +34 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +399 -518
- data/generated/google/apis/pubsub_v1/representations.rb +2 -0
- data/generated/google/apis/pubsub_v1/service.rb +221 -247
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a/classes.rb +71 -86
- data/generated/google/apis/pubsub_v1beta1a/service.rb +31 -38
- data/generated/google/apis/pubsub_v1beta1a.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +251 -354
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2/service.rb +96 -108
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +461 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +261 -0
- data/generated/google/apis/pubsublite_v1/service.rb +558 -0
- data/generated/google/apis/{memcache_v1.rb → pubsublite_v1.rb} +8 -9
- data/generated/google/apis/realtimebidding_v1/classes.rb +84 -123
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/realtimebidding_v1/service.rb +4 -1
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/recommendationengine_v1beta1/classes.rb +367 -456
- data/generated/google/apis/recommendationengine_v1beta1/representations.rb +25 -16
- data/generated/google/apis/recommendationengine_v1beta1/service.rb +140 -206
- data/generated/google/apis/recommendationengine_v1beta1.rb +1 -1
- data/generated/google/apis/recommender_v1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1/service.rb +4 -2
- data/generated/google/apis/recommender_v1.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
- data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
- data/generated/google/apis/recommender_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +91 -513
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1/service.rb +92 -109
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +123 -517
- data/generated/google/apis/redis_v1beta1/representations.rb +12 -137
- data/generated/google/apis/redis_v1beta1/service.rb +126 -109
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +957 -1078
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1/service.rb +26 -33
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +952 -1071
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +103 -65
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +1105 -1250
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +62 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +147 -206
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/run_v1/classes.rb +19 -138
- data/generated/google/apis/run_v1/representations.rb +1 -62
- data/generated/google/apis/run_v1/service.rb +0 -342
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +1 -1
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1beta1/classes.rb +3 -2
- data/generated/google/apis/run_v1beta1.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +301 -412
- data/generated/google/apis/runtimeconfig_v1beta1/representations.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +135 -159
- data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
- data/generated/google/apis/safebrowsing_v4/classes.rb +55 -64
- data/generated/google/apis/safebrowsing_v4/service.rb +4 -4
- data/generated/google/apis/safebrowsing_v4.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +26 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +14 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +644 -56
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/script_v1/classes.rb +88 -111
- data/generated/google/apis/script_v1/service.rb +63 -69
- data/generated/google/apis/script_v1.rb +1 -1
- data/generated/google/apis/searchconsole_v1/classes.rb +388 -0
- data/generated/google/apis/searchconsole_v1/representations.rb +162 -0
- data/generated/google/apis/searchconsole_v1/service.rb +287 -0
- data/generated/google/apis/searchconsole_v1.rb +7 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +378 -365
- data/generated/google/apis/secretmanager_v1/representations.rb +92 -0
- data/generated/google/apis/secretmanager_v1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +217 -363
- data/generated/google/apis/secretmanager_v1beta1/representations.rb +1 -0
- data/generated/google/apis/secretmanager_v1beta1/service.rb +66 -82
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +20 -204
- data/generated/google/apis/securitycenter_v1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +22 -204
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +1 -72
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/classes.rb +275 -291
- data/generated/google/apis/{securitycenter_v1p1alpha1 → securitycenter_v1beta2}/representations.rb +83 -84
- data/generated/google/apis/securitycenter_v1beta2/service.rb +1494 -0
- data/generated/google/apis/{securitycenter_v1p1beta1.rb → securitycenter_v1beta2.rb} +6 -6
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +35 -123
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +32 -30
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +24 -112
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +0 -18
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +601 -642
- data/generated/google/apis/servicecontrol_v1/representations.rb +10 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +36 -46
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +343 -325
- data/generated/google/apis/servicecontrol_v2/representations.rb +8 -0
- data/generated/google/apis/servicecontrol_v2/service.rb +33 -43
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicedirectory_v1beta1/classes.rb +221 -333
- data/generated/google/apis/servicedirectory_v1beta1/representations.rb +1 -0
- data/generated/google/apis/servicedirectory_v1beta1/service.rb +94 -129
- data/generated/google/apis/servicedirectory_v1beta1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +1244 -2174
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -31
- data/generated/google/apis/servicemanagement_v1/service.rb +141 -228
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +278 -121
- data/generated/google/apis/servicenetworking_v1/representations.rb +115 -15
- data/generated/google/apis/servicenetworking_v1/service.rb +118 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +213 -112
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +84 -14
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +57 -111
- data/generated/google/apis/serviceusage_v1/representations.rb +4 -18
- data/generated/google/apis/serviceusage_v1/service.rb +5 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +122 -112
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +23 -18
- data/generated/google/apis/serviceusage_v1beta1/service.rb +36 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4029 -5014
- data/generated/google/apis/sheets_v4/representations.rb +625 -0
- data/generated/google/apis/sheets_v4/service.rb +113 -149
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +841 -1114
- data/generated/google/apis/slides_v1/service.rb +23 -30
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +273 -0
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +157 -0
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +304 -0
- data/generated/google/apis/smartdevicemanagement_v1.rb +35 -0
- data/generated/google/apis/sourcerepo_v1/classes.rb +250 -400
- data/generated/google/apis/sourcerepo_v1/service.rb +40 -49
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +1553 -2157
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/spanner_v1/service.rb +443 -618
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +174 -220
- data/generated/google/apis/speech_v1/service.rb +27 -32
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +253 -306
- data/generated/google/apis/speech_v1p1beta1/service.rb +27 -32
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v2beta1/classes.rb +66 -76
- data/generated/google/apis/speech_v2beta1/service.rb +10 -12
- data/generated/google/apis/speech_v2beta1.rb +1 -1
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +537 -452
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +142 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +295 -300
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/storage_v1/classes.rb +10 -17
- data/generated/google/apis/storage_v1/representations.rb +2 -3
- data/generated/google/apis/storage_v1/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +301 -349
- data/generated/google/apis/storagetransfer_v1/representations.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +53 -72
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/streetviewpublish_v1/classes.rb +110 -152
- data/generated/google/apis/streetviewpublish_v1/service.rb +94 -177
- data/generated/google/apis/streetviewpublish_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +121 -0
- data/generated/google/apis/sts_v1/representations.rb +59 -0
- data/generated/google/apis/sts_v1/service.rb +90 -0
- data/generated/google/apis/sts_v1.rb +32 -0
- data/generated/google/apis/sts_v1beta/classes.rb +191 -0
- data/generated/google/apis/sts_v1beta/representations.rb +61 -0
- data/generated/google/apis/sts_v1beta/service.rb +92 -0
- data/generated/google/apis/sts_v1beta.rb +32 -0
- data/generated/google/apis/tagmanager_v1/service.rb +2 -2
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v2/classes.rb +12 -0
- data/generated/google/apis/tagmanager_v2/representations.rb +3 -0
- data/generated/google/apis/tagmanager_v2/service.rb +2 -2
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +21 -22
- data/generated/google/apis/tasks_v1/service.rb +19 -19
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +384 -390
- data/generated/google/apis/testing_v1/representations.rb +23 -0
- data/generated/google/apis/testing_v1/service.rb +22 -28
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +51 -57
- data/generated/google/apis/texttospeech_v1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +96 -57
- data/generated/google/apis/texttospeech_v1beta1/representations.rb +19 -0
- data/generated/google/apis/texttospeech_v1beta1/service.rb +9 -10
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +20 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +13 -0
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1/service.rb +8 -8
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +57 -3
- data/generated/google/apis/tpu_v1alpha1/representations.rb +19 -0
- data/generated/google/apis/tpu_v1alpha1/service.rb +8 -8
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/trafficdirector_v2/classes.rb +1347 -0
- data/generated/google/apis/trafficdirector_v2/representations.rb +620 -0
- data/generated/google/apis/trafficdirector_v2/service.rb +89 -0
- data/generated/google/apis/trafficdirector_v2.rb +34 -0
- data/generated/google/apis/translate_v3/classes.rb +151 -177
- data/generated/google/apis/translate_v3/service.rb +122 -151
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/translate_v3beta1/classes.rb +150 -170
- data/generated/google/apis/translate_v3beta1/service.rb +122 -151
- data/generated/google/apis/translate_v3beta1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +413 -103
- data/generated/google/apis/vault_v1/representations.rb +162 -0
- data/generated/google/apis/vault_v1/service.rb +182 -37
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vectortile_v1/classes.rb +185 -267
- data/generated/google/apis/vectortile_v1/service.rb +75 -88
- data/generated/google/apis/vectortile_v1.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1/classes.rb +20 -27
- data/generated/google/apis/verifiedaccess_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1493 -935
- data/generated/google/apis/videointelligence_v1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1/service.rb +38 -77
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1488 -928
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1beta2/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1482 -922
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p1beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1485 -925
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +402 -2
- data/generated/google/apis/videointelligence_v1p2beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1410 -937
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +368 -2
- data/generated/google/apis/videointelligence_v1p3beta1/service.rb +4 -4
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +16 -16
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +16 -16
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/webfonts_v1/classes.rb +1 -2
- data/generated/google/apis/webfonts_v1/service.rb +2 -4
- data/generated/google/apis/webfonts_v1.rb +2 -3
- data/generated/google/apis/websecurityscanner_v1.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
- data/generated/google/apis/workflowexecutions_v1beta/classes.rb +155 -0
- data/generated/google/apis/workflowexecutions_v1beta/representations.rb +88 -0
- data/generated/google/apis/{securitycenter_v1p1alpha1 → workflowexecutions_v1beta}/service.rb +73 -69
- data/generated/google/apis/workflowexecutions_v1beta.rb +34 -0
- data/generated/google/apis/workflows_v1beta/classes.rb +406 -0
- data/generated/google/apis/workflows_v1beta/representations.rb +173 -0
- data/generated/google/apis/workflows_v1beta/service.rb +438 -0
- data/generated/google/apis/workflows_v1beta.rb +35 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -586
- data/generated/google/apis/youtube_v3/representations.rb +0 -269
- data/generated/google/apis/youtube_v3/service.rb +3 -120
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/google-api-client.gemspec +25 -24
- data/lib/google/apis/core/api_command.rb +1 -0
- data/lib/google/apis/core/http_command.rb +2 -1
- data/lib/google/apis/options.rb +8 -5
- data/lib/google/apis/version.rb +1 -1
- data/synth.py +40 -0
- metadata +134 -41
- data/generated/google/apis/accessapproval_v1beta1/classes.rb +0 -417
- data/generated/google/apis/accessapproval_v1beta1/representations.rb +0 -203
- data/generated/google/apis/accessapproval_v1beta1/service.rb +0 -857
- data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
- data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
- data/generated/google/apis/appsactivity_v1/service.rb +0 -126
- data/generated/google/apis/dns_v2beta1/classes.rb +0 -1447
- data/generated/google/apis/dns_v2beta1/representations.rb +0 -588
- data/generated/google/apis/dns_v2beta1/service.rb +0 -928
- data/generated/google/apis/dns_v2beta1.rb +0 -43
- data/generated/google/apis/memcache_v1/classes.rb +0 -1157
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +0 -2059
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +0 -789
- data/generated/google/apis/securitycenter_v1p1beta1/service.rb +0 -1243
- data/generated/google/apis/storage_v1beta2/classes.rb +0 -1047
- data/generated/google/apis/storage_v1beta2/representations.rb +0 -425
- data/generated/google/apis/storage_v1beta2/service.rb +0 -1667
- data/generated/google/apis/storage_v1beta2.rb +0 -40
@@ -26,28 +26,25 @@ module Google
|
|
26
26
|
class AsymmetricDecryptRequest
|
27
27
|
include Google::Apis::Core::Hashable
|
28
28
|
|
29
|
-
# Required. The data encrypted with the named CryptoKeyVersion's public
|
30
|
-
#
|
29
|
+
# Required. The data encrypted with the named CryptoKeyVersion's public key
|
30
|
+
# using OAEP.
|
31
31
|
# Corresponds to the JSON property `ciphertext`
|
32
32
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
33
33
|
# @return [String]
|
34
34
|
attr_accessor :ciphertext
|
35
35
|
|
36
36
|
# Optional. An optional CRC32C checksum of the AsymmetricDecryptRequest.
|
37
|
-
# ciphertext.
|
38
|
-
#
|
39
|
-
#
|
40
|
-
#
|
41
|
-
#
|
42
|
-
#
|
43
|
-
#
|
44
|
-
#
|
45
|
-
#
|
46
|
-
# Note: This field is defined as int64 for reasons of compatibility across
|
47
|
-
# different languages. However, it is a non-negative integer, which will
|
37
|
+
# ciphertext. If specified, KeyManagementService will verify the integrity of
|
38
|
+
# the received AsymmetricDecryptRequest.ciphertext using this checksum.
|
39
|
+
# KeyManagementService will report an error if the checksum verification fails.
|
40
|
+
# If you receive a checksum error, your client should verify that CRC32C(
|
41
|
+
# AsymmetricDecryptRequest.ciphertext) is equal to AsymmetricDecryptRequest.
|
42
|
+
# ciphertext_crc32c, and if so, perform a limited number of retries. A
|
43
|
+
# persistent mismatch may indicate an issue in your computation of the CRC32C
|
44
|
+
# checksum. Note: This field is defined as int64 for reasons of compatibility
|
45
|
+
# across different languages. However, it is a non-negative integer, which will
|
48
46
|
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
49
|
-
# that support this type.
|
50
|
-
# NOTE: This field is in Beta.
|
47
|
+
# that support this type. NOTE: This field is in Beta.
|
51
48
|
# Corresponds to the JSON property `ciphertextCrc32c`
|
52
49
|
# @return [Fixnum]
|
53
50
|
attr_accessor :ciphertext_crc32c
|
@@ -75,29 +72,27 @@ module Google
|
|
75
72
|
|
76
73
|
# Integrity verification field. A CRC32C checksum of the returned
|
77
74
|
# AsymmetricDecryptResponse.plaintext. An integrity check of
|
78
|
-
# AsymmetricDecryptResponse.plaintext can be performed by computing the
|
79
|
-
#
|
80
|
-
#
|
81
|
-
#
|
82
|
-
#
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
# NOTE: This field is in Beta.
|
75
|
+
# AsymmetricDecryptResponse.plaintext can be performed by computing the CRC32C
|
76
|
+
# checksum of AsymmetricDecryptResponse.plaintext and comparing your results to
|
77
|
+
# this field. Discard the response in case of non-matching checksum values, and
|
78
|
+
# perform a limited number of retries. A persistent mismatch may indicate an
|
79
|
+
# issue in your computation of the CRC32C checksum. Note: This field is defined
|
80
|
+
# as int64 for reasons of compatibility across different languages. However, it
|
81
|
+
# is a non-negative integer, which will never exceed 2^32-1, and can be safely
|
82
|
+
# downconverted to uint32 in languages that support this type. NOTE: This field
|
83
|
+
# is in Beta.
|
88
84
|
# Corresponds to the JSON property `plaintextCrc32c`
|
89
85
|
# @return [Fixnum]
|
90
86
|
attr_accessor :plaintext_crc32c
|
91
87
|
|
92
88
|
# Integrity verification field. A flag indicating whether
|
93
89
|
# AsymmetricDecryptRequest.ciphertext_crc32c was received by
|
94
|
-
# KeyManagementService and used for the integrity verification of the
|
95
|
-
#
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
99
|
-
#
|
100
|
-
# NOTE: This field is in Beta.
|
90
|
+
# KeyManagementService and used for the integrity verification of the ciphertext.
|
91
|
+
# A false value of this field indicates either that AsymmetricDecryptRequest.
|
92
|
+
# ciphertext_crc32c was left unset or that it was not delivered to
|
93
|
+
# KeyManagementService. If you've set AsymmetricDecryptRequest.ciphertext_crc32c
|
94
|
+
# but this field is still false, discard the response and perform a limited
|
95
|
+
# number of retries. NOTE: This field is in Beta.
|
101
96
|
# Corresponds to the JSON property `verifiedCiphertextCrc32c`
|
102
97
|
# @return [Boolean]
|
103
98
|
attr_accessor :verified_ciphertext_crc32c
|
@@ -125,19 +120,17 @@ module Google
|
|
125
120
|
attr_accessor :digest
|
126
121
|
|
127
122
|
# Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If
|
128
|
-
# specified, KeyManagementService will verify the integrity of the
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
# AsymmetricSignRequest.digest_crc32c, and if so, perform a limited
|
123
|
+
# specified, KeyManagementService will verify the integrity of the received
|
124
|
+
# AsymmetricSignRequest.digest using this checksum. KeyManagementService will
|
125
|
+
# report an error if the checksum verification fails. If you receive a checksum
|
126
|
+
# error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is
|
127
|
+
# equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited
|
134
128
|
# number of retries. A persistent mismatch may indicate an issue in your
|
135
|
-
# computation of the CRC32C checksum.
|
136
|
-
#
|
137
|
-
#
|
138
|
-
#
|
139
|
-
#
|
140
|
-
# NOTE: This field is in Beta.
|
129
|
+
# computation of the CRC32C checksum. Note: This field is defined as int64 for
|
130
|
+
# reasons of compatibility across different languages. However, it is a non-
|
131
|
+
# negative integer, which will never exceed 2^32-1, and can be safely
|
132
|
+
# downconverted to uint32 in languages that support this type. NOTE: This field
|
133
|
+
# is in Beta.
|
141
134
|
# Corresponds to the JSON property `digestCrc32c`
|
142
135
|
# @return [Fixnum]
|
143
136
|
attr_accessor :digest_crc32c
|
@@ -157,9 +150,9 @@ module Google
|
|
157
150
|
class AsymmetricSignResponse
|
158
151
|
include Google::Apis::Core::Hashable
|
159
152
|
|
160
|
-
# The resource name of the CryptoKeyVersion used for signing. Check
|
161
|
-
#
|
162
|
-
#
|
153
|
+
# The resource name of the CryptoKeyVersion used for signing. Check this field
|
154
|
+
# to verify that the intended resource was used for signing. NOTE: This field is
|
155
|
+
# in Beta.
|
163
156
|
# Corresponds to the JSON property `name`
|
164
157
|
# @return [String]
|
165
158
|
attr_accessor :name
|
@@ -171,30 +164,27 @@ module Google
|
|
171
164
|
attr_accessor :signature
|
172
165
|
|
173
166
|
# Integrity verification field. A CRC32C checksum of the returned
|
174
|
-
# AsymmetricSignResponse.signature. An integrity check of
|
175
|
-
#
|
176
|
-
#
|
177
|
-
#
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
#
|
182
|
-
#
|
183
|
-
#
|
184
|
-
# NOTE: This field is in Beta.
|
167
|
+
# AsymmetricSignResponse.signature. An integrity check of AsymmetricSignResponse.
|
168
|
+
# signature can be performed by computing the CRC32C checksum of
|
169
|
+
# AsymmetricSignResponse.signature and comparing your results to this field.
|
170
|
+
# Discard the response in case of non-matching checksum values, and perform a
|
171
|
+
# limited number of retries. A persistent mismatch may indicate an issue in your
|
172
|
+
# computation of the CRC32C checksum. Note: This field is defined as int64 for
|
173
|
+
# reasons of compatibility across different languages. However, it is a non-
|
174
|
+
# negative integer, which will never exceed 2^32-1, and can be safely
|
175
|
+
# downconverted to uint32 in languages that support this type. NOTE: This field
|
176
|
+
# is in Beta.
|
185
177
|
# Corresponds to the JSON property `signatureCrc32c`
|
186
178
|
# @return [Fixnum]
|
187
179
|
attr_accessor :signature_crc32c
|
188
180
|
|
189
|
-
# Integrity verification field. A flag indicating whether
|
190
|
-
#
|
191
|
-
#
|
192
|
-
#
|
193
|
-
#
|
194
|
-
#
|
195
|
-
#
|
196
|
-
# discard the response and perform a limited number of retries.
|
197
|
-
# NOTE: This field is in Beta.
|
181
|
+
# Integrity verification field. A flag indicating whether AsymmetricSignRequest.
|
182
|
+
# digest_crc32c was received by KeyManagementService and used for the integrity
|
183
|
+
# verification of the digest. A false value of this field indicates either that
|
184
|
+
# AsymmetricSignRequest.digest_crc32c was left unset or that it was not
|
185
|
+
# delivered to KeyManagementService. If you've set AsymmetricSignRequest.
|
186
|
+
# digest_crc32c but this field is still false, discard the response and perform
|
187
|
+
# a limited number of retries. NOTE: This field is in Beta.
|
198
188
|
# Corresponds to the JSON property `verifiedDigestCrc32c`
|
199
189
|
# @return [Boolean]
|
200
190
|
attr_accessor :verified_digest_crc32c
|
@@ -213,53 +203,21 @@ module Google
|
|
213
203
|
end
|
214
204
|
end
|
215
205
|
|
216
|
-
# Specifies the audit configuration for a service.
|
217
|
-
#
|
218
|
-
#
|
219
|
-
#
|
220
|
-
#
|
221
|
-
#
|
222
|
-
#
|
223
|
-
#
|
224
|
-
#
|
225
|
-
# `
|
226
|
-
# "
|
227
|
-
# `
|
228
|
-
#
|
229
|
-
#
|
230
|
-
#
|
231
|
-
# "log_type": "DATA_READ",
|
232
|
-
# "exempted_members": [
|
233
|
-
# "user:jose@example.com"
|
234
|
-
# ]
|
235
|
-
# `,
|
236
|
-
# `
|
237
|
-
# "log_type": "DATA_WRITE"
|
238
|
-
# `,
|
239
|
-
# `
|
240
|
-
# "log_type": "ADMIN_READ"
|
241
|
-
# `
|
242
|
-
# ]
|
243
|
-
# `,
|
244
|
-
# `
|
245
|
-
# "service": "sampleservice.googleapis.com",
|
246
|
-
# "audit_log_configs": [
|
247
|
-
# `
|
248
|
-
# "log_type": "DATA_READ"
|
249
|
-
# `,
|
250
|
-
# `
|
251
|
-
# "log_type": "DATA_WRITE",
|
252
|
-
# "exempted_members": [
|
253
|
-
# "user:aliya@example.com"
|
254
|
-
# ]
|
255
|
-
# `
|
256
|
-
# ]
|
257
|
-
# `
|
258
|
-
# ]
|
259
|
-
# `
|
260
|
-
# For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ
|
261
|
-
# logging. It also exempts jose@example.com from DATA_READ logging, and
|
262
|
-
# aliya@example.com from DATA_WRITE logging.
|
206
|
+
# Specifies the audit configuration for a service. The configuration determines
|
207
|
+
# which permission types are logged, and what identities, if any, are exempted
|
208
|
+
# from logging. An AuditConfig must have one or more AuditLogConfigs. If there
|
209
|
+
# are AuditConfigs for both `allServices` and a specific service, the union of
|
210
|
+
# the two AuditConfigs is used for that service: the log_types specified in each
|
211
|
+
# AuditConfig are enabled, and the exempted_members in each AuditLogConfig are
|
212
|
+
# exempted. Example Policy with multiple AuditConfigs: ` "audit_configs": [ ` "
|
213
|
+
# service": "allServices", "audit_log_configs": [ ` "log_type": "DATA_READ", "
|
214
|
+
# exempted_members": [ "user:jose@example.com" ] `, ` "log_type": "DATA_WRITE" `,
|
215
|
+
# ` "log_type": "ADMIN_READ" ` ] `, ` "service": "sampleservice.googleapis.com",
|
216
|
+
# "audit_log_configs": [ ` "log_type": "DATA_READ" `, ` "log_type": "DATA_WRITE"
|
217
|
+
# , "exempted_members": [ "user:aliya@example.com" ] ` ] ` ] ` For sampleservice,
|
218
|
+
# this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also
|
219
|
+
# exempts jose@example.com from DATA_READ logging, and aliya@example.com from
|
220
|
+
# DATA_WRITE logging.
|
263
221
|
class AuditConfig
|
264
222
|
include Google::Apis::Core::Hashable
|
265
223
|
|
@@ -268,9 +226,9 @@ module Google
|
|
268
226
|
# @return [Array<Google::Apis::CloudkmsV1::AuditLogConfig>]
|
269
227
|
attr_accessor :audit_log_configs
|
270
228
|
|
271
|
-
# Specifies a service that will be enabled for audit logging.
|
272
|
-
#
|
273
|
-
#
|
229
|
+
# Specifies a service that will be enabled for audit logging. For example, `
|
230
|
+
# storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special
|
231
|
+
# value that covers all services.
|
274
232
|
# Corresponds to the JSON property `service`
|
275
233
|
# @return [String]
|
276
234
|
attr_accessor :service
|
@@ -286,28 +244,15 @@ module Google
|
|
286
244
|
end
|
287
245
|
end
|
288
246
|
|
289
|
-
# Provides the configuration for logging a type of permissions.
|
290
|
-
#
|
291
|
-
# `
|
292
|
-
#
|
293
|
-
#
|
294
|
-
# "log_type": "DATA_READ",
|
295
|
-
# "exempted_members": [
|
296
|
-
# "user:jose@example.com"
|
297
|
-
# ]
|
298
|
-
# `,
|
299
|
-
# `
|
300
|
-
# "log_type": "DATA_WRITE"
|
301
|
-
# `
|
302
|
-
# ]
|
303
|
-
# `
|
304
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
305
|
-
# jose@example.com from DATA_READ logging.
|
247
|
+
# Provides the configuration for logging a type of permissions. Example: ` "
|
248
|
+
# audit_log_configs": [ ` "log_type": "DATA_READ", "exempted_members": [ "user:
|
249
|
+
# jose@example.com" ] `, ` "log_type": "DATA_WRITE" ` ] ` This enables '
|
250
|
+
# DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from
|
251
|
+
# DATA_READ logging.
|
306
252
|
class AuditLogConfig
|
307
253
|
include Google::Apis::Core::Hashable
|
308
254
|
|
309
|
-
# Specifies the identities that do not cause logging for this type of
|
310
|
-
# permission.
|
255
|
+
# Specifies the identities that do not cause logging for this type of permission.
|
311
256
|
# Follows the same format of Binding.members.
|
312
257
|
# Corresponds to the JSON property `exemptedMembers`
|
313
258
|
# @return [Array<String>]
|
@@ -333,69 +278,63 @@ module Google
|
|
333
278
|
class Binding
|
334
279
|
include Google::Apis::Core::Hashable
|
335
280
|
|
336
|
-
#
|
337
|
-
#
|
338
|
-
#
|
339
|
-
#
|
340
|
-
|
341
|
-
|
342
|
-
# expression
|
343
|
-
#
|
344
|
-
#
|
345
|
-
# description: "Determines if
|
346
|
-
# expression: "document.
|
347
|
-
#
|
348
|
-
#
|
349
|
-
# description: "Determine whether the document
|
350
|
-
# expression: "document.type != 'private' &&
|
351
|
-
# Example (Data Manipulation):
|
352
|
-
#
|
353
|
-
#
|
354
|
-
#
|
355
|
-
#
|
356
|
-
#
|
357
|
-
# documentation for additional information.
|
281
|
+
# A client-specified ID for this binding. Expected to be globally unique to
|
282
|
+
# support the internal bindings-by-ID API.
|
283
|
+
# Corresponds to the JSON property `bindingId`
|
284
|
+
# @return [String]
|
285
|
+
attr_accessor :binding_id
|
286
|
+
|
287
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
288
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
289
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
290
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
291
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
292
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
293
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
294
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
295
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
296
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
297
|
+
# string" description: "Create a notification string with a timestamp."
|
298
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
299
|
+
# exact variables and functions that may be referenced within an expression are
|
300
|
+
# determined by the service that evaluates it. See the service documentation for
|
301
|
+
# additional information.
|
358
302
|
# Corresponds to the JSON property `condition`
|
359
303
|
# @return [Google::Apis::CloudkmsV1::Expr]
|
360
304
|
attr_accessor :condition
|
361
305
|
|
362
|
-
# Specifies the identities requesting access for a Cloud Platform resource.
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
# * `
|
369
|
-
# account. For example, `
|
370
|
-
# * `
|
371
|
-
#
|
372
|
-
#
|
373
|
-
# For example, `
|
374
|
-
#
|
375
|
-
#
|
376
|
-
#
|
377
|
-
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
# deleted
|
382
|
-
#
|
383
|
-
# If the
|
384
|
-
# `
|
385
|
-
# role in the binding.
|
386
|
-
#
|
387
|
-
#
|
388
|
-
# deleted. For example, `admins@example.com?uid=123456789012345678901`. If
|
389
|
-
# the group is recovered, this value reverts to `group:`emailid`` and the
|
390
|
-
# recovered group retains the role in the binding.
|
391
|
-
# * `domain:`domain``: The G Suite domain (primary) that represents all the
|
392
|
-
# users of that domain. For example, `google.com` or `example.com`.
|
306
|
+
# Specifies the identities requesting access for a Cloud Platform resource. `
|
307
|
+
# members` can have the following values: * `allUsers`: A special identifier
|
308
|
+
# that represents anyone who is on the internet; with or without a Google
|
309
|
+
# account. * `allAuthenticatedUsers`: A special identifier that represents
|
310
|
+
# anyone who is authenticated with a Google account or a service account. * `
|
311
|
+
# user:`emailid``: An email address that represents a specific Google account.
|
312
|
+
# For example, `alice@example.com` . * `serviceAccount:`emailid``: An email
|
313
|
+
# address that represents a service account. For example, `my-other-app@appspot.
|
314
|
+
# gserviceaccount.com`. * `group:`emailid``: An email address that represents a
|
315
|
+
# Google group. For example, `admins@example.com`. * `deleted:user:`emailid`?uid=
|
316
|
+
# `uniqueid``: An email address (plus unique identifier) representing a user
|
317
|
+
# that has been recently deleted. For example, `alice@example.com?uid=
|
318
|
+
# 123456789012345678901`. If the user is recovered, this value reverts to `user:`
|
319
|
+
# emailid`` and the recovered user retains the role in the binding. * `deleted:
|
320
|
+
# serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus unique
|
321
|
+
# identifier) representing a service account that has been recently deleted. For
|
322
|
+
# example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
|
323
|
+
# If the service account is undeleted, this value reverts to `serviceAccount:`
|
324
|
+
# emailid`` and the undeleted service account retains the role in the binding. *
|
325
|
+
# `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
|
326
|
+
# identifier) representing a Google group that has been recently deleted. For
|
327
|
+
# example, `admins@example.com?uid=123456789012345678901`. If the group is
|
328
|
+
# recovered, this value reverts to `group:`emailid`` and the recovered group
|
329
|
+
# retains the role in the binding. * `domain:`domain``: The G Suite domain (
|
330
|
+
# primary) that represents all the users of that domain. For example, `google.
|
331
|
+
# com` or `example.com`.
|
393
332
|
# Corresponds to the JSON property `members`
|
394
333
|
# @return [Array<String>]
|
395
334
|
attr_accessor :members
|
396
335
|
|
397
|
-
# Role that is assigned to `members`.
|
398
|
-
#
|
336
|
+
# Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`
|
337
|
+
# , or `roles/owner`.
|
399
338
|
# Corresponds to the JSON property `role`
|
400
339
|
# @return [String]
|
401
340
|
attr_accessor :role
|
@@ -406,16 +345,49 @@ module Google
|
|
406
345
|
|
407
346
|
# Update properties of this object
|
408
347
|
def update!(**args)
|
348
|
+
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
409
349
|
@condition = args[:condition] if args.key?(:condition)
|
410
350
|
@members = args[:members] if args.key?(:members)
|
411
351
|
@role = args[:role] if args.key?(:role)
|
412
352
|
end
|
413
353
|
end
|
414
354
|
|
355
|
+
# Certificate chains needed to verify the attestation. Certificates in chains
|
356
|
+
# are PEM-encoded and are ordered based on https://tools.ietf.org/html/rfc5246#
|
357
|
+
# section-7.4.2.
|
358
|
+
class CertificateChains
|
359
|
+
include Google::Apis::Core::Hashable
|
360
|
+
|
361
|
+
# Cavium certificate chain corresponding to the attestation.
|
362
|
+
# Corresponds to the JSON property `caviumCerts`
|
363
|
+
# @return [Array<String>]
|
364
|
+
attr_accessor :cavium_certs
|
365
|
+
|
366
|
+
# Google card certificate chain corresponding to the attestation.
|
367
|
+
# Corresponds to the JSON property `googleCardCerts`
|
368
|
+
# @return [Array<String>]
|
369
|
+
attr_accessor :google_card_certs
|
370
|
+
|
371
|
+
# Google partition certificate chain corresponding to the attestation.
|
372
|
+
# Corresponds to the JSON property `googlePartitionCerts`
|
373
|
+
# @return [Array<String>]
|
374
|
+
attr_accessor :google_partition_certs
|
375
|
+
|
376
|
+
def initialize(**args)
|
377
|
+
update!(**args)
|
378
|
+
end
|
379
|
+
|
380
|
+
# Update properties of this object
|
381
|
+
def update!(**args)
|
382
|
+
@cavium_certs = args[:cavium_certs] if args.key?(:cavium_certs)
|
383
|
+
@google_card_certs = args[:google_card_certs] if args.key?(:google_card_certs)
|
384
|
+
@google_partition_certs = args[:google_partition_certs] if args.key?(:google_partition_certs)
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
415
388
|
# A CryptoKey represents a logical key that can be used for cryptographic
|
416
|
-
# operations.
|
417
|
-
#
|
418
|
-
# which represent the actual key material used in cryptographic operations.
|
389
|
+
# operations. A CryptoKey is made up of zero or more versions, which represent
|
390
|
+
# the actual key material used in cryptographic operations.
|
419
391
|
class CryptoKey
|
420
392
|
include Google::Apis::Core::Hashable
|
421
393
|
|
@@ -424,40 +396,34 @@ module Google
|
|
424
396
|
# @return [String]
|
425
397
|
attr_accessor :create_time
|
426
398
|
|
427
|
-
# Labels with user-defined metadata. For more information, see
|
428
|
-
#
|
399
|
+
# Labels with user-defined metadata. For more information, see [Labeling Keys](
|
400
|
+
# https://cloud.google.com/kms/docs/labeling-keys).
|
429
401
|
# Corresponds to the JSON property `labels`
|
430
402
|
# @return [Hash<String,String>]
|
431
403
|
attr_accessor :labels
|
432
404
|
|
433
|
-
# Output only. The resource name for this CryptoKey in the format
|
434
|
-
#
|
405
|
+
# Output only. The resource name for this CryptoKey in the format `projects/*/
|
406
|
+
# locations/*/keyRings/*/cryptoKeys/*`.
|
435
407
|
# Corresponds to the JSON property `name`
|
436
408
|
# @return [String]
|
437
409
|
attr_accessor :name
|
438
410
|
|
439
|
-
# At next_rotation_time, the Key Management Service will automatically:
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
# do not affect next_rotation_time.
|
446
|
-
# Keys with purpose
|
447
|
-
# ENCRYPT_DECRYPT support
|
448
|
-
# automatic rotation. For other keys, this field must be omitted.
|
411
|
+
# At next_rotation_time, the Key Management Service will automatically: 1.
|
412
|
+
# Create a new version of this CryptoKey. 2. Mark the new version as primary.
|
413
|
+
# Key rotations performed manually via CreateCryptoKeyVersion and
|
414
|
+
# UpdateCryptoKeyPrimaryVersion do not affect next_rotation_time. Keys with
|
415
|
+
# purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this field
|
416
|
+
# must be omitted.
|
449
417
|
# Corresponds to the JSON property `nextRotationTime`
|
450
418
|
# @return [String]
|
451
419
|
attr_accessor :next_rotation_time
|
452
420
|
|
453
421
|
# A CryptoKeyVersion represents an individual cryptographic key, and the
|
454
|
-
# associated key material.
|
455
|
-
#
|
456
|
-
#
|
457
|
-
#
|
458
|
-
#
|
459
|
-
# encrypt, decrypt, or sign data when an authorized user or application invokes
|
460
|
-
# Cloud KMS.
|
422
|
+
# associated key material. An ENABLED version can be used for cryptographic
|
423
|
+
# operations. For security reasons, the raw cryptographic key material
|
424
|
+
# represented by a CryptoKeyVersion can never be viewed or exported. It can only
|
425
|
+
# be used to encrypt, decrypt, or sign data when an authorized user or
|
426
|
+
# application invokes Cloud KMS.
|
461
427
|
# Corresponds to the JSON property `primary`
|
462
428
|
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
463
429
|
attr_accessor :primary
|
@@ -468,20 +434,17 @@ module Google
|
|
468
434
|
attr_accessor :purpose
|
469
435
|
|
470
436
|
# next_rotation_time will be advanced by this period when the service
|
471
|
-
# automatically rotates a key. Must be at least 24 hours and at most
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
# ENCRYPT_DECRYPT support
|
476
|
-
# automatic rotation. For other keys, this field must be omitted.
|
437
|
+
# automatically rotates a key. Must be at least 24 hours and at most 876,000
|
438
|
+
# hours. If rotation_period is set, next_rotation_time must also be set. Keys
|
439
|
+
# with purpose ENCRYPT_DECRYPT support automatic rotation. For other keys, this
|
440
|
+
# field must be omitted.
|
477
441
|
# Corresponds to the JSON property `rotationPeriod`
|
478
442
|
# @return [String]
|
479
443
|
attr_accessor :rotation_period
|
480
444
|
|
481
|
-
# A CryptoKeyVersionTemplate specifies the properties to use when creating
|
482
|
-
#
|
483
|
-
#
|
484
|
-
# automatically as a result of auto-rotation.
|
445
|
+
# A CryptoKeyVersionTemplate specifies the properties to use when creating a new
|
446
|
+
# CryptoKeyVersion, either manually with CreateCryptoKeyVersion or automatically
|
447
|
+
# as a result of auto-rotation.
|
485
448
|
# Corresponds to the JSON property `versionTemplate`
|
486
449
|
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersionTemplate]
|
487
450
|
attr_accessor :version_template
|
@@ -504,25 +467,22 @@ module Google
|
|
504
467
|
end
|
505
468
|
|
506
469
|
# A CryptoKeyVersion represents an individual cryptographic key, and the
|
507
|
-
# associated key material.
|
508
|
-
#
|
509
|
-
#
|
510
|
-
#
|
511
|
-
#
|
512
|
-
# encrypt, decrypt, or sign data when an authorized user or application invokes
|
513
|
-
# Cloud KMS.
|
470
|
+
# associated key material. An ENABLED version can be used for cryptographic
|
471
|
+
# operations. For security reasons, the raw cryptographic key material
|
472
|
+
# represented by a CryptoKeyVersion can never be viewed or exported. It can only
|
473
|
+
# be used to encrypt, decrypt, or sign data when an authorized user or
|
474
|
+
# application invokes Cloud KMS.
|
514
475
|
class CryptoKeyVersion
|
515
476
|
include Google::Apis::Core::Hashable
|
516
477
|
|
517
|
-
# Output only. The CryptoKeyVersionAlgorithm that this
|
518
|
-
# CryptoKeyVersion supports.
|
478
|
+
# Output only. The CryptoKeyVersionAlgorithm that this CryptoKeyVersion supports.
|
519
479
|
# Corresponds to the JSON property `algorithm`
|
520
480
|
# @return [String]
|
521
481
|
attr_accessor :algorithm
|
522
482
|
|
523
483
|
# Contains an HSM-generated attestation about a key operation. For more
|
524
|
-
# information, see [Verifying attestations]
|
525
|
-
#
|
484
|
+
# information, see [Verifying attestations] (https://cloud.google.com/kms/docs/
|
485
|
+
# attest-key).
|
526
486
|
# Corresponds to the JSON property `attestation`
|
527
487
|
# @return [Google::Apis::CloudkmsV1::KeyOperationAttestation]
|
528
488
|
attr_accessor :attestation
|
@@ -532,55 +492,50 @@ module Google
|
|
532
492
|
# @return [String]
|
533
493
|
attr_accessor :create_time
|
534
494
|
|
535
|
-
# Output only. The time this CryptoKeyVersion's key material was
|
536
|
-
#
|
537
|
-
# DESTROYED.
|
495
|
+
# Output only. The time this CryptoKeyVersion's key material was destroyed. Only
|
496
|
+
# present if state is DESTROYED.
|
538
497
|
# Corresponds to the JSON property `destroyEventTime`
|
539
498
|
# @return [String]
|
540
499
|
attr_accessor :destroy_event_time
|
541
500
|
|
542
|
-
# Output only. The time this CryptoKeyVersion's key material is scheduled
|
543
|
-
#
|
544
|
-
# DESTROY_SCHEDULED.
|
501
|
+
# Output only. The time this CryptoKeyVersion's key material is scheduled for
|
502
|
+
# destruction. Only present if state is DESTROY_SCHEDULED.
|
545
503
|
# Corresponds to the JSON property `destroyTime`
|
546
504
|
# @return [String]
|
547
505
|
attr_accessor :destroy_time
|
548
506
|
|
549
507
|
# ExternalProtectionLevelOptions stores a group of additional fields for
|
550
|
-
# configuring a CryptoKeyVersion that are specific to the
|
551
|
-
#
|
508
|
+
# configuring a CryptoKeyVersion that are specific to the EXTERNAL protection
|
509
|
+
# level.
|
552
510
|
# Corresponds to the JSON property `externalProtectionLevelOptions`
|
553
511
|
# @return [Google::Apis::CloudkmsV1::ExternalProtectionLevelOptions]
|
554
512
|
attr_accessor :external_protection_level_options
|
555
513
|
|
556
|
-
# Output only. The time this CryptoKeyVersion's key material was
|
557
|
-
# generated.
|
514
|
+
# Output only. The time this CryptoKeyVersion's key material was generated.
|
558
515
|
# Corresponds to the JSON property `generateTime`
|
559
516
|
# @return [String]
|
560
517
|
attr_accessor :generate_time
|
561
518
|
|
562
|
-
# Output only. The root cause of an import failure. Only present if
|
563
|
-
# state is
|
519
|
+
# Output only. The root cause of an import failure. Only present if state is
|
564
520
|
# IMPORT_FAILED.
|
565
521
|
# Corresponds to the JSON property `importFailureReason`
|
566
522
|
# @return [String]
|
567
523
|
attr_accessor :import_failure_reason
|
568
524
|
|
569
|
-
# Output only. The name of the ImportJob used to import this
|
570
|
-
#
|
571
|
-
# imported.
|
525
|
+
# Output only. The name of the ImportJob used to import this CryptoKeyVersion.
|
526
|
+
# Only present if the underlying key material was imported.
|
572
527
|
# Corresponds to the JSON property `importJob`
|
573
528
|
# @return [String]
|
574
529
|
attr_accessor :import_job
|
575
530
|
|
576
|
-
# Output only. The time at which this CryptoKeyVersion's key material
|
577
|
-
#
|
531
|
+
# Output only. The time at which this CryptoKeyVersion's key material was
|
532
|
+
# imported.
|
578
533
|
# Corresponds to the JSON property `importTime`
|
579
534
|
# @return [String]
|
580
535
|
attr_accessor :import_time
|
581
536
|
|
582
|
-
# Output only. The resource name for this CryptoKeyVersion in the format
|
583
|
-
#
|
537
|
+
# Output only. The resource name for this CryptoKeyVersion in the format `
|
538
|
+
# projects/*/locations/*/keyRings/*/cryptoKeys/*/cryptoKeyVersions/*`.
|
584
539
|
# Corresponds to the JSON property `name`
|
585
540
|
# @return [String]
|
586
541
|
attr_accessor :name
|
@@ -618,24 +573,21 @@ module Google
|
|
618
573
|
end
|
619
574
|
end
|
620
575
|
|
621
|
-
# A CryptoKeyVersionTemplate specifies the properties to use when creating
|
622
|
-
#
|
623
|
-
#
|
624
|
-
# automatically as a result of auto-rotation.
|
576
|
+
# A CryptoKeyVersionTemplate specifies the properties to use when creating a new
|
577
|
+
# CryptoKeyVersion, either manually with CreateCryptoKeyVersion or automatically
|
578
|
+
# as a result of auto-rotation.
|
625
579
|
class CryptoKeyVersionTemplate
|
626
580
|
include Google::Apis::Core::Hashable
|
627
581
|
|
628
|
-
# Required. Algorithm to use
|
629
|
-
#
|
630
|
-
#
|
631
|
-
# this field is omitted and CryptoKey.purpose is
|
632
|
-
# ENCRYPT_DECRYPT.
|
582
|
+
# Required. Algorithm to use when creating a CryptoKeyVersion based on this
|
583
|
+
# template. For backwards compatibility, GOOGLE_SYMMETRIC_ENCRYPTION is implied
|
584
|
+
# if both this field is omitted and CryptoKey.purpose is ENCRYPT_DECRYPT.
|
633
585
|
# Corresponds to the JSON property `algorithm`
|
634
586
|
# @return [String]
|
635
587
|
attr_accessor :algorithm
|
636
588
|
|
637
|
-
# ProtectionLevel to use when creating a CryptoKeyVersion based on
|
638
|
-
#
|
589
|
+
# ProtectionLevel to use when creating a CryptoKeyVersion based on this template.
|
590
|
+
# Immutable. Defaults to SOFTWARE.
|
639
591
|
# Corresponds to the JSON property `protectionLevel`
|
640
592
|
# @return [String]
|
641
593
|
attr_accessor :protection_level
|
@@ -662,46 +614,40 @@ module Google
|
|
662
614
|
# @return [String]
|
663
615
|
attr_accessor :additional_authenticated_data
|
664
616
|
|
665
|
-
# Optional. An optional CRC32C checksum of the
|
666
|
-
#
|
667
|
-
#
|
668
|
-
#
|
669
|
-
#
|
670
|
-
#
|
671
|
-
#
|
672
|
-
#
|
673
|
-
#
|
674
|
-
#
|
675
|
-
#
|
676
|
-
#
|
677
|
-
#
|
678
|
-
# that support this type.
|
679
|
-
# NOTE: This field is in Beta.
|
617
|
+
# Optional. An optional CRC32C checksum of the DecryptRequest.
|
618
|
+
# additional_authenticated_data. If specified, KeyManagementService will verify
|
619
|
+
# the integrity of the received DecryptRequest.additional_authenticated_data
|
620
|
+
# using this checksum. KeyManagementService will report an error if the checksum
|
621
|
+
# verification fails. If you receive a checksum error, your client should verify
|
622
|
+
# that CRC32C(DecryptRequest.additional_authenticated_data) is equal to
|
623
|
+
# DecryptRequest.additional_authenticated_data_crc32c, and if so, perform a
|
624
|
+
# limited number of retries. A persistent mismatch may indicate an issue in your
|
625
|
+
# computation of the CRC32C checksum. Note: This field is defined as int64 for
|
626
|
+
# reasons of compatibility across different languages. However, it is a non-
|
627
|
+
# negative integer, which will never exceed 2^32-1, and can be safely
|
628
|
+
# downconverted to uint32 in languages that support this type. NOTE: This field
|
629
|
+
# is in Beta.
|
680
630
|
# Corresponds to the JSON property `additionalAuthenticatedDataCrc32c`
|
681
631
|
# @return [Fixnum]
|
682
632
|
attr_accessor :additional_authenticated_data_crc32c
|
683
633
|
|
684
|
-
# Required. The encrypted data originally returned in
|
685
|
-
# EncryptResponse.ciphertext.
|
634
|
+
# Required. The encrypted data originally returned in EncryptResponse.ciphertext.
|
686
635
|
# Corresponds to the JSON property `ciphertext`
|
687
636
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
688
637
|
# @return [String]
|
689
638
|
attr_accessor :ciphertext
|
690
639
|
|
691
640
|
# Optional. An optional CRC32C checksum of the DecryptRequest.ciphertext. If
|
692
|
-
# specified, KeyManagementService will verify the integrity of the
|
693
|
-
#
|
694
|
-
#
|
695
|
-
#
|
696
|
-
#
|
697
|
-
#
|
698
|
-
#
|
699
|
-
#
|
700
|
-
#
|
701
|
-
#
|
702
|
-
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
703
|
-
# that support this type.
|
704
|
-
# NOTE: This field is in Beta.
|
641
|
+
# specified, KeyManagementService will verify the integrity of the received
|
642
|
+
# DecryptRequest.ciphertext using this checksum. KeyManagementService will
|
643
|
+
# report an error if the checksum verification fails. If you receive a checksum
|
644
|
+
# error, your client should verify that CRC32C(DecryptRequest.ciphertext) is
|
645
|
+
# equal to DecryptRequest.ciphertext_crc32c, and if so, perform a limited number
|
646
|
+
# of retries. A persistent mismatch may indicate an issue in your computation of
|
647
|
+
# the CRC32C checksum. Note: This field is defined as int64 for reasons of
|
648
|
+
# compatibility across different languages. However, it is a non-negative
|
649
|
+
# integer, which will never exceed 2^32-1, and can be safely downconverted to
|
650
|
+
# uint32 in languages that support this type. NOTE: This field is in Beta.
|
705
651
|
# Corresponds to the JSON property `ciphertextCrc32c`
|
706
652
|
# @return [Fixnum]
|
707
653
|
attr_accessor :ciphertext_crc32c
|
@@ -730,19 +676,17 @@ module Google
|
|
730
676
|
attr_accessor :plaintext
|
731
677
|
|
732
678
|
# Integrity verification field. A CRC32C checksum of the returned
|
733
|
-
# DecryptResponse.plaintext. An integrity check of
|
734
|
-
#
|
735
|
-
#
|
736
|
-
#
|
737
|
-
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
#
|
742
|
-
#
|
743
|
-
#
|
744
|
-
# that support this type.
|
745
|
-
# NOTE: This field is in Beta.
|
679
|
+
# DecryptResponse.plaintext. An integrity check of DecryptResponse.plaintext can
|
680
|
+
# be performed by computing the CRC32C checksum of DecryptResponse.plaintext and
|
681
|
+
# comparing your results to this field. Discard the response in case of non-
|
682
|
+
# matching checksum values, and perform a limited number of retries. A
|
683
|
+
# persistent mismatch may indicate an issue in your computation of the CRC32C
|
684
|
+
# checksum. Note: receiving this response message indicates that
|
685
|
+
# KeyManagementService is able to successfully decrypt the ciphertext. Note:
|
686
|
+
# This field is defined as int64 for reasons of compatibility across different
|
687
|
+
# languages. However, it is a non-negative integer, which will never exceed 2^32-
|
688
|
+
# 1, and can be safely downconverted to uint32 in languages that support this
|
689
|
+
# type. NOTE: This field is in Beta.
|
746
690
|
# Corresponds to the JSON property `plaintextCrc32c`
|
747
691
|
# @return [Fixnum]
|
748
692
|
attr_accessor :plaintext_crc32c
|
@@ -810,44 +754,36 @@ module Google
|
|
810
754
|
include Google::Apis::Core::Hashable
|
811
755
|
|
812
756
|
# Optional. Optional data that, if specified, must also be provided during
|
813
|
-
# decryption
|
814
|
-
#
|
815
|
-
#
|
816
|
-
#
|
817
|
-
# SOFTWARE keys, the AAD must be no larger than
|
818
|
-
# 64KiB. For HSM keys, the combined length of the
|
819
|
-
# plaintext and additional_authenticated_data fields must be no larger than
|
820
|
-
# 8KiB.
|
757
|
+
# decryption through DecryptRequest.additional_authenticated_data. The maximum
|
758
|
+
# size depends on the key version's protection_level. For SOFTWARE keys, the AAD
|
759
|
+
# must be no larger than 64KiB. For HSM keys, the combined length of the
|
760
|
+
# plaintext and additional_authenticated_data fields must be no larger than 8KiB.
|
821
761
|
# Corresponds to the JSON property `additionalAuthenticatedData`
|
822
762
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
823
763
|
# @return [String]
|
824
764
|
attr_accessor :additional_authenticated_data
|
825
765
|
|
826
|
-
# Optional. An optional CRC32C checksum of the
|
827
|
-
#
|
828
|
-
#
|
829
|
-
#
|
830
|
-
#
|
831
|
-
#
|
832
|
-
#
|
833
|
-
#
|
834
|
-
#
|
835
|
-
#
|
836
|
-
#
|
837
|
-
#
|
838
|
-
#
|
839
|
-
# that support this type.
|
840
|
-
# NOTE: This field is in Beta.
|
766
|
+
# Optional. An optional CRC32C checksum of the EncryptRequest.
|
767
|
+
# additional_authenticated_data. If specified, KeyManagementService will verify
|
768
|
+
# the integrity of the received EncryptRequest.additional_authenticated_data
|
769
|
+
# using this checksum. KeyManagementService will report an error if the checksum
|
770
|
+
# verification fails. If you receive a checksum error, your client should verify
|
771
|
+
# that CRC32C(EncryptRequest.additional_authenticated_data) is equal to
|
772
|
+
# EncryptRequest.additional_authenticated_data_crc32c, and if so, perform a
|
773
|
+
# limited number of retries. A persistent mismatch may indicate an issue in your
|
774
|
+
# computation of the CRC32C checksum. Note: This field is defined as int64 for
|
775
|
+
# reasons of compatibility across different languages. However, it is a non-
|
776
|
+
# negative integer, which will never exceed 2^32-1, and can be safely
|
777
|
+
# downconverted to uint32 in languages that support this type. NOTE: This field
|
778
|
+
# is in Beta.
|
841
779
|
# Corresponds to the JSON property `additionalAuthenticatedDataCrc32c`
|
842
780
|
# @return [Fixnum]
|
843
781
|
attr_accessor :additional_authenticated_data_crc32c
|
844
782
|
|
845
|
-
# Required. The data to encrypt. Must be no larger than 64KiB.
|
846
|
-
#
|
847
|
-
#
|
848
|
-
#
|
849
|
-
# than 64KiB. For HSM keys, the combined length of the
|
850
|
-
# plaintext and additional_authenticated_data fields must be no larger than
|
783
|
+
# Required. The data to encrypt. Must be no larger than 64KiB. The maximum size
|
784
|
+
# depends on the key version's protection_level. For SOFTWARE keys, the
|
785
|
+
# plaintext must be no larger than 64KiB. For HSM keys, the combined length of
|
786
|
+
# the plaintext and additional_authenticated_data fields must be no larger than
|
851
787
|
# 8KiB.
|
852
788
|
# Corresponds to the JSON property `plaintext`
|
853
789
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
@@ -855,19 +791,16 @@ module Google
|
|
855
791
|
attr_accessor :plaintext
|
856
792
|
|
857
793
|
# Optional. An optional CRC32C checksum of the EncryptRequest.plaintext. If
|
858
|
-
# specified, KeyManagementService will verify the integrity of the
|
859
|
-
#
|
860
|
-
#
|
861
|
-
#
|
862
|
-
# CRC32C(EncryptRequest.plaintext) is equal to
|
794
|
+
# specified, KeyManagementService will verify the integrity of the received
|
795
|
+
# EncryptRequest.plaintext using this checksum. KeyManagementService will report
|
796
|
+
# an error if the checksum verification fails. If you receive a checksum error,
|
797
|
+
# your client should verify that CRC32C(EncryptRequest.plaintext) is equal to
|
863
798
|
# EncryptRequest.plaintext_crc32c, and if so, perform a limited number of
|
864
799
|
# retries. A persistent mismatch may indicate an issue in your computation of
|
865
|
-
# the CRC32C checksum.
|
866
|
-
#
|
867
|
-
#
|
868
|
-
#
|
869
|
-
# that support this type.
|
870
|
-
# NOTE: This field is in Beta.
|
800
|
+
# the CRC32C checksum. Note: This field is defined as int64 for reasons of
|
801
|
+
# compatibility across different languages. However, it is a non-negative
|
802
|
+
# integer, which will never exceed 2^32-1, and can be safely downconverted to
|
803
|
+
# uint32 in languages that support this type. NOTE: This field is in Beta.
|
871
804
|
# Corresponds to the JSON property `plaintextCrc32c`
|
872
805
|
# @return [Fixnum]
|
873
806
|
attr_accessor :plaintext_crc32c
|
@@ -896,51 +829,45 @@ module Google
|
|
896
829
|
attr_accessor :ciphertext
|
897
830
|
|
898
831
|
# Integrity verification field. A CRC32C checksum of the returned
|
899
|
-
# EncryptResponse.ciphertext. An integrity check of
|
900
|
-
#
|
901
|
-
#
|
902
|
-
#
|
903
|
-
#
|
904
|
-
#
|
905
|
-
#
|
906
|
-
# different languages. However, it is a non-negative integer, which will
|
832
|
+
# EncryptResponse.ciphertext. An integrity check of EncryptResponse.ciphertext
|
833
|
+
# can be performed by computing the CRC32C checksum of EncryptResponse.
|
834
|
+
# ciphertext and comparing your results to this field. Discard the response in
|
835
|
+
# case of non-matching checksum values, and perform a limited number of retries.
|
836
|
+
# A persistent mismatch may indicate an issue in your computation of the CRC32C
|
837
|
+
# checksum. Note: This field is defined as int64 for reasons of compatibility
|
838
|
+
# across different languages. However, it is a non-negative integer, which will
|
907
839
|
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
908
|
-
# that support this type.
|
909
|
-
# NOTE: This field is in Beta.
|
840
|
+
# that support this type. NOTE: This field is in Beta.
|
910
841
|
# Corresponds to the JSON property `ciphertextCrc32c`
|
911
842
|
# @return [Fixnum]
|
912
843
|
attr_accessor :ciphertext_crc32c
|
913
844
|
|
914
|
-
# The resource name of the CryptoKeyVersion used in encryption. Check
|
915
|
-
#
|
845
|
+
# The resource name of the CryptoKeyVersion used in encryption. Check this field
|
846
|
+
# to verify that the intended resource was used for encryption.
|
916
847
|
# Corresponds to the JSON property `name`
|
917
848
|
# @return [String]
|
918
849
|
attr_accessor :name
|
919
850
|
|
920
|
-
# Integrity verification field. A flag indicating whether
|
921
|
-
#
|
922
|
-
#
|
923
|
-
#
|
924
|
-
#
|
925
|
-
# EncryptRequest.additional_authenticated_data_crc32c
|
926
|
-
#
|
927
|
-
#
|
928
|
-
# still false, discard the response and perform a limited number of retries.
|
929
|
-
# NOTE: This field is in Beta.
|
851
|
+
# Integrity verification field. A flag indicating whether EncryptRequest.
|
852
|
+
# additional_authenticated_data_crc32c was received by KeyManagementService and
|
853
|
+
# used for the integrity verification of the AAD. A false value of this field
|
854
|
+
# indicates either that EncryptRequest.additional_authenticated_data_crc32c was
|
855
|
+
# left unset or that it was not delivered to KeyManagementService. If you've set
|
856
|
+
# EncryptRequest.additional_authenticated_data_crc32c but this field is still
|
857
|
+
# false, discard the response and perform a limited number of retries. NOTE:
|
858
|
+
# This field is in Beta.
|
930
859
|
# Corresponds to the JSON property `verifiedAdditionalAuthenticatedDataCrc32c`
|
931
860
|
# @return [Boolean]
|
932
861
|
attr_accessor :verified_additional_authenticated_data_crc32c
|
933
862
|
alias_method :verified_additional_authenticated_data_crc32c?, :verified_additional_authenticated_data_crc32c
|
934
863
|
|
935
|
-
# Integrity verification field. A flag indicating whether
|
936
|
-
#
|
937
|
-
#
|
938
|
-
#
|
939
|
-
#
|
940
|
-
#
|
941
|
-
#
|
942
|
-
# the response and perform a limited number of retries.
|
943
|
-
# NOTE: This field is in Beta.
|
864
|
+
# Integrity verification field. A flag indicating whether EncryptRequest.
|
865
|
+
# plaintext_crc32c was received by KeyManagementService and used for the
|
866
|
+
# integrity verification of the plaintext. A false value of this field indicates
|
867
|
+
# either that EncryptRequest.plaintext_crc32c was left unset or that it was not
|
868
|
+
# delivered to KeyManagementService. If you've set EncryptRequest.
|
869
|
+
# plaintext_crc32c but this field is still false, discard the response and
|
870
|
+
# perform a limited number of retries. NOTE: This field is in Beta.
|
944
871
|
# Corresponds to the JSON property `verifiedPlaintextCrc32c`
|
945
872
|
# @return [Boolean]
|
946
873
|
attr_accessor :verified_plaintext_crc32c
|
@@ -960,52 +887,43 @@ module Google
|
|
960
887
|
end
|
961
888
|
end
|
962
889
|
|
963
|
-
# Represents a textual expression in the Common Expression Language (CEL)
|
964
|
-
#
|
965
|
-
#
|
966
|
-
#
|
967
|
-
#
|
968
|
-
# description: "Determines if
|
969
|
-
# expression: "document.
|
970
|
-
#
|
971
|
-
#
|
972
|
-
#
|
973
|
-
#
|
974
|
-
#
|
975
|
-
#
|
976
|
-
#
|
977
|
-
#
|
978
|
-
# Example (Data Manipulation):
|
979
|
-
# title: "Notification string"
|
980
|
-
# description: "Create a notification string with a timestamp."
|
981
|
-
# expression: "'New message received at ' + string(document.create_time)"
|
982
|
-
# The exact variables and functions that may be referenced within an expression
|
983
|
-
# are determined by the service that evaluates it. See the service
|
984
|
-
# documentation for additional information.
|
890
|
+
# Represents a textual expression in the Common Expression Language (CEL) syntax.
|
891
|
+
# CEL is a C-like expression language. The syntax and semantics of CEL are
|
892
|
+
# documented at https://github.com/google/cel-spec. Example (Comparison): title:
|
893
|
+
# "Summary size limit" description: "Determines if a summary is less than 100
|
894
|
+
# chars" expression: "document.summary.size() < 100" Example (Equality): title: "
|
895
|
+
# Requestor is owner" description: "Determines if requestor is the document
|
896
|
+
# owner" expression: "document.owner == request.auth.claims.email" Example (
|
897
|
+
# Logic): title: "Public documents" description: "Determine whether the document
|
898
|
+
# should be publicly visible" expression: "document.type != 'private' &&
|
899
|
+
# document.type != 'internal'" Example (Data Manipulation): title: "Notification
|
900
|
+
# string" description: "Create a notification string with a timestamp."
|
901
|
+
# expression: "'New message received at ' + string(document.create_time)" The
|
902
|
+
# exact variables and functions that may be referenced within an expression are
|
903
|
+
# determined by the service that evaluates it. See the service documentation for
|
904
|
+
# additional information.
|
985
905
|
class Expr
|
986
906
|
include Google::Apis::Core::Hashable
|
987
907
|
|
988
|
-
# Optional. Description of the expression. This is a longer text which
|
989
|
-
#
|
908
|
+
# Optional. Description of the expression. This is a longer text which describes
|
909
|
+
# the expression, e.g. when hovered over it in a UI.
|
990
910
|
# Corresponds to the JSON property `description`
|
991
911
|
# @return [String]
|
992
912
|
attr_accessor :description
|
993
913
|
|
994
|
-
# Textual representation of an expression in Common Expression Language
|
995
|
-
# syntax.
|
914
|
+
# Textual representation of an expression in Common Expression Language syntax.
|
996
915
|
# Corresponds to the JSON property `expression`
|
997
916
|
# @return [String]
|
998
917
|
attr_accessor :expression
|
999
918
|
|
1000
|
-
# Optional. String indicating the location of the expression for error
|
1001
|
-
#
|
919
|
+
# Optional. String indicating the location of the expression for error reporting,
|
920
|
+
# e.g. a file name and a position in the file.
|
1002
921
|
# Corresponds to the JSON property `location`
|
1003
922
|
# @return [String]
|
1004
923
|
attr_accessor :location
|
1005
924
|
|
1006
|
-
# Optional. Title for the expression, i.e. a short string describing
|
1007
|
-
#
|
1008
|
-
# expression.
|
925
|
+
# Optional. Title for the expression, i.e. a short string describing its purpose.
|
926
|
+
# This can be used e.g. in UIs which allow to enter the expression.
|
1009
927
|
# Corresponds to the JSON property `title`
|
1010
928
|
# @return [String]
|
1011
929
|
attr_accessor :title
|
@@ -1024,8 +942,8 @@ module Google
|
|
1024
942
|
end
|
1025
943
|
|
1026
944
|
# ExternalProtectionLevelOptions stores a group of additional fields for
|
1027
|
-
# configuring a CryptoKeyVersion that are specific to the
|
1028
|
-
#
|
945
|
+
# configuring a CryptoKeyVersion that are specific to the EXTERNAL protection
|
946
|
+
# level.
|
1029
947
|
class ExternalProtectionLevelOptions
|
1030
948
|
include Google::Apis::Core::Hashable
|
1031
949
|
|
@@ -1048,40 +966,27 @@ module Google
|
|
1048
966
|
class ImportCryptoKeyVersionRequest
|
1049
967
|
include Google::Apis::Core::Hashable
|
1050
968
|
|
1051
|
-
# Required. The algorithm of
|
1052
|
-
# the
|
1053
|
-
# version_template of the CryptoKey this
|
1054
|
-
# version imports into.
|
969
|
+
# Required. The algorithm of the key being imported. This does not need to match
|
970
|
+
# the version_template of the CryptoKey this version imports into.
|
1055
971
|
# Corresponds to the JSON property `algorithm`
|
1056
972
|
# @return [String]
|
1057
973
|
attr_accessor :algorithm
|
1058
974
|
|
1059
|
-
# Required. The name of the ImportJob that was used to
|
1060
|
-
# wrap this key material.
|
975
|
+
# Required. The name of the ImportJob that was used to wrap this key material.
|
1061
976
|
# Corresponds to the JSON property `importJob`
|
1062
977
|
# @return [String]
|
1063
978
|
attr_accessor :import_job
|
1064
979
|
|
1065
|
-
# Wrapped key material produced with
|
1066
|
-
#
|
1067
|
-
#
|
1068
|
-
#
|
1069
|
-
#
|
1070
|
-
#
|
1071
|
-
#
|
1072
|
-
#
|
1073
|
-
#
|
1074
|
-
#
|
1075
|
-
# <li>The key to be imported, wrapped with the ephemeral AES-256 key
|
1076
|
-
# using AES-KWP (RFC 5649).
|
1077
|
-
# </li>
|
1078
|
-
# </ol>
|
1079
|
-
# If importing symmetric key material, it is expected that the unwrapped
|
1080
|
-
# key contains plain bytes. If importing asymmetric key material, it is
|
1081
|
-
# expected that the unwrapped key is in PKCS#8-encoded DER format (the
|
1082
|
-
# PrivateKeyInfo structure from RFC 5208).
|
1083
|
-
# This format is the same as the format produced by PKCS#11 mechanism
|
1084
|
-
# CKM_RSA_AES_KEY_WRAP.
|
980
|
+
# Wrapped key material produced with RSA_OAEP_3072_SHA1_AES_256 or
|
981
|
+
# RSA_OAEP_4096_SHA1_AES_256. This field contains the concatenation of two
|
982
|
+
# wrapped keys: 1. An ephemeral AES-256 wrapping key wrapped with the public_key
|
983
|
+
# using RSAES-OAEP with SHA-1, MGF1 with SHA-1, and an empty label. 2. The key
|
984
|
+
# to be imported, wrapped with the ephemeral AES-256 key using AES-KWP (RFC 5649)
|
985
|
+
# . If importing symmetric key material, it is expected that the unwrapped key
|
986
|
+
# contains plain bytes. If importing asymmetric key material, it is expected
|
987
|
+
# that the unwrapped key is in PKCS#8-encoded DER format (the PrivateKeyInfo
|
988
|
+
# structure from RFC 5208). This format is the same as the format produced by
|
989
|
+
# PKCS#11 mechanism CKM_RSA_AES_KEY_WRAP.
|
1085
990
|
# Corresponds to the JSON property `rsaAesWrappedKey`
|
1086
991
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1087
992
|
# @return [String]
|
@@ -1099,35 +1004,29 @@ module Google
|
|
1099
1004
|
end
|
1100
1005
|
end
|
1101
1006
|
|
1102
|
-
# An ImportJob can be used to create CryptoKeys and
|
1103
|
-
#
|
1104
|
-
#
|
1105
|
-
#
|
1106
|
-
#
|
1107
|
-
#
|
1108
|
-
#
|
1109
|
-
#
|
1110
|
-
# is
|
1111
|
-
#
|
1112
|
-
# can be
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
#
|
1119
|
-
# unwrap the key material. Only Cloud KMS has access to the private key.
|
1120
|
-
# An ImportJob expires 3 days after it is created. Once expired, Cloud KMS
|
1121
|
-
# will no longer be able to import or unwrap any key material that was wrapped
|
1122
|
-
# with the ImportJob's public key.
|
1123
|
-
# For more information, see
|
1124
|
-
# [Importing a key](https://cloud.google.com/kms/docs/importing-a-key).
|
1007
|
+
# An ImportJob can be used to create CryptoKeys and CryptoKeyVersions using pre-
|
1008
|
+
# existing key material, generated outside of Cloud KMS. When an ImportJob is
|
1009
|
+
# created, Cloud KMS will generate a "wrapping key", which is a public/private
|
1010
|
+
# key pair. You use the wrapping key to encrypt (also known as wrap) the pre-
|
1011
|
+
# existing key material to protect it during the import process. The nature of
|
1012
|
+
# the wrapping key depends on the choice of import_method. When the wrapping key
|
1013
|
+
# generation is complete, the state will be set to ACTIVE and the public_key can
|
1014
|
+
# be fetched. The fetched public key can then be used to wrap your pre-existing
|
1015
|
+
# key material. Once the key material is wrapped, it can be imported into a new
|
1016
|
+
# CryptoKeyVersion in an existing CryptoKey by calling ImportCryptoKeyVersion.
|
1017
|
+
# Multiple CryptoKeyVersions can be imported with a single ImportJob. Cloud KMS
|
1018
|
+
# uses the private key portion of the wrapping key to unwrap the key material.
|
1019
|
+
# Only Cloud KMS has access to the private key. An ImportJob expires 3 days
|
1020
|
+
# after it is created. Once expired, Cloud KMS will no longer be able to import
|
1021
|
+
# or unwrap any key material that was wrapped with the ImportJob's public key.
|
1022
|
+
# For more information, see [Importing a key](https://cloud.google.com/kms/docs/
|
1023
|
+
# importing-a-key).
|
1125
1024
|
class ImportJob
|
1126
1025
|
include Google::Apis::Core::Hashable
|
1127
1026
|
|
1128
1027
|
# Contains an HSM-generated attestation about a key operation. For more
|
1129
|
-
# information, see [Verifying attestations]
|
1130
|
-
#
|
1028
|
+
# information, see [Verifying attestations] (https://cloud.google.com/kms/docs/
|
1029
|
+
# attest-key).
|
1131
1030
|
# Corresponds to the JSON property `attestation`
|
1132
1031
|
# @return [Google::Apis::CloudkmsV1::KeyOperationAttestation]
|
1133
1032
|
attr_accessor :attestation
|
@@ -1137,14 +1036,13 @@ module Google
|
|
1137
1036
|
# @return [String]
|
1138
1037
|
attr_accessor :create_time
|
1139
1038
|
|
1140
|
-
# Output only. The time this ImportJob expired. Only present if
|
1141
|
-
# state is EXPIRED.
|
1039
|
+
# Output only. The time this ImportJob expired. Only present if state is EXPIRED.
|
1142
1040
|
# Corresponds to the JSON property `expireEventTime`
|
1143
1041
|
# @return [String]
|
1144
1042
|
attr_accessor :expire_event_time
|
1145
1043
|
|
1146
|
-
# Output only. The time at which this ImportJob is scheduled for
|
1147
|
-
#
|
1044
|
+
# Output only. The time at which this ImportJob is scheduled for expiration and
|
1045
|
+
# can no longer be used to import key material.
|
1148
1046
|
# Corresponds to the JSON property `expireTime`
|
1149
1047
|
# @return [String]
|
1150
1048
|
attr_accessor :expire_time
|
@@ -1159,29 +1057,26 @@ module Google
|
|
1159
1057
|
# @return [String]
|
1160
1058
|
attr_accessor :import_method
|
1161
1059
|
|
1162
|
-
# Output only. The resource name for this ImportJob in the format
|
1163
|
-
#
|
1060
|
+
# Output only. The resource name for this ImportJob in the format `projects/*/
|
1061
|
+
# locations/*/keyRings/*/importJobs/*`.
|
1164
1062
|
# Corresponds to the JSON property `name`
|
1165
1063
|
# @return [String]
|
1166
1064
|
attr_accessor :name
|
1167
1065
|
|
1168
1066
|
# Required. Immutable. The protection level of the ImportJob. This must match
|
1169
|
-
# the
|
1170
|
-
#
|
1171
|
-
# version_template on the CryptoKey you
|
1172
|
-
# attempt to import into.
|
1067
|
+
# the protection_level of the version_template on the CryptoKey you attempt to
|
1068
|
+
# import into.
|
1173
1069
|
# Corresponds to the JSON property `protectionLevel`
|
1174
1070
|
# @return [String]
|
1175
1071
|
attr_accessor :protection_level
|
1176
1072
|
|
1177
|
-
# The public key component of the wrapping key. For details of the type of
|
1178
|
-
#
|
1073
|
+
# The public key component of the wrapping key. For details of the type of key
|
1074
|
+
# this public key corresponds to, see the ImportMethod.
|
1179
1075
|
# Corresponds to the JSON property `publicKey`
|
1180
1076
|
# @return [Google::Apis::CloudkmsV1::WrappingPublicKey]
|
1181
1077
|
attr_accessor :public_key
|
1182
1078
|
|
1183
|
-
# Output only. The current state of the ImportJob, indicating if it can
|
1184
|
-
# be used.
|
1079
|
+
# Output only. The current state of the ImportJob, indicating if it can be used.
|
1185
1080
|
# Corresponds to the JSON property `state`
|
1186
1081
|
# @return [String]
|
1187
1082
|
attr_accessor :state
|
@@ -1206,13 +1101,20 @@ module Google
|
|
1206
1101
|
end
|
1207
1102
|
|
1208
1103
|
# Contains an HSM-generated attestation about a key operation. For more
|
1209
|
-
# information, see [Verifying attestations]
|
1210
|
-
#
|
1104
|
+
# information, see [Verifying attestations] (https://cloud.google.com/kms/docs/
|
1105
|
+
# attest-key).
|
1211
1106
|
class KeyOperationAttestation
|
1212
1107
|
include Google::Apis::Core::Hashable
|
1213
1108
|
|
1214
|
-
#
|
1215
|
-
#
|
1109
|
+
# Certificate chains needed to verify the attestation. Certificates in chains
|
1110
|
+
# are PEM-encoded and are ordered based on https://tools.ietf.org/html/rfc5246#
|
1111
|
+
# section-7.4.2.
|
1112
|
+
# Corresponds to the JSON property `certChains`
|
1113
|
+
# @return [Google::Apis::CloudkmsV1::CertificateChains]
|
1114
|
+
attr_accessor :cert_chains
|
1115
|
+
|
1116
|
+
# Output only. The attestation data provided by the HSM when the key operation
|
1117
|
+
# was performed.
|
1216
1118
|
# Corresponds to the JSON property `content`
|
1217
1119
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1218
1120
|
# @return [String]
|
@@ -1229,6 +1131,7 @@ module Google
|
|
1229
1131
|
|
1230
1132
|
# Update properties of this object
|
1231
1133
|
def update!(**args)
|
1134
|
+
@cert_chains = args[:cert_chains] if args.key?(:cert_chains)
|
1232
1135
|
@content = args[:content] if args.key?(:content)
|
1233
1136
|
@format = args[:format] if args.key?(:format)
|
1234
1137
|
end
|
@@ -1243,8 +1146,8 @@ module Google
|
|
1243
1146
|
# @return [String]
|
1244
1147
|
attr_accessor :create_time
|
1245
1148
|
|
1246
|
-
# Output only. The resource name for the KeyRing in the format
|
1247
|
-
#
|
1149
|
+
# Output only. The resource name for the KeyRing in the format `projects/*/
|
1150
|
+
# locations/*/keyRings/*`.
|
1248
1151
|
# Corresponds to the JSON property `name`
|
1249
1152
|
# @return [String]
|
1250
1153
|
attr_accessor :name
|
@@ -1270,14 +1173,12 @@ module Google
|
|
1270
1173
|
attr_accessor :crypto_key_versions
|
1271
1174
|
|
1272
1175
|
# A token to retrieve next page of results. Pass this value in
|
1273
|
-
# ListCryptoKeyVersionsRequest.page_token to retrieve the next page of
|
1274
|
-
# results.
|
1176
|
+
# ListCryptoKeyVersionsRequest.page_token to retrieve the next page of results.
|
1275
1177
|
# Corresponds to the JSON property `nextPageToken`
|
1276
1178
|
# @return [String]
|
1277
1179
|
attr_accessor :next_page_token
|
1278
1180
|
|
1279
|
-
# The total number of CryptoKeyVersions that matched the
|
1280
|
-
# query.
|
1181
|
+
# The total number of CryptoKeyVersions that matched the query.
|
1281
1182
|
# Corresponds to the JSON property `totalSize`
|
1282
1183
|
# @return [Fixnum]
|
1283
1184
|
attr_accessor :total_size
|
@@ -1419,14 +1320,14 @@ module Google
|
|
1419
1320
|
class Location
|
1420
1321
|
include Google::Apis::Core::Hashable
|
1421
1322
|
|
1422
|
-
# The friendly name for this location, typically a nearby city name.
|
1423
|
-
#
|
1323
|
+
# The friendly name for this location, typically a nearby city name. For example,
|
1324
|
+
# "Tokyo".
|
1424
1325
|
# Corresponds to the JSON property `displayName`
|
1425
1326
|
# @return [String]
|
1426
1327
|
attr_accessor :display_name
|
1427
1328
|
|
1428
|
-
# Cross-service attributes for the location. For example
|
1429
|
-
#
|
1329
|
+
# Cross-service attributes for the location. For example `"cloud.googleapis.com/
|
1330
|
+
# region": "us-east1"`
|
1430
1331
|
# Corresponds to the JSON property `labels`
|
1431
1332
|
# @return [Hash<String,String>]
|
1432
1333
|
attr_accessor :labels
|
@@ -1442,8 +1343,8 @@ module Google
|
|
1442
1343
|
# @return [Hash<String,Object>]
|
1443
1344
|
attr_accessor :metadata
|
1444
1345
|
|
1445
|
-
# Resource name for the location, which may vary between implementations.
|
1446
|
-
#
|
1346
|
+
# Resource name for the location, which may vary between implementations. For
|
1347
|
+
# example: `"projects/example-project/locations/us-east1"`
|
1447
1348
|
# Corresponds to the JSON property `name`
|
1448
1349
|
# @return [String]
|
1449
1350
|
attr_accessor :name
|
@@ -1466,17 +1367,15 @@ module Google
|
|
1466
1367
|
class LocationMetadata
|
1467
1368
|
include Google::Apis::Core::Hashable
|
1468
1369
|
|
1469
|
-
# Indicates whether CryptoKeys with
|
1470
|
-
#
|
1471
|
-
# EXTERNAL can be created in this location.
|
1370
|
+
# Indicates whether CryptoKeys with protection_level EXTERNAL can be created in
|
1371
|
+
# this location.
|
1472
1372
|
# Corresponds to the JSON property `ekmAvailable`
|
1473
1373
|
# @return [Boolean]
|
1474
1374
|
attr_accessor :ekm_available
|
1475
1375
|
alias_method :ekm_available?, :ekm_available
|
1476
1376
|
|
1477
|
-
# Indicates whether CryptoKeys with
|
1478
|
-
#
|
1479
|
-
# HSM can be created in this location.
|
1377
|
+
# Indicates whether CryptoKeys with protection_level HSM can be created in this
|
1378
|
+
# location.
|
1480
1379
|
# Corresponds to the JSON property `hsmAvailable`
|
1481
1380
|
# @return [Boolean]
|
1482
1381
|
attr_accessor :hsm_available
|
@@ -1494,66 +1393,32 @@ module Google
|
|
1494
1393
|
end
|
1495
1394
|
|
1496
1395
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1497
|
-
# controls for Google Cloud resources.
|
1498
|
-
# A `
|
1499
|
-
#
|
1500
|
-
#
|
1501
|
-
#
|
1502
|
-
#
|
1503
|
-
#
|
1504
|
-
#
|
1505
|
-
#
|
1506
|
-
#
|
1507
|
-
#
|
1508
|
-
# [
|
1509
|
-
#
|
1510
|
-
#
|
1511
|
-
# `
|
1512
|
-
# "
|
1513
|
-
# `
|
1514
|
-
# "
|
1515
|
-
#
|
1516
|
-
#
|
1517
|
-
#
|
1518
|
-
#
|
1519
|
-
#
|
1520
|
-
#
|
1521
|
-
#
|
1522
|
-
#
|
1523
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1524
|
-
# "members": [
|
1525
|
-
# "user:eve@example.com"
|
1526
|
-
# ],
|
1527
|
-
# "condition": `
|
1528
|
-
# "title": "expirable access",
|
1529
|
-
# "description": "Does not grant access after Sep 2020",
|
1530
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1531
|
-
# ",
|
1532
|
-
# `
|
1533
|
-
# `
|
1534
|
-
# ],
|
1535
|
-
# "etag": "BwWWja0YfJA=",
|
1536
|
-
# "version": 3
|
1537
|
-
# `
|
1538
|
-
# **YAML example:**
|
1539
|
-
# bindings:
|
1540
|
-
# - members:
|
1541
|
-
# - user:mike@example.com
|
1542
|
-
# - group:admins@example.com
|
1543
|
-
# - domain:google.com
|
1544
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1545
|
-
# role: roles/resourcemanager.organizationAdmin
|
1546
|
-
# - members:
|
1547
|
-
# - user:eve@example.com
|
1548
|
-
# role: roles/resourcemanager.organizationViewer
|
1549
|
-
# condition:
|
1550
|
-
# title: expirable access
|
1551
|
-
# description: Does not grant access after Sep 2020
|
1552
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1553
|
-
# - etag: BwWWja0YfJA=
|
1554
|
-
# - version: 3
|
1555
|
-
# For a description of IAM and its features, see the
|
1556
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1396
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1397
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1398
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1399
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1400
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1401
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1402
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1403
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1404
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1405
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1406
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1407
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1408
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1409
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1410
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1411
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1412
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1413
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1414
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1415
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1416
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1417
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1418
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1419
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1420
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1421
|
+
# google.com/iam/docs/).
|
1557
1422
|
class Policy
|
1558
1423
|
include Google::Apis::Core::Hashable
|
1559
1424
|
|
@@ -1562,48 +1427,44 @@ module Google
|
|
1562
1427
|
# @return [Array<Google::Apis::CloudkmsV1::AuditConfig>]
|
1563
1428
|
attr_accessor :audit_configs
|
1564
1429
|
|
1565
|
-
# Associates a list of `members` to a `role`. Optionally, may specify a
|
1566
|
-
#
|
1567
|
-
#
|
1430
|
+
# Associates a list of `members` to a `role`. Optionally, may specify a `
|
1431
|
+
# condition` that determines how and when the `bindings` are applied. Each of
|
1432
|
+
# the `bindings` must contain at least one member.
|
1568
1433
|
# Corresponds to the JSON property `bindings`
|
1569
1434
|
# @return [Array<Google::Apis::CloudkmsV1::Binding>]
|
1570
1435
|
attr_accessor :bindings
|
1571
1436
|
|
1572
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
1573
|
-
#
|
1574
|
-
#
|
1575
|
-
#
|
1576
|
-
#
|
1577
|
-
#
|
1578
|
-
#
|
1579
|
-
#
|
1580
|
-
#
|
1581
|
-
#
|
1582
|
-
#
|
1437
|
+
# `etag` is used for optimistic concurrency control as a way to help prevent
|
1438
|
+
# simultaneous updates of a policy from overwriting each other. It is strongly
|
1439
|
+
# suggested that systems make use of the `etag` in the read-modify-write cycle
|
1440
|
+
# to perform policy updates in order to avoid race conditions: An `etag` is
|
1441
|
+
# returned in the response to `getIamPolicy`, and systems are expected to put
|
1442
|
+
# that etag in the request to `setIamPolicy` to ensure that their change will be
|
1443
|
+
# applied to the same version of the policy. **Important:** If you use IAM
|
1444
|
+
# Conditions, you must include the `etag` field whenever you call `setIamPolicy`.
|
1445
|
+
# If you omit this field, then IAM allows you to overwrite a version `3` policy
|
1446
|
+
# with a version `1` policy, and all of the conditions in the version `3` policy
|
1447
|
+
# are lost.
|
1583
1448
|
# Corresponds to the JSON property `etag`
|
1584
1449
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1585
1450
|
# @return [String]
|
1586
1451
|
attr_accessor :etag
|
1587
1452
|
|
1588
|
-
# Specifies the format of the policy.
|
1589
|
-
#
|
1590
|
-
#
|
1591
|
-
#
|
1592
|
-
#
|
1593
|
-
#
|
1594
|
-
#
|
1595
|
-
#
|
1596
|
-
#
|
1597
|
-
#
|
1598
|
-
#
|
1599
|
-
#
|
1600
|
-
#
|
1601
|
-
#
|
1602
|
-
#
|
1603
|
-
# specify any valid version or leave the field unset.
|
1604
|
-
# To learn which resources support conditions in their IAM policies, see the
|
1605
|
-
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1606
|
-
# policies).
|
1453
|
+
# Specifies the format of the policy. Valid values are `0`, `1`, and `3`.
|
1454
|
+
# Requests that specify an invalid value are rejected. Any operation that
|
1455
|
+
# affects conditional role bindings must specify version `3`. This requirement
|
1456
|
+
# applies to the following operations: * Getting a policy that includes a
|
1457
|
+
# conditional role binding * Adding a conditional role binding to a policy *
|
1458
|
+
# Changing a conditional role binding in a policy * Removing any role binding,
|
1459
|
+
# with or without a condition, from a policy that includes conditions **
|
1460
|
+
# Important:** If you use IAM Conditions, you must include the `etag` field
|
1461
|
+
# whenever you call `setIamPolicy`. If you omit this field, then IAM allows you
|
1462
|
+
# to overwrite a version `3` policy with a version `1` policy, and all of the
|
1463
|
+
# conditions in the version `3` policy are lost. If a policy does not include
|
1464
|
+
# any conditions, operations on that policy may specify any valid version or
|
1465
|
+
# leave the field unset. To learn which resources support conditions in their
|
1466
|
+
# IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/
|
1467
|
+
# conditions/resource-policies).
|
1607
1468
|
# Corresponds to the JSON property `version`
|
1608
1469
|
# @return [Fixnum]
|
1609
1470
|
attr_accessor :version
|
@@ -1621,45 +1482,39 @@ module Google
|
|
1621
1482
|
end
|
1622
1483
|
end
|
1623
1484
|
|
1624
|
-
# The public key for a given CryptoKeyVersion. Obtained via
|
1625
|
-
# GetPublicKey.
|
1485
|
+
# The public key for a given CryptoKeyVersion. Obtained via GetPublicKey.
|
1626
1486
|
class PublicKey
|
1627
1487
|
include Google::Apis::Core::Hashable
|
1628
1488
|
|
1629
|
-
# The Algorithm associated
|
1630
|
-
# with this key.
|
1489
|
+
# The Algorithm associated with this key.
|
1631
1490
|
# Corresponds to the JSON property `algorithm`
|
1632
1491
|
# @return [String]
|
1633
1492
|
attr_accessor :algorithm
|
1634
1493
|
|
1635
|
-
# The name of the CryptoKeyVersion public key.
|
1636
|
-
# Provided here for verification.
|
1494
|
+
# The name of the CryptoKeyVersion public key. Provided here for verification.
|
1637
1495
|
# NOTE: This field is in Beta.
|
1638
1496
|
# Corresponds to the JSON property `name`
|
1639
1497
|
# @return [String]
|
1640
1498
|
attr_accessor :name
|
1641
1499
|
|
1642
|
-
# The public key, encoded in PEM format. For more information, see the
|
1643
|
-
#
|
1644
|
-
#
|
1645
|
-
#
|
1646
|
-
# (https://tools.ietf.org/html/rfc7468#section-13).
|
1500
|
+
# The public key, encoded in PEM format. For more information, see the [RFC 7468]
|
1501
|
+
# (https://tools.ietf.org/html/rfc7468) sections for [General Considerations](
|
1502
|
+
# https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of
|
1503
|
+
# Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
|
1647
1504
|
# Corresponds to the JSON property `pem`
|
1648
1505
|
# @return [String]
|
1649
1506
|
attr_accessor :pem
|
1650
1507
|
|
1651
|
-
# Integrity verification field. A CRC32C checksum of the returned
|
1652
|
-
#
|
1653
|
-
#
|
1654
|
-
#
|
1655
|
-
#
|
1656
|
-
#
|
1657
|
-
#
|
1658
|
-
#
|
1659
|
-
#
|
1660
|
-
#
|
1661
|
-
# that support this type.
|
1662
|
-
# NOTE: This field is in Beta.
|
1508
|
+
# Integrity verification field. A CRC32C checksum of the returned PublicKey.pem.
|
1509
|
+
# An integrity check of PublicKey.pem can be performed by computing the CRC32C
|
1510
|
+
# checksum of PublicKey.pem and comparing your results to this field. Discard
|
1511
|
+
# the response in case of non-matching checksum values, and perform a limited
|
1512
|
+
# number of retries. A persistent mismatch may indicate an issue in your
|
1513
|
+
# computation of the CRC32C checksum. Note: This field is defined as int64 for
|
1514
|
+
# reasons of compatibility across different languages. However, it is a non-
|
1515
|
+
# negative integer, which will never exceed 2^32-1, and can be safely
|
1516
|
+
# downconverted to uint32 in languages that support this type. NOTE: This field
|
1517
|
+
# is in Beta.
|
1663
1518
|
# Corresponds to the JSON property `pemCrc32c`
|
1664
1519
|
# @return [Fixnum]
|
1665
1520
|
attr_accessor :pem_crc32c
|
@@ -1695,74 +1550,39 @@ module Google
|
|
1695
1550
|
include Google::Apis::Core::Hashable
|
1696
1551
|
|
1697
1552
|
# An Identity and Access Management (IAM) policy, which specifies access
|
1698
|
-
# controls for Google Cloud resources.
|
1699
|
-
# A `
|
1700
|
-
#
|
1701
|
-
#
|
1702
|
-
#
|
1703
|
-
#
|
1704
|
-
#
|
1705
|
-
#
|
1706
|
-
#
|
1707
|
-
#
|
1708
|
-
#
|
1709
|
-
# [
|
1710
|
-
#
|
1711
|
-
#
|
1712
|
-
# `
|
1713
|
-
# "
|
1714
|
-
# `
|
1715
|
-
# "
|
1716
|
-
#
|
1717
|
-
#
|
1718
|
-
#
|
1719
|
-
#
|
1720
|
-
#
|
1721
|
-
#
|
1722
|
-
#
|
1723
|
-
#
|
1724
|
-
# "role": "roles/resourcemanager.organizationViewer",
|
1725
|
-
# "members": [
|
1726
|
-
# "user:eve@example.com"
|
1727
|
-
# ],
|
1728
|
-
# "condition": `
|
1729
|
-
# "title": "expirable access",
|
1730
|
-
# "description": "Does not grant access after Sep 2020",
|
1731
|
-
# "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1732
|
-
# ",
|
1733
|
-
# `
|
1734
|
-
# `
|
1735
|
-
# ],
|
1736
|
-
# "etag": "BwWWja0YfJA=",
|
1737
|
-
# "version": 3
|
1738
|
-
# `
|
1739
|
-
# **YAML example:**
|
1740
|
-
# bindings:
|
1741
|
-
# - members:
|
1742
|
-
# - user:mike@example.com
|
1743
|
-
# - group:admins@example.com
|
1744
|
-
# - domain:google.com
|
1745
|
-
# - serviceAccount:my-project-id@appspot.gserviceaccount.com
|
1746
|
-
# role: roles/resourcemanager.organizationAdmin
|
1747
|
-
# - members:
|
1748
|
-
# - user:eve@example.com
|
1749
|
-
# role: roles/resourcemanager.organizationViewer
|
1750
|
-
# condition:
|
1751
|
-
# title: expirable access
|
1752
|
-
# description: Does not grant access after Sep 2020
|
1753
|
-
# expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
|
1754
|
-
# - etag: BwWWja0YfJA=
|
1755
|
-
# - version: 3
|
1756
|
-
# For a description of IAM and its features, see the
|
1757
|
-
# [IAM documentation](https://cloud.google.com/iam/docs/).
|
1553
|
+
# controls for Google Cloud resources. A `Policy` is a collection of `bindings`.
|
1554
|
+
# A `binding` binds one or more `members` to a single `role`. Members can be
|
1555
|
+
# user accounts, service accounts, Google groups, and domains (such as G Suite).
|
1556
|
+
# A `role` is a named list of permissions; each `role` can be an IAM predefined
|
1557
|
+
# role or a user-created custom role. For some types of Google Cloud resources,
|
1558
|
+
# a `binding` can also specify a `condition`, which is a logical expression that
|
1559
|
+
# allows access to a resource only if the expression evaluates to `true`. A
|
1560
|
+
# condition can add constraints based on attributes of the request, the resource,
|
1561
|
+
# or both. To learn which resources support conditions in their IAM policies,
|
1562
|
+
# see the [IAM documentation](https://cloud.google.com/iam/help/conditions/
|
1563
|
+
# resource-policies). **JSON example:** ` "bindings": [ ` "role": "roles/
|
1564
|
+
# resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "
|
1565
|
+
# group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@
|
1566
|
+
# appspot.gserviceaccount.com" ] `, ` "role": "roles/resourcemanager.
|
1567
|
+
# organizationViewer", "members": [ "user:eve@example.com" ], "condition": ` "
|
1568
|
+
# title": "expirable access", "description": "Does not grant access after Sep
|
1569
|
+
# 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", `
|
1570
|
+
# ` ], "etag": "BwWWja0YfJA=", "version": 3 ` **YAML example:** bindings: -
|
1571
|
+
# members: - user:mike@example.com - group:admins@example.com - domain:google.
|
1572
|
+
# com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/
|
1573
|
+
# resourcemanager.organizationAdmin - members: - user:eve@example.com role:
|
1574
|
+
# roles/resourcemanager.organizationViewer condition: title: expirable access
|
1575
|
+
# description: Does not grant access after Sep 2020 expression: request.time <
|
1576
|
+
# timestamp('2020-10-01T00:00:00.000Z') - etag: BwWWja0YfJA= - version: 3 For a
|
1577
|
+
# description of IAM and its features, see the [IAM documentation](https://cloud.
|
1578
|
+
# google.com/iam/docs/).
|
1758
1579
|
# Corresponds to the JSON property `policy`
|
1759
1580
|
# @return [Google::Apis::CloudkmsV1::Policy]
|
1760
1581
|
attr_accessor :policy
|
1761
1582
|
|
1762
1583
|
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
1763
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
1764
|
-
#
|
1765
|
-
# `paths: "bindings, etag"`
|
1584
|
+
# the fields in the mask will be modified. If no mask is provided, the following
|
1585
|
+
# default mask is used: `paths: "bindings, etag"`
|
1766
1586
|
# Corresponds to the JSON property `updateMask`
|
1767
1587
|
# @return [String]
|
1768
1588
|
attr_accessor :update_mask
|
@@ -1782,10 +1602,9 @@ module Google
|
|
1782
1602
|
class TestIamPermissionsRequest
|
1783
1603
|
include Google::Apis::Core::Hashable
|
1784
1604
|
|
1785
|
-
# The set of permissions to check for the `resource`. Permissions with
|
1786
|
-
#
|
1787
|
-
#
|
1788
|
-
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1605
|
+
# The set of permissions to check for the `resource`. Permissions with wildcards
|
1606
|
+
# (such as '*' or 'storage.*') are not allowed. For more information see [IAM
|
1607
|
+
# Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
1789
1608
|
# Corresponds to the JSON property `permissions`
|
1790
1609
|
# @return [Array<String>]
|
1791
1610
|
attr_accessor :permissions
|
@@ -1804,8 +1623,7 @@ module Google
|
|
1804
1623
|
class TestIamPermissionsResponse
|
1805
1624
|
include Google::Apis::Core::Hashable
|
1806
1625
|
|
1807
|
-
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
1808
|
-
# allowed.
|
1626
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
|
1809
1627
|
# Corresponds to the JSON property `permissions`
|
1810
1628
|
# @return [Array<String>]
|
1811
1629
|
attr_accessor :permissions
|
@@ -1839,16 +1657,15 @@ module Google
|
|
1839
1657
|
end
|
1840
1658
|
end
|
1841
1659
|
|
1842
|
-
# The public key component of the wrapping key. For details of the type of
|
1843
|
-
#
|
1660
|
+
# The public key component of the wrapping key. For details of the type of key
|
1661
|
+
# this public key corresponds to, see the ImportMethod.
|
1844
1662
|
class WrappingPublicKey
|
1845
1663
|
include Google::Apis::Core::Hashable
|
1846
1664
|
|
1847
|
-
# The public key, encoded in PEM format. For more information, see the [RFC
|
1848
|
-
#
|
1849
|
-
#
|
1850
|
-
#
|
1851
|
-
# (https://tools.ietf.org/html/rfc7468#section-13).
|
1665
|
+
# The public key, encoded in PEM format. For more information, see the [RFC 7468]
|
1666
|
+
# (https://tools.ietf.org/html/rfc7468) sections for [General Considerations](
|
1667
|
+
# https://tools.ietf.org/html/rfc7468#section-2) and [Textual Encoding of
|
1668
|
+
# Subject Public Key Info] (https://tools.ietf.org/html/rfc7468#section-13).
|
1852
1669
|
# Corresponds to the JSON property `pem`
|
1853
1670
|
# @return [String]
|
1854
1671
|
attr_accessor :pem
|