Interface BatchEnableServicesRequestOrBuilder (2.41.0)

public interface BatchEnableServicesRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String 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.

string parent = 1;

Returns
TypeDescription
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.

The BatchEnableServices method currently only supports projects.

string parent = 1;

Returns
TypeDescription
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.

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;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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.

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;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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.

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;

Returns
TypeDescription
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.

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;

Returns
TypeDescription
List<String>

A list containing the serviceIds.