Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Control

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Control

Returns a new instance of GoogleCloudSecuritycenterV2Control.



5885
5886
5887
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5885

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

Instance Attribute Details

#control_nameString

Corresponds to the JSON property controlName

Returns:

  • (String)


5878
5879
5880
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5878

def control_name
  @control_name
end

#display_nameString

Corresponds to the JSON property displayName

Returns:

  • (String)


5883
5884
5885
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5883

def display_name
  @display_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5890
5891
5892
5893
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 5890

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