Class AdminResource.ProjectsResource.LocationsResource.TopicsResource.PatchRequest
Updates properties of the specified topic.
Inheritance
AdminResource.ProjectsResource.LocationsResource.TopicsResource.PatchRequest
Inherited Members
Namespace: Google.Apis.PubsubLite.v1
Assembly: Google.Apis.PubsubLite.v1.dll
Syntax
public class AdminResource.ProjectsResource.LocationsResource.TopicsResource.PatchRequest : PubsubLiteBaseServiceRequest<Topic>, IClientServiceRequest<Topic>, IClientServiceRequest
Constructors
PatchRequest(IClientService, Topic, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, Topic body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Topic | 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.PubsubLite.v1.Data.Topic>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.PubsubLite.v1.Data.Topic>.MethodName
Name
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_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.PubsubLite.v1.Data.Topic>.RestPath
UpdateMask
Required. A mask specifying the topic fields to change.
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.PubsubLite.v1.Data.Topic>.GetBody()
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()