Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1ConfigVersion

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

Version of the API proxy configuration schema. Currently, only 4.0 is supported.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1ConfigVersion

Returns a new instance of GoogleCloudApigeeV1ConfigVersion.



3012
3013
3014
# File 'lib/google/apis/apigee_v1/classes.rb', line 3012

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

Instance Attribute Details

#major_versionFixnum

Major version of the API proxy configuration schema. Corresponds to the JSON property majorVersion

Returns:

  • (Fixnum)


3005
3006
3007
# File 'lib/google/apis/apigee_v1/classes.rb', line 3005

def major_version
  @major_version
end

#minor_versionFixnum

Minor version of the API proxy configuration schema. Corresponds to the JSON property minorVersion

Returns:

  • (Fixnum)


3010
3011
3012
# File 'lib/google/apis/apigee_v1/classes.rb', line 3010

def minor_version
  @minor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3017
3018
3019
3020
# File 'lib/google/apis/apigee_v1/classes.rb', line 3017

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