Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1EnvironmentGroupConfig
- 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
-
#endpoint_chaining_rules ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointChainingRule>
A list of proxies in each deployment group for proxy chaining calls.
-
#hostnames ⇒ Array<String>
Host names for the environment group.
-
#location ⇒ String
When this message appears in the top-level IngressConfig, this field will be populated in lieu of the inlined routing_rules and hostnames fields.
-
#name ⇒ String
Name of the environment group in the following format:
organizations/
org/ envgroups/
envgroup``. -
#revision_id ⇒ Fixnum
Revision id that defines the ordering of the EnvironmentGroupConfig resource.
-
#routing_rules ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule>
Ordered list of routing rules defining how traffic to this environment group's hostnames should be routed to different environments.
-
#uid ⇒ String
A unique id for the environment group config that will only change if the environment group is deleted and recreated.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentGroupConfig
constructor
A new instance of GoogleCloudApigeeV1EnvironmentGroupConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1EnvironmentGroupConfig
Returns a new instance of GoogleCloudApigeeV1EnvironmentGroupConfig.
4621 4622 4623 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4621 def initialize(**args) update!(**args) end |
Instance Attribute Details
#endpoint_chaining_rules ⇒ Array<Google::Apis::ApigeeV1::GoogleCloudApigeeV1EndpointChainingRule>
A list of proxies in each deployment group for proxy chaining calls.
Corresponds to the JSON property endpointChainingRules
4583 4584 4585 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4583 def endpoint_chaining_rules @endpoint_chaining_rules end |
#hostnames ⇒ Array<String>
Host names for the environment group.
Corresponds to the JSON property hostnames
4588 4589 4590 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4588 def hostnames @hostnames end |
#location ⇒ String
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
4595 4596 4597 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4595 def location @location end |
#name ⇒ String
Name of the environment group in the following format: organizations/
org/
envgroups/
envgroup`.
Corresponds to the JSON property
name`
4601 4602 4603 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4601 def name @name end |
#revision_id ⇒ Fixnum
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
4607 4608 4609 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4607 def revision_id @revision_id end |
#routing_rules ⇒ Array<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
4613 4614 4615 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4613 def routing_rules @routing_rules end |
#uid ⇒ String
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
4619 4620 4621 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4619 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4626 4627 4628 4629 4630 4631 4632 4633 4634 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4626 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 |