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

com.google.api.services.firebaserules.v1.model.Release Maven / Gradle / Ivy

There is a newer version: v1-rev20241125-2.0.0
Show newest version
/*
 * Copyright 2010 Google Inc.
 *
 * 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/google/apis-client-generator/
 * (build: 2016-07-08 17:28:43 UTC)
 * on 2016-09-12 at 23:11:01 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.firebaserules.v1.model;

/**
 * `Release` is a named reference to a `Ruleset`. Once a `Release` refers to a `Ruleset`, rules-
 * enabled services will be able to enforce the `Ruleset`.
 *
 * 

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 Rules 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 Release extends com.google.api.client.json.GenericJson { /** * Time the release was created. @OutputOnly * The value may be {@code null}. */ @com.google.api.client.util.Key private String createTime; /** * Resource name for the `Release`. * * `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` which affords * developers a great deal of flexibility in mapping the name to the style that best fits their * existing development practices. For example, a name could refer to an environment, an app, a * version, or some combination of three. * * In the table below, for the project name `projects/foo`, the following relative release paths * show how flat and structured names might be chosen to match a desired development / deployment * strategy. * * Use Case | Flat Name | Structured Name * -------------|---------------------|---------------- Environments | releases/qa | * releases/qa Apps | releases/app1_qa | releases/app1/qa Versions | * releases/app1_v2_qa | releases/app1/v2/qa * * The delimiter between the release name path elements can be almost anything and it should work * equally well with the release name list filter, but in many ways the structured paths provide a * clearer picture of the relationship between `Release` instances. * * Format: `projects/{project_id}/releases/{release_id}` * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String name; /** * Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist the `Release` to * be created. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String rulesetName; /** * Time the release was updated. @OutputOnly * The value may be {@code null}. */ @com.google.api.client.util.Key private String updateTime; /** * Time the release was created. @OutputOnly * @return value or {@code null} for none */ public String getCreateTime() { return createTime; } /** * Time the release was created. @OutputOnly * @param createTime createTime or {@code null} for none */ public Release setCreateTime(String createTime) { this.createTime = createTime; return this; } /** * Resource name for the `Release`. * * `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` which affords * developers a great deal of flexibility in mapping the name to the style that best fits their * existing development practices. For example, a name could refer to an environment, an app, a * version, or some combination of three. * * In the table below, for the project name `projects/foo`, the following relative release paths * show how flat and structured names might be chosen to match a desired development / deployment * strategy. * * Use Case | Flat Name | Structured Name * -------------|---------------------|---------------- Environments | releases/qa | * releases/qa Apps | releases/app1_qa | releases/app1/qa Versions | * releases/app1_v2_qa | releases/app1/v2/qa * * The delimiter between the release name path elements can be almost anything and it should work * equally well with the release name list filter, but in many ways the structured paths provide a * clearer picture of the relationship between `Release` instances. * * Format: `projects/{project_id}/releases/{release_id}` * @return value or {@code null} for none */ public java.lang.String getName() { return name; } /** * Resource name for the `Release`. * * `Release` names may be structured `app1/prod/v2` or flat `app1_prod_v2` which affords * developers a great deal of flexibility in mapping the name to the style that best fits their * existing development practices. For example, a name could refer to an environment, an app, a * version, or some combination of three. * * In the table below, for the project name `projects/foo`, the following relative release paths * show how flat and structured names might be chosen to match a desired development / deployment * strategy. * * Use Case | Flat Name | Structured Name * -------------|---------------------|---------------- Environments | releases/qa | * releases/qa Apps | releases/app1_qa | releases/app1/qa Versions | * releases/app1_v2_qa | releases/app1/v2/qa * * The delimiter between the release name path elements can be almost anything and it should work * equally well with the release name list filter, but in many ways the structured paths provide a * clearer picture of the relationship between `Release` instances. * * Format: `projects/{project_id}/releases/{release_id}` * @param name name or {@code null} for none */ public Release setName(java.lang.String name) { this.name = name; return this; } /** * Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist the `Release` to * be created. * @return value or {@code null} for none */ public java.lang.String getRulesetName() { return rulesetName; } /** * Name of the `Ruleset` referred to by this `Release`. The `Ruleset` must exist the `Release` to * be created. * @param rulesetName rulesetName or {@code null} for none */ public Release setRulesetName(java.lang.String rulesetName) { this.rulesetName = rulesetName; return this; } /** * Time the release was updated. @OutputOnly * @return value or {@code null} for none */ public String getUpdateTime() { return updateTime; } /** * Time the release was updated. @OutputOnly * @param updateTime updateTime or {@code null} for none */ public Release setUpdateTime(String updateTime) { this.updateTime = updateTime; return this; } @Override public Release set(String fieldName, Object value) { return (Release) super.set(fieldName, value); } @Override public Release clone() { return (Release) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy