Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1CanaryEvaluationMetricLabels

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb

Overview

Labels that can be used to filter Apigee metrics.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1CanaryEvaluationMetricLabels

Returns a new instance of GoogleCloudApigeeV1CanaryEvaluationMetricLabels.



1156
1157
1158
# File 'generated/google/apis/apigee_v1/classes.rb', line 1156

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#envString

The environment ID associated with the metrics. Corresponds to the JSON property env

Returns:

  • (String)


1143
1144
1145
# File 'generated/google/apis/apigee_v1/classes.rb', line 1143

def env
  @env
end

#instance_idString

Required. The instance ID associated with the metrics. In Apigee Hybrid, the value is configured during installation. Corresponds to the JSON property instance_id

Returns:

  • (String)


1149
1150
1151
# File 'generated/google/apis/apigee_v1/classes.rb', line 1149

def instance_id
  @instance_id
end

#locationString

Required. The location associated with the metrics. Corresponds to the JSON property location

Returns:

  • (String)


1154
1155
1156
# File 'generated/google/apis/apigee_v1/classes.rb', line 1154

def location
  @location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1161
1162
1163
1164
1165
# File 'generated/google/apis/apigee_v1/classes.rb', line 1161

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