Class: Google::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule

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

Browser DLP Rule for a PartnerTenant

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule

Returns a new instance of GoogleCloudBeyondcorpPartnerservicesV1alphaBrowserDlpRule.



1871
1872
1873
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1871

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

Instance Attribute Details

#groupGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaGroup

Message to capture group information Corresponds to the JSON property group



1858
1859
1860
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1858

def group
  @group
end

#nameString

Output only. Unique resource name. The name is ignored when creating BrowserDlpRule. Corresponds to the JSON property name

Returns:

  • (String)


1864
1865
1866
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1864

def name
  @name
end

#rule_settingGoogle::Apis::BeyondcorpV1alpha::GoogleCloudBeyondcorpPartnerservicesV1alphaRuleSetting

Message to capture settings for a BrowserDlpRule Corresponds to the JSON property ruleSetting



1869
1870
1871
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1869

def rule_setting
  @rule_setting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1876
1877
1878
1879
1880
# File 'lib/google/apis/beyondcorp_v1alpha/classes.rb', line 1876

def update!(**args)
  @group = args[:group] if args.key?(:group)
  @name = args[:name] if args.key?(:name)
  @rule_setting = args[:rule_setting] if args.key?(:rule_setting)
end