Reference documentation and code samples for the Google Cloud Design Center V1 Client class RolesAndApisConfig.
Represents configurations required within a specific project to deploy the application.
Generated from protobuf message google.cloud.designcenter.v1.RolesAndApisConfig
Namespace
Google \ Cloud \ DesignCenter \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ project_id |
string
Required. The project ID to which these configurations apply. |
↳ roles |
array<RoleInfo>
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 |
↳ apis |
array<ApiInfo>
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. |
getProjectId
Required. The project ID to which these configurations apply.
| Returns | |
|---|---|
| Type | Description |
string |
|
setProjectId
Required. The project ID to which these configurations apply.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getRoles
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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<RoleInfo> |
|
setRoles
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.
| Parameter | |
|---|---|
| Name | Description |
var |
array<RoleInfo>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getApis
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.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\RepeatedField<ApiInfo> |
|
setApis
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.
| Parameter | |
|---|---|
| Name | Description |
var |
array<ApiInfo>
|
| Returns | |
|---|---|
| Type | Description |
$this |
|