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

com.google.api.services.serviceconsumermanagement.v1.model.V1DefaultIdentity Maven / Gradle / Ivy

/*
 * 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.serviceconsumermanagement.v1.model;

/**
 * A default identity in the Identity and Access Management API.
 *
 * 

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 Service Consumer Management 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 V1DefaultIdentity extends com.google.api.client.json.GenericJson { /** * The email address of the default identity. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String email; /** * Default identity resource name. An example name would be: * `services/serviceconsumermanagement.googleapis.com/projects/123/defaultIdentity` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * The Default Identity tag. If specified when creating the account, the tag must be present in * activation_grants. If not specified when creating the account, the tag is set to the tag * specified in activation_grants. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String tag; /** * The unique and stable id of the default identity. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String uniqueId; /** * The email address of the default identity. * @return value or {@code null} for none */ public java.lang.String getEmail() { return email; } /** * The email address of the default identity. * @param email email or {@code null} for none */ public V1DefaultIdentity setEmail(java.lang.String email) { this.email = email; return this; } /** * Default identity resource name. An example name would be: * `services/serviceconsumermanagement.googleapis.com/projects/123/defaultIdentity` * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Default identity resource name. An example name would be: * `services/serviceconsumermanagement.googleapis.com/projects/123/defaultIdentity` * @param name name or {@code null} for none */ public V1DefaultIdentity setName(java.lang.String name) { this.name = name; return this; } /** * The Default Identity tag. If specified when creating the account, the tag must be present in * activation_grants. If not specified when creating the account, the tag is set to the tag * specified in activation_grants. * @return value or {@code null} for none */ public java.lang.String getTag() { return tag; } /** * The Default Identity tag. If specified when creating the account, the tag must be present in * activation_grants. If not specified when creating the account, the tag is set to the tag * specified in activation_grants. * @param tag tag or {@code null} for none */ public V1DefaultIdentity setTag(java.lang.String tag) { this.tag = tag; return this; } /** * The unique and stable id of the default identity. * @return value or {@code null} for none */ public java.lang.String getUniqueId() { return uniqueId; } /** * The unique and stable id of the default identity. * @param uniqueId uniqueId or {@code null} for none */ public V1DefaultIdentity setUniqueId(java.lang.String uniqueId) { this.uniqueId = uniqueId; return this; } @Override public V1DefaultIdentity set(String fieldName, Object value) { return (V1DefaultIdentity) super.set(fieldName, value); } @Override public V1DefaultIdentity clone() { return (V1DefaultIdentity) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy