com.google.api.services.iap.v1.model.AccessSettings 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;
/**
* Access related settings for IAP protected apps.
*
* 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 AccessSettings extends com.google.api.client.json.GenericJson {
/**
* Optional. Settings to configure and enable allowed domains.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private AllowedDomainsSettings allowedDomainsSettings;
/**
* Optional. Configuration to allow cross-origin requests via IAP.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private CorsSettings corsSettings;
/**
* Optional. GCIP claims and endpoint configurations for 3p identity providers.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private GcipSettings gcipSettings;
/**
* Optional. Identity sources that IAP can use to authenticate the end user. Only one identity
* source can be configured.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List identitySources;
/**
* Optional. Settings to configure IAP's OAuth behavior.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private OAuthSettings oauthSettings;
/**
* Optional. Settings to allow google-internal teams to use IAP for apps hosted in a tenant
* project.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private PolicyDelegationSettings policyDelegationSettings;
/**
* Optional. Settings to configure reauthentication policies in IAP.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private ReauthSettings reauthSettings;
/**
* Optional. Settings to configure the workforce identity federation, including workforce pools
* and OAuth 2.0 settings.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private WorkforceIdentitySettings workforceIdentitySettings;
/**
* Optional. Settings to configure and enable allowed domains.
* @return value or {@code null} for none
*/
public AllowedDomainsSettings getAllowedDomainsSettings() {
return allowedDomainsSettings;
}
/**
* Optional. Settings to configure and enable allowed domains.
* @param allowedDomainsSettings allowedDomainsSettings or {@code null} for none
*/
public AccessSettings setAllowedDomainsSettings(AllowedDomainsSettings allowedDomainsSettings) {
this.allowedDomainsSettings = allowedDomainsSettings;
return this;
}
/**
* Optional. Configuration to allow cross-origin requests via IAP.
* @return value or {@code null} for none
*/
public CorsSettings getCorsSettings() {
return corsSettings;
}
/**
* Optional. Configuration to allow cross-origin requests via IAP.
* @param corsSettings corsSettings or {@code null} for none
*/
public AccessSettings setCorsSettings(CorsSettings corsSettings) {
this.corsSettings = corsSettings;
return this;
}
/**
* Optional. GCIP claims and endpoint configurations for 3p identity providers.
* @return value or {@code null} for none
*/
public GcipSettings getGcipSettings() {
return gcipSettings;
}
/**
* Optional. GCIP claims and endpoint configurations for 3p identity providers.
* @param gcipSettings gcipSettings or {@code null} for none
*/
public AccessSettings setGcipSettings(GcipSettings gcipSettings) {
this.gcipSettings = gcipSettings;
return this;
}
/**
* Optional. Identity sources that IAP can use to authenticate the end user. Only one identity
* source can be configured.
* @return value or {@code null} for none
*/
public java.util.List getIdentitySources() {
return identitySources;
}
/**
* Optional. Identity sources that IAP can use to authenticate the end user. Only one identity
* source can be configured.
* @param identitySources identitySources or {@code null} for none
*/
public AccessSettings setIdentitySources(java.util.List identitySources) {
this.identitySources = identitySources;
return this;
}
/**
* Optional. Settings to configure IAP's OAuth behavior.
* @return value or {@code null} for none
*/
public OAuthSettings getOauthSettings() {
return oauthSettings;
}
/**
* Optional. Settings to configure IAP's OAuth behavior.
* @param oauthSettings oauthSettings or {@code null} for none
*/
public AccessSettings setOauthSettings(OAuthSettings oauthSettings) {
this.oauthSettings = oauthSettings;
return this;
}
/**
* Optional. Settings to allow google-internal teams to use IAP for apps hosted in a tenant
* project.
* @return value or {@code null} for none
*/
public PolicyDelegationSettings getPolicyDelegationSettings() {
return policyDelegationSettings;
}
/**
* Optional. Settings to allow google-internal teams to use IAP for apps hosted in a tenant
* project.
* @param policyDelegationSettings policyDelegationSettings or {@code null} for none
*/
public AccessSettings setPolicyDelegationSettings(PolicyDelegationSettings policyDelegationSettings) {
this.policyDelegationSettings = policyDelegationSettings;
return this;
}
/**
* Optional. Settings to configure reauthentication policies in IAP.
* @return value or {@code null} for none
*/
public ReauthSettings getReauthSettings() {
return reauthSettings;
}
/**
* Optional. Settings to configure reauthentication policies in IAP.
* @param reauthSettings reauthSettings or {@code null} for none
*/
public AccessSettings setReauthSettings(ReauthSettings reauthSettings) {
this.reauthSettings = reauthSettings;
return this;
}
/**
* Optional. Settings to configure the workforce identity federation, including workforce pools
* and OAuth 2.0 settings.
* @return value or {@code null} for none
*/
public WorkforceIdentitySettings getWorkforceIdentitySettings() {
return workforceIdentitySettings;
}
/**
* Optional. Settings to configure the workforce identity federation, including workforce pools
* and OAuth 2.0 settings.
* @param workforceIdentitySettings workforceIdentitySettings or {@code null} for none
*/
public AccessSettings setWorkforceIdentitySettings(WorkforceIdentitySettings workforceIdentitySettings) {
this.workforceIdentitySettings = workforceIdentitySettings;
return this;
}
@Override
public AccessSettings set(String fieldName, Object value) {
return (AccessSettings) super.set(fieldName, value);
}
@Override
public AccessSettings clone() {
return (AccessSettings) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy