Class: Google::Cloud::OrgPolicy::V2::AlternatePolicySpec

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb

Overview

Similar to PolicySpec but with an extra 'launch' field for launch reference. The PolicySpec here is specific for dry-run/darklaunch.

Instance Attribute Summary collapse

Instance Attribute Details

#launch::String

Returns Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.

Returns:

  • (::String)

    Reference to the launch that will be used while audit logging and to control the launch. Should be set only in the alternate policy.



74
75
76
77
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 74

class AlternatePolicySpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#spec::Google::Cloud::OrgPolicy::V2::PolicySpec

Returns Specify constraint for configurations of Google Cloud resources.

Returns:



74
75
76
77
# File 'proto_docs/google/cloud/orgpolicy/v2/orgpolicy.rb', line 74

class AlternatePolicySpec
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end