google-api-client 0.9.pre3 → 0.9.pre4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/CHANGELOG.md +14 -2
- data/Gemfile +4 -0
- data/MIGRATING.md +1 -1
- data/README.md +17 -3
- data/api_names.yaml +127 -14
- data/api_names_out.yaml +5442 -710
- data/bin/generate-api +16 -14
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +213 -2
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +71 -0
- data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -42
- data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +15 -29
- data/generated/google/apis/admin_datatransfer_v1.rb +37 -0
- data/generated/google/apis/admin_datatransfer_v1/classes.rb +267 -0
- data/generated/google/apis/admin_datatransfer_v1/representations.rb +118 -0
- data/generated/google/apis/admin_datatransfer_v1/service.rb +262 -0
- data/generated/google/apis/admin_directory_v1.rb +25 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +718 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +244 -0
- data/generated/google/apis/admin_directory_v1/service.rb +1522 -509
- data/generated/google/apis/admin_reports_v1.rb +1 -1
- data/generated/google/apis/admin_reports_v1/service.rb +5 -10
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +6 -0
- data/generated/google/apis/adsense_v1_4/representations.rb +1 -0
- data/generated/google/apis/adsense_v1_4/service.rb +40 -78
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/service.rb +26 -52
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +11 -13
- data/generated/google/apis/analytics_v3/service.rb +84 -158
- data/generated/google/apis/androidenterprise_v1.rb +2 -2
- data/generated/google/apis/androidenterprise_v1/classes.rb +276 -8
- data/generated/google/apis/androidenterprise_v1/representations.rb +106 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +715 -97
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +2 -2
- data/generated/google/apis/androidpublisher_v2/service.rb +55 -107
- data/generated/google/apis/appengine_v1beta4.rb +35 -0
- data/generated/google/apis/appengine_v1beta4/classes.rb +1532 -0
- data/generated/google/apis/appengine_v1beta4/representations.rb +526 -0
- data/generated/google/apis/appengine_v1beta4/service.rb +476 -0
- data/generated/google/apis/appsactivity_v1.rb +1 -1
- data/generated/google/apis/appsactivity_v1/service.rb +1 -2
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/appstate_v1/service.rb +6 -11
- data/generated/google/apis/autoscaler_v1beta2/service.rb +10 -20
- data/generated/google/apis/bigquery_v2.rb +4 -1
- data/generated/google/apis/bigquery_v2/classes.rb +231 -16
- data/generated/google/apis/bigquery_v2/representations.rb +62 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -45
- data/generated/google/apis/blogger_v3/service.rb +33 -66
- data/generated/google/apis/books_v1.rb +1 -1
- data/generated/google/apis/books_v1/classes.rb +441 -0
- data/generated/google/apis/books_v1/representations.rb +177 -0
- data/generated/google/apis/books_v1/service.rb +210 -90
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +34 -18
- data/generated/google/apis/calendar_v3/service.rb +118 -103
- data/generated/google/apis/civicinfo_v2.rb +1 -1
- data/generated/google/apis/civicinfo_v2/classes.rb +12 -3
- data/generated/google/apis/civicinfo_v2/representations.rb +1 -0
- data/generated/google/apis/civicinfo_v2/service.rb +5 -10
- data/generated/google/apis/classroom_v1.rb +49 -0
- data/generated/google/apis/classroom_v1/classes.rb +512 -0
- data/generated/google/apis/classroom_v1/representations.rb +217 -0
- data/generated/google/apis/classroom_v1/service.rb +970 -0
- data/generated/google/apis/cloudbilling_v1.rb +35 -0
- data/generated/google/apis/cloudbilling_v1/classes.rb +169 -0
- data/generated/google/apis/cloudbilling_v1/representations.rb +79 -0
- data/generated/google/apis/cloudbilling_v1/service.rb +258 -0
- data/generated/google/apis/clouddebugger_v2.rb +41 -0
- data/generated/google/apis/clouddebugger_v2/classes.rb +1004 -0
- data/generated/google/apis/clouddebugger_v2/representations.rb +410 -0
- data/generated/google/apis/clouddebugger_v2/service.rb +370 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudmonitoring_v2beta2/service.rb +6 -12
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +5 -2
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +173 -249
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +36 -68
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +293 -80
- data/generated/google/apis/cloudtrace_v1.rb +35 -0
- data/generated/google/apis/cloudtrace_v1/classes.rb +188 -0
- data/generated/google/apis/cloudtrace_v1/representations.rb +92 -0
- data/generated/google/apis/cloudtrace_v1/service.rb +190 -0
- data/generated/google/apis/clouduseraccounts_beta.rb +43 -0
- data/generated/google/apis/clouduseraccounts_beta/classes.rb +823 -0
- data/generated/google/apis/clouduseraccounts_beta/representations.rb +313 -0
- data/generated/google/apis/clouduseraccounts_beta/service.rb +854 -0
- data/generated/google/apis/compute_beta.rb +49 -0
- data/generated/google/apis/compute_beta/classes.rb +9128 -0
- data/generated/google/apis/compute_beta/representations.rb +3048 -0
- data/generated/google/apis/compute_beta/service.rb +10154 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1305 -520
- data/generated/google/apis/compute_v1/representations.rb +122 -15
- data/generated/google/apis/compute_v1/service.rb +2202 -1085
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +56 -31
- data/generated/google/apis/container_v1/representations.rb +12 -0
- data/generated/google/apis/container_v1/service.rb +62 -41
- data/generated/google/apis/content_v2.rb +2 -2
- data/generated/google/apis/content_v2/classes.rb +2252 -56
- data/generated/google/apis/content_v2/representations.rb +917 -87
- data/generated/google/apis/content_v2/service.rb +680 -85
- data/generated/google/apis/coordinate_v1.rb +1 -1
- data/generated/google/apis/coordinate_v1/service.rb +16 -25
- data/generated/google/apis/customsearch_v1/service.rb +1 -2
- data/generated/google/apis/datastore_v1beta2.rb +1 -1
- data/generated/google/apis/datastore_v1beta2/service.rb +12 -18
- data/generated/google/apis/deploymentmanager_v2.rb +44 -0
- data/generated/google/apis/deploymentmanager_v2/classes.rb +1089 -0
- data/generated/google/apis/deploymentmanager_v2/representations.rb +422 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +857 -0
- data/generated/google/apis/deploymentmanager_v2beta2.rb +5 -2
- data/generated/google/apis/deploymentmanager_v2beta2/classes.rb +22 -3
- data/generated/google/apis/deploymentmanager_v2beta2/representations.rb +3 -0
- data/generated/google/apis/deploymentmanager_v2beta2/service.rb +14 -27
- data/generated/google/apis/dfareporting_v2_1.rb +1 -1
- data/generated/google/apis/dfareporting_v2_1/classes.rb +29 -14
- data/generated/google/apis/dfareporting_v2_1/service.rb +196 -389
- data/generated/google/apis/discovery_v1/classes.rb +7 -0
- data/generated/google/apis/discovery_v1/representations.rb +1 -0
- data/generated/google/apis/discovery_v1/service.rb +2 -4
- data/generated/google/apis/dns_v1.rb +4 -1
- data/generated/google/apis/dns_v1/service.rb +9 -18
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +9 -2
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +1 -0
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +8 -16
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +15 -6
- data/generated/google/apis/doubleclicksearch_v2/representations.rb +1 -0
- data/generated/google/apis/doubleclicksearch_v2/service.rb +13 -23
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +73 -30
- data/generated/google/apis/drive_v2/representations.rb +14 -0
- data/generated/google/apis/drive_v2/service.rb +139 -135
- data/generated/google/apis/drive_v3.rb +55 -0
- data/generated/google/apis/drive_v3/classes.rb +1534 -0
- data/generated/google/apis/drive_v3/representations.rb +497 -0
- data/generated/google/apis/drive_v3/service.rb +1541 -0
- data/generated/google/apis/fitness_v1.rb +1 -1
- data/generated/google/apis/fitness_v1/service.rb +14 -27
- data/generated/google/apis/fusiontables_v2/service.rb +40 -73
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_configuration_v1configuration/service.rb +14 -27
- data/generated/google/apis/games_management_v1management.rb +37 -0
- data/generated/google/apis/games_management_v1management/classes.rb +524 -0
- data/generated/google/apis/games_management_v1management/representations.rb +231 -0
- data/generated/google/apis/games_management_v1management/service.rb +994 -0
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +39 -0
- data/generated/google/apis/games_v1/representations.rb +14 -0
- data/generated/google/apis/games_v1/service.rb +93 -109
- data/generated/google/apis/gan_v1beta1/service.rb +10 -20
- data/generated/google/apis/genomics_v1.rb +5 -3
- data/generated/google/apis/genomics_v1/classes.rb +519 -200
- data/generated/google/apis/genomics_v1/representations.rb +126 -13
- data/generated/google/apis/genomics_v1/service.rb +392 -236
- data/generated/google/apis/gmail_v1.rb +4 -1
- data/generated/google/apis/gmail_v1/service.rb +39 -71
- data/generated/google/apis/groupsmigration_v1/service.rb +2 -3
- data/generated/google/apis/groupssettings_v1/service.rb +3 -6
- data/generated/google/apis/identitytoolkit_v3.rb +1 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +125 -0
- data/generated/google/apis/identitytoolkit_v3/representations.rb +37 -0
- data/generated/google/apis/identitytoolkit_v3/service.rb +44 -24
- data/generated/google/apis/kgsearch_v1.rb +32 -0
- data/generated/google/apis/kgsearch_v1/classes.rb +59 -0
- data/generated/google/apis/kgsearch_v1/representations.rb +39 -0
- data/generated/google/apis/kgsearch_v1/service.rb +111 -0
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +7 -14
- data/generated/google/apis/logging_v1beta3.rb +16 -4
- data/generated/google/apis/logging_v1beta3/classes.rb +620 -46
- data/generated/google/apis/logging_v1beta3/representations.rb +144 -0
- data/generated/google/apis/logging_v1beta3/service.rb +435 -104
- data/generated/google/apis/manager_v1beta2.rb +3 -0
- data/generated/google/apis/manager_v1beta2/service.rb +8 -16
- data/generated/google/apis/mapsengine_v1.rb +1 -1
- data/generated/google/apis/mapsengine_v1/service.rb +85 -162
- data/generated/google/apis/mirror_v1.rb +1 -1
- data/generated/google/apis/mirror_v1/service.rb +28 -52
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/oauth2_v2/service.rb +4 -8
- data/generated/google/apis/pagespeedonline_v2/service.rb +1 -2
- data/generated/google/apis/partners_v2.rb +32 -0
- data/generated/google/apis/partners_v2/classes.rb +942 -0
- data/generated/google/apis/partners_v2/representations.rb +402 -0
- data/generated/google/apis/partners_v2/service.rb +400 -0
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_domains_v1/classes.rb +207 -0
- data/generated/google/apis/plus_domains_v1/representations.rb +114 -0
- data/generated/google/apis/plus_domains_v1/service.rb +21 -41
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/plus_v1/classes.rb +207 -0
- data/generated/google/apis/plus_v1/representations.rb +114 -0
- data/generated/google/apis/plus_v1/service.rb +11 -56
- data/generated/google/apis/prediction_v1_6.rb +1 -1
- data/generated/google/apis/prediction_v1_6/service.rb +8 -16
- data/generated/google/apis/proximitybeacon_v1beta1.rb +31 -0
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +639 -0
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +274 -0
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +591 -0
- data/generated/google/apis/pubsub_v1.rb +37 -0
- data/generated/google/apis/pubsub_v1/classes.rb +614 -0
- data/generated/google/apis/pubsub_v1/representations.rb +281 -0
- data/generated/google/apis/pubsub_v1/service.rb +774 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +78 -283
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -85
- data/generated/google/apis/pubsub_v1beta2/service.rb +79 -87
- data/generated/google/apis/qpx_express_v1/service.rb +1 -2
- data/generated/google/apis/replicapool_v1beta2.rb +3 -0
- data/generated/google/apis/replicapool_v1beta2/service.rb +12 -24
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -1
- data/generated/google/apis/replicapoolupdater_v1beta1/classes.rb +46 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/representations.rb +16 -0
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +58 -18
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +19 -1
- data/generated/google/apis/reseller_v1/representations.rb +1 -0
- data/generated/google/apis/reseller_v1/service.rb +16 -30
- data/generated/google/apis/resourceviews_v1beta2.rb +3 -0
- data/generated/google/apis/resourceviews_v1beta2/service.rb +16 -27
- data/generated/google/apis/script_v1.rb +61 -0
- data/generated/google/apis/script_v1/classes.rb +259 -0
- data/generated/google/apis/script_v1/representations.rb +106 -0
- data/generated/google/apis/script_v1/service.rb +98 -0
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/site_verification_v1/service.rb +8 -15
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +186 -2
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +70 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +166 -75
- data/generated/google/apis/storage_v1.rb +5 -2
- data/generated/google/apis/storage_v1/classes.rb +47 -4
- data/generated/google/apis/storage_v1/representations.rb +18 -0
- data/generated/google/apis/storage_v1/service.rb +77 -94
- data/generated/google/apis/storagetransfer_v1.rb +35 -0
- data/generated/google/apis/storagetransfer_v1/classes.rb +1046 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +370 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +473 -0
- data/generated/google/apis/tagmanager_v1.rb +1 -1
- data/generated/google/apis/tagmanager_v1/classes.rb +189 -31
- data/generated/google/apis/tagmanager_v1/representations.rb +69 -15
- data/generated/google/apis/tagmanager_v1/service.rb +114 -275
- data/generated/google/apis/taskqueue_v1beta2/service.rb +8 -16
- data/generated/google/apis/tasks_v1/service.rb +14 -28
- data/generated/google/apis/translate_v2/service.rb +3 -6
- data/generated/google/apis/urlshortener_v1/service.rb +3 -6
- data/generated/google/apis/webmasters_v3.rb +3 -3
- data/generated/google/apis/webmasters_v3/classes.rb +4 -4
- data/generated/google/apis/webmasters_v3/service.rb +16 -30
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +6 -0
- data/generated/google/apis/youtube_analytics_v1/representations.rb +1 -0
- data/generated/google/apis/youtube_analytics_v1/service.rb +16 -21
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +111 -78
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/generated/google/apis/youtube_v3/service.rb +78 -246
- data/generated/google/apis/youtubereporting_v1.rb +38 -0
- data/generated/google/apis/youtubereporting_v1/classes.rb +258 -0
- data/generated/google/apis/youtubereporting_v1/representations.rb +128 -0
- data/generated/google/apis/youtubereporting_v1/service.rb +364 -0
- data/google-api-client.gemspec +3 -3
- data/lib/google/api_client/auth/installed_app.rb +2 -2
- data/lib/google/api_client/auth/key_utils.rb +1 -0
- data/lib/google/api_client/auth/storage.rb +1 -0
- data/lib/google/api_client/auth/storages/file_store.rb +1 -0
- data/lib/google/api_client/auth/storages/redis_store.rb +1 -0
- data/lib/google/api_client/client_secrets.rb +4 -5
- data/lib/google/apis/core/api_command.rb +2 -2
- data/lib/google/apis/core/base_service.rb +1 -0
- data/lib/google/apis/core/batch.rb +25 -8
- data/lib/google/apis/core/download.rb +1 -1
- data/lib/google/apis/core/http_command.rb +24 -12
- data/lib/google/apis/core/multipart.rb +20 -6
- data/lib/google/apis/core/upload.rb +11 -4
- data/lib/google/apis/generator/annotator.rb +29 -10
- data/lib/google/apis/generator/helpers.rb +1 -1
- data/lib/google/apis/generator/templates/_method.tmpl +5 -6
- data/lib/google/apis/options.rb +7 -3
- data/lib/google/apis/version.rb +1 -1
- data/samples/calendar/calendar.rb +1 -1
- data/samples/drive/drive.rb +9 -2
- data/samples/pubsub/pubsub.rb +5 -6
- data/samples/translate/translate.rb +1 -5
- data/script/generate +20 -5
- data/spec/fixtures/files/child/.gitignore +0 -0
- data/spec/fixtures/files/invalid.json +1 -0
- data/spec/google/api_client/client_secrets_spec.rb +38 -1
- data/spec/google/apis/core/batch_spec.rb +22 -8
- data/spec/google/apis/core/download_spec.rb +13 -0
- data/spec/google/apis/core/http_command_spec.rb +26 -9
- data/spec/google/apis/core/upload_spec.rb +65 -17
- data/spec/google/apis/options_spec.rb +8 -0
- data/spec/integration_tests/adsense_spec.rb +28 -0
- data/spec/integration_tests/pubsub_spec.rb +3 -3
- data/spec/spec_helper.rb +5 -1
- data/third_party/hurley_patches.rb +103 -0
- metadata +87 -7
|
@@ -34,6 +34,9 @@ module Google
|
|
|
34
34
|
# View and manage your data across Google Cloud Platform services
|
|
35
35
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
36
36
|
|
|
37
|
+
# View your data across Google Cloud Platform services
|
|
38
|
+
AUTH_CLOUD_PLATFORM_READ_ONLY = 'https://www.googleapis.com/auth/cloud-platform.read-only'
|
|
39
|
+
|
|
37
40
|
# View and manage your Google Compute Engine resources
|
|
38
41
|
AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
|
|
39
42
|
|
|
@@ -79,8 +79,7 @@ module Google
|
|
|
79
79
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
80
80
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
81
81
|
def delete_deployment(project_id, region, deployment_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
82
|
-
|
|
83
|
-
command = make_simple_command(:delete, path, options)
|
|
82
|
+
command = make_simple_command(:delete, '{projectId}/regions/{region}/deployments/{deploymentName}', options)
|
|
84
83
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
85
84
|
command.params['region'] = region unless region.nil?
|
|
86
85
|
command.params['deploymentName'] = deployment_name unless deployment_name.nil?
|
|
@@ -116,8 +115,7 @@ module Google
|
|
|
116
115
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
117
116
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
118
117
|
def get_deployment(project_id, region, deployment_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
119
|
-
|
|
120
|
-
command = make_simple_command(:get, path, options)
|
|
118
|
+
command = make_simple_command(:get, '{projectId}/regions/{region}/deployments/{deploymentName}', options)
|
|
121
119
|
command.response_representation = Google::Apis::ManagerV1beta2::Deployment::Representation
|
|
122
120
|
command.response_class = Google::Apis::ManagerV1beta2::Deployment
|
|
123
121
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -155,8 +153,7 @@ module Google
|
|
|
155
153
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
156
154
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
157
155
|
def insert_deployment(project_id, region, deployment_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
158
|
-
|
|
159
|
-
command = make_simple_command(:post, path, options)
|
|
156
|
+
command = make_simple_command(:post, '{projectId}/regions/{region}/deployments', options)
|
|
160
157
|
command.request_representation = Google::Apis::ManagerV1beta2::Deployment::Representation
|
|
161
158
|
command.request_object = deployment_object
|
|
162
159
|
command.response_representation = Google::Apis::ManagerV1beta2::Deployment::Representation
|
|
@@ -200,8 +197,7 @@ module Google
|
|
|
200
197
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
201
198
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
202
199
|
def list_deployments(project_id, region, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
203
|
-
|
|
204
|
-
command = make_simple_command(:get, path, options)
|
|
200
|
+
command = make_simple_command(:get, '{projectId}/regions/{region}/deployments', options)
|
|
205
201
|
command.response_representation = Google::Apis::ManagerV1beta2::ListDeploymentsResponse::Representation
|
|
206
202
|
command.response_class = Google::Apis::ManagerV1beta2::ListDeploymentsResponse
|
|
207
203
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -239,8 +235,7 @@ module Google
|
|
|
239
235
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
240
236
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
241
237
|
def delete_template(project_id, template_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
242
|
-
|
|
243
|
-
command = make_simple_command(:delete, path, options)
|
|
238
|
+
command = make_simple_command(:delete, '{projectId}/templates/{templateName}', options)
|
|
244
239
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
245
240
|
command.params['templateName'] = template_name unless template_name.nil?
|
|
246
241
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -274,8 +269,7 @@ module Google
|
|
|
274
269
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
275
270
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
276
271
|
def get_template(project_id, template_name, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
277
|
-
|
|
278
|
-
command = make_simple_command(:get, path, options)
|
|
272
|
+
command = make_simple_command(:get, '{projectId}/templates/{templateName}', options)
|
|
279
273
|
command.response_representation = Google::Apis::ManagerV1beta2::Template::Representation
|
|
280
274
|
command.response_class = Google::Apis::ManagerV1beta2::Template
|
|
281
275
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -311,8 +305,7 @@ module Google
|
|
|
311
305
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
312
306
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
313
307
|
def insert_template(project_id, template_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
314
|
-
|
|
315
|
-
command = make_simple_command(:post, path, options)
|
|
308
|
+
command = make_simple_command(:post, '{projectId}/templates', options)
|
|
316
309
|
command.request_representation = Google::Apis::ManagerV1beta2::Template::Representation
|
|
317
310
|
command.request_object = template_object
|
|
318
311
|
command.response_representation = Google::Apis::ManagerV1beta2::Template::Representation
|
|
@@ -354,8 +347,7 @@ module Google
|
|
|
354
347
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
355
348
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
356
349
|
def list_templates(project_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
357
|
-
|
|
358
|
-
command = make_simple_command(:get, path, options)
|
|
350
|
+
command = make_simple_command(:get, '{projectId}/templates', options)
|
|
359
351
|
command.response_representation = Google::Apis::ManagerV1beta2::ListTemplatesResponse::Representation
|
|
360
352
|
command.response_class = Google::Apis::ManagerV1beta2::ListTemplatesResponse
|
|
361
353
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/maps-engine/
|
|
27
27
|
module MapsengineV1
|
|
28
28
|
VERSION = 'V1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20151202'
|
|
30
30
|
|
|
31
31
|
# View and manage your Google My Maps data
|
|
32
32
|
AUTH_MAPSENGINE = 'https://www.googleapis.com/auth/mapsengine'
|
|
@@ -78,8 +78,7 @@ module Google
|
|
|
78
78
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
79
79
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
80
80
|
def get_asset(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
81
|
-
|
|
82
|
-
command = make_simple_command(:get, path, options)
|
|
81
|
+
command = make_simple_command(:get, 'assets/{id}', options)
|
|
83
82
|
command.response_representation = Google::Apis::MapsengineV1::Asset::Representation
|
|
84
83
|
command.response_class = Google::Apis::MapsengineV1::Asset
|
|
85
84
|
command.params['id'] = id unless id.nil?
|
|
@@ -155,8 +154,7 @@ module Google
|
|
|
155
154
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
156
155
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
157
156
|
def list_assets(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, project_id: nil, role: nil, search: nil, tags: nil, type: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
158
|
-
|
|
159
|
-
command = make_simple_command(:get, path, options)
|
|
157
|
+
command = make_simple_command(:get, 'assets', options)
|
|
160
158
|
command.response_representation = Google::Apis::MapsengineV1::ListAssetsResponse::Representation
|
|
161
159
|
command.response_class = Google::Apis::MapsengineV1::ListAssetsResponse
|
|
162
160
|
command.query['bbox'] = bbox unless bbox.nil?
|
|
@@ -210,8 +208,7 @@ module Google
|
|
|
210
208
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
211
209
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
212
210
|
def list_asset_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
213
|
-
|
|
214
|
-
command = make_simple_command(:get, path, options)
|
|
211
|
+
command = make_simple_command(:get, 'assets/{id}/parents', options)
|
|
215
212
|
command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation
|
|
216
213
|
command.response_class = Google::Apis::MapsengineV1::ListParentsResponse
|
|
217
214
|
command.params['id'] = id unless id.nil?
|
|
@@ -248,8 +245,7 @@ module Google
|
|
|
248
245
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
249
246
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
250
247
|
def list_asset_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
251
|
-
|
|
252
|
-
command = make_simple_command(:get, path, options)
|
|
248
|
+
command = make_simple_command(:get, 'assets/{id}/permissions', options)
|
|
253
249
|
command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation
|
|
254
250
|
command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse
|
|
255
251
|
command.params['id'] = id unless id.nil?
|
|
@@ -283,9 +279,8 @@ module Google
|
|
|
283
279
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
284
280
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
285
281
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
286
|
-
def
|
|
287
|
-
|
|
288
|
-
command = make_simple_command(:post, path, options)
|
|
282
|
+
def cancel_layer_processing(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
283
|
+
command = make_simple_command(:post, 'layers/{id}/cancelProcessing', options)
|
|
289
284
|
command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation
|
|
290
285
|
command.response_class = Google::Apis::MapsengineV1::ProcessResponse
|
|
291
286
|
command.params['id'] = id unless id.nil?
|
|
@@ -321,8 +316,7 @@ module Google
|
|
|
321
316
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
322
317
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
323
318
|
def create_layer(layer_object = nil, process: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
324
|
-
|
|
325
|
-
command = make_simple_command(:post, path, options)
|
|
319
|
+
command = make_simple_command(:post, 'layers', options)
|
|
326
320
|
command.request_representation = Google::Apis::MapsengineV1::Layer::Representation
|
|
327
321
|
command.request_object = layer_object
|
|
328
322
|
command.response_representation = Google::Apis::MapsengineV1::Layer::Representation
|
|
@@ -361,8 +355,7 @@ module Google
|
|
|
361
355
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
362
356
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
363
357
|
def delete_layer(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
364
|
-
|
|
365
|
-
command = make_simple_command(:delete, path, options)
|
|
358
|
+
command = make_simple_command(:delete, 'layers/{id}', options)
|
|
366
359
|
command.params['id'] = id unless id.nil?
|
|
367
360
|
command.query['fields'] = fields unless fields.nil?
|
|
368
361
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -399,8 +392,7 @@ module Google
|
|
|
399
392
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
400
393
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
401
394
|
def get_layer(id, version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
402
|
-
|
|
403
|
-
command = make_simple_command(:get, path, options)
|
|
395
|
+
command = make_simple_command(:get, 'layers/{id}', options)
|
|
404
396
|
command.response_representation = Google::Apis::MapsengineV1::Layer::Representation
|
|
405
397
|
command.response_class = Google::Apis::MapsengineV1::Layer
|
|
406
398
|
command.params['id'] = id unless id.nil?
|
|
@@ -436,8 +428,7 @@ module Google
|
|
|
436
428
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
437
429
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
438
430
|
def get_published_layer(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
439
|
-
|
|
440
|
-
command = make_simple_command(:get, path, options)
|
|
431
|
+
command = make_simple_command(:get, 'layers/{id}/published', options)
|
|
441
432
|
command.response_representation = Google::Apis::MapsengineV1::PublishedLayer::Representation
|
|
442
433
|
command.response_class = Google::Apis::MapsengineV1::PublishedLayer
|
|
443
434
|
command.params['id'] = id unless id.nil?
|
|
@@ -510,8 +501,7 @@ module Google
|
|
|
510
501
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
511
502
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
512
503
|
def list_layers(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
513
|
-
|
|
514
|
-
command = make_simple_command(:get, path, options)
|
|
504
|
+
command = make_simple_command(:get, 'layers', options)
|
|
515
505
|
command.response_representation = Google::Apis::MapsengineV1::ListLayersResponse::Representation
|
|
516
506
|
command.response_class = Google::Apis::MapsengineV1::ListLayersResponse
|
|
517
507
|
command.query['bbox'] = bbox unless bbox.nil?
|
|
@@ -567,9 +557,8 @@ module Google
|
|
|
567
557
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
568
558
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
569
559
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
570
|
-
def
|
|
571
|
-
|
|
572
|
-
command = make_simple_command(:get, path, options)
|
|
560
|
+
def list_published_layers(max_results: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
561
|
+
command = make_simple_command(:get, 'layers/published', options)
|
|
573
562
|
command.response_representation = Google::Apis::MapsengineV1::ListPublishedLayersResponse::Representation
|
|
574
563
|
command.response_class = Google::Apis::MapsengineV1::ListPublishedLayersResponse
|
|
575
564
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
@@ -607,8 +596,7 @@ module Google
|
|
|
607
596
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
608
597
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
609
598
|
def patch_layer(id, layer_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
610
|
-
|
|
611
|
-
command = make_simple_command(:patch, path, options)
|
|
599
|
+
command = make_simple_command(:patch, 'layers/{id}', options)
|
|
612
600
|
command.request_representation = Google::Apis::MapsengineV1::Layer::Representation
|
|
613
601
|
command.request_object = layer_object
|
|
614
602
|
command.params['id'] = id unless id.nil?
|
|
@@ -643,8 +631,7 @@ module Google
|
|
|
643
631
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
644
632
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
645
633
|
def process_layer(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
646
|
-
|
|
647
|
-
command = make_simple_command(:post, path, options)
|
|
634
|
+
command = make_simple_command(:post, 'layers/{id}/process', options)
|
|
648
635
|
command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation
|
|
649
636
|
command.response_class = Google::Apis::MapsengineV1::ProcessResponse
|
|
650
637
|
command.params['id'] = id unless id.nil?
|
|
@@ -683,8 +670,7 @@ module Google
|
|
|
683
670
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
684
671
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
685
672
|
def publish_layer(id, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
686
|
-
|
|
687
|
-
command = make_simple_command(:post, path, options)
|
|
673
|
+
command = make_simple_command(:post, 'layers/{id}/publish', options)
|
|
688
674
|
command.response_representation = Google::Apis::MapsengineV1::PublishResponse::Representation
|
|
689
675
|
command.response_class = Google::Apis::MapsengineV1::PublishResponse
|
|
690
676
|
command.params['id'] = id unless id.nil?
|
|
@@ -720,8 +706,7 @@ module Google
|
|
|
720
706
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
721
707
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
722
708
|
def unpublish_layer(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
723
|
-
|
|
724
|
-
command = make_simple_command(:post, path, options)
|
|
709
|
+
command = make_simple_command(:post, 'layers/{id}/unpublish', options)
|
|
725
710
|
command.response_representation = Google::Apis::MapsengineV1::PublishResponse::Representation
|
|
726
711
|
command.response_class = Google::Apis::MapsengineV1::PublishResponse
|
|
727
712
|
command.params['id'] = id unless id.nil?
|
|
@@ -763,8 +748,7 @@ module Google
|
|
|
763
748
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
764
749
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
765
750
|
def list_layer_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
766
|
-
|
|
767
|
-
command = make_simple_command(:get, path, options)
|
|
751
|
+
command = make_simple_command(:get, 'layers/{id}/parents', options)
|
|
768
752
|
command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation
|
|
769
753
|
command.response_class = Google::Apis::MapsengineV1::ListParentsResponse
|
|
770
754
|
command.params['id'] = id unless id.nil?
|
|
@@ -802,8 +786,7 @@ module Google
|
|
|
802
786
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
803
787
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
804
788
|
def batch_delete_layer_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
805
|
-
|
|
806
|
-
command = make_simple_command(:post, path, options)
|
|
789
|
+
command = make_simple_command(:post, 'layers/{id}/permissions/batchDelete', options)
|
|
807
790
|
command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation
|
|
808
791
|
command.request_object = batch_delete_permissions_request_object
|
|
809
792
|
command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation
|
|
@@ -843,8 +826,7 @@ module Google
|
|
|
843
826
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
844
827
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
845
828
|
def batch_update_layer_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
846
|
-
|
|
847
|
-
command = make_simple_command(:post, path, options)
|
|
829
|
+
command = make_simple_command(:post, 'layers/{id}/permissions/batchUpdate', options)
|
|
848
830
|
command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation
|
|
849
831
|
command.request_object = batch_update_permissions_request_object
|
|
850
832
|
command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation
|
|
@@ -881,8 +863,7 @@ module Google
|
|
|
881
863
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
882
864
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
883
865
|
def list_layer_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
884
|
-
|
|
885
|
-
command = make_simple_command(:get, path, options)
|
|
866
|
+
command = make_simple_command(:get, 'layers/{id}/permissions', options)
|
|
886
867
|
command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation
|
|
887
868
|
command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse
|
|
888
869
|
command.params['id'] = id unless id.nil?
|
|
@@ -916,8 +897,7 @@ module Google
|
|
|
916
897
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
917
898
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
918
899
|
def create_map(map_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
919
|
-
|
|
920
|
-
command = make_simple_command(:post, path, options)
|
|
900
|
+
command = make_simple_command(:post, 'maps', options)
|
|
921
901
|
command.request_representation = Google::Apis::MapsengineV1::Map::Representation
|
|
922
902
|
command.request_object = map_object
|
|
923
903
|
command.response_representation = Google::Apis::MapsengineV1::Map::Representation
|
|
@@ -955,8 +935,7 @@ module Google
|
|
|
955
935
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
956
936
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
957
937
|
def delete_map(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
958
|
-
|
|
959
|
-
command = make_simple_command(:delete, path, options)
|
|
938
|
+
command = make_simple_command(:delete, 'maps/{id}', options)
|
|
960
939
|
command.params['id'] = id unless id.nil?
|
|
961
940
|
command.query['fields'] = fields unless fields.nil?
|
|
962
941
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -993,8 +972,7 @@ module Google
|
|
|
993
972
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
994
973
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
995
974
|
def get_map(id, version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
996
|
-
|
|
997
|
-
command = make_simple_command(:get, path, options)
|
|
975
|
+
command = make_simple_command(:get, 'maps/{id}', options)
|
|
998
976
|
command.response_representation = Google::Apis::MapsengineV1::Map::Representation
|
|
999
977
|
command.response_class = Google::Apis::MapsengineV1::Map
|
|
1000
978
|
command.params['id'] = id unless id.nil?
|
|
@@ -1030,8 +1008,7 @@ module Google
|
|
|
1030
1008
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1031
1009
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1032
1010
|
def get_published_map(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1033
|
-
|
|
1034
|
-
command = make_simple_command(:get, path, options)
|
|
1011
|
+
command = make_simple_command(:get, 'maps/{id}/published', options)
|
|
1035
1012
|
command.response_representation = Google::Apis::MapsengineV1::PublishedMap::Representation
|
|
1036
1013
|
command.response_class = Google::Apis::MapsengineV1::PublishedMap
|
|
1037
1014
|
command.params['id'] = id unless id.nil?
|
|
@@ -1104,8 +1081,7 @@ module Google
|
|
|
1104
1081
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1105
1082
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1106
1083
|
def list_maps(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1107
|
-
|
|
1108
|
-
command = make_simple_command(:get, path, options)
|
|
1084
|
+
command = make_simple_command(:get, 'maps', options)
|
|
1109
1085
|
command.response_representation = Google::Apis::MapsengineV1::ListMapsResponse::Representation
|
|
1110
1086
|
command.response_class = Google::Apis::MapsengineV1::ListMapsResponse
|
|
1111
1087
|
command.query['bbox'] = bbox unless bbox.nil?
|
|
@@ -1161,9 +1137,8 @@ module Google
|
|
|
1161
1137
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1162
1138
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1163
1139
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1164
|
-
def
|
|
1165
|
-
|
|
1166
|
-
command = make_simple_command(:get, path, options)
|
|
1140
|
+
def list_map_published(max_results: nil, page_token: nil, project_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1141
|
+
command = make_simple_command(:get, 'maps/published', options)
|
|
1167
1142
|
command.response_representation = Google::Apis::MapsengineV1::ListPublishedMapsResponse::Representation
|
|
1168
1143
|
command.response_class = Google::Apis::MapsengineV1::ListPublishedMapsResponse
|
|
1169
1144
|
command.query['maxResults'] = max_results unless max_results.nil?
|
|
@@ -1201,8 +1176,7 @@ module Google
|
|
|
1201
1176
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1202
1177
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1203
1178
|
def patch_map(id, map_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1204
|
-
|
|
1205
|
-
command = make_simple_command(:patch, path, options)
|
|
1179
|
+
command = make_simple_command(:patch, 'maps/{id}', options)
|
|
1206
1180
|
command.request_representation = Google::Apis::MapsengineV1::Map::Representation
|
|
1207
1181
|
command.request_object = map_object
|
|
1208
1182
|
command.params['id'] = id unless id.nil?
|
|
@@ -1241,8 +1215,7 @@ module Google
|
|
|
1241
1215
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1242
1216
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1243
1217
|
def publish_map(id, force: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1244
|
-
|
|
1245
|
-
command = make_simple_command(:post, path, options)
|
|
1218
|
+
command = make_simple_command(:post, 'maps/{id}/publish', options)
|
|
1246
1219
|
command.response_representation = Google::Apis::MapsengineV1::PublishResponse::Representation
|
|
1247
1220
|
command.response_class = Google::Apis::MapsengineV1::PublishResponse
|
|
1248
1221
|
command.params['id'] = id unless id.nil?
|
|
@@ -1278,8 +1251,7 @@ module Google
|
|
|
1278
1251
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1279
1252
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1280
1253
|
def unpublish_map(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1281
|
-
|
|
1282
|
-
command = make_simple_command(:post, path, options)
|
|
1254
|
+
command = make_simple_command(:post, 'maps/{id}/unpublish', options)
|
|
1283
1255
|
command.response_representation = Google::Apis::MapsengineV1::PublishResponse::Representation
|
|
1284
1256
|
command.response_class = Google::Apis::MapsengineV1::PublishResponse
|
|
1285
1257
|
command.params['id'] = id unless id.nil?
|
|
@@ -1315,8 +1287,7 @@ module Google
|
|
|
1315
1287
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1316
1288
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1317
1289
|
def batch_delete_map_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1318
|
-
|
|
1319
|
-
command = make_simple_command(:post, path, options)
|
|
1290
|
+
command = make_simple_command(:post, 'maps/{id}/permissions/batchDelete', options)
|
|
1320
1291
|
command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation
|
|
1321
1292
|
command.request_object = batch_delete_permissions_request_object
|
|
1322
1293
|
command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation
|
|
@@ -1356,8 +1327,7 @@ module Google
|
|
|
1356
1327
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1357
1328
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1358
1329
|
def batch_update_map_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1359
|
-
|
|
1360
|
-
command = make_simple_command(:post, path, options)
|
|
1330
|
+
command = make_simple_command(:post, 'maps/{id}/permissions/batchUpdate', options)
|
|
1361
1331
|
command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation
|
|
1362
1332
|
command.request_object = batch_update_permissions_request_object
|
|
1363
1333
|
command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation
|
|
@@ -1394,8 +1364,7 @@ module Google
|
|
|
1394
1364
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1395
1365
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1396
1366
|
def list_map_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1397
|
-
|
|
1398
|
-
command = make_simple_command(:get, path, options)
|
|
1367
|
+
command = make_simple_command(:get, 'maps/{id}/permissions', options)
|
|
1399
1368
|
command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation
|
|
1400
1369
|
command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse
|
|
1401
1370
|
command.params['id'] = id unless id.nil?
|
|
@@ -1428,8 +1397,7 @@ module Google
|
|
|
1428
1397
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1429
1398
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1430
1399
|
def list_projects(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1431
|
-
|
|
1432
|
-
command = make_simple_command(:get, path, options)
|
|
1400
|
+
command = make_simple_command(:get, 'projects', options)
|
|
1433
1401
|
command.response_representation = Google::Apis::MapsengineV1::ListProjectsResponse::Representation
|
|
1434
1402
|
command.response_class = Google::Apis::MapsengineV1::ListProjectsResponse
|
|
1435
1403
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -1468,11 +1436,10 @@ module Google
|
|
|
1468
1436
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1469
1437
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1470
1438
|
def create_project_icon(project_id, icon_object = nil, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
1471
|
-
path = 'projects/{projectId}/icons'
|
|
1472
1439
|
if upload_source.nil?
|
|
1473
|
-
command = make_simple_command(:post,
|
|
1440
|
+
command = make_simple_command(:post, 'projects/{projectId}/icons', options)
|
|
1474
1441
|
else
|
|
1475
|
-
command = make_upload_command(:post,
|
|
1442
|
+
command = make_upload_command(:post, 'projects/{projectId}/icons', options)
|
|
1476
1443
|
command.upload_source = upload_source
|
|
1477
1444
|
command.upload_content_type = content_type
|
|
1478
1445
|
end
|
|
@@ -1516,11 +1483,10 @@ module Google
|
|
|
1516
1483
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1517
1484
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1518
1485
|
def get_project_icon(project_id, id, fields: nil, quota_user: nil, user_ip: nil, download_dest: nil, options: nil, &block)
|
|
1519
|
-
path = 'projects/{projectId}/icons/{id}'
|
|
1520
1486
|
if download_dest.nil?
|
|
1521
|
-
command = make_simple_command(:get,
|
|
1487
|
+
command = make_simple_command(:get, 'projects/{projectId}/icons/{id}', options)
|
|
1522
1488
|
else
|
|
1523
|
-
command = make_download_command(:get,
|
|
1489
|
+
command = make_download_command(:get, 'projects/{projectId}/icons/{id}', options)
|
|
1524
1490
|
command.download_dest = download_dest
|
|
1525
1491
|
end
|
|
1526
1492
|
command.response_representation = Google::Apis::MapsengineV1::Icon::Representation
|
|
@@ -1565,8 +1531,7 @@ module Google
|
|
|
1565
1531
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1566
1532
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1567
1533
|
def list_project_icons(project_id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1568
|
-
|
|
1569
|
-
command = make_simple_command(:get, path, options)
|
|
1534
|
+
command = make_simple_command(:get, 'projects/{projectId}/icons', options)
|
|
1570
1535
|
command.response_representation = Google::Apis::MapsengineV1::ListIconsResponse::Representation
|
|
1571
1536
|
command.response_class = Google::Apis::MapsengineV1::ListIconsResponse
|
|
1572
1537
|
command.params['projectId'] = project_id unless project_id.nil?
|
|
@@ -1602,9 +1567,8 @@ module Google
|
|
|
1602
1567
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1603
1568
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1604
1569
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1605
|
-
def
|
|
1606
|
-
|
|
1607
|
-
command = make_simple_command(:post, path, options)
|
|
1570
|
+
def cancel_raster_collection_processing(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1571
|
+
command = make_simple_command(:post, 'rasterCollections/{id}/cancelProcessing', options)
|
|
1608
1572
|
command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation
|
|
1609
1573
|
command.response_class = Google::Apis::MapsengineV1::ProcessResponse
|
|
1610
1574
|
command.params['id'] = id unless id.nil?
|
|
@@ -1638,8 +1602,7 @@ module Google
|
|
|
1638
1602
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1639
1603
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1640
1604
|
def create_raster_collection(raster_collection_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1641
|
-
|
|
1642
|
-
command = make_simple_command(:post, path, options)
|
|
1605
|
+
command = make_simple_command(:post, 'rasterCollections', options)
|
|
1643
1606
|
command.request_representation = Google::Apis::MapsengineV1::RasterCollection::Representation
|
|
1644
1607
|
command.request_object = raster_collection_object
|
|
1645
1608
|
command.response_representation = Google::Apis::MapsengineV1::RasterCollection::Representation
|
|
@@ -1678,8 +1641,7 @@ module Google
|
|
|
1678
1641
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1679
1642
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1680
1643
|
def delete_raster_collection(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1681
|
-
|
|
1682
|
-
command = make_simple_command(:delete, path, options)
|
|
1644
|
+
command = make_simple_command(:delete, 'rasterCollections/{id}', options)
|
|
1683
1645
|
command.params['id'] = id unless id.nil?
|
|
1684
1646
|
command.query['fields'] = fields unless fields.nil?
|
|
1685
1647
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -1712,8 +1674,7 @@ module Google
|
|
|
1712
1674
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1713
1675
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1714
1676
|
def get_raster_collection(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1715
|
-
|
|
1716
|
-
command = make_simple_command(:get, path, options)
|
|
1677
|
+
command = make_simple_command(:get, 'rasterCollections/{id}', options)
|
|
1717
1678
|
command.response_representation = Google::Apis::MapsengineV1::RasterCollection::Representation
|
|
1718
1679
|
command.response_class = Google::Apis::MapsengineV1::RasterCollection
|
|
1719
1680
|
command.params['id'] = id unless id.nil?
|
|
@@ -1786,8 +1747,7 @@ module Google
|
|
|
1786
1747
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1787
1748
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1788
1749
|
def list_raster_collections(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1789
|
-
|
|
1790
|
-
command = make_simple_command(:get, path, options)
|
|
1750
|
+
command = make_simple_command(:get, 'rasterCollections', options)
|
|
1791
1751
|
command.response_representation = Google::Apis::MapsengineV1::ListRasterCollectionsResponse::Representation
|
|
1792
1752
|
command.response_class = Google::Apis::MapsengineV1::ListRasterCollectionsResponse
|
|
1793
1753
|
command.query['bbox'] = bbox unless bbox.nil?
|
|
@@ -1835,8 +1795,7 @@ module Google
|
|
|
1835
1795
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1836
1796
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1837
1797
|
def patch_raster_collection(id, raster_collection_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1838
|
-
|
|
1839
|
-
command = make_simple_command(:patch, path, options)
|
|
1798
|
+
command = make_simple_command(:patch, 'rasterCollections/{id}', options)
|
|
1840
1799
|
command.request_representation = Google::Apis::MapsengineV1::RasterCollection::Representation
|
|
1841
1800
|
command.request_object = raster_collection_object
|
|
1842
1801
|
command.params['id'] = id unless id.nil?
|
|
@@ -1871,8 +1830,7 @@ module Google
|
|
|
1871
1830
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1872
1831
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1873
1832
|
def process_raster_collection(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1874
|
-
|
|
1875
|
-
command = make_simple_command(:post, path, options)
|
|
1833
|
+
command = make_simple_command(:post, 'rasterCollections/{id}/process', options)
|
|
1876
1834
|
command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation
|
|
1877
1835
|
command.response_class = Google::Apis::MapsengineV1::ProcessResponse
|
|
1878
1836
|
command.params['id'] = id unless id.nil?
|
|
@@ -1914,8 +1872,7 @@ module Google
|
|
|
1914
1872
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1915
1873
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1916
1874
|
def list_raster_collection_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1917
|
-
|
|
1918
|
-
command = make_simple_command(:get, path, options)
|
|
1875
|
+
command = make_simple_command(:get, 'rasterCollections/{id}/parents', options)
|
|
1919
1876
|
command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation
|
|
1920
1877
|
command.response_class = Google::Apis::MapsengineV1::ListParentsResponse
|
|
1921
1878
|
command.params['id'] = id unless id.nil?
|
|
@@ -1953,8 +1910,7 @@ module Google
|
|
|
1953
1910
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1954
1911
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1955
1912
|
def batch_delete_raster_collection_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1956
|
-
|
|
1957
|
-
command = make_simple_command(:post, path, options)
|
|
1913
|
+
command = make_simple_command(:post, 'rasterCollections/{id}/permissions/batchDelete', options)
|
|
1958
1914
|
command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation
|
|
1959
1915
|
command.request_object = batch_delete_permissions_request_object
|
|
1960
1916
|
command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation
|
|
@@ -1994,8 +1950,7 @@ module Google
|
|
|
1994
1950
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1995
1951
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1996
1952
|
def batch_update_raster_collection_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
1997
|
-
|
|
1998
|
-
command = make_simple_command(:post, path, options)
|
|
1953
|
+
command = make_simple_command(:post, 'rasterCollections/{id}/permissions/batchUpdate', options)
|
|
1999
1954
|
command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation
|
|
2000
1955
|
command.request_object = batch_update_permissions_request_object
|
|
2001
1956
|
command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation
|
|
@@ -2032,8 +1987,7 @@ module Google
|
|
|
2032
1987
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2033
1988
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2034
1989
|
def list_raster_collection_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2035
|
-
|
|
2036
|
-
command = make_simple_command(:get, path, options)
|
|
1990
|
+
command = make_simple_command(:get, 'rasterCollections/{id}/permissions', options)
|
|
2037
1991
|
command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation
|
|
2038
1992
|
command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse
|
|
2039
1993
|
command.params['id'] = id unless id.nil?
|
|
@@ -2071,8 +2025,7 @@ module Google
|
|
|
2071
2025
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2072
2026
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2073
2027
|
def batch_delete_raster_collection_raster(id, batch_delete_raster_collections_raster_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2074
|
-
|
|
2075
|
-
command = make_simple_command(:post, path, options)
|
|
2028
|
+
command = make_simple_command(:post, 'rasterCollections/{id}/rasters/batchDelete', options)
|
|
2076
2029
|
command.request_representation = Google::Apis::MapsengineV1::BatchDeleteRasterCollectionsRasterRequest::Representation
|
|
2077
2030
|
command.request_object = batch_delete_raster_collections_raster_request_object
|
|
2078
2031
|
command.response_representation = Google::Apis::MapsengineV1::BatchDeleteRasterCollectionsRastersResponse::Representation
|
|
@@ -2113,8 +2066,7 @@ module Google
|
|
|
2113
2066
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2114
2067
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2115
2068
|
def batch_insert_raster_collection_raster(id, batch_insert_raster_collections_rasters_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2116
|
-
|
|
2117
|
-
command = make_simple_command(:post, path, options)
|
|
2069
|
+
command = make_simple_command(:post, 'rasterCollections/{id}/rasters/batchInsert', options)
|
|
2118
2070
|
command.request_representation = Google::Apis::MapsengineV1::BatchInsertRasterCollectionsRastersRequest::Representation
|
|
2119
2071
|
command.request_object = batch_insert_raster_collections_rasters_request_object
|
|
2120
2072
|
command.response_representation = Google::Apis::MapsengineV1::BatchInsertRasterCollectionsRastersResponse::Representation
|
|
@@ -2185,8 +2137,7 @@ module Google
|
|
|
2185
2137
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2186
2138
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2187
2139
|
def list_raster_collection_rasters(id, bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2188
|
-
|
|
2189
|
-
command = make_simple_command(:get, path, options)
|
|
2140
|
+
command = make_simple_command(:get, 'rasterCollections/{id}/rasters', options)
|
|
2190
2141
|
command.response_representation = Google::Apis::MapsengineV1::ListRasterCollectionsRastersResponse::Representation
|
|
2191
2142
|
command.response_class = Google::Apis::MapsengineV1::ListRasterCollectionsRastersResponse
|
|
2192
2143
|
command.params['id'] = id unless id.nil?
|
|
@@ -2234,8 +2185,7 @@ module Google
|
|
|
2234
2185
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2235
2186
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2236
2187
|
def delete_raster(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2237
|
-
|
|
2238
|
-
command = make_simple_command(:delete, path, options)
|
|
2188
|
+
command = make_simple_command(:delete, 'rasters/{id}', options)
|
|
2239
2189
|
command.params['id'] = id unless id.nil?
|
|
2240
2190
|
command.query['fields'] = fields unless fields.nil?
|
|
2241
2191
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -2268,8 +2218,7 @@ module Google
|
|
|
2268
2218
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2269
2219
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2270
2220
|
def get_raster(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2271
|
-
|
|
2272
|
-
command = make_simple_command(:get, path, options)
|
|
2221
|
+
command = make_simple_command(:get, 'rasters/{id}', options)
|
|
2273
2222
|
command.response_representation = Google::Apis::MapsengineV1::Raster::Representation
|
|
2274
2223
|
command.response_class = Google::Apis::MapsengineV1::Raster
|
|
2275
2224
|
command.params['id'] = id unless id.nil?
|
|
@@ -2342,8 +2291,7 @@ module Google
|
|
|
2342
2291
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2343
2292
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2344
2293
|
def list_rasters(project_id, bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2345
|
-
|
|
2346
|
-
command = make_simple_command(:get, path, options)
|
|
2294
|
+
command = make_simple_command(:get, 'rasters', options)
|
|
2347
2295
|
command.response_representation = Google::Apis::MapsengineV1::ListRastersResponse::Representation
|
|
2348
2296
|
command.response_class = Google::Apis::MapsengineV1::ListRastersResponse
|
|
2349
2297
|
command.query['bbox'] = bbox unless bbox.nil?
|
|
@@ -2391,8 +2339,7 @@ module Google
|
|
|
2391
2339
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2392
2340
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2393
2341
|
def patch_raster(id, raster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2394
|
-
|
|
2395
|
-
command = make_simple_command(:patch, path, options)
|
|
2342
|
+
command = make_simple_command(:patch, 'rasters/{id}', options)
|
|
2396
2343
|
command.request_representation = Google::Apis::MapsengineV1::Raster::Representation
|
|
2397
2344
|
command.request_object = raster_object
|
|
2398
2345
|
command.params['id'] = id unless id.nil?
|
|
@@ -2427,8 +2374,7 @@ module Google
|
|
|
2427
2374
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2428
2375
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2429
2376
|
def process_raster(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2430
|
-
|
|
2431
|
-
command = make_simple_command(:post, path, options)
|
|
2377
|
+
command = make_simple_command(:post, 'rasters/{id}/process', options)
|
|
2432
2378
|
command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation
|
|
2433
2379
|
command.response_class = Google::Apis::MapsengineV1::ProcessResponse
|
|
2434
2380
|
command.params['id'] = id unless id.nil?
|
|
@@ -2462,8 +2408,7 @@ module Google
|
|
|
2462
2408
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2463
2409
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2464
2410
|
def upload_raster(raster_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2465
|
-
|
|
2466
|
-
command = make_simple_command(:post, path, options)
|
|
2411
|
+
command = make_simple_command(:post, 'rasters/upload', options)
|
|
2467
2412
|
command.request_representation = Google::Apis::MapsengineV1::Raster::Representation
|
|
2468
2413
|
command.request_object = raster_object
|
|
2469
2414
|
command.response_representation = Google::Apis::MapsengineV1::Raster::Representation
|
|
@@ -2505,11 +2450,10 @@ module Google
|
|
|
2505
2450
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2506
2451
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2507
2452
|
def insert_raster_file(id, filename, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
2508
|
-
path = 'rasters/{id}/files'
|
|
2509
2453
|
if upload_source.nil?
|
|
2510
|
-
command = make_simple_command(:post,
|
|
2454
|
+
command = make_simple_command(:post, 'rasters/{id}/files', options)
|
|
2511
2455
|
else
|
|
2512
|
-
command = make_upload_command(:post,
|
|
2456
|
+
command = make_upload_command(:post, 'rasters/{id}/files', options)
|
|
2513
2457
|
command.upload_source = upload_source
|
|
2514
2458
|
command.upload_content_type = content_type
|
|
2515
2459
|
end
|
|
@@ -2553,8 +2497,7 @@ module Google
|
|
|
2553
2497
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2554
2498
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2555
2499
|
def list_raster_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2556
|
-
|
|
2557
|
-
command = make_simple_command(:get, path, options)
|
|
2500
|
+
command = make_simple_command(:get, 'rasters/{id}/parents', options)
|
|
2558
2501
|
command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation
|
|
2559
2502
|
command.response_class = Google::Apis::MapsengineV1::ListParentsResponse
|
|
2560
2503
|
command.params['id'] = id unless id.nil?
|
|
@@ -2592,8 +2535,7 @@ module Google
|
|
|
2592
2535
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2593
2536
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2594
2537
|
def batch_delete_raster_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2595
|
-
|
|
2596
|
-
command = make_simple_command(:post, path, options)
|
|
2538
|
+
command = make_simple_command(:post, 'rasters/{id}/permissions/batchDelete', options)
|
|
2597
2539
|
command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation
|
|
2598
2540
|
command.request_object = batch_delete_permissions_request_object
|
|
2599
2541
|
command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation
|
|
@@ -2633,8 +2575,7 @@ module Google
|
|
|
2633
2575
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2634
2576
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2635
2577
|
def batch_update_raster_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2636
|
-
|
|
2637
|
-
command = make_simple_command(:post, path, options)
|
|
2578
|
+
command = make_simple_command(:post, 'rasters/{id}/permissions/batchUpdate', options)
|
|
2638
2579
|
command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation
|
|
2639
2580
|
command.request_object = batch_update_permissions_request_object
|
|
2640
2581
|
command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation
|
|
@@ -2671,8 +2612,7 @@ module Google
|
|
|
2671
2612
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2672
2613
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2673
2614
|
def list_raster_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2674
|
-
|
|
2675
|
-
command = make_simple_command(:get, path, options)
|
|
2615
|
+
command = make_simple_command(:get, 'rasters/{id}/permissions', options)
|
|
2676
2616
|
command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation
|
|
2677
2617
|
command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse
|
|
2678
2618
|
command.params['id'] = id unless id.nil?
|
|
@@ -2706,8 +2646,7 @@ module Google
|
|
|
2706
2646
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2707
2647
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2708
2648
|
def create_table(table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2709
|
-
|
|
2710
|
-
command = make_simple_command(:post, path, options)
|
|
2649
|
+
command = make_simple_command(:post, 'tables', options)
|
|
2711
2650
|
command.request_representation = Google::Apis::MapsengineV1::Table::Representation
|
|
2712
2651
|
command.request_object = table_object
|
|
2713
2652
|
command.response_representation = Google::Apis::MapsengineV1::Table::Representation
|
|
@@ -2745,8 +2684,7 @@ module Google
|
|
|
2745
2684
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2746
2685
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2747
2686
|
def delete_table(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2748
|
-
|
|
2749
|
-
command = make_simple_command(:delete, path, options)
|
|
2687
|
+
command = make_simple_command(:delete, 'tables/{id}', options)
|
|
2750
2688
|
command.params['id'] = id unless id.nil?
|
|
2751
2689
|
command.query['fields'] = fields unless fields.nil?
|
|
2752
2690
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
@@ -2780,8 +2718,7 @@ module Google
|
|
|
2780
2718
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2781
2719
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2782
2720
|
def get_table(id, version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2783
|
-
|
|
2784
|
-
command = make_simple_command(:get, path, options)
|
|
2721
|
+
command = make_simple_command(:get, 'tables/{id}', options)
|
|
2785
2722
|
command.response_representation = Google::Apis::MapsengineV1::Table::Representation
|
|
2786
2723
|
command.response_class = Google::Apis::MapsengineV1::Table
|
|
2787
2724
|
command.params['id'] = id unless id.nil?
|
|
@@ -2855,8 +2792,7 @@ module Google
|
|
|
2855
2792
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2856
2793
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2857
2794
|
def list_tables(bbox: nil, created_after: nil, created_before: nil, creator_email: nil, max_results: nil, modified_after: nil, modified_before: nil, page_token: nil, processing_status: nil, project_id: nil, role: nil, search: nil, tags: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2858
|
-
|
|
2859
|
-
command = make_simple_command(:get, path, options)
|
|
2795
|
+
command = make_simple_command(:get, 'tables', options)
|
|
2860
2796
|
command.response_representation = Google::Apis::MapsengineV1::ListTablesResponse::Representation
|
|
2861
2797
|
command.response_class = Google::Apis::MapsengineV1::ListTablesResponse
|
|
2862
2798
|
command.query['bbox'] = bbox unless bbox.nil?
|
|
@@ -2904,8 +2840,7 @@ module Google
|
|
|
2904
2840
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2905
2841
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2906
2842
|
def patch_table(id, table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2907
|
-
|
|
2908
|
-
command = make_simple_command(:patch, path, options)
|
|
2843
|
+
command = make_simple_command(:patch, 'tables/{id}', options)
|
|
2909
2844
|
command.request_representation = Google::Apis::MapsengineV1::Table::Representation
|
|
2910
2845
|
command.request_object = table_object
|
|
2911
2846
|
command.params['id'] = id unless id.nil?
|
|
@@ -2940,8 +2875,7 @@ module Google
|
|
|
2940
2875
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2941
2876
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2942
2877
|
def process_table(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2943
|
-
|
|
2944
|
-
command = make_simple_command(:post, path, options)
|
|
2878
|
+
command = make_simple_command(:post, 'tables/{id}/process', options)
|
|
2945
2879
|
command.response_representation = Google::Apis::MapsengineV1::ProcessResponse::Representation
|
|
2946
2880
|
command.response_class = Google::Apis::MapsengineV1::ProcessResponse
|
|
2947
2881
|
command.params['id'] = id unless id.nil?
|
|
@@ -2979,8 +2913,7 @@ module Google
|
|
|
2979
2913
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
2980
2914
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
2981
2915
|
def upload_table(table_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
2982
|
-
|
|
2983
|
-
command = make_simple_command(:post, path, options)
|
|
2916
|
+
command = make_simple_command(:post, 'tables/upload', options)
|
|
2984
2917
|
command.request_representation = Google::Apis::MapsengineV1::Table::Representation
|
|
2985
2918
|
command.request_object = table_object
|
|
2986
2919
|
command.response_representation = Google::Apis::MapsengineV1::Table::Representation
|
|
@@ -3017,8 +2950,7 @@ module Google
|
|
|
3017
2950
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3018
2951
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3019
2952
|
def batch_delete_table_feature(id, batch_delete_features_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3020
|
-
|
|
3021
|
-
command = make_simple_command(:post, path, options)
|
|
2953
|
+
command = make_simple_command(:post, 'tables/{id}/features/batchDelete', options)
|
|
3022
2954
|
command.request_representation = Google::Apis::MapsengineV1::BatchDeleteFeaturesRequest::Representation
|
|
3023
2955
|
command.request_object = batch_delete_features_request_object
|
|
3024
2956
|
command.params['id'] = id unless id.nil?
|
|
@@ -3062,8 +2994,7 @@ module Google
|
|
|
3062
2994
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3063
2995
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3064
2996
|
def batch_insert_table_feature(id, batch_insert_features_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3065
|
-
|
|
3066
|
-
command = make_simple_command(:post, path, options)
|
|
2997
|
+
command = make_simple_command(:post, 'tables/{id}/features/batchInsert', options)
|
|
3067
2998
|
command.request_representation = Google::Apis::MapsengineV1::BatchInsertFeaturesRequest::Representation
|
|
3068
2999
|
command.request_object = batch_insert_features_request_object
|
|
3069
3000
|
command.params['id'] = id unless id.nil?
|
|
@@ -3114,8 +3045,7 @@ module Google
|
|
|
3114
3045
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3115
3046
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3116
3047
|
def batch_patch_table_feature(id, batch_patch_features_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3117
|
-
|
|
3118
|
-
command = make_simple_command(:post, path, options)
|
|
3048
|
+
command = make_simple_command(:post, 'tables/{id}/features/batchPatch', options)
|
|
3119
3049
|
command.request_representation = Google::Apis::MapsengineV1::BatchPatchFeaturesRequest::Representation
|
|
3120
3050
|
command.request_object = batch_patch_features_request_object
|
|
3121
3051
|
command.params['id'] = id unless id.nil?
|
|
@@ -3157,8 +3087,7 @@ module Google
|
|
|
3157
3087
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3158
3088
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3159
3089
|
def get_table_feature(table_id, id, select: nil, version: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3160
|
-
|
|
3161
|
-
command = make_simple_command(:get, path, options)
|
|
3090
|
+
command = make_simple_command(:get, 'tables/{tableId}/features/{id}', options)
|
|
3162
3091
|
command.response_representation = Google::Apis::MapsengineV1::Feature::Representation
|
|
3163
3092
|
command.response_class = Google::Apis::MapsengineV1::Feature
|
|
3164
3093
|
command.params['tableId'] = table_id unless table_id.nil?
|
|
@@ -3221,8 +3150,7 @@ module Google
|
|
|
3221
3150
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3222
3151
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3223
3152
|
def list_table_features(id, include: nil, intersects: nil, limit: nil, max_results: nil, order_by: nil, page_token: nil, select: nil, version: nil, where: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3224
|
-
|
|
3225
|
-
command = make_simple_command(:get, path, options)
|
|
3153
|
+
command = make_simple_command(:get, 'tables/{id}/features', options)
|
|
3226
3154
|
command.response_representation = Google::Apis::MapsengineV1::ListFeaturesResponse::Representation
|
|
3227
3155
|
command.response_class = Google::Apis::MapsengineV1::ListFeaturesResponse
|
|
3228
3156
|
command.params['id'] = id unless id.nil?
|
|
@@ -3275,11 +3203,10 @@ module Google
|
|
|
3275
3203
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3276
3204
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3277
3205
|
def insert_table_file(id, filename, fields: nil, quota_user: nil, user_ip: nil, upload_source: nil, content_type: nil, options: nil, &block)
|
|
3278
|
-
path = 'tables/{id}/files'
|
|
3279
3206
|
if upload_source.nil?
|
|
3280
|
-
command = make_simple_command(:post,
|
|
3207
|
+
command = make_simple_command(:post, 'tables/{id}/files', options)
|
|
3281
3208
|
else
|
|
3282
|
-
command = make_upload_command(:post,
|
|
3209
|
+
command = make_upload_command(:post, 'tables/{id}/files', options)
|
|
3283
3210
|
command.upload_source = upload_source
|
|
3284
3211
|
command.upload_content_type = content_type
|
|
3285
3212
|
end
|
|
@@ -3323,8 +3250,7 @@ module Google
|
|
|
3323
3250
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3324
3251
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3325
3252
|
def list_table_parents(id, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3326
|
-
|
|
3327
|
-
command = make_simple_command(:get, path, options)
|
|
3253
|
+
command = make_simple_command(:get, 'tables/{id}/parents', options)
|
|
3328
3254
|
command.response_representation = Google::Apis::MapsengineV1::ListParentsResponse::Representation
|
|
3329
3255
|
command.response_class = Google::Apis::MapsengineV1::ListParentsResponse
|
|
3330
3256
|
command.params['id'] = id unless id.nil?
|
|
@@ -3362,8 +3288,7 @@ module Google
|
|
|
3362
3288
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3363
3289
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3364
3290
|
def batch_delete_table_permission(id, batch_delete_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3365
|
-
|
|
3366
|
-
command = make_simple_command(:post, path, options)
|
|
3291
|
+
command = make_simple_command(:post, 'tables/{id}/permissions/batchDelete', options)
|
|
3367
3292
|
command.request_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsRequest::Representation
|
|
3368
3293
|
command.request_object = batch_delete_permissions_request_object
|
|
3369
3294
|
command.response_representation = Google::Apis::MapsengineV1::BatchDeletePermissionsResponse::Representation
|
|
@@ -3403,8 +3328,7 @@ module Google
|
|
|
3403
3328
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3404
3329
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3405
3330
|
def batch_update_table_permission(id, batch_update_permissions_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3406
|
-
|
|
3407
|
-
command = make_simple_command(:post, path, options)
|
|
3331
|
+
command = make_simple_command(:post, 'tables/{id}/permissions/batchUpdate', options)
|
|
3408
3332
|
command.request_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsRequest::Representation
|
|
3409
3333
|
command.request_object = batch_update_permissions_request_object
|
|
3410
3334
|
command.response_representation = Google::Apis::MapsengineV1::BatchUpdatePermissionsResponse::Representation
|
|
@@ -3441,8 +3365,7 @@ module Google
|
|
|
3441
3365
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
3442
3366
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
3443
3367
|
def list_table_permissions(id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
|
3444
|
-
|
|
3445
|
-
command = make_simple_command(:get, path, options)
|
|
3368
|
+
command = make_simple_command(:get, 'tables/{id}/permissions', options)
|
|
3446
3369
|
command.response_representation = Google::Apis::MapsengineV1::ListPermissionsResponse::Representation
|
|
3447
3370
|
command.response_class = Google::Apis::MapsengineV1::ListPermissionsResponse
|
|
3448
3371
|
command.params['id'] = id unless id.nil?
|