Class ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.CreateRequest
Creates an endpoint, and returns the new endpoint.
Inheritance
ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.ServiceDirectory.v1beta1
Assembly: Google.Apis.ServiceDirectory.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.CreateRequest : ServiceDirectoryBaseServiceRequest<Endpoint>, IClientServiceRequest<Endpoint>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Endpoint, string)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Endpoint body, string parent)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Endpoint | body | |
string | parent |
Properties
EndpointId
Required. The Resource ID must be 1-63 characters long, and comply with RFC1035.
Specifically, the name must be 1-63 characters long and match the regular expression
[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?
which means the first character must be a lowercase
letter, and all following characters must be a dash, lowercase letter, or digit, except
the last character, which cannot be a dash.
Declaration
[RequestParameter("endpointId", RequestParameterType.Query)]
public virtual string EndpointId { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ServiceDirectory.v1beta1.Data.Endpoint>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ServiceDirectory.v1beta1.Data.Endpoint>.MethodName
Parent
Required. The resource name of the service that this endpoint provides.
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
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ServiceDirectory.v1beta1.Data.Endpoint>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.ServiceDirectory.v1beta1.Data.Endpoint>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()