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.
Implements
IMessage<CreateServiceAccountRequest>, IEquatable<CreateServiceAccountRequest>, IDeepCloneable<CreateServiceAccountRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Iam.Admin.V1Assembly
Google.Cloud.Iam.Admin.V1.dll
Constructors
CreateServiceAccountRequest()
public CreateServiceAccountRequest()
CreateServiceAccountRequest(CreateServiceAccountRequest)
public CreateServiceAccountRequest(CreateServiceAccountRequest other)
Parameter | |
---|---|
Name | Description |
other | CreateServiceAccountRequest |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
String |
ProjectName
public ProjectName ProjectName { get; set; }
ProjectName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
ServiceAccount |