public sealed class BatchEnableServicesRequest : IMessage<BatchEnableServicesRequest>, IEquatable<BatchEnableServicesRequest>, IDeepCloneable<BatchEnableServicesRequest>, IBufferMessage, IMessage
Request message for the BatchEnableServices
method.
Implements
IMessage<BatchEnableServicesRequest>, IEquatable<BatchEnableServicesRequest>, IDeepCloneable<BatchEnableServicesRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.ServiceUsage.V1Assembly
Google.Cloud.ServiceUsage.V1.dll
Constructors
BatchEnableServicesRequest()
public BatchEnableServicesRequest()
BatchEnableServicesRequest(BatchEnableServicesRequest)
public BatchEnableServicesRequest(BatchEnableServicesRequest other)
Parameter | |
---|---|
Name | Description |
other | BatchEnableServicesRequest |
Properties
Parent
public string Parent { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
ServiceIds
public RepeatedField<string> ServiceIds { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<String> |