
com.google.api.services.firebase.v1beta1.model.ProjectInfo 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.firebase.v1beta1.model;
/**
* A reference to a Google Cloud Platform (GCP) `Project`.
*
* 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 Firebase 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 ProjectInfo extends com.google.api.client.json.GenericJson {
/**
* The user-assigned display name of the GCP `Project`, for example: `My App`
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String displayName;
/**
* The ID of the Project's default GCP resource location. The location is one of the available
* [GCP resource locations](https://firebase.google.com/docs/projects/locations). Not all Projects
* will have this field populated. If it is not populated, it means that the Project does not yet
* have a default GCP resource location. To set a Project's default GCP resource location, call
* [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase
* resources to the Project.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String locationId;
/**
* The resource name of the GCP `Project` to which Firebase resources can be added, in the format:
* projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER
* values.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String project;
/**
* The user-assigned display name of the GCP `Project`, for example: `My App`
* @return value or {@code null} for none
*/
public java.lang.String getDisplayName() {
return displayName;
}
/**
* The user-assigned display name of the GCP `Project`, for example: `My App`
* @param displayName displayName or {@code null} for none
*/
public ProjectInfo setDisplayName(java.lang.String displayName) {
this.displayName = displayName;
return this;
}
/**
* The ID of the Project's default GCP resource location. The location is one of the available
* [GCP resource locations](https://firebase.google.com/docs/projects/locations). Not all Projects
* will have this field populated. If it is not populated, it means that the Project does not yet
* have a default GCP resource location. To set a Project's default GCP resource location, call
* [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase
* resources to the Project.
* @return value or {@code null} for none
*/
public java.lang.String getLocationId() {
return locationId;
}
/**
* The ID of the Project's default GCP resource location. The location is one of the available
* [GCP resource locations](https://firebase.google.com/docs/projects/locations). Not all Projects
* will have this field populated. If it is not populated, it means that the Project does not yet
* have a default GCP resource location. To set a Project's default GCP resource location, call
* [`FinalizeDefaultLocation`](../projects.defaultLocation/finalize) after you add Firebase
* resources to the Project.
* @param locationId locationId or {@code null} for none
*/
public ProjectInfo setLocationId(java.lang.String locationId) {
this.locationId = locationId;
return this;
}
/**
* The resource name of the GCP `Project` to which Firebase resources can be added, in the format:
* projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER
* values.
* @return value or {@code null} for none
*/
public java.lang.String getProject() {
return project;
}
/**
* The resource name of the GCP `Project` to which Firebase resources can be added, in the format:
* projects/PROJECT_IDENTIFIER Refer to the `FirebaseProject`
* [`name`](../projects#FirebaseProject.FIELDS.name) field for details about PROJECT_IDENTIFIER
* values.
* @param project project or {@code null} for none
*/
public ProjectInfo setProject(java.lang.String project) {
this.project = project;
return this;
}
@Override
public ProjectInfo set(String fieldName, Object value) {
return (ProjectInfo) super.set(fieldName, value);
}
@Override
public ProjectInfo clone() {
return (ProjectInfo) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy