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
-
#hostnames ⇒ Array<String>
Host names for the environment group.
-
#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.
2845 2846 2847 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2845 def initialize(**args) update!(**args) end |
Instance Attribute Details
#hostnames ⇒ Array<String>
Host names for the environment group.
Corresponds to the JSON property hostnames
2819 2820 2821 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2819 def hostnames @hostnames end |
#name ⇒ String
Name of the environment group in the following format: organizations/org/
envgroups/envgroup`.
Corresponds to the JSON propertyname`
2825 2826 2827 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2825 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
2831 2832 2833 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2831 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
2837 2838 2839 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2837 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
2843 2844 2845 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2843 def uid @uid end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2850 2851 2852 2853 2854 2855 2856 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2850 def update!(**args) @hostnames = args[:hostnames] if args.key?(:hostnames) @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 |