target.apidocs.com.google.api.services.iap.v1.CloudIAP.V1.html Maven / Gradle / Ivy
CloudIAP.V1 (Cloud Identity-Aware Proxy API v1-rev20241202-2.0.0)
com.google.api.services.iap.v1
Class CloudIAP.V1
- java.lang.Object
-
- com.google.api.services.iap.v1.CloudIAP.V1
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
CloudIAP.V1.GetIamPolicy
class
CloudIAP.V1.GetIapSettings
class
CloudIAP.V1.SetIamPolicy
class
CloudIAP.V1.TestIamPermissions
class
CloudIAP.V1.UpdateIapSettings
class
CloudIAP.V1.ValidateAttributeExpression
-
Constructor Summary
Constructors
Constructor and Description
V1()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
CloudIAP.V1.GetIamPolicy
getIamPolicy(String resource,
GetIamPolicyRequest content)
Gets the access control policy for an Identity-Aware Proxy protected resource.
CloudIAP.V1.GetIapSettings
getIapSettings(String name)
Gets the IAP settings on a particular IAP protected resource.
CloudIAP.V1.SetIamPolicy
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy for an Identity-Aware Proxy protected resource.
CloudIAP.V1.TestIamPermissions
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the Identity-Aware Proxy protected resource.
CloudIAP.V1.UpdateIapSettings
updateIapSettings(String name,
IapSettings content)
Updates the IAP settings on a particular IAP protected resource.
CloudIAP.V1.ValidateAttributeExpression
validateAttributeExpression(String name)
Validates that a given CEL expression conforms to IAP restrictions.
-
-
Method Detail
-
getIamPolicy
public CloudIAP.V1.GetIamPolicy getIamPolicy(String resource,
GetIamPolicyRequest content)
throws IOException
Gets the access control policy for an Identity-Aware Proxy protected resource. More information
about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-
access#managing_access_via_the_api
Create a request for the method "v1.getIamPolicy".
This request holds the parameters needed by the iap server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the GetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
getIapSettings
public CloudIAP.V1.GetIapSettings getIapSettings(String name)
throws IOException
Gets the IAP settings on a particular IAP protected resource.
Create a request for the method "v1.getIapSettings".
This request holds the parameters needed by the iap server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name for which to retrieve the settings. Authorization: Requires the
`getSettings` permission for the associated resource.
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public CloudIAP.V1.SetIamPolicy setIamPolicy(String resource,
SetIamPolicyRequest content)
throws IOException
Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any
existing policy. More information about managing access via IAP can be found at:
https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
Create a request for the method "v1.setIamPolicy".
This request holds the parameters needed by the iap server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the SetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public CloudIAP.V1.TestIamPermissions testIamPermissions(String resource,
TestIamPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the Identity-Aware Proxy protected resource. More
information about managing access via IAP can be found at:
https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
Create a request for the method "v1.testIamPermissions".
This request holds the parameters needed by the iap server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
resource
- REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the TestIamPermissionsRequest
- Returns:
- the request
- Throws:
IOException
-
updateIapSettings
public CloudIAP.V1.UpdateIapSettings updateIapSettings(String name,
IapSettings content)
throws IOException
Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless
the `update_mask` is set.
Create a request for the method "v1.updateIapSettings".
This request holds the parameters needed by the iap server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Required. The resource name of the IAP protected resource.
content
- the IapSettings
- Returns:
- the request
- Throws:
IOException
-
validateAttributeExpression
public CloudIAP.V1.ValidateAttributeExpression validateAttributeExpression(String name)
throws IOException
Validates that a given CEL expression conforms to IAP restrictions.
Create a request for the method "v1.validateAttributeExpression".
This request holds the parameters needed by the iap server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- Required. The resource name of the IAP protected resource.
- Returns:
- the request
- Throws:
IOException
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy