Reference documentation and code samples for the Google Cloud Deploy V1 API class Google::Cloud::Deploy::V1::DeployPolicyResourceSelector.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#delivery_pipeline
def delivery_pipeline() -> ::Google::Cloud::Deploy::V1::DeliveryPipelineAttribute
- (::Google::Cloud::Deploy::V1::DeliveryPipelineAttribute) — Optional. Contains attributes about a delivery pipeline.
#delivery_pipeline=
def delivery_pipeline=(value) -> ::Google::Cloud::Deploy::V1::DeliveryPipelineAttribute
- value (::Google::Cloud::Deploy::V1::DeliveryPipelineAttribute) — Optional. Contains attributes about a delivery pipeline.
- (::Google::Cloud::Deploy::V1::DeliveryPipelineAttribute) — Optional. Contains attributes about a delivery pipeline.
#target
def target() -> ::Google::Cloud::Deploy::V1::TargetAttribute
- (::Google::Cloud::Deploy::V1::TargetAttribute) — Optional. Contains attributes about a target.
#target=
def target=(value) -> ::Google::Cloud::Deploy::V1::TargetAttribute
- value (::Google::Cloud::Deploy::V1::TargetAttribute) — Optional. Contains attributes about a target.
- (::Google::Cloud::Deploy::V1::TargetAttribute) — Optional. Contains attributes about a target.