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.



12622
12623
12624
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12622

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

Instance Attribute Details

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

Corresponds to the JSON property folders



12580
12581
12582
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12580

def folders
  @folders
end

#resource_display_nameString

Corresponds to the JSON property resourceDisplayName

Returns:

  • (String)


12585
12586
12587
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12585

def resource_display_name
  @resource_display_name
end

#resource_nameString

Corresponds to the JSON property resourceName

Returns:

  • (String)


12590
12591
12592
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12590

def resource_name
  @resource_name
end

#resource_ownersArray<String>

Corresponds to the JSON property resourceOwners

Returns:

  • (Array<String>)


12595
12596
12597
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12595

def resource_owners
  @resource_owners
end

#resource_parentString

Corresponds to the JSON property resourceParent

Returns:

  • (String)


12600
12601
12602
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12600

def resource_parent
  @resource_parent
end

#resource_parent_display_nameString

Corresponds to the JSON property resourceParentDisplayName

Returns:

  • (String)


12605
12606
12607
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12605

def resource_parent_display_name
  @resource_parent_display_name
end

#resource_projectString

Corresponds to the JSON property resourceProject

Returns:

  • (String)


12610
12611
12612
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12610

def resource_project
  @resource_project
end

#resource_project_display_nameString

Corresponds to the JSON property resourceProjectDisplayName

Returns:

  • (String)


12615
12616
12617
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12615

def resource_project_display_name
  @resource_project_display_name
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


12620
12621
12622
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12620

def resource_type
  @resource_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12627

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