google-api-client 0.39.3 → 0.40.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +242 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +3 -1
- data/generated/google/apis/admob_v1.rb +1 -1
- data/generated/google/apis/admob_v1/classes.rb +5 -6
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +547 -724
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -54
- data/generated/google/apis/androidenterprise_v1/service.rb +540 -795
- data/generated/google/apis/androidpublisher_v3.rb +3 -3
- data/generated/google/apis/androidpublisher_v3/classes.rb +473 -736
- data/generated/google/apis/androidpublisher_v3/representations.rb +10 -201
- data/generated/google/apis/androidpublisher_v3/service.rb +531 -863
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +58 -10
- data/generated/google/apis/apigee_v1/representations.rb +7 -0
- data/generated/google/apis/apigee_v1/service.rb +24 -14
- data/generated/google/apis/appsmarket_v2.rb +3 -3
- data/generated/google/apis/appsmarket_v2/classes.rb +160 -159
- data/generated/google/apis/appsmarket_v2/representations.rb +78 -78
- data/generated/google/apis/appsmarket_v2/service.rb +24 -39
- data/generated/google/apis/artifactregistry_v1beta1.rb +38 -0
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +1123 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +441 -0
- data/generated/google/apis/artifactregistry_v1beta1/service.rb +957 -0
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +54 -1
- data/generated/google/apis/bigquery_v2/representations.rb +4 -0
- data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1/classes.rb +2 -0
- data/generated/google/apis/bigqueryreservation_v1/service.rb +8 -8
- data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +20 -14
- data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +93 -68
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/service.rb +4 -4
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +21 -0
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +6 -0
- data/generated/google/apis/binaryauthorization_v1.rb +1 -1
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +2 -2
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/{pagespeedonline_v2.rb → chromeuxreport_v1.rb} +10 -10
- data/generated/google/apis/chromeuxreport_v1/classes.rb +297 -0
- data/generated/google/apis/chromeuxreport_v1/representations.rb +147 -0
- data/generated/google/apis/chromeuxreport_v1/service.rb +92 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +70 -43
- data/generated/google/apis/cloudasset_v1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1/service.rb +14 -11
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +29 -16
- data/generated/google/apis/cloudasset_v1beta1/service.rb +16 -7
- data/generated/google/apis/cloudasset_v1p1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p1beta1/classes.rb +48 -16
- data/generated/google/apis/cloudasset_v1p1beta1/representations.rb +2 -0
- data/generated/google/apis/cloudasset_v1p1beta1/service.rb +15 -16
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +26 -8
- data/generated/google/apis/cloudasset_v1p4beta1/service.rb +24 -3
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +17 -4
- data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
- data/generated/google/apis/cloudbuild_v1/service.rb +163 -0
- data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha1/service.rb +121 -0
- data/generated/google/apis/cloudbuild_v1alpha2.rb +1 -1
- data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +156 -2
- data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +61 -0
- data/generated/google/apis/cloudbuild_v1alpha2/service.rb +121 -0
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1beta1/classes.rb +6 -0
- data/generated/google/apis/cloudidentity_v1beta1/representations.rb +1 -0
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +26 -10
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +288 -7
- data/generated/google/apis/cloudkms_v1/representations.rb +17 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +6 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +8 -8
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +6 -6
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +6 -6
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -6
- data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +8 -6
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -2
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +58 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
- data/generated/google/apis/composer_v1beta1/service.rb +5 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +318 -166
- data/generated/google/apis/compute_alpha/representations.rb +80 -33
- data/generated/google/apis/compute_alpha/service.rb +194 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +237 -83
- data/generated/google/apis/compute_beta/representations.rb +52 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +155 -58
- data/generated/google/apis/compute_v1/representations.rb +21 -0
- data/generated/google/apis/compute_v1/service.rb +83 -0
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -4
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +62 -4
- data/generated/google/apis/container_v1beta1/representations.rb +33 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +34 -0
- data/generated/google/apis/content_v2/representations.rb +16 -0
- data/generated/google/apis/content_v2/service.rb +5 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +363 -5
- data/generated/google/apis/content_v2_1/representations.rb +136 -0
- data/generated/google/apis/content_v2_1/service.rb +85 -1
- data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
- data/generated/google/apis/datacatalog_v1beta1/classes.rb +26 -10
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +331 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +164 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +261 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +64 -19
- data/generated/google/apis/datafusion_v1beta1/representations.rb +16 -0
- data/generated/google/apis/datafusion_v1beta1/service.rb +49 -2
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +22 -22
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +49 -35
- data/generated/google/apis/dataproc_v1beta2/service.rb +35 -21
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/classes.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/classes.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +362 -176
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +22 -4
- data/generated/google/apis/deploymentmanager_alpha/service.rb +198 -311
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +295 -146
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -1
- data/generated/google/apis/deploymentmanager_v2/service.rb +101 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +350 -170
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +18 -1
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +154 -152
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_3/service.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/classes.rb +2 -2
- data/generated/google/apis/dfareporting_v3_4/service.rb +2 -2
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +549 -9
- data/generated/google/apis/dialogflow_v2/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +540 -8
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +234 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +46 -2
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/classes.rb +612 -0
- data/generated/google/apis/displayvideo_v1/representations.rb +314 -0
- data/generated/google/apis/displayvideo_v1/service.rb +1968 -337
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +17 -27
- data/generated/google/apis/dlp_v2/service.rb +247 -204
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +160 -261
- data/generated/google/apis/dns_v1/representations.rb +17 -0
- data/generated/google/apis/dns_v1/service.rb +21 -141
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +189 -273
- data/generated/google/apis/dns_v1beta2/representations.rb +32 -0
- data/generated/google/apis/dns_v1beta2/service.rb +21 -141
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +160 -261
- data/generated/google/apis/dns_v2beta1/representations.rb +17 -0
- data/generated/google/apis/dns_v2beta1/service.rb +21 -141
- data/generated/google/apis/fcm_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +31 -0
- data/generated/google/apis/file_v1/representations.rb +15 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +98 -0
- data/generated/google/apis/file_v1beta1/representations.rb +34 -0
- data/generated/google/apis/firebase_v1beta1.rb +1 -1
- data/generated/google/apis/firebase_v1beta1/classes.rb +2 -12
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +30 -25
- data/generated/google/apis/{pagespeedonline_v4.rb → firebaseml_v1.rb} +12 -10
- data/generated/google/apis/firebaseml_v1/classes.rb +213 -0
- data/generated/google/apis/firebaseml_v1/representations.rb +112 -0
- data/generated/google/apis/firebaseml_v1/service.rb +181 -0
- data/generated/google/apis/fitness_v1.rb +4 -4
- data/generated/google/apis/fitness_v1/classes.rb +185 -158
- data/generated/google/apis/fitness_v1/service.rb +187 -215
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +84 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +28 -0
- data/generated/google/apis/genomics_v2alpha1/service.rb +38 -2
- data/generated/google/apis/gmail_v1.rb +3 -2
- data/generated/google/apis/gmail_v1/classes.rb +263 -200
- data/generated/google/apis/gmail_v1/service.rb +551 -743
- data/generated/google/apis/groupsmigration_v1.rb +3 -2
- data/generated/google/apis/groupsmigration_v1/service.rb +10 -17
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/classes.rb +39 -30
- data/generated/google/apis/healthcare_v1/service.rb +64 -32
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +41 -37
- data/generated/google/apis/healthcare_v1beta1/service.rb +165 -147
- data/generated/google/apis/homegraph_v1.rb +1 -1
- data/generated/google/apis/homegraph_v1/classes.rb +3 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +111 -93
- data/generated/google/apis/iam_v1/service.rb +166 -144
- data/generated/google/apis/iamcredentials_v1.rb +1 -1
- data/generated/google/apis/iamcredentials_v1/classes.rb +30 -5
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +4 -2
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +4 -2
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +66 -23
- data/generated/google/apis/memcache_v1beta2/representations.rb +15 -0
- data/generated/google/apis/memcache_v1beta2/service.rb +5 -2
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +84 -18
- data/generated/google/apis/ml_v1/representations.rb +4 -0
- data/generated/google/apis/ml_v1/service.rb +11 -6
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +46 -0
- data/generated/google/apis/monitoring_v1/representations.rb +18 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +17 -0
- data/generated/google/apis/monitoring_v3/representations.rb +2 -0
- data/generated/google/apis/monitoring_v3/service.rb +1 -1
- data/generated/google/apis/networkmanagement_v1.rb +35 -0
- data/generated/google/apis/networkmanagement_v1/classes.rb +1868 -0
- data/generated/google/apis/networkmanagement_v1/representations.rb +661 -0
- data/generated/google/apis/networkmanagement_v1/service.rb +667 -0
- data/generated/google/apis/osconfig_v1.rb +1 -1
- data/generated/google/apis/osconfig_v1/classes.rb +2 -2
- data/generated/google/apis/osconfig_v1beta.rb +1 -1
- data/generated/google/apis/osconfig_v1beta/classes.rb +6 -7
- data/generated/google/apis/pagespeedonline_v5.rb +1 -1
- data/generated/google/apis/pagespeedonline_v5/classes.rb +7 -0
- data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +216 -0
- data/generated/google/apis/people_v1/representations.rb +82 -0
- data/generated/google/apis/people_v1/service.rb +371 -9
- data/generated/google/apis/playcustomapp_v1.rb +3 -3
- data/generated/google/apis/playcustomapp_v1/classes.rb +7 -0
- data/generated/google/apis/playcustomapp_v1/representations.rb +1 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +11 -19
- data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1/classes.rb +6 -6
- data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
- data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +6 -6
- data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +70 -15
- data/generated/google/apis/pubsub_v1/representations.rb +28 -0
- data/generated/google/apis/pubsub_v1/service.rb +35 -1
- data/generated/google/apis/{pagespeedonline_v1.rb → recommender_v1.rb} +11 -9
- data/generated/google/apis/recommender_v1/classes.rb +505 -0
- data/generated/google/apis/recommender_v1/representations.rb +232 -0
- data/generated/google/apis/recommender_v1/service.rb +266 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +9 -0
- data/generated/google/apis/run_v1/representations.rb +1 -0
- data/generated/google/apis/run_v1alpha1.rb +1 -1
- data/generated/google/apis/run_v1alpha1/classes.rb +9 -0
- data/generated/google/apis/run_v1alpha1/representations.rb +1 -0
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/service.rb +30 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/secretmanager_v1/classes.rb +32 -19
- data/generated/google/apis/secretmanager_v1/service.rb +3 -0
- data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
- data/generated/google/apis/secretmanager_v1beta1/classes.rb +29 -16
- data/generated/google/apis/secretmanager_v1beta1/service.rb +3 -0
- data/generated/google/apis/securitycenter_v1.rb +1 -1
- data/generated/google/apis/securitycenter_v1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1beta1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +100 -0
- data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +38 -0
- data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
- data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +133 -18
- data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +38 -0
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +205 -75
- data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +32 -2
- data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +211 -75
- data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +33 -2
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +6 -6
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +6 -43
- data/generated/google/apis/servicemanagement_v1/representations.rb +0 -2
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +488 -75
- data/generated/google/apis/servicenetworking_v1/representations.rb +209 -2
- data/generated/google/apis/servicenetworking_v1/service.rb +187 -0
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +297 -75
- data/generated/google/apis/servicenetworking_v1beta/representations.rb +130 -2
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +197 -75
- data/generated/google/apis/serviceusage_v1/representations.rb +32 -2
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +203 -75
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +33 -2
- data/generated/google/apis/serviceusage_v1beta1/service.rb +34 -0
- data/generated/google/apis/sourcerepo_v1.rb +1 -1
- data/generated/google/apis/sourcerepo_v1/classes.rb +23 -10
- data/generated/google/apis/sourcerepo_v1/service.rb +3 -0
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +30 -12
- data/generated/google/apis/spanner_v1/service.rb +8 -8
- data/generated/google/apis/sql_v1beta4.rb +1 -1
- data/generated/google/apis/sql_v1beta4/classes.rb +7 -0
- data/generated/google/apis/sql_v1beta4/representations.rb +1 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +2 -1
- data/generated/google/apis/tasks_v1.rb +3 -3
- data/generated/google/apis/tasks_v1/classes.rb +26 -25
- data/generated/google/apis/tasks_v1/representations.rb +4 -8
- data/generated/google/apis/tasks_v1/service.rb +79 -128
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -1
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +1 -1
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +3 -3
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +3 -3
- data/generated/google/apis/translate_v3.rb +1 -1
- data/generated/google/apis/verifiedaccess_v1.rb +3 -3
- data/generated/google/apis/verifiedaccess_v1/service.rb +2 -2
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1/service.rb +32 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1/classes.rb +7 -5
- data/generated/google/apis/websecurityscanner_v1/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +5 -4
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
- data/generated/google/apis/websecurityscanner_v1beta.rb +2 -2
- data/generated/google/apis/websecurityscanner_v1beta/classes.rb +9 -7
- data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +5 -5
- data/generated/google/apis/youtube_v3/classes.rb +1260 -1244
- data/generated/google/apis/youtube_v3/representations.rb +64 -192
- data/generated/google/apis/youtube_v3/service.rb +1827 -2154
- data/lib/google/apis/core/api_command.rb +12 -7
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +23 -15
- data/generated/google/apis/pagespeedonline_v1/classes.rb +0 -542
- data/generated/google/apis/pagespeedonline_v1/representations.rb +0 -258
- data/generated/google/apis/pagespeedonline_v1/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v2/classes.rb +0 -621
- data/generated/google/apis/pagespeedonline_v2/representations.rb +0 -273
- data/generated/google/apis/pagespeedonline_v2/service.rb +0 -116
- data/generated/google/apis/pagespeedonline_v4/classes.rb +0 -795
- data/generated/google/apis/pagespeedonline_v4/representations.rb +0 -335
- data/generated/google/apis/pagespeedonline_v4/service.rb +0 -125
@@ -70,6 +70,12 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
+
class CancelOperationRequest
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
+
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
77
|
+
end
|
78
|
+
|
73
79
|
class Empty
|
74
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
81
|
|
@@ -88,6 +94,12 @@ module Google
|
|
88
94
|
include Google::Apis::Core::JsonObjectSupport
|
89
95
|
end
|
90
96
|
|
97
|
+
class ListOperationsResponse
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
+
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
101
|
+
end
|
102
|
+
|
91
103
|
class ListWorkerPoolsResponse
|
92
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
105
|
|
@@ -100,6 +112,12 @@ module Google
|
|
100
112
|
include Google::Apis::Core::JsonObjectSupport
|
101
113
|
end
|
102
114
|
|
115
|
+
class Operation
|
116
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
+
|
118
|
+
include Google::Apis::Core::JsonObjectSupport
|
119
|
+
end
|
120
|
+
|
103
121
|
class RepoSource
|
104
122
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
123
|
|
@@ -130,6 +148,12 @@ module Google
|
|
130
148
|
include Google::Apis::Core::JsonObjectSupport
|
131
149
|
end
|
132
150
|
|
151
|
+
class Status
|
152
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
+
|
154
|
+
include Google::Apis::Core::JsonObjectSupport
|
155
|
+
end
|
156
|
+
|
133
157
|
class StorageSource
|
134
158
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
135
159
|
|
@@ -237,6 +261,7 @@ module Google
|
|
237
261
|
# @private
|
238
262
|
class Representation < Google::Apis::Core::JsonRepresentation
|
239
263
|
property :disk_size_gb, :numeric_string => true, as: 'diskSizeGb'
|
264
|
+
property :dynamic_substitutions, as: 'dynamicSubstitutions'
|
240
265
|
collection :env, as: 'env'
|
241
266
|
property :log_streaming_option, as: 'logStreamingOption'
|
242
267
|
property :logging, as: 'logging'
|
@@ -283,6 +308,12 @@ module Google
|
|
283
308
|
end
|
284
309
|
end
|
285
310
|
|
311
|
+
class CancelOperationRequest
|
312
|
+
# @private
|
313
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
314
|
+
end
|
315
|
+
end
|
316
|
+
|
286
317
|
class Empty
|
287
318
|
# @private
|
288
319
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -305,6 +336,15 @@ module Google
|
|
305
336
|
end
|
306
337
|
end
|
307
338
|
|
339
|
+
class ListOperationsResponse
|
340
|
+
# @private
|
341
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
342
|
+
property :next_page_token, as: 'nextPageToken'
|
343
|
+
collection :operations, as: 'operations', class: Google::Apis::CloudbuildV1alpha2::Operation, decorator: Google::Apis::CloudbuildV1alpha2::Operation::Representation
|
344
|
+
|
345
|
+
end
|
346
|
+
end
|
347
|
+
|
308
348
|
class ListWorkerPoolsResponse
|
309
349
|
# @private
|
310
350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -320,6 +360,18 @@ module Google
|
|
320
360
|
end
|
321
361
|
end
|
322
362
|
|
363
|
+
class Operation
|
364
|
+
# @private
|
365
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
366
|
+
property :done, as: 'done'
|
367
|
+
property :error, as: 'error', class: Google::Apis::CloudbuildV1alpha2::Status, decorator: Google::Apis::CloudbuildV1alpha2::Status::Representation
|
368
|
+
|
369
|
+
hash :metadata, as: 'metadata'
|
370
|
+
property :name, as: 'name'
|
371
|
+
hash :response, as: 'response'
|
372
|
+
end
|
373
|
+
end
|
374
|
+
|
323
375
|
class RepoSource
|
324
376
|
# @private
|
325
377
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -378,6 +430,15 @@ module Google
|
|
378
430
|
end
|
379
431
|
end
|
380
432
|
|
433
|
+
class Status
|
434
|
+
# @private
|
435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
436
|
+
property :code, as: 'code'
|
437
|
+
collection :details, as: 'details'
|
438
|
+
property :message, as: 'message'
|
439
|
+
end
|
440
|
+
end
|
441
|
+
|
381
442
|
class StorageSource
|
382
443
|
# @private
|
383
444
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -47,6 +47,127 @@ module Google
|
|
47
47
|
@batch_path = 'batch'
|
48
48
|
end
|
49
49
|
|
50
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
51
|
+
# makes a best effort to cancel the operation, but success is not
|
52
|
+
# guaranteed. If the server doesn't support this method, it returns
|
53
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
54
|
+
# Operations.GetOperation or
|
55
|
+
# other methods to check whether the cancellation succeeded or whether the
|
56
|
+
# operation completed despite cancellation. On successful cancellation,
|
57
|
+
# the operation is not deleted; instead, it becomes an operation with
|
58
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
59
|
+
# corresponding to `Code.CANCELLED`.
|
60
|
+
# @param [String] name
|
61
|
+
# The name of the operation resource to be cancelled.
|
62
|
+
# @param [Google::Apis::CloudbuildV1alpha2::CancelOperationRequest] cancel_operation_request_object
|
63
|
+
# @param [String] fields
|
64
|
+
# Selector specifying which fields to include in a partial response.
|
65
|
+
# @param [String] quota_user
|
66
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
67
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
68
|
+
# @param [Google::Apis::RequestOptions] options
|
69
|
+
# Request-specific options
|
70
|
+
#
|
71
|
+
# @yield [result, err] Result & error if block supplied
|
72
|
+
# @yieldparam result [Google::Apis::CloudbuildV1alpha2::Empty] parsed result object
|
73
|
+
# @yieldparam err [StandardError] error object if request failed
|
74
|
+
#
|
75
|
+
# @return [Google::Apis::CloudbuildV1alpha2::Empty]
|
76
|
+
#
|
77
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
78
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
79
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
80
|
+
def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
81
|
+
command = make_simple_command(:post, 'v1alpha2/{+name}:cancel', options)
|
82
|
+
command.request_representation = Google::Apis::CloudbuildV1alpha2::CancelOperationRequest::Representation
|
83
|
+
command.request_object = cancel_operation_request_object
|
84
|
+
command.response_representation = Google::Apis::CloudbuildV1alpha2::Empty::Representation
|
85
|
+
command.response_class = Google::Apis::CloudbuildV1alpha2::Empty
|
86
|
+
command.params['name'] = name unless name.nil?
|
87
|
+
command.query['fields'] = fields unless fields.nil?
|
88
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
89
|
+
execute_or_queue_command(command, &block)
|
90
|
+
end
|
91
|
+
|
92
|
+
# Gets the latest state of a long-running operation. Clients can use this
|
93
|
+
# method to poll the operation result at intervals as recommended by the API
|
94
|
+
# service.
|
95
|
+
# @param [String] name
|
96
|
+
# The name of the operation resource.
|
97
|
+
# @param [String] fields
|
98
|
+
# Selector specifying which fields to include in a partial response.
|
99
|
+
# @param [String] quota_user
|
100
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
101
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
102
|
+
# @param [Google::Apis::RequestOptions] options
|
103
|
+
# Request-specific options
|
104
|
+
#
|
105
|
+
# @yield [result, err] Result & error if block supplied
|
106
|
+
# @yieldparam result [Google::Apis::CloudbuildV1alpha2::Operation] parsed result object
|
107
|
+
# @yieldparam err [StandardError] error object if request failed
|
108
|
+
#
|
109
|
+
# @return [Google::Apis::CloudbuildV1alpha2::Operation]
|
110
|
+
#
|
111
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
112
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
113
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
114
|
+
def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
115
|
+
command = make_simple_command(:get, 'v1alpha2/{+name}', options)
|
116
|
+
command.response_representation = Google::Apis::CloudbuildV1alpha2::Operation::Representation
|
117
|
+
command.response_class = Google::Apis::CloudbuildV1alpha2::Operation
|
118
|
+
command.params['name'] = name unless name.nil?
|
119
|
+
command.query['fields'] = fields unless fields.nil?
|
120
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
121
|
+
execute_or_queue_command(command, &block)
|
122
|
+
end
|
123
|
+
|
124
|
+
# Lists operations that match the specified filter in the request. If the
|
125
|
+
# server doesn't support this method, it returns `UNIMPLEMENTED`.
|
126
|
+
# NOTE: the `name` binding allows API services to override the binding
|
127
|
+
# to use different resource name schemes, such as `users/*/operations`. To
|
128
|
+
# override the binding, API services can add a binding such as
|
129
|
+
# `"/v1/`name=users/*`/operations"` to their service configuration.
|
130
|
+
# For backwards compatibility, the default name includes the operations
|
131
|
+
# collection id, however overriding users must ensure the name binding
|
132
|
+
# is the parent resource, without the operations collection id.
|
133
|
+
# @param [String] name
|
134
|
+
# The name of the operation's parent resource.
|
135
|
+
# @param [String] filter
|
136
|
+
# The standard list filter.
|
137
|
+
# @param [Fixnum] page_size
|
138
|
+
# The standard list page size.
|
139
|
+
# @param [String] page_token
|
140
|
+
# The standard list page token.
|
141
|
+
# @param [String] fields
|
142
|
+
# Selector specifying which fields to include in a partial response.
|
143
|
+
# @param [String] quota_user
|
144
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
145
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
146
|
+
# @param [Google::Apis::RequestOptions] options
|
147
|
+
# Request-specific options
|
148
|
+
#
|
149
|
+
# @yield [result, err] Result & error if block supplied
|
150
|
+
# @yieldparam result [Google::Apis::CloudbuildV1alpha2::ListOperationsResponse] parsed result object
|
151
|
+
# @yieldparam err [StandardError] error object if request failed
|
152
|
+
#
|
153
|
+
# @return [Google::Apis::CloudbuildV1alpha2::ListOperationsResponse]
|
154
|
+
#
|
155
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
156
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
|
+
def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
+
command = make_simple_command(:get, 'v1alpha2/{+name}/operations', options)
|
160
|
+
command.response_representation = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse::Representation
|
161
|
+
command.response_class = Google::Apis::CloudbuildV1alpha2::ListOperationsResponse
|
162
|
+
command.params['name'] = name unless name.nil?
|
163
|
+
command.query['filter'] = filter unless filter.nil?
|
164
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
165
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
166
|
+
command.query['fields'] = fields unless fields.nil?
|
167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
168
|
+
execute_or_queue_command(command, &block)
|
169
|
+
end
|
170
|
+
|
50
171
|
# Creates a `WorkerPool` to run the builds, and returns the new worker pool.
|
51
172
|
# @param [String] parent
|
52
173
|
# Required. The parent resource where this book will be created.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/identity/
|
26
26
|
module CloudidentityV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20200516'
|
29
29
|
|
30
30
|
# See, change, create, and delete any of the Cloud Identity Groups that you can access, including the members of each group
|
31
31
|
AUTH_CLOUD_IDENTITY_GROUPS = 'https://www.googleapis.com/auth/cloud-identity.groups'
|
@@ -472,6 +472,11 @@ module Google
|
|
472
472
|
# @return [String]
|
473
473
|
attr_accessor :compromised_state
|
474
474
|
|
475
|
+
# When the user first signed in to the device
|
476
|
+
# Corresponds to the JSON property `createTime`
|
477
|
+
# @return [String]
|
478
|
+
attr_accessor :create_time
|
479
|
+
|
475
480
|
# Output only. Most recent time when user registered with this service.
|
476
481
|
# Corresponds to the JSON property `firstSyncTime`
|
477
482
|
# @return [String]
|
@@ -522,6 +527,7 @@ module Google
|
|
522
527
|
# Update properties of this object
|
523
528
|
def update!(**args)
|
524
529
|
@compromised_state = args[:compromised_state] if args.key?(:compromised_state)
|
530
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
525
531
|
@first_sync_time = args[:first_sync_time] if args.key?(:first_sync_time)
|
526
532
|
@language_code = args[:language_code] if args.key?(:language_code)
|
527
533
|
@last_sync_time = args[:last_sync_time] if args.key?(:last_sync_time)
|
@@ -329,6 +329,7 @@ module Google
|
|
329
329
|
# @private
|
330
330
|
class Representation < Google::Apis::Core::JsonRepresentation
|
331
331
|
property :compromised_state, as: 'compromisedState'
|
332
|
+
property :create_time, as: 'createTime'
|
332
333
|
property :first_sync_time, as: 'firstSyncTime'
|
333
334
|
property :language_code, as: 'languageCode'
|
334
335
|
property :last_sync_time, as: 'lastSyncTime'
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/iot
|
27
27
|
module CloudiotV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200519'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -667,6 +667,9 @@ module Google
|
|
667
667
|
# Requests for policies with any conditional bindings must specify version 3.
|
668
668
|
# Policies without any conditional bindings may specify any valid value or
|
669
669
|
# leave the field unset.
|
670
|
+
# To learn which resources support conditions in their IAM policies, see the
|
671
|
+
# [IAM
|
672
|
+
# documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
670
673
|
# Corresponds to the JSON property `requestedPolicyVersion`
|
671
674
|
# @return [Fixnum]
|
672
675
|
attr_accessor :requested_policy_version
|
@@ -851,10 +854,13 @@ module Google
|
|
851
854
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
852
855
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
853
856
|
# custom role.
|
854
|
-
#
|
855
|
-
# expression that allows access to a resource
|
856
|
-
# to `true`. A condition can add constraints
|
857
|
-
# request, the resource, or both.
|
857
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
858
|
+
# `condition`, which is a logical expression that allows access to a resource
|
859
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
860
|
+
# based on attributes of the request, the resource, or both. To learn which
|
861
|
+
# resources support conditions in their IAM policies, see the
|
862
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
863
|
+
# policies).
|
858
864
|
# **JSON example:**
|
859
865
|
# `
|
860
866
|
# "bindings": [
|
@@ -869,7 +875,9 @@ module Google
|
|
869
875
|
# `,
|
870
876
|
# `
|
871
877
|
# "role": "roles/resourcemanager.organizationViewer",
|
872
|
-
# "members": [
|
878
|
+
# "members": [
|
879
|
+
# "user:eve@example.com"
|
880
|
+
# ],
|
873
881
|
# "condition": `
|
874
882
|
# "title": "expirable access",
|
875
883
|
# "description": "Does not grant access after Sep 2020",
|
@@ -942,6 +950,9 @@ module Google
|
|
942
950
|
# the conditions in the version `3` policy are lost.
|
943
951
|
# If a policy does not include any conditions, operations on that policy may
|
944
952
|
# specify any valid version or leave the field unset.
|
953
|
+
# To learn which resources support conditions in their IAM policies, see the
|
954
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
955
|
+
# policies).
|
945
956
|
# Corresponds to the JSON property `version`
|
946
957
|
# @return [Fixnum]
|
947
958
|
attr_accessor :version
|
@@ -1087,10 +1098,13 @@ module Google
|
|
1087
1098
|
# Google groups, and domains (such as G Suite). A `role` is a named list of
|
1088
1099
|
# permissions; each `role` can be an IAM predefined role or a user-created
|
1089
1100
|
# custom role.
|
1090
|
-
#
|
1091
|
-
# expression that allows access to a resource
|
1092
|
-
# to `true`. A condition can add constraints
|
1093
|
-
# request, the resource, or both.
|
1101
|
+
# For some types of Google Cloud resources, a `binding` can also specify a
|
1102
|
+
# `condition`, which is a logical expression that allows access to a resource
|
1103
|
+
# only if the expression evaluates to `true`. A condition can add constraints
|
1104
|
+
# based on attributes of the request, the resource, or both. To learn which
|
1105
|
+
# resources support conditions in their IAM policies, see the
|
1106
|
+
# [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-
|
1107
|
+
# policies).
|
1094
1108
|
# **JSON example:**
|
1095
1109
|
# `
|
1096
1110
|
# "bindings": [
|
@@ -1105,7 +1119,9 @@ module Google
|
|
1105
1119
|
# `,
|
1106
1120
|
# `
|
1107
1121
|
# "role": "roles/resourcemanager.organizationViewer",
|
1108
|
-
# "members": [
|
1122
|
+
# "members": [
|
1123
|
+
# "user:eve@example.com"
|
1124
|
+
# ],
|
1109
1125
|
# "condition": `
|
1110
1126
|
# "title": "expirable access",
|
1111
1127
|
# "description": "Does not grant access after Sep 2020",
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/kms/
|
27
27
|
module CloudkmsV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200609'
|
30
30
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -33,6 +33,25 @@ module Google
|
|
33
33
|
# @return [String]
|
34
34
|
attr_accessor :ciphertext
|
35
35
|
|
36
|
+
# Optional. An optional CRC32C checksum of the AsymmetricDecryptRequest.
|
37
|
+
# ciphertext.
|
38
|
+
# If specified, KeyManagementService will verify the integrity of the
|
39
|
+
# received AsymmetricDecryptRequest.ciphertext using this checksum.
|
40
|
+
# KeyManagementService will report an error if the checksum verification
|
41
|
+
# fails. If you receive a checksum error, your client should verify that
|
42
|
+
# CRC32C(AsymmetricDecryptRequest.ciphertext) is equal to
|
43
|
+
# AsymmetricDecryptRequest.ciphertext_crc32c, and if so, perform a
|
44
|
+
# limited number of retries. A persistent mismatch may indicate an issue in
|
45
|
+
# your computation of the CRC32C checksum.
|
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
|
48
|
+
# 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.
|
51
|
+
# Corresponds to the JSON property `ciphertextCrc32c`
|
52
|
+
# @return [Fixnum]
|
53
|
+
attr_accessor :ciphertext_crc32c
|
54
|
+
|
36
55
|
def initialize(**args)
|
37
56
|
update!(**args)
|
38
57
|
end
|
@@ -40,6 +59,7 @@ module Google
|
|
40
59
|
# Update properties of this object
|
41
60
|
def update!(**args)
|
42
61
|
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
62
|
+
@ciphertext_crc32c = args[:ciphertext_crc32c] if args.key?(:ciphertext_crc32c)
|
43
63
|
end
|
44
64
|
end
|
45
65
|
|
@@ -53,6 +73,36 @@ module Google
|
|
53
73
|
# @return [String]
|
54
74
|
attr_accessor :plaintext
|
55
75
|
|
76
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
77
|
+
# AsymmetricDecryptResponse.plaintext. An integrity check of
|
78
|
+
# AsymmetricDecryptResponse.plaintext can be performed by computing the
|
79
|
+
# CRC32C checksum of AsymmetricDecryptResponse.plaintext and comparing
|
80
|
+
# your results to this field. Discard the response in case of non-matching
|
81
|
+
# checksum values, and perform a limited number of retries. A persistent
|
82
|
+
# mismatch may indicate an issue in your computation of the CRC32C checksum.
|
83
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
84
|
+
# different languages. However, it is a non-negative integer, which will
|
85
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
86
|
+
# that support this type.
|
87
|
+
# NOTE: This field is in Beta.
|
88
|
+
# Corresponds to the JSON property `plaintextCrc32c`
|
89
|
+
# @return [Fixnum]
|
90
|
+
attr_accessor :plaintext_crc32c
|
91
|
+
|
92
|
+
# Integrity verification field. A flag indicating whether
|
93
|
+
# AsymmetricDecryptRequest.ciphertext_crc32c was received by
|
94
|
+
# KeyManagementService and used for the integrity verification of the
|
95
|
+
# ciphertext. A false value of this
|
96
|
+
# field indicates either that AsymmetricDecryptRequest.ciphertext_crc32c
|
97
|
+
# was left unset or that it was not delivered to KeyManagementService. If
|
98
|
+
# you've set AsymmetricDecryptRequest.ciphertext_crc32c but this field is
|
99
|
+
# still false, discard the response and perform a limited number of retries.
|
100
|
+
# NOTE: This field is in Beta.
|
101
|
+
# Corresponds to the JSON property `verifiedCiphertextCrc32c`
|
102
|
+
# @return [Boolean]
|
103
|
+
attr_accessor :verified_ciphertext_crc32c
|
104
|
+
alias_method :verified_ciphertext_crc32c?, :verified_ciphertext_crc32c
|
105
|
+
|
56
106
|
def initialize(**args)
|
57
107
|
update!(**args)
|
58
108
|
end
|
@@ -60,6 +110,8 @@ module Google
|
|
60
110
|
# Update properties of this object
|
61
111
|
def update!(**args)
|
62
112
|
@plaintext = args[:plaintext] if args.key?(:plaintext)
|
113
|
+
@plaintext_crc32c = args[:plaintext_crc32c] if args.key?(:plaintext_crc32c)
|
114
|
+
@verified_ciphertext_crc32c = args[:verified_ciphertext_crc32c] if args.key?(:verified_ciphertext_crc32c)
|
63
115
|
end
|
64
116
|
end
|
65
117
|
|
@@ -72,6 +124,24 @@ module Google
|
|
72
124
|
# @return [Google::Apis::CloudkmsV1::Digest]
|
73
125
|
attr_accessor :digest
|
74
126
|
|
127
|
+
# Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If
|
128
|
+
# specified, KeyManagementService will verify the integrity of the
|
129
|
+
# received AsymmetricSignRequest.digest using this checksum.
|
130
|
+
# KeyManagementService will report an error if the checksum verification
|
131
|
+
# fails. If you receive a checksum error, your client should verify that
|
132
|
+
# CRC32C(AsymmetricSignRequest.digest) is equal to
|
133
|
+
# AsymmetricSignRequest.digest_crc32c, and if so, perform a limited
|
134
|
+
# number of retries. A persistent mismatch may indicate an issue in your
|
135
|
+
# computation of the CRC32C checksum.
|
136
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
137
|
+
# different languages. However, it is a non-negative integer, which will
|
138
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
139
|
+
# that support this type.
|
140
|
+
# NOTE: This field is in Beta.
|
141
|
+
# Corresponds to the JSON property `digestCrc32c`
|
142
|
+
# @return [Fixnum]
|
143
|
+
attr_accessor :digest_crc32c
|
144
|
+
|
75
145
|
def initialize(**args)
|
76
146
|
update!(**args)
|
77
147
|
end
|
@@ -79,6 +149,7 @@ module Google
|
|
79
149
|
# Update properties of this object
|
80
150
|
def update!(**args)
|
81
151
|
@digest = args[:digest] if args.key?(:digest)
|
152
|
+
@digest_crc32c = args[:digest_crc32c] if args.key?(:digest_crc32c)
|
82
153
|
end
|
83
154
|
end
|
84
155
|
|
@@ -86,19 +157,59 @@ module Google
|
|
86
157
|
class AsymmetricSignResponse
|
87
158
|
include Google::Apis::Core::Hashable
|
88
159
|
|
160
|
+
# The resource name of the CryptoKeyVersion used for signing. Check
|
161
|
+
# this field to verify that the intended resource was used for signing.
|
162
|
+
# NOTE: This field is in Beta.
|
163
|
+
# Corresponds to the JSON property `name`
|
164
|
+
# @return [String]
|
165
|
+
attr_accessor :name
|
166
|
+
|
89
167
|
# The created signature.
|
90
168
|
# Corresponds to the JSON property `signature`
|
91
169
|
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
92
170
|
# @return [String]
|
93
171
|
attr_accessor :signature
|
94
172
|
|
173
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
174
|
+
# AsymmetricSignResponse.signature. An integrity check of
|
175
|
+
# AsymmetricSignResponse.signature can be performed by computing the
|
176
|
+
# CRC32C checksum of AsymmetricSignResponse.signature and comparing your
|
177
|
+
# results to this field. Discard the response in case of non-matching
|
178
|
+
# checksum values, and perform a limited number of retries. A persistent
|
179
|
+
# mismatch may indicate an issue in your computation of the CRC32C checksum.
|
180
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
181
|
+
# different languages. However, it is a non-negative integer, which will
|
182
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
183
|
+
# that support this type.
|
184
|
+
# NOTE: This field is in Beta.
|
185
|
+
# Corresponds to the JSON property `signatureCrc32c`
|
186
|
+
# @return [Fixnum]
|
187
|
+
attr_accessor :signature_crc32c
|
188
|
+
|
189
|
+
# Integrity verification field. A flag indicating whether
|
190
|
+
# AsymmetricSignRequest.digest_crc32c was received by
|
191
|
+
# KeyManagementService and used for the integrity verification of the
|
192
|
+
# digest. A false value of this field
|
193
|
+
# indicates either that AsymmetricSignRequest.digest_crc32c was left
|
194
|
+
# unset or that it was not delivered to KeyManagementService. If you've
|
195
|
+
# set AsymmetricSignRequest.digest_crc32c but this field is still false,
|
196
|
+
# discard the response and perform a limited number of retries.
|
197
|
+
# NOTE: This field is in Beta.
|
198
|
+
# Corresponds to the JSON property `verifiedDigestCrc32c`
|
199
|
+
# @return [Boolean]
|
200
|
+
attr_accessor :verified_digest_crc32c
|
201
|
+
alias_method :verified_digest_crc32c?, :verified_digest_crc32c
|
202
|
+
|
95
203
|
def initialize(**args)
|
96
204
|
update!(**args)
|
97
205
|
end
|
98
206
|
|
99
207
|
# Update properties of this object
|
100
208
|
def update!(**args)
|
209
|
+
@name = args[:name] if args.key?(:name)
|
101
210
|
@signature = args[:signature] if args.key?(:signature)
|
211
|
+
@signature_crc32c = args[:signature_crc32c] if args.key?(:signature_crc32c)
|
212
|
+
@verified_digest_crc32c = args[:verified_digest_crc32c] if args.key?(:verified_digest_crc32c)
|
102
213
|
end
|
103
214
|
end
|
104
215
|
|
@@ -114,7 +225,7 @@ module Google
|
|
114
225
|
# `
|
115
226
|
# "audit_configs": [
|
116
227
|
# `
|
117
|
-
# "service": "allServices"
|
228
|
+
# "service": "allServices",
|
118
229
|
# "audit_log_configs": [
|
119
230
|
# `
|
120
231
|
# "log_type": "DATA_READ",
|
@@ -123,18 +234,18 @@ module Google
|
|
123
234
|
# ]
|
124
235
|
# `,
|
125
236
|
# `
|
126
|
-
# "log_type": "DATA_WRITE"
|
237
|
+
# "log_type": "DATA_WRITE"
|
127
238
|
# `,
|
128
239
|
# `
|
129
|
-
# "log_type": "ADMIN_READ"
|
240
|
+
# "log_type": "ADMIN_READ"
|
130
241
|
# `
|
131
242
|
# ]
|
132
243
|
# `,
|
133
244
|
# `
|
134
|
-
# "service": "sampleservice.googleapis.com"
|
245
|
+
# "service": "sampleservice.googleapis.com",
|
135
246
|
# "audit_log_configs": [
|
136
247
|
# `
|
137
|
-
# "log_type": "DATA_READ"
|
248
|
+
# "log_type": "DATA_READ"
|
138
249
|
# `,
|
139
250
|
# `
|
140
251
|
# "log_type": "DATA_WRITE",
|
@@ -186,7 +297,7 @@ module Google
|
|
186
297
|
# ]
|
187
298
|
# `,
|
188
299
|
# `
|
189
|
-
# "log_type": "DATA_WRITE"
|
300
|
+
# "log_type": "DATA_WRITE"
|
190
301
|
# `
|
191
302
|
# ]
|
192
303
|
# `
|
@@ -314,7 +425,7 @@ module Google
|
|
314
425
|
attr_accessor :create_time
|
315
426
|
|
316
427
|
# Labels with user-defined metadata. For more information, see
|
317
|
-
# [Labeling Keys](/kms/docs/labeling-keys).
|
428
|
+
# [Labeling Keys](https://cloud.google.com/kms/docs/labeling-keys).
|
318
429
|
# Corresponds to the JSON property `labels`
|
319
430
|
# @return [Hash<String,String>]
|
320
431
|
attr_accessor :labels
|
@@ -551,6 +662,25 @@ module Google
|
|
551
662
|
# @return [String]
|
552
663
|
attr_accessor :additional_authenticated_data
|
553
664
|
|
665
|
+
# Optional. An optional CRC32C checksum of the
|
666
|
+
# DecryptRequest.additional_authenticated_data. If specified,
|
667
|
+
# KeyManagementService will verify the integrity of the received
|
668
|
+
# DecryptRequest.additional_authenticated_data using this checksum.
|
669
|
+
# KeyManagementService will report an error if the checksum verification
|
670
|
+
# fails. If you receive a checksum error, your client should verify that
|
671
|
+
# CRC32C(DecryptRequest.additional_authenticated_data) is equal to
|
672
|
+
# DecryptRequest.additional_authenticated_data_crc32c, and if so, perform
|
673
|
+
# a limited number of retries. A persistent mismatch may indicate an issue in
|
674
|
+
# your computation of the CRC32C checksum.
|
675
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
676
|
+
# different languages. However, it is a non-negative integer, which will
|
677
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
678
|
+
# that support this type.
|
679
|
+
# NOTE: This field is in Beta.
|
680
|
+
# Corresponds to the JSON property `additionalAuthenticatedDataCrc32c`
|
681
|
+
# @return [Fixnum]
|
682
|
+
attr_accessor :additional_authenticated_data_crc32c
|
683
|
+
|
554
684
|
# Required. The encrypted data originally returned in
|
555
685
|
# EncryptResponse.ciphertext.
|
556
686
|
# Corresponds to the JSON property `ciphertext`
|
@@ -558,6 +688,24 @@ module Google
|
|
558
688
|
# @return [String]
|
559
689
|
attr_accessor :ciphertext
|
560
690
|
|
691
|
+
# Optional. An optional CRC32C checksum of the DecryptRequest.ciphertext. If
|
692
|
+
# specified, KeyManagementService will verify the integrity of the
|
693
|
+
# received DecryptRequest.ciphertext using this checksum.
|
694
|
+
# KeyManagementService will report an error if the checksum verification
|
695
|
+
# fails. If you receive a checksum error, your client should verify that
|
696
|
+
# CRC32C(DecryptRequest.ciphertext) is equal to
|
697
|
+
# DecryptRequest.ciphertext_crc32c, and if so, perform a limited number
|
698
|
+
# of retries. A persistent mismatch may indicate an issue in your computation
|
699
|
+
# of the CRC32C checksum.
|
700
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
701
|
+
# different languages. However, it is a non-negative integer, which will
|
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.
|
705
|
+
# Corresponds to the JSON property `ciphertextCrc32c`
|
706
|
+
# @return [Fixnum]
|
707
|
+
attr_accessor :ciphertext_crc32c
|
708
|
+
|
561
709
|
def initialize(**args)
|
562
710
|
update!(**args)
|
563
711
|
end
|
@@ -565,7 +713,9 @@ module Google
|
|
565
713
|
# Update properties of this object
|
566
714
|
def update!(**args)
|
567
715
|
@additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
|
716
|
+
@additional_authenticated_data_crc32c = args[:additional_authenticated_data_crc32c] if args.key?(:additional_authenticated_data_crc32c)
|
568
717
|
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
718
|
+
@ciphertext_crc32c = args[:ciphertext_crc32c] if args.key?(:ciphertext_crc32c)
|
569
719
|
end
|
570
720
|
end
|
571
721
|
|
@@ -579,6 +729,24 @@ module Google
|
|
579
729
|
# @return [String]
|
580
730
|
attr_accessor :plaintext
|
581
731
|
|
732
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
733
|
+
# DecryptResponse.plaintext. An integrity check of
|
734
|
+
# DecryptResponse.plaintext can be performed by computing the CRC32C
|
735
|
+
# checksum of DecryptResponse.plaintext and comparing your results to
|
736
|
+
# this field. Discard the response in case of non-matching checksum values,
|
737
|
+
# and perform a limited number of retries. A persistent mismatch may indicate
|
738
|
+
# an issue in your computation of the CRC32C checksum. Note: receiving this
|
739
|
+
# response message indicates that KeyManagementService is able to
|
740
|
+
# successfully decrypt the ciphertext.
|
741
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
742
|
+
# different languages. However, it is a non-negative integer, which will
|
743
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
744
|
+
# that support this type.
|
745
|
+
# NOTE: This field is in Beta.
|
746
|
+
# Corresponds to the JSON property `plaintextCrc32c`
|
747
|
+
# @return [Fixnum]
|
748
|
+
attr_accessor :plaintext_crc32c
|
749
|
+
|
582
750
|
def initialize(**args)
|
583
751
|
update!(**args)
|
584
752
|
end
|
@@ -586,6 +754,7 @@ module Google
|
|
586
754
|
# Update properties of this object
|
587
755
|
def update!(**args)
|
588
756
|
@plaintext = args[:plaintext] if args.key?(:plaintext)
|
757
|
+
@plaintext_crc32c = args[:plaintext_crc32c] if args.key?(:plaintext_crc32c)
|
589
758
|
end
|
590
759
|
end
|
591
760
|
|
@@ -654,6 +823,25 @@ module Google
|
|
654
823
|
# @return [String]
|
655
824
|
attr_accessor :additional_authenticated_data
|
656
825
|
|
826
|
+
# Optional. An optional CRC32C checksum of the
|
827
|
+
# EncryptRequest.additional_authenticated_data. If specified,
|
828
|
+
# KeyManagementService will verify the integrity of the received
|
829
|
+
# EncryptRequest.additional_authenticated_data using this checksum.
|
830
|
+
# KeyManagementService will report an error if the checksum verification
|
831
|
+
# fails. If you receive a checksum error, your client should verify that
|
832
|
+
# CRC32C(EncryptRequest.additional_authenticated_data) is equal to
|
833
|
+
# EncryptRequest.additional_authenticated_data_crc32c, and if so, perform
|
834
|
+
# a limited number of retries. A persistent mismatch may indicate an issue in
|
835
|
+
# your computation of the CRC32C checksum.
|
836
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
837
|
+
# different languages. However, it is a non-negative integer, which will
|
838
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
839
|
+
# that support this type.
|
840
|
+
# NOTE: This field is in Beta.
|
841
|
+
# Corresponds to the JSON property `additionalAuthenticatedDataCrc32c`
|
842
|
+
# @return [Fixnum]
|
843
|
+
attr_accessor :additional_authenticated_data_crc32c
|
844
|
+
|
657
845
|
# Required. The data to encrypt. Must be no larger than 64KiB.
|
658
846
|
# The maximum size depends on the key version's
|
659
847
|
# protection_level. For
|
@@ -666,6 +854,24 @@ module Google
|
|
666
854
|
# @return [String]
|
667
855
|
attr_accessor :plaintext
|
668
856
|
|
857
|
+
# Optional. An optional CRC32C checksum of the EncryptRequest.plaintext. If
|
858
|
+
# specified, KeyManagementService will verify the integrity of the
|
859
|
+
# received EncryptRequest.plaintext using this checksum.
|
860
|
+
# KeyManagementService will report an error if the checksum verification
|
861
|
+
# fails. If you receive a checksum error, your client should verify that
|
862
|
+
# CRC32C(EncryptRequest.plaintext) is equal to
|
863
|
+
# EncryptRequest.plaintext_crc32c, and if so, perform a limited number of
|
864
|
+
# retries. A persistent mismatch may indicate an issue in your computation of
|
865
|
+
# the CRC32C checksum.
|
866
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
867
|
+
# different languages. However, it is a non-negative integer, which will
|
868
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
869
|
+
# that support this type.
|
870
|
+
# NOTE: This field is in Beta.
|
871
|
+
# Corresponds to the JSON property `plaintextCrc32c`
|
872
|
+
# @return [Fixnum]
|
873
|
+
attr_accessor :plaintext_crc32c
|
874
|
+
|
669
875
|
def initialize(**args)
|
670
876
|
update!(**args)
|
671
877
|
end
|
@@ -673,7 +879,9 @@ module Google
|
|
673
879
|
# Update properties of this object
|
674
880
|
def update!(**args)
|
675
881
|
@additional_authenticated_data = args[:additional_authenticated_data] if args.key?(:additional_authenticated_data)
|
882
|
+
@additional_authenticated_data_crc32c = args[:additional_authenticated_data_crc32c] if args.key?(:additional_authenticated_data_crc32c)
|
676
883
|
@plaintext = args[:plaintext] if args.key?(:plaintext)
|
884
|
+
@plaintext_crc32c = args[:plaintext_crc32c] if args.key?(:plaintext_crc32c)
|
677
885
|
end
|
678
886
|
end
|
679
887
|
|
@@ -687,12 +895,57 @@ module Google
|
|
687
895
|
# @return [String]
|
688
896
|
attr_accessor :ciphertext
|
689
897
|
|
898
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
899
|
+
# EncryptResponse.ciphertext. An integrity check of
|
900
|
+
# EncryptResponse.ciphertext can be performed by computing the CRC32C
|
901
|
+
# checksum of EncryptResponse.ciphertext and comparing your results to
|
902
|
+
# this field. Discard the response in case of non-matching checksum values,
|
903
|
+
# and perform a limited number of retries. A persistent mismatch may indicate
|
904
|
+
# an issue in your computation of the CRC32C checksum.
|
905
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
906
|
+
# different languages. However, it is a non-negative integer, which will
|
907
|
+
# 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.
|
910
|
+
# Corresponds to the JSON property `ciphertextCrc32c`
|
911
|
+
# @return [Fixnum]
|
912
|
+
attr_accessor :ciphertext_crc32c
|
913
|
+
|
690
914
|
# The resource name of the CryptoKeyVersion used in encryption. Check
|
691
915
|
# this field to verify that the intended resource was used for encryption.
|
692
916
|
# Corresponds to the JSON property `name`
|
693
917
|
# @return [String]
|
694
918
|
attr_accessor :name
|
695
919
|
|
920
|
+
# Integrity verification field. A flag indicating whether
|
921
|
+
# EncryptRequest.additional_authenticated_data_crc32c was received by
|
922
|
+
# KeyManagementService and used for the integrity verification of the
|
923
|
+
# AAD. A false value of this
|
924
|
+
# field indicates either that
|
925
|
+
# EncryptRequest.additional_authenticated_data_crc32c was left unset or
|
926
|
+
# that it was not delivered to KeyManagementService. If you've set
|
927
|
+
# EncryptRequest.additional_authenticated_data_crc32c but this field is
|
928
|
+
# still false, discard the response and perform a limited number of retries.
|
929
|
+
# NOTE: This field is in Beta.
|
930
|
+
# Corresponds to the JSON property `verifiedAdditionalAuthenticatedDataCrc32c`
|
931
|
+
# @return [Boolean]
|
932
|
+
attr_accessor :verified_additional_authenticated_data_crc32c
|
933
|
+
alias_method :verified_additional_authenticated_data_crc32c?, :verified_additional_authenticated_data_crc32c
|
934
|
+
|
935
|
+
# Integrity verification field. A flag indicating whether
|
936
|
+
# EncryptRequest.plaintext_crc32c was received by
|
937
|
+
# KeyManagementService and used for the integrity verification of the
|
938
|
+
# plaintext. A false value of this field
|
939
|
+
# indicates either that EncryptRequest.plaintext_crc32c was left unset or
|
940
|
+
# that it was not delivered to KeyManagementService. If you've set
|
941
|
+
# EncryptRequest.plaintext_crc32c but this field is still false, discard
|
942
|
+
# the response and perform a limited number of retries.
|
943
|
+
# NOTE: This field is in Beta.
|
944
|
+
# Corresponds to the JSON property `verifiedPlaintextCrc32c`
|
945
|
+
# @return [Boolean]
|
946
|
+
attr_accessor :verified_plaintext_crc32c
|
947
|
+
alias_method :verified_plaintext_crc32c?, :verified_plaintext_crc32c
|
948
|
+
|
696
949
|
def initialize(**args)
|
697
950
|
update!(**args)
|
698
951
|
end
|
@@ -700,7 +953,10 @@ module Google
|
|
700
953
|
# Update properties of this object
|
701
954
|
def update!(**args)
|
702
955
|
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
956
|
+
@ciphertext_crc32c = args[:ciphertext_crc32c] if args.key?(:ciphertext_crc32c)
|
703
957
|
@name = args[:name] if args.key?(:name)
|
958
|
+
@verified_additional_authenticated_data_crc32c = args[:verified_additional_authenticated_data_crc32c] if args.key?(:verified_additional_authenticated_data_crc32c)
|
959
|
+
@verified_plaintext_crc32c = args[:verified_plaintext_crc32c] if args.key?(:verified_plaintext_crc32c)
|
704
960
|
end
|
705
961
|
end
|
706
962
|
|
@@ -1376,6 +1632,13 @@ module Google
|
|
1376
1632
|
# @return [String]
|
1377
1633
|
attr_accessor :algorithm
|
1378
1634
|
|
1635
|
+
# The name of the CryptoKeyVersion public key.
|
1636
|
+
# Provided here for verification.
|
1637
|
+
# NOTE: This field is in Beta.
|
1638
|
+
# Corresponds to the JSON property `name`
|
1639
|
+
# @return [String]
|
1640
|
+
attr_accessor :name
|
1641
|
+
|
1379
1642
|
# The public key, encoded in PEM format. For more information, see the
|
1380
1643
|
# [RFC 7468](https://tools.ietf.org/html/rfc7468) sections for
|
1381
1644
|
# [General Considerations](https://tools.ietf.org/html/rfc7468#section-2) and
|
@@ -1385,6 +1648,22 @@ module Google
|
|
1385
1648
|
# @return [String]
|
1386
1649
|
attr_accessor :pem
|
1387
1650
|
|
1651
|
+
# Integrity verification field. A CRC32C checksum of the returned
|
1652
|
+
# PublicKey.pem. An integrity check of PublicKey.pem can be performed
|
1653
|
+
# by computing the CRC32C checksum of PublicKey.pem and
|
1654
|
+
# comparing your results to this field. Discard the response in case of
|
1655
|
+
# non-matching checksum values, and perform a limited number of retries. A
|
1656
|
+
# persistent mismatch may indicate an issue in your computation of the CRC32C
|
1657
|
+
# checksum.
|
1658
|
+
# Note: This field is defined as int64 for reasons of compatibility across
|
1659
|
+
# different languages. However, it is a non-negative integer, which will
|
1660
|
+
# never exceed 2^32-1, and can be safely downconverted to uint32 in languages
|
1661
|
+
# that support this type.
|
1662
|
+
# NOTE: This field is in Beta.
|
1663
|
+
# Corresponds to the JSON property `pemCrc32c`
|
1664
|
+
# @return [Fixnum]
|
1665
|
+
attr_accessor :pem_crc32c
|
1666
|
+
|
1388
1667
|
def initialize(**args)
|
1389
1668
|
update!(**args)
|
1390
1669
|
end
|
@@ -1392,7 +1671,9 @@ module Google
|
|
1392
1671
|
# Update properties of this object
|
1393
1672
|
def update!(**args)
|
1394
1673
|
@algorithm = args[:algorithm] if args.key?(:algorithm)
|
1674
|
+
@name = args[:name] if args.key?(:name)
|
1395
1675
|
@pem = args[:pem] if args.key?(:pem)
|
1676
|
+
@pem_crc32c = args[:pem_crc32c] if args.key?(:pem_crc32c)
|
1396
1677
|
end
|
1397
1678
|
end
|
1398
1679
|
|