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

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

Overview

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

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

Returns a new instance of GoogleCloudApigeeV1ConfigVersion.



1093
1094
1095
# File 'generated/google/apis/apigee_v1/classes.rb', line 1093

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)


1086
1087
1088
# File 'generated/google/apis/apigee_v1/classes.rb', line 1086

def major_version
  @major_version
end

#minor_versionFixnum

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

Returns:

  • (Fixnum)


1091
1092
1093
# File 'generated/google/apis/apigee_v1/classes.rb', line 1091

def minor_version
  @minor_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1098
1099
1100
1101
# File 'generated/google/apis/apigee_v1/classes.rb', line 1098

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