target.apidocs.com.google.api.services.compute.model.BackendServiceIAP.html Maven / Gradle / Ivy
BackendServiceIAP (Compute Engine API beta-rev20220312-1.32.1)
com.google.api.services.compute.model
Class BackendServiceIAP
- java.lang.Object
-
- java.util.AbstractMap<String,Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.json.GenericJson
-
- com.google.api.services.compute.model.BackendServiceIAP
-
public final class BackendServiceIAP
extends GenericJson
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 Compute Engine API. For a detailed explanation see:
https://developers.google.com/api-client-library/java/google-http-java-client/json
- Author:
- Google, Inc.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
GenericData.Flags
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
-
Constructor Summary
Constructors
Constructor and Description
BackendServiceIAP()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
BackendServiceIAP
clone()
Boolean
getEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests.
String
getOauth2ClientId()
OAuth2 client ID to use for the authentication flow.
String
getOauth2ClientSecret()
OAuth2 client secret to use for the authentication flow.
String
getOauth2ClientSecretSha256()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
BackendServiceIAP
set(String fieldName,
Object value)
BackendServiceIAP
setEnabled(Boolean enabled)
Whether the serving infrastructure will authenticate and authorize all incoming requests.
BackendServiceIAP
setOauth2ClientId(String oauth2ClientId)
OAuth2 client ID to use for the authentication flow.
BackendServiceIAP
setOauth2ClientSecret(String oauth2ClientSecret)
OAuth2 client secret to use for the authentication flow.
BackendServiceIAP
setOauth2ClientSecretSha256(String oauth2ClientSecretSha256)
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
-
Methods inherited from class com.google.api.client.json.GenericJson
getFactory, setFactory, toPrettyString, toString
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
Method Detail
-
getEnabled
public Boolean getEnabled()
Whether the serving infrastructure will authenticate and authorize all incoming requests. If
true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.
- Returns:
- value or
null
for none
-
setEnabled
public BackendServiceIAP setEnabled(Boolean enabled)
Whether the serving infrastructure will authenticate and authorize all incoming requests. If
true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty.
- Parameters:
enabled
- enabled or null
for none
-
getOauth2ClientId
public String getOauth2ClientId()
OAuth2 client ID to use for the authentication flow.
- Returns:
- value or
null
for none
-
setOauth2ClientId
public BackendServiceIAP setOauth2ClientId(String oauth2ClientId)
OAuth2 client ID to use for the authentication flow.
- Parameters:
oauth2ClientId
- oauth2ClientId or null
for none
-
getOauth2ClientSecret
public String getOauth2ClientSecret()
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
oauth2ClientSecretSha256 field. @InputOnly
- Returns:
- value or
null
for none
-
setOauth2ClientSecret
public BackendServiceIAP setOauth2ClientSecret(String 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
oauth2ClientSecretSha256 field. @InputOnly
- Parameters:
oauth2ClientSecret
- oauth2ClientSecret or null
for none
-
getOauth2ClientSecretSha256
public String getOauth2ClientSecretSha256()
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
- Returns:
- value or
null
for none
-
setOauth2ClientSecretSha256
public BackendServiceIAP setOauth2ClientSecretSha256(String oauth2ClientSecretSha256)
[Output Only] SHA256 hash value for the field oauth2_client_secret above.
- Parameters:
oauth2ClientSecretSha256
- oauth2ClientSecretSha256 or null
for none
-
set
public BackendServiceIAP set(String fieldName,
Object value)
- Overrides:
set
in class GenericJson
-
clone
public BackendServiceIAP clone()
- Overrides:
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy