Class ProjectsResource.LocationsResource.ServicesResource
The "services" collection of methods.
Inherited Members
Namespace: Google.Apis.AgentRegistry.v1alpha
Assembly: Google.Apis.AgentRegistry.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource.ServicesResource
Constructors
ServicesResource(IClientService)
Constructs a new resource.
Declaration
public ServicesResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Methods
Create(Service, string)
Creates a new Service in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.CreateRequest Create(Service body, string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| Service | body | The body of the request. |
| string | parent | Required. The project and location to create the Service in. Expected format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.CreateRequest |
Delete(string)
Deletes a single Service.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.DeleteRequest Delete(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the Service. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.DeleteRequest |
Get(string)
Gets details of a single Service.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the Service. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.GetRequest |
List(string)
Lists Services in a given project and location.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.ListRequest List(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The project and location to list services in. Expected format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.ListRequest |
Patch(Service, string)
Updates the parameters of a single Service.
Declaration
public virtual ProjectsResource.LocationsResource.ServicesResource.PatchRequest Patch(Service body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Service | body | The body of the request. |
| string | name | Identifier. The resource name of the Service. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServicesResource.PatchRequest |