Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ProductsResource.GetRequest

Gets information associated with a Product. Possible errors: * Returns NOT_FOUND if the Product does not exist.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<Product>
VisionBaseServiceRequest<Product>
ProjectsResource.LocationsResource.ProductsResource.GetRequest
Implements
IClientServiceRequest<Product>
IClientServiceRequest
Inherited Members
VisionBaseServiceRequest<Product>.Xgafv
VisionBaseServiceRequest<Product>.AccessToken
VisionBaseServiceRequest<Product>.Alt
VisionBaseServiceRequest<Product>.Callback
VisionBaseServiceRequest<Product>.Fields
VisionBaseServiceRequest<Product>.Key
VisionBaseServiceRequest<Product>.OauthToken
VisionBaseServiceRequest<Product>.PrettyPrint
VisionBaseServiceRequest<Product>.QuotaUser
VisionBaseServiceRequest<Product>.UploadType
VisionBaseServiceRequest<Product>.UploadProtocol
ClientServiceRequest<Product>.Execute()
ClientServiceRequest<Product>.ExecuteAsStream()
ClientServiceRequest<Product>.ExecuteAsync()
ClientServiceRequest<Product>.ExecuteAsync(CancellationToken)
ClientServiceRequest<Product>.ExecuteAsStreamAsync()
ClientServiceRequest<Product>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<Product>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<Product>.GenerateRequestUri()
ClientServiceRequest<Product>.GetBody()
ClientServiceRequest<Product>.GetDefaultETagAction(String)
ClientServiceRequest<Product>.ETagAction
ClientServiceRequest<Product>.ModifyRequest
ClientServiceRequest<Product>.ValidateParameters
ClientServiceRequest<Product>.RequestParameters
ClientServiceRequest<Product>.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.Vision.v1
Assembly: Google.Apis.Vision.v1.dll
Syntax
public class GetRequest : VisionBaseServiceRequest<Product>, IClientServiceRequest<Product>, IClientServiceRequest

Constructors

GetRequest(IClientService, String)

Constructs a new Get request.

Declaration
public GetRequest(IClientService service, string name)
Parameters
Type Name Description
IClientService service
System.String name

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.Vision.v1.Data.Product>.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.Vision.v1.Data.Product>.MethodName

Name

Required. Resource name of the Product to get. Format is: projects/PROJECT_ID/locations/LOC_ID/products/PRODUCT_ID

Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { 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.Vision.v1.Data.Product>.RestPath

Methods

InitParameters()

Initializes Get parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Vision.v1.VisionBaseServiceRequest<Google.Apis.Vision.v1.Data.Product>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In This Article
Back to top