Class: Google::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2Process

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) ⇒ GoogleCloudSecuritycenterV2Process

Returns a new instance of GoogleCloudSecuritycenterV2Process.



8620
8621
8622
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8620

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

Instance Attribute Details

#argsArray<String>

Corresponds to the JSON property args

Returns:

  • (Array<String>)


8566
8567
8568
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8566

def args
  @args
end

#arguments_truncatedBoolean Also known as: arguments_truncated?

Corresponds to the JSON property argumentsTruncated

Returns:

  • (Boolean)


8571
8572
8573
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8571

def arguments_truncated
  @arguments_truncated
end

#binaryGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File

Corresponds to the JSON property binary



8577
8578
8579
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8577

def binary
  @binary
end

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

Corresponds to the JSON property envVariables



8582
8583
8584
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8582

def env_variables
  @env_variables
end

#env_variables_truncatedBoolean Also known as: env_variables_truncated?

Corresponds to the JSON property envVariablesTruncated

Returns:

  • (Boolean)


8587
8588
8589
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8587

def env_variables_truncated
  @env_variables_truncated
end

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

Corresponds to the JSON property libraries



8593
8594
8595
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8593

def libraries
  @libraries
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


8598
8599
8600
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8598

def name
  @name
end

#parent_pidFixnum

Corresponds to the JSON property parentPid

Returns:

  • (Fixnum)


8603
8604
8605
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8603

def parent_pid
  @parent_pid
end

#pidFixnum

Corresponds to the JSON property pid

Returns:

  • (Fixnum)


8608
8609
8610
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8608

def pid
  @pid
end

#scriptGoogle::Apis::SecuritycenterV1beta2::GoogleCloudSecuritycenterV2File

Corresponds to the JSON property script



8613
8614
8615
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8613

def script
  @script
end

#user_idFixnum

Corresponds to the JSON property userId

Returns:

  • (Fixnum)


8618
8619
8620
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8618

def user_id
  @user_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
# File 'lib/google/apis/securitycenter_v1beta2/classes.rb', line 8625

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