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

com.google.api.services.eventarc.v1.model.CloudRun Maven / Gradle / Ivy

There is a newer version: v1-rev20241203-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.eventarc.v1.model;

/**
 * Represents a Cloud Run destination.
 *
 * 

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 Eventarc 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 CloudRun extends com.google.api.client.json.GenericJson { /** * Optional. The relative path on the Cloud Run service the events should be sent to. The value * must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: * "/route", "route", "route/subroute". * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String path; /** * Required. The region the Cloud Run service is deployed in. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String region; /** * Required. The name of the Cloud Run service being addressed. See * https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located * in the same project as the trigger object can be addressed. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String service; /** * Optional. The relative path on the Cloud Run service the events should be sent to. The value * must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: * "/route", "route", "route/subroute". * @return value or {@code null} for none */ public java.lang.String getPath() { return path; } /** * Optional. The relative path on the Cloud Run service the events should be sent to. The value * must conform to the definition of a URI path segment (section 3.3 of RFC2396). Examples: * "/route", "route", "route/subroute". * @param path path or {@code null} for none */ public CloudRun setPath(java.lang.String path) { this.path = path; return this; } /** * Required. The region the Cloud Run service is deployed in. * @return value or {@code null} for none */ public java.lang.String getRegion() { return region; } /** * Required. The region the Cloud Run service is deployed in. * @param region region or {@code null} for none */ public CloudRun setRegion(java.lang.String region) { this.region = region; return this; } /** * Required. The name of the Cloud Run service being addressed. See * https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located * in the same project as the trigger object can be addressed. * @return value or {@code null} for none */ public java.lang.String getService() { return service; } /** * Required. The name of the Cloud Run service being addressed. See * https://cloud.google.com/run/docs/reference/rest/v1/namespaces.services. Only services located * in the same project as the trigger object can be addressed. * @param service service or {@code null} for none */ public CloudRun setService(java.lang.String service) { this.service = service; return this; } @Override public CloudRun set(String fieldName, Object value) { return (CloudRun) super.set(fieldName, value); } @Override public CloudRun clone() { return (CloudRun) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy