Class ProjectsResource.LocationsResource.ConnectionsResource.PatchRequest
Updates the specified connection. For security reasons, also resets credential if connection properties are in the update field mask.
Inheritance
ProjectsResource.LocationsResource.ConnectionsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.BigQueryConnectionService.v1beta1
Assembly: Google.Apis.BigQueryConnectionService.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectionsResource.PatchRequest : BigQueryConnectionServiceBaseServiceRequest<Connection>, IClientServiceRequest<Connection>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Connection, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Connection body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Connection | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryConnectionService.v1beta1.Data.Connection>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryConnectionService.v1beta1.Data.Connection>.MethodName
Name
Required. Name of the connection to update, for example:
projects/{project_id}/locations/{location_id}/connections/{connection_id}
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryConnectionService.v1beta1.Data.Connection>.RestPath
UpdateMask
Required. Update mask for the connection fields to be updated.
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.BigQueryConnectionService.v1beta1.Data.Connection>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()