Batch v1 API - Class ServiceAccount (2.14.0)

public sealed class ServiceAccount : IMessage<ServiceAccount>, IEquatable<ServiceAccount>, IDeepCloneable<ServiceAccount>, IBufferMessage, IMessage

Reference documentation and code samples for the Batch v1 API class ServiceAccount.

Carries information about a Google Cloud service account.

Inheritance

object > ServiceAccount

Namespace

Google.Cloud.Batch.V1

Assembly

Google.Cloud.Batch.V1.dll

Constructors

ServiceAccount()

public ServiceAccount()

ServiceAccount(ServiceAccount)

public ServiceAccount(ServiceAccount other)
Parameter
Name Description
other ServiceAccount

Properties

Email

public string Email { get; set; }

Email address of the service account.

Property Value
Type Description
string

Scopes

public RepeatedField<string> Scopes { get; }

List of scopes to be enabled for this service account.

Property Value
Type Description
RepeatedField string

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.