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

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute

Returns a new instance of GoogleCloudApigeeV1InstanceDeploymentStatusDeployedRoute.


2952
2953
2954
# File 'generated/google/apis/apigee_v1/classes.rb', line 2952

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

Instance Attribute Details

#basepathString

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

Returns:

  • (String)

2934
2935
2936
# File 'generated/google/apis/apigee_v1/classes.rb', line 2934

def basepath
  @basepath
end

#envgroupString

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

Returns:

  • (String)

2939
2940
2941
# File 'generated/google/apis/apigee_v1/classes.rb', line 2939

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)

2945
2946
2947
# File 'generated/google/apis/apigee_v1/classes.rb', line 2945

def environment
  @environment
end

#percentageFixnum

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

Returns:

  • (Fixnum)

2950
2951
2952
# File 'generated/google/apis/apigee_v1/classes.rb', line 2950

def percentage
  @percentage
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2957
2958
2959
2960
2961
2962
# File 'generated/google/apis/apigee_v1/classes.rb', line 2957

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