|
| 1 | +/* |
| 2 | + * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except |
| 3 | + * in compliance with the License. You may obtain a copy of the License at |
| 4 | + * |
| 5 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 6 | + * |
| 7 | + * Unless required by applicable law or agreed to in writing, software distributed under the License |
| 8 | + * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express |
| 9 | + * or implied. See the License for the specific language governing permissions and limitations under |
| 10 | + * the License. |
| 11 | + */ |
| 12 | +/* |
| 13 | + * This code was generated by https://github.com/googleapis/google-api-java-client-services/ |
| 14 | + * Modify at your own risk. |
| 15 | + */ |
| 16 | + |
| 17 | +package com.google.api.services.analyticsadmin.v1alpha.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Request message for SubmitUserDeletion RPC. |
| 21 | + * |
| 22 | + * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
| 23 | + * transmitted over HTTP when working with the Google Analytics Admin API. For a detailed |
| 24 | + * explanation see: |
| 25 | + * <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a> |
| 26 | + * </p> |
| 27 | + * |
| 28 | + * @author Google, Inc. |
| 29 | + */ |
| 30 | +@SuppressWarnings("javadoc") |
| 31 | +public final class GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest extends com.google.api.client.json.GenericJson { |
| 32 | + |
| 33 | + /** |
| 34 | + * Firebase [application instance ID](https://firebase.google.com/docs/reference/android/com/googl |
| 35 | + * e/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). |
| 36 | + * The value may be {@code null}. |
| 37 | + */ |
| 38 | + @com.google.api.client.util.Key |
| 39 | + private java.lang.String appInstanceId; |
| 40 | + |
| 41 | + /** |
| 42 | + * Google Analytics [client ID](https://support.google.com/analytics/answer/11593727). |
| 43 | + * The value may be {@code null}. |
| 44 | + */ |
| 45 | + @com.google.api.client.util.Key |
| 46 | + private java.lang.String clientId; |
| 47 | + |
| 48 | + /** |
| 49 | + * Google Analytics [user ID](https://firebase.google.com/docs/analytics/userid). |
| 50 | + * The value may be {@code null}. |
| 51 | + */ |
| 52 | + @com.google.api.client.util.Key |
| 53 | + private java.lang.String userId; |
| 54 | + |
| 55 | + /** |
| 56 | + * [User-provided data](https://support.google.com/analytics/answer/14077171). May contain either |
| 57 | + * one email address or one phone number. Email addresses should be normalized as such: * |
| 58 | + * lowercase * remove periods before @ for gmail.com/googlemail.com addresses * remove all spaces |
| 59 | + * Phone numbers should be normalized as such: * remove all non digit characters * add + prefix |
| 60 | + * The value may be {@code null}. |
| 61 | + */ |
| 62 | + @com.google.api.client.util.Key |
| 63 | + private java.lang.String userProvidedData; |
| 64 | + |
| 65 | + /** |
| 66 | + * Firebase [application instance ID](https://firebase.google.com/docs/reference/android/com/googl |
| 67 | + * e/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). |
| 68 | + * @return value or {@code null} for none |
| 69 | + */ |
| 70 | + public java.lang.String getAppInstanceId() { |
| 71 | + return appInstanceId; |
| 72 | + } |
| 73 | + |
| 74 | + /** |
| 75 | + * Firebase [application instance ID](https://firebase.google.com/docs/reference/android/com/googl |
| 76 | + * e/firebase/analytics/FirebaseAnalytics.html#getAppInstanceId). |
| 77 | + * @param appInstanceId appInstanceId or {@code null} for none |
| 78 | + */ |
| 79 | + public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest setAppInstanceId(java.lang.String appInstanceId) { |
| 80 | + this.appInstanceId = appInstanceId; |
| 81 | + return this; |
| 82 | + } |
| 83 | + |
| 84 | + /** |
| 85 | + * Google Analytics [client ID](https://support.google.com/analytics/answer/11593727). |
| 86 | + * @return value or {@code null} for none |
| 87 | + */ |
| 88 | + public java.lang.String getClientId() { |
| 89 | + return clientId; |
| 90 | + } |
| 91 | + |
| 92 | + /** |
| 93 | + * Google Analytics [client ID](https://support.google.com/analytics/answer/11593727). |
| 94 | + * @param clientId clientId or {@code null} for none |
| 95 | + */ |
| 96 | + public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest setClientId(java.lang.String clientId) { |
| 97 | + this.clientId = clientId; |
| 98 | + return this; |
| 99 | + } |
| 100 | + |
| 101 | + /** |
| 102 | + * Google Analytics [user ID](https://firebase.google.com/docs/analytics/userid). |
| 103 | + * @return value or {@code null} for none |
| 104 | + */ |
| 105 | + public java.lang.String getUserId() { |
| 106 | + return userId; |
| 107 | + } |
| 108 | + |
| 109 | + /** |
| 110 | + * Google Analytics [user ID](https://firebase.google.com/docs/analytics/userid). |
| 111 | + * @param userId userId or {@code null} for none |
| 112 | + */ |
| 113 | + public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest setUserId(java.lang.String userId) { |
| 114 | + this.userId = userId; |
| 115 | + return this; |
| 116 | + } |
| 117 | + |
| 118 | + /** |
| 119 | + * [User-provided data](https://support.google.com/analytics/answer/14077171). May contain either |
| 120 | + * one email address or one phone number. Email addresses should be normalized as such: * |
| 121 | + * lowercase * remove periods before @ for gmail.com/googlemail.com addresses * remove all spaces |
| 122 | + * Phone numbers should be normalized as such: * remove all non digit characters * add + prefix |
| 123 | + * @return value or {@code null} for none |
| 124 | + */ |
| 125 | + public java.lang.String getUserProvidedData() { |
| 126 | + return userProvidedData; |
| 127 | + } |
| 128 | + |
| 129 | + /** |
| 130 | + * [User-provided data](https://support.google.com/analytics/answer/14077171). May contain either |
| 131 | + * one email address or one phone number. Email addresses should be normalized as such: * |
| 132 | + * lowercase * remove periods before @ for gmail.com/googlemail.com addresses * remove all spaces |
| 133 | + * Phone numbers should be normalized as such: * remove all non digit characters * add + prefix |
| 134 | + * @param userProvidedData userProvidedData or {@code null} for none |
| 135 | + */ |
| 136 | + public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest setUserProvidedData(java.lang.String userProvidedData) { |
| 137 | + this.userProvidedData = userProvidedData; |
| 138 | + return this; |
| 139 | + } |
| 140 | + |
| 141 | + @Override |
| 142 | + public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest set(String fieldName, Object value) { |
| 143 | + return (GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest) super.set(fieldName, value); |
| 144 | + } |
| 145 | + |
| 146 | + @Override |
| 147 | + public GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest clone() { |
| 148 | + return (GoogleAnalyticsAdminV1alphaSubmitUserDeletionRequest) super.clone(); |
| 149 | + } |
| 150 | + |
| 151 | +} |
0 commit comments