Class: Google::Cloud::Deploy::V1::DeployPolicyResourceSelector
- Inherits:
-
Object
- Object
- Google::Cloud::Deploy::V1::DeployPolicyResourceSelector
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/deploy/v1/cloud_deploy.rb
Overview
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.
Instance Attribute Summary collapse
-
#delivery_pipeline ⇒ ::Google::Cloud::Deploy::V1::DeliveryPipelineAttribute
Optional.
-
#target ⇒ ::Google::Cloud::Deploy::V1::TargetAttribute
Optional.
Instance Attribute Details
#delivery_pipeline ⇒ ::Google::Cloud::Deploy::V1::DeliveryPipelineAttribute
Returns Optional. Contains attributes about a delivery pipeline.
1601 1602 1603 1604 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1601 class DeployPolicyResourceSelector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#target ⇒ ::Google::Cloud::Deploy::V1::TargetAttribute
Returns Optional. Contains attributes about a target.
1601 1602 1603 1604 |
# File 'proto_docs/google/cloud/deploy/v1/cloud_deploy.rb', line 1601 class DeployPolicyResourceSelector include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |