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

Reference documentation and code samples for the Design Center v1 API class RolesAndApisConfig.

Represents configurations required within a specific project to deploy the
application.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RolesAndApisConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[RolesAndApisConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.RolesAndApisConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[RolesAndApisConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.RolesAndApisConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[RolesAndApisConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.RolesAndApisConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DesignCenter.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1)

## Assembly

Google.Cloud.DesignCenter.V1.dll

## Constructors

### RolesAndApisConfig()

    public RolesAndApisConfig()

### RolesAndApisConfig(RolesAndApisConfig)

    public RolesAndApisConfig(RolesAndApisConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.RolesAndApisConfig` |

## Properties

### Apis

    public RepeatedField<ApiInfo> Apis { get; }

Optional. APIs that you must enable in this project before you deploy the
application, in the form of "\*.googleapis.com". The maximum number of APIs
allowed is 500.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.ApiInfo` |   |

### ProjectId

    public string ProjectId { get; set; }

Required. The project ID to which these configurations apply.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Roles

    public RepeatedField<RoleInfo> Roles { get; }

Optional. IAM roles that the deployment service account needs to deploy
the application within this project.
Each role must be a valid IAM role name, such as `roles/editor`.
The maximum number of roles allowed is 500.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DesignCenter.V1/latest/Google.Cloud.DesignCenter.V1.RoleInfo` |   |