Class: Google::Storage::Data::DefaultObjectACLProjectTeamApi

Inherits:
DefaultObjectACLProjectTeam show all
Defined in:
lib/google/storage/property/defaultobjectacl_project_team.rb

Overview

Manages a DefaultObjectACLProjectTeam nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from DefaultObjectACLProjectTeam

#project_number, #team

Instance Method Summary collapse

Methods inherited from DefaultObjectACLProjectTeam

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ DefaultObjectACLProjectTeamApi

Returns a new instance of DefaultObjectACLProjectTeamApi.



86
87
88
89
# File 'lib/google/storage/property/defaultobjectacl_project_team.rb', line 86

def initialize(args)
  @project_number = Google::Storage::Property::String.api_munge(args['projectNumber'])
  @team = Google::Storage::Property::Enum.api_munge(args['team'])
end