Class ProjectsResource.LocationsResource.NamespacesResource.PatchRequest
Updates a namespace.
Inheritance
ProjectsResource.LocationsResource.NamespacesResource.PatchRequest
Inherited Members
Namespace: Google.Apis.ServiceDirectory.v1
Assembly: Google.Apis.ServiceDirectory.v1.dll
Syntax
public class ProjectsResource.LocationsResource.NamespacesResource.PatchRequest : ServiceDirectoryBaseServiceRequest<Namespace>, IClientServiceRequest<Namespace>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Namespace, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Namespace body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Namespace | 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.Namespace>.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.Namespace>.MethodName
Name
Immutable. The resource name for the namespace in the format
projects/*/locations/*/namespaces/*
.
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.Namespace>.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.Namespace>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()