target.apidocs.com.google.api.services.apphub.v1.AppHub.Projects.Locations.html Maven / Gradle / Ivy
AppHub.Projects.Locations (App Hub API v1-rev20241008-2.0.0)
com.google.api.services.apphub.v1
Class AppHub.Projects.Locations
- java.lang.Object
-
- com.google.api.services.apphub.v1.AppHub.Projects.Locations
-
- Enclosing class:
- AppHub.Projects
public class AppHub.Projects.Locations
extends Object
The "locations" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AppHub.Projects.Locations.Applications
The "applications" collection of methods.
class
AppHub.Projects.Locations.DetachServiceProjectAttachment
class
AppHub.Projects.Locations.DiscoveredServices
The "discoveredServices" collection of methods.
class
AppHub.Projects.Locations.DiscoveredWorkloads
The "discoveredWorkloads" collection of methods.
class
AppHub.Projects.Locations.Get
class
AppHub.Projects.Locations.List
class
AppHub.Projects.Locations.LookupServiceProjectAttachment
class
AppHub.Projects.Locations.Operations
The "operations" collection of methods.
class
AppHub.Projects.Locations.ServiceProjectAttachments
The "serviceProjectAttachments" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
Locations()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AppHub.Projects.Locations.Applications
applications()
An accessor for creating requests from the Applications collection.
AppHub.Projects.Locations.DetachServiceProjectAttachment
detachServiceProjectAttachment(String name,
DetachServiceProjectAttachmentRequest content)
Detaches a service project from a host project.
AppHub.Projects.Locations.DiscoveredServices
discoveredServices()
An accessor for creating requests from the DiscoveredServices collection.
AppHub.Projects.Locations.DiscoveredWorkloads
discoveredWorkloads()
An accessor for creating requests from the DiscoveredWorkloads collection.
AppHub.Projects.Locations.Get
get(String name)
Gets information about a location.
AppHub.Projects.Locations.List
list(String name)
Lists information about the supported locations for this service.
AppHub.Projects.Locations.LookupServiceProjectAttachment
lookupServiceProjectAttachment(String name)
Lists a service project attachment for a given service project.
AppHub.Projects.Locations.Operations
operations()
An accessor for creating requests from the Operations collection.
AppHub.Projects.Locations.ServiceProjectAttachments
serviceProjectAttachments()
An accessor for creating requests from the ServiceProjectAttachments collection.
-
-
Method Detail
-
detachServiceProjectAttachment
public AppHub.Projects.Locations.DetachServiceProjectAttachment detachServiceProjectAttachment(String name,
DetachServiceProjectAttachmentRequest content)
throws IOException
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.
Create a request for the method "locations.detachServiceProjectAttachment".
This request holds the parameters needed by the apphub server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- Required. Service project id and location to detach from a host project. Only global location is
supported. Expected format: `projects/{project}/locations/{location}`.
content
- the DetachServiceProjectAttachmentRequest
- Returns:
- the request
- Throws:
IOException
-
get
public AppHub.Projects.Locations.Get get(String name)
throws IOException
Gets information about a location.
Create a request for the method "locations.get".
This request holds the parameters needed by the apphub server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- Resource name for the location.
- Returns:
- the request
- Throws:
IOException
-
list
public AppHub.Projects.Locations.List list(String name)
throws IOException
Lists information about the supported locations for this service.
Create a request for the method "locations.list".
This request holds the parameters needed by the apphub server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
- Parameters:
name
- The resource that owns the locations collection, if applicable.
- Returns:
- the request
- Throws:
IOException
-
lookupServiceProjectAttachment
public AppHub.Projects.Locations.LookupServiceProjectAttachment lookupServiceProjectAttachment(String name)
throws IOException
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.
Create a request for the method "locations.lookupServiceProjectAttachment".
This request holds the parameters needed by the apphub server. After setting any optional
parameters, call the AbstractGoogleClientRequest.execute()
method to invoke the remote
operation.
- Parameters:
name
- Required. Service project ID and location to lookup service project attachment for. Only global
location is supported. Expected format: `projects/{project}/locations/{location}`.
- Returns:
- the request
- Throws:
IOException
-
applications
public AppHub.Projects.Locations.Applications applications()
An accessor for creating requests from the Applications collection.
The typical use is:
AppHub apphub = new AppHub(...);
AppHub.Applications.List request = apphub.applications().list(parameters ...)
- Returns:
- the resource collection
-
discoveredServices
public AppHub.Projects.Locations.DiscoveredServices discoveredServices()
An accessor for creating requests from the DiscoveredServices collection.
The typical use is:
AppHub apphub = new AppHub(...);
AppHub.DiscoveredServices.List request = apphub.discoveredServices().list(parameters ...)
- Returns:
- the resource collection
-
discoveredWorkloads
public AppHub.Projects.Locations.DiscoveredWorkloads discoveredWorkloads()
An accessor for creating requests from the DiscoveredWorkloads collection.
The typical use is:
AppHub apphub = new AppHub(...);
AppHub.DiscoveredWorkloads.List request = apphub.discoveredWorkloads().list(parameters ...)
- Returns:
- the resource collection
-
operations
public AppHub.Projects.Locations.Operations operations()
An accessor for creating requests from the Operations collection.
The typical use is:
AppHub apphub = new AppHub(...);
AppHub.Operations.List request = apphub.operations().list(parameters ...)
- Returns:
- the resource collection
-
serviceProjectAttachments
public AppHub.Projects.Locations.ServiceProjectAttachments serviceProjectAttachments()
An accessor for creating requests from the ServiceProjectAttachments collection.
The typical use is:
AppHub apphub = new AppHub(...);
AppHub.ServiceProjectAttachments.List request = apphub.serviceProjectAttachments().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy