Class: Google::Apis::SecuritycenterV1beta1::Job
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::Job
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securitycenter_v1beta1/classes.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb,
lib/google/apis/securitycenter_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#error_code ⇒ Fixnum
Corresponds to the JSON property
errorCode. -
#location ⇒ String
Corresponds to the JSON property
location. -
#name ⇒ String
Corresponds to the JSON property
name. -
#state ⇒ String
Corresponds to the JSON property
state.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Job
constructor
A new instance of Job.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Job
Returns a new instance of Job.
10394 10395 10396 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10394 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ Fixnum
Corresponds to the JSON property errorCode
10377 10378 10379 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10377 def error_code @error_code end |
#location ⇒ String
Corresponds to the JSON property location
10382 10383 10384 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10382 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
10387 10388 10389 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10387 def name @name end |
#state ⇒ String
Corresponds to the JSON property state
10392 10393 10394 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10392 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10399 10400 10401 10402 10403 10404 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 10399 def update!(**args) @error_code = args[:error_code] if args.key?(:error_code) @location = args[:location] if args.key?(:location) @name = args[:name] if args.key?(:name) @state = args[:state] if args.key?(:state) end |