All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.analyticsadmin.v1beta.model.GoogleAnalyticsAdminV1betaChangeHistoryChange Maven / Gradle / Ivy

There is a newer version: v1beta-rev20240823-2.0.0
Show newest version
/*
 * 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.analyticsadmin.v1beta.model;

/**
 * A description of a change to a single Google Analytics resource.
 *
 * 

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 Analytics Admin 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 GoogleAnalyticsAdminV1betaChangeHistoryChange extends com.google.api.client.json.GenericJson { /** * The type of action that changed this resource. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String action; /** * Resource name of the resource whose changes are described by this entry. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String resource; /** * Resource contents from after the change was made. If this resource was deleted in this change, * this field will be missing. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource resourceAfterChange; /** * Resource contents from before the change was made. If this resource was created in this change, * this field will be missing. * The value may be {@code null}. */ @com.google.api.client.util.Key private GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource resourceBeforeChange; /** * The type of action that changed this resource. * @return value or {@code null} for none */ public java.lang.String getAction() { return action; } /** * The type of action that changed this resource. * @param action action or {@code null} for none */ public GoogleAnalyticsAdminV1betaChangeHistoryChange setAction(java.lang.String action) { this.action = action; return this; } /** * Resource name of the resource whose changes are described by this entry. * @return value or {@code null} for none */ public java.lang.String getResource() { return resource; } /** * Resource name of the resource whose changes are described by this entry. * @param resource resource or {@code null} for none */ public GoogleAnalyticsAdminV1betaChangeHistoryChange setResource(java.lang.String resource) { this.resource = resource; return this; } /** * Resource contents from after the change was made. If this resource was deleted in this change, * this field will be missing. * @return value or {@code null} for none */ public GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource getResourceAfterChange() { return resourceAfterChange; } /** * Resource contents from after the change was made. If this resource was deleted in this change, * this field will be missing. * @param resourceAfterChange resourceAfterChange or {@code null} for none */ public GoogleAnalyticsAdminV1betaChangeHistoryChange setResourceAfterChange(GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource resourceAfterChange) { this.resourceAfterChange = resourceAfterChange; return this; } /** * Resource contents from before the change was made. If this resource was created in this change, * this field will be missing. * @return value or {@code null} for none */ public GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource getResourceBeforeChange() { return resourceBeforeChange; } /** * Resource contents from before the change was made. If this resource was created in this change, * this field will be missing. * @param resourceBeforeChange resourceBeforeChange or {@code null} for none */ public GoogleAnalyticsAdminV1betaChangeHistoryChange setResourceBeforeChange(GoogleAnalyticsAdminV1betaChangeHistoryChangeChangeHistoryResource resourceBeforeChange) { this.resourceBeforeChange = resourceBeforeChange; return this; } @Override public GoogleAnalyticsAdminV1betaChangeHistoryChange set(String fieldName, Object value) { return (GoogleAnalyticsAdminV1betaChangeHistoryChange) super.set(fieldName, value); } @Override public GoogleAnalyticsAdminV1betaChangeHistoryChange clone() { return (GoogleAnalyticsAdminV1betaChangeHistoryChange) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy