|
| 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.migrationcenter.v1.model; |
| 18 | + |
| 19 | +/** |
| 20 | + * Assets export job message. |
| 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 Migration Center API. For a detailed explanation see: |
| 24 | + * <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> |
| 25 | + * </p> |
| 26 | + * |
| 27 | + * @author Google, Inc. |
| 28 | + */ |
| 29 | +@SuppressWarnings("javadoc") |
| 30 | +public final class AssetsExportJob extends com.google.api.client.json.GenericJson { |
| 31 | + |
| 32 | + /** |
| 33 | + * Optional. Conditions for selecting assets to export. |
| 34 | + * The value may be {@code null}. |
| 35 | + */ |
| 36 | + @com.google.api.client.util.Key |
| 37 | + private AssetsExportJobExportCondition condition; |
| 38 | + |
| 39 | + /** |
| 40 | + * Output only. Resource creation time. |
| 41 | + * The value may be {@code null}. |
| 42 | + */ |
| 43 | + @com.google.api.client.util.Key |
| 44 | + private String createTime; |
| 45 | + |
| 46 | + /** |
| 47 | + * Export asset inventory details. |
| 48 | + * The value may be {@code null}. |
| 49 | + */ |
| 50 | + @com.google.api.client.util.Key |
| 51 | + private AssetsExportJobInventory inventory; |
| 52 | + |
| 53 | + /** |
| 54 | + * Optional. Labels as key value pairs. Labels must meet the following constraints: * Keys and |
| 55 | + * values can contain only lowercase letters, numeric characters, underscores, and dashes. * All |
| 56 | + * characters must use UTF-8 encoding, and international characters are allowed. * Keys must start |
| 57 | + * with a lowercase letter or international character. * Each resource is limited to a maximum of |
| 58 | + * 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. |
| 59 | + * The value may be {@code null}. |
| 60 | + */ |
| 61 | + @com.google.api.client.util.Key |
| 62 | + private java.util.Map<String, java.lang.String> labels; |
| 63 | + |
| 64 | + /** |
| 65 | + * Output only. Identifier. Resource name. |
| 66 | + * The value may be {@code null}. |
| 67 | + */ |
| 68 | + @com.google.api.client.util.Key |
| 69 | + private java.lang.String name; |
| 70 | + |
| 71 | + /** |
| 72 | + * Export data regarding asset network dependencies. |
| 73 | + * The value may be {@code null}. |
| 74 | + */ |
| 75 | + @com.google.api.client.util.Key |
| 76 | + private AssetsExportJobNetworkDependencies networkDependencies; |
| 77 | + |
| 78 | + /** |
| 79 | + * Export asset with performance data. |
| 80 | + * The value may be {@code null}. |
| 81 | + */ |
| 82 | + @com.google.api.client.util.Key |
| 83 | + private AssetsExportJobPerformanceData performanceData; |
| 84 | + |
| 85 | + /** |
| 86 | + * Output only. Recent non expired executions of the job. |
| 87 | + * The value may be {@code null}. |
| 88 | + */ |
| 89 | + @com.google.api.client.util.Key |
| 90 | + private java.util.List<AssetsExportJobExecution> recentExecutions; |
| 91 | + |
| 92 | + /** |
| 93 | + * Optional. When this value is set to 'true' the response will include all assets, including |
| 94 | + * those that are hidden. |
| 95 | + * The value may be {@code null}. |
| 96 | + */ |
| 97 | + @com.google.api.client.util.Key |
| 98 | + private java.lang.Boolean showHidden; |
| 99 | + |
| 100 | + /** |
| 101 | + * Export to Cloud Storage files downloadable using signed URIs. |
| 102 | + * The value may be {@code null}. |
| 103 | + */ |
| 104 | + @com.google.api.client.util.Key |
| 105 | + private SignedUriDestination signedUriDestination; |
| 106 | + |
| 107 | + /** |
| 108 | + * Output only. Resource update time. |
| 109 | + * The value may be {@code null}. |
| 110 | + */ |
| 111 | + @com.google.api.client.util.Key |
| 112 | + private String updateTime; |
| 113 | + |
| 114 | + /** |
| 115 | + * Optional. Conditions for selecting assets to export. |
| 116 | + * @return value or {@code null} for none |
| 117 | + */ |
| 118 | + public AssetsExportJobExportCondition getCondition() { |
| 119 | + return condition; |
| 120 | + } |
| 121 | + |
| 122 | + /** |
| 123 | + * Optional. Conditions for selecting assets to export. |
| 124 | + * @param condition condition or {@code null} for none |
| 125 | + */ |
| 126 | + public AssetsExportJob setCondition(AssetsExportJobExportCondition condition) { |
| 127 | + this.condition = condition; |
| 128 | + return this; |
| 129 | + } |
| 130 | + |
| 131 | + /** |
| 132 | + * Output only. Resource creation time. |
| 133 | + * @return value or {@code null} for none |
| 134 | + */ |
| 135 | + public String getCreateTime() { |
| 136 | + return createTime; |
| 137 | + } |
| 138 | + |
| 139 | + /** |
| 140 | + * Output only. Resource creation time. |
| 141 | + * @param createTime createTime or {@code null} for none |
| 142 | + */ |
| 143 | + public AssetsExportJob setCreateTime(String createTime) { |
| 144 | + this.createTime = createTime; |
| 145 | + return this; |
| 146 | + } |
| 147 | + |
| 148 | + /** |
| 149 | + * Export asset inventory details. |
| 150 | + * @return value or {@code null} for none |
| 151 | + */ |
| 152 | + public AssetsExportJobInventory getInventory() { |
| 153 | + return inventory; |
| 154 | + } |
| 155 | + |
| 156 | + /** |
| 157 | + * Export asset inventory details. |
| 158 | + * @param inventory inventory or {@code null} for none |
| 159 | + */ |
| 160 | + public AssetsExportJob setInventory(AssetsExportJobInventory inventory) { |
| 161 | + this.inventory = inventory; |
| 162 | + return this; |
| 163 | + } |
| 164 | + |
| 165 | + /** |
| 166 | + * Optional. Labels as key value pairs. Labels must meet the following constraints: * Keys and |
| 167 | + * values can contain only lowercase letters, numeric characters, underscores, and dashes. * All |
| 168 | + * characters must use UTF-8 encoding, and international characters are allowed. * Keys must start |
| 169 | + * with a lowercase letter or international character. * Each resource is limited to a maximum of |
| 170 | + * 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. |
| 171 | + * @return value or {@code null} for none |
| 172 | + */ |
| 173 | + public java.util.Map<String, java.lang.String> getLabels() { |
| 174 | + return labels; |
| 175 | + } |
| 176 | + |
| 177 | + /** |
| 178 | + * Optional. Labels as key value pairs. Labels must meet the following constraints: * Keys and |
| 179 | + * values can contain only lowercase letters, numeric characters, underscores, and dashes. * All |
| 180 | + * characters must use UTF-8 encoding, and international characters are allowed. * Keys must start |
| 181 | + * with a lowercase letter or international character. * Each resource is limited to a maximum of |
| 182 | + * 64 labels. Both keys and values are additionally constrained to be <= 128 bytes. |
| 183 | + * @param labels labels or {@code null} for none |
| 184 | + */ |
| 185 | + public AssetsExportJob setLabels(java.util.Map<String, java.lang.String> labels) { |
| 186 | + this.labels = labels; |
| 187 | + return this; |
| 188 | + } |
| 189 | + |
| 190 | + /** |
| 191 | + * Output only. Identifier. Resource name. |
| 192 | + * @return value or {@code null} for none |
| 193 | + */ |
| 194 | + public java.lang.String getName() { |
| 195 | + return name; |
| 196 | + } |
| 197 | + |
| 198 | + /** |
| 199 | + * Output only. Identifier. Resource name. |
| 200 | + * @param name name or {@code null} for none |
| 201 | + */ |
| 202 | + public AssetsExportJob setName(java.lang.String name) { |
| 203 | + this.name = name; |
| 204 | + return this; |
| 205 | + } |
| 206 | + |
| 207 | + /** |
| 208 | + * Export data regarding asset network dependencies. |
| 209 | + * @return value or {@code null} for none |
| 210 | + */ |
| 211 | + public AssetsExportJobNetworkDependencies getNetworkDependencies() { |
| 212 | + return networkDependencies; |
| 213 | + } |
| 214 | + |
| 215 | + /** |
| 216 | + * Export data regarding asset network dependencies. |
| 217 | + * @param networkDependencies networkDependencies or {@code null} for none |
| 218 | + */ |
| 219 | + public AssetsExportJob setNetworkDependencies(AssetsExportJobNetworkDependencies networkDependencies) { |
| 220 | + this.networkDependencies = networkDependencies; |
| 221 | + return this; |
| 222 | + } |
| 223 | + |
| 224 | + /** |
| 225 | + * Export asset with performance data. |
| 226 | + * @return value or {@code null} for none |
| 227 | + */ |
| 228 | + public AssetsExportJobPerformanceData getPerformanceData() { |
| 229 | + return performanceData; |
| 230 | + } |
| 231 | + |
| 232 | + /** |
| 233 | + * Export asset with performance data. |
| 234 | + * @param performanceData performanceData or {@code null} for none |
| 235 | + */ |
| 236 | + public AssetsExportJob setPerformanceData(AssetsExportJobPerformanceData performanceData) { |
| 237 | + this.performanceData = performanceData; |
| 238 | + return this; |
| 239 | + } |
| 240 | + |
| 241 | + /** |
| 242 | + * Output only. Recent non expired executions of the job. |
| 243 | + * @return value or {@code null} for none |
| 244 | + */ |
| 245 | + public java.util.List<AssetsExportJobExecution> getRecentExecutions() { |
| 246 | + return recentExecutions; |
| 247 | + } |
| 248 | + |
| 249 | + /** |
| 250 | + * Output only. Recent non expired executions of the job. |
| 251 | + * @param recentExecutions recentExecutions or {@code null} for none |
| 252 | + */ |
| 253 | + public AssetsExportJob setRecentExecutions(java.util.List<AssetsExportJobExecution> recentExecutions) { |
| 254 | + this.recentExecutions = recentExecutions; |
| 255 | + return this; |
| 256 | + } |
| 257 | + |
| 258 | + /** |
| 259 | + * Optional. When this value is set to 'true' the response will include all assets, including |
| 260 | + * those that are hidden. |
| 261 | + * @return value or {@code null} for none |
| 262 | + */ |
| 263 | + public java.lang.Boolean getShowHidden() { |
| 264 | + return showHidden; |
| 265 | + } |
| 266 | + |
| 267 | + /** |
| 268 | + * Optional. When this value is set to 'true' the response will include all assets, including |
| 269 | + * those that are hidden. |
| 270 | + * @param showHidden showHidden or {@code null} for none |
| 271 | + */ |
| 272 | + public AssetsExportJob setShowHidden(java.lang.Boolean showHidden) { |
| 273 | + this.showHidden = showHidden; |
| 274 | + return this; |
| 275 | + } |
| 276 | + |
| 277 | + /** |
| 278 | + * Export to Cloud Storage files downloadable using signed URIs. |
| 279 | + * @return value or {@code null} for none |
| 280 | + */ |
| 281 | + public SignedUriDestination getSignedUriDestination() { |
| 282 | + return signedUriDestination; |
| 283 | + } |
| 284 | + |
| 285 | + /** |
| 286 | + * Export to Cloud Storage files downloadable using signed URIs. |
| 287 | + * @param signedUriDestination signedUriDestination or {@code null} for none |
| 288 | + */ |
| 289 | + public AssetsExportJob setSignedUriDestination(SignedUriDestination signedUriDestination) { |
| 290 | + this.signedUriDestination = signedUriDestination; |
| 291 | + return this; |
| 292 | + } |
| 293 | + |
| 294 | + /** |
| 295 | + * Output only. Resource update time. |
| 296 | + * @return value or {@code null} for none |
| 297 | + */ |
| 298 | + public String getUpdateTime() { |
| 299 | + return updateTime; |
| 300 | + } |
| 301 | + |
| 302 | + /** |
| 303 | + * Output only. Resource update time. |
| 304 | + * @param updateTime updateTime or {@code null} for none |
| 305 | + */ |
| 306 | + public AssetsExportJob setUpdateTime(String updateTime) { |
| 307 | + this.updateTime = updateTime; |
| 308 | + return this; |
| 309 | + } |
| 310 | + |
| 311 | + @Override |
| 312 | + public AssetsExportJob set(String fieldName, Object value) { |
| 313 | + return (AssetsExportJob) super.set(fieldName, value); |
| 314 | + } |
| 315 | + |
| 316 | + @Override |
| 317 | + public AssetsExportJob clone() { |
| 318 | + return (AssetsExportJob) super.clone(); |
| 319 | + } |
| 320 | + |
| 321 | +} |
0 commit comments