Class: Google::Cloud::Debugger::Project
- Inherits:
-
Object
- Object
- Google::Cloud::Debugger::Project
- Defined in:
- lib/google/cloud/debugger/project.rb
Overview
Project
Projects are top-level containers in Google Cloud Platform. They store information about billing and authorized users, and they control access to Stackdriver Debugger resources. Each project has a friendly name and a unique ID. Projects can be created only in the Google Developers Console.
See Google::Cloud#debugger
Instance Attribute Summary collapse
-
#agent ⇒ Object
readonly
The Stackdriver Debugger Agent object.
Instance Method Summary collapse
-
#project_id ⇒ String
(also: #project)
The ID of the current project.
-
#start ⇒ Object
(also: #attach)
Start the Stackdriver Debugger Agent.
-
#stop ⇒ Object
Stop the Stackdriver Debugger Agent.
Instance Attribute Details
#agent ⇒ Object (readonly)
The Stackdriver Debugger Agent object.
48 49 50 |
# File 'lib/google/cloud/debugger/project.rb', line 48 def agent @agent end |
Instance Method Details
#project_id ⇒ String Also known as: project
The ID of the current project.
73 74 75 |
# File 'lib/google/cloud/debugger/project.rb', line 73 def project_id service.project end |
#start ⇒ Object Also known as: attach
Start the Stackdriver Debugger Agent.
See Agent#start for more details.
88 89 90 |
# File 'lib/google/cloud/debugger/project.rb', line 88 def start agent.start end |
#stop ⇒ Object
Stop the Stackdriver Debugger Agent.
See Agent#stop for more details.
104 105 106 |
# File 'lib/google/cloud/debugger/project.rb', line 104 def stop agent.stop end |