Class CategoriesResource.BatchGetRequest
Returns a list of business categories for the provided language and GConcept ids.
Inheritance
CategoriesResource.BatchGetRequest
Inherited Members
Namespace: Google.Apis.MyBusinessBusinessInformation.v1
Assembly: Google.Apis.MyBusinessBusinessInformation.v1.dll
Syntax
public class CategoriesResource.BatchGetRequest : MyBusinessBusinessInformationBaseServiceRequest<BatchGetCategoriesResponse>, IClientServiceRequest<BatchGetCategoriesResponse>, IClientServiceRequest
Constructors
BatchGetRequest(IClientService)
Constructs a new BatchGet request.
Declaration
public BatchGetRequest(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
LanguageCode
Required. The BCP 47 code of language that the category names should be returned in.
Declaration
[RequestParameter("languageCode", RequestParameterType.Query)]
public virtual string LanguageCode { get; set; }
Property Value
Type | Description |
---|---|
string |
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Names
Required. At least one name must be set. The GConcept ids the localized category names should be returned for. To return details for more than one category, repeat this parameter in the request.
Declaration
[RequestParameter("names", RequestParameterType.Query)]
public virtual Repeatable<string> Names { get; set; }
Property Value
Type | Description |
---|---|
Repeatable<string> |
RegionCode
Optional. The ISO 3166-1 alpha-2 country code used to infer non-standard language.
Declaration
[RequestParameter("regionCode", RequestParameterType.Query)]
public virtual string RegionCode { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
View
Required. Specifies which parts to the Category resource should be returned in the response.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual CategoriesResource.BatchGetRequest.ViewEnum? View { get; set; }
Property Value
Type | Description |
---|---|
CategoriesResource.BatchGetRequest.ViewEnum? |
Methods
InitParameters()
Initializes BatchGet parameter list.
Declaration
protected override void InitParameters()