Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1RoutingRule

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

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) ⇒ GoogleCloudApigeeV1RoutingRule

Returns a new instance of GoogleCloudApigeeV1RoutingRule.


4647
4648
4649
# File 'generated/google/apis/apigee_v1/classes.rb', line 4647

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

Instance Attribute Details

#basepathString

URI path prefix used to route to the specified environment. May contain one or more wildcards. For example, path segments consisting of a single * character will match any string. Corresponds to the JSON property basepath

Returns:

  • (String)

4639
4640
4641
# File 'generated/google/apis/apigee_v1/classes.rb', line 4639

def basepath
  @basepath
end

#environmentString

Name of an environment bound to the environment group in the following format: organizations/org/environments/env`. Corresponds to the JSON propertyenvironment`

Returns:

  • (String)

4645
4646
4647
# File 'generated/google/apis/apigee_v1/classes.rb', line 4645

def environment
  @environment
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


4652
4653
4654
4655
# File 'generated/google/apis/apigee_v1/classes.rb', line 4652

def update!(**args)
  @basepath = args[:basepath] if args.key?(:basepath)
  @environment = args[:environment] if args.key?(:environment)
end