class Google::Apis::AdminDirectoryV1::CalendarResource

Public API: Resources.calendars

Attributes

building_id[RW]

Unique ID for the building a resource is located in. Corresponds to the JSON property `buildingId` @return [String]

capacity[RW]

Capacity of a resource, number of seats in a room. Corresponds to the JSON property `capacity` @return [Fixnum]

etags[RW]

ETag of the resource. Corresponds to the JSON property `etags` @return [String]

feature_instances[RW]

Instances of features for the calendar resource. Corresponds to the JSON property `featureInstances` @return [Object]

floor_name[RW]

Name of the floor a resource is located on. Corresponds to the JSON property `floorName` @return [String]

floor_section[RW]

Name of the section within a floor a resource is located in. Corresponds to the JSON property `floorSection` @return [String]

generated_resource_name[RW]

The read-only auto-generated name of the calendar resource which includes metadata about the resource such as building name, floor, capacity, etc. For example, “NYC-2-Training Room 1A (16)”. Corresponds to the JSON property `generatedResourceName` @return [String]

kind[RW]

The type of the resource. For calendar resources, the value is `admin# directory#resources#calendars#CalendarResource`. Corresponds to the JSON property `kind` @return [String]

resource_category[RW]

The category of the calendar resource. Either CONFERENCE_ROOM or OTHER. Legacy data is set to CATEGORY_UNKNOWN. Corresponds to the JSON property `resourceCategory` @return [String]

resource_description[RW]

Description of the resource, visible only to admins. Corresponds to the JSON property `resourceDescription` @return [String]

resource_email[RW]

The read-only email for the calendar resource. Generated as part of creating a new calendar resource. Corresponds to the JSON property `resourceEmail` @return [String]

resource_id[RW]

The unique ID for the calendar resource. Corresponds to the JSON property `resourceId` @return [String]

resource_name[RW]

The name of the calendar resource. For example, “Training Room 1A”. Corresponds to the JSON property `resourceName` @return [String]

resource_type[RW]

The type of the calendar resource, intended for non-room resources. Corresponds to the JSON property `resourceType` @return [String]

user_visible_description[RW]

Description of the resource, visible to users and admins. Corresponds to the JSON property `userVisibleDescription` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/admin_directory_v1/classes.rb, line 586
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/admin_directory_v1/classes.rb, line 591
def update!(**args)
  @building_id = args[:building_id] if args.key?(:building_id)
  @capacity = args[:capacity] if args.key?(:capacity)
  @etags = args[:etags] if args.key?(:etags)
  @feature_instances = args[:feature_instances] if args.key?(:feature_instances)
  @floor_name = args[:floor_name] if args.key?(:floor_name)
  @floor_section = args[:floor_section] if args.key?(:floor_section)
  @generated_resource_name = args[:generated_resource_name] if args.key?(:generated_resource_name)
  @kind = args[:kind] if args.key?(:kind)
  @resource_category = args[:resource_category] if args.key?(:resource_category)
  @resource_description = args[:resource_description] if args.key?(:resource_description)
  @resource_email = args[:resource_email] if args.key?(:resource_email)
  @resource_id = args[:resource_id] if args.key?(:resource_id)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @resource_type = args[:resource_type] if args.key?(:resource_type)
  @user_visible_description = args[:user_visible_description] if args.key?(:user_visible_description)
end