Class: Google::Apis::SecuritycenterV1beta2::Process

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ Process

Returns a new instance of Process.



11058
11059
11060
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11058

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

Instance Attribute Details

#argsArray<String>

Corresponds to the JSON property args

Returns:

  • (Array<String>)


11004
11005
11006
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11004

def args
  @args
end

#arguments_truncatedBoolean Also known as: arguments_truncated?

Corresponds to the JSON property argumentsTruncated

Returns:

  • (Boolean)


11009
11010
11011
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11009

def arguments_truncated
  @arguments_truncated
end

#binaryGoogle::Apis::SecuritycenterV1beta2::File

Corresponds to the JSON property binary



11015
11016
11017
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11015

def binary
  @binary
end

#env_variablesArray<Google::Apis::SecuritycenterV1beta2::EnvironmentVariable>

Corresponds to the JSON property envVariables



11020
11021
11022
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11020

def env_variables
  @env_variables
end

#env_variables_truncatedBoolean Also known as: env_variables_truncated?

Corresponds to the JSON property envVariablesTruncated

Returns:

  • (Boolean)


11025
11026
11027
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11025

def env_variables_truncated
  @env_variables_truncated
end

#librariesArray<Google::Apis::SecuritycenterV1beta2::File>

Corresponds to the JSON property libraries



11031
11032
11033
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11031

def libraries
  @libraries
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


11036
11037
11038
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11036

def name
  @name
end

#parent_pidFixnum

Corresponds to the JSON property parentPid

Returns:

  • (Fixnum)


11041
11042
11043
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11041

def parent_pid
  @parent_pid
end

#pidFixnum

Corresponds to the JSON property pid

Returns:

  • (Fixnum)


11046
11047
11048
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11046

def pid
  @pid
end

#scriptGoogle::Apis::SecuritycenterV1beta2::File

Corresponds to the JSON property script



11051
11052
11053
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11051

def script
  @script
end

#user_idFixnum

Corresponds to the JSON property userId

Returns:

  • (Fixnum)


11056
11057
11058
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11056

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 11063

def update!(**args)
  @args = args[:args] if args.key?(:args)
  @arguments_truncated = args[:arguments_truncated] if args.key?(:arguments_truncated)
  @binary = args[:binary] if args.key?(:binary)
  @env_variables = args[:env_variables] if args.key?(:env_variables)
  @env_variables_truncated = args[:env_variables_truncated] if args.key?(:env_variables_truncated)
  @libraries = args[:libraries] if args.key?(:libraries)
  @name = args[:name] if args.key?(:name)
  @parent_pid = args[:parent_pid] if args.key?(:parent_pid)
  @pid = args[:pid] if args.key?(:pid)
  @script = args[:script] if args.key?(:script)
  @user_id = args[:user_id] if args.key?(:user_id)
end