class Google::Apis::MonitoringV1::MonitoredProject
A project being monitored (cloud.google.com/monitoring/settings/ multiple-projects#create-multi) by a Metrics Scope.
Attributes
create_time[RW]
Output only. The time when this MonitoredProject
was created. Corresponds to the JSON property `createTime` @return [String]
name[RW]
Immutable. The resource name of the MonitoredProject
. On input, the resource name includes the scoping project ID and monitored project ID. On output, it contains the equivalent project numbers. Example: locations/global/ metricsScopes/`SCOPING_PROJECT_ID_OR_NUMBER`/projects/` MONITORED_PROJECT_ID_OR_NUMBER` Corresponds to the JSON property `name` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v1/classes.rb, line 634 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v1/classes.rb, line 639 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) end