Class ServicesResource.BatchGetRequest
Returns the service configurations and enabled states for a given list of services.
Inheritance
ServicesResource.BatchGetRequest
Inherited Members
Namespace: Google.Apis.ServiceUsage.v1
Assembly: Google.Apis.ServiceUsage.v1.dll
Syntax
public class ServicesResource.BatchGetRequest : ServiceUsageBaseServiceRequest<BatchGetServicesResponse>, IClientServiceRequest<BatchGetServicesResponse>, IClientServiceRequest
Constructors
BatchGetRequest(IClientService, string)
Constructs a new BatchGet request.
Declaration
public BatchGetRequest(IClientService service, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Names
Names of the services to retrieve. An example name would be:
projects/123/services/serviceusage.googleapis.com
where 123
is the project number. A single request
can get a maximum of 30 services at a time.
Declaration
[RequestParameter("names", RequestParameterType.Query)]
public virtual Repeatable<string> Names { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
Parent
Parent to retrieve services from. If this is set, the parent of all of the services specified in names
must match this field. An example name would be: projects/123
where 123
is the project number. The
BatchGetServices
method currently only supports projects.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Methods
InitParameters()
Initializes BatchGet parameter list.
Declaration
protected override void InitParameters()