Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.AppHub.v1alpha
Assembly: Google.Apis.AppHub.v1alpha.dll
Syntax
public class ProjectsResource.LocationsResource
Constructors
LocationsResource(IClientService)
Constructs a new resource.
Declaration
public LocationsResource(IClientService service)
Parameters
| Type | Name | Description |
|---|---|---|
| IClientService | service |
Properties
Applications
Gets the Applications resource.
Declaration
public virtual ProjectsResource.LocationsResource.ApplicationsResource Applications { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ApplicationsResource |
DiscoveredServices
Gets the DiscoveredServices resource.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveredServicesResource DiscoveredServices { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DiscoveredServicesResource |
DiscoveredWorkloads
Gets the DiscoveredWorkloads resource.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveredWorkloadsResource DiscoveredWorkloads { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DiscoveredWorkloadsResource |
ExtendedMetadataSchemas
Gets the ExtendedMetadataSchemas resource.
Declaration
public virtual ProjectsResource.LocationsResource.ExtendedMetadataSchemasResource ExtendedMetadataSchemas { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ExtendedMetadataSchemasResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.OperationsResource |
ServiceProjectAttachments
Gets the ServiceProjectAttachments resource.
Declaration
public virtual ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource ServiceProjectAttachments { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ServiceProjectAttachmentsResource |
Methods
DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest, string)
Detaches a service project from a host project. You can call this API from any service project without needing access to the host project that it is attached to.
Declaration
public virtual ProjectsResource.LocationsResource.DetachServiceProjectAttachmentRequest DetachServiceProjectAttachment(DetachServiceProjectAttachmentRequest body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| DetachServiceProjectAttachmentRequest | body | The body of the request. |
| string | name | Required. Service project id and location to detach from a host project. Only global location is
supported. Expected format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DetachServiceProjectAttachmentRequest |
Get(string)
Gets information about a location.
Declaration
public virtual ProjectsResource.LocationsResource.GetRequest Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Resource name for the location. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GetRequest |
GetBoundary(string)
Gets a Boundary.
Declaration
public virtual ProjectsResource.LocationsResource.GetBoundaryRequest GetBoundary(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. The name of the boundary to retrieve. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.GetBoundaryRequest |
List(string)
Lists information about the supported locations for this service. This method lists locations based on
the resource scope provided in the [ListLocationsRequest.name] field: * Global locations: If name
is empty, the method lists the public locations available to all projects. * Project-specific
locations: If name follows the format projects/{project}, the method lists locations visible to
that specific project. This includes public, private, or other project-specific locations enabled for
the project. For gRPC and client library implementations, the resource name is passed as the name
field. For direct service calls, the resource name is incorporated into the request path based on the
specific service implementation and version.
Declaration
public virtual ProjectsResource.LocationsResource.ListRequest List(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The resource that owns the locations collection, if applicable. |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ListRequest |
LookupServiceProjectAttachment(string)
Lists a service project attachment for a given service project. You can call this API from any project to find if it is attached to a host project.
Declaration
public virtual ProjectsResource.LocationsResource.LookupServiceProjectAttachmentRequest LookupServiceProjectAttachment(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Service project ID and location to lookup service project attachment for. Only global location
is supported. Expected format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.LookupServiceProjectAttachmentRequest |
UpdateBoundary(Boundary, string)
Updates a Boundary.
Declaration
public virtual ProjectsResource.LocationsResource.UpdateBoundaryRequest UpdateBoundary(Boundary body, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| Boundary | body | The body of the request. |
| string | name | Identifier. The resource name of the boundary. Format: "projects/{project}/locations/{location}/boundary" |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.UpdateBoundaryRequest |