diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/README.md b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/README.md
index 0c6c481cf2e..79fd9f287cb 100644
--- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/README.md
+++ b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
- *- * {@code Merchant merchantapi = new Merchant(...);} - * {@code Merchant.OmnichannelSettings.List request = merchantapi.omnichannelSettings().list(parameters ...)} - *- * - * @return the resource collection - */ - public OmnichannelSettings omnichannelSettings() { - return new OmnichannelSettings(); - } - - /** - * The "omnichannelSettings" collection of methods. - */ - public class OmnichannelSettings { - - /** - * Create the omnichannel settings for a given merchant. - * - * Create a request for the method "omnichannelSettings.create". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link Create#execute()} method to invoke the remote operation. - * - * @param parent Required. The parent resource where this omnichannel setting will be created. Format: - * `accounts/{account}` - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting} - * @return the request - */ - public Create create(java.lang.String parent, com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting content) throws java.io.IOException { - Create result = new Create(parent, content); - initialize(result); - return result; - } - - public class Create extends MerchantRequest
{@link - * Create#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.
- * - * @param parent Required. The parent resource where this omnichannel setting will be created. Format: - * `accounts/{account}` - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting} - * @since 1.13 - */ - protected Create(java.lang.String parent, com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting content) { - super(Merchant.this, "POST", REST_PATH, content, com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+$"); - } - } - - @Override - public Create set$Xgafv(java.lang.String $Xgafv) { - return (Create) super.set$Xgafv($Xgafv); - } - - @Override - public Create setAccessToken(java.lang.String accessToken) { - return (Create) super.setAccessToken(accessToken); - } - - @Override - public Create setAlt(java.lang.String alt) { - return (Create) super.setAlt(alt); - } - - @Override - public Create setCallback(java.lang.String callback) { - return (Create) super.setCallback(callback); - } - - @Override - public Create setFields(java.lang.String fields) { - return (Create) super.setFields(fields); - } - - @Override - public Create setKey(java.lang.String key) { - return (Create) super.setKey(key); - } - - @Override - public Create setOauthToken(java.lang.String oauthToken) { - return (Create) super.setOauthToken(oauthToken); - } - - @Override - public Create setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Create) super.setPrettyPrint(prettyPrint); - } - - @Override - public Create setQuotaUser(java.lang.String quotaUser) { - return (Create) super.setQuotaUser(quotaUser); - } - - @Override - public Create setUploadType(java.lang.String uploadType) { - return (Create) super.setUploadType(uploadType); - } - - @Override - public Create setUploadProtocol(java.lang.String uploadProtocol) { - return (Create) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The parent resource where this omnichannel setting will be created. Format: - * `accounts/{account}` - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent resource where this omnichannel setting will be created. Format: - `accounts/{account}` - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The parent resource where this omnichannel setting will be created. Format: - * `accounts/{account}` - */ - public Create setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+$"); - } - this.parent = parent; - return this; - } - - @Override - public Create set(String parameterName, Object value) { - return (Create) super.set(parameterName, value); - } - } - /** - * Get the omnichannel settings for a given merchant. - * - * Create a request for the method "omnichannelSettings.get". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link Get#execute()} method to invoke the remote operation. - * - * @param name Required. The name of the omnichannel setting to retrieve. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - * @return the request - */ - public Get get(java.lang.String name) throws java.io.IOException { - Get result = new Get(name); - initialize(result); - return result; - } - - public class Get extends MerchantRequest- * {@link Get#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
- * - * @param name Required. The name of the omnichannel setting to retrieve. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - * @since 1.13 - */ - protected Get(java.lang.String name) { - super(Merchant.this, "GET", REST_PATH, null, com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public Get set$Xgafv(java.lang.String $Xgafv) { - return (Get) super.set$Xgafv($Xgafv); - } - - @Override - public Get setAccessToken(java.lang.String accessToken) { - return (Get) super.setAccessToken(accessToken); - } - - @Override - public Get setAlt(java.lang.String alt) { - return (Get) super.setAlt(alt); - } - - @Override - public Get setCallback(java.lang.String callback) { - return (Get) super.setCallback(callback); - } - - @Override - public Get setFields(java.lang.String fields) { - return (Get) super.setFields(fields); - } - - @Override - public Get setKey(java.lang.String key) { - return (Get) super.setKey(key); - } - - @Override - public Get setOauthToken(java.lang.String oauthToken) { - return (Get) super.setOauthToken(oauthToken); - } - - @Override - public Get setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Get) super.setPrettyPrint(prettyPrint); - } - - @Override - public Get setQuotaUser(java.lang.String quotaUser) { - return (Get) super.setQuotaUser(quotaUser); - } - - @Override - public Get setUploadType(java.lang.String uploadType) { - return (Get) super.setUploadType(uploadType); - } - - @Override - public Get setUploadProtocol(java.lang.String uploadProtocol) { - return (Get) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The name of the omnichannel setting to retrieve. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Required. The name of the omnichannel setting to retrieve. Format: - `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - public java.lang.String getName() { - return name; - } - - /** - * Required. The name of the omnichannel setting to retrieve. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - public Get setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public Get set(String parameterName, Object value) { - return (Get) super.set(parameterName, value); - } - } - /** - * List all the omnichannel settings for a given merchant. - * - * Create a request for the method "omnichannelSettings.list". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link List#execute()} method to invoke the remote operation. - * - * @param parent Required. The parent, which owns this collection of omnichannel settings. Format: - * `accounts/{account}` - * @return the request - */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; - } - - public class List extends MerchantRequest- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
- * - * @param parent Required. The parent, which owns this collection of omnichannel settings. Format: - * `accounts/{account}` - * @since 1.13 - */ - protected List(java.lang.String parent) { - super(Merchant.this, "GET", REST_PATH, null, com.google.api.services.merchantapi.accounts_v1beta.model.ListOmnichannelSettingsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } - - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } - - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } - - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } - - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } - - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } - - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } - - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } - - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } - - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } - - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The parent, which owns this collection of omnichannel settings. Format: - * `accounts/{account}` - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The parent, which owns this collection of omnichannel settings. Format: - `accounts/{account}` - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The parent, which owns this collection of omnichannel settings. Format: - * `accounts/{account}` - */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** - * Optional. The maximum number of omnichannel settings to return. The service may return - * fewer than this value. If unspecified, at most 50 omnichannel settings will be returned. - * The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. The maximum number of omnichannel settings to return. The service may return fewer than - this value. If unspecified, at most 50 omnichannel settings will be returned. The maximum value is - 1000; values above 1000 will be coerced to 1000. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** - * Optional. The maximum number of omnichannel settings to return. The service may return - * fewer than this value. If unspecified, at most 50 omnichannel settings will be returned. - * The maximum value is 1000; values above 1000 will be coerced to 1000. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** - * Optional. A page token, received from a previous `ListOmnichannelSettings` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters provided to - * `ListOmnichannelSettings` must match the call that provided the page token. - */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** Optional. A page token, received from a previous `ListOmnichannelSettings` call. Provide this to - retrieve the subsequent page. When paginating, all other parameters provided to - `ListOmnichannelSettings` must match the call that provided the page token. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** - * Optional. A page token, received from a previous `ListOmnichannelSettings` call. Provide - * this to retrieve the subsequent page. When paginating, all other parameters provided to - * `ListOmnichannelSettings` must match the call that provided the page token. - */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } - } - /** - * Update the omnichannel setting for a given merchant in a given country. - * - * Create a request for the method "omnichannelSettings.patch". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link Patch#execute()} method to invoke the remote operation. - * - * @param name Identifier. The resource name of the omnichannel setting. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting} - * @return the request - */ - public Patch patch(java.lang.String name, com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting content) throws java.io.IOException { - Patch result = new Patch(name, content); - initialize(result); - return result; - } - - public class Patch extends MerchantRequest{@link - * Patch#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} must - * be called to initialize this instance immediately after invoking the constructor.
- * - * @param name Identifier. The resource name of the omnichannel setting. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting} - * @since 1.13 - */ - protected Patch(java.lang.String name, com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting content) { - super(Merchant.this, "PATCH", REST_PATH, content, com.google.api.services.merchantapi.accounts_v1beta.model.OmnichannelSetting.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - } - - @Override - public Patch set$Xgafv(java.lang.String $Xgafv) { - return (Patch) super.set$Xgafv($Xgafv); - } - - @Override - public Patch setAccessToken(java.lang.String accessToken) { - return (Patch) super.setAccessToken(accessToken); - } - - @Override - public Patch setAlt(java.lang.String alt) { - return (Patch) super.setAlt(alt); - } - - @Override - public Patch setCallback(java.lang.String callback) { - return (Patch) super.setCallback(callback); - } - - @Override - public Patch setFields(java.lang.String fields) { - return (Patch) super.setFields(fields); - } - - @Override - public Patch setKey(java.lang.String key) { - return (Patch) super.setKey(key); - } - - @Override - public Patch setOauthToken(java.lang.String oauthToken) { - return (Patch) super.setOauthToken(oauthToken); - } - - @Override - public Patch setPrettyPrint(java.lang.Boolean prettyPrint) { - return (Patch) super.setPrettyPrint(prettyPrint); - } - - @Override - public Patch setQuotaUser(java.lang.String quotaUser) { - return (Patch) super.setQuotaUser(quotaUser); - } - - @Override - public Patch setUploadType(java.lang.String uploadType) { - return (Patch) super.setUploadType(uploadType); - } - - @Override - public Patch setUploadProtocol(java.lang.String uploadProtocol) { - return (Patch) super.setUploadProtocol(uploadProtocol); - } - - /** - * Identifier. The resource name of the omnichannel setting. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Identifier. The resource name of the omnichannel setting. Format: - `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - public java.lang.String getName() { - return name; - } - - /** - * Identifier. The resource name of the omnichannel setting. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - public Patch setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - this.name = name; - return this; - } - - /** Optional. The list of fields to be updated. */ - @com.google.api.client.util.Key - private String updateMask; - - /** Optional. The list of fields to be updated. - */ - public String getUpdateMask() { - return updateMask; - } - - /** Optional. The list of fields to be updated. */ - public Patch setUpdateMask(String updateMask) { - this.updateMask = updateMask; - return this; - } - - @Override - public Patch set(String parameterName, Object value) { - return (Patch) super.set(parameterName, value); - } - } - /** - * Requests inventory verification for a given merchant in a given country. - * - * Create a request for the method "omnichannelSettings.requestInventoryVerification". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link RequestInventoryVerification#execute()} method to invoke the remote - * operation. - * - * @param name Required. The name of the omnichannel setting to request inventory verification. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.RequestInventoryVerificationRequest} - * @return the request - */ - public RequestInventoryVerification requestInventoryVerification(java.lang.String name, com.google.api.services.merchantapi.accounts_v1beta.model.RequestInventoryVerificationRequest content) throws java.io.IOException { - RequestInventoryVerification result = new RequestInventoryVerification(name, content); - initialize(result); - return result; - } - - public class RequestInventoryVerification extends MerchantRequest{@link RequestInventoryVerification#initialize(com.google.api.client. - * googleapis.services.AbstractGoogleClientRequest)} must be called to initialize this instance - * immediately after invoking the constructor.
- * - * @param name Required. The name of the omnichannel setting to request inventory verification. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.RequestInventoryVerificationRequest} - * @since 1.13 - */ - protected RequestInventoryVerification(java.lang.String name, com.google.api.services.merchantapi.accounts_v1beta.model.RequestInventoryVerificationRequest content) { - super(Merchant.this, "POST", REST_PATH, content, com.google.api.services.merchantapi.accounts_v1beta.model.RequestInventoryVerificationResponse.class); - this.name = com.google.api.client.util.Preconditions.checkNotNull(name, "Required parameter name must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - } - - @Override - public RequestInventoryVerification set$Xgafv(java.lang.String $Xgafv) { - return (RequestInventoryVerification) super.set$Xgafv($Xgafv); - } - - @Override - public RequestInventoryVerification setAccessToken(java.lang.String accessToken) { - return (RequestInventoryVerification) super.setAccessToken(accessToken); - } - - @Override - public RequestInventoryVerification setAlt(java.lang.String alt) { - return (RequestInventoryVerification) super.setAlt(alt); - } - - @Override - public RequestInventoryVerification setCallback(java.lang.String callback) { - return (RequestInventoryVerification) super.setCallback(callback); - } - - @Override - public RequestInventoryVerification setFields(java.lang.String fields) { - return (RequestInventoryVerification) super.setFields(fields); - } - - @Override - public RequestInventoryVerification setKey(java.lang.String key) { - return (RequestInventoryVerification) super.setKey(key); - } - - @Override - public RequestInventoryVerification setOauthToken(java.lang.String oauthToken) { - return (RequestInventoryVerification) super.setOauthToken(oauthToken); - } - - @Override - public RequestInventoryVerification setPrettyPrint(java.lang.Boolean prettyPrint) { - return (RequestInventoryVerification) super.setPrettyPrint(prettyPrint); - } - - @Override - public RequestInventoryVerification setQuotaUser(java.lang.String quotaUser) { - return (RequestInventoryVerification) super.setQuotaUser(quotaUser); - } - - @Override - public RequestInventoryVerification setUploadType(java.lang.String uploadType) { - return (RequestInventoryVerification) super.setUploadType(uploadType); - } - - @Override - public RequestInventoryVerification setUploadProtocol(java.lang.String uploadProtocol) { - return (RequestInventoryVerification) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The name of the omnichannel setting to request inventory verification. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** Required. The name of the omnichannel setting to request inventory verification. Format: - `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - public java.lang.String getName() { - return name; - } - - /** - * Required. The name of the omnichannel setting to request inventory verification. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - */ - public RequestInventoryVerification setName(java.lang.String name) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(NAME_PATTERN.matcher(name).matches(), - "Parameter name must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - this.name = name; - return this; - } - - @Override - public RequestInventoryVerification set(String parameterName, Object value) { - return (RequestInventoryVerification) super.set(parameterName, value); - } - } - - /** - * An accessor for creating requests from the GbpAccounts collection. - * - *The typical use is:
- *- * {@code Merchant merchantapi = new Merchant(...);} - * {@code Merchant.GbpAccounts.List request = merchantapi.gbpAccounts().list(parameters ...)} - *- * - * @return the resource collection - */ - public GbpAccounts gbpAccounts() { - return new GbpAccounts(); - } - - /** - * The "gbpAccounts" collection of methods. - */ - public class GbpAccounts { - - /** - * Link the specified merchant to a GBP account for all countries. - * - * Create a request for the method "gbpAccounts.linkGbpAccount". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link LinkGbpAccount#execute()} method to invoke the remote operation. - * - * @param parent Required. The name of the parent resource under which the GBP accounts are listed. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.LinkGbpAccountRequest} - * @return the request - */ - public LinkGbpAccount linkGbpAccount(java.lang.String parent, com.google.api.services.merchantapi.accounts_v1beta.model.LinkGbpAccountRequest content) throws java.io.IOException { - LinkGbpAccount result = new LinkGbpAccount(parent, content); - initialize(result); - return result; - } - - public class LinkGbpAccount extends MerchantRequest
{@link LinkGbpAccount#initialize(com.google.api.client.googleapis.services.Abstr - * actGoogleClientRequest)} must be called to initialize this instance immediately after invoking - * the constructor.
- * - * @param parent Required. The name of the parent resource under which the GBP accounts are listed. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.LinkGbpAccountRequest} - * @since 1.13 - */ - protected LinkGbpAccount(java.lang.String parent, com.google.api.services.merchantapi.accounts_v1beta.model.LinkGbpAccountRequest content) { - super(Merchant.this, "POST", REST_PATH, content, com.google.api.services.merchantapi.accounts_v1beta.model.LinkGbpAccountResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - } - - @Override - public LinkGbpAccount set$Xgafv(java.lang.String $Xgafv) { - return (LinkGbpAccount) super.set$Xgafv($Xgafv); - } - - @Override - public LinkGbpAccount setAccessToken(java.lang.String accessToken) { - return (LinkGbpAccount) super.setAccessToken(accessToken); - } - - @Override - public LinkGbpAccount setAlt(java.lang.String alt) { - return (LinkGbpAccount) super.setAlt(alt); - } - - @Override - public LinkGbpAccount setCallback(java.lang.String callback) { - return (LinkGbpAccount) super.setCallback(callback); - } - - @Override - public LinkGbpAccount setFields(java.lang.String fields) { - return (LinkGbpAccount) super.setFields(fields); - } - - @Override - public LinkGbpAccount setKey(java.lang.String key) { - return (LinkGbpAccount) super.setKey(key); - } - - @Override - public LinkGbpAccount setOauthToken(java.lang.String oauthToken) { - return (LinkGbpAccount) super.setOauthToken(oauthToken); - } - - @Override - public LinkGbpAccount setPrettyPrint(java.lang.Boolean prettyPrint) { - return (LinkGbpAccount) super.setPrettyPrint(prettyPrint); - } - - @Override - public LinkGbpAccount setQuotaUser(java.lang.String quotaUser) { - return (LinkGbpAccount) super.setQuotaUser(quotaUser); - } - - @Override - public LinkGbpAccount setUploadType(java.lang.String uploadType) { - return (LinkGbpAccount) super.setUploadType(uploadType); - } - - @Override - public LinkGbpAccount setUploadProtocol(java.lang.String uploadProtocol) { - return (LinkGbpAccount) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The name of the parent resource under which the GBP accounts are listed. - * Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The name of the parent resource under which the GBP accounts are listed. Format: - `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The name of the parent resource under which the GBP accounts are listed. - * Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - public LinkGbpAccount setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - this.parent = parent; - return this; - } - - @Override - public LinkGbpAccount set(String parameterName, Object value) { - return (LinkGbpAccount) super.set(parameterName, value); - } - } - /** - * List the GBP accounts for a given merchant. - * - * Create a request for the method "gbpAccounts.list". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link List#execute()} method to invoke the remote operation. - * - * @param parent Required. The name of the parent resource under which the GBP accounts are listed. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - * @return the request - */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; - } - - public class List extends MerchantRequest- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
- * - * @param parent Required. The name of the parent resource under which the GBP accounts are listed. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - * @since 1.13 - */ - protected List(java.lang.String parent) { - super(Merchant.this, "GET", REST_PATH, null, com.google.api.services.merchantapi.accounts_v1beta.model.ListGbpAccountsResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } - - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } - - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } - - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } - - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } - - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } - - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } - - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } - - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } - - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } - - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The name of the parent resource under which the GBP accounts are listed. - * Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The name of the parent resource under which the GBP accounts are listed. Format: - `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The name of the parent resource under which the GBP accounts are listed. - * Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** - * Optional. The maximum number of `GbpAccount` resources to return. The service returns - * fewer than this value if the number of gbp accounts is less that than the `pageSize`. - * The default value is 50. The maximum value is 1000; If a value higher than the maximum - * is specified, then the `pageSize` will default to the maximum. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. The maximum number of `GbpAccount` resources to return. The service returns fewer than - this value if the number of gbp accounts is less that than the `pageSize`. The default value is 50. - The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` - will default to the maximum. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** - * Optional. The maximum number of `GbpAccount` resources to return. The service returns - * fewer than this value if the number of gbp accounts is less that than the `pageSize`. - * The default value is 50. The maximum value is 1000; If a value higher than the maximum - * is specified, then the `pageSize` will default to the maximum. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** - * Optional. A page token, received from a previous `ListGbpAccounts` call. Provide the - * page token to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListGbpAccounts` must match the call that provided the page token. - */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** Optional. A page token, received from a previous `ListGbpAccounts` call. Provide the page token to - retrieve the subsequent page. When paginating, all other parameters provided to `ListGbpAccounts` - must match the call that provided the page token. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** - * Optional. A page token, received from a previous `ListGbpAccounts` call. Provide the - * page token to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListGbpAccounts` must match the call that provided the page token. - */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } - } - - } - /** - * An accessor for creating requests from the LfpProviders collection. - * - *The typical use is:
- *- * {@code Merchant merchantapi = new Merchant(...);} - * {@code Merchant.LfpProviders.List request = merchantapi.lfpProviders().list(parameters ...)} - *- * - * @return the resource collection - */ - public LfpProviders lfpProviders() { - return new LfpProviders(); - } - - /** - * The "lfpProviders" collection of methods. - */ - public class LfpProviders { - - /** - * Link the specified merchant to a LFP provider for the specified country. - * - * Create a request for the method "lfpProviders.linkLfpProvider". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link LinkLfpProvider#execute()} method to invoke the remote operation. - * - * @param parent Required. The name of the parent resource under which the LFP provider is linked. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.LinkLfpProviderRequest} - * @return the request - */ - public LinkLfpProvider linkLfpProvider(java.lang.String parent, com.google.api.services.merchantapi.accounts_v1beta.model.LinkLfpProviderRequest content) throws java.io.IOException { - LinkLfpProvider result = new LinkLfpProvider(parent, content); - initialize(result); - return result; - } - - public class LinkLfpProvider extends MerchantRequest
{@link LinkLfpProvider#initialize(com.google.api.client.googleapis.services.Abst - * ractGoogleClientRequest)} must be called to initialize this instance immediately after invoking - * the constructor.
- * - * @param parent Required. The name of the parent resource under which the LFP provider is linked. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - * @param content the {@link com.google.api.services.merchantapi.accounts_v1beta.model.LinkLfpProviderRequest} - * @since 1.13 - */ - protected LinkLfpProvider(java.lang.String parent, com.google.api.services.merchantapi.accounts_v1beta.model.LinkLfpProviderRequest content) { - super(Merchant.this, "POST", REST_PATH, content, com.google.api.services.merchantapi.accounts_v1beta.model.LinkLfpProviderResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - } - - @Override - public LinkLfpProvider set$Xgafv(java.lang.String $Xgafv) { - return (LinkLfpProvider) super.set$Xgafv($Xgafv); - } - - @Override - public LinkLfpProvider setAccessToken(java.lang.String accessToken) { - return (LinkLfpProvider) super.setAccessToken(accessToken); - } - - @Override - public LinkLfpProvider setAlt(java.lang.String alt) { - return (LinkLfpProvider) super.setAlt(alt); - } - - @Override - public LinkLfpProvider setCallback(java.lang.String callback) { - return (LinkLfpProvider) super.setCallback(callback); - } - - @Override - public LinkLfpProvider setFields(java.lang.String fields) { - return (LinkLfpProvider) super.setFields(fields); - } - - @Override - public LinkLfpProvider setKey(java.lang.String key) { - return (LinkLfpProvider) super.setKey(key); - } - - @Override - public LinkLfpProvider setOauthToken(java.lang.String oauthToken) { - return (LinkLfpProvider) super.setOauthToken(oauthToken); - } - - @Override - public LinkLfpProvider setPrettyPrint(java.lang.Boolean prettyPrint) { - return (LinkLfpProvider) super.setPrettyPrint(prettyPrint); - } - - @Override - public LinkLfpProvider setQuotaUser(java.lang.String quotaUser) { - return (LinkLfpProvider) super.setQuotaUser(quotaUser); - } - - @Override - public LinkLfpProvider setUploadType(java.lang.String uploadType) { - return (LinkLfpProvider) super.setUploadType(uploadType); - } - - @Override - public LinkLfpProvider setUploadProtocol(java.lang.String uploadProtocol) { - return (LinkLfpProvider) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The name of the parent resource under which the LFP provider is linked. - * Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The name of the parent resource under which the LFP provider is linked. Format: - `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The name of the parent resource under which the LFP provider is linked. - * Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - public LinkLfpProvider setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - this.parent = parent; - return this; - } - - @Override - public LinkLfpProvider set(String parameterName, Object value) { - return (LinkLfpProvider) super.set(parameterName, value); - } - } - /** - * List the LFP provider settings for a given merchant in a given country. - * - * Create a request for the method "lfpProviders.list". - * - * This request holds the parameters needed by the merchantapi server. After setting any optional - * parameters, call the {@link List#execute()} method to invoke the remote operation. - * - * @param parent Required. The name of the parent resource under which the LFP providers are listed. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - * @return the request - */ - public List list(java.lang.String parent) throws java.io.IOException { - List result = new List(parent); - initialize(result); - return result; - } - - public class List extends MerchantRequest- * {@link List#initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)} - * must be called to initialize this instance immediately after invoking the constructor.
- * - * @param parent Required. The name of the parent resource under which the LFP providers are listed. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - * @since 1.13 - */ - protected List(java.lang.String parent) { - super(Merchant.this, "GET", REST_PATH, null, com.google.api.services.merchantapi.accounts_v1beta.model.ListLfpProvidersResponse.class); - this.parent = com.google.api.client.util.Preconditions.checkNotNull(parent, "Required parameter parent must be specified."); - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - } - - @Override - public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException { - return super.executeUsingHead(); - } - - @Override - public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException { - return super.buildHttpRequestUsingHead(); - } - - @Override - public List set$Xgafv(java.lang.String $Xgafv) { - return (List) super.set$Xgafv($Xgafv); - } - - @Override - public List setAccessToken(java.lang.String accessToken) { - return (List) super.setAccessToken(accessToken); - } - - @Override - public List setAlt(java.lang.String alt) { - return (List) super.setAlt(alt); - } - - @Override - public List setCallback(java.lang.String callback) { - return (List) super.setCallback(callback); - } - - @Override - public List setFields(java.lang.String fields) { - return (List) super.setFields(fields); - } - - @Override - public List setKey(java.lang.String key) { - return (List) super.setKey(key); - } - - @Override - public List setOauthToken(java.lang.String oauthToken) { - return (List) super.setOauthToken(oauthToken); - } - - @Override - public List setPrettyPrint(java.lang.Boolean prettyPrint) { - return (List) super.setPrettyPrint(prettyPrint); - } - - @Override - public List setQuotaUser(java.lang.String quotaUser) { - return (List) super.setQuotaUser(quotaUser); - } - - @Override - public List setUploadType(java.lang.String uploadType) { - return (List) super.setUploadType(uploadType); - } - - @Override - public List setUploadProtocol(java.lang.String uploadProtocol) { - return (List) super.setUploadProtocol(uploadProtocol); - } - - /** - * Required. The name of the parent resource under which the LFP providers are listed. - * Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - @com.google.api.client.util.Key - private java.lang.String parent; - - /** Required. The name of the parent resource under which the LFP providers are listed. Format: - `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - public java.lang.String getParent() { - return parent; - } - - /** - * Required. The name of the parent resource under which the LFP providers are listed. - * Format: `accounts/{account}/omnichannelSettings/{omnichannel_setting}`. - */ - public List setParent(java.lang.String parent) { - if (!getSuppressPatternChecks()) { - com.google.api.client.util.Preconditions.checkArgument(PARENT_PATTERN.matcher(parent).matches(), - "Parameter parent must conform to the pattern " + - "^accounts/[^/]+/omnichannelSettings/[^/]+$"); - } - this.parent = parent; - return this; - } - - /** - * Optional. The maximum number of `LfpProvider` resources to return. The service returns - * fewer than this value if the number of lfp providers is less that than the `pageSize`. - * The default value is 50. The maximum value is 1000; If a value higher than the maximum - * is specified, then the `pageSize` will default to the maximum. - */ - @com.google.api.client.util.Key - private java.lang.Integer pageSize; - - /** Optional. The maximum number of `LfpProvider` resources to return. The service returns fewer than - this value if the number of lfp providers is less that than the `pageSize`. The default value is - 50. The maximum value is 1000; If a value higher than the maximum is specified, then the `pageSize` - will default to the maximum. - */ - public java.lang.Integer getPageSize() { - return pageSize; - } - - /** - * Optional. The maximum number of `LfpProvider` resources to return. The service returns - * fewer than this value if the number of lfp providers is less that than the `pageSize`. - * The default value is 50. The maximum value is 1000; If a value higher than the maximum - * is specified, then the `pageSize` will default to the maximum. - */ - public List setPageSize(java.lang.Integer pageSize) { - this.pageSize = pageSize; - return this; - } - - /** - * Optional. A page token, received from a previous `ListLfpProviders` call. Provide the - * page token to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListLfpProviders` must match the call that provided the page token. - */ - @com.google.api.client.util.Key - private java.lang.String pageToken; - - /** Optional. A page token, received from a previous `ListLfpProviders` call. Provide the page token to - retrieve the subsequent page. When paginating, all other parameters provided to `ListLfpProviders` - must match the call that provided the page token. - */ - public java.lang.String getPageToken() { - return pageToken; - } - - /** - * Optional. A page token, received from a previous `ListLfpProviders` call. Provide the - * page token to retrieve the subsequent page. When paginating, all other parameters - * provided to `ListLfpProviders` must match the call that provided the page token. - */ - public List setPageToken(java.lang.String pageToken) { - this.pageToken = pageToken; - return this; - } - - @Override - public List set(String parameterName, Object value) { - return (List) super.set(parameterName, value); - } - } - - } - } /** * An accessor for creating requests from the OnlineReturnPolicies collection. * diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/About.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/About.java deleted file mode 100644 index 51fcfa6fccb..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/About.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Model definition for About. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class About extends com.google.api.client.json.GenericJson { - - /** - * Output only. The state of the URI. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String state; - - /** - * Required. The about page URI. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String uri; - - /** - * Output only. The state of the URI. - * @return value or {@code null} for none - */ - public java.lang.String getState() { - return state; - } - - /** - * Output only. The state of the URI. - * @param state state or {@code null} for none - */ - public About setState(java.lang.String state) { - this.state = state; - return this; - } - - /** - * Required. The about page URI. - * @return value or {@code null} for none - */ - public java.lang.String getUri() { - return uri; - } - - /** - * Required. The about page URI. - * @param uri uri or {@code null} for none - */ - public About setUri(java.lang.String uri) { - this.uri = uri; - return this; - } - - @Override - public About set(String fieldName, Object value) { - return (About) super.set(fieldName, value); - } - - @Override - public About clone() { - return (About) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/BusinessIdentity.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/BusinessIdentity.java index 74d9aeaaeb8..5246d8625df 100644 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/BusinessIdentity.java +++ b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/BusinessIdentity.java @@ -57,7 +57,7 @@ public final class BusinessIdentity extends com.google.api.client.json.GenericJs private java.lang.String name; /** - * Optional. Whether the identity attributes may be used for promotions. + * Required. Whether the identity attributes may be used for promotions. * The value may be {@code null}. */ @com.google.api.client.util.Key @@ -152,7 +152,7 @@ public BusinessIdentity setName(java.lang.String name) { } /** - * Optional. Whether the identity attributes may be used for promotions. + * Required. Whether the identity attributes may be used for promotions. * @return value or {@code null} for none */ public java.lang.String getPromotionsConsent() { @@ -160,7 +160,7 @@ public java.lang.String getPromotionsConsent() { } /** - * Optional. Whether the identity attributes may be used for promotions. + * Required. Whether the identity attributes may be used for promotions. * @param promotionsConsent promotionsConsent or {@code null} for none */ public BusinessIdentity setPromotionsConsent(java.lang.String promotionsConsent) { diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/GbpAccount.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/GbpAccount.java deleted file mode 100644 index 9b1893a9fa2..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/GbpAccount.java +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Collection of information related to a Google Business Profile (GBP) account. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class GbpAccount extends com.google.api.client.json.GenericJson { - - /** - * The email which identifies the Business Profile. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String email; - - /** - * The id of the GBP account. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String gbpAccountId; - - /** - * The name of the Business Profile. For personal accounts: Email id of the owner. For Business - * accounts: Name of the Business Account. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String gbpAccountName; - - /** - * Number of listings under this account. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key @com.google.api.client.json.JsonString - private java.lang.Long listingCount; - - /** - * Identifier. The resource name of the GBP account. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}/gbpAccount/{gbp_account}` - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * The type of the Business Profile. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String type; - - /** - * The email which identifies the Business Profile. - * @return value or {@code null} for none - */ - public java.lang.String getEmail() { - return email; - } - - /** - * The email which identifies the Business Profile. - * @param email email or {@code null} for none - */ - public GbpAccount setEmail(java.lang.String email) { - this.email = email; - return this; - } - - /** - * The id of the GBP account. - * @return value or {@code null} for none - */ - public java.lang.String getGbpAccountId() { - return gbpAccountId; - } - - /** - * The id of the GBP account. - * @param gbpAccountId gbpAccountId or {@code null} for none - */ - public GbpAccount setGbpAccountId(java.lang.String gbpAccountId) { - this.gbpAccountId = gbpAccountId; - return this; - } - - /** - * The name of the Business Profile. For personal accounts: Email id of the owner. For Business - * accounts: Name of the Business Account. - * @return value or {@code null} for none - */ - public java.lang.String getGbpAccountName() { - return gbpAccountName; - } - - /** - * The name of the Business Profile. For personal accounts: Email id of the owner. For Business - * accounts: Name of the Business Account. - * @param gbpAccountName gbpAccountName or {@code null} for none - */ - public GbpAccount setGbpAccountName(java.lang.String gbpAccountName) { - this.gbpAccountName = gbpAccountName; - return this; - } - - /** - * Number of listings under this account. - * @return value or {@code null} for none - */ - public java.lang.Long getListingCount() { - return listingCount; - } - - /** - * Number of listings under this account. - * @param listingCount listingCount or {@code null} for none - */ - public GbpAccount setListingCount(java.lang.Long listingCount) { - this.listingCount = listingCount; - return this; - } - - /** - * Identifier. The resource name of the GBP account. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}/gbpAccount/{gbp_account}` - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * Identifier. The resource name of the GBP account. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}/gbpAccount/{gbp_account}` - * @param name name or {@code null} for none - */ - public GbpAccount setName(java.lang.String name) { - this.name = name; - return this; - } - - /** - * The type of the Business Profile. - * @return value or {@code null} for none - */ - public java.lang.String getType() { - return type; - } - - /** - * The type of the Business Profile. - * @param type type or {@code null} for none - */ - public GbpAccount setType(java.lang.String type) { - this.type = type; - return this; - } - - @Override - public GbpAccount set(String fieldName, Object value) { - return (GbpAccount) super.set(fieldName, value); - } - - @Override - public GbpAccount clone() { - return (GbpAccount) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/InventoryVerification.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/InventoryVerification.java deleted file mode 100644 index a616671edd5..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/InventoryVerification.java +++ /dev/null @@ -1,138 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Model definition for InventoryVerification. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class InventoryVerification extends com.google.api.client.json.GenericJson { - - /** - * Required. The name of the contact for the inventory verification process. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String contact; - - /** - * Required. The email address of the contact for the inventory verification process. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String contactEmail; - - /** - * Output only. The state of the contact verification. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String contactState; - - /** - * Output only. The state of the inventory verification process. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String state; - - /** - * Required. The name of the contact for the inventory verification process. - * @return value or {@code null} for none - */ - public java.lang.String getContact() { - return contact; - } - - /** - * Required. The name of the contact for the inventory verification process. - * @param contact contact or {@code null} for none - */ - public InventoryVerification setContact(java.lang.String contact) { - this.contact = contact; - return this; - } - - /** - * Required. The email address of the contact for the inventory verification process. - * @return value or {@code null} for none - */ - public java.lang.String getContactEmail() { - return contactEmail; - } - - /** - * Required. The email address of the contact for the inventory verification process. - * @param contactEmail contactEmail or {@code null} for none - */ - public InventoryVerification setContactEmail(java.lang.String contactEmail) { - this.contactEmail = contactEmail; - return this; - } - - /** - * Output only. The state of the contact verification. - * @return value or {@code null} for none - */ - public java.lang.String getContactState() { - return contactState; - } - - /** - * Output only. The state of the contact verification. - * @param contactState contactState or {@code null} for none - */ - public InventoryVerification setContactState(java.lang.String contactState) { - this.contactState = contactState; - return this; - } - - /** - * Output only. The state of the inventory verification process. - * @return value or {@code null} for none - */ - public java.lang.String getState() { - return state; - } - - /** - * Output only. The state of the inventory verification process. - * @param state state or {@code null} for none - */ - public InventoryVerification setState(java.lang.String state) { - this.state = state; - return this; - } - - @Override - public InventoryVerification set(String fieldName, Object value) { - return (InventoryVerification) super.set(fieldName, value); - } - - @Override - public InventoryVerification clone() { - return (InventoryVerification) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LfpLink.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LfpLink.java deleted file mode 100644 index 239e1807fae..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LfpLink.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Collection of information related to the LFP link. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class LfpLink extends com.google.api.client.json.GenericJson { - - /** - * Required. The account ID by which this merchant is known to the LFP provider. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String externalAccountId; - - /** - * Required. The ID of the LFP provider. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String providerId; - - /** - * Required. The account ID by which this merchant is known to the LFP provider. - * @return value or {@code null} for none - */ - public java.lang.String getExternalAccountId() { - return externalAccountId; - } - - /** - * Required. The account ID by which this merchant is known to the LFP provider. - * @param externalAccountId externalAccountId or {@code null} for none - */ - public LfpLink setExternalAccountId(java.lang.String externalAccountId) { - this.externalAccountId = externalAccountId; - return this; - } - - /** - * Required. The ID of the LFP provider. - * @return value or {@code null} for none - */ - public java.lang.String getProviderId() { - return providerId; - } - - /** - * Required. The ID of the LFP provider. - * @param providerId providerId or {@code null} for none - */ - public LfpLink setProviderId(java.lang.String providerId) { - this.providerId = providerId; - return this; - } - - @Override - public LfpLink set(String fieldName, Object value) { - return (LfpLink) super.set(fieldName, value); - } - - @Override - public LfpLink clone() { - return (LfpLink) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LfpProvider.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LfpProvider.java deleted file mode 100644 index 323273e4d02..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LfpProvider.java +++ /dev/null @@ -1,141 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Collection of information related to a Local Feed Partnership (LFP) provider. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class LfpProvider extends com.google.api.client.json.GenericJson { - - /** - * The display name of the LFP provider. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String displayName; - - /** - * The ID of the LFP provider. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String lfpProviderId; - - /** - * Identifier. The resource name of the LFP provider. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}` - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * Output only. Region code defined by [CLDR](https://cldr.unicode.org/). - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String regionCode; - - /** - * The display name of the LFP provider. - * @return value or {@code null} for none - */ - public java.lang.String getDisplayName() { - return displayName; - } - - /** - * The display name of the LFP provider. - * @param displayName displayName or {@code null} for none - */ - public LfpProvider setDisplayName(java.lang.String displayName) { - this.displayName = displayName; - return this; - } - - /** - * The ID of the LFP provider. - * @return value or {@code null} for none - */ - public java.lang.String getLfpProviderId() { - return lfpProviderId; - } - - /** - * The ID of the LFP provider. - * @param lfpProviderId lfpProviderId or {@code null} for none - */ - public LfpProvider setLfpProviderId(java.lang.String lfpProviderId) { - this.lfpProviderId = lfpProviderId; - return this; - } - - /** - * Identifier. The resource name of the LFP provider. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}` - * @return value or {@code null} for none - */ - public java.lang.String getName() { - return name; - } - - /** - * Identifier. The resource name of the LFP provider. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}/lfpProviders/{lfp_provider}` - * @param name name or {@code null} for none - */ - public LfpProvider setName(java.lang.String name) { - this.name = name; - return this; - } - - /** - * Output only. Region code defined by [CLDR](https://cldr.unicode.org/). - * @return value or {@code null} for none - */ - public java.lang.String getRegionCode() { - return regionCode; - } - - /** - * Output only. Region code defined by [CLDR](https://cldr.unicode.org/). - * @param regionCode regionCode or {@code null} for none - */ - public LfpProvider setRegionCode(java.lang.String regionCode) { - this.regionCode = regionCode; - return this; - } - - @Override - public LfpProvider set(String fieldName, Object value) { - return (LfpProvider) super.set(fieldName, value); - } - - @Override - public LfpProvider clone() { - return (LfpProvider) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkGbpAccountRequest.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkGbpAccountRequest.java deleted file mode 100644 index 3fd2fa66d4c..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkGbpAccountRequest.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Request message for the LinkGbpAccount method. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class LinkGbpAccountRequest extends com.google.api.client.json.GenericJson { - - /** - * Required. The email address of the Business Profile account. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String gbpEmail; - - /** - * Required. The email address of the Business Profile account. - * @return value or {@code null} for none - */ - public java.lang.String getGbpEmail() { - return gbpEmail; - } - - /** - * Required. The email address of the Business Profile account. - * @param gbpEmail gbpEmail or {@code null} for none - */ - public LinkGbpAccountRequest setGbpEmail(java.lang.String gbpEmail) { - this.gbpEmail = gbpEmail; - return this; - } - - @Override - public LinkGbpAccountRequest set(String fieldName, Object value) { - return (LinkGbpAccountRequest) super.set(fieldName, value); - } - - @Override - public LinkGbpAccountRequest clone() { - return (LinkGbpAccountRequest) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkGbpAccountResponse.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkGbpAccountResponse.java deleted file mode 100644 index de3a8d44277..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkGbpAccountResponse.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Response message for the LinkGbpAccount method. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class LinkGbpAccountResponse extends com.google.api.client.json.GenericJson { - - /** - * Empty response. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private Empty response; - - /** - * Empty response. - * @return value or {@code null} for none - */ - public Empty getResponse() { - return response; - } - - /** - * Empty response. - * @param response response or {@code null} for none - */ - public LinkGbpAccountResponse setResponse(Empty response) { - this.response = response; - return this; - } - - @Override - public LinkGbpAccountResponse set(String fieldName, Object value) { - return (LinkGbpAccountResponse) super.set(fieldName, value); - } - - @Override - public LinkGbpAccountResponse clone() { - return (LinkGbpAccountResponse) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkLfpProviderRequest.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkLfpProviderRequest.java deleted file mode 100644 index 99b5b4b939d..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkLfpProviderRequest.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Request message for the LinkLfpProvider method. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class LinkLfpProviderRequest extends com.google.api.client.json.GenericJson { - - /** - * Required. The external account ID by which this merchant is known to the LFP provider. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String externalAccountId; - - /** - * Required. The id of the LFP provider to link. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String lfpProviderId; - - /** - * Required. The external account ID by which this merchant is known to the LFP provider. - * @return value or {@code null} for none - */ - public java.lang.String getExternalAccountId() { - return externalAccountId; - } - - /** - * Required. The external account ID by which this merchant is known to the LFP provider. - * @param externalAccountId externalAccountId or {@code null} for none - */ - public LinkLfpProviderRequest setExternalAccountId(java.lang.String externalAccountId) { - this.externalAccountId = externalAccountId; - return this; - } - - /** - * Required. The id of the LFP provider to link. - * @return value or {@code null} for none - */ - public java.lang.String getLfpProviderId() { - return lfpProviderId; - } - - /** - * Required. The id of the LFP provider to link. - * @param lfpProviderId lfpProviderId or {@code null} for none - */ - public LinkLfpProviderRequest setLfpProviderId(java.lang.String lfpProviderId) { - this.lfpProviderId = lfpProviderId; - return this; - } - - @Override - public LinkLfpProviderRequest set(String fieldName, Object value) { - return (LinkLfpProviderRequest) super.set(fieldName, value); - } - - @Override - public LinkLfpProviderRequest clone() { - return (LinkLfpProviderRequest) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkLfpProviderResponse.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkLfpProviderResponse.java deleted file mode 100644 index e40d7d8daf2..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/LinkLfpProviderResponse.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Response message for the LinkLfpProvider method. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class LinkLfpProviderResponse extends com.google.api.client.json.GenericJson { - - /** - * Empty response. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private Empty response; - - /** - * Empty response. - * @return value or {@code null} for none - */ - public Empty getResponse() { - return response; - } - - /** - * Empty response. - * @param response response or {@code null} for none - */ - public LinkLfpProviderResponse setResponse(Empty response) { - this.response = response; - return this; - } - - @Override - public LinkLfpProviderResponse set(String fieldName, Object value) { - return (LinkLfpProviderResponse) super.set(fieldName, value); - } - - @Override - public LinkLfpProviderResponse clone() { - return (LinkLfpProviderResponse) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/ListGbpAccountsResponse.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/ListGbpAccountsResponse.java deleted file mode 100644 index 76303cae4f5..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/ListGbpAccountsResponse.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Response message for the ListGbpAccounts method. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class ListGbpAccountsResponse extends com.google.api.client.json.GenericJson { - - /** - * The GBP accounts from the specified merchant in the specified country. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class ListLfpProvidersResponse extends com.google.api.client.json.GenericJson { - - /** - * The LFP providers from the specified merchant in the specified country. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class ListOmnichannelSettingsResponse extends com.google.api.client.json.GenericJson { - - /** - * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, - * there are no subsequent pages. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String nextPageToken; - - /** - * The omnichannel settings from the specified merchant. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class LsfType extends com.google.api.client.json.GenericJson { - - /** - * Required. The Local Store Front (LSF) type. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String lsfType; - - /** - * Output only. The state of the LSF. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String state; - - /** - * Required. The Local Store Front (LSF) type. - * @return value or {@code null} for none - */ - public java.lang.String getLsfType() { - return lsfType; - } - - /** - * Required. The Local Store Front (LSF) type. - * @param lsfType lsfType or {@code null} for none - */ - public LsfType setLsfType(java.lang.String lsfType) { - this.lsfType = lsfType; - return this; - } - - /** - * Output only. The state of the LSF. - * @return value or {@code null} for none - */ - public java.lang.String getState() { - return state; - } - - /** - * Output only. The state of the LSF. - * @param state state or {@code null} for none - */ - public LsfType setState(java.lang.String state) { - this.state = state; - return this; - } - - @Override - public LsfType set(String fieldName, Object value) { - return (LsfType) super.set(fieldName, value); - } - - @Override - public LsfType clone() { - return (LsfType) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/OmnichannelSetting.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/OmnichannelSetting.java deleted file mode 100644 index 0a5e3bf99a0..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/OmnichannelSetting.java +++ /dev/null @@ -1,264 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Collection of information related to the omnichannel settings of a merchant. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class OmnichannelSetting extends com.google.api.client.json.GenericJson { - - /** - * Optional. The about page URI and state for this country. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private About about; - - /** - * Optional. The inventory verification process state for this country. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private InventoryVerification inventoryVerification; - - /** - * Output only. The established link to a LFP provider. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private LfpLink lfpLink; - - /** - * Optional. The Local Store Front ([LSF](https://support.google.com/merchants/answer/7178526)) - * type and state for this country. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private LsfType lsfType; - - /** - * Identifier. The resource name of the omnichannel setting. Format: - * `accounts/{account}/omnichannelSettings/{omnichannel_setting}` - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String name; - - /** - * Optional. The on display to order (ODO) policy URI and state for this country. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private OnDisplayToOrder odo; - - /** - * Optional. The Pickup types asnd state for this country. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.util.ListThis is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class OnDisplayToOrder extends com.google.api.client.json.GenericJson { - - /** - * Output only. The state of the URI. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String state; - - /** - * Required. The on display to order (ODO) policy URI. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String uri; - - /** - * Output only. The state of the URI. - * @return value or {@code null} for none - */ - public java.lang.String getState() { - return state; - } - - /** - * Output only. The state of the URI. - * @param state state or {@code null} for none - */ - public OnDisplayToOrder setState(java.lang.String state) { - this.state = state; - return this; - } - - /** - * Required. The on display to order (ODO) policy URI. - * @return value or {@code null} for none - */ - public java.lang.String getUri() { - return uri; - } - - /** - * Required. The on display to order (ODO) policy URI. - * @param uri uri or {@code null} for none - */ - public OnDisplayToOrder setUri(java.lang.String uri) { - this.uri = uri; - return this; - } - - @Override - public OnDisplayToOrder set(String fieldName, Object value) { - return (OnDisplayToOrder) super.set(fieldName, value); - } - - @Override - public OnDisplayToOrder clone() { - return (OnDisplayToOrder) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/PickupType.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/PickupType.java deleted file mode 100644 index 19a50cd104d..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/PickupType.java +++ /dev/null @@ -1,90 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Collection of information related to the pickup type. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class PickupType extends com.google.api.client.json.GenericJson { - - /** - * Required. The type of the pickup. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String pickupType; - - /** - * Output only. The state of the PickupType. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private java.lang.String state; - - /** - * Required. The type of the pickup. - * @return value or {@code null} for none - */ - public java.lang.String getPickupType() { - return pickupType; - } - - /** - * Required. The type of the pickup. - * @param pickupType pickupType or {@code null} for none - */ - public PickupType setPickupType(java.lang.String pickupType) { - this.pickupType = pickupType; - return this; - } - - /** - * Output only. The state of the PickupType. - * @return value or {@code null} for none - */ - public java.lang.String getState() { - return state; - } - - /** - * Output only. The state of the PickupType. - * @param state state or {@code null} for none - */ - public PickupType setState(java.lang.String state) { - this.state = state; - return this; - } - - @Override - public PickupType set(String fieldName, Object value) { - return (PickupType) super.set(fieldName, value); - } - - @Override - public PickupType clone() { - return (PickupType) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/RequestInventoryVerificationRequest.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/RequestInventoryVerificationRequest.java deleted file mode 100644 index 9a0bb76a944..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/RequestInventoryVerificationRequest.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Request message for the RequestInventoryVerification method. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class RequestInventoryVerificationRequest extends com.google.api.client.json.GenericJson { - - @Override - public RequestInventoryVerificationRequest set(String fieldName, Object value) { - return (RequestInventoryVerificationRequest) super.set(fieldName, value); - } - - @Override - public RequestInventoryVerificationRequest clone() { - return (RequestInventoryVerificationRequest) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/RequestInventoryVerificationResponse.java b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/RequestInventoryVerificationResponse.java deleted file mode 100644 index 47e2e456d71..00000000000 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/com/google/api/services/merchantapi/accounts_v1beta/model/RequestInventoryVerificationResponse.java +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except - * in compliance with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software distributed under the License - * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express - * or implied. See the License for the specific language governing permissions and limitations under - * the License. - */ -/* - * This code was generated by https://github.com/googleapis/google-api-java-client-services/ - * Modify at your own risk. - */ - -package com.google.api.services.merchantapi.accounts_v1beta.model; - -/** - * Response message for the RequestInventoryVerification method. - * - *This is the Java data model class that specifies how to parse/serialize into the JSON that is - * transmitted over HTTP when working with the Merchant API. For a detailed explanation see: - * https://developers.google.com/api-client-library/java/google-http-java-client/json - *
- * - * @author Google, Inc. - */ -@SuppressWarnings("javadoc") -public final class RequestInventoryVerificationResponse extends com.google.api.client.json.GenericJson { - - /** - * The omnichannel setting that was updated. - * The value may be {@code null}. - */ - @com.google.api.client.util.Key - private OmnichannelSetting omnichannelSetting; - - /** - * The omnichannel setting that was updated. - * @return value or {@code null} for none - */ - public OmnichannelSetting getOmnichannelSetting() { - return omnichannelSetting; - } - - /** - * The omnichannel setting that was updated. - * @param omnichannelSetting omnichannelSetting or {@code null} for none - */ - public RequestInventoryVerificationResponse setOmnichannelSetting(OmnichannelSetting omnichannelSetting) { - this.omnichannelSetting = omnichannelSetting; - return this; - } - - @Override - public RequestInventoryVerificationResponse set(String fieldName, Object value) { - return (RequestInventoryVerificationResponse) super.set(fieldName, value); - } - - @Override - public RequestInventoryVerificationResponse clone() { - return (RequestInventoryVerificationResponse) super.clone(); - } - -} diff --git a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/pom.xml b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/pom.xml index 4e415d9a858..4e3aeda0183 100644 --- a/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/pom.xml +++ b/clients/google-api-services-merchantapi/accounts_v1beta/2.0.0/pom.xml @@ -8,8 +8,8 @@