Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute

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

A route deployed in the ingress routing table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute

Returns a new instance of GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute.



3289
3290
3291
# File 'generated/google/apis/apigee_v1/classes.rb', line 3289

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

Instance Attribute Details

#basepathString

The basepath in the routing table. Corresponds to the JSON property basepath

Returns:

  • (String)


3271
3272
3273
# File 'generated/google/apis/apigee_v1/classes.rb', line 3271

def basepath
  @basepath
end

#envgroupString

The envgroup where this route is installed. Corresponds to the JSON property envgroup

Returns:

  • (String)


3276
3277
3278
# File 'generated/google/apis/apigee_v1/classes.rb', line 3276

def envgroup
  @envgroup
end

#environmentString

The destination environment. This will be empty if the route is not yet reported. Corresponds to the JSON property environment

Returns:

  • (String)


3282
3283
3284
# File 'generated/google/apis/apigee_v1/classes.rb', line 3282

def environment
  @environment
end

#percentageFixnum

The percentage of ingress replicas reporting this route. Corresponds to the JSON property percentage

Returns:

  • (Fixnum)


3287
3288
3289
# File 'generated/google/apis/apigee_v1/classes.rb', line 3287

def percentage
  @percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3294
3295
3296
3297
3298
3299
# File 'generated/google/apis/apigee_v1/classes.rb', line 3294

def update!(**args)
  @basepath = args[:basepath] if args.key?(:basepath)
  @envgroup = args[:envgroup] if args.key?(:envgroup)
  @environment = args[:environment] if args.key?(:environment)
  @percentage = args[:percentage] if args.key?(:percentage)
end