google-api-client 0.10.0 → 0.10.1
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/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/api_names.yaml +37747 -36512
- data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
- data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +1016 -114
- data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +426 -22
- data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +481 -95
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +27 -10
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
- data/generated/google/apis/admin_reports_v1.rb +2 -2
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsensehost_v4_1.rb +1 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analyticsreporting_v4.rb +4 -4
- data/generated/google/apis/analyticsreporting_v4/classes.rb +428 -428
- data/generated/google/apis/analyticsreporting_v4/representations.rb +108 -108
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +60 -66
- data/generated/google/apis/androidenterprise_v1/service.rb +12 -11
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +7 -0
- data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
- data/generated/google/apis/androidpublisher_v2/service.rb +1 -1
- data/generated/google/apis/appsactivity_v1.rb +3 -3
- 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 +34 -8
- data/generated/google/apis/bigquery_v2/representations.rb +15 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +3 -5
- data/generated/google/apis/classroom_v1.rb +25 -22
- data/generated/google/apis/classroom_v1/classes.rb +910 -1001
- data/generated/google/apis/classroom_v1/representations.rb +240 -240
- data/generated/google/apis/classroom_v1/service.rb +1064 -1272
- 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 +238 -238
- data/generated/google/apis/cloudbuild_v1/representations.rb +48 -48
- data/generated/google/apis/cloudbuild_v1/service.rb +176 -176
- data/generated/google/apis/clouddebugger_v2.rb +4 -4
- data/generated/google/apis/clouddebugger_v2/classes.rb +315 -315
- data/generated/google/apis/clouddebugger_v2/representations.rb +90 -90
- data/generated/google/apis/clouddebugger_v2/service.rb +152 -152
- data/generated/google/apis/cloudkms_v1.rb +35 -0
- data/generated/google/apis/cloudkms_v1/classes.rb +1039 -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 +1 -1
- data/generated/google/apis/cloudkms_v1beta1/classes.rb +645 -605
- data/generated/google/apis/cloudkms_v1beta1/representations.rb +136 -136
- data/generated/google/apis/cloudkms_v1beta1/service.rb +258 -264
- data/generated/google/apis/cloudmonitoring_v2beta2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +677 -456
- data/generated/google/apis/cloudresourcemanager_v1/representations.rb +154 -89
- data/generated/google/apis/cloudresourcemanager_v1/service.rb +380 -279
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +4 -4
- data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +247 -114
- data/generated/google/apis/cloudresourcemanager_v1beta1/representations.rb +72 -40
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +202 -208
- data/generated/google/apis/cloudtrace_v1.rb +4 -4
- data/generated/google/apis/cloudtrace_v1/classes.rb +39 -39
- data/generated/google/apis/cloudtrace_v1/representations.rb +13 -13
- data/generated/google/apis/cloudtrace_v1/service.rb +18 -18
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +813 -82
- data/generated/google/apis/compute_beta/representations.rb +305 -0
- data/generated/google/apis/compute_beta/service.rb +971 -180
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +147 -21
- data/generated/google/apis/compute_v1/representations.rb +38 -0
- data/generated/google/apis/compute_v1/service.rb +347 -65
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +2 -1
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +3352 -3110
- data/generated/google/apis/dataflow_v1b3/representations.rb +812 -730
- data/generated/google/apis/dataflow_v1b3/service.rb +264 -183
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +1200 -1164
- data/generated/google/apis/dataproc_v1/representations.rb +220 -204
- data/generated/google/apis/dataproc_v1/service.rb +299 -299
- data/generated/google/apis/datastore_v1.rb +4 -4
- data/generated/google/apis/datastore_v1/classes.rb +688 -688
- data/generated/google/apis/datastore_v1/representations.rb +167 -167
- data/generated/google/apis/datastore_v1/service.rb +68 -68
- data/generated/google/apis/deploymentmanager_v2.rb +1 -1
- data/generated/google/apis/deploymentmanager_v2/classes.rb +13 -3
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +1 -1
- data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +487 -15
- data/generated/google/apis/drive_v2/representations.rb +120 -0
- data/generated/google/apis/drive_v2/service.rb +355 -38
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/drive_v3/classes.rb +416 -14
- data/generated/google/apis/drive_v3/representations.rb +99 -0
- data/generated/google/apis/drive_v3/service.rb +315 -28
- 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 +7 -7
- data/generated/google/apis/genomics_v1/classes.rb +2301 -2301
- data/generated/google/apis/genomics_v1/representations.rb +239 -239
- data/generated/google/apis/genomics_v1/service.rb +599 -599
- data/generated/google/apis/gmail_v1.rb +2 -2
- data/generated/google/apis/gmail_v1/service.rb +18 -1
- data/generated/google/apis/groupssettings_v1.rb +1 -1
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +440 -440
- data/generated/google/apis/iam_v1/representations.rb +96 -96
- data/generated/google/apis/iam_v1/service.rb +150 -150
- data/generated/google/apis/kgsearch_v1/service.rb +13 -13
- data/generated/google/apis/language_v1beta1.rb +1 -1
- data/generated/google/apis/language_v1beta1/classes.rb +235 -235
- data/generated/google/apis/language_v1beta1/representations.rb +73 -73
- data/generated/google/apis/language_v1beta1/service.rb +49 -49
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/logging_v2beta1.rb +1 -1
- data/generated/google/apis/logging_v2beta1/classes.rb +888 -879
- data/generated/google/apis/logging_v2beta1/representations.rb +129 -129
- data/generated/google/apis/logging_v2beta1/service.rb +315 -316
- data/generated/google/apis/manufacturers_v1/classes.rb +139 -139
- data/generated/google/apis/manufacturers_v1/representations.rb +30 -30
- data/generated/google/apis/manufacturers_v1/service.rb +32 -32
- data/generated/google/apis/monitoring_v3.rb +4 -4
- data/generated/google/apis/monitoring_v3/classes.rb +229 -229
- data/generated/google/apis/monitoring_v3/representations.rb +45 -45
- data/generated/google/apis/monitoring_v3/service.rb +141 -141
- data/generated/google/apis/partners_v2.rb +3 -3
- data/generated/google/apis/partners_v2/classes.rb +1837 -483
- data/generated/google/apis/partners_v2/representations.rb +614 -157
- data/generated/google/apis/partners_v2/service.rb +881 -150
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +517 -465
- data/generated/google/apis/people_v1/representations.rb +138 -107
- data/generated/google/apis/people_v1/service.rb +56 -49
- 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 +529 -458
- data/generated/google/apis/proximitybeacon_v1beta1/representations.rb +98 -97
- data/generated/google/apis/proximitybeacon_v1beta1/service.rb +494 -370
- data/generated/google/apis/pubsub_v1.rb +4 -4
- data/generated/google/apis/pubsub_v1/classes.rb +203 -203
- data/generated/google/apis/pubsub_v1/representations.rb +65 -65
- data/generated/google/apis/pubsub_v1/service.rb +226 -217
- data/generated/google/apis/reseller_v1.rb +1 -1
- data/generated/google/apis/reseller_v1/classes.rb +213 -61
- data/generated/google/apis/reseller_v1/representations.rb +27 -0
- data/generated/google/apis/reseller_v1/service.rb +240 -47
- data/generated/google/apis/script_v1.rb +14 -14
- data/generated/google/apis/script_v1/classes.rb +95 -95
- data/generated/google/apis/script_v1/representations.rb +25 -25
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +4346 -4300
- data/generated/google/apis/sheets_v4/representations.rb +853 -837
- data/generated/google/apis/sheets_v4/service.rb +32 -32
- data/generated/google/apis/slides_v1.rb +1 -1
- data/generated/google/apis/slides_v1/classes.rb +804 -748
- data/generated/google/apis/slides_v1/representations.rb +204 -187
- data/generated/google/apis/slides_v1/service.rb +16 -16
- data/generated/google/apis/speech_v1beta1.rb +1 -1
- data/generated/google/apis/speech_v1beta1/classes.rb +57 -57
- data/generated/google/apis/speech_v1beta1/representations.rb +19 -19
- data/generated/google/apis/speech_v1beta1/service.rb +66 -66
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +32 -7
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +16 -0
- data/generated/google/apis/sqladmin_v1beta4/service.rb +9 -2
- data/generated/google/apis/storage_v1.rb +1 -1
- data/generated/google/apis/storage_v1/service.rb +10 -7
- data/generated/google/apis/vision_v1.rb +1 -1
- data/generated/google/apis/vision_v1/classes.rb +1393 -865
- data/generated/google/apis/vision_v1/representations.rb +367 -102
- data/generated/google/apis/vision_v1/service.rb +4 -4
- data/generated/google/apis/youtube_analytics_v1.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtubereporting_v1.rb +4 -4
- data/generated/google/apis/youtubereporting_v1/classes.rb +93 -93
- data/generated/google/apis/youtubereporting_v1/representations.rb +25 -25
- data/generated/google/apis/youtubereporting_v1/service.rb +108 -108
- data/lib/google/apis/version.rb +1 -1
- metadata +34 -30
|
@@ -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 = '20170216'
|
|
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,23 @@ 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
|
+
# This is an optional property.
|
|
338
456
|
# Corresponds to the JSON property `status`
|
|
339
457
|
# @return [String]
|
|
340
458
|
attr_accessor :status
|
|
341
459
|
|
|
342
|
-
# The
|
|
460
|
+
# The subscriptionId is the subscription identifier and is unique for each
|
|
461
|
+
# customer. This is a required property. Since a subscriptionId changes when a
|
|
462
|
+
# subscription is updated, we recommend not using this ID as a key for
|
|
463
|
+
# persistent data. Use the subscriptionId as described in retrieve all reseller
|
|
464
|
+
# subscriptions.
|
|
343
465
|
# Corresponds to the JSON property `subscriptionId`
|
|
344
466
|
# @return [String]
|
|
345
467
|
attr_accessor :subscription_id
|
|
@@ -347,9 +469,10 @@ module Google
|
|
|
347
469
|
# Read-only field containing an enumerable of all the current suspension reasons
|
|
348
470
|
# for a subscription. It is possible for a subscription to have many concurrent,
|
|
349
471
|
# overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all
|
|
350
|
-
# pending suspensions are removed.
|
|
351
|
-
#
|
|
352
|
-
#
|
|
472
|
+
# pending suspensions are removed.
|
|
473
|
+
# Possible options include:
|
|
474
|
+
# - PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the G
|
|
475
|
+
# Suite Resold Terms of Services.
|
|
353
476
|
# - RENEWAL_WITH_TYPE_CANCEL - The customer's commitment ended and their service
|
|
354
477
|
# was cancelled at the end of their term.
|
|
355
478
|
# - RESELLER_INITIATED - A manual suspension invoked by a Reseller.
|
|
@@ -360,12 +483,14 @@ module Google
|
|
|
360
483
|
# @return [Array<String>]
|
|
361
484
|
attr_accessor :suspension_reasons
|
|
362
485
|
|
|
363
|
-
#
|
|
486
|
+
# Read-only transfer related information for the subscription. For more
|
|
487
|
+
# information, see retrieve transferable subscriptions for a customer.
|
|
364
488
|
# Corresponds to the JSON property `transferInfo`
|
|
365
489
|
# @return [Google::Apis::ResellerV1::Subscription::TransferInfo]
|
|
366
490
|
attr_accessor :transfer_info
|
|
367
491
|
|
|
368
|
-
#
|
|
492
|
+
# The G Suite annual commitment and flexible payment plans can be in a 30-day
|
|
493
|
+
# free trial. For more information, see the API concepts.
|
|
369
494
|
# Corresponds to the JSON property `trialSettings`
|
|
370
495
|
# @return [Google::Apis::ResellerV1::Subscription::TrialSettings]
|
|
371
496
|
attr_accessor :trial_settings
|
|
@@ -395,22 +520,37 @@ module Google
|
|
|
395
520
|
@trial_settings = args[:trial_settings] if args.key?(:trial_settings)
|
|
396
521
|
end
|
|
397
522
|
|
|
398
|
-
#
|
|
523
|
+
# The plan property is required. In this version of the API, the G Suite plans
|
|
524
|
+
# are the flexible plan, annual commitment plan, and the 30-day free trial plan.
|
|
525
|
+
# For more information about the API"s payment plans, see the API concepts.
|
|
399
526
|
class Plan
|
|
400
527
|
include Google::Apis::Core::Hashable
|
|
401
528
|
|
|
402
|
-
#
|
|
529
|
+
# In this version of the API, annual commitment plan's interval is one year.
|
|
403
530
|
# Corresponds to the JSON property `commitmentInterval`
|
|
404
531
|
# @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval]
|
|
405
532
|
attr_accessor :commitment_interval
|
|
406
533
|
|
|
407
|
-
#
|
|
534
|
+
# The isCommitmentPlan property's boolean value identifies the plan as an annual
|
|
535
|
+
# commitment plan:
|
|
536
|
+
# - true — The subscription's plan is an annual commitment plan.
|
|
537
|
+
# - false — The plan is not an annual commitment plan.
|
|
408
538
|
# Corresponds to the JSON property `isCommitmentPlan`
|
|
409
539
|
# @return [Boolean]
|
|
410
540
|
attr_accessor :is_commitment_plan
|
|
411
541
|
alias_method :is_commitment_plan?, :is_commitment_plan
|
|
412
542
|
|
|
413
|
-
# The
|
|
543
|
+
# The planName property is required. This is the name of the subscription's plan.
|
|
544
|
+
# For more information about the Google payment plans, see the API concepts.
|
|
545
|
+
# Possible values are:
|
|
546
|
+
# - ANNUAL_MONTHLY_PAY — The annual commitment plan with monthly payments
|
|
547
|
+
# - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly payments
|
|
548
|
+
# - FLEXIBLE — The flexible plan
|
|
549
|
+
# - TRIAL — The 30-day free trial plan. A subscription in trial will be
|
|
550
|
+
# suspended after the 30th free day if no payment plan is assigned. Calling
|
|
551
|
+
# changePlan will assign a payment plan to a trial but will not activate the
|
|
552
|
+
# plan. A trial will automatically begin its assigned payment plan after its
|
|
553
|
+
# 30th free day or immediately after calling startPaidService.
|
|
414
554
|
# Corresponds to the JSON property `planName`
|
|
415
555
|
# @return [String]
|
|
416
556
|
attr_accessor :plan_name
|
|
@@ -426,16 +566,18 @@ module Google
|
|
|
426
566
|
@plan_name = args[:plan_name] if args.key?(:plan_name)
|
|
427
567
|
end
|
|
428
568
|
|
|
429
|
-
#
|
|
569
|
+
# In this version of the API, annual commitment plan's interval is one year.
|
|
430
570
|
class CommitmentInterval
|
|
431
571
|
include Google::Apis::Core::Hashable
|
|
432
572
|
|
|
433
|
-
#
|
|
573
|
+
# An annual commitment plan's interval's endTime in milliseconds using the UNIX
|
|
574
|
+
# Epoch format. See an example Epoch converter.
|
|
434
575
|
# Corresponds to the JSON property `endTime`
|
|
435
576
|
# @return [String]
|
|
436
577
|
attr_accessor :end_time
|
|
437
578
|
|
|
438
|
-
#
|
|
579
|
+
# An annual commitment plan's interval's startTime in milliseconds using UNIX
|
|
580
|
+
# Epoch format. See an example Epoch converter.
|
|
439
581
|
# Corresponds to the JSON property `startTime`
|
|
440
582
|
# @return [String]
|
|
441
583
|
attr_accessor :start_time
|
|
@@ -452,16 +594,21 @@ module Google
|
|
|
452
594
|
end
|
|
453
595
|
end
|
|
454
596
|
|
|
455
|
-
#
|
|
597
|
+
# Read-only transfer related information for the subscription. For more
|
|
598
|
+
# information, see retrieve transferable subscriptions for a customer.
|
|
456
599
|
class TransferInfo
|
|
457
600
|
include Google::Apis::Core::Hashable
|
|
458
601
|
|
|
459
|
-
#
|
|
602
|
+
# When inserting a subscription, this is the minimum number of seats listed in
|
|
603
|
+
# the transfer order for this product. For example, if the customer has 20 users,
|
|
604
|
+
# the reseller cannot place a transfer order of 15 seats. The minimum is 20
|
|
605
|
+
# seats.
|
|
460
606
|
# Corresponds to the JSON property `minimumTransferableSeats`
|
|
461
607
|
# @return [Fixnum]
|
|
462
608
|
attr_accessor :minimum_transferable_seats
|
|
463
609
|
|
|
464
|
-
#
|
|
610
|
+
# The time when transfer token or intent to transfer will expire. The time is in
|
|
611
|
+
# milliseconds using UNIX Epoch format.
|
|
465
612
|
# Corresponds to the JSON property `transferabilityExpirationTime`
|
|
466
613
|
# @return [String]
|
|
467
614
|
attr_accessor :transferability_expiration_time
|
|
@@ -477,17 +624,21 @@ module Google
|
|
|
477
624
|
end
|
|
478
625
|
end
|
|
479
626
|
|
|
480
|
-
#
|
|
627
|
+
# The G Suite annual commitment and flexible payment plans can be in a 30-day
|
|
628
|
+
# free trial. For more information, see the API concepts.
|
|
481
629
|
class TrialSettings
|
|
482
630
|
include Google::Apis::Core::Hashable
|
|
483
631
|
|
|
484
|
-
#
|
|
632
|
+
# Determines if a subscription's plan is in a 30-day free trial or not:
|
|
633
|
+
# - true — The plan is in trial.
|
|
634
|
+
# - false — The plan is not in trial.
|
|
485
635
|
# Corresponds to the JSON property `isInTrial`
|
|
486
636
|
# @return [Boolean]
|
|
487
637
|
attr_accessor :is_in_trial
|
|
488
638
|
alias_method :is_in_trial?, :is_in_trial
|
|
489
639
|
|
|
490
|
-
#
|
|
640
|
+
# Date when the trial ends. The value is in milliseconds using the UNIX Epoch
|
|
641
|
+
# format. See an example Epoch converter.
|
|
491
642
|
# Corresponds to the JSON property `trialEndTime`
|
|
492
643
|
# @return [String]
|
|
493
644
|
attr_accessor :trial_end_time
|
|
@@ -508,7 +659,8 @@ module Google
|
|
|
508
659
|
class Subscriptions
|
|
509
660
|
include Google::Apis::Core::Hashable
|
|
510
661
|
|
|
511
|
-
# Identifies the resource as a collection of subscriptions.
|
|
662
|
+
# Identifies the resource as a collection of subscriptions. Value: reseller#
|
|
663
|
+
# subscriptions
|
|
512
664
|
# Corresponds to the JSON property `kind`
|
|
513
665
|
# @return [String]
|
|
514
666
|
attr_accessor :kind
|