Class: Google::Apis::CloudchannelV1::GoogleCloudChannelV1EduData

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudchannel_v1/classes.rb,
lib/google/apis/cloudchannel_v1/representations.rb,
lib/google/apis/cloudchannel_v1/representations.rb

Overview

Required Edu Attributes

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudChannelV1EduData

Returns a new instance of GoogleCloudChannelV1EduData.



1122
1123
1124
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1122

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

Instance Attribute Details

#institute_sizeString

Size of the institute. Corresponds to the JSON property instituteSize

Returns:

  • (String)


1110
1111
1112
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1110

def institute_size
  @institute_size
end

#institute_typeString

Designated institute type of customer. Corresponds to the JSON property instituteType

Returns:

  • (String)


1115
1116
1117
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1115

def institute_type
  @institute_type
end

#websiteString

Web address for the edu customer's institution. Corresponds to the JSON property website

Returns:

  • (String)


1120
1121
1122
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1120

def website
  @website
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1127
1128
1129
1130
1131
# File 'lib/google/apis/cloudchannel_v1/classes.rb', line 1127

def update!(**args)
  @institute_size = args[:institute_size] if args.key?(:institute_size)
  @institute_type = args[:institute_type] if args.key?(:institute_type)
  @website = args[:website] if args.key?(:website)
end