AppHub
import { AppHub } from "https://googleapis.deno.dev/v1/apphub:v1.ts";
§Methods
Creates an Application in a host project and location.
Required. Project and location to create Application in. Expected format: projects/{project}/locations/{location}
.
Deletes an Application in a host project and location.
Required. Fully qualified name of the Application to delete. Expected format: projects/{project}/locations/{location}/applications/{application}
.
Gets an Application in a host project and location.
Required. Fully qualified name of the Application to fetch. Expected format: projects/{project}/locations/{location}/applications/{application}
.
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Lists Applications in a host project and location.
Required. Project and location to list Applications on. Expected format: projects/{project}/locations/{location}
.
Updates an Application in a host project and location.
Identifier. The resource name of an Application. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}"
Creates a Service in an Application.
Required. Fully qualified name of the parent Application to create the Service in. Expected format: projects/{project}/locations/{location}/applications/{application}
.
Deletes a Service from an Application.
Required. Fully qualified name of the Service to delete from an Application. Expected format: projects/{project}/locations/{location}/applications/{application}/services/{service}
.
Lists Services in an Application.
Required. Fully qualified name of the parent Application to list Services for. Expected format: projects/{project}/locations/{location}/applications/{application}
.
Updates a Service in an Application.
Identifier. The resource name of a Service. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/services/{service-id}"
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND
, INVALID_ARGUMENT
, and
PERMISSION_DENIED
errors.
REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
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.
REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Creates a Workload in an Application.
Required. Fully qualified name of the Application to create Workload in. Expected format: projects/{project}/locations/{location}/applications/{application}
.
Deletes a Workload from an Application.
Required. Fully qualified name of the Workload to delete from an Application. Expected format: projects/{project}/locations/{location}/applications/{application}/workloads/{workload}
.
Lists Workloads in an Application.
Required. Fully qualified name of the parent Application to list Workloads for. Expected format: projects/{project}/locations/{location}/applications/{application}
.
Updates a Workload in an Application.
Identifier. The resource name of the Workload. Format: "projects/{host-project-id}/locations/{location}/applications/{application-id}/workloads/{workload-id}"
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.
Required. Service project id and location to detach from a host project. Only global location is supported. Expected format: projects/{project}/locations/{location}
.
Gets a Discovered Service in a host project and location.
Required. Fully qualified name of the Discovered Service to fetch. Expected format: projects/{project}/locations/{location}/discoveredServices/{discoveredService}
.
Lists Discovered Services that can be added to an Application in a host project and location.
Required. Project and location to list Discovered Services on. Expected format: projects/{project}/locations/{location}
.
Lists a Discovered Service in a host project and location, with a given resource URI.
Required. Host project ID and location to lookup Discovered Service in. Expected format: projects/{project}/locations/{location}
.
Gets a Discovered Workload in a host project and location.
Required. Fully qualified name of the Discovered Workload to fetch. Expected format: projects/{project}/locations/{location}/discoveredWorkloads/{discoveredWorkload}
.
Lists Discovered Workloads that can be added to an Application in a host project and location.
Required. Project and location to list Discovered Workloads on. Expected format: projects/{project}/locations/{location}
.
Lists a Discovered Workload in a host project and location, with a given resource URI.
Required. Host project ID and location to lookup Discovered Workload in. Expected format: projects/{project}/locations/{location}
.
Lists information about the supported locations for this service.
The resource that owns the locations collection, if applicable.
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.
Required. Service project ID and location to lookup service project attachment for. Only global location is supported. Expected format: projects/{project}/locations/{location}
.
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1, corresponding to
Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Attaches a service project to the host project.
Required. Host project ID and location to which service project is being attached. Only global location is supported. Expected format: projects/{project}/locations/{location}
.
Deletes a service project attachment.
Required. Fully qualified name of the service project attachment to delete. Expected format: projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}
.
Gets a service project attachment.
Required. Fully qualified name of the service project attachment to retrieve. Expected format: projects/{project}/locations/{location}/serviceProjectAttachments/{serviceProjectAttachment}
.
Lists service projects attached to the host project.
Required. Host project ID and location to list service project attachments. Only global location is supported. Expected format: projects/{project}/locations/{location}
.