Class: Google::Apis::SecuresourcemanagerV1::Check

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#contextString

Required. The context of the check. Corresponds to the JSON property context

Returns:

  • (String)


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