Class: Google::Apis::MonitoringV1::MonitoringService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::MonitoringV1::MonitoringService
- Defined in:
- generated/google/apis/monitoring_v1/service.rb
Overview
Stackdriver Monitoring API
Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. The table entries below are presented in alphabetical order, not in order of common use. For explanations of the concepts found in the table entries, read the Stackdriver Monitoring documentation.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Attributes inherited from Core::BaseService
#authorization, #base_path, #batch_path, #client, #client_options, #request_options, #root_url, #upload_path
Instance Method Summary collapse
-
#initialize ⇒ MonitoringService
constructor
A new instance of MonitoringService.
Methods inherited from Core::BaseService
#batch, #batch_upload, #fetch_all, #http
Methods included from Core::Logging
Constructor Details
#initialize ⇒ MonitoringService
Returns a new instance of MonitoringService
50 51 52 53 |
# File 'generated/google/apis/monitoring_v1/service.rb', line 50 def initialize super('https://monitoring.googleapis.com/', '') @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
43 44 45 |
# File 'generated/google/apis/monitoring_v1/service.rb', line 43 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
48 49 50 |
# File 'generated/google/apis/monitoring_v1/service.rb', line 48 def quota_user @quota_user end |