google-api-client 0.10.3 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -18
- data/CHANGELOG.md +22 -2
- data/Gemfile +5 -7
- data/MIGRATING.md +33 -0
- data/README.md +10 -2
- data/Rakefile +1 -0
- data/bin/generate-api +7 -1
- data/dl.rb +0 -0
- data/generated/google/apis/acceleratedmobilepageurl_v1/classes.rb +6 -6
- data/generated/google/apis/acceleratedmobilepageurl_v1/representations.rb +1 -1
- data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +759 -759
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +152 -152
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +376 -375
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +58 -58
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +45 -45
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +22 -21
- data/generated/google/apis/adexchangeseller_v2_0/classes.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/representations.rb +5 -5
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +2 -2
- data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +11 -11
- data/generated/google/apis/admin_directory_v1/representations.rb +11 -11
- data/generated/google/apis/admin_directory_v1/service.rb +1 -0
- data/generated/google/apis/admin_reports_v1/classes.rb +5 -5
- data/generated/google/apis/admin_reports_v1/representations.rb +4 -4
- data/generated/google/apis/admin_reports_v1/service.rb +1 -0
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +2 -2
- data/generated/google/apis/adsense_v1_4/representations.rb +2 -2
- data/generated/google/apis/adsense_v1_4/service.rb +1 -0
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/representations.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +1 -0
- data/generated/google/apis/analytics_v3/classes.rb +10 -10
- data/generated/google/apis/analytics_v3/representations.rb +10 -10
- data/generated/google/apis/analytics_v3/service.rb +1 -0
- data/generated/google/apis/analyticsreporting_v4/classes.rb +933 -933
- data/generated/google/apis/analyticsreporting_v4/representations.rb +197 -197
- data/generated/google/apis/analyticsreporting_v4/service.rb +5 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/representations.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/classes.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/representations.rb +13 -13
- data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
- data/generated/google/apis/appengine_v1/classes.rb +2 -2
- data/generated/google/apis/appengine_v1/representations.rb +2 -2
- data/generated/google/apis/appengine_v1/service.rb +1 -0
- data/generated/google/apis/appsactivity_v1/classes.rb +1 -1
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -0
- data/generated/google/apis/appsmarket_v2.rb +35 -0
- data/generated/google/apis/appsmarket_v2/classes.rb +396 -0
- data/generated/google/apis/appsmarket_v2/representations.rb +180 -0
- data/generated/google/apis/appsmarket_v2/service.rb +187 -0
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +1 -0
- data/generated/google/apis/bigquery_v2/classes.rb +39 -39
- data/generated/google/apis/bigquery_v2/representations.rb +38 -38
- data/generated/google/apis/bigquery_v2/service.rb +3 -2
- data/generated/google/apis/blogger_v3/classes.rb +2 -2
- data/generated/google/apis/blogger_v3/representations.rb +2 -2
- data/generated/google/apis/blogger_v3/service.rb +1 -0
- data/generated/google/apis/books_v1/classes.rb +5 -5
- data/generated/google/apis/books_v1/representations.rb +4 -4
- data/generated/google/apis/books_v1/service.rb +1 -0
- data/generated/google/apis/calendar_v3/classes.rb +1 -1
- data/generated/google/apis/calendar_v3/representations.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +1 -0
- data/generated/google/apis/civicinfo_v2/classes.rb +6 -6
- data/generated/google/apis/civicinfo_v2/representations.rb +6 -6
- data/generated/google/apis/civicinfo_v2/service.rb +2 -1
- data/generated/google/apis/classroom_v1/service.rb +1 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +1 -0
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +626 -626
- data/generated/google/apis/cloudbuild_v1/representations.rb +109 -109
- data/generated/google/apis/cloudbuild_v1/service.rb +159 -158
- data/generated/google/apis/clouddebugger_v2/classes.rb +358 -358
- data/generated/google/apis/clouddebugger_v2/representations.rb +99 -99
- data/generated/google/apis/clouddebugger_v2/service.rb +42 -41
- data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
- data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +220 -220
- data/generated/google/apis/clouderrorreporting_v1beta1/representations.rb +52 -52
- data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +59 -58
- data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -7
- data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/service.rb +5 -4
- data/generated/google/apis/cloudkms_v1/classes.rb +311 -311
- data/generated/google/apis/cloudkms_v1/representations.rb +87 -87
- data/generated/google/apis/cloudkms_v1/service.rb +168 -167
- data/generated/google/apis/cloudmonitoring_v2beta2/classes.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/representations.rb +4 -4
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +1 -0
- data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +341 -341
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +62 -62
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +458 -457
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +327 -327
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +71 -71
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +237 -236
- data/generated/google/apis/cloudtrace_v1.rb +3 -3
- data/generated/google/apis/cloudtrace_v1/classes.rb +38 -38
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +14 -13
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +4 -4
- data/generated/google/apis/clouduseraccounts_beta/service.rb +1 -0
- data/generated/google/apis/compute_beta/classes.rb +52 -52
- data/generated/google/apis/compute_beta/representations.rb +52 -52
- data/generated/google/apis/compute_beta/service.rb +2 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -48
- data/generated/google/apis/compute_v1/representations.rb +48 -48
- data/generated/google/apis/compute_v1/service.rb +2 -1
- data/generated/google/apis/container_v1/service.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +38 -660
- data/generated/google/apis/content_v2/representations.rb +37 -303
- data/generated/google/apis/content_v2/service.rb +63 -279
- data/generated/google/apis/customsearch_v1/classes.rb +2 -2
- data/generated/google/apis/customsearch_v1/representations.rb +2 -2
- data/generated/google/apis/customsearch_v1/service.rb +1 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +3281 -3281
- data/generated/google/apis/dataflow_v1b3/representations.rb +777 -777
- data/generated/google/apis/dataflow_v1b3/service.rb +106 -105
- data/generated/google/apis/dataproc_v1/classes.rb +395 -395
- data/generated/google/apis/dataproc_v1/representations.rb +91 -91
- data/generated/google/apis/dataproc_v1/service.rb +356 -355
- data/generated/google/apis/datastore_v1/classes.rb +506 -506
- data/generated/google/apis/datastore_v1/representations.rb +147 -147
- data/generated/google/apis/datastore_v1/service.rb +46 -45
- data/generated/google/apis/deploymentmanager_v2/classes.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/representations.rb +6 -6
- data/generated/google/apis/deploymentmanager_v2/service.rb +1 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_6/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_6/service.rb +421 -420
- data/generated/google/apis/dfareporting_v2_7/classes.rb +280 -280
- data/generated/google/apis/dfareporting_v2_7/representations.rb +266 -266
- data/generated/google/apis/dfareporting_v2_7/service.rb +423 -422
- data/generated/google/apis/discovery_v1/service.rb +1 -0
- data/generated/google/apis/dns_v1/classes.rb +2 -2
- data/generated/google/apis/dns_v1/representations.rb +2 -2
- data/generated/google/apis/dns_v1/service.rb +1 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
- data/generated/google/apis/dns_v2beta1/representations.rb +2 -2
- data/generated/google/apis/dns_v2beta1/service.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +15 -15
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +13 -13
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +5 -4
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +28 -28
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -12
- data/generated/google/apis/drive_v2/classes.rb +17 -17
- data/generated/google/apis/drive_v2/representations.rb +17 -17
- data/generated/google/apis/drive_v2/service.rb +5 -4
- data/generated/google/apis/drive_v3/classes.rb +13 -13
- data/generated/google/apis/drive_v3/representations.rb +12 -12
- data/generated/google/apis/drive_v3/service.rb +1 -0
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +81 -81
- data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +24 -24
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -0
- data/generated/google/apis/firebaserules_v1/classes.rb +201 -201
- data/generated/google/apis/firebaserules_v1/representations.rb +61 -61
- data/generated/google/apis/firebaserules_v1/service.rb +1 -0
- data/generated/google/apis/fitness_v1/classes.rb +18 -18
- data/generated/google/apis/fitness_v1/representations.rb +18 -18
- data/generated/google/apis/fitness_v1/service.rb +6 -5
- data/generated/google/apis/fusiontables_v2/classes.rb +2 -2
- data/generated/google/apis/fusiontables_v2/representations.rb +2 -2
- data/generated/google/apis/fusiontables_v2/service.rb +1 -0
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/classes.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/representations.rb +2 -2
- data/generated/google/apis/games_configuration_v1configuration/service.rb +1 -0
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -6
- data/generated/google/apis/games_management_v1management/representations.rb +6 -6
- data/generated/google/apis/games_management_v1management/service.rb +1 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +47 -47
- data/generated/google/apis/games_v1/representations.rb +47 -47
- data/generated/google/apis/games_v1/service.rb +58 -57
- data/generated/google/apis/genomics_v1.rb +6 -6
- data/generated/google/apis/genomics_v1/classes.rb +2354 -2354
- data/generated/google/apis/genomics_v1/representations.rb +487 -487
- data/generated/google/apis/genomics_v1/service.rb +1188 -1187
- data/generated/google/apis/gmail_v1/classes.rb +11 -11
- data/generated/google/apis/gmail_v1/representations.rb +11 -11
- data/generated/google/apis/gmail_v1/service.rb +2 -1
- data/generated/google/apis/groupsmigration_v1/service.rb +1 -0
- data/generated/google/apis/groupssettings_v1/service.rb +1 -0
- data/generated/google/apis/iam_v1/classes.rb +437 -437
- data/generated/google/apis/iam_v1/representations.rb +95 -95
- data/generated/google/apis/iam_v1/service.rb +87 -86
- data/generated/google/apis/identitytoolkit_v3/classes.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/representations.rb +20 -20
- data/generated/google/apis/identitytoolkit_v3/service.rb +1 -0
- data/generated/google/apis/kgsearch_v1/service.rb +9 -8
- data/generated/google/apis/language_v1.rb +1 -1
- data/generated/google/apis/language_v1/classes.rb +245 -245
- data/generated/google/apis/language_v1/representations.rb +65 -65
- data/generated/google/apis/language_v1/service.rb +1 -0
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +277 -277
- data/generated/google/apis/language_v1beta1/representations.rb +83 -83
- data/generated/google/apis/language_v1beta1/service.rb +31 -30
- data/generated/google/apis/licensing_v1/service.rb +1 -0
- data/generated/google/apis/logging_v2/classes.rb +408 -408
- data/generated/google/apis/logging_v2/representations.rb +93 -93
- data/generated/google/apis/logging_v2/service.rb +408 -407
- data/generated/google/apis/logging_v2beta1.rb +3 -3
- data/generated/google/apis/logging_v2beta1/classes.rb +892 -892
- data/generated/google/apis/logging_v2beta1/representations.rb +128 -128
- data/generated/google/apis/logging_v2beta1/service.rb +89 -88
- data/generated/google/apis/manufacturers_v1/classes.rb +309 -309
- data/generated/google/apis/manufacturers_v1/representations.rb +64 -64
- data/generated/google/apis/manufacturers_v1/service.rb +1 -0
- data/generated/google/apis/mirror_v1/service.rb +1 -0
- data/generated/google/apis/ml_v1/classes.rb +1185 -1185
- data/generated/google/apis/ml_v1/representations.rb +171 -171
- data/generated/google/apis/ml_v1/service.rb +282 -281
- data/generated/google/apis/monitoring_v3.rb +3 -3
- data/generated/google/apis/monitoring_v3/classes.rb +334 -334
- data/generated/google/apis/monitoring_v3/representations.rb +86 -86
- data/generated/google/apis/monitoring_v3/service.rb +344 -343
- data/generated/google/apis/mybusiness_v3/service.rb +1 -0
- data/generated/google/apis/oauth2_v2/service.rb +1 -0
- data/generated/google/apis/pagespeedonline_v2/classes.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/representations.rb +8 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -0
- data/generated/google/apis/partners_v2/classes.rb +1466 -1466
- data/generated/google/apis/partners_v2/representations.rb +371 -371
- data/generated/google/apis/partners_v2/service.rb +530 -529
- data/generated/google/apis/people_v1.rb +4 -4
- data/generated/google/apis/people_v1/classes.rb +1009 -1009
- data/generated/google/apis/people_v1/representations.rb +249 -249
- data/generated/google/apis/people_v1/service.rb +13 -12
- data/generated/google/apis/plus_domains_v1/classes.rb +2 -2
- data/generated/google/apis/plus_domains_v1/representations.rb +2 -2
- data/generated/google/apis/plus_domains_v1/service.rb +1 -0
- data/generated/google/apis/plus_v1/service.rb +1 -0
- data/generated/google/apis/prediction_v1_6/classes.rb +9 -9
- data/generated/google/apis/prediction_v1_6/representations.rb +9 -9
- data/generated/google/apis/prediction_v1_6/service.rb +1 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +221 -221
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +55 -55
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +378 -377
- data/generated/google/apis/pubsub_v1/classes.rb +99 -99
- data/generated/google/apis/pubsub_v1/representations.rb +25 -25
- data/generated/google/apis/pubsub_v1/service.rb +236 -235
- data/generated/google/apis/qpx_express_v1/service.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2/classes.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/representations.rb +3 -3
- data/generated/google/apis/replicapool_v1beta2/service.rb +1 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +2 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +1 -0
- data/generated/google/apis/reseller_v1/classes.rb +5 -5
- data/generated/google/apis/reseller_v1/representations.rb +5 -5
- data/generated/google/apis/reseller_v1/service.rb +1 -0
- data/generated/google/apis/resourceviews_v1beta2/classes.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/representations.rb +2 -2
- data/generated/google/apis/resourceviews_v1beta2/service.rb +1 -0
- data/generated/google/apis/runtimeconfig_v1.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/classes.rb +28 -28
- data/generated/google/apis/runtimeconfig_v1/representations.rb +3 -3
- data/generated/google/apis/runtimeconfig_v1/service.rb +53 -52
- data/generated/google/apis/script_v1.rb +18 -18
- data/generated/google/apis/script_v1/classes.rb +84 -84
- data/generated/google/apis/script_v1/representations.rb +18 -18
- data/generated/google/apis/script_v1/service.rb +11 -10
- data/generated/google/apis/searchconsole_v1/classes.rb +75 -75
- data/generated/google/apis/searchconsole_v1/representations.rb +32 -32
- data/generated/google/apis/searchconsole_v1/service.rb +11 -10
- data/generated/google/apis/servicecontrol_v1/classes.rb +582 -582
- data/generated/google/apis/servicecontrol_v1/representations.rb +113 -113
- data/generated/google/apis/servicecontrol_v1/service.rb +71 -70
- data/generated/google/apis/servicemanagement_v1.rb +3 -3
- data/generated/google/apis/servicemanagement_v1/classes.rb +3725 -3725
- data/generated/google/apis/servicemanagement_v1/representations.rb +255 -255
- data/generated/google/apis/servicemanagement_v1/service.rb +179 -178
- data/generated/google/apis/serviceuser_v1.rb +3 -3
- data/generated/google/apis/serviceuser_v1/classes.rb +2845 -2845
- data/generated/google/apis/serviceuser_v1/representations.rb +228 -228
- data/generated/google/apis/serviceuser_v1/service.rb +47 -46
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4456 -4456
- data/generated/google/apis/sheets_v4/representations.rb +859 -859
- data/generated/google/apis/sheets_v4/service.rb +180 -179
- data/generated/google/apis/site_verification_v1/service.rb +1 -0
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +2856 -2856
- data/generated/google/apis/slides_v1/representations.rb +683 -683
- data/generated/google/apis/slides_v1/service.rb +27 -26
- data/generated/google/apis/sourcerepo_v1/classes.rb +281 -281
- data/generated/google/apis/sourcerepo_v1/representations.rb +79 -79
- data/generated/google/apis/sourcerepo_v1/service.rb +112 -111
- data/generated/google/apis/spanner_v1/classes.rb +2177 -2177
- data/generated/google/apis/spanner_v1/representations.rb +325 -325
- data/generated/google/apis/spanner_v1/service.rb +374 -373
- data/generated/google/apis/speech_v1beta1/classes.rb +197 -197
- data/generated/google/apis/speech_v1beta1/representations.rb +36 -36
- data/generated/google/apis/speech_v1beta1/service.rb +27 -26
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +14 -14
- data/generated/google/apis/sqladmin_v1beta4/service.rb +3 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +11 -11
- data/generated/google/apis/storage_v1/representations.rb +11 -11
- data/generated/google/apis/storage_v1/service.rb +65 -64
- data/generated/google/apis/storagetransfer_v1/classes.rb +239 -239
- data/generated/google/apis/storagetransfer_v1/representations.rb +79 -79
- data/generated/google/apis/storagetransfer_v1/service.rb +133 -132
- data/generated/google/apis/surveys_v2/classes.rb +4 -4
- data/generated/google/apis/surveys_v2/representations.rb +4 -4
- data/generated/google/apis/surveys_v2/service.rb +1 -0
- data/generated/google/apis/tagmanager_v1/classes.rb +7 -7
- data/generated/google/apis/tagmanager_v1/representations.rb +7 -7
- data/generated/google/apis/tagmanager_v1/service.rb +1 -0
- data/generated/google/apis/tagmanager_v2/classes.rb +6 -6
- data/generated/google/apis/tagmanager_v2/representations.rb +6 -6
- data/generated/google/apis/tagmanager_v2/service.rb +1 -0
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +5 -5
- data/generated/google/apis/taskqueue_v1beta2/service.rb +1 -0
- data/generated/google/apis/tasks_v1/service.rb +3 -2
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/representations.rb +4 -4
- data/generated/google/apis/toolresults_v1beta3/service.rb +1 -0
- data/generated/google/apis/tracing_v1/classes.rb +421 -421
- data/generated/google/apis/tracing_v1/representations.rb +86 -86
- data/generated/google/apis/tracing_v1/service.rb +60 -59
- data/generated/google/apis/translate_v2/service.rb +1 -0
- data/generated/google/apis/urlshortener_v1/classes.rb +3 -3
- data/generated/google/apis/urlshortener_v1/representations.rb +3 -3
- data/generated/google/apis/urlshortener_v1/service.rb +1 -0
- data/generated/google/apis/vision_v1/classes.rb +1290 -1290
- data/generated/google/apis/vision_v1/representations.rb +184 -184
- data/generated/google/apis/vision_v1/service.rb +11 -10
- data/generated/google/apis/webfonts_v1/service.rb +1 -0
- data/generated/google/apis/webmasters_v3/classes.rb +5 -5
- data/generated/google/apis/webmasters_v3/representations.rb +5 -5
- data/generated/google/apis/webmasters_v3/service.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +1 -0
- data/generated/google/apis/youtube_partner_v1/classes.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/representations.rb +13 -13
- data/generated/google/apis/youtube_partner_v1/service.rb +1 -0
- data/generated/google/apis/youtube_v3/classes.rb +31 -31
- data/generated/google/apis/youtube_v3/representations.rb +31 -31
- data/generated/google/apis/youtube_v3/service.rb +2 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +73 -73
- data/generated/google/apis/youtubereporting_v1/representations.rb +18 -18
- data/generated/google/apis/youtubereporting_v1/service.rb +77 -76
- data/google-api-client.gemspec +4 -6
- data/lib/google/apis/core/api_command.rb +8 -3
- data/lib/google/apis/core/base_service.rb +47 -18
- data/lib/google/apis/core/batch.rb +13 -18
- data/lib/google/apis/core/composite_io.rb +97 -0
- data/lib/google/apis/core/download.rb +24 -20
- data/lib/google/apis/core/http_command.rb +49 -38
- data/lib/google/apis/core/json_representation.rb +5 -1
- data/lib/google/apis/core/multipart.rb +43 -95
- data/lib/google/apis/core/upload.rb +59 -84
- data/lib/google/apis/generator/model.rb +2 -0
- data/lib/google/apis/generator/templates/_representation.tmpl +1 -1
- data/lib/google/apis/generator/templates/service.rb.tmpl +1 -0
- data/lib/google/apis/options.rb +24 -12
- data/lib/google/apis/version.rb +1 -1
- data/samples/web/Gemfile +0 -1
- metadata +39 -37
- data/lib/google/apis/core/http_client_adapter.rb +0 -82
- data/third_party/hurley_patches.rb +0 -103
@@ -22,124 +22,6 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module CloudkmsV1
|
24
24
|
|
25
|
-
# A condition to be met.
|
26
|
-
class Condition
|
27
|
-
include Google::Apis::Core::Hashable
|
28
|
-
|
29
|
-
# An operator to apply the subject with.
|
30
|
-
# Corresponds to the JSON property `op`
|
31
|
-
# @return [String]
|
32
|
-
attr_accessor :op
|
33
|
-
|
34
|
-
# Trusted attributes discharged by the service.
|
35
|
-
# Corresponds to the JSON property `svc`
|
36
|
-
# @return [String]
|
37
|
-
attr_accessor :svc
|
38
|
-
|
39
|
-
# Trusted attributes supplied by any service that owns resources and uses
|
40
|
-
# the IAM system for access control.
|
41
|
-
# Corresponds to the JSON property `sys`
|
42
|
-
# @return [String]
|
43
|
-
attr_accessor :sys
|
44
|
-
|
45
|
-
# DEPRECATED. Use 'values' instead.
|
46
|
-
# Corresponds to the JSON property `value`
|
47
|
-
# @return [String]
|
48
|
-
attr_accessor :value
|
49
|
-
|
50
|
-
# The objects of the condition. This is mutually exclusive with 'value'.
|
51
|
-
# Corresponds to the JSON property `values`
|
52
|
-
# @return [Array<String>]
|
53
|
-
attr_accessor :values
|
54
|
-
|
55
|
-
# Trusted attributes supplied by the IAM system.
|
56
|
-
# Corresponds to the JSON property `iam`
|
57
|
-
# @return [String]
|
58
|
-
attr_accessor :iam
|
59
|
-
|
60
|
-
def initialize(**args)
|
61
|
-
update!(**args)
|
62
|
-
end
|
63
|
-
|
64
|
-
# Update properties of this object
|
65
|
-
def update!(**args)
|
66
|
-
@op = args[:op] if args.key?(:op)
|
67
|
-
@svc = args[:svc] if args.key?(:svc)
|
68
|
-
@sys = args[:sys] if args.key?(:sys)
|
69
|
-
@value = args[:value] if args.key?(:value)
|
70
|
-
@values = args[:values] if args.key?(:values)
|
71
|
-
@iam = args[:iam] if args.key?(:iam)
|
72
|
-
end
|
73
|
-
end
|
74
|
-
|
75
|
-
# Options for counters
|
76
|
-
class CounterOptions
|
77
|
-
include Google::Apis::Core::Hashable
|
78
|
-
|
79
|
-
# The metric to update.
|
80
|
-
# Corresponds to the JSON property `metric`
|
81
|
-
# @return [String]
|
82
|
-
attr_accessor :metric
|
83
|
-
|
84
|
-
# The field value to attribute.
|
85
|
-
# Corresponds to the JSON property `field`
|
86
|
-
# @return [String]
|
87
|
-
attr_accessor :field
|
88
|
-
|
89
|
-
def initialize(**args)
|
90
|
-
update!(**args)
|
91
|
-
end
|
92
|
-
|
93
|
-
# Update properties of this object
|
94
|
-
def update!(**args)
|
95
|
-
@metric = args[:metric] if args.key?(:metric)
|
96
|
-
@field = args[:field] if args.key?(:field)
|
97
|
-
end
|
98
|
-
end
|
99
|
-
|
100
|
-
# Provides the configuration for logging a type of permissions.
|
101
|
-
# Example:
|
102
|
-
# `
|
103
|
-
# "audit_log_configs": [
|
104
|
-
# `
|
105
|
-
# "log_type": "DATA_READ",
|
106
|
-
# "exempted_members": [
|
107
|
-
# "user:foo@gmail.com"
|
108
|
-
# ]
|
109
|
-
# `,
|
110
|
-
# `
|
111
|
-
# "log_type": "DATA_WRITE",
|
112
|
-
# `
|
113
|
-
# ]
|
114
|
-
# `
|
115
|
-
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
116
|
-
# foo@gmail.com from DATA_READ logging.
|
117
|
-
class AuditLogConfig
|
118
|
-
include Google::Apis::Core::Hashable
|
119
|
-
|
120
|
-
# Specifies the identities that do not cause logging for this type of
|
121
|
-
# permission.
|
122
|
-
# Follows the same format of Binding.members.
|
123
|
-
# Corresponds to the JSON property `exemptedMembers`
|
124
|
-
# @return [Array<String>]
|
125
|
-
attr_accessor :exempted_members
|
126
|
-
|
127
|
-
# The log type that this config enables.
|
128
|
-
# Corresponds to the JSON property `logType`
|
129
|
-
# @return [String]
|
130
|
-
attr_accessor :log_type
|
131
|
-
|
132
|
-
def initialize(**args)
|
133
|
-
update!(**args)
|
134
|
-
end
|
135
|
-
|
136
|
-
# Update properties of this object
|
137
|
-
def update!(**args)
|
138
|
-
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
139
|
-
@log_type = args[:log_type] if args.key?(:log_type)
|
140
|
-
end
|
141
|
-
end
|
142
|
-
|
143
25
|
# Response message for KeyManagementService.Decrypt.
|
144
26
|
class DecryptResponse
|
145
27
|
include Google::Apis::Core::Hashable
|
@@ -182,58 +64,6 @@ module Google
|
|
182
64
|
end
|
183
65
|
end
|
184
66
|
|
185
|
-
# A KeyRing is a toplevel logical grouping of CryptoKeys.
|
186
|
-
class KeyRing
|
187
|
-
include Google::Apis::Core::Hashable
|
188
|
-
|
189
|
-
# Output only. The resource name for the KeyRing in the format
|
190
|
-
# `projects/*/locations/*/keyRings/*`.
|
191
|
-
# Corresponds to the JSON property `name`
|
192
|
-
# @return [String]
|
193
|
-
attr_accessor :name
|
194
|
-
|
195
|
-
# Output only. The time at which this KeyRing was created.
|
196
|
-
# Corresponds to the JSON property `createTime`
|
197
|
-
# @return [String]
|
198
|
-
attr_accessor :create_time
|
199
|
-
|
200
|
-
def initialize(**args)
|
201
|
-
update!(**args)
|
202
|
-
end
|
203
|
-
|
204
|
-
# Update properties of this object
|
205
|
-
def update!(**args)
|
206
|
-
@name = args[:name] if args.key?(:name)
|
207
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
208
|
-
end
|
209
|
-
end
|
210
|
-
|
211
|
-
# Response message for KeyManagementService.Encrypt.
|
212
|
-
class EncryptResponse
|
213
|
-
include Google::Apis::Core::Hashable
|
214
|
-
|
215
|
-
# The encrypted data.
|
216
|
-
# Corresponds to the JSON property `ciphertext`
|
217
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
218
|
-
# @return [String]
|
219
|
-
attr_accessor :ciphertext
|
220
|
-
|
221
|
-
# The resource name of the CryptoKeyVersion used in encryption.
|
222
|
-
# Corresponds to the JSON property `name`
|
223
|
-
# @return [String]
|
224
|
-
attr_accessor :name
|
225
|
-
|
226
|
-
def initialize(**args)
|
227
|
-
update!(**args)
|
228
|
-
end
|
229
|
-
|
230
|
-
# Update properties of this object
|
231
|
-
def update!(**args)
|
232
|
-
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
233
|
-
@name = args[:name] if args.key?(:name)
|
234
|
-
end
|
235
|
-
end
|
236
|
-
|
237
67
|
# The response message for Locations.ListLocations.
|
238
68
|
class ListLocationsResponse
|
239
69
|
include Google::Apis::Core::Hashable
|
@@ -288,6 +118,20 @@ module Google
|
|
288
118
|
class Policy
|
289
119
|
include Google::Apis::Core::Hashable
|
290
120
|
|
121
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
122
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
123
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
124
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
125
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
126
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
127
|
+
# ensure that their change will be applied to the same version of the policy.
|
128
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
129
|
+
# policy is overwritten blindly.
|
130
|
+
# Corresponds to the JSON property `etag`
|
131
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
132
|
+
# @return [String]
|
133
|
+
attr_accessor :etag
|
134
|
+
|
291
135
|
#
|
292
136
|
# Corresponds to the JSON property `iamOwned`
|
293
137
|
# @return [Boolean]
|
@@ -324,32 +168,70 @@ module Google
|
|
324
168
|
# @return [Array<Google::Apis::CloudkmsV1::Binding>]
|
325
169
|
attr_accessor :bindings
|
326
170
|
|
327
|
-
# `etag` is used for optimistic concurrency control as a way to help
|
328
|
-
# prevent simultaneous updates of a policy from overwriting each other.
|
329
|
-
# It is strongly suggested that systems make use of the `etag` in the
|
330
|
-
# read-modify-write cycle to perform policy updates in order to avoid race
|
331
|
-
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
332
|
-
# systems are expected to put that etag in the request to `setIamPolicy` to
|
333
|
-
# ensure that their change will be applied to the same version of the policy.
|
334
|
-
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
335
|
-
# policy is overwritten blindly.
|
336
|
-
# Corresponds to the JSON property `etag`
|
337
|
-
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
338
|
-
# @return [String]
|
339
|
-
attr_accessor :etag
|
340
|
-
|
341
171
|
def initialize(**args)
|
342
172
|
update!(**args)
|
343
173
|
end
|
344
174
|
|
345
175
|
# Update properties of this object
|
346
176
|
def update!(**args)
|
177
|
+
@etag = args[:etag] if args.key?(:etag)
|
347
178
|
@iam_owned = args[:iam_owned] if args.key?(:iam_owned)
|
348
179
|
@rules = args[:rules] if args.key?(:rules)
|
349
180
|
@version = args[:version] if args.key?(:version)
|
350
181
|
@audit_configs = args[:audit_configs] if args.key?(:audit_configs)
|
351
182
|
@bindings = args[:bindings] if args.key?(:bindings)
|
352
|
-
|
183
|
+
end
|
184
|
+
end
|
185
|
+
|
186
|
+
# Response message for KeyManagementService.Encrypt.
|
187
|
+
class EncryptResponse
|
188
|
+
include Google::Apis::Core::Hashable
|
189
|
+
|
190
|
+
# The resource name of the CryptoKeyVersion used in encryption.
|
191
|
+
# Corresponds to the JSON property `name`
|
192
|
+
# @return [String]
|
193
|
+
attr_accessor :name
|
194
|
+
|
195
|
+
# The encrypted data.
|
196
|
+
# Corresponds to the JSON property `ciphertext`
|
197
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
198
|
+
# @return [String]
|
199
|
+
attr_accessor :ciphertext
|
200
|
+
|
201
|
+
def initialize(**args)
|
202
|
+
update!(**args)
|
203
|
+
end
|
204
|
+
|
205
|
+
# Update properties of this object
|
206
|
+
def update!(**args)
|
207
|
+
@name = args[:name] if args.key?(:name)
|
208
|
+
@ciphertext = args[:ciphertext] if args.key?(:ciphertext)
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
# A KeyRing is a toplevel logical grouping of CryptoKeys.
|
213
|
+
class KeyRing
|
214
|
+
include Google::Apis::Core::Hashable
|
215
|
+
|
216
|
+
# Output only. The time at which this KeyRing was created.
|
217
|
+
# Corresponds to the JSON property `createTime`
|
218
|
+
# @return [String]
|
219
|
+
attr_accessor :create_time
|
220
|
+
|
221
|
+
# Output only. The resource name for the KeyRing in the format
|
222
|
+
# `projects/*/locations/*/keyRings/*`.
|
223
|
+
# Corresponds to the JSON property `name`
|
224
|
+
# @return [String]
|
225
|
+
attr_accessor :name
|
226
|
+
|
227
|
+
def initialize(**args)
|
228
|
+
update!(**args)
|
229
|
+
end
|
230
|
+
|
231
|
+
# Update properties of this object
|
232
|
+
def update!(**args)
|
233
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
234
|
+
@name = args[:name] if args.key?(:name)
|
353
235
|
end
|
354
236
|
end
|
355
237
|
|
@@ -385,6 +267,19 @@ module Google
|
|
385
267
|
end
|
386
268
|
end
|
387
269
|
|
270
|
+
# Write a Data Access (Gin) log
|
271
|
+
class DataAccessOptions
|
272
|
+
include Google::Apis::Core::Hashable
|
273
|
+
|
274
|
+
def initialize(**args)
|
275
|
+
update!(**args)
|
276
|
+
end
|
277
|
+
|
278
|
+
# Update properties of this object
|
279
|
+
def update!(**args)
|
280
|
+
end
|
281
|
+
end
|
282
|
+
|
388
283
|
# Response message for KeyManagementService.ListKeyRings.
|
389
284
|
class ListKeyRingsResponse
|
390
285
|
include Google::Apis::Core::Hashable
|
@@ -417,19 +312,6 @@ module Google
|
|
417
312
|
end
|
418
313
|
end
|
419
314
|
|
420
|
-
# Write a Data Access (Gin) log
|
421
|
-
class DataAccessOptions
|
422
|
-
include Google::Apis::Core::Hashable
|
423
|
-
|
424
|
-
def initialize(**args)
|
425
|
-
update!(**args)
|
426
|
-
end
|
427
|
-
|
428
|
-
# Update properties of this object
|
429
|
-
def update!(**args)
|
430
|
-
end
|
431
|
-
end
|
432
|
-
|
433
315
|
# Specifies the audit configuration for a service.
|
434
316
|
# The configuration determines which permission types are logged, and what
|
435
317
|
# identities, if any, are exempted from logging.
|
@@ -518,6 +400,18 @@ module Google
|
|
518
400
|
class CryptoKeyVersion
|
519
401
|
include Google::Apis::Core::Hashable
|
520
402
|
|
403
|
+
# Output only. The time this CryptoKeyVersion's key material is scheduled
|
404
|
+
# for destruction. Only present if state is
|
405
|
+
# DESTROY_SCHEDULED.
|
406
|
+
# Corresponds to the JSON property `destroyTime`
|
407
|
+
# @return [String]
|
408
|
+
attr_accessor :destroy_time
|
409
|
+
|
410
|
+
# Output only. The time at which this CryptoKeyVersion was created.
|
411
|
+
# Corresponds to the JSON property `createTime`
|
412
|
+
# @return [String]
|
413
|
+
attr_accessor :create_time
|
414
|
+
|
521
415
|
# The current state of the CryptoKeyVersion.
|
522
416
|
# Corresponds to the JSON property `state`
|
523
417
|
# @return [String]
|
@@ -536,29 +430,17 @@ module Google
|
|
536
430
|
# @return [String]
|
537
431
|
attr_accessor :destroy_event_time
|
538
432
|
|
539
|
-
# Output only. The time this CryptoKeyVersion's key material is scheduled
|
540
|
-
# for destruction. Only present if state is
|
541
|
-
# DESTROY_SCHEDULED.
|
542
|
-
# Corresponds to the JSON property `destroyTime`
|
543
|
-
# @return [String]
|
544
|
-
attr_accessor :destroy_time
|
545
|
-
|
546
|
-
# Output only. The time at which this CryptoKeyVersion was created.
|
547
|
-
# Corresponds to the JSON property `createTime`
|
548
|
-
# @return [String]
|
549
|
-
attr_accessor :create_time
|
550
|
-
|
551
433
|
def initialize(**args)
|
552
434
|
update!(**args)
|
553
435
|
end
|
554
436
|
|
555
437
|
# Update properties of this object
|
556
438
|
def update!(**args)
|
439
|
+
@destroy_time = args[:destroy_time] if args.key?(:destroy_time)
|
440
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
557
441
|
@state = args[:state] if args.key?(:state)
|
558
442
|
@name = args[:name] if args.key?(:name)
|
559
443
|
@destroy_event_time = args[:destroy_event_time] if args.key?(:destroy_event_time)
|
560
|
-
@destroy_time = args[:destroy_time] if args.key?(:destroy_time)
|
561
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
562
444
|
end
|
563
445
|
end
|
564
446
|
|
@@ -648,11 +530,6 @@ module Google
|
|
648
530
|
class ListCryptoKeyVersionsResponse
|
649
531
|
include Google::Apis::Core::Hashable
|
650
532
|
|
651
|
-
# The list of CryptoKeyVersions.
|
652
|
-
# Corresponds to the JSON property `cryptoKeyVersions`
|
653
|
-
# @return [Array<Google::Apis::CloudkmsV1::CryptoKeyVersion>]
|
654
|
-
attr_accessor :crypto_key_versions
|
655
|
-
|
656
533
|
# A token to retrieve next page of results. Pass this value in
|
657
534
|
# ListCryptoKeyVersionsRequest.page_token to retrieve the next page of
|
658
535
|
# results.
|
@@ -666,15 +543,20 @@ module Google
|
|
666
543
|
# @return [Fixnum]
|
667
544
|
attr_accessor :total_size
|
668
545
|
|
546
|
+
# The list of CryptoKeyVersions.
|
547
|
+
# Corresponds to the JSON property `cryptoKeyVersions`
|
548
|
+
# @return [Array<Google::Apis::CloudkmsV1::CryptoKeyVersion>]
|
549
|
+
attr_accessor :crypto_key_versions
|
550
|
+
|
669
551
|
def initialize(**args)
|
670
552
|
update!(**args)
|
671
553
|
end
|
672
554
|
|
673
555
|
# Update properties of this object
|
674
556
|
def update!(**args)
|
675
|
-
@crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions)
|
676
557
|
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
677
558
|
@total_size = args[:total_size] if args.key?(:total_size)
|
559
|
+
@crypto_key_versions = args[:crypto_key_versions] if args.key?(:crypto_key_versions)
|
678
560
|
end
|
679
561
|
end
|
680
562
|
|
@@ -692,15 +574,75 @@ module Google
|
|
692
574
|
update!(**args)
|
693
575
|
end
|
694
576
|
|
695
|
-
# Update properties of this object
|
696
|
-
def update!(**args)
|
697
|
-
@permissions = args[:permissions] if args.key?(:permissions)
|
698
|
-
end
|
699
|
-
end
|
577
|
+
# Update properties of this object
|
578
|
+
def update!(**args)
|
579
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
580
|
+
end
|
581
|
+
end
|
582
|
+
|
583
|
+
# Request message for KeyManagementService.DestroyCryptoKeyVersion.
|
584
|
+
class DestroyCryptoKeyVersionRequest
|
585
|
+
include Google::Apis::Core::Hashable
|
586
|
+
|
587
|
+
def initialize(**args)
|
588
|
+
update!(**args)
|
589
|
+
end
|
590
|
+
|
591
|
+
# Update properties of this object
|
592
|
+
def update!(**args)
|
593
|
+
end
|
594
|
+
end
|
595
|
+
|
596
|
+
# A CryptoKey represents a logical key that can be used for cryptographic
|
597
|
+
# operations.
|
598
|
+
# A CryptoKey is made up of one or more versions, which
|
599
|
+
# represent the actual key material used in cryptographic operations.
|
600
|
+
class CryptoKey
|
601
|
+
include Google::Apis::Core::Hashable
|
602
|
+
|
603
|
+
# A CryptoKeyVersion represents an individual cryptographic key, and the
|
604
|
+
# associated key material.
|
605
|
+
# It can be used for cryptographic operations either directly, or via its
|
606
|
+
# parent CryptoKey, in which case the server will choose the appropriate
|
607
|
+
# version for the operation.
|
608
|
+
# Corresponds to the JSON property `primary`
|
609
|
+
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
610
|
+
attr_accessor :primary
|
611
|
+
|
612
|
+
# Output only. The resource name for this CryptoKey in the format
|
613
|
+
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
614
|
+
# Corresponds to the JSON property `name`
|
615
|
+
# @return [String]
|
616
|
+
attr_accessor :name
|
617
|
+
|
618
|
+
# The immutable purpose of this CryptoKey. Currently, the only acceptable
|
619
|
+
# purpose is ENCRYPT_DECRYPT.
|
620
|
+
# Corresponds to the JSON property `purpose`
|
621
|
+
# @return [String]
|
622
|
+
attr_accessor :purpose
|
623
|
+
|
624
|
+
# At next_rotation_time, the Key Management Service will automatically:
|
625
|
+
# 1. Create a new version of this CryptoKey.
|
626
|
+
# 2. Mark the new version as primary.
|
627
|
+
# Key rotations performed manually via
|
628
|
+
# CreateCryptoKeyVersion and
|
629
|
+
# UpdateCryptoKeyPrimaryVersion
|
630
|
+
# do not affect next_rotation_time.
|
631
|
+
# Corresponds to the JSON property `nextRotationTime`
|
632
|
+
# @return [String]
|
633
|
+
attr_accessor :next_rotation_time
|
634
|
+
|
635
|
+
# Output only. The time at which this CryptoKey was created.
|
636
|
+
# Corresponds to the JSON property `createTime`
|
637
|
+
# @return [String]
|
638
|
+
attr_accessor :create_time
|
700
639
|
|
701
|
-
|
702
|
-
|
703
|
-
|
640
|
+
# next_rotation_time will be advanced by this period when the service
|
641
|
+
# automatically rotates a key. Must be at least one day.
|
642
|
+
# If rotation_period is set, next_rotation_time must also be set.
|
643
|
+
# Corresponds to the JSON property `rotationPeriod`
|
644
|
+
# @return [String]
|
645
|
+
attr_accessor :rotation_period
|
704
646
|
|
705
647
|
def initialize(**args)
|
706
648
|
update!(**args)
|
@@ -708,6 +650,12 @@ module Google
|
|
708
650
|
|
709
651
|
# Update properties of this object
|
710
652
|
def update!(**args)
|
653
|
+
@primary = args[:primary] if args.key?(:primary)
|
654
|
+
@name = args[:name] if args.key?(:name)
|
655
|
+
@purpose = args[:purpose] if args.key?(:purpose)
|
656
|
+
@next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
|
657
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
658
|
+
@rotation_period = args[:rotation_period] if args.key?(:rotation_period)
|
711
659
|
end
|
712
660
|
end
|
713
661
|
|
@@ -715,14 +663,6 @@ module Google
|
|
715
663
|
class Rule
|
716
664
|
include Google::Apis::Core::Hashable
|
717
665
|
|
718
|
-
# If one or more 'not_in' clauses are specified, the rule matches
|
719
|
-
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
720
|
-
# The format for in and not_in entries is the same as for members in a
|
721
|
-
# Binding (see google/iam/v1/policy.proto).
|
722
|
-
# Corresponds to the JSON property `notIn`
|
723
|
-
# @return [Array<String>]
|
724
|
-
attr_accessor :not_in
|
725
|
-
|
726
666
|
# Human-readable description of the rule.
|
727
667
|
# Corresponds to the JSON property `description`
|
728
668
|
# @return [String]
|
@@ -757,85 +697,27 @@ module Google
|
|
757
697
|
# @return [String]
|
758
698
|
attr_accessor :action
|
759
699
|
|
700
|
+
# If one or more 'not_in' clauses are specified, the rule matches
|
701
|
+
# if the PRINCIPAL/AUTHORITY_SELECTOR is in none of the entries.
|
702
|
+
# The format for in and not_in entries is the same as for members in a
|
703
|
+
# Binding (see google/iam/v1/policy.proto).
|
704
|
+
# Corresponds to the JSON property `notIn`
|
705
|
+
# @return [Array<String>]
|
706
|
+
attr_accessor :not_in
|
707
|
+
|
760
708
|
def initialize(**args)
|
761
709
|
update!(**args)
|
762
710
|
end
|
763
711
|
|
764
712
|
# Update properties of this object
|
765
713
|
def update!(**args)
|
766
|
-
@not_in = args[:not_in] if args.key?(:not_in)
|
767
714
|
@description = args[:description] if args.key?(:description)
|
768
715
|
@conditions = args[:conditions] if args.key?(:conditions)
|
769
716
|
@log_config = args[:log_config] if args.key?(:log_config)
|
770
717
|
@in = args[:in] if args.key?(:in)
|
771
718
|
@permissions = args[:permissions] if args.key?(:permissions)
|
772
719
|
@action = args[:action] if args.key?(:action)
|
773
|
-
|
774
|
-
end
|
775
|
-
|
776
|
-
# A CryptoKey represents a logical key that can be used for cryptographic
|
777
|
-
# operations.
|
778
|
-
# A CryptoKey is made up of one or more versions, which
|
779
|
-
# represent the actual key material used in cryptographic operations.
|
780
|
-
class CryptoKey
|
781
|
-
include Google::Apis::Core::Hashable
|
782
|
-
|
783
|
-
# The immutable purpose of this CryptoKey. Currently, the only acceptable
|
784
|
-
# purpose is ENCRYPT_DECRYPT.
|
785
|
-
# Corresponds to the JSON property `purpose`
|
786
|
-
# @return [String]
|
787
|
-
attr_accessor :purpose
|
788
|
-
|
789
|
-
# At next_rotation_time, the Key Management Service will automatically:
|
790
|
-
# 1. Create a new version of this CryptoKey.
|
791
|
-
# 2. Mark the new version as primary.
|
792
|
-
# Key rotations performed manually via
|
793
|
-
# CreateCryptoKeyVersion and
|
794
|
-
# UpdateCryptoKeyPrimaryVersion
|
795
|
-
# do not affect next_rotation_time.
|
796
|
-
# Corresponds to the JSON property `nextRotationTime`
|
797
|
-
# @return [String]
|
798
|
-
attr_accessor :next_rotation_time
|
799
|
-
|
800
|
-
# Output only. The time at which this CryptoKey was created.
|
801
|
-
# Corresponds to the JSON property `createTime`
|
802
|
-
# @return [String]
|
803
|
-
attr_accessor :create_time
|
804
|
-
|
805
|
-
# next_rotation_time will be advanced by this period when the service
|
806
|
-
# automatically rotates a key. Must be at least one day.
|
807
|
-
# If rotation_period is set, next_rotation_time must also be set.
|
808
|
-
# Corresponds to the JSON property `rotationPeriod`
|
809
|
-
# @return [String]
|
810
|
-
attr_accessor :rotation_period
|
811
|
-
|
812
|
-
# A CryptoKeyVersion represents an individual cryptographic key, and the
|
813
|
-
# associated key material.
|
814
|
-
# It can be used for cryptographic operations either directly, or via its
|
815
|
-
# parent CryptoKey, in which case the server will choose the appropriate
|
816
|
-
# version for the operation.
|
817
|
-
# Corresponds to the JSON property `primary`
|
818
|
-
# @return [Google::Apis::CloudkmsV1::CryptoKeyVersion]
|
819
|
-
attr_accessor :primary
|
820
|
-
|
821
|
-
# Output only. The resource name for this CryptoKey in the format
|
822
|
-
# `projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
823
|
-
# Corresponds to the JSON property `name`
|
824
|
-
# @return [String]
|
825
|
-
attr_accessor :name
|
826
|
-
|
827
|
-
def initialize(**args)
|
828
|
-
update!(**args)
|
829
|
-
end
|
830
|
-
|
831
|
-
# Update properties of this object
|
832
|
-
def update!(**args)
|
833
|
-
@purpose = args[:purpose] if args.key?(:purpose)
|
834
|
-
@next_rotation_time = args[:next_rotation_time] if args.key?(:next_rotation_time)
|
835
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
836
|
-
@rotation_period = args[:rotation_period] if args.key?(:rotation_period)
|
837
|
-
@primary = args[:primary] if args.key?(:primary)
|
838
|
-
@name = args[:name] if args.key?(:name)
|
720
|
+
@not_in = args[:not_in] if args.key?(:not_in)
|
839
721
|
end
|
840
722
|
end
|
841
723
|
|
@@ -874,6 +756,15 @@ module Google
|
|
874
756
|
class SetIamPolicyRequest
|
875
757
|
include Google::Apis::Core::Hashable
|
876
758
|
|
759
|
+
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
760
|
+
# the fields in the mask will be modified. If no mask is provided, the
|
761
|
+
# following default mask is used:
|
762
|
+
# paths: "bindings, etag"
|
763
|
+
# This field is only used by Cloud IAM.
|
764
|
+
# Corresponds to the JSON property `updateMask`
|
765
|
+
# @return [String]
|
766
|
+
attr_accessor :update_mask
|
767
|
+
|
877
768
|
# Defines an Identity and Access Management (IAM) policy. It is used to
|
878
769
|
# specify access control policies for Cloud Platform resources.
|
879
770
|
# A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
|
@@ -904,23 +795,14 @@ module Google
|
|
904
795
|
# @return [Google::Apis::CloudkmsV1::Policy]
|
905
796
|
attr_accessor :policy
|
906
797
|
|
907
|
-
# OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only
|
908
|
-
# the fields in the mask will be modified. If no mask is provided, the
|
909
|
-
# following default mask is used:
|
910
|
-
# paths: "bindings, etag"
|
911
|
-
# This field is only used by Cloud IAM.
|
912
|
-
# Corresponds to the JSON property `updateMask`
|
913
|
-
# @return [String]
|
914
|
-
attr_accessor :update_mask
|
915
|
-
|
916
798
|
def initialize(**args)
|
917
799
|
update!(**args)
|
918
800
|
end
|
919
801
|
|
920
802
|
# Update properties of this object
|
921
803
|
def update!(**args)
|
922
|
-
@policy = args[:policy] if args.key?(:policy)
|
923
804
|
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
805
|
+
@policy = args[:policy] if args.key?(:policy)
|
924
806
|
end
|
925
807
|
end
|
926
808
|
|
@@ -1024,6 +906,124 @@ module Google
|
|
1024
906
|
@total_size = args[:total_size] if args.key?(:total_size)
|
1025
907
|
end
|
1026
908
|
end
|
909
|
+
|
910
|
+
# A condition to be met.
|
911
|
+
class Condition
|
912
|
+
include Google::Apis::Core::Hashable
|
913
|
+
|
914
|
+
# The objects of the condition. This is mutually exclusive with 'value'.
|
915
|
+
# Corresponds to the JSON property `values`
|
916
|
+
# @return [Array<String>]
|
917
|
+
attr_accessor :values
|
918
|
+
|
919
|
+
# Trusted attributes supplied by the IAM system.
|
920
|
+
# Corresponds to the JSON property `iam`
|
921
|
+
# @return [String]
|
922
|
+
attr_accessor :iam
|
923
|
+
|
924
|
+
# An operator to apply the subject with.
|
925
|
+
# Corresponds to the JSON property `op`
|
926
|
+
# @return [String]
|
927
|
+
attr_accessor :op
|
928
|
+
|
929
|
+
# Trusted attributes discharged by the service.
|
930
|
+
# Corresponds to the JSON property `svc`
|
931
|
+
# @return [String]
|
932
|
+
attr_accessor :svc
|
933
|
+
|
934
|
+
# Trusted attributes supplied by any service that owns resources and uses
|
935
|
+
# the IAM system for access control.
|
936
|
+
# Corresponds to the JSON property `sys`
|
937
|
+
# @return [String]
|
938
|
+
attr_accessor :sys
|
939
|
+
|
940
|
+
# DEPRECATED. Use 'values' instead.
|
941
|
+
# Corresponds to the JSON property `value`
|
942
|
+
# @return [String]
|
943
|
+
attr_accessor :value
|
944
|
+
|
945
|
+
def initialize(**args)
|
946
|
+
update!(**args)
|
947
|
+
end
|
948
|
+
|
949
|
+
# Update properties of this object
|
950
|
+
def update!(**args)
|
951
|
+
@values = args[:values] if args.key?(:values)
|
952
|
+
@iam = args[:iam] if args.key?(:iam)
|
953
|
+
@op = args[:op] if args.key?(:op)
|
954
|
+
@svc = args[:svc] if args.key?(:svc)
|
955
|
+
@sys = args[:sys] if args.key?(:sys)
|
956
|
+
@value = args[:value] if args.key?(:value)
|
957
|
+
end
|
958
|
+
end
|
959
|
+
|
960
|
+
# Options for counters
|
961
|
+
class CounterOptions
|
962
|
+
include Google::Apis::Core::Hashable
|
963
|
+
|
964
|
+
# The metric to update.
|
965
|
+
# Corresponds to the JSON property `metric`
|
966
|
+
# @return [String]
|
967
|
+
attr_accessor :metric
|
968
|
+
|
969
|
+
# The field value to attribute.
|
970
|
+
# Corresponds to the JSON property `field`
|
971
|
+
# @return [String]
|
972
|
+
attr_accessor :field
|
973
|
+
|
974
|
+
def initialize(**args)
|
975
|
+
update!(**args)
|
976
|
+
end
|
977
|
+
|
978
|
+
# Update properties of this object
|
979
|
+
def update!(**args)
|
980
|
+
@metric = args[:metric] if args.key?(:metric)
|
981
|
+
@field = args[:field] if args.key?(:field)
|
982
|
+
end
|
983
|
+
end
|
984
|
+
|
985
|
+
# Provides the configuration for logging a type of permissions.
|
986
|
+
# Example:
|
987
|
+
# `
|
988
|
+
# "audit_log_configs": [
|
989
|
+
# `
|
990
|
+
# "log_type": "DATA_READ",
|
991
|
+
# "exempted_members": [
|
992
|
+
# "user:foo@gmail.com"
|
993
|
+
# ]
|
994
|
+
# `,
|
995
|
+
# `
|
996
|
+
# "log_type": "DATA_WRITE",
|
997
|
+
# `
|
998
|
+
# ]
|
999
|
+
# `
|
1000
|
+
# This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting
|
1001
|
+
# foo@gmail.com from DATA_READ logging.
|
1002
|
+
class AuditLogConfig
|
1003
|
+
include Google::Apis::Core::Hashable
|
1004
|
+
|
1005
|
+
# Specifies the identities that do not cause logging for this type of
|
1006
|
+
# permission.
|
1007
|
+
# Follows the same format of Binding.members.
|
1008
|
+
# Corresponds to the JSON property `exemptedMembers`
|
1009
|
+
# @return [Array<String>]
|
1010
|
+
attr_accessor :exempted_members
|
1011
|
+
|
1012
|
+
# The log type that this config enables.
|
1013
|
+
# Corresponds to the JSON property `logType`
|
1014
|
+
# @return [String]
|
1015
|
+
attr_accessor :log_type
|
1016
|
+
|
1017
|
+
def initialize(**args)
|
1018
|
+
update!(**args)
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
# Update properties of this object
|
1022
|
+
def update!(**args)
|
1023
|
+
@exempted_members = args[:exempted_members] if args.key?(:exempted_members)
|
1024
|
+
@log_type = args[:log_type] if args.key?(:log_type)
|
1025
|
+
end
|
1026
|
+
end
|
1027
1027
|
end
|
1028
1028
|
end
|
1029
1029
|
end
|