google-api-client 0.20.1 → 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +140 -0
- data/README.md +3 -12
- data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
- data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
- data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
- data/generated/google/apis/adexchangeseller_v1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
- data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
- data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
- data/generated/google/apis/adexperiencereport_v1.rb +2 -2
- data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
- data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
- data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
- data/generated/google/apis/admin_directory_v1.rb +3 -3
- data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
- data/generated/google/apis/admin_directory_v1/service.rb +363 -577
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +21 -35
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +117 -195
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
- data/generated/google/apis/analytics_v2_4.rb +1 -1
- data/generated/google/apis/analytics_v2_4/service.rb +21 -35
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +32 -60
- data/generated/google/apis/analytics_v3/representations.rb +8 -12
- data/generated/google/apis/analytics_v3/service.rb +261 -435
- data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
- data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -1
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
- data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
- data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
- data/generated/google/apis/androidpublisher_v1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
- data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +255 -286
- data/generated/google/apis/androidpublisher_v3.rb +34 -0
- data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
- data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
- data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +6 -10
- data/generated/google/apis/appsmarket_v2/service.rb +12 -20
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +18 -30
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +67 -9
- data/generated/google/apis/bigquery_v2/representations.rb +22 -0
- data/generated/google/apis/bigquery_v2/service.rb +69 -115
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
- data/generated/google/apis/blogger_v2/service.rb +30 -50
- data/generated/google/apis/blogger_v3/service.rb +102 -170
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/service.rb +156 -260
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/service.rb +114 -190
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +6 -0
- data/generated/google/apis/chat_v1/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +18 -30
- data/generated/google/apis/classroom_v1.rb +1 -1
- data/generated/google/apis/classroom_v1/classes.rb +0 -69
- data/generated/google/apis/classroom_v1/representations.rb +0 -31
- data/generated/google/apis/classroom_v1/service.rb +0 -88
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
- data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
- data/generated/google/apis/cloudfunctions_v1.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
- data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
- data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
- data/generated/google/apis/cloudiot_v1/service.rb +398 -1
- data/generated/google/apis/cloudkms_v1.rb +2 -2
- data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
- data/generated/google/apis/cloudkms_v1/service.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +30 -8
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
- data/generated/google/apis/cloudtrace_v1.rb +1 -1
- data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
- data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
- data/generated/google/apis/composer_v1beta1/classes.rb +643 -0
- data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
- data/generated/google/apis/composer_v1beta1/service.rb +462 -0
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +3939 -2239
- data/generated/google/apis/compute_alpha/representations.rb +1063 -335
- data/generated/google/apis/compute_alpha/service.rb +3532 -3368
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +150 -53
- data/generated/google/apis/compute_beta/representations.rb +23 -0
- data/generated/google/apis/compute_beta/service.rb +1269 -2077
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +46 -43
- data/generated/google/apis/compute_v1/service.rb +1022 -1666
- data/generated/google/apis/container_v1.rb +2 -2
- data/generated/google/apis/container_v1/classes.rb +20 -15
- data/generated/google/apis/container_v1/representations.rb +1 -0
- data/generated/google/apis/container_v1/service.rb +33 -31
- data/generated/google/apis/container_v1beta1.rb +2 -2
- data/generated/google/apis/container_v1beta1/classes.rb +186 -14
- data/generated/google/apis/container_v1beta1/representations.rb +77 -0
- data/generated/google/apis/container_v1beta1/service.rb +111 -31
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +173 -8
- data/generated/google/apis/content_v2/representations.rb +71 -0
- data/generated/google/apis/content_v2/service.rb +246 -410
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
- data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
- data/generated/google/apis/content_v2sandbox/service.rb +63 -105
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +9 -15
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
- data/generated/google/apis/dataproc_v1.rb +2 -2
- data/generated/google/apis/dataproc_v1/classes.rb +6 -6
- data/generated/google/apis/dataproc_v1/service.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2.rb +2 -2
- data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
- data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
- data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
- data/generated/google/apis/datastore_v1.rb +2 -2
- data/generated/google/apis/datastore_v1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta1.rb +2 -2
- data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
- data/generated/google/apis/datastore_v1beta3.rb +2 -2
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
- data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
- data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
- data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
- data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
- data/generated/google/apis/dfareporting_v2_8/service.rb +618 -1030
- data/generated/google/apis/dfareporting_v3_0/service.rb +615 -1025
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
- data/generated/google/apis/discovery_v1/service.rb +9 -15
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +116 -1572
- data/generated/google/apis/dlp_v2/representations.rb +673 -1405
- data/generated/google/apis/dlp_v2/service.rb +24 -24
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +7 -0
- data/generated/google/apis/dns_v1/representations.rb +1 -0
- data/generated/google/apis/dns_v1/service.rb +49 -81
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
- data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
- data/generated/google/apis/dns_v1beta2/service.rb +49 -81
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
- data/generated/google/apis/dns_v2beta1/service.rb +49 -81
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +205 -341
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/service.rb +120 -200
- data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
- data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +2 -2
- data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +45 -75
- data/generated/google/apis/fusiontables_v1.rb +1 -1
- data/generated/google/apis/fusiontables_v1/service.rb +99 -165
- data/generated/google/apis/fusiontables_v2/service.rb +105 -175
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/service.rb +84 -140
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/service.rb +162 -270
- data/generated/google/apis/genomics_v1.rb +1 -1
- data/generated/google/apis/genomics_v1/classes.rb +41 -7
- data/generated/google/apis/genomics_v1/representations.rb +1 -0
- data/generated/google/apis/genomics_v1alpha2.rb +1 -1
- data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
- data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
- data/generated/google/apis/genomics_v2alpha1.rb +1 -1
- data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
- data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
- data/generated/google/apis/gmail_v1/service.rb +189 -315
- data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
- data/generated/google/apis/groupssettings_v1/service.rb +12 -20
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +29 -7
- data/generated/google/apis/iam_v1/service.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
- data/generated/google/apis/jobs_v2.rb +38 -0
- data/generated/google/apis/jobs_v2/classes.rb +3378 -0
- data/generated/google/apis/jobs_v2/representations.rb +1067 -0
- data/generated/google/apis/jobs_v2/service.rb +754 -0
- data/generated/google/apis/licensing_v1/service.rb +24 -40
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +55 -5
- data/generated/google/apis/logging_v2/representations.rb +16 -0
- data/generated/google/apis/logging_v2/service.rb +6 -4
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
- data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
- data/generated/google/apis/logging_v2beta1/service.rb +6 -4
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +75 -125
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +65 -28
- data/generated/google/apis/ml_v1/representations.rb +1 -0
- data/generated/google/apis/ml_v1/service.rb +2 -2
- data/generated/google/apis/oauth2_v1.rb +1 -1
- data/generated/google/apis/oauth2_v1/service.rb +27 -45
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +15 -25
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha.rb +1 -1
- data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
- data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
- data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
- data/generated/google/apis/oslogin_v1beta.rb +1 -1
- data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
- data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
- data/generated/google/apis/pagespeedonline_v1.rb +1 -1
- data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
- data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
- data/generated/google/apis/photoslibrary_v1.rb +49 -0
- data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
- data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
- data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
- data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/service.rb +63 -105
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/service.rb +30 -50
- data/generated/google/apis/pubsub_v1.rb +2 -2
- data/generated/google/apis/pubsub_v1/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
- data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2.rb +2 -2
- data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
- data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
- data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
- data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
- data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
- data/generated/google/apis/redis_v1beta1/service.rb +426 -0
- data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
- data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
- data/generated/google/apis/reseller_v1/service.rb +54 -90
- data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
- data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
- data/generated/google/apis/runtimeconfig_v1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
- data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
- data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +28 -6
- data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
- data/generated/google/apis/script_v1.rb +8 -2
- data/generated/google/apis/script_v1/classes.rb +3 -3
- data/generated/google/apis/script_v1/service.rb +8 -2
- data/generated/google/apis/servicebroker_v1.rb +36 -0
- data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
- data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
- data/generated/google/apis/servicebroker_v1/service.rb +168 -0
- data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
- data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
- data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
- data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
- data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
- data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
- data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
- data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
- data/generated/google/apis/servicecontrol_v1.rb +2 -2
- data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
- data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
- data/generated/google/apis/servicemanagement_v1.rb +2 -2
- data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
- data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +421 -0
- data/generated/google/apis/sheets_v4/representations.rb +120 -0
- data/generated/google/apis/site_verification_v1/service.rb +24 -40
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +6 -2
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +39 -12
- data/generated/google/apis/spanner_v1/service.rb +2 -2
- data/generated/google/apis/spectrum_v1explorer.rb +1 -1
- data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +12 -0
- data/generated/google/apis/speech_v1/representations.rb +1 -0
- data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
- data/generated/google/apis/sqladmin_v1beta4/service.rb +126 -210
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +3 -6
- data/generated/google/apis/storage_v1/service.rb +144 -240
- data/generated/google/apis/storage_v1beta1.rb +1 -1
- data/generated/google/apis/storage_v1beta1/service.rb +75 -125
- data/generated/google/apis/storage_v1beta2.rb +1 -1
- data/generated/google/apis/storage_v1beta2/service.rb +105 -175
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
- data/generated/google/apis/surveys_v2.rb +1 -1
- data/generated/google/apis/surveys_v2/classes.rb +19 -122
- data/generated/google/apis/surveys_v2/representations.rb +0 -38
- data/generated/google/apis/surveys_v2/service.rb +27 -157
- data/generated/google/apis/tagmanager_v1/service.rb +153 -255
- data/generated/google/apis/tagmanager_v2/service.rb +222 -370
- data/generated/google/apis/tasks_v1/service.rb +45 -75
- data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
- data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/urlshortener_v1/service.rb +12 -20
- data/generated/google/apis/vault_v1.rb +2 -2
- data/generated/google/apis/vault_v1/service.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +34 -0
- data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
- data/generated/google/apis/videointelligence_v1/service.rb +246 -0
- data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
- data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
- data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1441 -62
- data/generated/google/apis/vision_v1/representations.rb +582 -0
- data/generated/google/apis/vision_v1p1beta1.rb +1 -1
- data/generated/google/apis/vision_v1p1beta1/classes.rb +1441 -62
- data/generated/google/apis/vision_v1p1beta1/representations.rb +582 -0
- data/generated/google/apis/vision_v1p2beta1.rb +1 -1
- data/generated/google/apis/vision_v1p2beta1/classes.rb +63 -3
- data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
- data/generated/google/apis/webfonts_v1/service.rb +6 -10
- data/generated/google/apis/webmasters_v3/service.rb +42 -70
- data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
- data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
- data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
- data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
- data/generated/google/apis/youtube_analytics_v2.rb +46 -0
- data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
- data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
- data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +0 -168
- data/generated/google/apis/youtube_v3/representations.rb +0 -62
- data/generated/google/apis/youtube_v3/service.rb +216 -415
- data/lib/google/apis/generator/helpers.rb +3 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +50 -38
- data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
- data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
- data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
- data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
- data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
- data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
- data/generated/google/apis/prediction_v1_2.rb +0 -44
- data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
- data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
- data/generated/google/apis/prediction_v1_2/service.rb +0 -287
- data/generated/google/apis/prediction_v1_3.rb +0 -44
- data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
- data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
- data/generated/google/apis/prediction_v1_3/service.rb +0 -284
- data/generated/google/apis/prediction_v1_4.rb +0 -44
- data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
- data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
- data/generated/google/apis/prediction_v1_4/service.rb +0 -284
- data/generated/google/apis/prediction_v1_5.rb +0 -44
- data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
- data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
- data/generated/google/apis/prediction_v1_5/service.rb +0 -357
- data/generated/google/apis/prediction_v1_6.rb +0 -47
- data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
- data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
- data/generated/google/apis/prediction_v1_6/service.rb +0 -381
- data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
- data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
- data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
- data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
- data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
- data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
- data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -0,0 +1,96 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ServicebrokerV1
|
24
|
+
|
25
|
+
class GoogleIamV1Binding
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
27
|
+
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
29
|
+
end
|
30
|
+
|
31
|
+
class GoogleIamV1Policy
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class GoogleIamV1SetIamPolicyRequest
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
43
|
+
class GoogleIamV1TestIamPermissionsRequest
|
44
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
45
|
+
|
46
|
+
include Google::Apis::Core::JsonObjectSupport
|
47
|
+
end
|
48
|
+
|
49
|
+
class GoogleIamV1TestIamPermissionsResponse
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class GoogleIamV1Binding
|
56
|
+
# @private
|
57
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
58
|
+
collection :members, as: 'members'
|
59
|
+
property :role, as: 'role'
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
class GoogleIamV1Policy
|
64
|
+
# @private
|
65
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
66
|
+
collection :bindings, as: 'bindings', class: Google::Apis::ServicebrokerV1::GoogleIamV1Binding, decorator: Google::Apis::ServicebrokerV1::GoogleIamV1Binding::Representation
|
67
|
+
|
68
|
+
property :etag, :base64 => true, as: 'etag'
|
69
|
+
property :version, as: 'version'
|
70
|
+
end
|
71
|
+
end
|
72
|
+
|
73
|
+
class GoogleIamV1SetIamPolicyRequest
|
74
|
+
# @private
|
75
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
76
|
+
property :policy, as: 'policy', class: Google::Apis::ServicebrokerV1::GoogleIamV1Policy, decorator: Google::Apis::ServicebrokerV1::GoogleIamV1Policy::Representation
|
77
|
+
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
class GoogleIamV1TestIamPermissionsRequest
|
82
|
+
# @private
|
83
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
84
|
+
collection :permissions, as: 'permissions'
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
class GoogleIamV1TestIamPermissionsResponse
|
89
|
+
# @private
|
90
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
91
|
+
collection :permissions, as: 'permissions'
|
92
|
+
end
|
93
|
+
end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
end
|
@@ -0,0 +1,168 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/core/base_service'
|
16
|
+
require 'google/apis/core/json_representation'
|
17
|
+
require 'google/apis/core/hashable'
|
18
|
+
require 'google/apis/errors'
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Apis
|
22
|
+
module ServicebrokerV1
|
23
|
+
# Service Broker API
|
24
|
+
#
|
25
|
+
# The Google Cloud Platform Service Broker API provides Google hosted
|
26
|
+
# implementation of the Open Service Broker API
|
27
|
+
# (https://www.openservicebrokerapi.org/).
|
28
|
+
#
|
29
|
+
# @example
|
30
|
+
# require 'google/apis/servicebroker_v1'
|
31
|
+
#
|
32
|
+
# Servicebroker = Google::Apis::ServicebrokerV1 # Alias the module
|
33
|
+
# service = Servicebroker::ServiceBrokerService.new
|
34
|
+
#
|
35
|
+
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
36
|
+
class ServiceBrokerService < Google::Apis::Core::BaseService
|
37
|
+
# @return [String]
|
38
|
+
# API key. Your API key identifies your project and provides you with API access,
|
39
|
+
# quota, and reports. Required unless you provide an OAuth 2.0 token.
|
40
|
+
attr_accessor :key
|
41
|
+
|
42
|
+
# @return [String]
|
43
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
44
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
45
|
+
attr_accessor :quota_user
|
46
|
+
|
47
|
+
def initialize
|
48
|
+
super('https://servicebroker.googleapis.com/', '')
|
49
|
+
@batch_path = 'batch'
|
50
|
+
end
|
51
|
+
|
52
|
+
# Gets the access control policy for a resource.
|
53
|
+
# Returns an empty policy if the resource exists and does not have a policy
|
54
|
+
# set.
|
55
|
+
# @param [String] resource
|
56
|
+
# REQUIRED: The resource for which the policy is being requested.
|
57
|
+
# See the operation documentation for the appropriate value for this field.
|
58
|
+
# @param [String] fields
|
59
|
+
# Selector specifying which fields to include in a partial response.
|
60
|
+
# @param [String] quota_user
|
61
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
62
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
63
|
+
# @param [Google::Apis::RequestOptions] options
|
64
|
+
# Request-specific options
|
65
|
+
#
|
66
|
+
# @yield [result, err] Result & error if block supplied
|
67
|
+
# @yieldparam result [Google::Apis::ServicebrokerV1::GoogleIamV1Policy] parsed result object
|
68
|
+
# @yieldparam err [StandardError] error object if request failed
|
69
|
+
#
|
70
|
+
# @return [Google::Apis::ServicebrokerV1::GoogleIamV1Policy]
|
71
|
+
#
|
72
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
73
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
74
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
75
|
+
def get_iam_policy(resource, fields: nil, quota_user: nil, options: nil, &block)
|
76
|
+
command = make_simple_command(:get, 'v1/{+resource}:getIamPolicy', options)
|
77
|
+
command.response_representation = Google::Apis::ServicebrokerV1::GoogleIamV1Policy::Representation
|
78
|
+
command.response_class = Google::Apis::ServicebrokerV1::GoogleIamV1Policy
|
79
|
+
command.params['resource'] = resource unless resource.nil?
|
80
|
+
command.query['fields'] = fields unless fields.nil?
|
81
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
82
|
+
execute_or_queue_command(command, &block)
|
83
|
+
end
|
84
|
+
|
85
|
+
# Sets the access control policy on the specified resource. Replaces any
|
86
|
+
# existing policy.
|
87
|
+
# @param [String] resource
|
88
|
+
# REQUIRED: The resource for which the policy is being specified.
|
89
|
+
# See the operation documentation for the appropriate value for this field.
|
90
|
+
# @param [Google::Apis::ServicebrokerV1::GoogleIamV1SetIamPolicyRequest] google_iam_v1__set_iam_policy_request_object
|
91
|
+
# @param [String] fields
|
92
|
+
# Selector specifying which fields to include in a partial response.
|
93
|
+
# @param [String] quota_user
|
94
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
95
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
96
|
+
# @param [Google::Apis::RequestOptions] options
|
97
|
+
# Request-specific options
|
98
|
+
#
|
99
|
+
# @yield [result, err] Result & error if block supplied
|
100
|
+
# @yieldparam result [Google::Apis::ServicebrokerV1::GoogleIamV1Policy] parsed result object
|
101
|
+
# @yieldparam err [StandardError] error object if request failed
|
102
|
+
#
|
103
|
+
# @return [Google::Apis::ServicebrokerV1::GoogleIamV1Policy]
|
104
|
+
#
|
105
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
106
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
107
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
108
|
+
def set_iam_policy(resource, google_iam_v1__set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
109
|
+
command = make_simple_command(:post, 'v1/{+resource}:setIamPolicy', options)
|
110
|
+
command.request_representation = Google::Apis::ServicebrokerV1::GoogleIamV1SetIamPolicyRequest::Representation
|
111
|
+
command.request_object = google_iam_v1__set_iam_policy_request_object
|
112
|
+
command.response_representation = Google::Apis::ServicebrokerV1::GoogleIamV1Policy::Representation
|
113
|
+
command.response_class = Google::Apis::ServicebrokerV1::GoogleIamV1Policy
|
114
|
+
command.params['resource'] = resource unless resource.nil?
|
115
|
+
command.query['fields'] = fields unless fields.nil?
|
116
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
117
|
+
execute_or_queue_command(command, &block)
|
118
|
+
end
|
119
|
+
|
120
|
+
# Returns permissions that a caller has on the specified resource.
|
121
|
+
# If the resource does not exist, this will return an empty set of
|
122
|
+
# permissions, not a NOT_FOUND error.
|
123
|
+
# Note: This operation is designed to be used for building permission-aware
|
124
|
+
# UIs and command-line tools, not for authorization checking. This operation
|
125
|
+
# may "fail open" without warning.
|
126
|
+
# @param [String] resource
|
127
|
+
# REQUIRED: The resource for which the policy detail is being requested.
|
128
|
+
# See the operation documentation for the appropriate value for this field.
|
129
|
+
# @param [Google::Apis::ServicebrokerV1::GoogleIamV1TestIamPermissionsRequest] google_iam_v1__test_iam_permissions_request_object
|
130
|
+
# @param [String] fields
|
131
|
+
# Selector specifying which fields to include in a partial response.
|
132
|
+
# @param [String] quota_user
|
133
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
134
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
135
|
+
# @param [Google::Apis::RequestOptions] options
|
136
|
+
# Request-specific options
|
137
|
+
#
|
138
|
+
# @yield [result, err] Result & error if block supplied
|
139
|
+
# @yieldparam result [Google::Apis::ServicebrokerV1::GoogleIamV1TestIamPermissionsResponse] parsed result object
|
140
|
+
# @yieldparam err [StandardError] error object if request failed
|
141
|
+
#
|
142
|
+
# @return [Google::Apis::ServicebrokerV1::GoogleIamV1TestIamPermissionsResponse]
|
143
|
+
#
|
144
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
145
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
146
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
147
|
+
def test_iam_permissions(resource, google_iam_v1__test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
148
|
+
command = make_simple_command(:post, 'v1/{+resource}:testIamPermissions', options)
|
149
|
+
command.request_representation = Google::Apis::ServicebrokerV1::GoogleIamV1TestIamPermissionsRequest::Representation
|
150
|
+
command.request_object = google_iam_v1__test_iam_permissions_request_object
|
151
|
+
command.response_representation = Google::Apis::ServicebrokerV1::GoogleIamV1TestIamPermissionsResponse::Representation
|
152
|
+
command.response_class = Google::Apis::ServicebrokerV1::GoogleIamV1TestIamPermissionsResponse
|
153
|
+
command.params['resource'] = resource unless resource.nil?
|
154
|
+
command.query['fields'] = fields unless fields.nil?
|
155
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
156
|
+
execute_or_queue_command(command, &block)
|
157
|
+
end
|
158
|
+
|
159
|
+
protected
|
160
|
+
|
161
|
+
def apply_command_defaults(command)
|
162
|
+
command.query['key'] = key unless key.nil?
|
163
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
168
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'google/apis/servicebroker_v1alpha1/service.rb'
|
16
|
+
require 'google/apis/servicebroker_v1alpha1/classes.rb'
|
17
|
+
require 'google/apis/servicebroker_v1alpha1/representations.rb'
|
18
|
+
|
19
|
+
module Google
|
20
|
+
module Apis
|
21
|
+
# Service Broker API
|
22
|
+
#
|
23
|
+
# The Google Cloud Platform Service Broker API provides Google hosted
|
24
|
+
# implementation of the Open Service Broker API
|
25
|
+
# (https://www.openservicebrokerapi.org/).
|
26
|
+
#
|
27
|
+
# @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
|
28
|
+
module ServicebrokerV1alpha1
|
29
|
+
VERSION = 'V1alpha1'
|
30
|
+
REVISION = '20180427'
|
31
|
+
|
32
|
+
# View and manage your data across Google Cloud Platform services
|
33
|
+
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,939 @@
|
|
1
|
+
# Copyright 2015 Google Inc.
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
require 'date'
|
16
|
+
require 'google/apis/core/base_service'
|
17
|
+
require 'google/apis/core/json_representation'
|
18
|
+
require 'google/apis/core/hashable'
|
19
|
+
require 'google/apis/errors'
|
20
|
+
|
21
|
+
module Google
|
22
|
+
module Apis
|
23
|
+
module ServicebrokerV1alpha1
|
24
|
+
|
25
|
+
# Describes the binding.
|
26
|
+
class GoogleCloudServicebrokerV1alpha1Binding
|
27
|
+
include Google::Apis::Core::Hashable
|
28
|
+
|
29
|
+
# A JSON object that contains data for platform resources associated with
|
30
|
+
# the binding to be created.
|
31
|
+
# Corresponds to the JSON property `bind_resource`
|
32
|
+
# @return [Hash<String,Object>]
|
33
|
+
attr_accessor :bind_resource
|
34
|
+
|
35
|
+
# The id of the binding. Must be unique within GCP project.
|
36
|
+
# Maximum length is 64, GUID recommended.
|
37
|
+
# Required.
|
38
|
+
# Corresponds to the JSON property `binding_id`
|
39
|
+
# @return [String]
|
40
|
+
attr_accessor :binding_id
|
41
|
+
|
42
|
+
# Output only.
|
43
|
+
# Timestamp for when the binding was created.
|
44
|
+
# Corresponds to the JSON property `createTime`
|
45
|
+
# @return [String]
|
46
|
+
attr_accessor :create_time
|
47
|
+
|
48
|
+
# Configuration options for the service binding.
|
49
|
+
# Corresponds to the JSON property `parameters`
|
50
|
+
# @return [Hash<String,Object>]
|
51
|
+
attr_accessor :parameters
|
52
|
+
|
53
|
+
# The ID of the plan. See `Service` and `Plan` resources for details.
|
54
|
+
# Maximum length is 64, GUID recommended.
|
55
|
+
# Required.
|
56
|
+
# Corresponds to the JSON property `plan_id`
|
57
|
+
# @return [String]
|
58
|
+
attr_accessor :plan_id
|
59
|
+
|
60
|
+
# The id of the service. Must be a valid identifier of a service
|
61
|
+
# contained in the list from a `ListServices()` call.
|
62
|
+
# Maximum length is 64, GUID recommended.
|
63
|
+
# Required.
|
64
|
+
# Corresponds to the JSON property `service_id`
|
65
|
+
# @return [String]
|
66
|
+
attr_accessor :service_id
|
67
|
+
|
68
|
+
def initialize(**args)
|
69
|
+
update!(**args)
|
70
|
+
end
|
71
|
+
|
72
|
+
# Update properties of this object
|
73
|
+
def update!(**args)
|
74
|
+
@bind_resource = args[:bind_resource] if args.key?(:bind_resource)
|
75
|
+
@binding_id = args[:binding_id] if args.key?(:binding_id)
|
76
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
77
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
78
|
+
@plan_id = args[:plan_id] if args.key?(:plan_id)
|
79
|
+
@service_id = args[:service_id] if args.key?(:service_id)
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# Response for the `CreateBinding()` method.
|
84
|
+
class GoogleCloudServicebrokerV1alpha1CreateBindingResponse
|
85
|
+
include Google::Apis::Core::Hashable
|
86
|
+
|
87
|
+
# Credentials to use the binding.
|
88
|
+
# Corresponds to the JSON property `credentials`
|
89
|
+
# @return [Hash<String,Object>]
|
90
|
+
attr_accessor :credentials
|
91
|
+
|
92
|
+
# Used to communicate description of the response. Usually for non-standard
|
93
|
+
# error codes.
|
94
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
95
|
+
# service-broker-errors
|
96
|
+
# Corresponds to the JSON property `description`
|
97
|
+
# @return [String]
|
98
|
+
attr_accessor :description
|
99
|
+
|
100
|
+
# If broker executes operation asynchronously, this is the operation ID that
|
101
|
+
# can be polled to check the completion status of said operation.
|
102
|
+
# This broker always executes all create/delete operations asynchronously.
|
103
|
+
# Corresponds to the JSON property `operation`
|
104
|
+
# @return [String]
|
105
|
+
attr_accessor :operation
|
106
|
+
|
107
|
+
# A URL to which the platform may proxy requests for the address sent with
|
108
|
+
# bind_resource.route
|
109
|
+
# Corresponds to the JSON property `route_service_url`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :route_service_url
|
112
|
+
|
113
|
+
# From where to read system logs.
|
114
|
+
# Corresponds to the JSON property `syslog_drain_url`
|
115
|
+
# @return [String]
|
116
|
+
attr_accessor :syslog_drain_url
|
117
|
+
|
118
|
+
# An array of configuration for mounting volumes.
|
119
|
+
# Corresponds to the JSON property `volume_mounts`
|
120
|
+
# @return [Array<Hash<String,Object>>]
|
121
|
+
attr_accessor :volume_mounts
|
122
|
+
|
123
|
+
def initialize(**args)
|
124
|
+
update!(**args)
|
125
|
+
end
|
126
|
+
|
127
|
+
# Update properties of this object
|
128
|
+
def update!(**args)
|
129
|
+
@credentials = args[:credentials] if args.key?(:credentials)
|
130
|
+
@description = args[:description] if args.key?(:description)
|
131
|
+
@operation = args[:operation] if args.key?(:operation)
|
132
|
+
@route_service_url = args[:route_service_url] if args.key?(:route_service_url)
|
133
|
+
@syslog_drain_url = args[:syslog_drain_url] if args.key?(:syslog_drain_url)
|
134
|
+
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
# Response for the `CreateServiceInstance()` method.
|
139
|
+
class GoogleCloudServicebrokerV1alpha1CreateServiceInstanceResponse
|
140
|
+
include Google::Apis::Core::Hashable
|
141
|
+
|
142
|
+
# Used to communicate description of the response. Usually for non-standard
|
143
|
+
# error codes.
|
144
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
145
|
+
# service-broker-errors
|
146
|
+
# Corresponds to the JSON property `description`
|
147
|
+
# @return [String]
|
148
|
+
attr_accessor :description
|
149
|
+
|
150
|
+
# If broker executes operation asynchronously, this is the operation ID that
|
151
|
+
# can be polled to check the completion status of said operation.
|
152
|
+
# This broker always will return a non-empty operation on success.
|
153
|
+
# Corresponds to the JSON property `operation`
|
154
|
+
# @return [String]
|
155
|
+
attr_accessor :operation
|
156
|
+
|
157
|
+
def initialize(**args)
|
158
|
+
update!(**args)
|
159
|
+
end
|
160
|
+
|
161
|
+
# Update properties of this object
|
162
|
+
def update!(**args)
|
163
|
+
@description = args[:description] if args.key?(:description)
|
164
|
+
@operation = args[:operation] if args.key?(:operation)
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
# Message containing information required to activate Dashboard SSO feature.
|
169
|
+
class GoogleCloudServicebrokerV1alpha1DashboardClient
|
170
|
+
include Google::Apis::Core::Hashable
|
171
|
+
|
172
|
+
# The id of the Oauth client that the dashboard will use.
|
173
|
+
# Corresponds to the JSON property `id`
|
174
|
+
# @return [String]
|
175
|
+
attr_accessor :id
|
176
|
+
|
177
|
+
# A URI for the service dashboard.
|
178
|
+
# Validated by the OAuth token server when the dashboard requests a token.
|
179
|
+
# Corresponds to the JSON property `redirect_uri`
|
180
|
+
# @return [String]
|
181
|
+
attr_accessor :redirect_uri
|
182
|
+
|
183
|
+
# A secret for the dashboard client.
|
184
|
+
# Corresponds to the JSON property `secret`
|
185
|
+
# @return [String]
|
186
|
+
attr_accessor :secret
|
187
|
+
|
188
|
+
def initialize(**args)
|
189
|
+
update!(**args)
|
190
|
+
end
|
191
|
+
|
192
|
+
# Update properties of this object
|
193
|
+
def update!(**args)
|
194
|
+
@id = args[:id] if args.key?(:id)
|
195
|
+
@redirect_uri = args[:redirect_uri] if args.key?(:redirect_uri)
|
196
|
+
@secret = args[:secret] if args.key?(:secret)
|
197
|
+
end
|
198
|
+
end
|
199
|
+
|
200
|
+
# Response for the `DeleteBinding()` method.
|
201
|
+
class GoogleCloudServicebrokerV1alpha1DeleteBindingResponse
|
202
|
+
include Google::Apis::Core::Hashable
|
203
|
+
|
204
|
+
# Used to communicate description of the response. Usually for non-standard
|
205
|
+
# error codes.
|
206
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
207
|
+
# service-broker-errors
|
208
|
+
# Corresponds to the JSON property `description`
|
209
|
+
# @return [String]
|
210
|
+
attr_accessor :description
|
211
|
+
|
212
|
+
# If broker executes operation asynchronously, this is the operation ID that
|
213
|
+
# can be polled to check the completion status of said operation.
|
214
|
+
# Corresponds to the JSON property `operation`
|
215
|
+
# @return [String]
|
216
|
+
attr_accessor :operation
|
217
|
+
|
218
|
+
def initialize(**args)
|
219
|
+
update!(**args)
|
220
|
+
end
|
221
|
+
|
222
|
+
# Update properties of this object
|
223
|
+
def update!(**args)
|
224
|
+
@description = args[:description] if args.key?(:description)
|
225
|
+
@operation = args[:operation] if args.key?(:operation)
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# Response for the `DeleteServiceInstance()` method.
|
230
|
+
class GoogleCloudServicebrokerV1alpha1DeleteServiceInstanceResponse
|
231
|
+
include Google::Apis::Core::Hashable
|
232
|
+
|
233
|
+
# Used to communicate description of the response. Usually for non-standard
|
234
|
+
# error codes.
|
235
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
236
|
+
# service-broker-errors
|
237
|
+
# Corresponds to the JSON property `description`
|
238
|
+
# @return [String]
|
239
|
+
attr_accessor :description
|
240
|
+
|
241
|
+
# If broker executes operation asynchronously, this is the operation ID that
|
242
|
+
# can be polled to check the completion status of said operation.
|
243
|
+
# Corresponds to the JSON property `operation`
|
244
|
+
# @return [String]
|
245
|
+
attr_accessor :operation
|
246
|
+
|
247
|
+
def initialize(**args)
|
248
|
+
update!(**args)
|
249
|
+
end
|
250
|
+
|
251
|
+
# Update properties of this object
|
252
|
+
def update!(**args)
|
253
|
+
@description = args[:description] if args.key?(:description)
|
254
|
+
@operation = args[:operation] if args.key?(:operation)
|
255
|
+
end
|
256
|
+
end
|
257
|
+
|
258
|
+
# Response for the `GetBinding()` method.
|
259
|
+
class GoogleCloudServicebrokerV1alpha1GetBindingResponse
|
260
|
+
include Google::Apis::Core::Hashable
|
261
|
+
|
262
|
+
# Credentials to use the binding.
|
263
|
+
# Corresponds to the JSON property `credentials`
|
264
|
+
# @return [Hash<String,Object>]
|
265
|
+
attr_accessor :credentials
|
266
|
+
|
267
|
+
# Used to communicate description of the response. Usually for non-standard
|
268
|
+
# error codes.
|
269
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
270
|
+
# service-broker-errors
|
271
|
+
# Corresponds to the JSON property `description`
|
272
|
+
# @return [String]
|
273
|
+
attr_accessor :description
|
274
|
+
|
275
|
+
# A URL to which the platform may proxy requests for the address sent with
|
276
|
+
# bind_resource.route
|
277
|
+
# Corresponds to the JSON property `route_service_url`
|
278
|
+
# @return [String]
|
279
|
+
attr_accessor :route_service_url
|
280
|
+
|
281
|
+
# From where to read system logs.
|
282
|
+
# Corresponds to the JSON property `syslog_drain_url`
|
283
|
+
# @return [String]
|
284
|
+
attr_accessor :syslog_drain_url
|
285
|
+
|
286
|
+
# An array of configuration for mounting volumes.
|
287
|
+
# Corresponds to the JSON property `volume_mounts`
|
288
|
+
# @return [Array<Hash<String,Object>>]
|
289
|
+
attr_accessor :volume_mounts
|
290
|
+
|
291
|
+
def initialize(**args)
|
292
|
+
update!(**args)
|
293
|
+
end
|
294
|
+
|
295
|
+
# Update properties of this object
|
296
|
+
def update!(**args)
|
297
|
+
@credentials = args[:credentials] if args.key?(:credentials)
|
298
|
+
@description = args[:description] if args.key?(:description)
|
299
|
+
@route_service_url = args[:route_service_url] if args.key?(:route_service_url)
|
300
|
+
@syslog_drain_url = args[:syslog_drain_url] if args.key?(:syslog_drain_url)
|
301
|
+
@volume_mounts = args[:volume_mounts] if args.key?(:volume_mounts)
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
# The response for the `ListBindings()` method.
|
306
|
+
class GoogleCloudServicebrokerV1alpha1ListBindingsResponse
|
307
|
+
include Google::Apis::Core::Hashable
|
308
|
+
|
309
|
+
# The list of the bindings in the instance.
|
310
|
+
# Corresponds to the JSON property `bindings`
|
311
|
+
# @return [Array<Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Binding>]
|
312
|
+
attr_accessor :bindings
|
313
|
+
|
314
|
+
# Used to communicate description of the response. Usually for non-standard
|
315
|
+
# error codes.
|
316
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
317
|
+
# service-broker-errors
|
318
|
+
# Corresponds to the JSON property `description`
|
319
|
+
# @return [String]
|
320
|
+
attr_accessor :description
|
321
|
+
|
322
|
+
# This token allows you to get the next page of results for list requests.
|
323
|
+
# If the number of results is larger than `pageSize`, use the `nextPageToken`
|
324
|
+
# as a value for the query parameter `pageToken` in the next list request.
|
325
|
+
# Subsequent list requests will have their own `nextPageToken` to continue
|
326
|
+
# paging through the results
|
327
|
+
# Corresponds to the JSON property `nextPageToken`
|
328
|
+
# @return [String]
|
329
|
+
attr_accessor :next_page_token
|
330
|
+
|
331
|
+
def initialize(**args)
|
332
|
+
update!(**args)
|
333
|
+
end
|
334
|
+
|
335
|
+
# Update properties of this object
|
336
|
+
def update!(**args)
|
337
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
338
|
+
@description = args[:description] if args.key?(:description)
|
339
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
340
|
+
end
|
341
|
+
end
|
342
|
+
|
343
|
+
# Response message for the `ListCatalog()` method.
|
344
|
+
class GoogleCloudServicebrokerV1alpha1ListCatalogResponse
|
345
|
+
include Google::Apis::Core::Hashable
|
346
|
+
|
347
|
+
# Used to communicate description of the response. Usually for non-standard
|
348
|
+
# error codes.
|
349
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
350
|
+
# service-broker-errors
|
351
|
+
# Corresponds to the JSON property `description`
|
352
|
+
# @return [String]
|
353
|
+
attr_accessor :description
|
354
|
+
|
355
|
+
# This token allows you to get the next page of results for list requests.
|
356
|
+
# If the number of results is larger than `pageSize`, use the `nextPageToken`
|
357
|
+
# as a value for the query parameter `pageToken` in the next list request.
|
358
|
+
# Subsequent list requests will have their own `nextPageToken` to continue
|
359
|
+
# paging through the results
|
360
|
+
# Corresponds to the JSON property `nextPageToken`
|
361
|
+
# @return [String]
|
362
|
+
attr_accessor :next_page_token
|
363
|
+
|
364
|
+
# The services available for the requested GCP project.
|
365
|
+
# Corresponds to the JSON property `services`
|
366
|
+
# @return [Array<Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Service>]
|
367
|
+
attr_accessor :services
|
368
|
+
|
369
|
+
def initialize(**args)
|
370
|
+
update!(**args)
|
371
|
+
end
|
372
|
+
|
373
|
+
# Update properties of this object
|
374
|
+
def update!(**args)
|
375
|
+
@description = args[:description] if args.key?(:description)
|
376
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
377
|
+
@services = args[:services] if args.key?(:services)
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# The response for the `ListServiceInstances()` method.
|
382
|
+
class GoogleCloudServicebrokerV1alpha1ListServiceInstancesResponse
|
383
|
+
include Google::Apis::Core::Hashable
|
384
|
+
|
385
|
+
# Used to communicate description of the response. Usually for non-standard
|
386
|
+
# error codes.
|
387
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
388
|
+
# service-broker-errors
|
389
|
+
# Corresponds to the JSON property `description`
|
390
|
+
# @return [String]
|
391
|
+
attr_accessor :description
|
392
|
+
|
393
|
+
# The list of the instances in the broker.
|
394
|
+
# Corresponds to the JSON property `instances`
|
395
|
+
# @return [Array<Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1ServiceInstance>]
|
396
|
+
attr_accessor :instances
|
397
|
+
|
398
|
+
# This token allows you to get the next page of results for list requests.
|
399
|
+
# If the number of results is larger than `pageSize`, use the `nextPageToken`
|
400
|
+
# as a value for the query parameter `pageToken` in the next list request.
|
401
|
+
# Subsequent list requests will have their own `nextPageToken` to continue
|
402
|
+
# paging through the results
|
403
|
+
# Corresponds to the JSON property `nextPageToken`
|
404
|
+
# @return [String]
|
405
|
+
attr_accessor :next_page_token
|
406
|
+
|
407
|
+
def initialize(**args)
|
408
|
+
update!(**args)
|
409
|
+
end
|
410
|
+
|
411
|
+
# Update properties of this object
|
412
|
+
def update!(**args)
|
413
|
+
@description = args[:description] if args.key?(:description)
|
414
|
+
@instances = args[:instances] if args.key?(:instances)
|
415
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
416
|
+
end
|
417
|
+
end
|
418
|
+
|
419
|
+
# Describes a long running operation, which conforms to OpenService API.
|
420
|
+
class GoogleCloudServicebrokerV1alpha1Operation
|
421
|
+
include Google::Apis::Core::Hashable
|
422
|
+
|
423
|
+
# Optional description of the Operation state.
|
424
|
+
# Corresponds to the JSON property `description`
|
425
|
+
# @return [String]
|
426
|
+
attr_accessor :description
|
427
|
+
|
428
|
+
# The state of the operation.
|
429
|
+
# Valid values are: "in progress", "succeeded", and "failed".
|
430
|
+
# Corresponds to the JSON property `state`
|
431
|
+
# @return [String]
|
432
|
+
attr_accessor :state
|
433
|
+
|
434
|
+
def initialize(**args)
|
435
|
+
update!(**args)
|
436
|
+
end
|
437
|
+
|
438
|
+
# Update properties of this object
|
439
|
+
def update!(**args)
|
440
|
+
@description = args[:description] if args.key?(:description)
|
441
|
+
@state = args[:state] if args.key?(:state)
|
442
|
+
end
|
443
|
+
end
|
444
|
+
|
445
|
+
# Plan message describes a Service Plan.
|
446
|
+
class GoogleCloudServicebrokerV1alpha1Plan
|
447
|
+
include Google::Apis::Core::Hashable
|
448
|
+
|
449
|
+
# Specifies whether instances of the service can be bound to applications.
|
450
|
+
# If not specified, `Service.bindable` will be presumed.
|
451
|
+
# Corresponds to the JSON property `bindable`
|
452
|
+
# @return [Boolean]
|
453
|
+
attr_accessor :bindable
|
454
|
+
alias_method :bindable?, :bindable
|
455
|
+
|
456
|
+
# Textual description of the plan. Optional.
|
457
|
+
# Corresponds to the JSON property `description`
|
458
|
+
# @return [String]
|
459
|
+
attr_accessor :description
|
460
|
+
|
461
|
+
# Whether the service is free.
|
462
|
+
# Corresponds to the JSON property `free`
|
463
|
+
# @return [Boolean]
|
464
|
+
attr_accessor :free
|
465
|
+
alias_method :free?, :free
|
466
|
+
|
467
|
+
# ID is a globally unique identifier used to uniquely identify the plan.
|
468
|
+
# User must make no presumption about the format of this field.
|
469
|
+
# Corresponds to the JSON property `id`
|
470
|
+
# @return [String]
|
471
|
+
attr_accessor :id
|
472
|
+
|
473
|
+
# A list of metadata for a service offering.
|
474
|
+
# Metadata is an arbitrary JSON object.
|
475
|
+
# Corresponds to the JSON property `metadata`
|
476
|
+
# @return [Hash<String,Object>]
|
477
|
+
attr_accessor :metadata
|
478
|
+
|
479
|
+
# User friendly name of the plan.
|
480
|
+
# The name must be globally unique within GCP project.
|
481
|
+
# Note, which is different from ("This must be globally unique within a
|
482
|
+
# platform marketplace").
|
483
|
+
# Corresponds to the JSON property `name`
|
484
|
+
# @return [String]
|
485
|
+
attr_accessor :name
|
486
|
+
|
487
|
+
# Schema definitions for service instances and bindings for the plan.
|
488
|
+
# Corresponds to the JSON property `schemas`
|
489
|
+
# @return [Hash<String,Object>]
|
490
|
+
attr_accessor :schemas
|
491
|
+
|
492
|
+
def initialize(**args)
|
493
|
+
update!(**args)
|
494
|
+
end
|
495
|
+
|
496
|
+
# Update properties of this object
|
497
|
+
def update!(**args)
|
498
|
+
@bindable = args[:bindable] if args.key?(:bindable)
|
499
|
+
@description = args[:description] if args.key?(:description)
|
500
|
+
@free = args[:free] if args.key?(:free)
|
501
|
+
@id = args[:id] if args.key?(:id)
|
502
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
503
|
+
@name = args[:name] if args.key?(:name)
|
504
|
+
@schemas = args[:schemas] if args.key?(:schemas)
|
505
|
+
end
|
506
|
+
end
|
507
|
+
|
508
|
+
# The resource model mostly follows the Open Service Broker API, as
|
509
|
+
# described here:
|
510
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/_spec.md
|
511
|
+
# Though due to Google Specifics it has additional optional fields.
|
512
|
+
class GoogleCloudServicebrokerV1alpha1Service
|
513
|
+
include Google::Apis::Core::Hashable
|
514
|
+
|
515
|
+
# Specifies whether instances of the service can be bound to applications.
|
516
|
+
# Required.
|
517
|
+
# Corresponds to the JSON property `bindable`
|
518
|
+
# @return [Boolean]
|
519
|
+
attr_accessor :bindable
|
520
|
+
alias_method :bindable?, :bindable
|
521
|
+
|
522
|
+
# Whether the service provides an endpoint to get service bindings.
|
523
|
+
# Corresponds to the JSON property `binding_retrievable`
|
524
|
+
# @return [Boolean]
|
525
|
+
attr_accessor :binding_retrievable
|
526
|
+
alias_method :binding_retrievable?, :binding_retrievable
|
527
|
+
|
528
|
+
# Message containing information required to activate Dashboard SSO feature.
|
529
|
+
# Corresponds to the JSON property `dashboard_client`
|
530
|
+
# @return [Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1DashboardClient]
|
531
|
+
attr_accessor :dashboard_client
|
532
|
+
|
533
|
+
# Textual description of the service. Required.
|
534
|
+
# Corresponds to the JSON property `description`
|
535
|
+
# @return [String]
|
536
|
+
attr_accessor :description
|
537
|
+
|
538
|
+
# ID is a globally unique identifier used to uniquely identify the service.
|
539
|
+
# ID is an opaque string.
|
540
|
+
# Corresponds to the JSON property `id`
|
541
|
+
# @return [String]
|
542
|
+
attr_accessor :id
|
543
|
+
|
544
|
+
# Whether the service provides an endpoint to get service instances.
|
545
|
+
# Corresponds to the JSON property `instance_retrievable`
|
546
|
+
# @return [Boolean]
|
547
|
+
attr_accessor :instance_retrievable
|
548
|
+
alias_method :instance_retrievable?, :instance_retrievable
|
549
|
+
|
550
|
+
# A list of metadata for a service offering.
|
551
|
+
# Metadata is an arbitrary JSON object.
|
552
|
+
# Corresponds to the JSON property `metadata`
|
553
|
+
# @return [Hash<String,Object>]
|
554
|
+
attr_accessor :metadata
|
555
|
+
|
556
|
+
# User friendly service name.
|
557
|
+
# Name must match [a-z0-9]+ regexp.
|
558
|
+
# The name must be globally unique within GCP project.
|
559
|
+
# Note, which is different from ("This must be globally unique within a
|
560
|
+
# platform marketplace").
|
561
|
+
# Required.
|
562
|
+
# Corresponds to the JSON property `name`
|
563
|
+
# @return [String]
|
564
|
+
attr_accessor :name
|
565
|
+
|
566
|
+
# Whether the service supports upgrade/downgrade for some plans.
|
567
|
+
# Corresponds to the JSON property `plan_updateable`
|
568
|
+
# @return [Boolean]
|
569
|
+
attr_accessor :plan_updateable
|
570
|
+
alias_method :plan_updateable?, :plan_updateable
|
571
|
+
|
572
|
+
# A list of plans for this service.
|
573
|
+
# At least one plan is required.
|
574
|
+
# Corresponds to the JSON property `plans`
|
575
|
+
# @return [Array<Google::Apis::ServicebrokerV1alpha1::GoogleCloudServicebrokerV1alpha1Plan>]
|
576
|
+
attr_accessor :plans
|
577
|
+
|
578
|
+
# Tags provide a flexible mechanism to expose a classification, attribute, or
|
579
|
+
# base technology of a service.
|
580
|
+
# Corresponds to the JSON property `tags`
|
581
|
+
# @return [Array<String>]
|
582
|
+
attr_accessor :tags
|
583
|
+
|
584
|
+
def initialize(**args)
|
585
|
+
update!(**args)
|
586
|
+
end
|
587
|
+
|
588
|
+
# Update properties of this object
|
589
|
+
def update!(**args)
|
590
|
+
@bindable = args[:bindable] if args.key?(:bindable)
|
591
|
+
@binding_retrievable = args[:binding_retrievable] if args.key?(:binding_retrievable)
|
592
|
+
@dashboard_client = args[:dashboard_client] if args.key?(:dashboard_client)
|
593
|
+
@description = args[:description] if args.key?(:description)
|
594
|
+
@id = args[:id] if args.key?(:id)
|
595
|
+
@instance_retrievable = args[:instance_retrievable] if args.key?(:instance_retrievable)
|
596
|
+
@metadata = args[:metadata] if args.key?(:metadata)
|
597
|
+
@name = args[:name] if args.key?(:name)
|
598
|
+
@plan_updateable = args[:plan_updateable] if args.key?(:plan_updateable)
|
599
|
+
@plans = args[:plans] if args.key?(:plans)
|
600
|
+
@tags = args[:tags] if args.key?(:tags)
|
601
|
+
end
|
602
|
+
end
|
603
|
+
|
604
|
+
# Message describing inputs to Provision and Update Service instance requests.
|
605
|
+
class GoogleCloudServicebrokerV1alpha1ServiceInstance
|
606
|
+
include Google::Apis::Core::Hashable
|
607
|
+
|
608
|
+
# Platform specific contextual information under which the service instance
|
609
|
+
# is to be provisioned. This replaces organization_guid and space_guid.
|
610
|
+
# But can also contain anything.
|
611
|
+
# Currently only used for logging context information.
|
612
|
+
# Corresponds to the JSON property `context`
|
613
|
+
# @return [Hash<String,Object>]
|
614
|
+
attr_accessor :context
|
615
|
+
|
616
|
+
# Output only.
|
617
|
+
# Timestamp for when the instance was created.
|
618
|
+
# Corresponds to the JSON property `createTime`
|
619
|
+
# @return [String]
|
620
|
+
attr_accessor :create_time
|
621
|
+
|
622
|
+
# The id of the service instance. Must be unique within GCP project.
|
623
|
+
# Maximum length is 64, GUID recommended.
|
624
|
+
# Required.
|
625
|
+
# Corresponds to the JSON property `instance_id`
|
626
|
+
# @return [String]
|
627
|
+
attr_accessor :instance_id
|
628
|
+
|
629
|
+
# The platform GUID for the organization under which the service is to be
|
630
|
+
# provisioned.
|
631
|
+
# Required.
|
632
|
+
# Corresponds to the JSON property `organization_guid`
|
633
|
+
# @return [String]
|
634
|
+
attr_accessor :organization_guid
|
635
|
+
|
636
|
+
# Configuration options for the service instance.
|
637
|
+
# Parameters is JSON object serialized to string.
|
638
|
+
# Corresponds to the JSON property `parameters`
|
639
|
+
# @return [Hash<String,Object>]
|
640
|
+
attr_accessor :parameters
|
641
|
+
|
642
|
+
# The ID of the plan. See `Service` and `Plan` resources for details.
|
643
|
+
# Maximum length is 64, GUID recommended.
|
644
|
+
# Required.
|
645
|
+
# Corresponds to the JSON property `plan_id`
|
646
|
+
# @return [String]
|
647
|
+
attr_accessor :plan_id
|
648
|
+
|
649
|
+
# Used only in UpdateServiceInstance request to optionally specify previous
|
650
|
+
# fields.
|
651
|
+
# Corresponds to the JSON property `previous_values`
|
652
|
+
# @return [Hash<String,Object>]
|
653
|
+
attr_accessor :previous_values
|
654
|
+
|
655
|
+
# Output only.
|
656
|
+
# The resource name of the instance, e.g.
|
657
|
+
# projects/project_id/brokers/broker_id/service_instances/instance_id
|
658
|
+
# Corresponds to the JSON property `resourceName`
|
659
|
+
# @return [String]
|
660
|
+
attr_accessor :resource_name
|
661
|
+
|
662
|
+
# The id of the service. Must be a valid identifier of a service
|
663
|
+
# contained in the list from a `ListServices()` call.
|
664
|
+
# Maximum length is 64, GUID recommended.
|
665
|
+
# Required.
|
666
|
+
# Corresponds to the JSON property `service_id`
|
667
|
+
# @return [String]
|
668
|
+
attr_accessor :service_id
|
669
|
+
|
670
|
+
# The identifier for the project space within the platform organization.
|
671
|
+
# Required.
|
672
|
+
# Corresponds to the JSON property `space_guid`
|
673
|
+
# @return [String]
|
674
|
+
attr_accessor :space_guid
|
675
|
+
|
676
|
+
def initialize(**args)
|
677
|
+
update!(**args)
|
678
|
+
end
|
679
|
+
|
680
|
+
# Update properties of this object
|
681
|
+
def update!(**args)
|
682
|
+
@context = args[:context] if args.key?(:context)
|
683
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
684
|
+
@instance_id = args[:instance_id] if args.key?(:instance_id)
|
685
|
+
@organization_guid = args[:organization_guid] if args.key?(:organization_guid)
|
686
|
+
@parameters = args[:parameters] if args.key?(:parameters)
|
687
|
+
@plan_id = args[:plan_id] if args.key?(:plan_id)
|
688
|
+
@previous_values = args[:previous_values] if args.key?(:previous_values)
|
689
|
+
@resource_name = args[:resource_name] if args.key?(:resource_name)
|
690
|
+
@service_id = args[:service_id] if args.key?(:service_id)
|
691
|
+
@space_guid = args[:space_guid] if args.key?(:space_guid)
|
692
|
+
end
|
693
|
+
end
|
694
|
+
|
695
|
+
# Response for the `UpdateServiceInstance()` method.
|
696
|
+
class GoogleCloudServicebrokerV1alpha1UpdateServiceInstanceResponse
|
697
|
+
include Google::Apis::Core::Hashable
|
698
|
+
|
699
|
+
# Used to communicate description of the response. Usually for non-standard
|
700
|
+
# error codes.
|
701
|
+
# https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#
|
702
|
+
# service-broker-errors
|
703
|
+
# Corresponds to the JSON property `description`
|
704
|
+
# @return [String]
|
705
|
+
attr_accessor :description
|
706
|
+
|
707
|
+
# If broker executes operation asynchronously, this is the operation ID that
|
708
|
+
# can be polled to check the completion status of said operation.
|
709
|
+
# Corresponds to the JSON property `operation`
|
710
|
+
# @return [String]
|
711
|
+
attr_accessor :operation
|
712
|
+
|
713
|
+
def initialize(**args)
|
714
|
+
update!(**args)
|
715
|
+
end
|
716
|
+
|
717
|
+
# Update properties of this object
|
718
|
+
def update!(**args)
|
719
|
+
@description = args[:description] if args.key?(:description)
|
720
|
+
@operation = args[:operation] if args.key?(:operation)
|
721
|
+
end
|
722
|
+
end
|
723
|
+
|
724
|
+
# Associates `members` with a `role`.
|
725
|
+
class GoogleIamV1Binding
|
726
|
+
include Google::Apis::Core::Hashable
|
727
|
+
|
728
|
+
# Specifies the identities requesting access for a Cloud Platform resource.
|
729
|
+
# `members` can have the following values:
|
730
|
+
# * `allUsers`: A special identifier that represents anyone who is
|
731
|
+
# on the internet; with or without a Google account.
|
732
|
+
# * `allAuthenticatedUsers`: A special identifier that represents anyone
|
733
|
+
# who is authenticated with a Google account or a service account.
|
734
|
+
# * `user:`emailid``: An email address that represents a specific Google
|
735
|
+
# account. For example, `alice@gmail.com` .
|
736
|
+
# * `serviceAccount:`emailid``: An email address that represents a service
|
737
|
+
# account. For example, `my-other-app@appspot.gserviceaccount.com`.
|
738
|
+
# * `group:`emailid``: An email address that represents a Google group.
|
739
|
+
# For example, `admins@example.com`.
|
740
|
+
# * `domain:`domain``: A Google Apps domain name that represents all the
|
741
|
+
# users of that domain. For example, `google.com` or `example.com`.
|
742
|
+
# Corresponds to the JSON property `members`
|
743
|
+
# @return [Array<String>]
|
744
|
+
attr_accessor :members
|
745
|
+
|
746
|
+
# Role that is assigned to `members`.
|
747
|
+
# For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
|
748
|
+
# Required
|
749
|
+
# Corresponds to the JSON property `role`
|
750
|
+
# @return [String]
|
751
|
+
attr_accessor :role
|
752
|
+
|
753
|
+
def initialize(**args)
|
754
|
+
update!(**args)
|
755
|
+
end
|
756
|
+
|
757
|
+
# Update properties of this object
|
758
|
+
def update!(**args)
|
759
|
+
@members = args[:members] if args.key?(:members)
|
760
|
+
@role = args[:role] if args.key?(:role)
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
765
|
+
# specify access control policies for Cloud Platform resources.
|
766
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
767
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
768
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
769
|
+
# defined by IAM.
|
770
|
+
# **JSON Example**
|
771
|
+
# `
|
772
|
+
# "bindings": [
|
773
|
+
# `
|
774
|
+
# "role": "roles/owner",
|
775
|
+
# "members": [
|
776
|
+
# "user:mike@example.com",
|
777
|
+
# "group:admins@example.com",
|
778
|
+
# "domain:google.com",
|
779
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
780
|
+
# ]
|
781
|
+
# `,
|
782
|
+
# `
|
783
|
+
# "role": "roles/viewer",
|
784
|
+
# "members": ["user:sean@example.com"]
|
785
|
+
# `
|
786
|
+
# ]
|
787
|
+
# `
|
788
|
+
# **YAML Example**
|
789
|
+
# bindings:
|
790
|
+
# - members:
|
791
|
+
# - user:mike@example.com
|
792
|
+
# - group:admins@example.com
|
793
|
+
# - domain:google.com
|
794
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
795
|
+
# role: roles/owner
|
796
|
+
# - members:
|
797
|
+
# - user:sean@example.com
|
798
|
+
# role: roles/viewer
|
799
|
+
# For a description of IAM and its features, see the
|
800
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
801
|
+
class GoogleIamV1Policy
|
802
|
+
include Google::Apis::Core::Hashable
|
803
|
+
|
804
|
+
# Associates a list of `members` to a `role`.
|
805
|
+
# `bindings` with no members will result in an error.
|
806
|
+
# Corresponds to the JSON property `bindings`
|
807
|
+
# @return [Array<Google::Apis::ServicebrokerV1alpha1::GoogleIamV1Binding>]
|
808
|
+
attr_accessor :bindings
|
809
|
+
|
810
|
+
# `etag` is used for optimistic concurrency control as a way to help
|
811
|
+
# prevent simultaneous updates of a policy from overwriting each other.
|
812
|
+
# It is strongly suggested that systems make use of the `etag` in the
|
813
|
+
# read-modify-write cycle to perform policy updates in order to avoid race
|
814
|
+
# conditions: An `etag` is returned in the response to `getIamPolicy`, and
|
815
|
+
# systems are expected to put that etag in the request to `setIamPolicy` to
|
816
|
+
# ensure that their change will be applied to the same version of the policy.
|
817
|
+
# If no `etag` is provided in the call to `setIamPolicy`, then the existing
|
818
|
+
# policy is overwritten blindly.
|
819
|
+
# Corresponds to the JSON property `etag`
|
820
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
821
|
+
# @return [String]
|
822
|
+
attr_accessor :etag
|
823
|
+
|
824
|
+
# Deprecated.
|
825
|
+
# Corresponds to the JSON property `version`
|
826
|
+
# @return [Fixnum]
|
827
|
+
attr_accessor :version
|
828
|
+
|
829
|
+
def initialize(**args)
|
830
|
+
update!(**args)
|
831
|
+
end
|
832
|
+
|
833
|
+
# Update properties of this object
|
834
|
+
def update!(**args)
|
835
|
+
@bindings = args[:bindings] if args.key?(:bindings)
|
836
|
+
@etag = args[:etag] if args.key?(:etag)
|
837
|
+
@version = args[:version] if args.key?(:version)
|
838
|
+
end
|
839
|
+
end
|
840
|
+
|
841
|
+
# Request message for `SetIamPolicy` method.
|
842
|
+
class GoogleIamV1SetIamPolicyRequest
|
843
|
+
include Google::Apis::Core::Hashable
|
844
|
+
|
845
|
+
# Defines an Identity and Access Management (IAM) policy. It is used to
|
846
|
+
# specify access control policies for Cloud Platform resources.
|
847
|
+
# A `Policy` consists of a list of `bindings`. A `binding` binds a list of
|
848
|
+
# `members` to a `role`, where the members can be user accounts, Google groups,
|
849
|
+
# Google domains, and service accounts. A `role` is a named list of permissions
|
850
|
+
# defined by IAM.
|
851
|
+
# **JSON Example**
|
852
|
+
# `
|
853
|
+
# "bindings": [
|
854
|
+
# `
|
855
|
+
# "role": "roles/owner",
|
856
|
+
# "members": [
|
857
|
+
# "user:mike@example.com",
|
858
|
+
# "group:admins@example.com",
|
859
|
+
# "domain:google.com",
|
860
|
+
# "serviceAccount:my-other-app@appspot.gserviceaccount.com"
|
861
|
+
# ]
|
862
|
+
# `,
|
863
|
+
# `
|
864
|
+
# "role": "roles/viewer",
|
865
|
+
# "members": ["user:sean@example.com"]
|
866
|
+
# `
|
867
|
+
# ]
|
868
|
+
# `
|
869
|
+
# **YAML Example**
|
870
|
+
# bindings:
|
871
|
+
# - members:
|
872
|
+
# - user:mike@example.com
|
873
|
+
# - group:admins@example.com
|
874
|
+
# - domain:google.com
|
875
|
+
# - serviceAccount:my-other-app@appspot.gserviceaccount.com
|
876
|
+
# role: roles/owner
|
877
|
+
# - members:
|
878
|
+
# - user:sean@example.com
|
879
|
+
# role: roles/viewer
|
880
|
+
# For a description of IAM and its features, see the
|
881
|
+
# [IAM developer's guide](https://cloud.google.com/iam/docs).
|
882
|
+
# Corresponds to the JSON property `policy`
|
883
|
+
# @return [Google::Apis::ServicebrokerV1alpha1::GoogleIamV1Policy]
|
884
|
+
attr_accessor :policy
|
885
|
+
|
886
|
+
def initialize(**args)
|
887
|
+
update!(**args)
|
888
|
+
end
|
889
|
+
|
890
|
+
# Update properties of this object
|
891
|
+
def update!(**args)
|
892
|
+
@policy = args[:policy] if args.key?(:policy)
|
893
|
+
end
|
894
|
+
end
|
895
|
+
|
896
|
+
# Request message for `TestIamPermissions` method.
|
897
|
+
class GoogleIamV1TestIamPermissionsRequest
|
898
|
+
include Google::Apis::Core::Hashable
|
899
|
+
|
900
|
+
# The set of permissions to check for the `resource`. Permissions with
|
901
|
+
# wildcards (such as '*' or 'storage.*') are not allowed. For more
|
902
|
+
# information see
|
903
|
+
# [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
|
904
|
+
# Corresponds to the JSON property `permissions`
|
905
|
+
# @return [Array<String>]
|
906
|
+
attr_accessor :permissions
|
907
|
+
|
908
|
+
def initialize(**args)
|
909
|
+
update!(**args)
|
910
|
+
end
|
911
|
+
|
912
|
+
# Update properties of this object
|
913
|
+
def update!(**args)
|
914
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
915
|
+
end
|
916
|
+
end
|
917
|
+
|
918
|
+
# Response message for `TestIamPermissions` method.
|
919
|
+
class GoogleIamV1TestIamPermissionsResponse
|
920
|
+
include Google::Apis::Core::Hashable
|
921
|
+
|
922
|
+
# A subset of `TestPermissionsRequest.permissions` that the caller is
|
923
|
+
# allowed.
|
924
|
+
# Corresponds to the JSON property `permissions`
|
925
|
+
# @return [Array<String>]
|
926
|
+
attr_accessor :permissions
|
927
|
+
|
928
|
+
def initialize(**args)
|
929
|
+
update!(**args)
|
930
|
+
end
|
931
|
+
|
932
|
+
# Update properties of this object
|
933
|
+
def update!(**args)
|
934
|
+
@permissions = args[:permissions] if args.key?(:permissions)
|
935
|
+
end
|
936
|
+
end
|
937
|
+
end
|
938
|
+
end
|
939
|
+
end
|