Module: Google::Iam::Credentials::V1::IAMCredentials
- Defined in:
- lib/google/iam/credentials/v1/iam_credentials.rb,
lib/google/iam/credentials/v1/iam_credentials/rest.rb,
lib/google/iam/credentials/v1/iam_credentials/paths.rb,
lib/google/iam/credentials/v1/iam_credentials/client.rb,
lib/google/iam/credentials/v1/iam_credentials/credentials.rb,
lib/google/iam/credentials/v1/iam_credentials/rest/client.rb,
lib/google/iam/credentials/v1/iam_credentials/rest/service_stub.rb
Overview
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.
To load this service and instantiate a REST client:
require "google/iam/credentials/v1/iam_credentials/rest"
client = ::Google::Iam::Credentials::V1::IAMCredentials::Rest::Client.new
Defined Under Namespace
Modules: Paths, Rest Classes: Client, Credentials