target.apidocs.com.google.api.services.apphub.v1.AppHub.Projects.Locations.Applications.html Maven / Gradle / Ivy
The newest version!
AppHub.Projects.Locations.Applications (App Hub API v1-rev20241008-2.0.0)
com.google.api.services.apphub.v1
Class AppHub.Projects.Locations.Applications
- java.lang.Object
-
- com.google.api.services.apphub.v1.AppHub.Projects.Locations.Applications
-
- Enclosing class:
- AppHub.Projects.Locations
public class AppHub.Projects.Locations.Applications
extends Object
The "applications" collection of methods.
-
-
Nested Class Summary
Nested Classes
Modifier and Type
Class and Description
class
AppHub.Projects.Locations.Applications.Create
class
AppHub.Projects.Locations.Applications.Delete
class
AppHub.Projects.Locations.Applications.Get
class
AppHub.Projects.Locations.Applications.GetIamPolicy
class
AppHub.Projects.Locations.Applications.List
class
AppHub.Projects.Locations.Applications.Patch
class
AppHub.Projects.Locations.Applications.Services
The "services" collection of methods.
class
AppHub.Projects.Locations.Applications.SetIamPolicy
class
AppHub.Projects.Locations.Applications.TestIamPermissions
class
AppHub.Projects.Locations.Applications.Workloads
The "workloads" collection of methods.
-
Constructor Summary
Constructors
Constructor and Description
Applications()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
AppHub.Projects.Locations.Applications.Create
create(String parent,
Application content)
Creates an Application in a host project and location.
AppHub.Projects.Locations.Applications.Delete
delete(String name)
Deletes an Application in a host project and location.
AppHub.Projects.Locations.Applications.Get
get(String name)
Gets an Application in a host project and location.
AppHub.Projects.Locations.Applications.GetIamPolicy
getIamPolicy(String resource)
Gets the access control policy for a resource.
AppHub.Projects.Locations.Applications.List
list(String parent)
Lists Applications in a host project and location.
AppHub.Projects.Locations.Applications.Patch
patch(String name,
Application content)
Updates an Application in a host project and location.
AppHub.Projects.Locations.Applications.Services
services()
An accessor for creating requests from the Services collection.
AppHub.Projects.Locations.Applications.SetIamPolicy
setIamPolicy(String resource,
SetIamPolicyRequest content)
Sets the access control policy on the specified resource.
AppHub.Projects.Locations.Applications.TestIamPermissions
testIamPermissions(String resource,
TestIamPermissionsRequest content)
Returns permissions that a caller has on the specified resource.
AppHub.Projects.Locations.Applications.Workloads
workloads()
An accessor for creating requests from the Workloads collection.
-
-
Method Detail
-
create
public AppHub.Projects.Locations.Applications.Create create(String parent,
Application content)
throws IOException
Creates an Application in a host project and location.
Create a request for the method "applications.create".
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:
parent
- Required. Project and location to create Application in. Expected format:
`projects/{project}/locations/{location}`.
content
- the Application
- Returns:
- the request
- Throws:
IOException
-
delete
public AppHub.Projects.Locations.Applications.Delete delete(String name)
throws IOException
Deletes an Application in a host project and location.
Create a request for the method "applications.delete".
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. Fully qualified name of the Application to delete. Expected format:
`projects/{project}/locations/{location}/applications/{application}`.
- Returns:
- the request
- Throws:
IOException
-
get
public AppHub.Projects.Locations.Applications.Get get(String name)
throws IOException
Gets an Application in a host project and location.
Create a request for the method "applications.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
- Required. Fully qualified name of the Application to fetch. Expected format:
`projects/{project}/locations/{location}/applications/{application}`.
- Returns:
- the request
- Throws:
IOException
-
getIamPolicy
public AppHub.Projects.Locations.Applications.GetIamPolicy getIamPolicy(String resource)
throws IOException
Gets the access control policy for a resource. Returns an empty policy if the resource exists and
does not have a policy set.
Create a request for the method "applications.getIamPolicy".
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:
resource
- REQUIRED: The resource for which the policy is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
- Returns:
- the request
- Throws:
IOException
-
list
public AppHub.Projects.Locations.Applications.List list(String parent)
throws IOException
Lists Applications in a host project and location.
Create a request for the method "applications.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:
parent
- Required. Project and location to list Applications on. Expected format:
`projects/{project}/locations/{location}`.
- Returns:
- the request
- Throws:
IOException
-
patch
public AppHub.Projects.Locations.Applications.Patch patch(String name,
Application content)
throws IOException
Updates an Application in a host project and location.
Create a request for the method "applications.patch".
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
- Identifier. The resource name of an Application. Format: `"projects/{host-project-
id}/locations/{location}/applications/{application-id}"`
content
- the Application
- Returns:
- the request
- Throws:
IOException
-
setIamPolicy
public AppHub.Projects.Locations.Applications.SetIamPolicy setIamPolicy(String resource,
SetIamPolicyRequest content)
throws IOException
Sets the access control policy on the specified resource. Replaces any existing policy. Can
return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
Create a request for the method "applications.setIamPolicy".
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:
resource
- REQUIRED: The resource for which the policy is being specified. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the SetIamPolicyRequest
- Returns:
- the request
- Throws:
IOException
-
testIamPermissions
public AppHub.Projects.Locations.Applications.TestIamPermissions testIamPermissions(String resource,
TestIamPermissionsRequest content)
throws IOException
Returns permissions that a caller has on the specified resource. If the resource does not exist,
this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is
designed to be used for building permission-aware UIs and command-line tools, not for
authorization checking. This operation may "fail open" without warning.
Create a request for the method "applications.testIamPermissions".
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:
resource
- REQUIRED: The resource for which the policy detail is being requested. See [Resource
names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for
this field.
content
- the TestIamPermissionsRequest
- Returns:
- the request
- Throws:
IOException
-
services
public AppHub.Projects.Locations.Applications.Services services()
An accessor for creating requests from the Services collection.
The typical use is:
AppHub apphub = new AppHub(...);
AppHub.Services.List request = apphub.services().list(parameters ...)
- Returns:
- the resource collection
-
workloads
public AppHub.Projects.Locations.Applications.Workloads workloads()
An accessor for creating requests from the Workloads collection.
The typical use is:
AppHub apphub = new AppHub(...);
AppHub.Workloads.List request = apphub.workloads().list(parameters ...)
- Returns:
- the resource collection
Copyright © 2011–2024 Google. All rights reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy