Class: Google::Apis::ClouddebuggerV2::ExtendedSourceContext
- Inherits:
-
Object
- Object
- Google::Apis::ClouddebuggerV2::ExtendedSourceContext
- Defined in:
- generated/google/apis/clouddebugger_v2/classes.rb,
generated/google/apis/clouddebugger_v2/representations.rb,
generated/google/apis/clouddebugger_v2/representations.rb
Overview
An ExtendedSourceContext is a SourceContext combined with additional details describing the context.
Instance Attribute Summary collapse
-
#context ⇒ Google::Apis::ClouddebuggerV2::SourceContext
A SourceContext is a reference to a tree of files.
-
#labels ⇒ Hash<String,String>
Labels with user defined metadata.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExtendedSourceContext
constructor
A new instance of ExtendedSourceContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ExtendedSourceContext
Returns a new instance of ExtendedSourceContext
429 430 431 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 429 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ Google::Apis::ClouddebuggerV2::SourceContext
A SourceContext is a reference to a tree of files. A SourceContext together
with a path point to a unique revision of a single file or directory.
Corresponds to the JSON property context
422 423 424 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 422 def context @context end |
#labels ⇒ Hash<String,String>
Labels with user defined metadata.
Corresponds to the JSON property labels
427 428 429 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 427 def labels @labels end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
434 435 436 437 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 434 def update!(**args) @context = args[:context] if args.key?(:context) @labels = args[:labels] if args.key?(:labels) end |