Identity and Access Management (IAM) v1 API - Class CreateServiceAccountRequest (2.1.0)

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

Reference documentation and code samples for the Identity and Access Management (IAM) v1 API class CreateServiceAccountRequest.

The service account create request.

Inheritance

Object > CreateServiceAccountRequest

Namespace

Google.Cloud.Iam.Admin.V1

Assembly

Google.Cloud.Iam.Admin.V1.dll

Constructors

CreateServiceAccountRequest()

public CreateServiceAccountRequest()

CreateServiceAccountRequest(CreateServiceAccountRequest)

public CreateServiceAccountRequest(CreateServiceAccountRequest other)
Parameter
NameDescription
otherCreateServiceAccountRequest

Properties

AccountId

public string AccountId { get; set; }

Required. The account id that is used to generate the service account email address and a stable unique id. It is unique within a project, must be 6-30 characters long, and match the regular expression [a-z]([-a-z0-9]*[a-z0-9]) to comply with RFC1035.

Property Value
TypeDescription
String

Name

public string Name { get; set; }

Required. The resource name of the project associated with the service accounts, such as projects/my-project-123.

Property Value
TypeDescription
String

ProjectName

public ProjectName ProjectName { get; set; }

ProjectName-typed view over the Name resource name property.

Property Value
TypeDescription
ProjectName

ServiceAccount

public ServiceAccount ServiceAccount { get; set; }

The [ServiceAccount][google.iam.admin.v1.ServiceAccount] resource to create. Currently, only the following values are user assignable: display_name and description.

Property Value
TypeDescription
ServiceAccount