Class IamPoliciesResource
The "iamPolicies" collection of methods.
Inherited Members
Namespace: Google.Apis.Iam.v1
Assembly: Google.Apis.Iam.v1.dll
Syntax
public class IamPoliciesResource
Constructors
IamPoliciesResource(IClientService)
Constructs a new resource.
Declaration
public IamPoliciesResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
LintPolicy(LintPolicyRequest)
Lints, or validates, an IAM policy. Currently checks the google.iam.v1.Binding.condition field, which
contains a condition expression for a role binding. Successful calls to this method always return an HTTP
200 OK
status code, even if the linter detects an issue in the IAM policy.
Declaration
public virtual IamPoliciesResource.LintPolicyRequest LintPolicy(LintPolicyRequest body)
Parameters
Type | Name | Description |
---|---|---|
LintPolicyRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
IamPoliciesResource.LintPolicyRequest |
QueryAuditableServices(QueryAuditableServicesRequest)
Returns a list of services that allow you to opt into audit logs that are not generated by default. To learn more about audit logs, see the Logging documentation.
Declaration
public virtual IamPoliciesResource.QueryAuditableServicesRequest QueryAuditableServices(QueryAuditableServicesRequest body)
Parameters
Type | Name | Description |
---|---|---|
QueryAuditableServicesRequest | body | The body of the request. |
Returns
Type | Description |
---|---|
IamPoliciesResource.QueryAuditableServicesRequest |