Google Cloud Service Usage V1 Client - Class BatchEnableServicesRequest (1.0.5)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google Cloud Service Usage V1 Client class BatchEnableServicesRequest.
Request message for the BatchEnableServices method.
Generated from protobuf message google.api.serviceusage.v1.BatchEnableServicesRequest
Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ parent |
string
Parent to enable services on. An example name would be: |
↳ service_ids |
array
The identifiers of the services to enable on the project. A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur. |
getParent
Parent to enable services on.
An example name would be:
projects/123 where 123 is the project number.
The BatchEnableServices method currently only supports projects.
| Returns | |
|---|---|
| Type | Description |
string |
|
setParent
Parent to enable services on.
An example name would be:
projects/123 where 123 is the project number.
The BatchEnableServices method currently only supports projects.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getServiceIds
The identifiers of the services to enable on the project.
A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setServiceIds
The identifiers of the services to enable on the project.
A valid identifier would be: serviceusage.googleapis.com Enabling services requires that each service is public or is shared with the user enabling the service. A single request can enable a maximum of 20 services at a time. If more than 20 services are specified, the request will fail, and no state changes will occur.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|