diff --git a/clients/google-api-services-cloudsupport/v2/2.0.0/README.md b/clients/google-api-services-cloudsupport/v2/2.0.0/README.md
index 97dd03c0ef4..43b1241ef03 100644
--- a/clients/google-api-services-cloudsupport/v2/2.0.0/README.md
+++ b/clients/google-api-services-cloudsupport/v2/2.0.0/README.md
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
The typical use is:
+ *
+ * {@code CloudSupport cloudsupport = new CloudSupport(...);}
+ * {@code CloudSupport.SupportEventSubscriptions.List request = cloudsupport.supportEventSubscriptions().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public SupportEventSubscriptions supportEventSubscriptions() {
+ return new SupportEventSubscriptions();
+ }
+
+ /**
+ * The "supportEventSubscriptions" collection of methods.
+ */
+ public class SupportEventSubscriptions {
+
+ /**
+ * Creates a support event subscription for an organization.
+ *
+ * Create a request for the method "supportEventSubscriptions.create".
+ *
+ * This request holds the parameters needed by the cloudsupport server. After setting any optional
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The parent resource name where the support event subscription will be created. Format:
+ * organizations/{organization_id}
+ * @param content the {@link com.google.api.services.cloudsupport.v2.model.SupportEventSubscription}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends CloudSupportRequest{@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 name where the support event subscription will be created. Format: + * organizations/{organization_id} + * @param content the {@link com.google.api.services.cloudsupport.v2.model.SupportEventSubscription} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription content) { + super(CloudSupport.this, "POST", REST_PATH, content, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+$"); + } + } + + @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 name where the support event subscription will be created. + * Format: organizations/{organization_id} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource name where the support event subscription will be created. Format: + organizations/{organization_id} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent resource name where the support event subscription will be created. + * Format: organizations/{organization_id} + */ + 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 " + + "^[^/]+/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Soft deletes a support event subscription. + * + * Create a request for the method "supportEventSubscriptions.delete". + * + * This request holds the parameters needed by the cloudsupport server. After setting any optional + * parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the support event subscription to delete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends CloudSupportRequest{@link + * Delete#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 support event subscription to delete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(CloudSupport.this, "DELETE", REST_PATH, null, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the support event subscription to delete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the support event subscription to delete. Format: + organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the support event subscription to delete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public Delete 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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets a support event subscription. + * + * Create a request for the method "supportEventSubscriptions.get". + * + * This request holds the parameters needed by the cloudsupport server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the support event subscription to retrieve. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @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 CloudSupportRequest+ * {@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 support event subscription to retrieve. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(CloudSupport.this, "GET", REST_PATH, null, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + } + + @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 support event subscription to retrieve. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the support event subscription to retrieve. Format: + organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the support event subscription to retrieve. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + 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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists support event subscriptions. + * + * Create a request for the method "supportEventSubscriptions.list". + * + * This request holds the parameters needed by the cloudsupport server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The fully qualified name of the Cloud resource to list support event subscriptions under. + * Format: organizations/{organization_id} + * @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 CloudSupportRequest+ * {@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 fully qualified name of the Cloud resource to list support event subscriptions under. + * Format: organizations/{organization_id} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(CloudSupport.this, "GET", REST_PATH, null, com.google.api.services.cloudsupport.v2.model.ListSupportEventSubscriptionsResponse.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 " + + "^[^/]+/[^/]+$"); + } + } + + @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 fully qualified name of the Cloud resource to list support event + * subscriptions under. Format: organizations/{organization_id} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The fully qualified name of the Cloud resource to list support event subscriptions under. + Format: organizations/{organization_id} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The fully qualified name of the Cloud resource to list support event + * subscriptions under. Format: organizations/{organization_id} + */ + 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 " + + "^[^/]+/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Filter expression based on AIP-160. Supported fields: - pub_sub_topic - state + * Examples: - `pub_sub_topic="projects/example-project/topics/example-topic"` - + * `state=WORKING` - `pub_sub_topic="projects/example-project/topics/example-topic" AND + * state=WORKING` + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filter expression based on AIP-160. Supported fields: - pub_sub_topic - state Examples: - + `pub_sub_topic="projects/example-project/topics/example-topic"` - `state=WORKING` - + `pub_sub_topic="projects/example-project/topics/example-topic" AND state=WORKING` + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. Filter expression based on AIP-160. Supported fields: - pub_sub_topic - state + * Examples: - `pub_sub_topic="projects/example-project/topics/example-topic"` - + * `state=WORKING` - `pub_sub_topic="projects/example-project/topics/example-topic" AND + * state=WORKING` + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Optional. The maximum number of support event subscriptions to return. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of support event subscriptions to return. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** Optional. The maximum number of support event subscriptions to return. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A token identifying the page of results to return. If unspecified, the first page + * is retrieved. When paginating, all other parameters provided to + * `ListSupportEventSubscriptions` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying the page of results to return. If unspecified, the first page is + retrieved. When paginating, all other parameters provided to `ListSupportEventSubscriptions` must + match the call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A token identifying the page of results to return. If unspecified, the first page + * is retrieved. When paginating, all other parameters provided to + * `ListSupportEventSubscriptions` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not + * returned. + */ + @com.google.api.client.util.Key + private java.lang.Boolean showDeleted; + + /** Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not + returned. + */ + public java.lang.Boolean getShowDeleted() { + return showDeleted; + } + + /** + * Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not + * returned. + */ + public List setShowDeleted(java.lang.Boolean showDeleted) { + this.showDeleted = showDeleted; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Updates a support event subscription. + * + * Create a request for the method "supportEventSubscriptions.patch". + * + * This request holds the parameters needed by the cloudsupport 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 support event subscription. + * @param content the {@link com.google.api.services.cloudsupport.v2.model.SupportEventSubscription} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends CloudSupportRequest{@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 support event subscription. + * @param content the {@link com.google.api.services.cloudsupport.v2.model.SupportEventSubscription} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription content) { + super(CloudSupport.this, "PATCH", REST_PATH, content, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + } + + @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 support event subscription. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The resource name of the support event subscription. + */ + public java.lang.String getName() { + return name; + } + + /** Identifier. The resource name of the support event subscription. */ + 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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + this.name = name; + return this; + } + + /** Optional. The list of fields to update. The only supported value is pub_sub_topic. */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. The list of fields to update. The only supported value is pub_sub_topic. + */ + public String getUpdateMask() { + return updateMask; + } + + /** Optional. The list of fields to update. The only supported value is pub_sub_topic. */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + /** + * Undeletes a support event subscription. + * + * Create a request for the method "supportEventSubscriptions.undelete". + * + * This request holds the parameters needed by the cloudsupport server. After setting any optional + * parameters, call the {@link Undelete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the support event subscription to undelete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @param content the {@link com.google.api.services.cloudsupport.v2.model.UndeleteSupportEventSubscriptionRequest} + * @return the request + */ + public Undelete undelete(java.lang.String name, com.google.api.services.cloudsupport.v2.model.UndeleteSupportEventSubscriptionRequest content) throws java.io.IOException { + Undelete result = new Undelete(name, content); + initialize(result); + return result; + } + + public class Undelete extends CloudSupportRequest{@link + * Undelete#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 support event subscription to undelete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @param content the {@link com.google.api.services.cloudsupport.v2.model.UndeleteSupportEventSubscriptionRequest} + * @since 1.13 + */ + protected Undelete(java.lang.String name, com.google.api.services.cloudsupport.v2.model.UndeleteSupportEventSubscriptionRequest content) { + super(CloudSupport.this, "POST", REST_PATH, content, com.google.api.services.cloudsupport.v2.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + } + + @Override + public Undelete set$Xgafv(java.lang.String $Xgafv) { + return (Undelete) super.set$Xgafv($Xgafv); + } + + @Override + public Undelete setAccessToken(java.lang.String accessToken) { + return (Undelete) super.setAccessToken(accessToken); + } + + @Override + public Undelete setAlt(java.lang.String alt) { + return (Undelete) super.setAlt(alt); + } + + @Override + public Undelete setCallback(java.lang.String callback) { + return (Undelete) super.setCallback(callback); + } + + @Override + public Undelete setFields(java.lang.String fields) { + return (Undelete) super.setFields(fields); + } + + @Override + public Undelete setKey(java.lang.String key) { + return (Undelete) super.setKey(key); + } + + @Override + public Undelete setOauthToken(java.lang.String oauthToken) { + return (Undelete) super.setOauthToken(oauthToken); + } + + @Override + public Undelete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Undelete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Undelete setQuotaUser(java.lang.String quotaUser) { + return (Undelete) super.setQuotaUser(quotaUser); + } + + @Override + public Undelete setUploadType(java.lang.String uploadType) { + return (Undelete) super.setUploadType(uploadType); + } + + @Override + public Undelete setUploadProtocol(java.lang.String uploadProtocol) { + return (Undelete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the support event subscription to undelete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the support event subscription to undelete. Format: + organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the support event subscription to undelete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public Undelete 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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Undelete set(String parameterName, Object value) { + return (Undelete) super.set(parameterName, value); + } + } + + } + /** * Builder for {@link CloudSupport}. * diff --git a/clients/google-api-services-cloudsupport/v2/2.0.0/com/google/api/services/cloudsupport/v2/model/ListSupportEventSubscriptionsResponse.java b/clients/google-api-services-cloudsupport/v2/2.0.0/com/google/api/services/cloudsupport/v2/model/ListSupportEventSubscriptionsResponse.java new file mode 100644 index 00000000000..42e3c79486c --- /dev/null +++ b/clients/google-api-services-cloudsupport/v2/2.0.0/com/google/api/services/cloudsupport/v2/model/ListSupportEventSubscriptionsResponse.java @@ -0,0 +1,94 @@ +/* + * 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.cloudsupport.v2.model; + +/** + * Response message for ListSupportEventSubscriptions. + * + *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 Google Cloud Support 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 ListSupportEventSubscriptionsResponse 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 support event subscriptions. + * 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 Google Cloud Support 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 SupportEventSubscription extends com.google.api.client.json.GenericJson { + + /** + * Output only. The time at which the subscription was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. The time at which the subscription was deleted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String deleteTime; + + /** + * Output only. Reason why subscription is failing. State of subscription must be FAILING in order + * for this to have a value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * Identifier. The resource name of the support event subscription. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. The name of the Pub/Sub topic to publish notifications to. Format: + * projects/{project}/topics/{topic} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pubSubTopic; + + /** + * Output only. The time at which the subscription will be purged. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String purgeTime; + + /** + * Output only. The state of the subscription. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The time at which the subscription was last updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. The time at which the subscription was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The time at which the subscription was created. + * @param createTime createTime or {@code null} for none + */ + public SupportEventSubscription setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. The time at which the subscription was deleted. + * @return value or {@code null} for none + */ + public String getDeleteTime() { + return deleteTime; + } + + /** + * Output only. The time at which the subscription was deleted. + * @param deleteTime deleteTime or {@code null} for none + */ + public SupportEventSubscription setDeleteTime(String deleteTime) { + this.deleteTime = deleteTime; + return this; + } + + /** + * Output only. Reason why subscription is failing. State of subscription must be FAILING in order + * for this to have a value. + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * Output only. Reason why subscription is failing. State of subscription must be FAILING in order + * for this to have a value. + * @param failureReason failureReason or {@code null} for none + */ + public SupportEventSubscription setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * Identifier. The resource name of the support event subscription. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The resource name of the support event subscription. + * @param name name or {@code null} for none + */ + public SupportEventSubscription setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. The name of the Pub/Sub topic to publish notifications to. Format: + * projects/{project}/topics/{topic} + * @return value or {@code null} for none + */ + public java.lang.String getPubSubTopic() { + return pubSubTopic; + } + + /** + * Required. The name of the Pub/Sub topic to publish notifications to. Format: + * projects/{project}/topics/{topic} + * @param pubSubTopic pubSubTopic or {@code null} for none + */ + public SupportEventSubscription setPubSubTopic(java.lang.String pubSubTopic) { + this.pubSubTopic = pubSubTopic; + return this; + } + + /** + * Output only. The time at which the subscription will be purged. + * @return value or {@code null} for none + */ + public String getPurgeTime() { + return purgeTime; + } + + /** + * Output only. The time at which the subscription will be purged. + * @param purgeTime purgeTime or {@code null} for none + */ + public SupportEventSubscription setPurgeTime(String purgeTime) { + this.purgeTime = purgeTime; + return this; + } + + /** + * Output only. The state of the subscription. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The state of the subscription. + * @param state state or {@code null} for none + */ + public SupportEventSubscription setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Output only. The time at which the subscription was last updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The time at which the subscription was last updated. + * @param updateTime updateTime or {@code null} for none + */ + public SupportEventSubscription setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public SupportEventSubscription set(String fieldName, Object value) { + return (SupportEventSubscription) super.set(fieldName, value); + } + + @Override + public SupportEventSubscription clone() { + return (SupportEventSubscription) super.clone(); + } + +} diff --git a/clients/google-api-services-cloudsupport/v2/2.0.0/com/google/api/services/cloudsupport/v2/model/UndeleteSupportEventSubscriptionRequest.java b/clients/google-api-services-cloudsupport/v2/2.0.0/com/google/api/services/cloudsupport/v2/model/UndeleteSupportEventSubscriptionRequest.java new file mode 100644 index 00000000000..c63cadfd39e --- /dev/null +++ b/clients/google-api-services-cloudsupport/v2/2.0.0/com/google/api/services/cloudsupport/v2/model/UndeleteSupportEventSubscriptionRequest.java @@ -0,0 +1,43 @@ +/* + * 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.cloudsupport.v2.model; + +/** + * Request message for UndeleteSupportEventSubscription. + * + *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 Google Cloud Support 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 UndeleteSupportEventSubscriptionRequest extends com.google.api.client.json.GenericJson { + + @Override + public UndeleteSupportEventSubscriptionRequest set(String fieldName, Object value) { + return (UndeleteSupportEventSubscriptionRequest) super.set(fieldName, value); + } + + @Override + public UndeleteSupportEventSubscriptionRequest clone() { + return (UndeleteSupportEventSubscriptionRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-cloudsupport/v2/2.0.0/pom.xml b/clients/google-api-services-cloudsupport/v2/2.0.0/pom.xml index 57323c22bbc..2d7caf48919 100644 --- a/clients/google-api-services-cloudsupport/v2/2.0.0/pom.xml +++ b/clients/google-api-services-cloudsupport/v2/2.0.0/pom.xml @@ -8,8 +8,8 @@The typical use is:
+ *
+ * {@code CloudSupport cloudsupport = new CloudSupport(...);}
+ * {@code CloudSupport.SupportEventSubscriptions.List request = cloudsupport.supportEventSubscriptions().list(parameters ...)}
+ *
+ *
+ * @return the resource collection
+ */
+ public SupportEventSubscriptions supportEventSubscriptions() {
+ return new SupportEventSubscriptions();
+ }
+
+ /**
+ * The "supportEventSubscriptions" collection of methods.
+ */
+ public class SupportEventSubscriptions {
+
+ /**
+ * Creates a support event subscription for an organization.
+ *
+ * Create a request for the method "supportEventSubscriptions.create".
+ *
+ * This request holds the parameters needed by the cloudsupport server. After setting any optional
+ * parameters, call the {@link Create#execute()} method to invoke the remote operation.
+ *
+ * @param parent Required. The parent resource name where the support event subscription will be created. Format:
+ * organizations/{organization_id}
+ * @param content the {@link com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription}
+ * @return the request
+ */
+ public Create create(java.lang.String parent, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription content) throws java.io.IOException {
+ Create result = new Create(parent, content);
+ initialize(result);
+ return result;
+ }
+
+ public class Create extends CloudSupportRequest{@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 name where the support event subscription will be created. Format: + * organizations/{organization_id} + * @param content the {@link com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription} + * @since 1.13 + */ + protected Create(java.lang.String parent, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription content) { + super(CloudSupport.this, "POST", REST_PATH, content, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+$"); + } + } + + @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 name where the support event subscription will be created. + * Format: organizations/{organization_id} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The parent resource name where the support event subscription will be created. Format: + organizations/{organization_id} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The parent resource name where the support event subscription will be created. + * Format: organizations/{organization_id} + */ + 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 " + + "^[^/]+/[^/]+$"); + } + this.parent = parent; + return this; + } + + @Override + public Create set(String parameterName, Object value) { + return (Create) super.set(parameterName, value); + } + } + /** + * Soft deletes a support event subscription. + * + * Create a request for the method "supportEventSubscriptions.delete". + * + * This request holds the parameters needed by the cloudsupport server. After setting any optional + * parameters, call the {@link Delete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the support event subscription to delete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @return the request + */ + public Delete delete(java.lang.String name) throws java.io.IOException { + Delete result = new Delete(name); + initialize(result); + return result; + } + + public class Delete extends CloudSupportRequest{@link + * Delete#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 support event subscription to delete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @since 1.13 + */ + protected Delete(java.lang.String name) { + super(CloudSupport.this, "DELETE", REST_PATH, null, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + } + + @Override + public Delete set$Xgafv(java.lang.String $Xgafv) { + return (Delete) super.set$Xgafv($Xgafv); + } + + @Override + public Delete setAccessToken(java.lang.String accessToken) { + return (Delete) super.setAccessToken(accessToken); + } + + @Override + public Delete setAlt(java.lang.String alt) { + return (Delete) super.setAlt(alt); + } + + @Override + public Delete setCallback(java.lang.String callback) { + return (Delete) super.setCallback(callback); + } + + @Override + public Delete setFields(java.lang.String fields) { + return (Delete) super.setFields(fields); + } + + @Override + public Delete setKey(java.lang.String key) { + return (Delete) super.setKey(key); + } + + @Override + public Delete setOauthToken(java.lang.String oauthToken) { + return (Delete) super.setOauthToken(oauthToken); + } + + @Override + public Delete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Delete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Delete setQuotaUser(java.lang.String quotaUser) { + return (Delete) super.setQuotaUser(quotaUser); + } + + @Override + public Delete setUploadType(java.lang.String uploadType) { + return (Delete) super.setUploadType(uploadType); + } + + @Override + public Delete setUploadProtocol(java.lang.String uploadProtocol) { + return (Delete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the support event subscription to delete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the support event subscription to delete. Format: + organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the support event subscription to delete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public Delete 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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Delete set(String parameterName, Object value) { + return (Delete) super.set(parameterName, value); + } + } + /** + * Gets a support event subscription. + * + * Create a request for the method "supportEventSubscriptions.get". + * + * This request holds the parameters needed by the cloudsupport server. After setting any optional + * parameters, call the {@link Get#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the support event subscription to retrieve. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @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 CloudSupportRequest+ * {@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 support event subscription to retrieve. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @since 1.13 + */ + protected Get(java.lang.String name) { + super(CloudSupport.this, "GET", REST_PATH, null, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + } + + @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 support event subscription to retrieve. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the support event subscription to retrieve. Format: + organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the support event subscription to retrieve. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + 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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Get set(String parameterName, Object value) { + return (Get) super.set(parameterName, value); + } + } + /** + * Lists support event subscriptions. + * + * Create a request for the method "supportEventSubscriptions.list". + * + * This request holds the parameters needed by the cloudsupport server. After setting any optional + * parameters, call the {@link List#execute()} method to invoke the remote operation. + * + * @param parent Required. The fully qualified name of the Cloud resource to list support event subscriptions under. + * Format: organizations/{organization_id} + * @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 CloudSupportRequest+ * {@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 fully qualified name of the Cloud resource to list support event subscriptions under. + * Format: organizations/{organization_id} + * @since 1.13 + */ + protected List(java.lang.String parent) { + super(CloudSupport.this, "GET", REST_PATH, null, com.google.api.services.cloudsupport.v2beta.model.ListSupportEventSubscriptionsResponse.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 " + + "^[^/]+/[^/]+$"); + } + } + + @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 fully qualified name of the Cloud resource to list support event + * subscriptions under. Format: organizations/{organization_id} + */ + @com.google.api.client.util.Key + private java.lang.String parent; + + /** Required. The fully qualified name of the Cloud resource to list support event subscriptions under. + Format: organizations/{organization_id} + */ + public java.lang.String getParent() { + return parent; + } + + /** + * Required. The fully qualified name of the Cloud resource to list support event + * subscriptions under. Format: organizations/{organization_id} + */ + 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 " + + "^[^/]+/[^/]+$"); + } + this.parent = parent; + return this; + } + + /** + * Optional. Filter expression based on AIP-160. Supported fields: - pub_sub_topic - state + * Examples: - `pub_sub_topic="projects/example-project/topics/example-topic"` - + * `state=WORKING` - `pub_sub_topic="projects/example-project/topics/example-topic" AND + * state=WORKING` + */ + @com.google.api.client.util.Key + private java.lang.String filter; + + /** Optional. Filter expression based on AIP-160. Supported fields: - pub_sub_topic - state Examples: - + `pub_sub_topic="projects/example-project/topics/example-topic"` - `state=WORKING` - + `pub_sub_topic="projects/example-project/topics/example-topic" AND state=WORKING` + */ + public java.lang.String getFilter() { + return filter; + } + + /** + * Optional. Filter expression based on AIP-160. Supported fields: - pub_sub_topic - state + * Examples: - `pub_sub_topic="projects/example-project/topics/example-topic"` - + * `state=WORKING` - `pub_sub_topic="projects/example-project/topics/example-topic" AND + * state=WORKING` + */ + public List setFilter(java.lang.String filter) { + this.filter = filter; + return this; + } + + /** Optional. The maximum number of support event subscriptions to return. */ + @com.google.api.client.util.Key + private java.lang.Integer pageSize; + + /** Optional. The maximum number of support event subscriptions to return. + */ + public java.lang.Integer getPageSize() { + return pageSize; + } + + /** Optional. The maximum number of support event subscriptions to return. */ + public List setPageSize(java.lang.Integer pageSize) { + this.pageSize = pageSize; + return this; + } + + /** + * Optional. A token identifying the page of results to return. If unspecified, the first page + * is retrieved. When paginating, all other parameters provided to + * `ListSupportEventSubscriptions` must match the call that provided the page token. + */ + @com.google.api.client.util.Key + private java.lang.String pageToken; + + /** Optional. A token identifying the page of results to return. If unspecified, the first page is + retrieved. When paginating, all other parameters provided to `ListSupportEventSubscriptions` must + match the call that provided the page token. + */ + public java.lang.String getPageToken() { + return pageToken; + } + + /** + * Optional. A token identifying the page of results to return. If unspecified, the first page + * is retrieved. When paginating, all other parameters provided to + * `ListSupportEventSubscriptions` must match the call that provided the page token. + */ + public List setPageToken(java.lang.String pageToken) { + this.pageToken = pageToken; + return this; + } + + /** + * Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not + * returned. + */ + @com.google.api.client.util.Key + private java.lang.Boolean showDeleted; + + /** Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not + returned. + */ + public java.lang.Boolean getShowDeleted() { + return showDeleted; + } + + /** + * Optional. Whether to show deleted subscriptions. By default, deleted subscriptions are not + * returned. + */ + public List setShowDeleted(java.lang.Boolean showDeleted) { + this.showDeleted = showDeleted; + return this; + } + + @Override + public List set(String parameterName, Object value) { + return (List) super.set(parameterName, value); + } + } + /** + * Updates a support event subscription. + * + * Create a request for the method "supportEventSubscriptions.patch". + * + * This request holds the parameters needed by the cloudsupport 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 support event subscription. + * @param content the {@link com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription} + * @return the request + */ + public Patch patch(java.lang.String name, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription content) throws java.io.IOException { + Patch result = new Patch(name, content); + initialize(result); + return result; + } + + public class Patch extends CloudSupportRequest{@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 support event subscription. + * @param content the {@link com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription} + * @since 1.13 + */ + protected Patch(java.lang.String name, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription content) { + super(CloudSupport.this, "PATCH", REST_PATH, content, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + } + + @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 support event subscription. */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Identifier. The resource name of the support event subscription. + */ + public java.lang.String getName() { + return name; + } + + /** Identifier. The resource name of the support event subscription. */ + 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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + this.name = name; + return this; + } + + /** Optional. The list of fields to update. The only supported value is pub_sub_topic. */ + @com.google.api.client.util.Key + private String updateMask; + + /** Optional. The list of fields to update. The only supported value is pub_sub_topic. + */ + public String getUpdateMask() { + return updateMask; + } + + /** Optional. The list of fields to update. The only supported value is pub_sub_topic. */ + public Patch setUpdateMask(String updateMask) { + this.updateMask = updateMask; + return this; + } + + @Override + public Patch set(String parameterName, Object value) { + return (Patch) super.set(parameterName, value); + } + } + /** + * Undeletes a support event subscription. + * + * Create a request for the method "supportEventSubscriptions.undelete". + * + * This request holds the parameters needed by the cloudsupport server. After setting any optional + * parameters, call the {@link Undelete#execute()} method to invoke the remote operation. + * + * @param name Required. The name of the support event subscription to undelete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @param content the {@link com.google.api.services.cloudsupport.v2beta.model.UndeleteSupportEventSubscriptionRequest} + * @return the request + */ + public Undelete undelete(java.lang.String name, com.google.api.services.cloudsupport.v2beta.model.UndeleteSupportEventSubscriptionRequest content) throws java.io.IOException { + Undelete result = new Undelete(name, content); + initialize(result); + return result; + } + + public class Undelete extends CloudSupportRequest{@link + * Undelete#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 support event subscription to undelete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + * @param content the {@link com.google.api.services.cloudsupport.v2beta.model.UndeleteSupportEventSubscriptionRequest} + * @since 1.13 + */ + protected Undelete(java.lang.String name, com.google.api.services.cloudsupport.v2beta.model.UndeleteSupportEventSubscriptionRequest content) { + super(CloudSupport.this, "POST", REST_PATH, content, com.google.api.services.cloudsupport.v2beta.model.SupportEventSubscription.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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + } + + @Override + public Undelete set$Xgafv(java.lang.String $Xgafv) { + return (Undelete) super.set$Xgafv($Xgafv); + } + + @Override + public Undelete setAccessToken(java.lang.String accessToken) { + return (Undelete) super.setAccessToken(accessToken); + } + + @Override + public Undelete setAlt(java.lang.String alt) { + return (Undelete) super.setAlt(alt); + } + + @Override + public Undelete setCallback(java.lang.String callback) { + return (Undelete) super.setCallback(callback); + } + + @Override + public Undelete setFields(java.lang.String fields) { + return (Undelete) super.setFields(fields); + } + + @Override + public Undelete setKey(java.lang.String key) { + return (Undelete) super.setKey(key); + } + + @Override + public Undelete setOauthToken(java.lang.String oauthToken) { + return (Undelete) super.setOauthToken(oauthToken); + } + + @Override + public Undelete setPrettyPrint(java.lang.Boolean prettyPrint) { + return (Undelete) super.setPrettyPrint(prettyPrint); + } + + @Override + public Undelete setQuotaUser(java.lang.String quotaUser) { + return (Undelete) super.setQuotaUser(quotaUser); + } + + @Override + public Undelete setUploadType(java.lang.String uploadType) { + return (Undelete) super.setUploadType(uploadType); + } + + @Override + public Undelete setUploadProtocol(java.lang.String uploadProtocol) { + return (Undelete) super.setUploadProtocol(uploadProtocol); + } + + /** + * Required. The name of the support event subscription to undelete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** Required. The name of the support event subscription to undelete. Format: + organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public java.lang.String getName() { + return name; + } + + /** + * Required. The name of the support event subscription to undelete. Format: + * organizations/{organization_id}/supportEventSubscriptions/{subscription_id} + */ + public Undelete 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 " + + "^[^/]+/[^/]+/supportEventSubscriptions/[^/]+$"); + } + this.name = name; + return this; + } + + @Override + public Undelete set(String parameterName, Object value) { + return (Undelete) super.set(parameterName, value); + } + } + + } + /** * Builder for {@link CloudSupport}. * diff --git a/clients/google-api-services-cloudsupport/v2beta/2.0.0/com/google/api/services/cloudsupport/v2beta/model/ListSupportEventSubscriptionsResponse.java b/clients/google-api-services-cloudsupport/v2beta/2.0.0/com/google/api/services/cloudsupport/v2beta/model/ListSupportEventSubscriptionsResponse.java new file mode 100644 index 00000000000..c384cbfea61 --- /dev/null +++ b/clients/google-api-services-cloudsupport/v2beta/2.0.0/com/google/api/services/cloudsupport/v2beta/model/ListSupportEventSubscriptionsResponse.java @@ -0,0 +1,94 @@ +/* + * 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.cloudsupport.v2beta.model; + +/** + * Response message for ListSupportEventSubscriptions. + * + *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 Google Cloud Support 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 ListSupportEventSubscriptionsResponse 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 support event subscriptions. + * 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 Google Cloud Support 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 SupportEventSubscription extends com.google.api.client.json.GenericJson { + + /** + * Output only. The time at which the subscription was created. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String createTime; + + /** + * Output only. The time at which the subscription was deleted. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String deleteTime; + + /** + * Output only. Reason why subscription is failing. State of subscription must be FAILING in order + * for this to have a value. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String failureReason; + + /** + * Identifier. The resource name of the support event subscription. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String name; + + /** + * Required. The name of the Pub/Sub topic to publish notifications to. Format: + * projects/{project}/topics/{topic} + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String pubSubTopic; + + /** + * Output only. The time at which the subscription will be purged. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String purgeTime; + + /** + * Output only. The state of the subscription. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private java.lang.String state; + + /** + * Output only. The time at which the subscription was last updated. + * The value may be {@code null}. + */ + @com.google.api.client.util.Key + private String updateTime; + + /** + * Output only. The time at which the subscription was created. + * @return value or {@code null} for none + */ + public String getCreateTime() { + return createTime; + } + + /** + * Output only. The time at which the subscription was created. + * @param createTime createTime or {@code null} for none + */ + public SupportEventSubscription setCreateTime(String createTime) { + this.createTime = createTime; + return this; + } + + /** + * Output only. The time at which the subscription was deleted. + * @return value or {@code null} for none + */ + public String getDeleteTime() { + return deleteTime; + } + + /** + * Output only. The time at which the subscription was deleted. + * @param deleteTime deleteTime or {@code null} for none + */ + public SupportEventSubscription setDeleteTime(String deleteTime) { + this.deleteTime = deleteTime; + return this; + } + + /** + * Output only. Reason why subscription is failing. State of subscription must be FAILING in order + * for this to have a value. + * @return value or {@code null} for none + */ + public java.lang.String getFailureReason() { + return failureReason; + } + + /** + * Output only. Reason why subscription is failing. State of subscription must be FAILING in order + * for this to have a value. + * @param failureReason failureReason or {@code null} for none + */ + public SupportEventSubscription setFailureReason(java.lang.String failureReason) { + this.failureReason = failureReason; + return this; + } + + /** + * Identifier. The resource name of the support event subscription. + * @return value or {@code null} for none + */ + public java.lang.String getName() { + return name; + } + + /** + * Identifier. The resource name of the support event subscription. + * @param name name or {@code null} for none + */ + public SupportEventSubscription setName(java.lang.String name) { + this.name = name; + return this; + } + + /** + * Required. The name of the Pub/Sub topic to publish notifications to. Format: + * projects/{project}/topics/{topic} + * @return value or {@code null} for none + */ + public java.lang.String getPubSubTopic() { + return pubSubTopic; + } + + /** + * Required. The name of the Pub/Sub topic to publish notifications to. Format: + * projects/{project}/topics/{topic} + * @param pubSubTopic pubSubTopic or {@code null} for none + */ + public SupportEventSubscription setPubSubTopic(java.lang.String pubSubTopic) { + this.pubSubTopic = pubSubTopic; + return this; + } + + /** + * Output only. The time at which the subscription will be purged. + * @return value or {@code null} for none + */ + public String getPurgeTime() { + return purgeTime; + } + + /** + * Output only. The time at which the subscription will be purged. + * @param purgeTime purgeTime or {@code null} for none + */ + public SupportEventSubscription setPurgeTime(String purgeTime) { + this.purgeTime = purgeTime; + return this; + } + + /** + * Output only. The state of the subscription. + * @return value or {@code null} for none + */ + public java.lang.String getState() { + return state; + } + + /** + * Output only. The state of the subscription. + * @param state state or {@code null} for none + */ + public SupportEventSubscription setState(java.lang.String state) { + this.state = state; + return this; + } + + /** + * Output only. The time at which the subscription was last updated. + * @return value or {@code null} for none + */ + public String getUpdateTime() { + return updateTime; + } + + /** + * Output only. The time at which the subscription was last updated. + * @param updateTime updateTime or {@code null} for none + */ + public SupportEventSubscription setUpdateTime(String updateTime) { + this.updateTime = updateTime; + return this; + } + + @Override + public SupportEventSubscription set(String fieldName, Object value) { + return (SupportEventSubscription) super.set(fieldName, value); + } + + @Override + public SupportEventSubscription clone() { + return (SupportEventSubscription) super.clone(); + } + +} diff --git a/clients/google-api-services-cloudsupport/v2beta/2.0.0/com/google/api/services/cloudsupport/v2beta/model/UndeleteSupportEventSubscriptionRequest.java b/clients/google-api-services-cloudsupport/v2beta/2.0.0/com/google/api/services/cloudsupport/v2beta/model/UndeleteSupportEventSubscriptionRequest.java new file mode 100644 index 00000000000..6f5a5a62f42 --- /dev/null +++ b/clients/google-api-services-cloudsupport/v2beta/2.0.0/com/google/api/services/cloudsupport/v2beta/model/UndeleteSupportEventSubscriptionRequest.java @@ -0,0 +1,43 @@ +/* + * 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.cloudsupport.v2beta.model; + +/** + * Request message for UndeleteSupportEventSubscription. + * + *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 Google Cloud Support 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 UndeleteSupportEventSubscriptionRequest extends com.google.api.client.json.GenericJson { + + @Override + public UndeleteSupportEventSubscriptionRequest set(String fieldName, Object value) { + return (UndeleteSupportEventSubscriptionRequest) super.set(fieldName, value); + } + + @Override + public UndeleteSupportEventSubscriptionRequest clone() { + return (UndeleteSupportEventSubscriptionRequest) super.clone(); + } + +} diff --git a/clients/google-api-services-cloudsupport/v2beta/2.0.0/pom.xml b/clients/google-api-services-cloudsupport/v2beta/2.0.0/pom.xml index 76432facf5c..722076afe8e 100644 --- a/clients/google-api-services-cloudsupport/v2beta/2.0.0/pom.xml +++ b/clients/google-api-services-cloudsupport/v2beta/2.0.0/pom.xml @@ -8,8 +8,8 @@