Class: Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Job
- Inherits:
-
Object
- Object
- Google::Apis::SecuritycenterV1beta1::GoogleCloudSecuritycenterV2Job
- 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) ⇒ GoogleCloudSecuritycenterV2Job
constructor
A new instance of GoogleCloudSecuritycenterV2Job.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudSecuritycenterV2Job
Returns a new instance of GoogleCloudSecuritycenterV2Job.
7989 7990 7991 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7989 def initialize(**args) update!(**args) end |
Instance Attribute Details
#error_code ⇒ Fixnum
Corresponds to the JSON property errorCode
7972 7973 7974 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7972 def error_code @error_code end |
#location ⇒ String
Corresponds to the JSON property location
7977 7978 7979 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7977 def location @location end |
#name ⇒ String
Corresponds to the JSON property name
7982 7983 7984 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7982 def name @name end |
#state ⇒ String
Corresponds to the JSON property state
7987 7988 7989 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7987 def state @state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7994 7995 7996 7997 7998 7999 |
# File 'lib/google/apis/securitycenter_v1beta1/classes.rb', line 7994 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 |