Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
- Inherits:
-
Object
- Object
- Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/beyondcorp_v1alpha/classes.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb,
lib/google/apis/beyondcorp_v1alpha/representations.rb
Overview
Message to capture settings for a BrowserDlpRule
Instance Attribute Summary collapse
-
#type ⇒ String
Required.
-
#value ⇒ Hash<String,Object>
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
constructor
A new instance of GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting
Returns a new instance of GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting.
2208 2209 2210 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2208 def initialize(**args) update!(**args) end |
Instance Attribute Details
#type ⇒ String
Required. Immutable. The type of the Setting. .
Corresponds to the JSON property type
2201 2202 2203 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2201 def type @type end |
#value ⇒ Hash<String,Object>
Required. The value of the Setting.
Corresponds to the JSON property value
2206 2207 2208 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2206 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2213 2214 2215 2216 |
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2213 def update!(**args) @type = args[:type] if args.key?(:type) @value = args[:value] if args.key?(:value) end |