google-api-client 0.9.8 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +15 -8
- data/CHANGELOG.md +84 -0
- data/Gemfile +10 -2
- data/README.md +10 -2
- data/api_names.yaml +37172 -135
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +35 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1200 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +526 -0
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +844 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +310 -28
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +84 -0
- data/generated/google/apis/adexchangebuyer_v1_4/service.rb +60 -8
- data/generated/google/apis/adexchangeseller_v2_0.rb +2 -3
- data/generated/google/apis/adexchangeseller_v2_0/service.rb +1 -2
- data/generated/google/apis/admin_directory_v1.rb +1 -1
- data/generated/google/apis/admin_directory_v1/classes.rb +206 -0
- data/generated/google/apis/admin_directory_v1/representations.rb +63 -0
- data/generated/google/apis/admin_directory_v1/service.rb +41 -2
- data/generated/google/apis/admin_reports_v1.rb +5 -5
- data/generated/google/apis/admin_reports_v1/service.rb +6 -6
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/classes.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1/classes.rb +1 -2
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +379 -3
- data/generated/google/apis/analytics_v3/representations.rb +136 -0
- data/generated/google/apis/analytics_v3/service.rb +256 -0
- data/generated/google/apis/analyticsreporting_v4.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4/classes.rb +858 -823
- data/generated/google/apis/analyticsreporting_v4/representations.rb +194 -193
- data/generated/google/apis/analyticsreporting_v4/service.rb +4 -4
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +913 -220
- data/generated/google/apis/androidenterprise_v1/representations.rb +337 -30
- data/generated/google/apis/androidenterprise_v1/service.rb +1163 -561
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +230 -8
- data/generated/google/apis/androidpublisher_v2/representations.rb +90 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +116 -3
- data/generated/google/apis/appengine_v1beta5.rb +7 -1
- data/generated/google/apis/appengine_v1beta5/classes.rb +810 -395
- data/generated/google/apis/appengine_v1beta5/representations.rb +188 -22
- data/generated/google/apis/appengine_v1beta5/service.rb +343 -39
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- data/generated/google/apis/appsactivity_v1/classes.rb +7 -0
- data/generated/google/apis/appsactivity_v1/representations.rb +1 -0
- data/generated/google/apis/appsactivity_v1/service.rb +1 -1
- data/generated/google/apis/appstate_v1.rb +1 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +360 -38
- data/generated/google/apis/bigquery_v2/representations.rb +106 -0
- data/generated/google/apis/bigquery_v2/service.rb +18 -4
- data/generated/google/apis/books_v1.rb +2 -2
- data/generated/google/apis/books_v1/classes.rb +83 -0
- data/generated/google/apis/books_v1/representations.rb +35 -0
- data/generated/google/apis/books_v1/service.rb +7 -3
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +208 -5
- data/generated/google/apis/calendar_v3/representations.rb +97 -0
- data/generated/google/apis/civicinfo_v2.rb +3 -2
- data/generated/google/apis/civicinfo_v2/classes.rb +377 -5
- data/generated/google/apis/civicinfo_v2/representations.rb +149 -0
- data/generated/google/apis/civicinfo_v2/service.rb +27 -6
- data/generated/google/apis/classroom_v1.rb +22 -25
- data/generated/google/apis/classroom_v1/classes.rb +998 -761
- data/generated/google/apis/classroom_v1/representations.rb +263 -198
- data/generated/google/apis/classroom_v1/service.rb +1349 -672
- data/generated/google/apis/cloudbilling_v1.rb +3 -3
- data/generated/google/apis/cloudbilling_v1/classes.rb +76 -75
- data/generated/google/apis/cloudbilling_v1/representations.rb +17 -17
- data/generated/google/apis/cloudbilling_v1/service.rb +117 -110
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudbuild_v1/classes.rb +661 -264
- data/generated/google/apis/cloudbuild_v1/representations.rb +198 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +259 -44
- data/generated/google/apis/clouddebugger_v2.rb +5 -8
- data/generated/google/apis/clouddebugger_v2/classes.rb +686 -616
- data/generated/google/apis/clouddebugger_v2/representations.rb +151 -151
- data/generated/google/apis/clouddebugger_v2/service.rb +165 -159
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1022 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1/service.rb +933 -0
- data/generated/google/apis/cloudkms_v1beta1.rb +35 -0
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +1039 -0
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +448 -0
- data/generated/google/apis/cloudkms_v1beta1/service.rb +933 -0
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1529 -167
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +491 -26
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +1593 -135
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1155 -235
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +344 -44
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +702 -310
- data/generated/google/apis/cloudtrace_v1.rb +9 -9
- data/generated/google/apis/cloudtrace_v1/classes.rb +98 -92
- data/generated/google/apis/cloudtrace_v1/representations.rb +24 -24
- data/generated/google/apis/cloudtrace_v1/service.rb +42 -37
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +7007 -3648
- data/generated/google/apis/compute_beta/representations.rb +1459 -120
- data/generated/google/apis/compute_beta/service.rb +7943 -3726
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +2567 -370
- data/generated/google/apis/compute_v1/representations.rb +855 -0
- data/generated/google/apis/compute_v1/service.rb +6388 -2908
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +287 -16
- data/generated/google/apis/container_v1/representations.rb +113 -2
- data/generated/google/apis/container_v1/service.rb +130 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +778 -10
- data/generated/google/apis/content_v2/representations.rb +339 -0
- data/generated/google/apis/content_v2/service.rb +364 -49
- data/generated/google/apis/dataflow_v1b3.rb +37 -0
- data/generated/google/apis/dataflow_v1b3/classes.rb +4941 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +2037 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +957 -0
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1235 -963
- data/generated/google/apis/dataproc_v1/representations.rb +299 -225
- data/generated/google/apis/dataproc_v1/service.rb +277 -192
- data/generated/google/apis/datastore_v1.rb +38 -0
- data/generated/google/apis/datastore_v1/classes.rb +1289 -0
- data/generated/google/apis/datastore_v1/representations.rb +572 -0
- data/generated/google/apis/datastore_v1/service.rb +259 -0
- data/generated/google/apis/datastore_v1beta3.rb +38 -0
- data/generated/google/apis/datastore_v1beta3/classes.rb +1284 -0
- data/generated/google/apis/datastore_v1beta3/representations.rb +572 -0
- data/generated/google/apis/datastore_v1beta3/service.rb +259 -0
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +436 -3
- data/generated/google/apis/deploymentmanager_v2/representations.rb +178 -0
- data/generated/google/apis/deploymentmanager_v2/service.rb +226 -61
- data/generated/google/apis/dfareporting_v2_5.rb +40 -0
- data/generated/google/apis/dfareporting_v2_5/classes.rb +11225 -0
- data/generated/google/apis/dfareporting_v2_5/representations.rb +3982 -0
- data/generated/google/apis/dfareporting_v2_5/service.rb +8755 -0
- data/generated/google/apis/dfareporting_v2_6.rb +40 -0
- data/generated/google/apis/dfareporting_v2_6/classes.rb +11586 -0
- data/generated/google/apis/dfareporting_v2_6/representations.rb +4119 -0
- data/generated/google/apis/dfareporting_v2_6/service.rb +9025 -0
- data/generated/google/apis/dfareporting_v2_7.rb +40 -0
- data/generated/google/apis/dfareporting_v2_7/classes.rb +11876 -0
- data/generated/google/apis/dfareporting_v2_7/representations.rb +4243 -0
- data/generated/google/apis/dfareporting_v2_7/service.rb +9095 -0
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +43 -0
- data/generated/google/apis/dns_v2beta1/classes.rb +915 -0
- data/generated/google/apis/dns_v2beta1/representations.rb +368 -0
- data/generated/google/apis/dns_v2beta1/service.rb +768 -0
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +79 -86
- data/generated/google/apis/doubleclickbidmanager_v1/representations.rb +25 -28
- data/generated/google/apis/doubleclickbidmanager_v1/service.rb +10 -8
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2/classes.rb +6 -4
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +595 -37
- data/generated/google/apis/drive_v2/representations.rb +140 -0
- data/generated/google/apis/drive_v2/service.rb +406 -40
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +507 -40
- data/generated/google/apis/drive_v3/representations.rb +105 -0
- data/generated/google/apis/drive_v3/service.rb +326 -29
- data/generated/google/apis/fitness_v1.rb +38 -2
- data/generated/google/apis/fitness_v1/classes.rb +65 -7
- data/generated/google/apis/fitness_v1/representations.rb +20 -0
- data/generated/google/apis/fitness_v1/service.rb +17 -18
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/classes.rb +4 -3
- data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/genomics_v1.rb +10 -12
- data/generated/google/apis/genomics_v1/classes.rb +2276 -2165
- data/generated/google/apis/genomics_v1/representations.rb +468 -496
- data/generated/google/apis/genomics_v1/service.rb +978 -882
- data/generated/google/apis/gmail_v1.rb +11 -2
- data/generated/google/apis/gmail_v1/classes.rb +655 -5
- data/generated/google/apis/gmail_v1/representations.rb +261 -0
- data/generated/google/apis/gmail_v1/service.rb +1211 -48
- data/generated/google/apis/groupssettings_v1.rb +2 -2
- data/generated/google/apis/groupssettings_v1/classes.rb +12 -0
- data/generated/google/apis/groupssettings_v1/representations.rb +2 -0
- data/generated/google/apis/iam_v1.rb +2 -2
- data/generated/google/apis/iam_v1/classes.rb +446 -368
- data/generated/google/apis/iam_v1/representations.rb +109 -91
- data/generated/google/apis/iam_v1/service.rb +249 -162
- data/generated/google/apis/identitytoolkit_v3.rb +7 -1
- data/generated/google/apis/identitytoolkit_v3/classes.rb +254 -2
- data/generated/google/apis/identitytoolkit_v3/representations.rb +38 -0
- data/generated/google/apis/kgsearch_v1.rb +2 -3
- data/generated/google/apis/kgsearch_v1/classes.rb +13 -13
- data/generated/google/apis/kgsearch_v1/representations.rb +2 -2
- data/generated/google/apis/kgsearch_v1/service.rb +26 -24
- data/generated/google/apis/language_v1beta1.rb +36 -0
- data/generated/google/apis/language_v1beta1/classes.rb +757 -0
- data/generated/google/apis/language_v1beta1/representations.rb +339 -0
- data/generated/google/apis/language_v1beta1/service.rb +185 -0
- data/generated/google/apis/licensing_v1.rb +3 -3
- data/generated/google/apis/licensing_v1/classes.rb +14 -2
- data/generated/google/apis/licensing_v1/representations.rb +2 -0
- data/generated/google/apis/licensing_v1/service.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +6 -6
- data/generated/google/apis/logging_v2beta1/classes.rb +900 -775
- data/generated/google/apis/logging_v2beta1/representations.rb +163 -142
- data/generated/google/apis/logging_v2beta1/service.rb +427 -155
- data/generated/google/apis/manufacturers_v1.rb +34 -0
- data/generated/google/apis/manufacturers_v1/classes.rb +605 -0
- data/generated/google/apis/manufacturers_v1/representations.rb +223 -0
- data/generated/google/apis/manufacturers_v1/service.rb +138 -0
- data/generated/google/apis/mirror_v1.rb +2 -2
- data/generated/google/apis/mirror_v1/service.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +45 -0
- data/generated/google/apis/monitoring_v3/classes.rb +1333 -0
- data/generated/google/apis/monitoring_v3/representations.rb +516 -0
- data/generated/google/apis/monitoring_v3/service.rb +706 -0
- data/generated/google/apis/oauth2_v2.rb +1 -1
- data/generated/google/apis/pagespeedonline_v2.rb +1 -1
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1831 -477
- data/generated/google/apis/partners_v2/representations.rb +571 -114
- data/generated/google/apis/partners_v2/service.rb +898 -167
- data/generated/google/apis/people_v1.rb +15 -16
- data/generated/google/apis/people_v1/classes.rb +1047 -859
- data/generated/google/apis/people_v1/representations.rb +252 -213
- data/generated/google/apis/people_v1/service.rb +75 -62
- data/generated/google/apis/plus_domains_v1.rb +1 -1
- data/generated/google/apis/plus_v1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
- data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +527 -456
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +101 -100
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +467 -343
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +363 -310
- data/generated/google/apis/pubsub_v1/representations.rb +76 -76
- data/generated/google/apis/pubsub_v1/service.rb +464 -335
- data/generated/google/apis/qpx_express_v1.rb +1 -1
- data/generated/google/apis/qpx_express_v1/classes.rb +6 -0
- data/generated/google/apis/qpx_express_v1/representations.rb +1 -0
- data/generated/google/apis/replicapool_v1beta2.rb +1 -1
- data/generated/google/apis/replicapoolupdater_v1beta1.rb +4 -2
- data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +3 -1
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +222 -61
- data/generated/google/apis/reseller_v1/representations.rb +28 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +19 -19
- data/generated/google/apis/script_v1/classes.rb +151 -137
- data/generated/google/apis/script_v1/representations.rb +26 -26
- data/generated/google/apis/script_v1/service.rb +9 -8
- data/generated/google/apis/sheets_v4.rb +7 -7
- data/generated/google/apis/sheets_v4/classes.rb +4530 -3506
- data/generated/google/apis/sheets_v4/representations.rb +988 -737
- data/generated/google/apis/sheets_v4/service.rb +266 -99
- data/generated/google/apis/site_verification_v1.rb +1 -1
- data/generated/google/apis/slides_v1.rb +49 -0
- data/generated/google/apis/slides_v1/classes.rb +4480 -0
- data/generated/google/apis/slides_v1/representations.rb +1926 -0
- data/generated/google/apis/slides_v1/service.rb +245 -0
- data/generated/google/apis/speech_v1beta1.rb +34 -0
- data/generated/google/apis/speech_v1beta1/classes.rb +498 -0
- data/generated/google/apis/speech_v1beta1/representations.rb +206 -0
- data/generated/google/apis/speech_v1beta1/service.rb +270 -0
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +131 -10
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +50 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +92 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/classes.rb +205 -21
- data/generated/google/apis/storage_v1/representations.rb +51 -1
- data/generated/google/apis/storage_v1/service.rb +263 -9
- data/generated/google/apis/tagmanager_v1.rb +5 -5
- data/generated/google/apis/translate_v2.rb +2 -2
- data/generated/google/apis/translate_v2/service.rb +1 -1
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1275 -731
- data/generated/google/apis/vision_v1/representations.rb +378 -111
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/webmasters_v3.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_analytics_v1/classes.rb +0 -209
- data/generated/google/apis/youtube_analytics_v1/representations.rb +0 -99
- data/generated/google/apis/youtube_analytics_v1/service.rb +5 -77
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1/classes.rb +155 -0
- data/generated/google/apis/youtube_partner_v1/representations.rb +69 -0
- data/generated/google/apis/youtube_partner_v1/service.rb +107 -3
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +430 -22
- data/generated/google/apis/youtube_v3/representations.rb +171 -4
- data/generated/google/apis/youtube_v3/service.rb +100 -9
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +140 -131
- data/generated/google/apis/youtubereporting_v1/representations.rb +37 -37
- data/generated/google/apis/youtubereporting_v1/service.rb +139 -135
- data/google-api-client.gemspec +4 -3
- data/lib/google/apis/core/api_command.rb +16 -6
- data/lib/google/apis/core/base_service.rb +17 -9
- data/lib/google/apis/core/download.rb +7 -2
- data/lib/google/apis/core/http_command.rb +5 -1
- data/lib/google/apis/core/json_representation.rb +2 -2
- data/lib/google/apis/core/upload.rb +7 -1
- data/lib/google/apis/errors.rb +6 -2
- data/lib/google/apis/generator/annotator.rb +6 -0
- data/lib/google/apis/version.rb +1 -1
- data/samples/cli/lib/samples/bigquery.rb +101 -0
- data/samples/cli/lib/samples/calendar.rb +1 -1
- data/samples/cli/lib/samples/gmail.rb +74 -0
- data/samples/cli/lib/samples/sheets.rb +61 -0
- data/samples/cli/lib/samples/you_tube.rb +4 -1
- data/sync.rb +71 -0
- metadata +86 -18
@@ -46,6 +46,18 @@ module Google
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
47
47
|
end
|
48
48
|
|
49
|
+
class ResellernotifyGetwatchdetailsResponse
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
|
+
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
53
|
+
end
|
54
|
+
|
55
|
+
class ResellernotifyResource
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
57
|
+
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
59
|
+
end
|
60
|
+
|
49
61
|
class Seats
|
50
62
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
51
63
|
|
@@ -139,6 +151,21 @@ module Google
|
|
139
151
|
end
|
140
152
|
end
|
141
153
|
|
154
|
+
class ResellernotifyGetwatchdetailsResponse
|
155
|
+
# @private
|
156
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
157
|
+
collection :service_account_email_addresses, as: 'serviceAccountEmailAddresses'
|
158
|
+
property :topic_name, as: 'topicName'
|
159
|
+
end
|
160
|
+
end
|
161
|
+
|
162
|
+
class ResellernotifyResource
|
163
|
+
# @private
|
164
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
165
|
+
property :topic_name, as: 'topicName'
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
142
169
|
class Seats
|
143
170
|
# @private
|
144
171
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -167,6 +194,7 @@ module Google
|
|
167
194
|
property :seats, as: 'seats', class: Google::Apis::ResellerV1::Seats, decorator: Google::Apis::ResellerV1::Seats::Representation
|
168
195
|
|
169
196
|
property :sku_id, as: 'skuId'
|
197
|
+
property :sku_name, as: 'skuName'
|
170
198
|
property :status, as: 'status'
|
171
199
|
property :subscription_id, as: 'subscriptionId'
|
172
200
|
collection :suspension_reasons, as: 'suspensionReasons'
|
@@ -52,9 +52,12 @@ module Google
|
|
52
52
|
super('https://www.googleapis.com/', 'apps/reseller/v1/')
|
53
53
|
end
|
54
54
|
|
55
|
-
#
|
55
|
+
# Get a customer account.
|
56
56
|
# @param [String] customer_id
|
57
|
-
#
|
57
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
58
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
59
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
60
|
+
# system automatically updates.
|
58
61
|
# @param [String] fields
|
59
62
|
# Selector specifying which fields to include in a partial response.
|
60
63
|
# @param [String] quota_user
|
@@ -87,11 +90,14 @@ module Google
|
|
87
90
|
execute_or_queue_command(command, &block)
|
88
91
|
end
|
89
92
|
|
90
|
-
#
|
93
|
+
# Order a new customer's account.
|
91
94
|
# @param [Google::Apis::ResellerV1::Customer] customer_object
|
92
95
|
# @param [String] customer_auth_token
|
93
|
-
#
|
94
|
-
#
|
96
|
+
# The customerAuthToken query string is required when creating a resold account
|
97
|
+
# that transfers a direct customer's subscription or transfers another reseller
|
98
|
+
# customer's subscription to your reseller management. This is a hexadecimal
|
99
|
+
# authentication token needed to complete the subscription transfer. For more
|
100
|
+
# information, see the administrator help center.
|
95
101
|
# @param [String] fields
|
96
102
|
# Selector specifying which fields to include in a partial response.
|
97
103
|
# @param [String] quota_user
|
@@ -126,10 +132,12 @@ module Google
|
|
126
132
|
execute_or_queue_command(command, &block)
|
127
133
|
end
|
128
134
|
|
129
|
-
# Update a customer
|
130
|
-
# method supports patch semantics.
|
135
|
+
# Update a customer account's settings. This method supports patch semantics.
|
131
136
|
# @param [String] customer_id
|
132
|
-
#
|
137
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
138
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
139
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
140
|
+
# system automatically updates.
|
133
141
|
# @param [Google::Apis::ResellerV1::Customer] customer_object
|
134
142
|
# @param [String] fields
|
135
143
|
# Selector specifying which fields to include in a partial response.
|
@@ -165,9 +173,12 @@ module Google
|
|
165
173
|
execute_or_queue_command(command, &block)
|
166
174
|
end
|
167
175
|
|
168
|
-
# Update a customer
|
176
|
+
# Update a customer account's settings.
|
169
177
|
# @param [String] customer_id
|
170
|
-
#
|
178
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
179
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
180
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
181
|
+
# system automatically updates.
|
171
182
|
# @param [Google::Apis::ResellerV1::Customer] customer_object
|
172
183
|
# @param [String] fields
|
173
184
|
# Selector specifying which fields to include in a partial response.
|
@@ -203,11 +214,120 @@ module Google
|
|
203
214
|
execute_or_queue_command(command, &block)
|
204
215
|
end
|
205
216
|
|
217
|
+
# Returns all the details of the watch corresponding to the reseller.
|
218
|
+
# @param [String] fields
|
219
|
+
# Selector specifying which fields to include in a partial response.
|
220
|
+
# @param [String] quota_user
|
221
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
222
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
223
|
+
# Overrides userIp if both are provided.
|
224
|
+
# @param [String] user_ip
|
225
|
+
# IP address of the site where the request originates. Use this if you want to
|
226
|
+
# enforce per-user limits.
|
227
|
+
# @param [Google::Apis::RequestOptions] options
|
228
|
+
# Request-specific options
|
229
|
+
#
|
230
|
+
# @yield [result, err] Result & error if block supplied
|
231
|
+
# @yieldparam result [Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse] parsed result object
|
232
|
+
# @yieldparam err [StandardError] error object if request failed
|
233
|
+
#
|
234
|
+
# @return [Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse]
|
235
|
+
#
|
236
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
237
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
238
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
239
|
+
def getwatchdetails_resellernotify(fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
240
|
+
command = make_simple_command(:get, 'resellernotify/getwatchdetails', options)
|
241
|
+
command.response_representation = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse::Representation
|
242
|
+
command.response_class = Google::Apis::ResellerV1::ResellernotifyGetwatchdetailsResponse
|
243
|
+
command.query['fields'] = fields unless fields.nil?
|
244
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
245
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
246
|
+
execute_or_queue_command(command, &block)
|
247
|
+
end
|
248
|
+
|
249
|
+
# Registers a Reseller for receiving notifications.
|
250
|
+
# @param [String] service_account_email_address
|
251
|
+
# The service account which will own the created Cloud-PubSub topic.
|
252
|
+
# @param [String] fields
|
253
|
+
# Selector specifying which fields to include in a partial response.
|
254
|
+
# @param [String] quota_user
|
255
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
256
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
257
|
+
# Overrides userIp if both are provided.
|
258
|
+
# @param [String] user_ip
|
259
|
+
# IP address of the site where the request originates. Use this if you want to
|
260
|
+
# enforce per-user limits.
|
261
|
+
# @param [Google::Apis::RequestOptions] options
|
262
|
+
# Request-specific options
|
263
|
+
#
|
264
|
+
# @yield [result, err] Result & error if block supplied
|
265
|
+
# @yieldparam result [Google::Apis::ResellerV1::ResellernotifyResource] parsed result object
|
266
|
+
# @yieldparam err [StandardError] error object if request failed
|
267
|
+
#
|
268
|
+
# @return [Google::Apis::ResellerV1::ResellernotifyResource]
|
269
|
+
#
|
270
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
271
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
272
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
273
|
+
def register_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
274
|
+
command = make_simple_command(:post, 'resellernotify/register', options)
|
275
|
+
command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
|
276
|
+
command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
|
277
|
+
command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
|
278
|
+
command.query['fields'] = fields unless fields.nil?
|
279
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
280
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
281
|
+
execute_or_queue_command(command, &block)
|
282
|
+
end
|
283
|
+
|
284
|
+
# Unregisters a Reseller for receiving notifications.
|
285
|
+
# @param [String] service_account_email_address
|
286
|
+
# The service account which owns the Cloud-PubSub topic.
|
287
|
+
# @param [String] fields
|
288
|
+
# Selector specifying which fields to include in a partial response.
|
289
|
+
# @param [String] quota_user
|
290
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
291
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
292
|
+
# Overrides userIp if both are provided.
|
293
|
+
# @param [String] user_ip
|
294
|
+
# IP address of the site where the request originates. Use this if you want to
|
295
|
+
# enforce per-user limits.
|
296
|
+
# @param [Google::Apis::RequestOptions] options
|
297
|
+
# Request-specific options
|
298
|
+
#
|
299
|
+
# @yield [result, err] Result & error if block supplied
|
300
|
+
# @yieldparam result [Google::Apis::ResellerV1::ResellernotifyResource] parsed result object
|
301
|
+
# @yieldparam err [StandardError] error object if request failed
|
302
|
+
#
|
303
|
+
# @return [Google::Apis::ResellerV1::ResellernotifyResource]
|
304
|
+
#
|
305
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
306
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
307
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
308
|
+
def unregister_resellernotify(service_account_email_address: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
309
|
+
command = make_simple_command(:post, 'resellernotify/unregister', options)
|
310
|
+
command.response_representation = Google::Apis::ResellerV1::ResellernotifyResource::Representation
|
311
|
+
command.response_class = Google::Apis::ResellerV1::ResellernotifyResource
|
312
|
+
command.query['serviceAccountEmailAddress'] = service_account_email_address unless service_account_email_address.nil?
|
313
|
+
command.query['fields'] = fields unless fields.nil?
|
314
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
315
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
316
|
+
execute_or_queue_command(command, &block)
|
317
|
+
end
|
318
|
+
|
206
319
|
# Activates a subscription previously suspended by the reseller
|
207
320
|
# @param [String] customer_id
|
208
|
-
#
|
321
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
322
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
323
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
324
|
+
# system automatically updates.
|
209
325
|
# @param [String] subscription_id
|
210
|
-
#
|
326
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
327
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
328
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
329
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
330
|
+
# reseller subscriptions method.
|
211
331
|
# @param [String] fields
|
212
332
|
# Selector specifying which fields to include in a partial response.
|
213
333
|
# @param [String] quota_user
|
@@ -241,11 +361,20 @@ module Google
|
|
241
361
|
execute_or_queue_command(command, &block)
|
242
362
|
end
|
243
363
|
|
244
|
-
#
|
364
|
+
# Update a subscription plan. Use this method to update a plan for a 30-day
|
365
|
+
# trial or a flexible plan subscription to an annual commitment plan with
|
366
|
+
# monthly or yearly payments.
|
245
367
|
# @param [String] customer_id
|
246
|
-
#
|
368
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
369
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
370
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
371
|
+
# system automatically updates.
|
247
372
|
# @param [String] subscription_id
|
248
|
-
#
|
373
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
374
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
375
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
376
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
377
|
+
# reseller subscriptions method.
|
249
378
|
# @param [Google::Apis::ResellerV1::ChangePlanRequest] change_plan_request_object
|
250
379
|
# @param [String] fields
|
251
380
|
# Selector specifying which fields to include in a partial response.
|
@@ -282,11 +411,19 @@ module Google
|
|
282
411
|
execute_or_queue_command(command, &block)
|
283
412
|
end
|
284
413
|
|
285
|
-
#
|
414
|
+
# Update a user license's renewal settings. This is applicable for accounts with
|
415
|
+
# annual commitment plans only.
|
286
416
|
# @param [String] customer_id
|
287
|
-
#
|
417
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
418
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
419
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
420
|
+
# system automatically updates.
|
288
421
|
# @param [String] subscription_id
|
289
|
-
#
|
422
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
423
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
424
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
425
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
426
|
+
# reseller subscriptions method.
|
290
427
|
# @param [Google::Apis::ResellerV1::RenewalSettings] renewal_settings_object
|
291
428
|
# @param [String] fields
|
292
429
|
# Selector specifying which fields to include in a partial response.
|
@@ -323,11 +460,18 @@ module Google
|
|
323
460
|
execute_or_queue_command(command, &block)
|
324
461
|
end
|
325
462
|
|
326
|
-
#
|
463
|
+
# Update a subscription's user license settings.
|
327
464
|
# @param [String] customer_id
|
328
|
-
#
|
465
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
466
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
467
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
468
|
+
# system automatically updates.
|
329
469
|
# @param [String] subscription_id
|
330
|
-
#
|
470
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
471
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
472
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
473
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
474
|
+
# reseller subscriptions method.
|
331
475
|
# @param [Google::Apis::ResellerV1::Seats] seats_object
|
332
476
|
# @param [String] fields
|
333
477
|
# Selector specifying which fields to include in a partial response.
|
@@ -364,13 +508,21 @@ module Google
|
|
364
508
|
execute_or_queue_command(command, &block)
|
365
509
|
end
|
366
510
|
|
367
|
-
#
|
511
|
+
# Cancel, suspend or transfer a subscription to direct.
|
368
512
|
# @param [String] customer_id
|
369
|
-
#
|
513
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
514
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
515
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
516
|
+
# system automatically updates.
|
370
517
|
# @param [String] subscription_id
|
371
|
-
#
|
518
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
519
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
520
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
521
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
522
|
+
# reseller subscriptions method.
|
372
523
|
# @param [String] deletion_type
|
373
|
-
#
|
524
|
+
# The deletionType query string enables the cancellation, downgrade, or
|
525
|
+
# suspension of a subscription.
|
374
526
|
# @param [String] fields
|
375
527
|
# Selector specifying which fields to include in a partial response.
|
376
528
|
# @param [String] quota_user
|
@@ -403,11 +555,18 @@ module Google
|
|
403
555
|
execute_or_queue_command(command, &block)
|
404
556
|
end
|
405
557
|
|
406
|
-
#
|
558
|
+
# Get a specific subscription.
|
407
559
|
# @param [String] customer_id
|
408
|
-
#
|
560
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
561
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
562
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
563
|
+
# system automatically updates.
|
409
564
|
# @param [String] subscription_id
|
410
|
-
#
|
565
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
566
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
567
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
568
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
569
|
+
# reseller subscriptions method.
|
411
570
|
# @param [String] fields
|
412
571
|
# Selector specifying which fields to include in a partial response.
|
413
572
|
# @param [String] quota_user
|
@@ -441,13 +600,19 @@ module Google
|
|
441
600
|
execute_or_queue_command(command, &block)
|
442
601
|
end
|
443
602
|
|
444
|
-
#
|
603
|
+
# Create or transfer a subscription.
|
445
604
|
# @param [String] customer_id
|
446
|
-
#
|
605
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
606
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
607
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
608
|
+
# system automatically updates.
|
447
609
|
# @param [Google::Apis::ResellerV1::Subscription] subscription_object
|
448
610
|
# @param [String] customer_auth_token
|
449
|
-
#
|
450
|
-
#
|
611
|
+
# The customerAuthToken query string is required when creating a resold account
|
612
|
+
# that transfers a direct customer's subscription or transfers another reseller
|
613
|
+
# customer's subscription to your reseller management. This is a hexadecimal
|
614
|
+
# authentication token needed to complete the subscription transfer. For more
|
615
|
+
# information, see the administrator help center.
|
451
616
|
# @param [String] fields
|
452
617
|
# Selector specifying which fields to include in a partial response.
|
453
618
|
# @param [String] quota_user
|
@@ -483,19 +648,32 @@ module Google
|
|
483
648
|
execute_or_queue_command(command, &block)
|
484
649
|
end
|
485
650
|
|
486
|
-
#
|
487
|
-
#
|
651
|
+
# List of subscriptions managed by the reseller. The list can be all
|
652
|
+
# subscriptions, all of a customer's subscriptions, or all of a customer's
|
653
|
+
# transferable subscriptions.
|
488
654
|
# @param [String] customer_auth_token
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
655
|
+
# The customerAuthToken query string is required when creating a resold account
|
656
|
+
# that transfers a direct customer's subscription or transfers another reseller
|
657
|
+
# customer's subscription to your reseller management. This is a hexadecimal
|
658
|
+
# authentication token needed to complete the subscription transfer. For more
|
659
|
+
# information, see the administrator help center.
|
492
660
|
# @param [String] customer_id
|
493
|
-
#
|
661
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
662
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
663
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
664
|
+
# system automatically updates.
|
494
665
|
# @param [String] customer_name_prefix
|
495
|
-
#
|
496
|
-
#
|
666
|
+
# When retrieving all of your subscriptions and filtering for specific customers,
|
667
|
+
# you can enter a prefix for a customer name. Using an example customer group
|
668
|
+
# that includes exam.com, example20.com and example.com:
|
669
|
+
# - exa -- Returns all customer names that start with 'exa' which could include
|
670
|
+
# exam.com, example20.com, and example.com. A name prefix is similar to using a
|
671
|
+
# regular expression's asterisk, exa*.
|
672
|
+
# - example -- Returns example20.com and example.com.
|
497
673
|
# @param [Fixnum] max_results
|
498
|
-
#
|
674
|
+
# When retrieving a large list, the maxResults is the maximum number of results
|
675
|
+
# per page. The nextPageToken value takes you to the next page. The default is
|
676
|
+
# 20.
|
499
677
|
# @param [String] page_token
|
500
678
|
# Token to specify next page in the list
|
501
679
|
# @param [String] fields
|
@@ -534,11 +712,19 @@ module Google
|
|
534
712
|
execute_or_queue_command(command, &block)
|
535
713
|
end
|
536
714
|
|
537
|
-
#
|
715
|
+
# Immediately move a 30-day free trial subscription to a paid service
|
716
|
+
# subscription.
|
538
717
|
# @param [String] customer_id
|
539
|
-
#
|
718
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
719
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
720
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
721
|
+
# system automatically updates.
|
540
722
|
# @param [String] subscription_id
|
541
|
-
#
|
723
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
724
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
725
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
726
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
727
|
+
# reseller subscriptions method.
|
542
728
|
# @param [String] fields
|
543
729
|
# Selector specifying which fields to include in a partial response.
|
544
730
|
# @param [String] quota_user
|
@@ -572,11 +758,18 @@ module Google
|
|
572
758
|
execute_or_queue_command(command, &block)
|
573
759
|
end
|
574
760
|
|
575
|
-
# Suspends an active subscription
|
761
|
+
# Suspends an active subscription.
|
576
762
|
# @param [String] customer_id
|
577
|
-
#
|
763
|
+
# Either the customer's primary domain name or the customer's unique identifier.
|
764
|
+
# If using the domain name, we do not recommend using a customerId as a key for
|
765
|
+
# persistent data. If the domain name for a customerId is changed, the Google
|
766
|
+
# system automatically updates.
|
578
767
|
# @param [String] subscription_id
|
579
|
-
#
|
768
|
+
# This is a required property. The subscriptionId is the subscription identifier
|
769
|
+
# and is unique for each customer. Since a subscriptionId changes when a
|
770
|
+
# subscription is updated, we recommend to not use this ID as a key for
|
771
|
+
# persistent data. And the subscriptionId can be found using the retrieve all
|
772
|
+
# reseller subscriptions method.
|
580
773
|
# @param [String] fields
|
581
774
|
# Selector specifying which fields to include in a partial response.
|
582
775
|
# @param [String] quota_user
|