Class ServicesResource.BatchGetRequest
Returns the service configurations and enabled states for a given list of services.
Inheritance
System.Object
ServicesResource.BatchGetRequest
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.ServiceUsage.v1
Assembly: Google.Apis.ServiceUsage.v1.dll
Syntax
public class 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 | |
| System.String | parent |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ServiceUsage.v1.Data.BatchGetServicesResponse>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ServiceUsage.v1.Data.BatchGetServicesResponse>.MethodName
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<System.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 |
|---|---|
| System.String |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ServiceUsage.v1.Data.BatchGetServicesResponse>.RestPath
Methods
InitParameters()
Initializes BatchGet parameter list.
Declaration
protected override void InitParameters()
Overrides
Google.Apis.ServiceUsage.v1.ServiceUsageBaseServiceRequest<Google.Apis.ServiceUsage.v1.Data.BatchGetServicesResponse>.InitParameters()