com.google.api.services.iap.v1.model.ReauthSettings 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.iap.v1.model;
/**
* Configuration for IAP reauthentication policies.
*
* 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 Cloud Identity-Aware Proxy 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 ReauthSettings extends com.google.api.client.json.GenericJson {
/**
* Optional. Reauth session lifetime, how long before a user has to reauthenticate again.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private String maxAge;
/**
* Optional. Reauth method requested.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String method;
/**
* Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies
* are merged from higher in the hierarchy to lower in the hierarchy.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String policyType;
/**
* Optional. Reauth session lifetime, how long before a user has to reauthenticate again.
* @return value or {@code null} for none
*/
public String getMaxAge() {
return maxAge;
}
/**
* Optional. Reauth session lifetime, how long before a user has to reauthenticate again.
* @param maxAge maxAge or {@code null} for none
*/
public ReauthSettings setMaxAge(String maxAge) {
this.maxAge = maxAge;
return this;
}
/**
* Optional. Reauth method requested.
* @return value or {@code null} for none
*/
public java.lang.String getMethod() {
return method;
}
/**
* Optional. Reauth method requested.
* @param method method or {@code null} for none
*/
public ReauthSettings setMethod(java.lang.String method) {
this.method = method;
return this;
}
/**
* Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies
* are merged from higher in the hierarchy to lower in the hierarchy.
* @return value or {@code null} for none
*/
public java.lang.String getPolicyType() {
return policyType;
}
/**
* Optional. How IAP determines the effective policy in cases of hierarchical policies. Policies
* are merged from higher in the hierarchy to lower in the hierarchy.
* @param policyType policyType or {@code null} for none
*/
public ReauthSettings setPolicyType(java.lang.String policyType) {
this.policyType = policyType;
return this;
}
@Override
public ReauthSettings set(String fieldName, Object value) {
return (ReauthSettings) super.set(fieldName, value);
}
@Override
public ReauthSettings clone() {
return (ReauthSettings) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy