public interface BatchEnableServicesRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getParent()
public abstract String getParent() Parent to enable services on.
An example name would be:
projects/123
where 123 is the project number (not project ID).
The BatchEnableServices method currently only supports projects.
string parent = 1;
| Type | Description |
| String | The parent. |
getParentBytes()
public abstract ByteString getParentBytes() Parent to enable services on.
An example name would be:
projects/123
where 123 is the project number (not project ID).
The BatchEnableServices method currently only supports projects.
string parent = 1;
| Type | Description |
| ByteString | The bytes for parent. |
getServiceIds(int index)
public abstract String getServiceIds(int index) 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.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
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.
repeated string service_ids = 2;
| Name | Description |
| index | intThe index of the element to return. |
| Type | Description |
| String | The serviceIds at the given index. |
getServiceIdsBytes(int index)
public abstract ByteString getServiceIdsBytes(int index) 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.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
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.
repeated string service_ids = 2;
| Name | Description |
| index | intThe index of the value to return. |
| Type | Description |
| ByteString | The bytes of the serviceIds at the given index. |
getServiceIdsCount()
public abstract int getServiceIdsCount() 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.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
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.
repeated string service_ids = 2;
| Type | Description |
| int | The count of serviceIds. |
getServiceIdsList()
public abstract List<String> getServiceIdsList() 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.
Two or more services must be specified. To enable a single service,
use the EnableService method instead.
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.
repeated string service_ids = 2;
| Type | Description |
| List<String> | A list containing the serviceIds. |