Class ProjectsResource.LocationsResource
The "locations" collection of methods.
Inherited Members
Namespace: Google.Apis.APIhub.v1
Assembly: Google.Apis.APIhub.v1.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
Addons
Gets the Addons resource.
Declaration
public virtual ProjectsResource.LocationsResource.AddonsResource Addons { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AddonsResource |
ApiHubInstances
Gets the ApiHubInstances resource.
Declaration
public virtual ProjectsResource.LocationsResource.ApiHubInstancesResource ApiHubInstances { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ApiHubInstancesResource |
Apis
Gets the Apis resource.
Declaration
public virtual ProjectsResource.LocationsResource.ApisResource Apis { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ApisResource |
Attributes
Gets the Attributes resource.
Declaration
public virtual ProjectsResource.LocationsResource.AttributesResource Attributes { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.AttributesResource |
Curations
Gets the Curations resource.
Declaration
public virtual ProjectsResource.LocationsResource.CurationsResource Curations { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CurationsResource |
Dependencies
Gets the Dependencies resource.
Declaration
public virtual ProjectsResource.LocationsResource.DependenciesResource Dependencies { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DependenciesResource |
Deployments
Gets the Deployments resource.
Declaration
public virtual ProjectsResource.LocationsResource.DeploymentsResource Deployments { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DeploymentsResource |
DiscoveredApiObservations
Gets the DiscoveredApiObservations resource.
Declaration
public virtual ProjectsResource.LocationsResource.DiscoveredApiObservationsResource DiscoveredApiObservations { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.DiscoveredApiObservationsResource |
ExternalApis
Gets the ExternalApis resource.
Declaration
public virtual ProjectsResource.LocationsResource.ExternalApisResource ExternalApis { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.ExternalApisResource |
HostProjectRegistrations
Gets the HostProjectRegistrations resource.
Declaration
public virtual ProjectsResource.LocationsResource.HostProjectRegistrationsResource HostProjectRegistrations { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.HostProjectRegistrationsResource |
Operations
Gets the Operations resource.
Declaration
public virtual ProjectsResource.LocationsResource.OperationsResource Operations { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.OperationsResource |
Plugins
Gets the Plugins resource.
Declaration
public virtual ProjectsResource.LocationsResource.PluginsResource Plugins { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.PluginsResource |
RuntimeProjectAttachments
Gets the RuntimeProjectAttachments resource.
Declaration
public virtual ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource RuntimeProjectAttachments { get; }
Property Value
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.RuntimeProjectAttachmentsResource |
Methods
CollectApiData(GoogleCloudApihubV1CollectApiDataRequest, string)
Collect API data from a source and push it to Hub's collect layer.
Declaration
public virtual ProjectsResource.LocationsResource.CollectApiDataRequest CollectApiData(GoogleCloudApihubV1CollectApiDataRequest body, string location)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudApihubV1CollectApiDataRequest | body | The body of the request. |
| string | location | Required. The regional location of the API hub instance and its resources. Format:
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.CollectApiDataRequest |
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 |
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 |
LookupRuntimeProjectAttachment(string)
Look up a runtime project attachment. This API can be called in the context of any project.
Declaration
public virtual ProjectsResource.LocationsResource.LookupRuntimeProjectAttachmentRequest LookupRuntimeProjectAttachment(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all
regions. Expected format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.LookupRuntimeProjectAttachmentRequest |
RetrieveApiViews(string)
Retrieve API views.
Declaration
public virtual ProjectsResource.LocationsResource.RetrieveApiViewsRequest RetrieveApiViews(string parent)
Parameters
| Type | Name | Description |
|---|---|---|
| string | parent | Required. The parent resource name. Format: |
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.RetrieveApiViewsRequest |
SearchResources(GoogleCloudApihubV1SearchResourcesRequest, string)
Search across API-Hub resources.
Declaration
public virtual ProjectsResource.LocationsResource.SearchResourcesRequest SearchResources(GoogleCloudApihubV1SearchResourcesRequest body, string location)
Parameters
| Type | Name | Description |
|---|---|---|
| GoogleCloudApihubV1SearchResourcesRequest | body | The body of the request. |
| string | location | Required. The resource name of the location which will be of the type
|
Returns
| Type | Description |
|---|---|
| ProjectsResource.LocationsResource.SearchResourcesRequest |