target.apidocs.com.google.api.services.cloudchannel.v1.Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.html Maven / Gradle / Ivy
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs (Cloud Channel API v1-rev20241109-2.0.0)
com.google.api.services.cloudchannel.v1
Class Cloudchannel.Accounts.Customers.CustomerRepricingConfigs
- java.lang.Object
-
- com.google.api.services.cloudchannel.v1.Cloudchannel.Accounts.Customers.CustomerRepricingConfigs
-
- Enclosing class:
- Cloudchannel.Accounts.Customers
public class Cloudchannel.Accounts.Customers.CustomerRepricingConfigs
extends Object
The "customerRepricingConfigs" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Create
class
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Delete
class
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Get
class
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.List
class
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Patch
-
Constructor Summary
Constructors
Constructor and Description
CustomerRepricingConfigs()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Create
create(String parent,
GoogleCloudChannelV1CustomerRepricingConfig content)
Creates a CustomerRepricingConfig.
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Delete
delete(String name)
Deletes the given CustomerRepricingConfig permanently.
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Get
get(String name)
Gets information about how a Reseller modifies their bill before sending it to a Customer.
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.List
list(String parent)
Lists information about how a Reseller modifies their bill before sending it to a Customer.
Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Patch
patch(String name,
GoogleCloudChannelV1CustomerRepricingConfig content)
Updates a CustomerRepricingConfig.
-
-
Method Detail
-
create
public Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Create create(String parent,
GoogleCloudChannelV1CustomerRepricingConfig content)
throws IOException
Creates a CustomerRepricingConfig. Call this method to set modifications for a specific
customer's bill. You can only create configs if the RepricingConfig.effective_invoice_month is a
future month. If needed, you can create a config for the current month, with some restrictions.
When creating a config for a future month, make sure there are no existing configs for that
RepricingConfig.effective_invoice_month. The following restrictions are for creating configs in
the current month. * This functionality is reserved for recovering from an erroneous config, and
should not be used for regular business cases. * The new config will not modify exports used with
other configs. Changes to the config may be immediate, but may take up to 24 hours. * There is a
limit of ten configs for any RepricingConfig.EntitlementGranularity.entitlement, for any
RepricingConfig.effective_invoice_month. * The contained CustomerRepricingConfig.repricing_config
value must be different from the value used in the current config for a
RepricingConfig.EntitlementGranularity.entitlement. Possible Error Codes: * PERMISSION_DENIED: If
the account making the request and the account being queried are different. * INVALID_ARGUMENT:
Missing or invalid required parameters in the request. Also displays if the updated config is for
the current month or past months. * NOT_FOUND: The CustomerRepricingConfig specified does not
exist or is not associated with the given account. * INTERNAL: Any non-user error related to
technical issues in the backend. In this case, contact Cloud Channel support. Return Value: If
successful, the updated CustomerRepricingConfig resource, otherwise returns an error.
Create a request for the method "customerRepricingConfigs.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 the customer that will receive this repricing config. Parent uses the
format: accounts/{account_id}/customers/{customer_id}
content
- the GoogleCloudChannelV1CustomerRepricingConfig
- Returns:
- the request
- Throws:
IOException
-
delete
public Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Delete delete(String name)
throws IOException
Deletes the given CustomerRepricingConfig permanently. You can only delete configs if their
RepricingConfig.effective_invoice_month is set to a date after the current month. 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
CustomerRepricingConfig is active or in the past. * NOT_FOUND: No CustomerRepricingConfig found
for the name in the request.
Create a request for the method "customerRepricingConfigs.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 repricing config rule to delete. Format:
accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
- Returns:
- the request
- Throws:
IOException
-
get
public Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Get get(String name)
throws IOException
Gets information about how a Reseller modifies their bill before sending it to a Customer.
Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account
being queried are different. * NOT_FOUND: The CustomerRepricingConfig was not found. * INTERNAL:
Any non-user error related to technical issues in the backend. In this case, contact Cloud
Channel support. Return Value: If successful, the CustomerRepricingConfig resource, otherwise
returns an error.
Create a request for the method "customerRepricingConfigs.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 CustomerRepricingConfig. Format:
accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
- Returns:
- the request
- Throws:
IOException
-
list
public Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.List list(String parent)
throws IOException
Lists information about how a Reseller modifies their bill before sending it to a Customer.
Possible Error Codes: * PERMISSION_DENIED: If the account making the request and the account
being queried are different. * NOT_FOUND: The CustomerRepricingConfig specified does not exist or
is not associated with the given account. * INTERNAL: Any non-user error related to technical
issues in the backend. In this case, contact Cloud Channel support. Return Value: If successful,
the CustomerRepricingConfig resources. The data for each resource is displayed in the ascending
order of: * Customer ID * RepricingConfig.EntitlementGranularity.entitlement *
RepricingConfig.effective_invoice_month * CustomerRepricingConfig.update_time If unsuccessful,
returns an error.
Create a request for the method "customerRepricingConfigs.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 customer. Parent uses the format:
accounts/{account_id}/customers/{customer_id}. Supports accounts/{account_id}/customers/-
to retrieve configs for all customers.
- Returns:
- the request
- Throws:
IOException
-
patch
public Cloudchannel.Accounts.Customers.CustomerRepricingConfigs.Patch patch(String name,
GoogleCloudChannelV1CustomerRepricingConfig content)
throws IOException
Updates a CustomerRepricingConfig. Call this method to set modifications for a specific
customer's bill. This method overwrites the existing CustomerRepricingConfig. You can only update
configs if the RepricingConfig.effective_invoice_month is a future month. To make changes to
configs for the current month, use CreateCustomerRepricingConfig, taking note of its
restrictions. You cannot update the RepricingConfig.effective_invoice_month. When updating a
config in the future: * This config must already exist. Possible Error Codes: *
PERMISSION_DENIED: If the account making the request and the account being queried are different.
* INVALID_ARGUMENT: Missing or invalid required parameters in the request. Also displays if the
updated config is for the current month or past months. * NOT_FOUND: The CustomerRepricingConfig
specified does not exist or is not associated with the given account. * INTERNAL: Any non-user
error related to technical issues in the backend. In this case, contact Cloud Channel support.
Return Value: If successful, the updated CustomerRepricingConfig resource, otherwise returns an
error.
Create a request for the method "customerRepricingConfigs.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 CustomerRepricingConfig. Format:
accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}.
content
- the GoogleCloudChannelV1CustomerRepricingConfig
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2024 Weber Informatics LLC | Privacy Policy