target.apidocs.com.google.api.services.paymentsresellersubscription.v1.PaymentsResellerSubscription.Partners.UserSessions.html Maven / Gradle / Ivy
PaymentsResellerSubscription.Partners.UserSessions (Payments Reseller Subscription API v1-rev20241105-2.0.0)
com.google.api.services.paymentsresellersubscription.v1
Class PaymentsResellerSubscription.Partners.UserSessions
- java.lang.Object
-
- com.google.api.services.paymentsresellersubscription.v1.PaymentsResellerSubscription.Partners.UserSessions
-
- Enclosing class:
- PaymentsResellerSubscription.Partners
public class PaymentsResellerSubscription.Partners.UserSessions
extends Object
The "userSessions" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
PaymentsResellerSubscription.Partners.UserSessions.Generate
-
Constructor Summary
Constructors
Constructor and Description
UserSessions()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
PaymentsResellerSubscription.Partners.UserSessions.Generate
generate(String parent,
GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest content)
This API replaces user authorized OAuth consnet based APIs (Create, Entitle).
-
-
Method Detail
-
generate
public PaymentsResellerSubscription.Partners.UserSessions.Generate generate(String parent,
GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest content)
throws IOException
This API replaces user authorized OAuth consnet based APIs (Create, Entitle). Generates a short-
lived token for a user session based on the user intent. You can use the session token to
redirect the user to Google to finish the signup flow. You can re-generate new session token
repeatedly for same request if necessary, regardless of the previous tokens being expired or not.
Create a request for the method "userSessions.generate".
This request holds the parameters needed by the paymentsresellersubscription server. After
setting any optional parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
parent
- Required. The parent, the partner that can resell. Format: partners/{partner}
content
- the GoogleCloudPaymentsResellerSubscriptionV1GenerateUserSessionRequest
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy