Show / Hide Table of Contents

Class ServicesResource.BatchGetRequest

Returns the service configurations and enabled states for a given list of services.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<BatchGetServicesResponse>
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>
ServicesResource.BatchGetRequest
Implements
IClientServiceRequest<BatchGetServicesResponse>
IClientServiceRequest
Inherited Members
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Xgafv
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.AccessToken
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Alt
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Callback
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Fields
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.Key
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.OauthToken
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.PrettyPrint
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.QuotaUser
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.UploadType
ServiceUsageBaseServiceRequest<BatchGetServicesResponse>.UploadProtocol
ClientServiceRequest<BatchGetServicesResponse>.Execute()
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsStream()
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsync()
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<BatchGetServicesResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<BatchGetServicesResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<BatchGetServicesResponse>.GenerateRequestUri()
ClientServiceRequest<BatchGetServicesResponse>.GetBody()
ClientServiceRequest<BatchGetServicesResponse>.GetDefaultETagAction(String)
ClientServiceRequest<BatchGetServicesResponse>.ETagAction
ClientServiceRequest<BatchGetServicesResponse>.ModifyRequest
ClientServiceRequest<BatchGetServicesResponse>.ValidateParameters
ClientServiceRequest<BatchGetServicesResponse>.RequestParameters
ClientServiceRequest<BatchGetServicesResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
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()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top