Class: Google::Apis::ClouddebuggerV2::CloudWorkspaceId
- Inherits:
-
Object
- Object
- Google::Apis::ClouddebuggerV2::CloudWorkspaceId
- 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 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.
Instance Attribute Summary collapse
-
#name ⇒ String
The unique name of the workspace within the repo.
-
#repo_id ⇒ Google::Apis::ClouddebuggerV2::RepoId
A unique identifier for a cloud repo.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudWorkspaceId
constructor
A new instance of CloudWorkspaceId.
-
#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) ⇒ CloudWorkspaceId
Returns a new instance of CloudWorkspaceId
389 390 391 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 389 def initialize(**args) update!(**args) end |
Instance Attribute Details
#name ⇒ String
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
387 388 389 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 387 def name @name end |
#repo_id ⇒ Google::Apis::ClouddebuggerV2::RepoId
A unique identifier for a cloud repo.
Corresponds to the JSON property repoId
381 382 383 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 381 def repo_id @repo_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
394 395 396 397 |
# File 'generated/google/apis/clouddebugger_v2/classes.rb', line 394 def update!(**args) @repo_id = args[:repo_id] if args.key?(:repo_id) @name = args[:name] if args.key?(:name) end |