View Source GoogleApi.CloudDeploy.V1.Model.DeployPolicyResourceSelector (google_api_cloud_deploy v0.13.1)

Contains information on the resources to select for a deploy policy. Attributes provided must all match the resource in order for policy restrictions to apply. For example, if delivery pipelines attributes given are an id "prod" and labels "foo: bar", a delivery pipeline resource must match both that id and have that label in order to be subject to the policy.

Attributes

  • deliveryPipeline (type: GoogleApi.CloudDeploy.V1.Model.DeliveryPipelineAttribute.t, default: nil) - Optional. Contains attributes about a delivery pipeline.
  • target (type: GoogleApi.CloudDeploy.V1.Model.TargetAttribute.t, default: nil) - Optional. Contains attributes about a target.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.CloudDeploy.V1.Model.DeployPolicyResourceSelector{
  deliveryPipeline:
    GoogleApi.CloudDeploy.V1.Model.DeliveryPipelineAttribute.t() | nil,
  target: GoogleApi.CloudDeploy.V1.Model.TargetAttribute.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.