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

com.google.api.services.appengine.model.IdentityAwareProxy Maven / Gradle / Ivy

There is a newer version: v1-rev20241205-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: 2017-11-07 19:12:12 UTC)
 * on 2017-12-15 at 01:51:25 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.appengine.model;

/**
 * Identity-Aware Proxy
 *
 * 

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 App Engine 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 IdentityAwareProxy extends com.google.api.client.json.GenericJson { /** * Whether the serving infrastructure will authenticate and authorize all incoming requests.If * true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Boolean enabled; /** * OAuth2 client ID to use for the authentication flow. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String oauth2ClientId; /** * OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot * be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the * oauth2_client_secret_sha256 field.@InputOnly * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String oauth2ClientSecret; /** * Hex-encoded SHA-256 hash of the client secret.@OutputOnly * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String oauth2ClientSecretSha256; /** * Whether the serving infrastructure will authenticate and authorize all incoming requests.If * true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. * @return value or {@code null} for none */ public java.lang.Boolean getEnabled() { return enabled; } /** * Whether the serving infrastructure will authenticate and authorize all incoming requests.If * true, the oauth2_client_id and oauth2_client_secret fields must be non-empty. * @param enabled enabled or {@code null} for none */ public IdentityAwareProxy setEnabled(java.lang.Boolean enabled) { this.enabled = enabled; return this; } /** * OAuth2 client ID to use for the authentication flow. * @return value or {@code null} for none */ public java.lang.String getOauth2ClientId() { return oauth2ClientId; } /** * OAuth2 client ID to use for the authentication flow. * @param oauth2ClientId oauth2ClientId or {@code null} for none */ public IdentityAwareProxy setOauth2ClientId(java.lang.String oauth2ClientId) { this.oauth2ClientId = oauth2ClientId; return this; } /** * OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot * be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the * oauth2_client_secret_sha256 field.@InputOnly * @return value or {@code null} for none */ public java.lang.String getOauth2ClientSecret() { return oauth2ClientSecret; } /** * OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot * be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the * oauth2_client_secret_sha256 field.@InputOnly * @param oauth2ClientSecret oauth2ClientSecret or {@code null} for none */ public IdentityAwareProxy setOauth2ClientSecret(java.lang.String oauth2ClientSecret) { this.oauth2ClientSecret = oauth2ClientSecret; return this; } /** * Hex-encoded SHA-256 hash of the client secret.@OutputOnly * @return value or {@code null} for none */ public java.lang.String getOauth2ClientSecretSha256() { return oauth2ClientSecretSha256; } /** * Hex-encoded SHA-256 hash of the client secret.@OutputOnly * @param oauth2ClientSecretSha256 oauth2ClientSecretSha256 or {@code null} for none */ public IdentityAwareProxy setOauth2ClientSecretSha256(java.lang.String oauth2ClientSecretSha256) { this.oauth2ClientSecretSha256 = oauth2ClientSecretSha256; return this; } @Override public IdentityAwareProxy set(String fieldName, Object value) { return (IdentityAwareProxy) super.set(fieldName, value); } @Override public IdentityAwareProxy clone() { return (IdentityAwareProxy) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy