IamPolicies
class IamPolicies extends Resource (View source)
The "iamPolicies" collection of methods.
Typical usage is:
$iamService = new Google\Service\Iam(...);
$iamPolicies = $iamService->iamPolicies;
Methods
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.
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.
Details
LintPolicyResponse
lintPolicy(LintPolicyRequest $postBody, array $optParams = [])
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.
(iamPolicies.lintPolicy)
QueryAuditableServicesResponse
queryAuditableServices(QueryAuditableServicesRequest $postBody, array $optParams = [])
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.
(iamPolicies.queryAuditableServices)