Class ProjectsResource.SubscriptionsResource.ModifyPushConfigRequest
Modifies the PushConfig
for a specified subscription. This may be used to change a push subscription
to a pull one (signified by an empty PushConfig
) or vice versa, or change the endpoint URL and other
attributes of a push subscription. Messages will accumulate for delivery continuously through the call
regardless of changes to the PushConfig
.
Inheritance
ProjectsResource.SubscriptionsResource.ModifyPushConfigRequest
Inherited Members
Namespace: Google.Apis.Pubsub.v1
Assembly: Google.Apis.Pubsub.v1.dll
Syntax
public class ProjectsResource.SubscriptionsResource.ModifyPushConfigRequest : PubsubBaseServiceRequest<Empty>, IClientServiceRequest<Empty>, IClientServiceRequest
Constructors
ModifyPushConfigRequest(IClientService, ModifyPushConfigRequest, string)
Constructs a new ModifyPushConfig request.
Declaration
public ModifyPushConfigRequest(IClientService service, ModifyPushConfigRequest body, string subscription)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
ModifyPushConfigRequest | body | |
string | subscription |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Subscription
Required. The name of the subscription. Format is projects/{project}/subscriptions/{sub}
.
Declaration
[RequestParameter("subscription", RequestParameterType.Path)]
public virtual string Subscription { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes ModifyPushConfig parameter list.
Declaration
protected override void InitParameters()