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

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.



4332
4333
4334
# File 'lib/google/apis/apigee_v1/classes.rb', line 4332

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

Instance Attribute Details

#basepathString

Base path in the routing table. Corresponds to the JSON property basepath

Returns:

  • (String)


4315
4316
4317
# File 'lib/google/apis/apigee_v1/classes.rb', line 4315

def basepath
  @basepath
end

#envgroupString

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

Returns:

  • (String)


4320
4321
4322
# File 'lib/google/apis/apigee_v1/classes.rb', line 4320

def envgroup
  @envgroup
end

#environmentString

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

Returns:

  • (String)


4325
4326
4327
# File 'lib/google/apis/apigee_v1/classes.rb', line 4325

def environment
  @environment
end

#percentageFixnum

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

Returns:

  • (Fixnum)


4330
4331
4332
# File 'lib/google/apis/apigee_v1/classes.rb', line 4330

def percentage
  @percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4337
4338
4339
4340
4341
4342
# File 'lib/google/apis/apigee_v1/classes.rb', line 4337

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