Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion
- 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
Version of the API proxy configuration schema. Currently, only 4.0 is supported.
Instance Attribute Summary collapse
-
#major_version ⇒ Fixnum
Major version of the API proxy configuration schema.
-
#minor_version ⇒ Fixnum
Minor version of the API proxy configuration schema.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1ConfigVersion
constructor
A new instance of GoogleCloudApigeeV1ConfigVersion.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1ConfigVersion
Returns a new instance of GoogleCloudApigeeV1ConfigVersion.
2994 2995 2996 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2994 def initialize(**args) update!(**args) end |
Instance Attribute Details
#major_version ⇒ Fixnum
Major version of the API proxy configuration schema.
Corresponds to the JSON property majorVersion
2987 2988 2989 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2987 def major_version @major_version end |
#minor_version ⇒ Fixnum
Minor version of the API proxy configuration schema.
Corresponds to the JSON property minorVersion
2992 2993 2994 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2992 def minor_version @minor_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2999 3000 3001 3002 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 2999 def update!(**args) @major_version = args[:major_version] if args.key?(:major_version) @minor_version = args[:minor_version] if args.key?(:minor_version) end |