target.apidocs.com.google.api.services.cloudchannel.v1.Cloudchannel.Accounts.ChannelPartnerLinks.Customers.html Maven / Gradle / Ivy
Cloudchannel.Accounts.ChannelPartnerLinks.Customers (Cloud Channel API v1-rev20241109-2.0.0)
com.google.api.services.cloudchannel.v1
Class Cloudchannel.Accounts.ChannelPartnerLinks.Customers
- java.lang.Object
-
- com.google.api.services.cloudchannel.v1.Cloudchannel.Accounts.ChannelPartnerLinks.Customers
-
- Enclosing class:
- Cloudchannel.Accounts.ChannelPartnerLinks
public class Cloudchannel.Accounts.ChannelPartnerLinks.Customers
extends Object
The "customers" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Cloudchannel.Accounts.ChannelPartnerLinks.Customers.CloudchannelImport
class
Cloudchannel.Accounts.ChannelPartnerLinks.Customers.Create
class
Cloudchannel.Accounts.ChannelPartnerLinks.Customers.Delete
class
Cloudchannel.Accounts.ChannelPartnerLinks.Customers.Get
class
Cloudchannel.Accounts.ChannelPartnerLinks.Customers.List
class
Cloudchannel.Accounts.ChannelPartnerLinks.Customers.Patch
-
Constructor Summary
Constructors
Constructor and Description
Customers()
-
Method Summary
-
-
Method Detail
-
create
public Cloudchannel.Accounts.ChannelPartnerLinks.Customers.Create create(String parent,
GoogleCloudChannelV1Customer content)
throws IOException
Creates a new Customer resource under the reseller or distributor account. Possible error codes:
* PERMISSION_DENIED: * The reseller account making the request is different from the reseller
account in the API request. * You are not authorized to create a customer. See
https://support.google.com/channelservices/answer/9759265 * INVALID_ARGUMENT: * Required request
parameters are missing or invalid. * Domain field value doesn't match the primary email domain.
Return value: The newly created Customer resource.
Create a request for the method "customers.create".
This request holds the parameters needed by the cloudchannel server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of reseller account in which to create the customer. Parent uses the
format: accounts/{account_id}
content
- the GoogleCloudChannelV1Customer
- Returns:
- the request
- Throws:
IOException
-
delete
public Cloudchannel.Accounts.ChannelPartnerLinks.Customers.Delete delete(String name)
throws IOException
Deletes the given Customer permanently. Possible error codes: * PERMISSION_DENIED: The account
making the request does not own this customer. * INVALID_ARGUMENT: Required request parameters
are missing or invalid. * FAILED_PRECONDITION: The customer has existing entitlements. *
NOT_FOUND: No Customer resource found for the name in the request.
Create a request for the method "customers.delete".
This request holds the parameters needed by the cloudchannel server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the customer to delete.
- Returns:
- the request
- Throws:
IOException
-
get
public Cloudchannel.Accounts.ChannelPartnerLinks.Customers.Get get(String name)
throws IOException
Returns the requested Customer resource. Possible error codes: * PERMISSION_DENIED: The reseller
account making the request is different from the reseller account in the API request. *
INVALID_ARGUMENT: Required request parameters are missing or invalid. * NOT_FOUND: The customer
resource doesn't exist. Usually the result of an invalid name parameter. Return value: The
Customer resource.
Create a request for the method "customers.get".
This request holds the parameters needed by the cloudchannel server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the customer to retrieve. Name uses the format:
accounts/{account_id}/customers/{customer_id}
- Returns:
- the request
- Throws:
IOException
-
cloudchannelImport
public Cloudchannel.Accounts.ChannelPartnerLinks.Customers.CloudchannelImport cloudchannelImport(String parent,
GoogleCloudChannelV1ImportCustomerRequest content)
throws IOException
Imports a Customer from the Cloud Identity associated with the provided Cloud Identity ID or
domain before a TransferEntitlements call. If a linked Customer already exists and
overwrite_if_exists is true, it will update that Customer's data. Possible error codes: *
PERMISSION_DENIED: * The reseller account making the request is different from the reseller
account in the API request. * You are not authorized to import the customer. See
https://support.google.com/channelservices/answer/9759265 * NOT_FOUND: Cloud Identity doesn't
exist or was deleted. * INVALID_ARGUMENT: Required parameters are missing, or the auth_token is
expired or invalid. * ALREADY_EXISTS: A customer already exists and has conflicting critical
fields. Requires an overwrite. Return value: The Customer.
Create a request for the method "customers.import".
This request holds the parameters needed by the cloudchannel server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the reseller's account. Parent takes the format:
accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}
content
- the GoogleCloudChannelV1ImportCustomerRequest
- Returns:
- the request
- Throws:
IOException
-
list
public Cloudchannel.Accounts.ChannelPartnerLinks.Customers.List list(String parent)
throws IOException
List Customers. Possible error codes: * PERMISSION_DENIED: The reseller account making the
request is different from the reseller account in the API request. * INVALID_ARGUMENT: Required
request parameters are missing or invalid. Return value: List of Customers, or an empty list if
there are no customers.
Create a request for the method "customers.list".
This request holds the parameters needed by the cloudchannel server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
parent
- Required. The resource name of the reseller account to list customers from. Parent uses the format:
accounts/{account_id}.
- Returns:
- the request
- Throws:
IOException
-
patch
public Cloudchannel.Accounts.ChannelPartnerLinks.Customers.Patch patch(String name,
GoogleCloudChannelV1Customer content)
throws IOException
Updates an existing Customer resource for the reseller or distributor. Possible error codes: *
PERMISSION_DENIED: The reseller account making the request is different from the reseller account
in the API request. * INVALID_ARGUMENT: Required request parameters are missing or invalid. *
NOT_FOUND: No Customer resource found for the name in the request. Return value: The updated
Customer resource.
Create a request for the method "customers.patch".
This request holds the parameters needed by the cloudchannel server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Output only. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}
content
- the GoogleCloudChannelV1Customer
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy