Class ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchFileDiffRequest
Fetches Git diff for an uncommitted file in a Workspace.
Inheritance
ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchFileDiffRequest
Inherited Members
Namespace: Google.Apis.Dataform.v1beta1
Assembly: Google.Apis.Dataform.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.RepositoriesResource.WorkspacesResource.FetchFileDiffRequest : DataformBaseServiceRequest<FetchFileDiffResponse>, IClientServiceRequest<FetchFileDiffResponse>, IClientServiceRequest
Constructors
FetchFileDiffRequest(IClientService, string)
Constructs a new FetchFileDiff request.
Declaration
public FetchFileDiffRequest(IClientService service, string workspace)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
string | workspace |
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
Path
Required. The file's full path including filename, relative to the workspace root.
Declaration
[RequestParameter("path", RequestParameterType.Query)]
public virtual string Path { get; set; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Workspace
Required. The workspace's name.
Declaration
[RequestParameter("workspace", RequestParameterType.Path)]
public virtual string Workspace { get; }
Property Value
Type | Description |
---|---|
string |
Methods
InitParameters()
Initializes FetchFileDiff parameter list.
Declaration
protected override void InitParameters()