google-api-client 0.9.8 → 0.10.2
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 +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
|
@@ -1165,6 +1165,11 @@ module Google
|
|
|
1165
1165
|
# @return [Fixnum]
|
|
1166
1166
|
attr_accessor :solutions
|
|
1167
1167
|
|
|
1168
|
+
# IATA country code representing the point of ticketing.
|
|
1169
|
+
# Corresponds to the JSON property `ticketingCountry`
|
|
1170
|
+
# @return [String]
|
|
1171
|
+
attr_accessor :ticketing_country
|
|
1172
|
+
|
|
1168
1173
|
def initialize(**args)
|
|
1169
1174
|
update!(**args)
|
|
1170
1175
|
end
|
|
@@ -1177,6 +1182,7 @@ module Google
|
|
|
1177
1182
|
@sale_country = args[:sale_country] if args.key?(:sale_country)
|
|
1178
1183
|
@slice = args[:slice] if args.key?(:slice)
|
|
1179
1184
|
@solutions = args[:solutions] if args.key?(:solutions)
|
|
1185
|
+
@ticketing_country = args[:ticketing_country] if args.key?(:ticketing_country)
|
|
1180
1186
|
end
|
|
1181
1187
|
end
|
|
1182
1188
|
|
|
@@ -436,6 +436,7 @@ module Google
|
|
|
436
436
|
collection :slice, as: 'slice', class: Google::Apis::QpxExpressV1::SliceInput, decorator: Google::Apis::QpxExpressV1::SliceInput::Representation
|
|
437
437
|
|
|
438
438
|
property :solutions, as: 'solutions'
|
|
439
|
+
property :ticketing_country, as: 'ticketingCountry'
|
|
439
440
|
end
|
|
440
441
|
end
|
|
441
442
|
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://developers.google.com/compute/docs/instance-groups/manager/v1beta2
|
|
27
27
|
module ReplicapoolV1beta2
|
|
28
28
|
VERSION = 'V1beta2'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20160512'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -20,12 +20,14 @@ module Google
|
|
|
20
20
|
module Apis
|
|
21
21
|
# Google Compute Engine Instance Group Updater API
|
|
22
22
|
#
|
|
23
|
-
#
|
|
23
|
+
# [Deprecated. Please use compute.instanceGroupManagers.update method.
|
|
24
|
+
# replicapoolupdater API will be disabled after December 30th, 2016] Updates
|
|
25
|
+
# groups of Compute Engine instances.
|
|
24
26
|
#
|
|
25
27
|
# @see https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service
|
|
26
28
|
module ReplicapoolupdaterV1beta1
|
|
27
29
|
VERSION = 'V1beta1'
|
|
28
|
-
REVISION = '
|
|
30
|
+
REVISION = '20161003'
|
|
29
31
|
|
|
30
32
|
# View and manage your data across Google Cloud Platform services
|
|
31
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -22,7 +22,9 @@ module Google
|
|
|
22
22
|
module ReplicapoolupdaterV1beta1
|
|
23
23
|
# Google Compute Engine Instance Group Updater API
|
|
24
24
|
#
|
|
25
|
-
#
|
|
25
|
+
# [Deprecated. Please use compute.instanceGroupManagers.update method.
|
|
26
|
+
# replicapoolupdater API will be disabled after December 30th, 2016] Updates
|
|
27
|
+
# groups of Compute Engine instances.
|
|
26
28
|
#
|
|
27
29
|
# @example
|
|
28
30
|
# require 'google/apis/replicapoolupdater_v1beta1'
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://developers.google.com/google-apps/reseller/
|
|
26
26
|
module ResellerV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20170228'
|
|
29
29
|
|
|
30
30
|
# Manage users on your domain
|
|
31
31
|
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
|
|
@@ -26,55 +26,56 @@ module Google
|
|
|
26
26
|
class Address
|
|
27
27
|
include Google::Apis::Core::Hashable
|
|
28
28
|
|
|
29
|
-
#
|
|
29
|
+
# A customer's physical address. An address can be composed of one to three
|
|
30
|
+
# lines. The addressline2 and addressLine3 are optional.
|
|
30
31
|
# Corresponds to the JSON property `addressLine1`
|
|
31
32
|
# @return [String]
|
|
32
33
|
attr_accessor :address_line1
|
|
33
34
|
|
|
34
|
-
#
|
|
35
|
+
# Line 2 of the address.
|
|
35
36
|
# Corresponds to the JSON property `addressLine2`
|
|
36
37
|
# @return [String]
|
|
37
38
|
attr_accessor :address_line2
|
|
38
39
|
|
|
39
|
-
#
|
|
40
|
+
# Line 3 of the address.
|
|
40
41
|
# Corresponds to the JSON property `addressLine3`
|
|
41
42
|
# @return [String]
|
|
42
43
|
attr_accessor :address_line3
|
|
43
44
|
|
|
44
|
-
#
|
|
45
|
+
# The customer contact's name. This is required.
|
|
45
46
|
# Corresponds to the JSON property `contactName`
|
|
46
47
|
# @return [String]
|
|
47
48
|
attr_accessor :contact_name
|
|
48
49
|
|
|
49
|
-
# ISO 3166 country code.
|
|
50
|
+
# For countryCode information, see the ISO 3166 country code elements. Verify
|
|
51
|
+
# that country is approved for resale of Google products. This property is
|
|
52
|
+
# required when creating a new customer.
|
|
50
53
|
# Corresponds to the JSON property `countryCode`
|
|
51
54
|
# @return [String]
|
|
52
55
|
attr_accessor :country_code
|
|
53
56
|
|
|
54
|
-
# Identifies the resource as a customer address.
|
|
57
|
+
# Identifies the resource as a customer address. Value: customers#address
|
|
55
58
|
# Corresponds to the JSON property `kind`
|
|
56
59
|
# @return [String]
|
|
57
60
|
attr_accessor :kind
|
|
58
61
|
|
|
59
|
-
#
|
|
60
|
-
# draft-spec.html#address_element.
|
|
62
|
+
# An example of a locality value is the city of San Francisco.
|
|
61
63
|
# Corresponds to the JSON property `locality`
|
|
62
64
|
# @return [String]
|
|
63
65
|
attr_accessor :locality
|
|
64
66
|
|
|
65
|
-
#
|
|
67
|
+
# The company or company division name. This is required.
|
|
66
68
|
# Corresponds to the JSON property `organizationName`
|
|
67
69
|
# @return [String]
|
|
68
70
|
attr_accessor :organization_name
|
|
69
71
|
|
|
70
|
-
#
|
|
71
|
-
#
|
|
72
|
+
# A postalCode example is a postal zip code such as 94043. This property is
|
|
73
|
+
# required when creating a new customer.
|
|
72
74
|
# Corresponds to the JSON property `postalCode`
|
|
73
75
|
# @return [String]
|
|
74
76
|
attr_accessor :postal_code
|
|
75
77
|
|
|
76
|
-
#
|
|
77
|
-
# draft-spec.html#address_element.
|
|
78
|
+
# An example of a region value is CA for the state of California.
|
|
78
79
|
# Corresponds to the JSON property `region`
|
|
79
80
|
# @return [String]
|
|
80
81
|
attr_accessor :region
|
|
@@ -102,23 +103,40 @@ module Google
|
|
|
102
103
|
class ChangePlanRequest
|
|
103
104
|
include Google::Apis::Core::Hashable
|
|
104
105
|
|
|
105
|
-
#
|
|
106
|
-
#
|
|
106
|
+
# Google-issued code (100 char max) for discounted pricing on subscription plans.
|
|
107
|
+
# Deal code must be included in changePlan request in order to receive
|
|
108
|
+
# discounted rate. This property is optional. If a deal code has already been
|
|
109
|
+
# added to a subscription, this property may be left empty and the existing
|
|
110
|
+
# discounted rate will still apply (if not empty, only provide the deal code
|
|
111
|
+
# that is already present on the subscription). If a deal code has never been
|
|
112
|
+
# added to a subscription and this property is left blank, regular pricing will
|
|
113
|
+
# apply.
|
|
107
114
|
# Corresponds to the JSON property `dealCode`
|
|
108
115
|
# @return [String]
|
|
109
116
|
attr_accessor :deal_code
|
|
110
117
|
|
|
111
|
-
# Identifies the resource as a subscription change plan request.
|
|
118
|
+
# Identifies the resource as a subscription change plan request. Value:
|
|
119
|
+
# subscriptions#changePlanRequest
|
|
112
120
|
# Corresponds to the JSON property `kind`
|
|
113
121
|
# @return [String]
|
|
114
122
|
attr_accessor :kind
|
|
115
123
|
|
|
116
|
-
#
|
|
124
|
+
# The planName property is required. This is the name of the subscription's
|
|
125
|
+
# payment plan. For more information about the Google payment plans, see API
|
|
126
|
+
# concepts.
|
|
127
|
+
# Possible values are:
|
|
128
|
+
# - ANNUAL_MONTHLY_PAY - The annual commitment plan with monthly payments
|
|
129
|
+
# - ANNUAL_YEARLY_PAY - The annual commitment plan with yearly payments
|
|
130
|
+
# - FLEXIBLE - The flexible plan
|
|
131
|
+
# - TRIAL - The 30-day free trial plan
|
|
117
132
|
# Corresponds to the JSON property `planName`
|
|
118
133
|
# @return [String]
|
|
119
134
|
attr_accessor :plan_name
|
|
120
135
|
|
|
121
|
-
#
|
|
136
|
+
# This is an optional property. This purchase order (PO) information is for
|
|
137
|
+
# resellers to use for their company tracking usage. If a purchaseOrderId value
|
|
138
|
+
# is given it appears in the API responses and shows up in the invoice. The
|
|
139
|
+
# property accepts up to 80 plain text characters.
|
|
122
140
|
# Corresponds to the JSON property `purchaseOrderId`
|
|
123
141
|
# @return [String]
|
|
124
142
|
attr_accessor :purchase_order_id
|
|
@@ -146,12 +164,17 @@ module Google
|
|
|
146
164
|
class Customer
|
|
147
165
|
include Google::Apis::Core::Hashable
|
|
148
166
|
|
|
149
|
-
#
|
|
167
|
+
# Like the "Customer email" in the reseller tools, this email is the secondary
|
|
168
|
+
# contact used if something happens to the customer's service such as service
|
|
169
|
+
# outage or a security issue. This property is required when creating a new
|
|
170
|
+
# customer and should not use the same domain as customerDomain.
|
|
150
171
|
# Corresponds to the JSON property `alternateEmail`
|
|
151
172
|
# @return [String]
|
|
152
173
|
attr_accessor :alternate_email
|
|
153
174
|
|
|
154
|
-
# The domain name
|
|
175
|
+
# The customer's primary domain name string. customerDomain is required when
|
|
176
|
+
# creating a new customer. Do not include the www prefix in the domain when
|
|
177
|
+
# adding a customer.
|
|
155
178
|
# Corresponds to the JSON property `customerDomain`
|
|
156
179
|
# @return [String]
|
|
157
180
|
attr_accessor :customer_domain
|
|
@@ -162,17 +185,21 @@ module Google
|
|
|
162
185
|
attr_accessor :customer_domain_verified
|
|
163
186
|
alias_method :customer_domain_verified?, :customer_domain_verified
|
|
164
187
|
|
|
165
|
-
#
|
|
188
|
+
# This property will always be returned in a response as the unique identifier
|
|
189
|
+
# generated by Google. In a request, this property can be either the primary
|
|
190
|
+
# domain or the unique identifier generated by Google.
|
|
166
191
|
# Corresponds to the JSON property `customerId`
|
|
167
192
|
# @return [String]
|
|
168
193
|
attr_accessor :customer_id
|
|
169
194
|
|
|
170
|
-
# Identifies the resource as a customer.
|
|
195
|
+
# Identifies the resource as a customer. Value: reseller#customer
|
|
171
196
|
# Corresponds to the JSON property `kind`
|
|
172
197
|
# @return [String]
|
|
173
198
|
attr_accessor :kind
|
|
174
199
|
|
|
175
|
-
#
|
|
200
|
+
# Customer contact phone number. This can be continuous numbers, with spaces,
|
|
201
|
+
# etc. But it must be a real phone number and not, for example, "123". See phone
|
|
202
|
+
# local format conventions.
|
|
176
203
|
# Corresponds to the JSON property `phoneNumber`
|
|
177
204
|
# @return [String]
|
|
178
205
|
attr_accessor :phone_number
|
|
@@ -182,7 +209,9 @@ module Google
|
|
|
182
209
|
# @return [Google::Apis::ResellerV1::Address]
|
|
183
210
|
attr_accessor :postal_address
|
|
184
211
|
|
|
185
|
-
#
|
|
212
|
+
# URL to customer's Admin console dashboard. The read-only URL is generated by
|
|
213
|
+
# the API service. This is used if your client application requires the customer
|
|
214
|
+
# to complete a task in the Admin console.
|
|
186
215
|
# Corresponds to the JSON property `resourceUiUrl`
|
|
187
216
|
# @return [String]
|
|
188
217
|
attr_accessor :resource_ui_url
|
|
@@ -208,12 +237,15 @@ module Google
|
|
|
208
237
|
class RenewalSettings
|
|
209
238
|
include Google::Apis::Core::Hashable
|
|
210
239
|
|
|
211
|
-
# Identifies the resource as a subscription renewal setting.
|
|
240
|
+
# Identifies the resource as a subscription renewal setting. Value:
|
|
241
|
+
# subscriptions#renewalSettings
|
|
212
242
|
# Corresponds to the JSON property `kind`
|
|
213
243
|
# @return [String]
|
|
214
244
|
attr_accessor :kind
|
|
215
245
|
|
|
216
|
-
#
|
|
246
|
+
# Renewal settings for the annual commitment plan. For more detailed information,
|
|
247
|
+
# see renewal options in the administrator help center. When renewing a
|
|
248
|
+
# subscription, the renewalType is a required property.
|
|
217
249
|
# Corresponds to the JSON property `renewalType`
|
|
218
250
|
# @return [String]
|
|
219
251
|
attr_accessor :renewal_type
|
|
@@ -229,11 +261,56 @@ module Google
|
|
|
229
261
|
end
|
|
230
262
|
end
|
|
231
263
|
|
|
264
|
+
# JSON template for resellernotify getwatchdetails response.
|
|
265
|
+
class ResellernotifyGetwatchdetailsResponse
|
|
266
|
+
include Google::Apis::Core::Hashable
|
|
267
|
+
|
|
268
|
+
# List of registered service accounts.
|
|
269
|
+
# Corresponds to the JSON property `serviceAccountEmailAddresses`
|
|
270
|
+
# @return [Array<String>]
|
|
271
|
+
attr_accessor :service_account_email_addresses
|
|
272
|
+
|
|
273
|
+
# Topic name of the PubSub
|
|
274
|
+
# Corresponds to the JSON property `topicName`
|
|
275
|
+
# @return [String]
|
|
276
|
+
attr_accessor :topic_name
|
|
277
|
+
|
|
278
|
+
def initialize(**args)
|
|
279
|
+
update!(**args)
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# Update properties of this object
|
|
283
|
+
def update!(**args)
|
|
284
|
+
@service_account_email_addresses = args[:service_account_email_addresses] if args.key?(:service_account_email_addresses)
|
|
285
|
+
@topic_name = args[:topic_name] if args.key?(:topic_name)
|
|
286
|
+
end
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# JSON template for resellernotify response.
|
|
290
|
+
class ResellernotifyResource
|
|
291
|
+
include Google::Apis::Core::Hashable
|
|
292
|
+
|
|
293
|
+
# Topic name of the PubSub
|
|
294
|
+
# Corresponds to the JSON property `topicName`
|
|
295
|
+
# @return [String]
|
|
296
|
+
attr_accessor :topic_name
|
|
297
|
+
|
|
298
|
+
def initialize(**args)
|
|
299
|
+
update!(**args)
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Update properties of this object
|
|
303
|
+
def update!(**args)
|
|
304
|
+
@topic_name = args[:topic_name] if args.key?(:topic_name)
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
|
|
232
308
|
# JSON template for subscription seats.
|
|
233
309
|
class Seats
|
|
234
310
|
include Google::Apis::Core::Hashable
|
|
235
311
|
|
|
236
|
-
# Identifies the resource as a subscription change plan request.
|
|
312
|
+
# Identifies the resource as a subscription change plan request. Value:
|
|
313
|
+
# subscriptions#seats
|
|
237
314
|
# Corresponds to the JSON property `kind`
|
|
238
315
|
# @return [String]
|
|
239
316
|
attr_accessor :kind
|
|
@@ -245,13 +322,40 @@ module Google
|
|
|
245
322
|
# @return [Fixnum]
|
|
246
323
|
attr_accessor :licensed_number_of_seats
|
|
247
324
|
|
|
248
|
-
#
|
|
249
|
-
#
|
|
325
|
+
# The maximumNumberOfSeats property is the maximum number of licenses that the
|
|
326
|
+
# customer can purchase. This property applies to plans other than the annual
|
|
327
|
+
# commitment plan. How a user's licenses are managed depends on the subscription'
|
|
328
|
+
# s payment plan:
|
|
329
|
+
# - annual commitment plan (with monthly or yearly payments) — For this plan, a
|
|
330
|
+
# reseller is invoiced on the number of user licenses in the numberOfSeats
|
|
331
|
+
# property. The maximumNumberOfSeats property is a read-only property in the API'
|
|
332
|
+
# s response.
|
|
333
|
+
# - flexible plan — For this plan, a reseller is invoiced on the actual number
|
|
334
|
+
# of users which is capped by the maximumNumberOfSeats. This is the maximum
|
|
335
|
+
# number of user licenses a customer has for user license provisioning. This
|
|
336
|
+
# quantity can be increased up to the maximum limit defined in the reseller's
|
|
337
|
+
# contract. And the minimum quantity is the current number of users in the
|
|
338
|
+
# customer account.
|
|
339
|
+
# - 30-day free trial plan — A subscription in a 30-day free trial is restricted
|
|
340
|
+
# to maximum 10 seats.
|
|
250
341
|
# Corresponds to the JSON property `maximumNumberOfSeats`
|
|
251
342
|
# @return [Fixnum]
|
|
252
343
|
attr_accessor :maximum_number_of_seats
|
|
253
344
|
|
|
254
|
-
#
|
|
345
|
+
# The numberOfSeats property holds the customer's number of user licenses. How a
|
|
346
|
+
# user's licenses are managed depends on the subscription's plan:
|
|
347
|
+
# - annual commitment plan (with monthly or yearly pay) — For this plan, a
|
|
348
|
+
# reseller is invoiced on the number of user licenses in the numberOfSeats
|
|
349
|
+
# property. This is the maximum number of user licenses that a reseller's
|
|
350
|
+
# customer can create. The reseller can add more licenses, but once set, the
|
|
351
|
+
# numberOfSeats can not be reduced until renewal. The reseller is invoiced based
|
|
352
|
+
# on the numberOfSeats value regardless of how many of these user licenses are
|
|
353
|
+
# provisioned users.
|
|
354
|
+
# - flexible plan — For this plan, a reseller is invoiced on the actual number
|
|
355
|
+
# of users which is capped by the maximumNumberOfSeats. The numberOfSeats
|
|
356
|
+
# property is not used in the request or response for flexible plan customers.
|
|
357
|
+
# - 30-day free trial plan — The numberOfSeats property is not used in the
|
|
358
|
+
# request or response for an account in a 30-day trial.
|
|
255
359
|
# Corresponds to the JSON property `numberOfSeats`
|
|
256
360
|
# @return [Fixnum]
|
|
257
361
|
attr_accessor :number_of_seats
|
|
@@ -273,12 +377,13 @@ module Google
|
|
|
273
377
|
class Subscription
|
|
274
378
|
include Google::Apis::Core::Hashable
|
|
275
379
|
|
|
276
|
-
#
|
|
380
|
+
# Read-only field that returns the current billing method for a subscription.
|
|
277
381
|
# Corresponds to the JSON property `billingMethod`
|
|
278
382
|
# @return [String]
|
|
279
383
|
attr_accessor :billing_method
|
|
280
384
|
|
|
281
|
-
#
|
|
385
|
+
# The creationTime property is the date when subscription was created. It is in
|
|
386
|
+
# milliseconds using the Epoch format. See an example Epoch converter.
|
|
282
387
|
# Corresponds to the JSON property `creationTime`
|
|
283
388
|
# @return [String]
|
|
284
389
|
attr_accessor :creation_time
|
|
@@ -288,28 +393,36 @@ module Google
|
|
|
288
393
|
# @return [String]
|
|
289
394
|
attr_accessor :customer_domain
|
|
290
395
|
|
|
291
|
-
#
|
|
396
|
+
# This property will always be returned in a response as the unique identifier
|
|
397
|
+
# generated by Google. In a request, this property can be either the primary
|
|
398
|
+
# domain or the unique identifier generated by Google.
|
|
292
399
|
# Corresponds to the JSON property `customerId`
|
|
293
400
|
# @return [String]
|
|
294
401
|
attr_accessor :customer_id
|
|
295
402
|
|
|
296
|
-
#
|
|
297
|
-
#
|
|
403
|
+
# Google-issued code (100 char max) for discounted pricing on subscription plans.
|
|
404
|
+
# Deal code must be included in insert requests in order to receive discounted
|
|
405
|
+
# rate. This property is optional, regular pricing applies if left empty.
|
|
298
406
|
# Corresponds to the JSON property `dealCode`
|
|
299
407
|
# @return [String]
|
|
300
408
|
attr_accessor :deal_code
|
|
301
409
|
|
|
302
|
-
# Identifies the resource as a Subscription.
|
|
410
|
+
# Identifies the resource as a Subscription. Value: reseller#subscription
|
|
303
411
|
# Corresponds to the JSON property `kind`
|
|
304
412
|
# @return [String]
|
|
305
413
|
attr_accessor :kind
|
|
306
414
|
|
|
307
|
-
#
|
|
415
|
+
# The plan property is required. In this version of the API, the G Suite plans
|
|
416
|
+
# are the flexible plan, annual commitment plan, and the 30-day free trial plan.
|
|
417
|
+
# For more information about the API"s payment plans, see the API concepts.
|
|
308
418
|
# Corresponds to the JSON property `plan`
|
|
309
419
|
# @return [Google::Apis::ResellerV1::Subscription::Plan]
|
|
310
420
|
attr_accessor :plan
|
|
311
421
|
|
|
312
|
-
#
|
|
422
|
+
# This is an optional property. This purchase order (PO) information is for
|
|
423
|
+
# resellers to use for their company tracking usage. If a purchaseOrderId value
|
|
424
|
+
# is given it appears in the API responses and shows up in the invoice. The
|
|
425
|
+
# property accepts up to 80 plain text characters.
|
|
313
426
|
# Corresponds to the JSON property `purchaseOrderId`
|
|
314
427
|
# @return [String]
|
|
315
428
|
attr_accessor :purchase_order_id
|
|
@@ -319,7 +432,10 @@ module Google
|
|
|
319
432
|
# @return [Google::Apis::ResellerV1::RenewalSettings]
|
|
320
433
|
attr_accessor :renewal_settings
|
|
321
434
|
|
|
322
|
-
#
|
|
435
|
+
# URL to customer's Subscriptions page in the Admin console. The read-only URL
|
|
436
|
+
# is generated by the API service. This is used if your client application
|
|
437
|
+
# requires the customer to complete a task using the Subscriptions page in the
|
|
438
|
+
# Admin console.
|
|
323
439
|
# Corresponds to the JSON property `resourceUiUrl`
|
|
324
440
|
# @return [String]
|
|
325
441
|
attr_accessor :resource_ui_url
|
|
@@ -329,17 +445,31 @@ module Google
|
|
|
329
445
|
# @return [Google::Apis::ResellerV1::Seats]
|
|
330
446
|
attr_accessor :seats
|
|
331
447
|
|
|
332
|
-
#
|
|
448
|
+
# A required property. The skuId is a unique system identifier for a product's
|
|
449
|
+
# SKU assigned to a customer in the subscription. For products and SKUs
|
|
450
|
+
# available in this version of the API, see Product and SKU IDs.
|
|
333
451
|
# Corresponds to the JSON property `skuId`
|
|
334
452
|
# @return [String]
|
|
335
453
|
attr_accessor :sku_id
|
|
336
454
|
|
|
337
|
-
#
|
|
455
|
+
# Read-only external display name for a product's SKU assigned to a customer in
|
|
456
|
+
# the subscription. SKU names are subject to change at Google's discretion. For
|
|
457
|
+
# products and SKUs available in this version of the API, see Product and SKU
|
|
458
|
+
# IDs.
|
|
459
|
+
# Corresponds to the JSON property `skuName`
|
|
460
|
+
# @return [String]
|
|
461
|
+
attr_accessor :sku_name
|
|
462
|
+
|
|
463
|
+
# This is an optional property.
|
|
338
464
|
# Corresponds to the JSON property `status`
|
|
339
465
|
# @return [String]
|
|
340
466
|
attr_accessor :status
|
|
341
467
|
|
|
342
|
-
# The
|
|
468
|
+
# The subscriptionId is the subscription identifier and is unique for each
|
|
469
|
+
# customer. This is a required property. Since a subscriptionId changes when a
|
|
470
|
+
# subscription is updated, we recommend not using this ID as a key for
|
|
471
|
+
# persistent data. Use the subscriptionId as described in retrieve all reseller
|
|
472
|
+
# subscriptions.
|
|
343
473
|
# Corresponds to the JSON property `subscriptionId`
|
|
344
474
|
# @return [String]
|
|
345
475
|
attr_accessor :subscription_id
|
|
@@ -347,9 +477,10 @@ module Google
|
|
|
347
477
|
# Read-only field containing an enumerable of all the current suspension reasons
|
|
348
478
|
# for a subscription. It is possible for a subscription to have many concurrent,
|
|
349
479
|
# overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all
|
|
350
|
-
# pending suspensions are removed.
|
|
351
|
-
#
|
|
352
|
-
#
|
|
480
|
+
# pending suspensions are removed.
|
|
481
|
+
# Possible options include:
|
|
482
|
+
# - PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the G
|
|
483
|
+
# Suite Resold Terms of Services.
|
|
353
484
|
# - RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service
|
|
354
485
|
# was cancelled at the end of their term.
|
|
355
486
|
# - RESELLER_INITIATED - A manual suspension invoked by a Reseller.
|
|
@@ -360,12 +491,14 @@ module Google
|
|
|
360
491
|
# @return [Array<String>]
|
|
361
492
|
attr_accessor :suspension_reasons
|
|
362
493
|
|
|
363
|
-
#
|
|
494
|
+
# Read-only transfer related information for the subscription. For more
|
|
495
|
+
# information, see retrieve transferable subscriptions for a customer.
|
|
364
496
|
# Corresponds to the JSON property `transferInfo`
|
|
365
497
|
# @return [Google::Apis::ResellerV1::Subscription::TransferInfo]
|
|
366
498
|
attr_accessor :transfer_info
|
|
367
499
|
|
|
368
|
-
#
|
|
500
|
+
# The G Suite annual commitment and flexible payment plans can be in a 30-day
|
|
501
|
+
# free trial. For more information, see the API concepts.
|
|
369
502
|
# Corresponds to the JSON property `trialSettings`
|
|
370
503
|
# @return [Google::Apis::ResellerV1::Subscription::TrialSettings]
|
|
371
504
|
attr_accessor :trial_settings
|
|
@@ -388,6 +521,7 @@ module Google
|
|
|
388
521
|
@resource_ui_url = args[:resource_ui_url] if args.key?(:resource_ui_url)
|
|
389
522
|
@seats = args[:seats] if args.key?(:seats)
|
|
390
523
|
@sku_id = args[:sku_id] if args.key?(:sku_id)
|
|
524
|
+
@sku_name = args[:sku_name] if args.key?(:sku_name)
|
|
391
525
|
@status = args[:status] if args.key?(:status)
|
|
392
526
|
@subscription_id = args[:subscription_id] if args.key?(:subscription_id)
|
|
393
527
|
@suspension_reasons = args[:suspension_reasons] if args.key?(:suspension_reasons)
|
|
@@ -395,22 +529,37 @@ module Google
|
|
|
395
529
|
@trial_settings = args[:trial_settings] if args.key?(:trial_settings)
|
|
396
530
|
end
|
|
397
531
|
|
|
398
|
-
#
|
|
532
|
+
# The plan property is required. In this version of the API, the G Suite plans
|
|
533
|
+
# are the flexible plan, annual commitment plan, and the 30-day free trial plan.
|
|
534
|
+
# For more information about the API"s payment plans, see the API concepts.
|
|
399
535
|
class Plan
|
|
400
536
|
include Google::Apis::Core::Hashable
|
|
401
537
|
|
|
402
|
-
#
|
|
538
|
+
# In this version of the API, annual commitment plan's interval is one year.
|
|
403
539
|
# Corresponds to the JSON property `commitmentInterval`
|
|
404
540
|
# @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval]
|
|
405
541
|
attr_accessor :commitment_interval
|
|
406
542
|
|
|
407
|
-
#
|
|
543
|
+
# The isCommitmentPlan property's boolean value identifies the plan as an annual
|
|
544
|
+
# commitment plan:
|
|
545
|
+
# - true — The subscription's plan is an annual commitment plan.
|
|
546
|
+
# - false — The plan is not an annual commitment plan.
|
|
408
547
|
# Corresponds to the JSON property `isCommitmentPlan`
|
|
409
548
|
# @return [Boolean]
|
|
410
549
|
attr_accessor :is_commitment_plan
|
|
411
550
|
alias_method :is_commitment_plan?, :is_commitment_plan
|
|
412
551
|
|
|
413
|
-
# The
|
|
552
|
+
# The planName property is required. This is the name of the subscription's plan.
|
|
553
|
+
# For more information about the Google payment plans, see the API concepts.
|
|
554
|
+
# Possible values are:
|
|
555
|
+
# - ANNUAL_MONTHLY_PAY — The annual commitment plan with monthly payments
|
|
556
|
+
# - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly payments
|
|
557
|
+
# - FLEXIBLE — The flexible plan
|
|
558
|
+
# - TRIAL — The 30-day free trial plan. A subscription in trial will be
|
|
559
|
+
# suspended after the 30th free day if no payment plan is assigned. Calling
|
|
560
|
+
# changePlan will assign a payment plan to a trial but will not activate the
|
|
561
|
+
# plan. A trial will automatically begin its assigned payment plan after its
|
|
562
|
+
# 30th free day or immediately after calling startPaidService.
|
|
414
563
|
# Corresponds to the JSON property `planName`
|
|
415
564
|
# @return [String]
|
|
416
565
|
attr_accessor :plan_name
|
|
@@ -426,16 +575,18 @@ module Google
|
|
|
426
575
|
@plan_name = args[:plan_name] if args.key?(:plan_name)
|
|
427
576
|
end
|
|
428
577
|
|
|
429
|
-
#
|
|
578
|
+
# In this version of the API, annual commitment plan's interval is one year.
|
|
430
579
|
class CommitmentInterval
|
|
431
580
|
include Google::Apis::Core::Hashable
|
|
432
581
|
|
|
433
|
-
#
|
|
582
|
+
# An annual commitment plan's interval's endTime in milliseconds using the UNIX
|
|
583
|
+
# Epoch format. See an example Epoch converter.
|
|
434
584
|
# Corresponds to the JSON property `endTime`
|
|
435
585
|
# @return [String]
|
|
436
586
|
attr_accessor :end_time
|
|
437
587
|
|
|
438
|
-
#
|
|
588
|
+
# An annual commitment plan's interval's startTime in milliseconds using UNIX
|
|
589
|
+
# Epoch format. See an example Epoch converter.
|
|
439
590
|
# Corresponds to the JSON property `startTime`
|
|
440
591
|
# @return [String]
|
|
441
592
|
attr_accessor :start_time
|
|
@@ -452,16 +603,21 @@ module Google
|
|
|
452
603
|
end
|
|
453
604
|
end
|
|
454
605
|
|
|
455
|
-
#
|
|
606
|
+
# Read-only transfer related information for the subscription. For more
|
|
607
|
+
# information, see retrieve transferable subscriptions for a customer.
|
|
456
608
|
class TransferInfo
|
|
457
609
|
include Google::Apis::Core::Hashable
|
|
458
610
|
|
|
459
|
-
#
|
|
611
|
+
# When inserting a subscription, this is the minimum number of seats listed in
|
|
612
|
+
# the transfer order for this product. For example, if the customer has 20 users,
|
|
613
|
+
# the reseller cannot place a transfer order of 15 seats. The minimum is 20
|
|
614
|
+
# seats.
|
|
460
615
|
# Corresponds to the JSON property `minimumTransferableSeats`
|
|
461
616
|
# @return [Fixnum]
|
|
462
617
|
attr_accessor :minimum_transferable_seats
|
|
463
618
|
|
|
464
|
-
#
|
|
619
|
+
# The time when transfer token or intent to transfer will expire. The time is in
|
|
620
|
+
# milliseconds using UNIX Epoch format.
|
|
465
621
|
# Corresponds to the JSON property `transferabilityExpirationTime`
|
|
466
622
|
# @return [String]
|
|
467
623
|
attr_accessor :transferability_expiration_time
|
|
@@ -477,17 +633,21 @@ module Google
|
|
|
477
633
|
end
|
|
478
634
|
end
|
|
479
635
|
|
|
480
|
-
#
|
|
636
|
+
# The G Suite annual commitment and flexible payment plans can be in a 30-day
|
|
637
|
+
# free trial. For more information, see the API concepts.
|
|
481
638
|
class TrialSettings
|
|
482
639
|
include Google::Apis::Core::Hashable
|
|
483
640
|
|
|
484
|
-
#
|
|
641
|
+
# Determines if a subscription's plan is in a 30-day free trial or not:
|
|
642
|
+
# - true — The plan is in trial.
|
|
643
|
+
# - false — The plan is not in trial.
|
|
485
644
|
# Corresponds to the JSON property `isInTrial`
|
|
486
645
|
# @return [Boolean]
|
|
487
646
|
attr_accessor :is_in_trial
|
|
488
647
|
alias_method :is_in_trial?, :is_in_trial
|
|
489
648
|
|
|
490
|
-
#
|
|
649
|
+
# Date when the trial ends. The value is in milliseconds using the UNIX Epoch
|
|
650
|
+
# format. See an example Epoch converter.
|
|
491
651
|
# Corresponds to the JSON property `trialEndTime`
|
|
492
652
|
# @return [String]
|
|
493
653
|
attr_accessor :trial_end_time
|
|
@@ -508,7 +668,8 @@ module Google
|
|
|
508
668
|
class Subscriptions
|
|
509
669
|
include Google::Apis::Core::Hashable
|
|
510
670
|
|
|
511
|
-
# Identifies the resource as a collection of subscriptions.
|
|
671
|
+
# Identifies the resource as a collection of subscriptions. Value: reseller#
|
|
672
|
+
# subscriptions
|
|
512
673
|
# Corresponds to the JSON property `kind`
|
|
513
674
|
# @return [String]
|
|
514
675
|
attr_accessor :kind
|