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.



13032
13033
13034
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13032

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

Instance Attribute Details

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

Corresponds to the JSON property folders



12990
12991
12992
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12990

def folders
  @folders
end

#resource_display_nameString

Corresponds to the JSON property resourceDisplayName

Returns:

  • (String)


12995
12996
12997
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 12995

def resource_display_name
  @resource_display_name
end

#resource_nameString

Corresponds to the JSON property resourceName

Returns:

  • (String)


13000
13001
13002
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13000

def resource_name
  @resource_name
end

#resource_ownersArray<String>

Corresponds to the JSON property resourceOwners

Returns:

  • (Array<String>)


13005
13006
13007
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13005

def resource_owners
  @resource_owners
end

#resource_parentString

Corresponds to the JSON property resourceParent

Returns:

  • (String)


13010
13011
13012
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13010

def resource_parent
  @resource_parent
end

#resource_parent_display_nameString

Corresponds to the JSON property resourceParentDisplayName

Returns:

  • (String)


13015
13016
13017
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13015

def resource_parent_display_name
  @resource_parent_display_name
end

#resource_projectString

Corresponds to the JSON property resourceProject

Returns:

  • (String)


13020
13021
13022
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13020

def resource_project
  @resource_project
end

#resource_project_display_nameString

Corresponds to the JSON property resourceProjectDisplayName

Returns:

  • (String)


13025
13026
13027
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13025

def resource_project_display_name
  @resource_project_display_name
end

#resource_typeString

Corresponds to the JSON property resourceType

Returns:

  • (String)


13030
13031
13032
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13030

def resource_type
  @resource_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
# File 'lib/google/apis/securitycenter_v1/classes.rb', line 13037

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