Class: Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext
- Inherits:
-
Object
- Object
- Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext
- Defined in:
- generated/google/apis/clouddebugger_v2/classes.rb,
generated/google/apis/clouddebugger_v2/representations.rb,
generated/google/apis/clouddebugger_v2/representations.rb
Overview
A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.
Instance Attribute Summary collapse
-
#snapshot_id ⇒ String
The ID of the snapshot.
-
#workspace_id ⇒ Google::Apis::ClouddebuggerV2::CloudWorkspaceId
A CloudWorkspaceId is a unique identifier for a cloud workspace.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudWorkspaceSourceContext
constructor
A new instance of CloudWorkspaceSourceContext.
-
#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) ⇒ CloudWorkspaceSourceContext
Returns a new instance of CloudWorkspaceSourceContext
1010 1011 1012 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 1010 def initialize(**args) update!(**args) end |
Instance Attribute Details
#snapshot_id ⇒ String
The ID of the snapshot.
An empty snapshot_id refers to the most recent snapshot.
Corresponds to the JSON property snapshotId
1008 1009 1010 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 1008 def snapshot_id @snapshot_id end |
#workspace_id ⇒ Google::Apis::ClouddebuggerV2::CloudWorkspaceId
A CloudWorkspaceId is a unique identifier for a cloud workspace.
A cloud workspace is a place associated with a repo where modified files
can be stored before they are committed.
Corresponds to the JSON property workspaceId
1002 1003 1004 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 1002 def workspace_id @workspace_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1015 1016 1017 1018 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 1015 def update!(**args) @workspace_id = args[:workspace_id] if args.key?(:workspace_id) @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id) end |