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

Inherits:
Object
  • Object
show all
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

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.



3319
3320
3321
# File 'lib/google/apis/apigee_v1/classes.rb', line 3319

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

Instance Attribute Details

#basepathString

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

Returns:

  • (String)


3301
3302
3303
# File 'lib/google/apis/apigee_v1/classes.rb', line 3301

def basepath
  @basepath
end

#envgroupString

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

Returns:

  • (String)


3306
3307
3308
# File 'lib/google/apis/apigee_v1/classes.rb', line 3306

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)


3312
3313
3314
# File 'lib/google/apis/apigee_v1/classes.rb', line 3312

def environment
  @environment
end

#percentageFixnum

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

Returns:

  • (Fixnum)


3317
3318
3319
# File 'lib/google/apis/apigee_v1/classes.rb', line 3317

def percentage
  @percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3324
3325
3326
3327
3328
3329
# File 'lib/google/apis/apigee_v1/classes.rb', line 3324

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