Class IAM (1.0.0)

public static class IAM

Creates and manages Identity and Access Management (IAM) resources.

You can use this service to work with all of the following resources:

  • Service accounts, which identify an application or a virtual machine (VM) instance rather than a person
  • Service account keys, which service accounts use to authenticate with Google APIs
  • IAM policies for service accounts, which specify the roles that a member has for the service account
  • IAM custom roles, which help you limit the number of permissions that you grant to members

In addition, you can use this service to complete the following tasks, among others:

  • Test whether a service account can use specific permissions
  • Check which roles you can grant for a specific resource
  • Lint, or validate, condition expressions in an IAM policy

Inheritance

Object > IAM

Namespace

Google.Cloud.Iam.Admin.V1

Assembly

Google.Cloud.Iam.Admin.V1.dll

Methods

BindService(IAM.IAMBase)

public static ServerServiceDefinition BindService(IAM.IAMBase serviceImpl)

Creates service definition that can be registered with a server

Parameter
NameDescription
serviceImplIAM.IAMBase

An object implementing the server-side handling logic.

Returns
TypeDescription
ServerServiceDefinition

BindService(ServiceBinderBase, IAM.IAMBase)

public static void BindService(ServiceBinderBase serviceBinder, IAM.IAMBase serviceImpl)

Register service method with a service binder with or without implementation. Useful when customizing the service binding logic. Note: this method is part of an experimental API that can change or be removed without any prior notice.

Parameters
NameDescription
serviceBinderServiceBinderBase

Service methods will be bound by calling AddMethod on this object.

serviceImplIAM.IAMBase

An object implementing the server-side handling logic.