Class ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.PatchRequest
Updates a service.
Inheritance
ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.ServiceDirectory.v1
Assembly: Google.Apis.ServiceDirectory.v1.dll
Syntax
public class ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.PatchRequest : ServiceDirectoryBaseServiceRequest<Service>, IClientServiceRequest<Service>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Service, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Service body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Service | 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.ServiceDirectory.v1.Data.Service>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ServiceDirectory.v1.Data.Service>.MethodName
Name
Immutable. The resource name for the service in the format
projects/*/locations/*/namespaces/*/services/*
.
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.ServiceDirectory.v1.Data.Service>.RestPath
UpdateMask
Required. List of fields to be updated in this request.
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.ServiceDirectory.v1.Data.Service>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()