Class ProjectsResource.LocationsResource.CustomConnectorsResource.CustomConnectorVersionsResource.PublishRequest
Publish request for the CustomConnectorVersion. Once approved, the CustomConnectorVersion will be published as PartnerConnector.
Inheritance
ProjectsResource.LocationsResource.CustomConnectorsResource.CustomConnectorVersionsResource.PublishRequest
Inherited Members
Namespace: Google.Apis.Connectors.v1
Assembly: Google.Apis.Connectors.v1.dll
Syntax
public class ProjectsResource.LocationsResource.CustomConnectorsResource.CustomConnectorVersionsResource.PublishRequest : ConnectorsBaseServiceRequest<Operation>, IClientServiceRequest<Operation>, IClientServiceRequest
Constructors
PublishRequest(IClientService, PublishCustomConnectorVersionRequest, string)
Constructs a new Publish request.
Declaration
public PublishRequest(IClientService service, PublishCustomConnectorVersionRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
PublishCustomConnectorVersionRequest | 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. Resource name of the form:
projects/{project}/locations/{location}/customConnectors/{custom_connector}/customConnectorVersions/{custom_connector_version}
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 Publish parameter list.
Declaration
protected override void InitParameters()