Class ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource
The "endpoints" collection of methods.
Inheritance
ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource
Inherited Members
Namespace: Google.Apis.ServiceDirectory.v1beta1
Assembly: Google.Apis.ServiceDirectory.v1beta1.dll
Syntax
public class ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource
Constructors
EndpointsResource(IClientService)
Constructs a new resource.
Declaration
public EndpointsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(Endpoint, string)
Creates an endpoint, and returns the new endpoint.
Declaration
public virtual ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.CreateRequest Create(Endpoint body, string parent)
Parameters
Type | Name | Description |
---|---|---|
Endpoint | body | The body of the request. |
string | parent | Required. The resource name of the service that this endpoint provides. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.CreateRequest |
Delete(string)
Deletes an endpoint.
Declaration
public virtual ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the endpoint to delete. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.DeleteRequest |
Get(string)
Gets an endpoint.
Declaration
public virtual ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the endpoint to get. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.GetRequest |
List(string)
Lists all endpoints.
Declaration
public virtual ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. The resource name of the service whose endpoints you'd like to list. |
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.ListRequest |
Patch(Endpoint, string)
Updates an endpoint.
Declaration
public virtual ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.PatchRequest Patch(Endpoint body, string name)
Parameters
Type | Name | Description |
---|---|---|
Endpoint | body | The body of the request. |
string | name | Immutable. The resource name for the endpoint in the format
|
Returns
Type | Description |
---|---|
ProjectsResource.LocationsResource.NamespacesResource.ServicesResource.EndpointsResource.PatchRequest |