repos_slash_update_deployment_branch_policy

Function repos_slash_update_deployment_branch_policy 

Source
pub async fn repos_slash_update_deployment_branch_policy(
    configuration: &Configuration,
    owner: &str,
    repo: &str,
    environment_name: &str,
    branch_policy_id: i32,
    deployment_branch_policy_name_pattern: DeploymentBranchPolicyNamePattern,
) -> Result<DeploymentBranchPolicy, Error<ReposSlashUpdateDeploymentBranchPolicyError>>
Expand description

Updates a deployment branch or tag policy for an environment. OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint.