Show / Hide Table of Contents

Class ProjectsResource.LocationsResource.PluginsResource.CreateRequest

Create an API Hub plugin resource in the API hub. Once a plugin is created, it can be used to create plugin instances.

Inheritance
object
ClientServiceRequest
ClientServiceRequest<GoogleCloudApihubV1Plugin>
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>
ProjectsResource.LocationsResource.PluginsResource.CreateRequest
Implements
IClientServiceRequest<GoogleCloudApihubV1Plugin>
IClientServiceRequest
Inherited Members
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.Xgafv
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.AccessToken
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.Alt
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.Callback
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.Fields
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.Key
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.OauthToken
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.PrettyPrint
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.QuotaUser
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.UploadType
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.UploadProtocol
ClientServiceRequest<GoogleCloudApihubV1Plugin>.Execute()
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ExecuteAsStream()
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ExecuteAsync()
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ExecuteAsync(CancellationToken)
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ExecuteAsStreamAsync()
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<GoogleCloudApihubV1Plugin>.CreateRequest(bool?)
ClientServiceRequest<GoogleCloudApihubV1Plugin>.GenerateRequestUri()
ClientServiceRequest<GoogleCloudApihubV1Plugin>.GetDefaultETagAction(string)
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ETagAction
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ModifyRequest
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ValidateParameters
ClientServiceRequest<GoogleCloudApihubV1Plugin>.ApiVersion
ClientServiceRequest<GoogleCloudApihubV1Plugin>.RequestParameters
ClientServiceRequest<GoogleCloudApihubV1Plugin>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
ClientServiceRequest.Credential
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.dll
Syntax
public class ProjectsResource.LocationsResource.PluginsResource.CreateRequest : APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>, IClientServiceRequest<GoogleCloudApihubV1Plugin>, IClientServiceRequest

Constructors

CreateRequest(IClientService, GoogleCloudApihubV1Plugin, string)

Constructs a new Create request.

Declaration
public CreateRequest(IClientService service, GoogleCloudApihubV1Plugin body, string parent)
Parameters
Type Name Description
IClientService service
GoogleCloudApihubV1Plugin body
string parent

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudApihubV1Plugin>.HttpMethod

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudApihubV1Plugin>.MethodName

Parent

Required. The parent resource where this plugin will be created. Format: projects/{project}/locations/{location}.

Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { get; }
Property Value
Type Description
string

PluginId

Optional. The ID to use for the Plugin resource, which will become the final component of the Plugin's resource name. This field is optional. * If provided, the same will be used. The service will throw an error if the specified id is already used by another Plugin resource in the API hub instance. * If not provided, a system generated id will be used. This value should be 4-500 characters, overall resource name which will be of format projects/{project}/locations/{location}/plugins/{plugin}, its length is limited to 1000 characters and valid characters are /a-z[0-9]-_/.

Declaration
[RequestParameter("pluginId", RequestParameterType.Query)]
public virtual string PluginId { get; set; }
Property Value
Type Description
string

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
string
Overrides
ClientServiceRequest<GoogleCloudApihubV1Plugin>.RestPath

Methods

GetBody()

Returns the body of the request.

Declaration
protected override object GetBody()
Returns
Type Description
object
Overrides
ClientServiceRequest<GoogleCloudApihubV1Plugin>.GetBody()

InitParameters()

Initializes Create parameter list.

Declaration
protected override void InitParameters()
Overrides
APIhubBaseServiceRequest<GoogleCloudApihubV1Plugin>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
In this article
Back to top Generated by DocFX