Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.ExternalApisResource.PatchRequest

Update an External API resource in the API hub. The following fields can be updated: * display_name

  • description * documentation * endpoints * paths The update_mask should be used to specify the fields being updated.
Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>
ProjectsResource.LocationsResource.ExternalApisResource.PatchRequest
Implements
IClientServiceRequest<GoogleCloudApihubV1ExternalApi>
IClientServiceRequest
Inherited Members
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.Xgafv
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.AccessToken
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.Alt
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.Callback
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.Fields
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.Key
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.OauthToken
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.PrettyPrint
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.QuotaUser
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.UploadType
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.UploadProtocol
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.Execute()
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ExecuteAsync()
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ETagAction
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ModifyRequest
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ValidateParameters
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.ApiVersion
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.RequestParameters
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ExternalApisResource.PatchRequest : APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>, IClientServiceRequest<GoogleCloudApihubV1ExternalApi>, IClientServiceRequest

Constructors

PatchRequest(IClientService, GoogleCloudApihubV1ExternalApi, string)

Constructs a new Patch request.

Declaration
public PatchRequest(IClientService service, GoogleCloudApihubV1ExternalApi body, string name)
Parameters
Type Name Description
IClientService service
GoogleCloudApihubV1ExternalApi body
string name

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.MethodName

Name

Identifier. Format: projects/{project}/locations/{location}/externalApi/{externalApi}.

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
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.RestPath

UpdateMask

Required. The list of fields to update.

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
ClientServiceRequest<GoogleCloudApihubV1ExternalApi>.GetBody()

InitParameters()

Initializes Patch parameter list.

Declaration
protected override void InitParameters()
Overrides
APIhubBaseServiceRequest<GoogleCloudApihubV1ExternalApi>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX