google-api-client 0.44.2 → 0.45.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +61 -0
- data/generated/google/apis/admob_v1.rb +4 -1
- data/generated/google/apis/admob_v1/classes.rb +2 -2
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/service.rb +2 -2
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +206 -2
- data/generated/google/apis/apigee_v1/representations.rb +74 -0
- data/generated/google/apis/apigee_v1/service.rb +41 -19
- data/generated/google/apis/appengine_v1.rb +1 -1
- data/generated/google/apis/appengine_v1beta.rb +1 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
- data/generated/google/apis/artifactregistry_v1beta1/classes.rb +7 -0
- data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
- data/generated/google/apis/assuredworkloads_v1beta1.rb +34 -0
- data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +458 -0
- data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +230 -0
- data/generated/google/apis/assuredworkloads_v1beta1/service.rb +328 -0
- data/generated/google/apis/billingbudgets_v1beta1.rb +1 -1
- data/generated/google/apis/billingbudgets_v1beta1/classes.rb +15 -5
- data/generated/google/apis/billingbudgets_v1beta1/representations.rb +1 -0
- data/generated/google/apis/chat_v1.rb +1 -1
- data/generated/google/apis/chat_v1/classes.rb +3 -3
- data/generated/google/apis/classroom_v1.rb +7 -1
- data/generated/google/apis/classroom_v1/classes.rb +132 -0
- data/generated/google/apis/classroom_v1/representations.rb +43 -0
- data/generated/google/apis/classroom_v1/service.rb +240 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +52 -0
- data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +4 -2
- data/generated/google/apis/cloudbilling_v1.rb +1 -1
- data/generated/google/apis/cloudbilling_v1/classes.rb +4 -4
- data/generated/google/apis/cloudidentity_v1.rb +1 -1
- data/generated/google/apis/cloudidentity_v1/classes.rb +84 -0
- data/generated/google/apis/cloudidentity_v1/representations.rb +46 -0
- data/generated/google/apis/cloudidentity_v1/service.rb +39 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +7 -0
- data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +25 -19
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -0
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +7 -0
- data/generated/google/apis/cloudtasks_v2beta3/representations.rb +1 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +28 -0
- data/generated/google/apis/container_v1beta1/representations.rb +15 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +1 -1
- data/generated/google/apis/customsearch_v1.rb +1 -1
- data/generated/google/apis/customsearch_v1/service.rb +2 -2
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +135 -0
- data/generated/google/apis/dataflow_v1b3/representations.rb +30 -0
- data/generated/google/apis/dataflow_v1b3/service.rb +10 -1
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +3 -3
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +5 -4
- data/generated/google/apis/dfareporting_v3_3.rb +1 -1
- data/generated/google/apis/dfareporting_v3_3/service.rb +51 -54
- data/generated/google/apis/dfareporting_v3_4.rb +1 -1
- data/generated/google/apis/dfareporting_v3_4/service.rb +51 -54
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +18 -0
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +2 -0
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/service.rb +4 -4
- data/generated/google/apis/healthcare_v1.rb +1 -1
- data/generated/google/apis/healthcare_v1/service.rb +1 -3
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +7 -0
- data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -0
- data/generated/google/apis/healthcare_v1beta1/service.rb +1 -3
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/service.rb +2 -1
- data/generated/google/apis/licensing_v1.rb +4 -3
- data/generated/google/apis/licensing_v1/classes.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +55 -85
- data/generated/google/apis/monitoring_v1.rb +1 -1
- data/generated/google/apis/monitoring_v1/classes.rb +10 -10
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +36 -30
- data/generated/google/apis/networkmanagement_v1beta1.rb +1 -1
- data/generated/google/apis/networkmanagement_v1beta1/classes.rb +68 -0
- data/generated/google/apis/networkmanagement_v1beta1/representations.rb +23 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1/representations.rb +1 -0
- data/generated/google/apis/pubsub_v1beta2.rb +1 -1
- data/generated/google/apis/pubsub_v1beta2/classes.rb +7 -0
- data/generated/google/apis/pubsub_v1beta2/representations.rb +1 -0
- data/generated/google/apis/pubsublite_v1.rb +1 -1
- data/generated/google/apis/pubsublite_v1/classes.rb +72 -0
- data/generated/google/apis/pubsublite_v1/representations.rb +33 -0
- data/generated/google/apis/pubsublite_v1/service.rb +33 -0
- data/generated/google/apis/redis_v1.rb +1 -1
- data/generated/google/apis/redis_v1/classes.rb +0 -386
- data/generated/google/apis/redis_v1/representations.rb +0 -139
- data/generated/google/apis/redis_v1beta1.rb +1 -1
- data/generated/google/apis/redis_v1beta1/classes.rb +0 -386
- data/generated/google/apis/redis_v1beta1/representations.rb +0 -139
- data/generated/google/apis/reseller_v1.rb +2 -2
- data/generated/google/apis/reseller_v1/classes.rb +151 -219
- data/generated/google/apis/reseller_v1/service.rb +122 -173
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +8 -8
- data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
- data/generated/google/apis/sasportal_v1alpha1/classes.rb +20 -0
- data/generated/google/apis/sasportal_v1alpha1/representations.rb +13 -0
- data/generated/google/apis/sasportal_v1alpha1/service.rb +479 -0
- data/generated/google/apis/secretmanager_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +12 -12
- data/generated/google/apis/serviceconsumermanagement_v1/service.rb +31 -29
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +8 -5
- data/generated/google/apis/servicecontrol_v2.rb +1 -1
- data/generated/google/apis/servicecontrol_v2/classes.rb +7 -4
- data/generated/google/apis/sheets_v4.rb +1 -1
- data/generated/google/apis/sheets_v4/classes.rb +1 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +7 -0
- data/generated/google/apis/spanner_v1/representations.rb +1 -0
- data/generated/google/apis/{sql_v1beta4.rb → sqladmin_v1beta4.rb} +5 -5
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/classes.rb +142 -97
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/representations.rb +104 -87
- data/generated/google/apis/{sql_v1beta4 → sqladmin_v1beta4}/service.rb +244 -244
- data/generated/google/apis/tagmanager_v2.rb +1 -1
- data/generated/google/apis/tasks_v1.rb +1 -1
- data/generated/google/apis/tasks_v1/classes.rb +1 -1
- data/generated/google/apis/tasks_v1/service.rb +4 -3
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +2 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +46 -845
- data/generated/google/apis/youtube_v3/representations.rb +0 -390
- data/generated/google/apis/youtube_v3/service.rb +2 -197
- data/lib/google/apis/version.rb +1 -1
- metadata +11 -11
- data/generated/google/apis/plus_v1.rb +0 -43
- data/generated/google/apis/plus_v1/classes.rb +0 -2094
- data/generated/google/apis/plus_v1/representations.rb +0 -907
- data/generated/google/apis/plus_v1/service.rb +0 -451
@@ -70,54 +70,6 @@ module Google
|
|
70
70
|
include Google::Apis::Core::JsonObjectSupport
|
71
71
|
end
|
72
72
|
|
73
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
74
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
|
-
|
76
|
-
include Google::Apis::Core::JsonObjectSupport
|
77
|
-
end
|
78
|
-
|
79
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
80
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
-
|
82
|
-
include Google::Apis::Core::JsonObjectSupport
|
83
|
-
end
|
84
|
-
|
85
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
86
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
-
|
88
|
-
include Google::Apis::Core::JsonObjectSupport
|
89
|
-
end
|
90
|
-
|
91
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
92
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
93
|
-
|
94
|
-
include Google::Apis::Core::JsonObjectSupport
|
95
|
-
end
|
96
|
-
|
97
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
98
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
99
|
-
|
100
|
-
include Google::Apis::Core::JsonObjectSupport
|
101
|
-
end
|
102
|
-
|
103
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
104
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
105
|
-
|
106
|
-
include Google::Apis::Core::JsonObjectSupport
|
107
|
-
end
|
108
|
-
|
109
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
110
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
111
|
-
|
112
|
-
include Google::Apis::Core::JsonObjectSupport
|
113
|
-
end
|
114
|
-
|
115
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
116
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
117
|
-
|
118
|
-
include Google::Apis::Core::JsonObjectSupport
|
119
|
-
end
|
120
|
-
|
121
73
|
class ImportInstanceRequest
|
122
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
75
|
|
@@ -246,97 +198,6 @@ module Google
|
|
246
198
|
end
|
247
199
|
end
|
248
200
|
|
249
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1Instance
|
250
|
-
# @private
|
251
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
252
|
-
property :consumer_defined_name, as: 'consumerDefinedName'
|
253
|
-
property :create_time, as: 'createTime'
|
254
|
-
hash :labels, as: 'labels'
|
255
|
-
hash :maintenance_policy_names, as: 'maintenancePolicyNames'
|
256
|
-
hash :maintenance_schedules, as: 'maintenanceSchedules', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule::Representation
|
257
|
-
|
258
|
-
property :maintenance_settings, as: 'maintenanceSettings', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings::Representation
|
259
|
-
|
260
|
-
property :name, as: 'name'
|
261
|
-
hash :producer_metadata, as: 'producerMetadata'
|
262
|
-
collection :provisioned_resources, as: 'provisionedResources', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource::Representation
|
263
|
-
|
264
|
-
property :slm_instance_template, as: 'slmInstanceTemplate'
|
265
|
-
property :slo_metadata, as: 'sloMetadata', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata::Representation
|
266
|
-
|
267
|
-
hash :software_versions, as: 'softwareVersions'
|
268
|
-
property :state, as: 'state'
|
269
|
-
property :tenant_project_id, as: 'tenantProjectId'
|
270
|
-
property :update_time, as: 'updateTime'
|
271
|
-
end
|
272
|
-
end
|
273
|
-
|
274
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSchedule
|
275
|
-
# @private
|
276
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
277
|
-
property :can_reschedule, as: 'canReschedule'
|
278
|
-
property :end_time, as: 'endTime'
|
279
|
-
property :rollout_management_policy, as: 'rolloutManagementPolicy'
|
280
|
-
property :start_time, as: 'startTime'
|
281
|
-
end
|
282
|
-
end
|
283
|
-
|
284
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1MaintenanceSettings
|
285
|
-
# @private
|
286
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
287
|
-
property :exclude, as: 'exclude'
|
288
|
-
end
|
289
|
-
end
|
290
|
-
|
291
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata
|
292
|
-
# @private
|
293
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
294
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
295
|
-
|
296
|
-
property :location, as: 'location'
|
297
|
-
property :node_id, as: 'nodeId'
|
298
|
-
end
|
299
|
-
end
|
300
|
-
|
301
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1ProvisionedResource
|
302
|
-
# @private
|
303
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
304
|
-
property :resource_type, as: 'resourceType'
|
305
|
-
property :resource_url, as: 'resourceUrl'
|
306
|
-
end
|
307
|
-
end
|
308
|
-
|
309
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility
|
310
|
-
# @private
|
311
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
312
|
-
property :eligible, as: 'eligible'
|
313
|
-
property :reason, as: 'reason'
|
314
|
-
end
|
315
|
-
end
|
316
|
-
|
317
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion
|
318
|
-
# @private
|
319
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
320
|
-
property :duration, as: 'duration'
|
321
|
-
property :reason, as: 'reason'
|
322
|
-
property :sli_name, as: 'sliName'
|
323
|
-
property :start_time, as: 'startTime'
|
324
|
-
end
|
325
|
-
end
|
326
|
-
|
327
|
-
class GoogleCloudSaasacceleratorManagementProvidersV1SloMetadata
|
328
|
-
# @private
|
329
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
330
|
-
property :eligibility, as: 'eligibility', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloEligibility::Representation
|
331
|
-
|
332
|
-
collection :exclusions, as: 'exclusions', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1SloExclusion::Representation
|
333
|
-
|
334
|
-
collection :nodes, as: 'nodes', class: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata, decorator: Google::Apis::RedisV1beta1::GoogleCloudSaasacceleratorManagementProvidersV1NodeSloMetadata::Representation
|
335
|
-
|
336
|
-
property :tier, as: 'tier'
|
337
|
-
end
|
338
|
-
end
|
339
|
-
|
340
201
|
class ImportInstanceRequest
|
341
202
|
# @private
|
342
203
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -18,7 +18,7 @@ require 'google/apis/reseller_v1/representations.rb'
|
|
18
18
|
|
19
19
|
module Google
|
20
20
|
module Apis
|
21
|
-
#
|
21
|
+
# Enterprise Apps Reseller API
|
22
22
|
#
|
23
23
|
# Perform common functions that are available on the Google Apps Reseller
|
24
24
|
# Console at scale like placing orders and viewing customer information
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://developers.google.com/google-apps/reseller/
|
27
27
|
module ResellerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20200911'
|
30
30
|
|
31
31
|
# Manage users on your domain
|
32
32
|
AUTH_APPS_ORDER = 'https://www.googleapis.com/auth/apps.order'
|
@@ -27,8 +27,7 @@ module Google
|
|
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
|
31
|
-
# optional.
|
30
|
+
# lines. The addressline2 and addressLine3 are optional.
|
32
31
|
# Corresponds to the JSON property `addressLine1`
|
33
32
|
# @return [String]
|
34
33
|
attr_accessor :address_line1
|
@@ -48,23 +47,19 @@ module Google
|
|
48
47
|
# @return [String]
|
49
48
|
attr_accessor :contact_name
|
50
49
|
|
51
|
-
# For
|
52
|
-
#
|
53
|
-
#
|
54
|
-
# href="https://www.cloudconnect.goog/docs/DOC-29141">approved</a> for resale
|
55
|
-
# of Google products. This property is required when creating a new customer.
|
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.
|
56
53
|
# Corresponds to the JSON property `countryCode`
|
57
54
|
# @return [String]
|
58
55
|
attr_accessor :country_code
|
59
56
|
|
60
|
-
# Identifies the resource as a customer address. Value:
|
61
|
-
# <code>customers#address</code>
|
57
|
+
# Identifies the resource as a customer address. Value: customers#address
|
62
58
|
# Corresponds to the JSON property `kind`
|
63
59
|
# @return [String]
|
64
60
|
attr_accessor :kind
|
65
61
|
|
66
|
-
# An example of a
|
67
|
-
# Francisco</code>.
|
62
|
+
# An example of a locality value is the city of San Francisco.
|
68
63
|
# Corresponds to the JSON property `locality`
|
69
64
|
# @return [String]
|
70
65
|
attr_accessor :locality
|
@@ -74,14 +69,13 @@ module Google
|
|
74
69
|
# @return [String]
|
75
70
|
attr_accessor :organization_name
|
76
71
|
|
77
|
-
# A
|
78
|
-
#
|
72
|
+
# A postalCode example is a postal zip code such as 94043. This property is
|
73
|
+
# required when creating a new customer.
|
79
74
|
# Corresponds to the JSON property `postalCode`
|
80
75
|
# @return [String]
|
81
76
|
attr_accessor :postal_code
|
82
77
|
|
83
|
-
# An example of a
|
84
|
-
# of California.
|
78
|
+
# An example of a region value is CA for the state of California.
|
85
79
|
# Corresponds to the JSON property `region`
|
86
80
|
# @return [String]
|
87
81
|
attr_accessor :region
|
@@ -109,44 +103,39 @@ module Google
|
|
109
103
|
class ChangePlanRequest
|
110
104
|
include Google::Apis::Core::Hashable
|
111
105
|
|
112
|
-
# Google-issued code (100 char max) for discounted pricing on subscription
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
116
|
-
#
|
117
|
-
#
|
118
|
-
#
|
119
|
-
#
|
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.
|
120
114
|
# Corresponds to the JSON property `dealCode`
|
121
115
|
# @return [String]
|
122
116
|
attr_accessor :deal_code
|
123
117
|
|
124
118
|
# Identifies the resource as a subscription change plan request. Value:
|
125
|
-
#
|
119
|
+
# subscriptions#changePlanRequest
|
126
120
|
# Corresponds to the JSON property `kind`
|
127
121
|
# @return [String]
|
128
122
|
attr_accessor :kind
|
129
123
|
|
130
|
-
# The
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
# payments
|
136
|
-
#
|
137
|
-
# in all API responses.</aside> </li> <li> <code>ANNUAL_YEARLY_PAY</code> -
|
138
|
-
# The annual commitment plan with yearly payments </li> <li>
|
139
|
-
# <code>FLEXIBLE</code> - The flexible plan </li> <li> <code>TRIAL</code> -
|
140
|
-
# The 30-day free trial plan </li> </ul>
|
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. Possible values are: - ANNUAL_MONTHLY_PAY - The annual commitment
|
127
|
+
# plan with monthly payments *Caution: *ANNUAL_MONTHLY_PAY is returned as ANNUAL
|
128
|
+
# in all API responses. - ANNUAL_YEARLY_PAY - The annual commitment plan with
|
129
|
+
# yearly payments - FLEXIBLE - The flexible plan - TRIAL - The 30-day free trial
|
130
|
+
# plan
|
141
131
|
# Corresponds to the JSON property `planName`
|
142
132
|
# @return [String]
|
143
133
|
attr_accessor :plan_name
|
144
134
|
|
145
135
|
# This is an optional property. This purchase order (PO) information is for
|
146
|
-
# resellers to use for their company tracking usage. If a
|
147
|
-
#
|
148
|
-
#
|
149
|
-
# characters.
|
136
|
+
# resellers to use for their company tracking usage. If a purchaseOrderId value
|
137
|
+
# is given it appears in the API responses and shows up in the invoice. The
|
138
|
+
# property accepts up to 80 plain text characters.
|
150
139
|
# Corresponds to the JSON property `purchaseOrderId`
|
151
140
|
# @return [String]
|
152
141
|
attr_accessor :purchase_order_id
|
@@ -174,18 +163,17 @@ module Google
|
|
174
163
|
class Customer
|
175
164
|
include Google::Apis::Core::Hashable
|
176
165
|
|
177
|
-
# Like the
|
178
|
-
#
|
179
|
-
#
|
180
|
-
#
|
181
|
-
# same domain as <code>customerDomain</code>.
|
166
|
+
# Like the "Customer email" in the reseller tools, this email is the secondary
|
167
|
+
# contact used if something happens to the customer's service such as service
|
168
|
+
# outage or a security issue. This property is required when creating a new
|
169
|
+
# customer and should not use the same domain as customerDomain .
|
182
170
|
# Corresponds to the JSON property `alternateEmail`
|
183
171
|
# @return [String]
|
184
172
|
attr_accessor :alternate_email
|
185
173
|
|
186
|
-
# The customer's primary domain name string.
|
187
|
-
#
|
188
|
-
#
|
174
|
+
# The customer's primary domain name string. customerDomain is required when
|
175
|
+
# creating a new customer. Do not include the www prefix in the domain when
|
176
|
+
# adding a customer.
|
189
177
|
# Corresponds to the JSON property `customerDomain`
|
190
178
|
# @return [String]
|
191
179
|
attr_accessor :customer_domain
|
@@ -196,25 +184,21 @@ module Google
|
|
196
184
|
attr_accessor :customer_domain_verified
|
197
185
|
alias_method :customer_domain_verified?, :customer_domain_verified
|
198
186
|
|
199
|
-
# This property will always be returned in a response as the unique
|
200
|
-
#
|
201
|
-
#
|
187
|
+
# This property will always be returned in a response as the unique identifier
|
188
|
+
# generated by Google. In a request, this property can be either the primary
|
189
|
+
# domain or the unique identifier generated by Google.
|
202
190
|
# Corresponds to the JSON property `customerId`
|
203
191
|
# @return [String]
|
204
192
|
attr_accessor :customer_id
|
205
193
|
|
206
|
-
# Identifies the resource as a customer. Value:
|
207
|
-
# <code>reseller#customer</code>
|
194
|
+
# Identifies the resource as a customer. Value: reseller#customer
|
208
195
|
# Corresponds to the JSON property `kind`
|
209
196
|
# @return [String]
|
210
197
|
attr_accessor :kind
|
211
198
|
|
212
199
|
# Customer contact phone number. Must start with "+" followed by the country
|
213
200
|
# code. The rest of the number can be contiguous numbers or respect the phone
|
214
|
-
#
|
215
|
-
# href="http://wikipedia.org/wiki/
|
216
|
-
# Local_conventions_for_writing_telephone_numbers">local
|
217
|
-
# format conventions</a>, but it must be a real phone number and not, for
|
201
|
+
# local format conventions, but it must be a real phone number and not, for
|
218
202
|
# example, "123". This field is silently ignored if invalid.
|
219
203
|
# Corresponds to the JSON property `phoneNumber`
|
220
204
|
# @return [String]
|
@@ -225,9 +209,9 @@ module Google
|
|
225
209
|
# @return [Google::Apis::ResellerV1::Address]
|
226
210
|
attr_accessor :postal_address
|
227
211
|
|
228
|
-
# URL to customer
|
229
|
-
#
|
230
|
-
#
|
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.
|
231
215
|
# Corresponds to the JSON property `resourceUiUrl`
|
232
216
|
# @return [String]
|
233
217
|
attr_accessor :resource_ui_url
|
@@ -254,17 +238,14 @@ module Google
|
|
254
238
|
include Google::Apis::Core::Hashable
|
255
239
|
|
256
240
|
# Identifies the resource as a subscription renewal setting. Value:
|
257
|
-
#
|
241
|
+
# subscriptions#renewalSettings
|
258
242
|
# Corresponds to the JSON property `kind`
|
259
243
|
# @return [String]
|
260
244
|
attr_accessor :kind
|
261
245
|
|
262
|
-
# Renewal settings for the annual commitment plan. For more detailed
|
263
|
-
#
|
264
|
-
#
|
265
|
-
# answer=2500693">administrator
|
266
|
-
# help center</a>. When renewing a subscription, the <code>renewalType</code>
|
267
|
-
# is a required property.
|
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.
|
268
249
|
# Corresponds to the JSON property `renewalType`
|
269
250
|
# @return [String]
|
270
251
|
attr_accessor :renewal_type
|
@@ -328,42 +309,37 @@ module Google
|
|
328
309
|
class Seats
|
329
310
|
include Google::Apis::Core::Hashable
|
330
311
|
|
331
|
-
# Identifies the resource as a subscription seat setting. Value:
|
332
|
-
#
|
312
|
+
# Identifies the resource as a subscription seat setting. Value: subscriptions#
|
313
|
+
# seats
|
333
314
|
# Corresponds to the JSON property `kind`
|
334
315
|
# @return [String]
|
335
316
|
attr_accessor :kind
|
336
317
|
|
337
318
|
# Read-only field containing the current number of users that are assigned a
|
338
|
-
# license for the product defined in
|
339
|
-
#
|
340
|
-
#
|
341
|
-
# href="//developers.google.com/admin-sdk/licensing/v1/reference/
|
342
|
-
# licenseAssignments/listForProductAndSku">listForProductAndSku</a></code>
|
319
|
+
# license for the product defined in skuId. This field's value is equivalent to
|
320
|
+
# the numerical count of users returned by the Enterprise License Manager API
|
321
|
+
# method: listForProductAndSku
|
343
322
|
# Corresponds to the JSON property `licensedNumberOfSeats`
|
344
323
|
# @return [Fixnum]
|
345
324
|
attr_accessor :licensed_number_of_seats
|
346
325
|
|
347
|
-
# This is a required property and is exclusive to subscriptions with
|
348
|
-
#
|
349
|
-
#
|
350
|
-
#
|
351
|
-
#
|
352
|
-
#
|
353
|
-
# subscriptions automatically assign a license to every user.</aside>
|
326
|
+
# This is a required property and is exclusive to subscriptions with FLEXIBLE or
|
327
|
+
# TRIAL plans. This property sets the maximum number of licensed users allowed
|
328
|
+
# on a subscription. This quantity can be increased up to the maximum limit
|
329
|
+
# defined in the reseller's contract. The minimum quantity is the current number
|
330
|
+
# of users in the customer account. *Note: *G Suite subscriptions automatically
|
331
|
+
# assign a license to every user.
|
354
332
|
# Corresponds to the JSON property `maximumNumberOfSeats`
|
355
333
|
# @return [Fixnum]
|
356
334
|
attr_accessor :maximum_number_of_seats
|
357
335
|
|
358
336
|
# This is a required property and is exclusive to subscriptions with
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
# </strong>G Suite subscriptions automatically assign a license to every
|
366
|
-
# user.</aside>
|
337
|
+
# ANNUAL_MONTHLY_PAY and ANNUAL_YEARLY_PAY plans. This property sets the maximum
|
338
|
+
# number of licenses assignable to users on a subscription. The reseller can add
|
339
|
+
# more licenses, but once set, the numberOfSeats cannot be reduced until renewal.
|
340
|
+
# The reseller is invoiced based on the numberOfSeats value regardless of how
|
341
|
+
# many of these user licenses are assigned. *Note: *G Suite subscriptions
|
342
|
+
# automatically assign a license to every user.
|
367
343
|
# Corresponds to the JSON property `numberOfSeats`
|
368
344
|
# @return [Fixnum]
|
369
345
|
attr_accessor :number_of_seats
|
@@ -390,9 +366,8 @@ module Google
|
|
390
366
|
# @return [String]
|
391
367
|
attr_accessor :billing_method
|
392
368
|
|
393
|
-
# The
|
394
|
-
#
|
395
|
-
# href="http://www.epochconverter.com/">Epoch converter</a>.
|
369
|
+
# The creationTime property is the date when subscription was created. It is in
|
370
|
+
# milliseconds using the Epoch format. See an example Epoch converter.
|
396
371
|
# Corresponds to the JSON property `creationTime`
|
397
372
|
# @return [Fixnum]
|
398
373
|
attr_accessor :creation_time
|
@@ -402,41 +377,36 @@ module Google
|
|
402
377
|
# @return [String]
|
403
378
|
attr_accessor :customer_domain
|
404
379
|
|
405
|
-
# This property will always be returned in a response as the unique
|
406
|
-
#
|
407
|
-
#
|
380
|
+
# This property will always be returned in a response as the unique identifier
|
381
|
+
# generated by Google. In a request, this property can be either the primary
|
382
|
+
# domain or the unique identifier generated by Google.
|
408
383
|
# Corresponds to the JSON property `customerId`
|
409
384
|
# @return [String]
|
410
385
|
attr_accessor :customer_id
|
411
386
|
|
412
|
-
# Google-issued code (100 char max) for discounted pricing on subscription
|
413
|
-
#
|
414
|
-
#
|
415
|
-
# applies if left empty.
|
387
|
+
# Google-issued code (100 char max) for discounted pricing on subscription plans.
|
388
|
+
# Deal code must be included in insert requests in order to receive discounted
|
389
|
+
# rate. This property is optional, regular pricing applies if left empty.
|
416
390
|
# Corresponds to the JSON property `dealCode`
|
417
391
|
# @return [String]
|
418
392
|
attr_accessor :deal_code
|
419
393
|
|
420
|
-
# Identifies the resource as a Subscription. Value:
|
421
|
-
# <code>reseller#subscription</code>
|
394
|
+
# Identifies the resource as a Subscription. Value: reseller#subscription
|
422
395
|
# Corresponds to the JSON property `kind`
|
423
396
|
# @return [String]
|
424
397
|
attr_accessor :kind
|
425
398
|
|
426
|
-
# The
|
427
|
-
#
|
428
|
-
#
|
429
|
-
# see the <a href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API
|
430
|
-
# concepts</a>.
|
399
|
+
# The plan property is required. In this version of the API, the G Suite plans
|
400
|
+
# are the flexible plan, annual commitment plan, and the 30-day free trial plan.
|
401
|
+
# For more information about the API"s payment plans, see the API concepts.
|
431
402
|
# Corresponds to the JSON property `plan`
|
432
403
|
# @return [Google::Apis::ResellerV1::Subscription::Plan]
|
433
404
|
attr_accessor :plan
|
434
405
|
|
435
406
|
# This is an optional property. This purchase order (PO) information is for
|
436
|
-
# resellers to use for their company tracking usage. If a
|
437
|
-
#
|
438
|
-
#
|
439
|
-
# characters.
|
407
|
+
# resellers to use for their company tracking usage. If a purchaseOrderId value
|
408
|
+
# is given it appears in the API responses and shows up in the invoice. The
|
409
|
+
# property accepts up to 80 plain text characters.
|
440
410
|
# Corresponds to the JSON property `purchaseOrderId`
|
441
411
|
# @return [String]
|
442
412
|
attr_accessor :purchase_order_id
|
@@ -446,10 +416,10 @@ module Google
|
|
446
416
|
# @return [Google::Apis::ResellerV1::RenewalSettings]
|
447
417
|
attr_accessor :renewal_settings
|
448
418
|
|
449
|
-
# URL to customer
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
419
|
+
# URL to customer's Subscriptions page in the Admin console. The read-only URL
|
420
|
+
# is generated by the API service. This is used if your client application
|
421
|
+
# requires the customer to complete a task using the Subscriptions page in the
|
422
|
+
# Admin console.
|
453
423
|
# Corresponds to the JSON property `resourceUiUrl`
|
454
424
|
# @return [String]
|
455
425
|
attr_accessor :resource_ui_url
|
@@ -459,20 +429,17 @@ module Google
|
|
459
429
|
# @return [Google::Apis::ResellerV1::Seats]
|
460
430
|
attr_accessor :seats
|
461
431
|
|
462
|
-
# A required property. The
|
463
|
-
#
|
464
|
-
#
|
465
|
-
# href="/admin-sdk/reseller/v1/how-tos/products.html"> Product and SKU
|
466
|
-
# IDs</a>.
|
432
|
+
# A required property. The skuId is a unique system identifier for a product's
|
433
|
+
# SKU assigned to a customer in the subscription. For products and SKUs
|
434
|
+
# available in this version of the API, see Product and SKU IDs.
|
467
435
|
# Corresponds to the JSON property `skuId`
|
468
436
|
# @return [String]
|
469
437
|
attr_accessor :sku_id
|
470
438
|
|
471
|
-
# Read-only external display name for a product
|
472
|
-
#
|
473
|
-
#
|
474
|
-
#
|
475
|
-
# Product and SKU IDs</a>.
|
439
|
+
# Read-only external display name for a product's SKU assigned to a customer in
|
440
|
+
# the subscription. SKU names are subject to change at Google's discretion. For
|
441
|
+
# products and SKUs available in this version of the API, see Product and SKU
|
442
|
+
# IDs.
|
476
443
|
# Corresponds to the JSON property `skuName`
|
477
444
|
# @return [String]
|
478
445
|
attr_accessor :sku_name
|
@@ -482,48 +449,37 @@ module Google
|
|
482
449
|
# @return [String]
|
483
450
|
attr_accessor :status
|
484
451
|
|
485
|
-
# The
|
486
|
-
#
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
|
491
|
-
# get_all_subscriptions">retrieve
|
492
|
-
# all reseller subscriptions</a>.
|
452
|
+
# The subscriptionId is the subscription identifier and is unique for each
|
453
|
+
# customer. This is a required property. Since a subscriptionId changes when a
|
454
|
+
# subscription is updated, we recommend not using this ID as a key for
|
455
|
+
# persistent data. Use the subscriptionId as described in retrieve all reseller
|
456
|
+
# subscriptions.
|
493
457
|
# Corresponds to the JSON property `subscriptionId`
|
494
458
|
# @return [String]
|
495
459
|
attr_accessor :subscription_id
|
496
460
|
|
497
|
-
# Read-only field containing an enumerable of all the current suspension
|
498
|
-
#
|
499
|
-
#
|
500
|
-
#
|
501
|
-
#
|
502
|
-
#
|
503
|
-
# and
|
504
|
-
#
|
505
|
-
#
|
506
|
-
#
|
507
|
-
# a Reseller. </li> <li> <code>TRIAL_ENDED</code> - The
|
508
|
-
# customer's trial expired without a plan selected. </li> <li>
|
509
|
-
# <code>OTHER</code> - The customer is suspended for an internal Google
|
510
|
-
# reason (e.g. abuse or otherwise). </li> </ul>
|
461
|
+
# Read-only field containing an enumerable of all the current suspension reasons
|
462
|
+
# for a subscription. It is possible for a subscription to have many concurrent,
|
463
|
+
# overlapping suspension reasons. A subscription's STATUS is SUSPENDED until all
|
464
|
+
# pending suspensions are removed. Possible options include: -
|
465
|
+
# PENDING_TOS_ACCEPTANCE - The customer has not logged in and accepted the G
|
466
|
+
# Suite Resold Terms of Services. - RENEWAL_WITH_TYPE_CANCEL - The customer's
|
467
|
+
# commitment ended and their service was cancelled at the end of their term. -
|
468
|
+
# RESELLER_INITIATED - A manual suspension invoked by a Reseller. - TRIAL_ENDED -
|
469
|
+
# The customer's trial expired without a plan selected. - OTHER - The customer
|
470
|
+
# is suspended for an internal Google reason (e.g. abuse or otherwise).
|
511
471
|
# Corresponds to the JSON property `suspensionReasons`
|
512
472
|
# @return [Array<String>]
|
513
473
|
attr_accessor :suspension_reasons
|
514
474
|
|
515
475
|
# Read-only transfer related information for the subscription. For more
|
516
|
-
# information, see
|
517
|
-
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
|
518
|
-
# get_transferable_subscriptions">retrieve
|
519
|
-
# transferable subscriptions for a customer</a>.
|
476
|
+
# information, see retrieve transferable subscriptions for a customer.
|
520
477
|
# Corresponds to the JSON property `transferInfo`
|
521
478
|
# @return [Google::Apis::ResellerV1::Subscription::TransferInfo]
|
522
479
|
attr_accessor :transfer_info
|
523
480
|
|
524
481
|
# The G Suite annual commitment and flexible payment plans can be in a 30-day
|
525
|
-
# free trial. For more information, see the
|
526
|
-
# href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API concepts</a>.
|
482
|
+
# free trial. For more information, see the API concepts.
|
527
483
|
# Corresponds to the JSON property `trialSettings`
|
528
484
|
# @return [Google::Apis::ResellerV1::Subscription::TrialSettings]
|
529
485
|
attr_accessor :trial_settings
|
@@ -554,52 +510,39 @@ module Google
|
|
554
510
|
@trial_settings = args[:trial_settings] if args.key?(:trial_settings)
|
555
511
|
end
|
556
512
|
|
557
|
-
# The
|
558
|
-
#
|
559
|
-
#
|
560
|
-
# see the <a href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API
|
561
|
-
# concepts</a>.
|
513
|
+
# The plan property is required. In this version of the API, the G Suite plans
|
514
|
+
# are the flexible plan, annual commitment plan, and the 30-day free trial plan.
|
515
|
+
# For more information about the API"s payment plans, see the API concepts.
|
562
516
|
class Plan
|
563
517
|
include Google::Apis::Core::Hashable
|
564
518
|
|
565
|
-
# In this version of the API, annual commitment plan's interval is one
|
566
|
-
#
|
567
|
-
#
|
568
|
-
# subscription property object <code>plan.commitmentInterval</code> is
|
569
|
-
# omitted in all API responses. </aside>
|
519
|
+
# In this version of the API, annual commitment plan's interval is one year. *
|
520
|
+
# Note: *When billingMethod value is OFFLINE, the subscription property object
|
521
|
+
# plan.commitmentInterval is omitted in all API responses.
|
570
522
|
# Corresponds to the JSON property `commitmentInterval`
|
571
523
|
# @return [Google::Apis::ResellerV1::Subscription::Plan::CommitmentInterval]
|
572
524
|
attr_accessor :commitment_interval
|
573
525
|
|
574
|
-
# The
|
575
|
-
#
|
576
|
-
# The
|
577
|
-
# plan.</li><li><code>false</code> — The plan is not an annual
|
578
|
-
# commitment plan.</li></ul>
|
526
|
+
# The isCommitmentPlan property's boolean value identifies the plan as an annual
|
527
|
+
# commitment plan: - true — The subscription's plan is an annual commitment plan.
|
528
|
+
# - false — The plan is not an annual commitment plan.
|
579
529
|
# Corresponds to the JSON property `isCommitmentPlan`
|
580
530
|
# @return [Boolean]
|
581
531
|
attr_accessor :is_commitment_plan
|
582
532
|
alias_method :is_commitment_plan?, :is_commitment_plan
|
583
533
|
|
584
|
-
# The
|
585
|
-
#
|
586
|
-
#
|
587
|
-
#
|
588
|
-
#
|
589
|
-
#
|
590
|
-
#
|
591
|
-
#
|
592
|
-
#
|
593
|
-
#
|
594
|
-
#
|
595
|
-
#
|
596
|
-
# subscription in trial will be suspended after the 30th free day if no
|
597
|
-
# payment plan is assigned. Calling <code>changePlan</code> will assign a
|
598
|
-
# payment plan to a trial but will not activate the plan. A trial will
|
599
|
-
# automatically begin its assigned payment plan after its 30th free day or
|
600
|
-
# immediately after calling <code>startPaidService</code>. </li> <li>
|
601
|
-
# <code>FREE</code> — The free plan is exclusive to the Cloud
|
602
|
-
# Identity SKU and does not incur any billing. </li> </ul>
|
534
|
+
# The planName property is required. This is the name of the subscription's plan.
|
535
|
+
# For more information about the Google payment plans, see the API concepts.
|
536
|
+
# Possible values are: - ANNUAL_MONTHLY_PAY — The annual commitment plan with
|
537
|
+
# monthly payments. *Caution: *ANNUAL_MONTHLY_PAY is returned as ANNUAL in all
|
538
|
+
# API responses. - ANNUAL_YEARLY_PAY — The annual commitment plan with yearly
|
539
|
+
# payments - FLEXIBLE — The flexible plan - TRIAL — The 30-day free trial plan.
|
540
|
+
# A subscription in trial will be suspended after the 30th free day if no
|
541
|
+
# payment plan is assigned. Calling changePlan will assign a payment plan to a
|
542
|
+
# trial but will not activate the plan. A trial will automatically begin its
|
543
|
+
# assigned payment plan after its 30th free day or immediately after calling
|
544
|
+
# startPaidService. - FREE — The free plan is exclusive to the Cloud Identity
|
545
|
+
# SKU and does not incur any billing.
|
603
546
|
# Corresponds to the JSON property `planName`
|
604
547
|
# @return [String]
|
605
548
|
attr_accessor :plan_name
|
@@ -615,24 +558,20 @@ module Google
|
|
615
558
|
@plan_name = args[:plan_name] if args.key?(:plan_name)
|
616
559
|
end
|
617
560
|
|
618
|
-
# In this version of the API, annual commitment plan's interval is one
|
619
|
-
#
|
620
|
-
#
|
621
|
-
# subscription property object <code>plan.commitmentInterval</code> is
|
622
|
-
# omitted in all API responses. </aside>
|
561
|
+
# In this version of the API, annual commitment plan's interval is one year. *
|
562
|
+
# Note: *When billingMethod value is OFFLINE, the subscription property object
|
563
|
+
# plan.commitmentInterval is omitted in all API responses.
|
623
564
|
class CommitmentInterval
|
624
565
|
include Google::Apis::Core::Hashable
|
625
566
|
|
626
|
-
# An annual commitment plan
|
627
|
-
#
|
628
|
-
# href="http://www.epochconverter.com/">Epoch converter</a>.
|
567
|
+
# An annual commitment plan's interval's endTime in milliseconds using the UNIX
|
568
|
+
# Epoch format. See an example Epoch converter.
|
629
569
|
# Corresponds to the JSON property `endTime`
|
630
570
|
# @return [Fixnum]
|
631
571
|
attr_accessor :end_time
|
632
572
|
|
633
|
-
# An annual commitment plan's interval's
|
634
|
-
#
|
635
|
-
# href="http://www.epochconverter.com/">Epoch converter</a>.
|
573
|
+
# An annual commitment plan's interval's startTime in milliseconds using UNIX
|
574
|
+
# Epoch format. See an example Epoch converter.
|
636
575
|
# Corresponds to the JSON property `startTime`
|
637
576
|
# @return [Fixnum]
|
638
577
|
attr_accessor :start_time
|
@@ -650,23 +589,20 @@ module Google
|
|
650
589
|
end
|
651
590
|
|
652
591
|
# Read-only transfer related information for the subscription. For more
|
653
|
-
# information, see
|
654
|
-
# href="/admin-sdk/reseller/v1/how-tos/manage_subscriptions#
|
655
|
-
# get_transferable_subscriptions">retrieve
|
656
|
-
# transferable subscriptions for a customer</a>.
|
592
|
+
# information, see retrieve transferable subscriptions for a customer.
|
657
593
|
class TransferInfo
|
658
594
|
include Google::Apis::Core::Hashable
|
659
595
|
|
660
|
-
# When inserting a subscription, this is the minimum number of seats listed
|
661
|
-
#
|
662
|
-
#
|
663
|
-
#
|
596
|
+
# When inserting a subscription, this is the minimum number of seats listed in
|
597
|
+
# the transfer order for this product. For example, if the customer has 20 users,
|
598
|
+
# the reseller cannot place a transfer order of 15 seats. The minimum is 20
|
599
|
+
# seats.
|
664
600
|
# Corresponds to the JSON property `minimumTransferableSeats`
|
665
601
|
# @return [Fixnum]
|
666
602
|
attr_accessor :minimum_transferable_seats
|
667
603
|
|
668
|
-
# The time when transfer token or intent to transfer will expire. The time
|
669
|
-
#
|
604
|
+
# The time when transfer token or intent to transfer will expire. The time is in
|
605
|
+
# milliseconds using UNIX Epoch format.
|
670
606
|
# Corresponds to the JSON property `transferabilityExpirationTime`
|
671
607
|
# @return [Fixnum]
|
672
608
|
attr_accessor :transferability_expiration_time
|
@@ -683,23 +619,19 @@ module Google
|
|
683
619
|
end
|
684
620
|
|
685
621
|
# The G Suite annual commitment and flexible payment plans can be in a 30-day
|
686
|
-
# free trial. For more information, see the
|
687
|
-
# href="/admin-sdk/reseller/v1/how-tos/concepts#plans">API concepts</a>.
|
622
|
+
# free trial. For more information, see the API concepts.
|
688
623
|
class TrialSettings
|
689
624
|
include Google::Apis::Core::Hashable
|
690
625
|
|
691
|
-
# Determines if a subscription
|
692
|
-
#
|
693
|
-
# trial.</li><li><code>false</code> — The plan is not in
|
694
|
-
# trial.</li></ul>
|
626
|
+
# Determines if a subscription's plan is in a 30-day free trial or not: - true —
|
627
|
+
# The plan is in trial. - false — The plan is not in trial.
|
695
628
|
# Corresponds to the JSON property `isInTrial`
|
696
629
|
# @return [Boolean]
|
697
630
|
attr_accessor :is_in_trial
|
698
631
|
alias_method :is_in_trial?, :is_in_trial
|
699
632
|
|
700
|
-
# Date when the trial ends. The value is in milliseconds using the UNIX
|
701
|
-
#
|
702
|
-
# href="http://www.epochconverter.com/">Epoch converter</a>.
|
633
|
+
# Date when the trial ends. The value is in milliseconds using the UNIX Epoch
|
634
|
+
# format. See an example Epoch converter.
|
703
635
|
# Corresponds to the JSON property `trialEndTime`
|
704
636
|
# @return [Fixnum]
|
705
637
|
attr_accessor :trial_end_time
|
@@ -720,14 +652,14 @@ module Google
|
|
720
652
|
class Subscriptions
|
721
653
|
include Google::Apis::Core::Hashable
|
722
654
|
|
723
|
-
# Identifies the resource as a collection of subscriptions. Value:
|
724
|
-
#
|
655
|
+
# Identifies the resource as a collection of subscriptions. Value: reseller#
|
656
|
+
# subscriptions
|
725
657
|
# Corresponds to the JSON property `kind`
|
726
658
|
# @return [String]
|
727
659
|
attr_accessor :kind
|
728
660
|
|
729
|
-
# The continuation token, used to page through large result sets. Provide
|
730
|
-
#
|
661
|
+
# The continuation token, used to page through large result sets. Provide this
|
662
|
+
# value in a subsequent request to return the next page of results.
|
731
663
|
# Corresponds to the JSON property `nextPageToken`
|
732
664
|
# @return [String]
|
733
665
|
attr_accessor :next_page_token
|