Class ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.BranchesResource.GetRequest
Retrieves a Branch.
Inheritance
ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.BranchesResource.GetRequest
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.BranchesResource.GetRequest : DiscoveryEngineBaseServiceRequest<GoogleCloudDiscoveryengineV1alphaBranch>, IClientServiceRequest<GoogleCloudDiscoveryengineV1alphaBranch>, IClientServiceRequest
Constructors
GetRequest(IClientService, string)
Constructs a new Get request.
Declaration
public GetRequest(IClientService service, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service | |
| string | name |
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
Name
Required. The name of the branch to retrieve. Format:
projects/*/locations/global/dataStores/default_data_store/branches/some_branch_id.
"default_branch" can be used as a special branch_id, it returns the default branch that
has been set for the document.
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
View
The view to apply to the returned Branch. Defaults to Branch.BranchView.BASIC if unspecified.
Declaration
[RequestParameter("view", RequestParameterType.Query)]
public virtual ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.BranchesResource.GetRequest.ViewEnum? View { get; set; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectionsResource.DataStoresResource.BranchesResource.GetRequest.ViewEnum? |
Methods
InitParameters()
Initializes Get parameter list.
Declaration
protected override void InitParameters()