Class: Google::Apis::SecuresourcemanagerV1::Check
- Inherits:
-
Object
- Object
- Google::Apis::SecuresourcemanagerV1::Check
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/securesourcemanager_v1/classes.rb,
lib/google/apis/securesourcemanager_v1/representations.rb,
lib/google/apis/securesourcemanager_v1/representations.rb
Overview
Check is a type for status check.
Instance Attribute Summary collapse
-
#context ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Check
constructor
A new instance of Check.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Check
Returns a new instance of Check.
386 387 388 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 386 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ String
Required. The context of the check.
Corresponds to the JSON property context
384 385 386 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 384 def context @context end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
391 392 393 |
# File 'lib/google/apis/securesourcemanager_v1/classes.rb', line 391 def update!(**args) @context = args[:context] if args.key?(:context) end |