Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting

Returns a new instance of GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting.



2262
2263
2264
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2262

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#typeString

Required. Immutable. The type of the Setting. . Corresponds to the JSON property type

Returns:

  • (String)


2255
2256
2257
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2255

def type
  @type
end

#valueHash<String,Object>

Required. The value of the Setting. Corresponds to the JSON property value

Returns:

  • (Hash<String,Object>)


2260
2261
2262
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2260

def value
  @value
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2267
2268
2269
2270
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 2267

def update!(**args)
  @type = args[:type] if args.key?(:type)
  @value = args[:value] if args.key?(:value)
end