Class ProjectsResource.LocationsResource.ConnectClustersResource.ConnectorsResource.CreateRequest
Creates a new connector in a given Connect cluster.
Inheritance
ProjectsResource.LocationsResource.ConnectClustersResource.ConnectorsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.ManagedKafka.v1
Assembly: Google.Apis.ManagedKafka.v1.dll
Syntax
public class ProjectsResource.LocationsResource.ConnectClustersResource.ConnectorsResource.CreateRequest : ManagedKafkaBaseServiceRequest<Connector>, IClientServiceRequest<Connector>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Connector, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Connector body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Connector | body | |
string | parent |
Properties
ConnectorId
Required. The ID to use for the connector, which will become the final component of the
connector's name. The ID must be 1-63 characters long, and match the regular expression
[a-z]([-a-z0-9]*[a-z0-9])?
to comply with RFC 1035. This value is structured like:
my-connector-id
.
Declaration
[RequestParameter("connectorId", RequestParameterType.Query)]
public virtual string ConnectorId { get; set; }
Property Value
Type | Description |
---|---|
string |
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
Parent
Required. The parent Connect cluster in which to create the connector. Structured like
projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}
.
Declaration
[RequestParameter("parent", RequestParameterType.Path)]
public virtual string Parent { 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 Create parameter list.
Declaration
protected override void InitParameters()