class Google::Apis::ClouddebuggerV2::CloudWorkspaceSourceContext

A CloudWorkspaceSourceContext denotes a workspace at a particular snapshot.

Attributes

snapshot_id[RW]

The ID of the snapshot. An empty snapshot_id refers to the most recent snapshot. Corresponds to the JSON property `snapshotId` @return [String]

workspace_id[RW]

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` @return [Google::Apis::ClouddebuggerV2::CloudWorkspaceId]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/clouddebugger_v2/classes.rb, line 289
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/clouddebugger_v2/classes.rb, line 294
def update!(**args)
  @snapshot_id = args[:snapshot_id] if args.key?(:snapshot_id)
  @workspace_id = args[:workspace_id] if args.key?(:workspace_id)
end