Class V1Resource
The "v1" collection of methods.
Inherited Members
Namespace: Google.Apis.CloudIAP.v1
Assembly: Google.Apis.CloudIAP.v1.dll
Syntax
public class V1Resource
Constructors
V1Resource(IClientService)
Constructs a new resource.
Declaration
public V1Resource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
GetIamPolicy(GetIamPolicyRequest, string)
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
Declaration
public virtual V1Resource.GetIamPolicyRequest GetIamPolicy(GetIamPolicyRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| GetIamPolicyRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| V1Resource.GetIamPolicyRequest |
GetIapSettings(string)
Gets the IAP settings on a particular IAP protected resource.
Declaration
public virtual V1Resource.GetIapSettingsRequest GetIapSettings(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name for which to retrieve the settings. Authorization: Requires the |
Returns
| Type | Description |
|---|---|
| V1Resource.GetIapSettingsRequest |
SetIamPolicy(SetIamPolicyRequest, string)
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
Declaration
public virtual V1Resource.SetIamPolicyRequest SetIamPolicy(SetIamPolicyRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| SetIamPolicyRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| V1Resource.SetIamPolicyRequest |
TestIamPermissions(TestIamPermissionsRequest, string)
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
Declaration
public virtual V1Resource.TestIamPermissionsRequest TestIamPermissions(TestIamPermissionsRequest body, string resource)
Parameters
| Type | Name | Description |
|---|---|---|
| TestIamPermissionsRequest | body | The body of the request. |
| string | resource | REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field. |
Returns
| Type | Description |
|---|---|
| V1Resource.TestIamPermissionsRequest |
UpdateIapSettings(IapSettings, string)
Updates the IAP settings on a particular IAP protected resource. It replaces all fields unless the
update_mask is set.
Declaration
public virtual V1Resource.UpdateIapSettingsRequest UpdateIapSettings(IapSettings body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IapSettings | body | The body of the request. |
| string | name | Required. The resource name of the IAP protected resource. |
Returns
| Type | Description |
|---|---|
| V1Resource.UpdateIapSettingsRequest |
ValidateAttributeExpression(string)
Validates that a given CEL expression conforms to IAP restrictions.
Declaration
public virtual V1Resource.ValidateAttributeExpressionRequest ValidateAttributeExpression(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The resource name of the IAP protected resource. |
Returns
| Type | Description |
|---|---|
| V1Resource.ValidateAttributeExpressionRequest |