Class: Google::Apis::SecuritycenterV1::SecurityCenterProperties

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SecurityCenterProperties

Returns a new instance of SecurityCenterProperties.



12722
12723
12724
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12722

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

Instance Attribute Details

#foldersArray<Google::Apis::SecuritycenterV1::Folder>

Corresponds to the JSON property folders



12680
12681
12682
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12680

def folders
  @folders
end

#resource_display_nameString

Corresponds to the JSON property resourceDisplayName

Returns:

  • (String)


12685
12686
12687
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12685

def resource_display_name
  @resource_display_name
end

#resource_nameString

Corresponds to the JSON property resourceName

Returns:

  • (String)


12690
12691
12692
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12690

def resource_name
  @resource_name
end

#resource_ownersArray<String>

Corresponds to the JSON property resourceOwners

Returns:

  • (Array<String>)


12695
12696
12697
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12695

def resource_owners
  @resource_owners
end

#resource_parentString

Corresponds to the JSON property resourceParent

Returns:

  • (String)


12700
12701
12702
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12700

def resource_parent
  @resource_parent
end

#resource_parent_display_nameString

Corresponds to the JSON property resourceParentDisplayName

Returns:

  • (String)


12705
12706
12707
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12705

def resource_parent_display_name
  @resource_parent_display_name
end

#resource_projectString

Corresponds to the JSON property resourceProject

Returns:

  • (String)


12710
12711
12712
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12710

def resource_project
  @resource_project
end

#resource_project_display_nameString

Corresponds to the JSON property resourceProjectDisplayName

Returns:

  • (String)


12715
12716
12717
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12715

def resource_project_display_name
  @resource_project_display_name
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


12720
12721
12722
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12720

def resource_type
  @resource_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12727

def update!(**args)
  @folders = args[:folders] if args.key?(:folders)
  @resource_display_name = args[:resource_display_name] if args.key?(:resource_display_name)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @resource_owners = args[:resource_owners] if args.key?(:resource_owners)
  @resource_parent = args[:resource_parent] if args.key?(:resource_parent)
  @resource_parent_display_name = args[:resource_parent_display_name] if args.key?(:resource_parent_display_name)
  @resource_project = args[:resource_project] if args.key?(:resource_project)
  @resource_project_display_name = args[:resource_project_display_name] if args.key?(:resource_project_display_name)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
end