Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig

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

EnvironmentGroupConfig is a revisioned snapshot of an EnvironmentGroup and its associated routing rules.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentGroupConfig

Returns a new instance of GoogleCloudApigeeV1EnvironmentGroupConfig.



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

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

Instance Attribute Details

#endpoint_chaining_rulesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointChainingRule>

A list of proxies in each deployment group for proxy chaining calls. Corresponds to the JSON property endpointChainingRules



3957
3958
3959
# File 'lib/google/apis/apigee_v1/classes.rb', line 3957

def endpoint_chaining_rules
  @endpoint_chaining_rules
end

#hostnamesArray<String>

Host names for the environment group. Corresponds to the JSON property hostnames

Returns:

  • (Array<String>)


3962
3963
3964
# File 'lib/google/apis/apigee_v1/classes.rb', line 3962

def hostnames
  @hostnames
end

#locationString

When this message appears in the top-level IngressConfig, this field will be populated in lieu of the inlined routing_rules and hostnames fields. Some URL for downloading the full EnvironmentGroupConfig for this group. Corresponds to the JSON property location

Returns:

  • (String)


3969
3970
3971
# File 'lib/google/apis/apigee_v1/classes.rb', line 3969

def location
  @location
end

#nameString

Name of the environment group in the following format: organizations/org/ envgroups/envgroup`. Corresponds to the JSON propertyname`

Returns:

  • (String)


3975
3976
3977
# File 'lib/google/apis/apigee_v1/classes.rb', line 3975

def name
  @name
end

#revision_idFixnum

Revision id that defines the ordering of the EnvironmentGroupConfig resource. The higher the revision, the more recently the configuration was deployed. Corresponds to the JSON property revisionId

Returns:

  • (Fixnum)


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

def revision_id
  @revision_id
end

#routing_rulesArray<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule>

Ordered list of routing rules defining how traffic to this environment group's hostnames should be routed to different environments. Corresponds to the JSON property routingRules



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

def routing_rules
  @routing_rules
end

#uidString

A unique id for the environment group config that will only change if the environment group is deleted and recreated. Corresponds to the JSON property uid

Returns:

  • (String)


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

def uid
  @uid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4000
4001
4002
4003
4004
4005
4006
4007
4008
# File 'lib/google/apis/apigee_v1/classes.rb', line 4000

def update!(**args)
  @endpoint_chaining_rules = args[:endpoint_chaining_rules] if args.key?(:endpoint_chaining_rules)
  @hostnames = args[:hostnames] if args.key?(:hostnames)
  @location = args[:location] if args.key?(:location)
  @name = args[:name] if args.key?(:name)
  @revision_id = args[:revision_id] if args.key?(:revision_id)
  @routing_rules = args[:routing_rules] if args.key?(:routing_rules)
  @uid = args[:uid] if args.key?(:uid)
end