Class ProjectsResource.LocationsResource.PluginsResource.InstancesResource.EnableActionRequest
Enables a plugin instance in the API hub.
Inheritance
ProjectsResource.LocationsResource.PluginsResource.InstancesResource.EnableActionRequest
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PluginsResource.InstancesResource.EnableActionRequest : APIhubBaseServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest<GoogleLongrunningOperation>, IClientServiceRequest
Constructors
EnableActionRequest(IClientService, GoogleCloudApihubV1EnablePluginInstanceActionRequest, string)
Constructs a new EnableAction request.
Declaration
public EnableActionRequest(IClientService service, GoogleCloudApihubV1EnablePluginInstanceActionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
GoogleCloudApihubV1EnablePluginInstanceActionRequest | body | |
string | name |
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
Name
Required. The name of the plugin instance to enable. Format:
projects/{project}/locations/{location}/plugins/{plugin}/instances/{instance}
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
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes EnableAction parameter list.
Declaration
protected override void InitParameters()