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 ⇒ String
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.
49 50 51 |
# File 'lib/google/cloud/debugger/project.rb', line 49 def agent @agent end |
Instance Method Details
#project ⇒ String
The ID of the current project.
74 75 76 |
# File 'lib/google/cloud/debugger/project.rb', line 74 def project service.project end |
#start ⇒ Object Also known as: attach
Start the Stackdriver Debugger Agent.
See Agent#start for more details.
113 114 115 |
# File 'lib/google/cloud/debugger/project.rb', line 113 def start agent.start end |
#stop ⇒ Object
Stop the Stackdriver Debugger Agent.
See Agent#stop for more details.
129 130 131 |
# File 'lib/google/cloud/debugger/project.rb', line 129 def stop agent.stop end |