Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Overview
Labels that can be used to filter Apigee metrics.
Instance Attribute Summary collapse
-
#env ⇒ String
The environment ID associated with the metrics.
-
#instance_id ⇒ String
Required.
-
#location ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1CanaryEvaluationMetricLabels
constructor
A new instance of GoogleCloudApigeeV1CanaryEvaluationMetricLabels.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1CanaryEvaluationMetricLabels
Returns a new instance of GoogleCloudApigeeV1CanaryEvaluationMetricLabels.
2746 2747 2748 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2746 def initialize(**args) update!(**args) end |
Instance Attribute Details
#env ⇒ String
The environment ID associated with the metrics.
Corresponds to the JSON property env
2733 2734 2735 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2733 def env @env end |
#instance_id ⇒ String
Required. The instance ID associated with the metrics. In Apigee Hybrid, the
value is configured during installation.
Corresponds to the JSON property instance_id
2739 2740 2741 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2739 def instance_id @instance_id end |
#location ⇒ String
Required. The location associated with the metrics.
Corresponds to the JSON property location
2744 2745 2746 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2744 def location @location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2751 2752 2753 2754 2755 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2751 def update!(**args) @env = args[:env] if args.key?(:env) @instance_id = args[:instance_id] if args.key?(:instance_id) @location = args[:location] if args.key?(:location) end |