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.



3994
3995
3996
# File 'lib/google/apis/apigee_v1/classes.rb', line 3994

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

Instance Attribute Details

#basepathString

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

Returns:

  • (String)


3977
3978
3979
# File 'lib/google/apis/apigee_v1/classes.rb', line 3977

def basepath
  @basepath
end

#envgroupString

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

Returns:

  • (String)


3982
3983
3984
# File 'lib/google/apis/apigee_v1/classes.rb', line 3982

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)


3987
3988
3989
# File 'lib/google/apis/apigee_v1/classes.rb', line 3987

def environment
  @environment
end

#percentageFixnum

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

Returns:

  • (Fixnum)


3992
3993
3994
# File 'lib/google/apis/apigee_v1/classes.rb', line 3992

def percentage
  @percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3999
4000
4001
4002
4003
4004
# File 'lib/google/apis/apigee_v1/classes.rb', line 3999

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