class 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.

Attributes

name[RW]

The unique name of the workspace within the repo. This is the name chosen by the client in the Source API's CreateWorkspace method. Corresponds to the JSON property `name` @return [String]

repo_id[RW]

A unique identifier for a cloud repo. Corresponds to the JSON property `repoId` @return [Google::Apis::ClouddebuggerV2::RepoId]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/clouddebugger_v2/classes.rb, line 419
def update!(**args)
  @repo_id = args[:repo_id] if args.key?(:repo_id)
  @name = args[:name] if args.key?(:name)
end