Version 1.3 release.
Updates CHANGELOG, version, docs.
diff --git a/docs/dyn/reseller_v1.subscriptions.html b/docs/dyn/reseller_v1.subscriptions.html
index d9b420d..9aed40b 100644
--- a/docs/dyn/reseller_v1.subscriptions.html
+++ b/docs/dyn/reseller_v1.subscriptions.html
@@ -75,6 +75,9 @@
<h1><a href="reseller_v1.html">Enterprise Apps Reseller API</a> . <a href="reseller_v1.subscriptions.html">subscriptions</a></h1>
<h2>Instance Methods</h2>
<p class="toc_element">
+ <code><a href="#activate">activate(customerId, subscriptionId)</a></code></p>
+<p class="firstline">Activates a subscription previously suspended by the reseller</p>
+<p class="toc_element">
<code><a href="#changePlan">changePlan(customerId, subscriptionId, body)</a></code></p>
<p class="firstline">Changes the plan of a subscription</p>
<p class="toc_element">
@@ -101,8 +104,60 @@
<p class="toc_element">
<code><a href="#startPaidService">startPaidService(customerId, subscriptionId)</a></code></p>
<p class="firstline">Starts paid service of a trial subscription</p>
+<p class="toc_element">
+ <code><a href="#suspend">suspend(customerId, subscriptionId)</a></code></p>
+<p class="firstline">Suspends an active subscription</p>
<h3>Method Details</h3>
<div class="method">
+ <code class="details" id="activate">activate(customerId, subscriptionId)</code>
+ <pre>Activates a subscription previously suspended by the reseller
+
+Args:
+ customerId: string, Id of the Customer (required)
+ subscriptionId: string, Id of the subscription, which is unique for a customer (required)
+
+Returns:
+ An object of the form:
+
+ { # JSON template for a subscription.
+ "renewalSettings": { # JSON template for a subscription renewal settings. # Renewal settings of the subscription.
+ "kind": "subscriptions#renewalSettings", # Identifies the resource as a subscription renewal setting.
+ "renewalType": "A String", # Subscription renewal type.
+ },
+ "skuId": "A String", # Name of the sku for which this subscription is purchased.
+ "kind": "reseller#subscription", # Identifies the resource as a Subscription.
+ "trialSettings": { # Trial Settings of the subscription.
+ "trialEndTime": "A String", # End time of the trial in milliseconds since Unix epoch.
+ "isInTrial": True or False, # Whether the subscription is in trial.
+ },
+ "transferInfo": { # Transfer related information for the subscription.
+ "transferabilityExpirationTime": "A String", # Time when transfer token or intent to transfer will expire.
+ "minimumTransferableSeats": 42,
+ },
+ "resourceUiUrl": "A String", # Ui url for subscription resource.
+ "seats": { # JSON template for subscription seats. # Number/Limit of seats in the new plan.
+ "kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
+ "numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
+ "maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
+ },
+ "creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
+ "status": "A String", # Status of the subscription.
+ "plan": { # Plan details of the subscription
+ "planName": "A String", # The plan name of this subscription's plan.
+ "commitmentInterval": { # Interval of the commitment if it is a commitment plan.
+ "endTime": "A String", # End time of the commitment interval in milliseconds since Unix epoch.
+ "startTime": "A String", # Start time of the commitment interval in milliseconds since Unix epoch.
+ },
+ "isCommitmentPlan": True or False, # Whether the plan is a commitment plan or not.
+ },
+ "purchaseOrderId": "A String", # Purchase order id for your order tracking purposes.
+ "subscriptionId": "A String", # The id of the subscription.
+ "customerId": "A String", # The id of the customer to whom the subscription belongs.
+ }</pre>
+</div>
+
+<div class="method">
<code class="details" id="changePlan">changePlan(customerId, subscriptionId, body)</code>
<pre>Changes the plan of a subscription
@@ -119,6 +174,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"purchaseOrderId": "A String", # Purchase order id for your order tracking purposes.
}
@@ -147,6 +203,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
"status": "A String", # Status of the subscription.
@@ -203,6 +260,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
"status": "A String", # Status of the subscription.
@@ -234,6 +292,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
}
@@ -260,6 +319,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
"status": "A String", # Status of the subscription.
@@ -323,6 +383,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
"status": "A String", # Status of the subscription.
@@ -369,6 +430,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
"status": "A String", # Status of the subscription.
@@ -410,6 +472,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
"status": "A String", # Status of the subscription.
@@ -465,6 +528,7 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
"status": "A String", # Status of the subscription.
@@ -529,6 +593,56 @@
"kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
"numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
"maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
+ },
+ "creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
+ "status": "A String", # Status of the subscription.
+ "plan": { # Plan details of the subscription
+ "planName": "A String", # The plan name of this subscription's plan.
+ "commitmentInterval": { # Interval of the commitment if it is a commitment plan.
+ "endTime": "A String", # End time of the commitment interval in milliseconds since Unix epoch.
+ "startTime": "A String", # Start time of the commitment interval in milliseconds since Unix epoch.
+ },
+ "isCommitmentPlan": True or False, # Whether the plan is a commitment plan or not.
+ },
+ "purchaseOrderId": "A String", # Purchase order id for your order tracking purposes.
+ "subscriptionId": "A String", # The id of the subscription.
+ "customerId": "A String", # The id of the customer to whom the subscription belongs.
+ }</pre>
+</div>
+
+<div class="method">
+ <code class="details" id="suspend">suspend(customerId, subscriptionId)</code>
+ <pre>Suspends an active subscription
+
+Args:
+ customerId: string, Id of the Customer (required)
+ subscriptionId: string, Id of the subscription, which is unique for a customer (required)
+
+Returns:
+ An object of the form:
+
+ { # JSON template for a subscription.
+ "renewalSettings": { # JSON template for a subscription renewal settings. # Renewal settings of the subscription.
+ "kind": "subscriptions#renewalSettings", # Identifies the resource as a subscription renewal setting.
+ "renewalType": "A String", # Subscription renewal type.
+ },
+ "skuId": "A String", # Name of the sku for which this subscription is purchased.
+ "kind": "reseller#subscription", # Identifies the resource as a Subscription.
+ "trialSettings": { # Trial Settings of the subscription.
+ "trialEndTime": "A String", # End time of the trial in milliseconds since Unix epoch.
+ "isInTrial": True or False, # Whether the subscription is in trial.
+ },
+ "transferInfo": { # Transfer related information for the subscription.
+ "transferabilityExpirationTime": "A String", # Time when transfer token or intent to transfer will expire.
+ "minimumTransferableSeats": 42,
+ },
+ "resourceUiUrl": "A String", # Ui url for subscription resource.
+ "seats": { # JSON template for subscription seats. # Number/Limit of seats in the new plan.
+ "kind": "subscriptions#seats", # Identifies the resource as a subscription change plan request.
+ "numberOfSeats": 42, # Number of seats to purchase. This is applicable only for a commitment plan.
+ "maximumNumberOfSeats": 42, # Maximum number of seats that can be purchased. This needs to be provided only for a non-commitment plan. For a commitment plan it is decided by the contract.
+ "licensedNumberOfSeats": 42, # Read only field containing the current number of licensed seats. Resellers can utilize this field to gather insights into usage for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.g. Google-Vault, Drive-storage).
},
"creationTime": "A String", # Creation time of this subscription in milliseconds since Unix epoch.
"status": "A String", # Status of the subscription.