A service account is a special type of Google account that belongs to your
application or a virtual machine (VM), instead of to an individual end user.
Your application assumes the identity of the service account to call Google
APIs, so that the users aren't directly involved.
Service account credentials are used to temporarily assume the identity
of the service account. Supported credential types include OAuth 2.0 access
tokens, OpenID Connect ID tokens, self-signed JSON Web Tokens (JWTs), and
more.
public static void BindService(ServiceBinderBase serviceBinder, IAMCredentials.IAMCredentialsBase 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
Name
Description
serviceBinder
Grpc.Core.ServiceBinderBase
Service methods will be bound by calling AddMethod on this object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the IAMCredentials is 2.4.0, with multiple previous versions available, ranging back to version 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eIAMCredentials represents a service account, which is a special Google account type used by applications or virtual machines, rather than individual users.\u003c/p\u003e\n"],["\u003cp\u003eService account credentials enable temporary assumption of a service account's identity, and can include various credential types like OAuth 2.0 tokens and JSON Web Tokens (JWTs).\u003c/p\u003e\n"],["\u003cp\u003eThe IAMCredentials class offers methods like \u003ccode\u003eBindService\u003c/code\u003e, which creates or registers a service definition for server-side handling logic.\u003c/p\u003e\n"],["\u003cp\u003eThe IAMCredentials class inherits from \u003ccode\u003eSystem.Object\u003c/code\u003e, offering inherited methods such as \u003ccode\u003eToString\u003c/code\u003e, \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eMemberwiseClone\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]