Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

CloudDeploy

import { CloudDeploy } from "https://googleapis.deno.dev/v1/clouddeploy:v1.ts";
class CloudDeploy {
constructor(client?: CredentialsClient, baseUrl?: string);
async projectsLocationsCustomTargetTypesCreate(
parent: string,
): Promise<Operation>;
async projectsLocationsCustomTargetTypesDelete(name: string, opts?: ProjectsLocationsCustomTargetTypesDeleteOptions): Promise<Operation>;
async projectsLocationsCustomTargetTypesGet(name: string): Promise<CustomTargetType>;
async projectsLocationsCustomTargetTypesGetIamPolicy(resource: string, opts?: ProjectsLocationsCustomTargetTypesGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsCustomTargetTypesList(parent: string, opts?: ProjectsLocationsCustomTargetTypesListOptions): Promise<ListCustomTargetTypesResponse>;
async projectsLocationsCustomTargetTypesPatch(
name: string,
): Promise<Operation>;
async projectsLocationsCustomTargetTypesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsDeliveryPipelinesAutomationRunsCancel(name: string, req: CancelAutomationRunRequest): Promise<CancelAutomationRunResponse>;
async projectsLocationsDeliveryPipelinesAutomationRunsGet(name: string): Promise<AutomationRun>;
async projectsLocationsDeliveryPipelinesAutomationRunsList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesAutomationRunsListOptions): Promise<ListAutomationRunsResponse>;
async projectsLocationsDeliveryPipelinesAutomationsCreate(
parent: string,
): Promise<Operation>;
async projectsLocationsDeliveryPipelinesAutomationsDelete(name: string, opts?: ProjectsLocationsDeliveryPipelinesAutomationsDeleteOptions): Promise<Operation>;
async projectsLocationsDeliveryPipelinesAutomationsGet(name: string): Promise<Automation>;
async projectsLocationsDeliveryPipelinesAutomationsList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesAutomationsListOptions): Promise<ListAutomationsResponse>;
async projectsLocationsDeliveryPipelinesAutomationsPatch(
name: string,
): Promise<Operation>;
async projectsLocationsDeliveryPipelinesCreate(
parent: string,
): Promise<Operation>;
async projectsLocationsDeliveryPipelinesDelete(name: string, opts?: ProjectsLocationsDeliveryPipelinesDeleteOptions): Promise<Operation>;
async projectsLocationsDeliveryPipelinesGet(name: string): Promise<DeliveryPipeline>;
async projectsLocationsDeliveryPipelinesGetIamPolicy(resource: string, opts?: ProjectsLocationsDeliveryPipelinesGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsDeliveryPipelinesList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesListOptions): Promise<ListDeliveryPipelinesResponse>;
async projectsLocationsDeliveryPipelinesPatch(
name: string,
): Promise<Operation>;
async projectsLocationsDeliveryPipelinesReleasesAbandon(name: string, req: AbandonReleaseRequest): Promise<AbandonReleaseResponse>;
async projectsLocationsDeliveryPipelinesReleasesCreate(
parent: string,
req: Release,
): Promise<Operation>;
async projectsLocationsDeliveryPipelinesReleasesGet(name: string): Promise<Release>;
async projectsLocationsDeliveryPipelinesReleasesList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesReleasesListOptions): Promise<ListReleasesResponse>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsAdvance(name: string, req: AdvanceRolloutRequest): Promise<AdvanceRolloutResponse>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsApprove(name: string, req: ApproveRolloutRequest): Promise<ApproveRolloutResponse>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsCancel(name: string, req: CancelRolloutRequest): Promise<CancelRolloutResponse>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsCreate(
parent: string,
req: Rollout,
): Promise<Operation>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsGet(name: string): Promise<Rollout>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJob(rollout: string, req: IgnoreJobRequest): Promise<IgnoreJobResponse>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGet(name: string): Promise<JobRun>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListOptions): Promise<ListJobRunsResponse>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminate(name: string, req: TerminateJobRunRequest): Promise<TerminateJobRunResponse>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesReleasesRolloutsListOptions): Promise<ListRolloutsResponse>;
async projectsLocationsDeliveryPipelinesReleasesRolloutsRetryJob(rollout: string, req: RetryJobRequest): Promise<RetryJobResponse>;
async projectsLocationsDeliveryPipelinesRollbackTarget(name: string, req: RollbackTargetRequest): Promise<RollbackTargetResponse>;
async projectsLocationsDeliveryPipelinesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsDeliveryPipelinesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
async projectsLocationsGet(name: string): Promise<Location>;
async projectsLocationsGetConfig(name: string): Promise<Config>;
async projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>;
async projectsLocationsOperationsCancel(name: string, req: CancelOperationRequest): Promise<Empty>;
async projectsLocationsOperationsDelete(name: string): Promise<Empty>;
async projectsLocationsOperationsGet(name: string): Promise<Operation>;
async projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<ListOperationsResponse>;
async projectsLocationsTargetsCreate(
parent: string,
req: Target,
): Promise<Operation>;
async projectsLocationsTargetsDelete(name: string, opts?: ProjectsLocationsTargetsDeleteOptions): Promise<Operation>;
async projectsLocationsTargetsGet(name: string): Promise<Target>;
async projectsLocationsTargetsGetIamPolicy(resource: string, opts?: ProjectsLocationsTargetsGetIamPolicyOptions): Promise<Policy>;
async projectsLocationsTargetsList(parent: string, opts?: ProjectsLocationsTargetsListOptions): Promise<ListTargetsResponse>;
async projectsLocationsTargetsPatch(
name: string,
req: Target,
): Promise<Operation>;
async projectsLocationsTargetsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>;
async projectsLocationsTargetsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>;
}

§Constructors

§
new CloudDeploy(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
projectsLocationsCustomTargetTypesCreate(parent: string, req: CustomTargetType, opts?: ProjectsLocationsCustomTargetTypesCreateOptions): Promise<Operation>
[src]

Creates a new CustomTargetType in a given project and location.

@param parent

Required. The parent collection in which the CustomTargetType should be created. Format should be projects/{project_id}/locations/{location_name}.

§
projectsLocationsCustomTargetTypesDelete(name: string, opts?: ProjectsLocationsCustomTargetTypesDeleteOptions): Promise<Operation>
[src]

Deletes a single CustomTargetType.

@param name

Required. The name of the CustomTargetType to delete. Format must be projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}.

§
projectsLocationsCustomTargetTypesGet(name: string): Promise<CustomTargetType>
[src]

Gets details of a single CustomTargetType.

@param name

Required. Name of the CustomTargetType. Format must be projects/{project_id}/locations/{location_name}/customTargetTypes/{custom_target_type}.

§
projectsLocationsCustomTargetTypesGetIamPolicy(resource: string, opts?: ProjectsLocationsCustomTargetTypesGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsCustomTargetTypesList(parent: string, opts?: ProjectsLocationsCustomTargetTypesListOptions): Promise<ListCustomTargetTypesResponse>
[src]

Lists CustomTargetTypes in a given project and location.

@param parent

Required. The parent that owns this collection of custom target types. Format must be projects/{project_id}/locations/{location_name}.

§
projectsLocationsCustomTargetTypesPatch(name: string, req: CustomTargetType, opts?: ProjectsLocationsCustomTargetTypesPatchOptions): Promise<Operation>
[src]

Updates a single CustomTargetType.

@param name

Optional. Name of the CustomTargetType. Format is projects/{project}/locations/{location}/customTargetTypes/a-z{0,62}.

§
projectsLocationsCustomTargetTypesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsDeliveryPipelinesAutomationRunsCancel(name: string, req: CancelAutomationRunRequest): Promise<CancelAutomationRunResponse>
[src]

Cancels an AutomationRun. The state of the AutomationRun after cancelling is CANCELLED. CancelAutomationRun can be called on AutomationRun in the state IN_PROGRESS and PENDING; AutomationRun in a different state returns an FAILED_PRECONDITION error.

@param name

Required. Name of the AutomationRun. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

§
projectsLocationsDeliveryPipelinesAutomationRunsGet(name: string): Promise<AutomationRun>
[src]

Gets details of a single AutomationRun.

@param name

Required. Name of the AutomationRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automationRuns/{automation_run}.

§
projectsLocationsDeliveryPipelinesAutomationRunsList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesAutomationRunsListOptions): Promise<ListAutomationRunsResponse>
[src]

Lists AutomationRuns in a given project and location.

@param parent

Required. The parent Delivery Pipeline, which owns this collection of automationRuns. Format must be projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}.

§
projectsLocationsDeliveryPipelinesAutomationsCreate(parent: string, req: Automation, opts?: ProjectsLocationsDeliveryPipelinesAutomationsCreateOptions): Promise<Operation>
[src]

Creates a new Automation in a given project and location.

@param parent

Required. The parent collection in which the Automation should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

§
projectsLocationsDeliveryPipelinesAutomationsDelete(name: string, opts?: ProjectsLocationsDeliveryPipelinesAutomationsDeleteOptions): Promise<Operation>
[src]

Deletes a single Automation resource.

@param name

Required. The name of the Automation to delete. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}.

§
projectsLocationsDeliveryPipelinesAutomationsGet(name: string): Promise<Automation>
[src]

Gets details of a single Automation.

@param name

Required. Name of the Automation. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/automations/{automation_name}.

§
projectsLocationsDeliveryPipelinesAutomationsList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesAutomationsListOptions): Promise<ListAutomationsResponse>
[src]

Lists Automations in a given project and location.

@param parent

Required. The parent Delivery Pipeline, which owns this collection of automations. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

§
projectsLocationsDeliveryPipelinesAutomationsPatch(name: string, req: Automation, opts?: ProjectsLocationsDeliveryPipelinesAutomationsPatchOptions): Promise<Operation>
[src]

Updates the parameters of a single Automation resource.

@param name

Output only. Name of the Automation. Format is projects/{project}/locations/{location}/deliveryPipelines/{delivery_pipeline}/automations/{automation}.

§
projectsLocationsDeliveryPipelinesCreate(parent: string, req: DeliveryPipeline, opts?: ProjectsLocationsDeliveryPipelinesCreateOptions): Promise<Operation>
[src]

Creates a new DeliveryPipeline in a given project and location.

@param parent

Required. The parent collection in which the DeliveryPipeline should be created. Format should be projects/{project_id}/locations/{location_name}.

§
projectsLocationsDeliveryPipelinesDelete(name: string, opts?: ProjectsLocationsDeliveryPipelinesDeleteOptions): Promise<Operation>
[src]

Deletes a single DeliveryPipeline.

@param name

Required. The name of the DeliveryPipeline to delete. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

§
projectsLocationsDeliveryPipelinesGet(name: string): Promise<DeliveryPipeline>
[src]

Gets details of a single DeliveryPipeline.

@param name

Required. Name of the DeliveryPipeline. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

§
projectsLocationsDeliveryPipelinesGetIamPolicy(resource: string, opts?: ProjectsLocationsDeliveryPipelinesGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsDeliveryPipelinesList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesListOptions): Promise<ListDeliveryPipelinesResponse>
[src]

Lists DeliveryPipelines in a given project and location.

@param parent

Required. The parent, which owns this collection of pipelines. Format must be projects/{project_id}/locations/{location_name}.

§
projectsLocationsDeliveryPipelinesPatch(name: string, req: DeliveryPipeline, opts?: ProjectsLocationsDeliveryPipelinesPatchOptions): Promise<Operation>
[src]

Updates the parameters of a single DeliveryPipeline.

@param name

Optional. Name of the DeliveryPipeline. Format is projects/{project}/locations/{location}/deliveryPipelines/a-z{0,62}.

§
projectsLocationsDeliveryPipelinesReleasesAbandon(name: string, req: AbandonReleaseRequest): Promise<AbandonReleaseResponse>
[src]

Abandons a Release in the Delivery Pipeline.

@param name

Required. Name of the Release. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}.

§
projectsLocationsDeliveryPipelinesReleasesCreate(parent: string, req: Release, opts?: ProjectsLocationsDeliveryPipelinesReleasesCreateOptions): Promise<Operation>
[src]

Creates a new Release in a given project and location.

@param parent

Required. The parent collection in which the Release should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

§
projectsLocationsDeliveryPipelinesReleasesGet(name: string): Promise<Release>
[src]

Gets details of a single Release.

@param name

Required. Name of the Release. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}.

§
projectsLocationsDeliveryPipelinesReleasesList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesReleasesListOptions): Promise<ListReleasesResponse>
[src]

Lists Releases in a given project and location.

@param parent

Required. The DeliveryPipeline which owns this collection of Release objects.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsAdvance(name: string, req: AdvanceRolloutRequest): Promise<AdvanceRolloutResponse>
[src]

Advances a Rollout in a given project and location.

@param name

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsApprove(name: string, req: ApproveRolloutRequest): Promise<ApproveRolloutResponse>
[src]

Approves a Rollout.

@param name

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsCancel(name: string, req: CancelRolloutRequest): Promise<CancelRolloutResponse>
[src]

Cancels a Rollout in a given project and location.

@param name

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsCreate(parent: string, req: Rollout, opts?: ProjectsLocationsDeliveryPipelinesReleasesRolloutsCreateOptions): Promise<Operation>
[src]

Creates a new Rollout in a given project and location.

@param parent

Required. The parent collection in which the Rollout should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsGet(name: string): Promise<Rollout>
[src]

Gets details of a single Rollout.

@param name

Required. Name of the Rollout. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsIgnoreJob(rollout: string, req: IgnoreJobRequest): Promise<IgnoreJobResponse>
[src]

Ignores the specified Job in a Rollout.

@param rollout

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsGet(name: string): Promise<JobRun>
[src]

Gets details of a single JobRun.

@param name

Required. Name of the JobRun. Format must be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}/jobRuns/{job_run_name}.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsListOptions): Promise<ListJobRunsResponse>
[src]

Lists JobRuns in a given project and location.

@param parent

Required. The Rollout which owns this collection of JobRun objects.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsJobRunsTerminate(name: string, req: TerminateJobRunRequest): Promise<TerminateJobRunResponse>
[src]

Terminates a Job Run in a given project and location.

@param name

Required. Name of the JobRun. Format must be projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}/jobRuns/{jobRun}.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsList(parent: string, opts?: ProjectsLocationsDeliveryPipelinesReleasesRolloutsListOptions): Promise<ListRolloutsResponse>
[src]

Lists Rollouts in a given project and location.

@param parent

Required. The Release which owns this collection of Rollout objects.

§
projectsLocationsDeliveryPipelinesReleasesRolloutsRetryJob(rollout: string, req: RetryJobRequest): Promise<RetryJobResponse>
[src]

Retries the specified Job in a Rollout.

@param rollout

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

§
projectsLocationsDeliveryPipelinesRollbackTarget(name: string, req: RollbackTargetRequest): Promise<RollbackTargetResponse>
[src]

Creates a Rollout to roll back the specified target.

@param name

Required. The DeliveryPipeline for which the rollback Rollout should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

§
projectsLocationsDeliveryPipelinesSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsDeliveryPipelinesTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

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.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsGet(name: string): Promise<Location>
[src]

Gets information about a location.

@param name

Resource name for the location.

§
projectsLocationsGetConfig(name: string): Promise<Config>
[src]

Gets the configuration for a location.

@param name

Required. Name of requested configuration.

§
projectsLocationsList(name: string, opts?: ProjectsLocationsListOptions): Promise<ListLocationsResponse>
[src]

Lists information about the supported locations for this service.

@param name

The resource that owns the locations collection, if applicable.

§
projectsLocationsOperationsCancel(name: string, req: CancelOperationRequest): Promise<Empty>
[src]

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.

@param name

The name of the operation resource to be cancelled.

§
projectsLocationsOperationsDelete(name: string): Promise<Empty>
[src]

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.

@param name

The name of the operation resource to be deleted.

§
projectsLocationsOperationsGet(name: string): Promise<Operation>
[src]

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

@param name

The name of the operation resource.

§
projectsLocationsOperationsList(name: string, opts?: ProjectsLocationsOperationsListOptions): Promise<ListOperationsResponse>
[src]

Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.

@param name

The name of the operation's parent resource.

§
projectsLocationsTargetsCreate(parent: string, req: Target, opts?: ProjectsLocationsTargetsCreateOptions): Promise<Operation>
[src]

Creates a new Target in a given project and location.

@param parent

Required. The parent collection in which the Target should be created. Format should be projects/{project_id}/locations/{location_name}.

§
projectsLocationsTargetsDelete(name: string, opts?: ProjectsLocationsTargetsDeleteOptions): Promise<Operation>
[src]

Deletes a single Target.

@param name

Required. The name of the Target to delete. Format should be projects/{project_id}/locations/{location_name}/targets/{target_name}.

§
projectsLocationsTargetsGet(name: string): Promise<Target>
[src]

Gets details of a single Target.

@param name

Required. Name of the Target. Format must be projects/{project_id}/locations/{location_name}/targets/{target_name}.

§
projectsLocationsTargetsGetIamPolicy(resource: string, opts?: ProjectsLocationsTargetsGetIamPolicyOptions): Promise<Policy>
[src]

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

@param resource

REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.

§
projectsLocationsTargetsList(parent: string, opts?: ProjectsLocationsTargetsListOptions): Promise<ListTargetsResponse>
[src]

Lists Targets in a given project and location.

@param parent

Required. The parent, which owns this collection of targets. Format must be projects/{project_id}/locations/{location_name}.

§
projectsLocationsTargetsPatch(name: string, req: Target, opts?: ProjectsLocationsTargetsPatchOptions): Promise<Operation>
[src]

Updates the parameters of a single Target.

@param name

Optional. Name of the Target. Format is projects/{project}/locations/{location}/targets/a-z{0,62}.

§
projectsLocationsTargetsSetIamPolicy(resource: string, req: SetIamPolicyRequest): Promise<Policy>
[src]

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

@param resource

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

§
projectsLocationsTargetsTestIamPermissions(resource: string, req: TestIamPermissionsRequest): Promise<TestIamPermissionsResponse>
[src]

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.

@param resource

REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.